/* Nashville Power Services, website (2026). Same colors and type as NPS Office. */
:root {
  --ink: #1f2226;
  --ink-2: #2b2f34;
  --wire: #5d6670;
  --line: #d9dde1;
  --paper: #f4f5f6;
  --panel: #ffffff;
  --amp: #e8742f;
  --amp-dark: #b4531a;
  --amp-soft: #fbe6d8;
  --stop: #ad3838;
  --stop-soft: #f6dddd;
  --go: #2e7a4d;
  --radius: 10px;
  --wrap: 1140px;
  --head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--panel); color: var(--ink); font: 400 18px/1.6 "Barlow", system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amp-dark); }
a:hover { color: var(--amp); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .85rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--amp-dark); margin-bottom: .6rem; }
.lead { font-size: 1.15rem; color: var(--wire); max-width: 46rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--amp); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.3rem;
  border-radius: 8px; border: 2px solid transparent; font: 600 1.02rem/1.1 "Barlow", sans-serif; text-decoration: none;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--amp); color: #fff; }
.btn-primary:hover { background: var(--amp-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: inherit; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; }

/* header */
.topbar { background: var(--ink); color: #c9ced3; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--amp); }
.topbar .em { color: #fff; }
.topbar .em strong { color: var(--amp); }
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px); }
.site-head .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.brand img { width: 150px; }
.nav { display: flex; gap: .25rem; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: .5rem .75rem; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--amp-dark); background: var(--amp-soft); }
.head-cta { display: flex; gap: .5rem; align-items: center; }
.head-phone { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; width: 48px; height: 48px;
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 24px; height: 24px; }

/* hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 420px at 85% 20%, rgba(232,116,47,.22), transparent 60%),
  linear-gradient(180deg, rgba(255,255,255,.03), transparent); }
.hero .mark { position: absolute; right: -60px; top: 50%; width: 520px; transform: translateY(-50%); opacity: .07; filter: invert(1); pointer-events: none; }
.hero .wrap { position: relative; padding-top: clamp(3.5rem, 8vw, 6.5rem); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { max-width: 19ch; }
.hero h1 em { font-style: normal; color: var(--amp); }
.hero .lead { color: #c9ced3; margin-bottom: 1.75rem; }
.hero .eyebrow { color: var(--amp); }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; color: #dfe3e7; font-size: .98rem; }
.hero-points li { display: flex; gap: .45rem; align-items: center; }
.hero-points svg { width: 18px; height: 18px; color: var(--amp); flex: none; }
.page-hero .wrap { padding-top: clamp(2.75rem, 6vw, 4.5rem); padding-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero h1 { max-width: 22ch; }

/* sections */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.alt { background: var(--paper); }
.dark { background: var(--ink); color: #fff; }
.dark .lead, .dark p { color: #c9ced3; }
.dark .eyebrow { color: var(--amp); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.head-row h2 { margin: 0; max-width: 22ch; }

.grid { display: grid; gap: 1.25rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.alt .card { border-color: transparent; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--wire); margin: 0; }
.card .more { display: inline-block; margin-top: .9rem; font-weight: 600; text-decoration: none; }
.icon { width: 48px; height: 48px; border-radius: 10px; background: var(--amp-soft); color: var(--amp-dark); display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 26px; height: 26px; }
.dark .card { background: var(--ink-2); border-color: #3a4046; }
.dark .card p { color: #b9c0c6; }
.dark .icon { background: rgba(232,116,47,.16); color: var(--amp); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; color: var(--amp); flex: none; margin-top: .15rem; }

/* facility panel mock */
.portal { background: #fff; color: var(--ink); border-radius: 14px; padding: 1.25rem; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.portal .bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.portal .bar span { font: 600 .8rem "Barlow", sans-serif; color: var(--wire); }
.portal .gen { border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem; margin-bottom: .6rem; }
.portal .gen strong { display: block; margin-bottom: .45rem; }
.portal .row { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; padding: .2rem 0; color: var(--wire); }
.chip { display: inline-block; font: 600 .78rem/1 "Barlow", sans-serif; padding: .35rem .55rem; border-radius: 5px; }
.chip.ok { background: #dcefe3; color: var(--go); }
.chip.soon { background: var(--amp-soft); color: var(--amp-dark); }
.portal .dl { display: flex; gap: .5rem; margin-top: .8rem; }
.portal .dl span { flex: 1; text-align: center; border: 1px solid var(--line); border-radius: 7px; padding: .5rem; font-size: .88rem; font-weight: 600; }

/* steps */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 3.2rem; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 0; left: 0; font-family: var(--head); font-weight: 700;
  font-size: 2.4rem; line-height: 1; color: var(--amp); }

/* brands */
.brands { display: flex; flex-wrap: wrap; gap: .6rem; }
.brands span { border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; background: #fff; }

/* faq */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amp); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: .7rem 0 0; color: var(--wire); }

/* call band */
.band { background: var(--amp); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.band h2 { margin: 0; color: #fff; }
.band p { margin: .3rem 0 0; color: #fff3ea; }
.band .btn-dark { background: var(--ink); }

/* forms */
.form { display: grid; gap: 1rem; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 600; display: block; margin-bottom: .3rem; }
label .opt { font-weight: 400; color: var(--wire); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1px solid #bfc6cc; border-radius: 8px;
  background: #fff; color: var(--ink); min-height: 48px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--amp-soft); border-color: var(--amp); }
.check { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--stop); }
.emergency { border: 1px solid var(--stop); background: var(--stop-soft); border-radius: 8px; padding: .8rem 1rem; }
.notice { border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1.25rem; }
.notice.ok { background: #dcefe3; color: #1d4d31; }
.notice.err { background: var(--stop-soft); color: #7d2525; }
.notice strong { display: block; font-size: 1.1rem; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.25rem, 3vw, 2rem); }
.aside-card { background: var(--paper); border-radius: 14px; padding: 1.5rem; }
.aside-card h3 { margin-top: 0; }
.big-phone { font-family: var(--head); font-weight: 700; font-size: 1.9rem; color: var(--ink); text-decoration: none; }

/* tables (calculator) */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.result { background: var(--ink); color: #fff; border-radius: 14px; padding: 1.5rem; }
.result .size { font-family: var(--head); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--amp); }
.result p { color: #c9ced3; margin: .6rem 0 0; }
.result dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 1rem 0 0; font-size: .95rem; }
.result dt { color: #9aa3ab; }
.result dd { margin: 0; }
.small { font-size: .9rem; color: var(--wire); }
.warn { color: #ffb37f; }

/* footer */
.site-foot { background: #16181b; color: #aab2b9; padding: 3.5rem 0 6rem; font-size: .95rem; }
.site-foot .grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-foot h4 { color: #fff; font-family: var(--head); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .8rem; }
.site-foot a { color: #dfe3e7; text-decoration: none; }
.site-foot a:hover { color: var(--amp); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot-logo { background: #fff; border-radius: 8px; padding: .5rem .75rem; display: inline-block; margin-bottom: 1rem; }
.foot-logo img { width: 150px; }
.legal { border-top: 1px solid #2b2f34; margin-top: 2.5rem; padding-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* phone action bar */
.callbar { display: none; }

@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .site-foot .grid { grid-template-columns: 1fr 1fr; }
  .head-phone { display: none; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: .5rem 20px 1rem; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: .85rem .5rem; border-bottom: 1px solid var(--paper); border-radius: 0; }
  .head-cta { display: none; }
  .g3, .g2, .split, .calc { grid-template-columns: 1fr; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem 12px calc(.6rem + env(safe-area-inset-bottom)); background: rgba(31,34,38,.97); }
  .callbar .btn { min-height: 46px; padding: .5rem; }
  .hero .mark { width: 340px; right: -110px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .g4, .site-foot .grid, .form .two { grid-template-columns: 1fr; }
  .topbar .hours { display: none; }
  .brand img { width: 128px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.nav .m-only { display: none; }
@media (max-width: 860px) { .nav .m-only { display: block; } }
@media (max-width: 560px) { .topbar .long { display: none; } }

/* photos */
.stack { display: grid; gap: 1.25rem; }
.photo { margin: 0; border-radius: var(--radius, 10px); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.photo img { width: 100%; height: auto; }
