/* WIRED main site (wired2d.com) · v2, Nov 17 2026: light by default, the whole page follows the light/dark switch.
   Layout and copy follow palmettoenergysolutions.us; the look is the WIRED brand kit:
   Anton for headlines (caps), Barlow for text, Barlow Condensed for labels; Wired Red #ED1C24 for the wire, one key word
   per heading and the Apply buttons. Paper #F5F3EF in light, Night #0B0A0A in dark. */

:root {
  --red: #ED1C24;
  --red-hi: #F2333A;
  --red-deep: #C9141B;

  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --label: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --gap: 24px;
  --nav-h: 72px;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* light */
  --bg: #F5F3EF;
  --bg-alt: #EFEBE4;
  --panel: #FFFFFF;
  --panel-line: rgba(17, 16, 16, .08);
  --panel-shadow: 0 1px 2px rgba(17, 16, 16, .04), 0 18px 40px -30px rgba(17, 16, 16, .35);
  --fg: #2A2625;
  --strong: #111010;
  --muted: #4F4A48;
  --faint: #6B6563;
  --line: rgba(17, 16, 16, .12);
  --line-strong: rgba(17, 16, 16, .28);
  --icon-bg: rgba(237, 28, 36, .09);
  --nav-bg: rgba(245, 243, 239, .86);
  --wave-line: rgba(237, 28, 36, .09);
  --wave-dot: rgba(237, 28, 36, .85);
  --wave-tail: rgba(237, 28, 36, .26);
  --wave-tail-0: rgba(237, 28, 36, 0);
  --wave-glow: rgba(237, 28, 36, .55);
  --glow-a: rgba(237, 28, 36, .07);
  --glow-b: rgba(201, 20, 27, .05);
  --map-land: #E2DDD5;
  --map-edge: #F5F3EF;
  --map-link: rgba(17, 16, 16, .5);
  --node: #111010;
  --node-edge: #F5F3EF;
  --tag-bg: #FFFFFF;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0B0A0A;
  --bg-alt: #121010;
  --panel: #171414;
  --panel-line: rgba(255, 255, 255, .08);
  --panel-shadow: none;
  --fg: #E9E6E4;
  --strong: #FFFFFF;
  --muted: #BDB6B3;
  --faint: #938C8A;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .26);
  --icon-bg: rgba(237, 28, 36, .16);
  --nav-bg: rgba(11, 10, 10, .84);
  --wave-line: rgba(237, 28, 36, .15);
  --wave-dot: rgba(255, 92, 98, .9);
  --wave-tail: rgba(255, 92, 98, .32);
  --wave-tail-0: rgba(255, 92, 98, 0);
  --wave-glow: rgba(255, 60, 66, .8);
  --glow-a: rgba(237, 28, 36, .12);
  --glow-b: rgba(201, 20, 27, .08);
  --map-land: #1F1B1B;
  --map-edge: #0B0A0A;
  --map-link: rgba(255, 255, 255, .6);
  --node: #FFFFFF;
  --node-edge: #0B0A0A;
  --tag-bg: #171414;
  color-scheme: dark;
}
/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 18px/1.55 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
p { text-wrap: pretty; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 18px; background: var(--red); color: #fff;
  font: 700 16px/1 var(--label); letter-spacing: .08em; text-transform: uppercase;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bands */
.band { background: var(--bg); }
.band-alt { background: var(--bg-alt); }
.band, .band-alt { border-top: 1px solid var(--line); transition: background-color .3s; }

/* ---------- type */
h1, h2, .display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .004em;
  color: var(--strong); text-wrap: balance;
}
h2 { font-size: clamp(42px, 5.6vw, 80px); line-height: .95; }
h3 { font: 400 24px/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--strong); }
.accent { color: var(--red); }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 600 14px/1 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--red-deep);
}
:root[data-theme="dark"] .eyebrow { color: #FF5A60; }
/* the wire and its node, as in the logo */
.eyebrow::before {
  content: ""; flex: none; width: 44px; height: 8px;
  background:
    linear-gradient(var(--red), var(--red)) left center / 38px 2px no-repeat,
    radial-gradient(circle at center, var(--red) 3.2px, transparent 3.8px) right center / 8px 8px no-repeat;
}
.intro { margin-top: 20px; max-width: 34em; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.55; color: var(--muted); }
.sec { padding-block: clamp(88px, 10vw, 140px); }
.sec-head h2 { margin-top: 20px; }

/* ---------- buttons */
.btn {
  --btn-h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--btn-h); padding: 0 26px;
  font: 700 17px/1 var(--label); letter-spacing: .1em; text-transform: uppercase;
  border-radius: 3px; white-space: nowrap;
  transition: transform .18s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .06s; }
.btn .arrow { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 14px 30px -16px rgba(237, 28, 36, .8); }
.btn-red:hover { background: var(--red-hi); box-shadow: 0 18px 36px -16px rgba(237, 28, 36, .9); }
.btn-line { border: 1.5px solid var(--line-strong); color: var(--strong); background: var(--panel); }
.btn-line:hover { border-color: var(--strong); }
.btn-sm { --btn-h: 44px; padding: 0 18px; font-size: 15px; }
.link-draw { background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size .25s var(--ease); }
.link-draw:hover, .link-draw:focus-visible { background-size: 100% 1.5px; }

/* ---------- header */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); color: var(--strong); transition: background-color .3s, box-shadow .3s; }
.nav::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--red); }
.nav-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; padding: 14px 0; }
.brand img { width: 132px; height: auto; }
.logo-white { display: none; }
:root[data-theme="dark"] .logo-white { display: block; }
:root[data-theme="dark"] .logo-ink { display: none; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { font: 600 16px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 0; transition: color .2s; }
.nav-links a:hover { color: var(--strong); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-links + .nav-actions { margin-left: 8px; }
.brand + .nav-actions { margin-left: auto; }
.nav-signin { font: 600 16px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 4px; }
.nav-signin:hover { color: var(--strong); }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--strong);
  transition: background-color .2s, transform .18s var(--ease), border-color .2s;
}
.icon-btn:hover { transform: translateY(-1px); border-color: var(--strong); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.menu-btn { display: none; }
.nav.is-solid { background: var(--nav-bg); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }

/* phone menu */
.menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: 0 var(--pad) max(28px, env(safe-area-inset-bottom)); background: var(--bg); color: var(--strong); }
.menu-head { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }
.menu-head img { width: 124px; }
.menu nav { display: grid; margin-top: 18px; }
.menu nav a { font: 400 clamp(40px, 11vw, 64px)/1.05 var(--display); text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-foot { margin-top: auto; display: grid; gap: 14px; }
.menu-foot .btn { width: 100%; }
.menu-row { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 600 16px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.menu-row a { padding: 14px 0; }

@media (max-width: 1023px) {
  .nav-links, .nav-signin { display: none; }
  .nav-actions, .nav-links + .nav-actions { margin-left: auto; }
  .menu-btn { display: grid; }
}
@media (max-width: 599px) {
  :root { --nav-h: 64px; }
  .brand img { width: 112px; }
  .nav-actions { gap: 10px; }
  .nav .theme-toggle { display: none; }
}

/* ---------- hero (Palmetto: "Fiber that moves." with the dealer logo on the right) */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 940px); display: grid; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 64px;
  background: var(--bg);
}
/* Background motion (like Palmetto's): thin fiber waves with slow light pulses on a canvas (site.js, [data-waves]),
   over two soft glows that drift. */
.waves { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.glows { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.glows::before, .glows::after { content: ""; position: absolute; border-radius: 50%; }
.glows::before { left: -12%; top: -28%; width: 44rem; height: 44rem; background: radial-gradient(closest-side, var(--glow-a), transparent); animation: drift 18s ease-in-out infinite alternate; }
.glows::after { right: -10%; top: 6%; width: 36rem; height: 36rem; background: radial-gradient(closest-side, var(--glow-b), transparent); animation: drift 24s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(6%, 8%, 0); } }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.hero-copy { grid-column: 1 / span 7; }
.hero h1 { font-size: clamp(64px, 8.6vw, 132px); line-height: .9; }
.hero h1 .line { display: block; }
.lede { margin-top: 26px; max-width: 31em; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--muted); }
.hiring { margin-top: 18px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 500 16px/1.2 var(--body); color: var(--muted); }
.hiring .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(237, 28, 36, .18); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 8px rgba(237, 28, 36, 0); } }
.rotator { position: relative; display: inline-grid; overflow: hidden; color: var(--strong); font-weight: 600; }
.rotator > span { grid-area: 1 / 1; transition: transform .5s var(--ease-out), opacity .5s; }
.rotator > span.out { transform: translateY(-110%); opacity: 0; }
.rotator > span.in { transform: translateY(110%); opacity: 0; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.stats {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; column-gap: clamp(26px, 3.4vw, 48px); row-gap: 22px;
}
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.stats dd { font: 400 clamp(34px, 3.1vw, 46px)/1 var(--display); color: var(--strong); text-transform: uppercase; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stats dt { font: 500 14.5px/1.3 var(--body); color: var(--faint); }
/* count-up (site.js): the final number holds the width unseen while the live one counts over it, so nothing beside it moves */
.stats dd[data-count] { display: grid; }
.stats dd[data-count] > span { grid-area: 1 / 1; }
.stats dd .count-ghost { visibility: hidden; }

.dealer-card { grid-column: 9 / -1; justify-self: center; text-align: center; position: relative; padding: 30px 26px; }
.dealer-card::before {
  /* a calm halo so the waves fade behind the logo, with a faint glow */
  content: ""; position: absolute; inset: -40px; z-index: -1;
  background: radial-gradient(closest-side, var(--bg) 52%, transparent);
}
.dealer-float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.dealer-card p { font: 600 15px/1 var(--label); letter-spacing: .28em; text-transform: uppercase; color: var(--strong); }
.dealer-card img { width: clamp(220px, 21vw, 300px); height: auto; margin: 18px auto 0; filter: drop-shadow(0 8px 26px rgba(226, 0, 116, .22)); }
.dealer-card .logo-dark { display: none; }
:root[data-theme="dark"] .dealer-card .logo-dark { display: block; }
:root[data-theme="dark"] .dealer-card .logo-light { display: none; }
:root[data-theme="dark"] .dealer-card img { filter: drop-shadow(0 8px 28px rgba(226, 0, 116, .35)); }

/* entrance, once */
.js .hero [data-in] { opacity: 0; transform: translateY(18px); }
.js .hero.is-in [data-in] { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms + 80ms); }

@media (max-width: 1023px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 48px); }
  .hero-copy { grid-column: 1 / -1; }
  .dealer-card { grid-column: 1 / -1; margin-top: 44px; }
  .stats { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 599px) {
  .hero { padding: calc(var(--nav-h) + 28px) 0 44px; }
  .hero::before { background-position: 78% 40%; }
  .hero h1 { font-size: clamp(54px, 16vw, 76px); }
  .lede { margin-top: 20px; font-size: 17.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; margin-top: 34px; }
  .stats dd { font-size: 32px; }
  .dealer-card { margin-top: 34px; padding: 16px 0 0; }
}

/* ---------- cards (why, product, audiences) */
.card { padding: 28px 26px 30px; background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--radius); box-shadow: var(--panel-shadow); }
.card .ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px; background: var(--icon-bg); color: var(--red); }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { margin-top: 22px; }
.card p { margin-top: 10px; font-size: 16.5px; line-height: 1.5; color: var(--muted); }

/* Why join: heading left, four cards right */
.why-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: start; }
.why .sec-head { grid-column: 1 / span 5; position: sticky; top: calc(var(--nav-h) + 40px); }
.why .cards { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* The product: heading, then four cards */
.cards-4 { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* Who we serve */
.cards-3 { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
/* Businesses: the same card, wide, with a quiet accent (a red edge like the wire, a faint warm tint on the right) */
.card-wide {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  position: relative; overflow: hidden; padding: 30px 34px 30px 38px;
  background: linear-gradient(100deg, var(--panel) 55%, color-mix(in srgb, var(--red) 5%, var(--panel)));
}
.card-wide::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.card-wide h3 { margin: 0; }
.card-wide p { margin-top: 8px; }
.card-wide .ico { width: 58px; height: 58px; }
.card-wide .ico svg { width: 28px; height: 28px; }

@media (max-width: 1023px) {
  .why .sec-head, .why .cards { grid-column: 1 / -1; }
  .why .sec-head { position: static; }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .why .cards, .cards-4, .cards-3 { grid-template-columns: 1fr; }
  .card-wide { grid-template-columns: 1fr; padding: 26px 24px; }
  .card-wide .ico { order: -1; }
}

/* ---------- coverage */
.cover-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: center; margin-top: 52px; }
.map-wrap { grid-column: 1 / span 8; position: relative; }
.map-side { grid-column: 9 / -1; }
.usmap, .usmap-img { width: 100%; height: auto; overflow: visible; }
.usmap .st { fill: var(--map-land); stroke: var(--map-edge); stroke-width: .9; stroke-linejoin: round; transition: fill .6s var(--ease), stroke .3s; }
.usmap .st.is-sell { fill: var(--red); }
.usmap .st.is-new { fill: rgba(237, 28, 36, .14); stroke: var(--red); stroke-width: 1.2; stroke-dasharray: 3 2.4; }
.usmap .st.is-hot { fill: #FF5A60; }
.usmap .st.is-new.is-hot { fill: rgba(237, 28, 36, .4); }
.usmap .link { fill: none; stroke: var(--map-link); stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s var(--ease-out), stroke .3s; }
.usmap .link.is-hot { stroke: var(--strong); stroke-width: 1.8; }
.usmap .node { fill: var(--node); stroke: var(--node-edge); stroke-width: 1.2; transition: transform .4s var(--ease-out), opacity .4s; transform-box: fill-box; transform-origin: center; }
.usmap .node.is-new { fill: var(--node-edge); stroke: var(--node); stroke-width: 1.4; }
.usmap .hq-dot { fill: var(--node); }
.usmap .hq-ring { fill: none; stroke: var(--node); stroke-width: 1.4; animation: hq 2.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hq { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
.hq-label {
  position: absolute; left: var(--hq-x, 79.6%); top: var(--hq-y, 64%); transform: translate(14px, -50%);
  font: 700 13px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--strong); white-space: nowrap;
  padding: 7px 9px; background: var(--tag-bg); border: 1px solid var(--line-strong); border-radius: 3px; pointer-events: none;
  transition: opacity .5s .1s;
}
/* the dealt moment: armed by JS only when motion is allowed, played once when the map comes into view */
.usmap.is-armed .st.is-sell { fill: var(--map-land); }
.usmap.is-armed .st.is-new { fill: var(--map-land); stroke: var(--map-edge); stroke-dasharray: none; }
.usmap.is-armed .link { stroke-dashoffset: 1; }
.usmap.is-armed .node { transform: scale(0); opacity: 0; }
.usmap.is-armed + .hq-label { opacity: 0; }
.usmap.is-lit .st.is-sell, .usmap.is-lit .st.is-new, .usmap.is-lit .link, .usmap.is-lit .node { transition-delay: calc(var(--i, 0) * 110ms + 250ms); }
.legend { display: grid; gap: 12px; }
.legend li { display: flex; align-items: center; gap: 12px; font: 600 15px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legend i { flex: none; width: 18px; height: 18px; border-radius: 3px; }
.legend .k-sell { background: var(--red); }
.legend .k-new { border: 1.5px dashed var(--red); background: rgba(237, 28, 36, .14); }
.legend .k-hq { border-radius: 50%; background: var(--node); box-shadow: 0 0 0 3px var(--bg-alt), 0 0 0 4.5px var(--node); width: 10px; height: 10px; margin: 4px; }
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--panel);
  font: 600 15px/1 var(--body); color: var(--strong); cursor: default; transition: border-color .2s, background-color .2s, color .2s;
}
.chip.is-new { border-style: dashed; border-color: rgba(237, 28, 36, .75); }
.chip.is-hot { border-color: var(--red); background: var(--red); color: #fff; }
.cover-note { margin-top: 22px; font-size: 15px; color: var(--faint); }
@media (max-width: 1023px) { .map-wrap, .map-side { grid-column: 1 / -1; } }
@media (max-width: 599px) {
  .hq-label { font-size: 11px; padding: 5px 7px; letter-spacing: .12em; transform: translate(calc(-100% - 10px), -50%); }
  .chip { font-size: 14px; padding: 8px 11px; }
}

/* ---------- FAQ (centred column, like Palmetto) */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.qa-list { margin-top: 44px; border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px; padding: 18px 0; cursor: pointer; font: 600 clamp(19px, 1.6vw, 21px)/1.3 var(--body); color: var(--strong);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover .qa-q { background-size: 100% 1.5px; }
.qa-q { background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; transition: background-size .25s var(--ease); }
.qa-icon { flex: none; position: relative; width: 22px; height: 22px; }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; margin-top: -1px; background: var(--red); transition: transform .3s var(--ease); }
.qa-icon::after { transform: rotate(90deg); }
.qa[open] .qa-icon::after { transform: rotate(0); }
.qa-a { padding: 0 48px 24px 0; color: var(--muted); font-size: 18px; }
.qa::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
@media (max-width: 599px) { .qa-a { padding-right: 0; } }

/* ---------- closing call (Palmetto: "Ready to move?") */
.close { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding-block: clamp(110px, 13vw, 180px); }
.close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 70% at 50% 50%, var(--glow-a), transparent 72%); }
.close h2 { font-size: clamp(64px, 9vw, 136px); line-height: .9; }
.close p { margin: 22px auto 0; max-width: 30em; font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); }
.close .actions { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .close .actions .btn { flex: 1 1 100%; } }

/* ---------- footer */
.foot { padding-block: 60px 36px; background: var(--bg-alt); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 36px; align-items: start; }
.foot-brand { grid-column: 1 / span 6; }
.foot-brand img { width: 210px; height: auto; }
.foot-brand p { margin-top: 18px; color: var(--muted); font-size: 16px; max-width: 26em; }
.foot-links { grid-column: 8 / -1; display: grid; justify-items: end; gap: 6px; text-align: right; }
.foot-links .mail { font-size: 16.5px; color: var(--strong); min-height: 44px; display: inline-flex; align-items: center; }
.social { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; }
.social a { min-height: 44px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 16px; }
.social a:hover { color: var(--strong); }
.social svg { width: 14px; height: 14px; opacity: .6; }
.pill {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(237, 28, 36, .35); background: rgba(237, 28, 36, .08); color: var(--red-deep); font-weight: 600; font-size: 16px;
  transition: background-color .2s, transform .18s var(--ease);
}
:root[data-theme="dark"] .pill { color: #FF6A6F; }
.pill:hover { background: rgba(237, 28, 36, .14); transform: translateY(-1px); }
.pill svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.pill:hover svg { transform: translateX(3px); }
.foot-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; color: var(--faint); }
.foot-legal a { display: inline-block; padding: 12px 2px; margin: -12px 0; }
@media (max-width: 899px) {
  .foot-brand, .foot-links { grid-column: 1 / -1; }
  .foot-links { justify-items: start; text-align: left; }
  .social { justify-content: flex-start; }
}

/* ---------- sub pages (connect, refer, legal, 404) */
.page { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(72px, 9vw, 128px); min-height: 72svh; }
.page h1 { font-size: clamp(52px, 7vw, 104px); line-height: .92; }
.page .eyebrow + h1 { margin-top: 20px; }
.page .lead { margin-top: 20px; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 32em; }
.page-waves { position: relative; isolation: isolate; overflow: hidden; }

/* connect */
.connect-wrap { max-width: 640px; margin-inline: auto; text-align: center; }
.connect-wrap .mark { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 16px; box-shadow: 0 16px 34px -18px rgba(17, 16, 16, .6); }
.connect-wrap .eyebrow { justify-content: center; }
.connect-wrap .lead { margin-inline: auto; }
.links { margin-top: 36px; display: grid; gap: 12px; text-align: left; }
.link-card {
  display: grid; grid-template-columns: 52px 1fr 24px; align-items: center; gap: 16px;
  padding: 14px 20px 14px 14px; background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--radius); box-shadow: var(--panel-shadow);
  transition: transform .2s var(--ease), border-color .2s;
}
.link-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.link-card .ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 10px; background: var(--icon-bg); color: var(--red); }
.link-card .ico img, .link-card .ico svg { width: 26px; height: 26px; }
.link-card .ico.is-wired { background: #0B0A0A; }
:root[data-theme="dark"] .link-card .ico img[src$="instagram.svg"] { filter: invert(1); }
.link-card .ico.is-wired img { width: 34px; height: 34px; }
.link-card b { display: block; font: 600 19px/1.2 var(--body); color: var(--strong); }
.link-card small { display: block; margin-top: 3px; font-size: 15px; color: var(--muted); }
.link-card .go { width: 20px; height: 20px; color: var(--faint); transition: transform .2s var(--ease), color .2s; }
.link-card:hover .go { transform: translate(2px, -2px); color: var(--strong); }
.connect-actions { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
@media (max-width: 599px) { .connect-actions .btn { flex: 1 1 100%; } }

/* refer */
.refer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; align-items: start; }
.refer-grid > div:first-child { grid-column: 1 / span 6; }
.refer-card { grid-column: 8 / -1; padding: 30px 28px; background: var(--panel); border: 1px solid var(--panel-line); border-radius: var(--radius); box-shadow: var(--panel-shadow); }
.field { display: grid; gap: 8px; }
.field + .field { margin-top: 18px; }
.field label { font: 600 15px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input { height: 54px; padding: 0 16px; border-radius: 4px; border: 1.5px solid var(--line-strong); background: transparent; color: var(--strong); font: 500 18px/1 var(--body); }
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(237, 28, 36, .18); }
.field .err { min-height: 18px; font-size: 14.5px; color: var(--red-deep); }
:root[data-theme="dark"] .field .err { color: #FF5A60; }
.refer-card > .btn { width: 100%; margin-top: 10px; }
.ref-out { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.ref-out output { display: block; padding: 14px 16px; border-radius: 4px; background: var(--bg-alt); font: 500 16px/1.4 ui-monospace, "SF Mono", Menlo, monospace; color: var(--strong); word-break: break-all; }
.ref-out .row { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.ref-out .row .btn { flex: 1 1 auto; }
.ref-out p { margin-top: 10px; font-size: 15px; color: var(--muted); }
@media (max-width: 1023px) { .refer-grid > div:first-child, .refer-card { grid-column: 1 / -1; } .refer-card { max-width: 560px; } }

/* legal */
.legal { max-width: 760px; }
.legal .updated { margin-top: 16px; font: 600 15px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.legal h2 { margin-top: 44px; font-size: clamp(28px, 3vw, 38px); line-height: 1; }
.legal p, .legal li { margin-top: 14px; color: var(--fg); font-size: 18px; }
.legal ul { margin-top: 6px; padding-left: 22px; list-style: disc; }
.legal ul li { margin-top: 10px; }
.legal a { color: var(--strong); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.legal a:hover { text-decoration-thickness: 2.5px; }
.legal strong { color: var(--strong); }

/* 404 */
.lost { min-height: 86svh; display: grid; align-items: center; padding-top: var(--nav-h); }
.lost h1 { margin-top: 22px; font-size: clamp(72px, 12vw, 180px); line-height: .88; }
.lost p { margin-top: 22px; max-width: 28em; font-size: 20px; color: var(--muted); }
.lost .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero [data-in] { opacity: 1 !important; transform: none !important; }
}
