/* Sterile Safe Solutions (S3) — concept relaunch (Tech Hub, powered by Tolowa Studio)
   Design system: engineered, calm, high-trust. Power (amber) + clean air (teal). Light default, dark option. */

/* ---------- Tokens ---------- */
:root {
  --paper: #F2F4F3;
  --paper-2: #FFFFFF;
  --paper-3: #E4E9E8;
  --ink: #0D1B20;
  --ink-soft: #3E5158;
  --ink-mute: #6D7F85;
  --line: #D6DEDD;
  --line-2: #BCC8C7;

  --ember: #0A7470;            /* clean-air teal — primary */
  --ember-lt: #0C8C86;
  --ember-dim: rgba(10, 116, 112, .10);
  --gold: #D9821C;             /* turbine amber — power */
  --gold-dim: rgba(217, 130, 28, .13);
  --slate: #0B1A1F;            /* graphite */

  --bg: var(--paper);
  --surface: var(--paper-2);
  --surface-2: var(--paper-3);

  --serif: "Space Grotesk", "Segoe UI", system-ui, sans-serif;   /* display */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 56px);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 24px 60px -32px rgba(8, 30, 36, .45);
  --shadow-soft: 0 10px 30px -20px rgba(8, 30, 36, .40);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --on-accent: #FFFFFF;
}

:root[data-theme="dark"] {
  --paper: #071114;
  --paper-2: #0E1C21;
  --paper-3: #15272D;
  --ink: #EAF2F1;
  --ink-soft: #B6C7C8;
  --ink-mute: #7F9599;
  --line: #1F3338;
  --line-2: #2E474D;
  --ember: #3DD3C3;
  --ember-lt: #6BE3D6;
  --ember-dim: rgba(61, 211, 195, .13);
  --gold: #F2A541;
  --gold-dim: rgba(242, 165, 65, .15);
  --slate: #A9BEC1;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .75);
  --shadow-soft: 0 10px 30px -18px rgba(0, 0, 0, .6);
  --on-accent: #04201D;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; margin-inline: auto; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: #0B1A1F; color: #D3DEDF;
  font-size: 12.5px; line-height: 1.5; text-align: center;
  padding: 9px var(--gutter); letter-spacing: .01em;
}
.disclaimer strong { color: #fff; }
:root[data-theme="dark"] .disclaimer { background: #03090B; border-bottom: 1px solid var(--line); }

/* ---------- Brand mark ---------- */
.brand { display: flex; align-items: center; gap: 12px; }
.mark {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(140deg, var(--ember), color-mix(in srgb, var(--ember) 55%, var(--gold)));
  color: var(--on-accent); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: -.02em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.mark sup { font-size: .62em; margin-left: 1px; }
.brand__name { white-space: nowrap; font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: -.01em; line-height: 1.1; }
.brand__name small { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; }
.brand__tag {
  font-family: var(--sans); font-size: 9.5px; font-weight: 700; vertical-align: 2px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ember);
  border: 1px solid var(--ember); border-radius: 999px; padding: 1px 7px; margin-left: 6px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-soft); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav__links { display: flex; gap: 20px; white-space: nowrap; margin-left: auto; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.nav__links a { transition: color .2s var(--ease); }
.nav__links a:hover { color: var(--ember); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__menu { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 40px; height: 36px; cursor: pointer; }
.nav__menu span { display: block; width: 16px; height: 2px; background: var(--ink); margin: 3px auto; border-radius: 2px; }

.theme-toggle {
  width: 42px; height: 24px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--surface-2); position: relative; cursor: pointer; padding: 0; flex: none;
}
.theme-toggle__dot {
  position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); transition: transform .3s var(--ease), background .3s var(--ease);
}
:root[data-theme="dark"] .theme-toggle__dot { transform: translateX(18px); background: var(--ember); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; white-space: nowrap;
  padding: 11px 22px; border-radius: 10px; cursor: pointer;
  background: var(--ember); color: var(--on-accent); border: 1px solid var(--ember);
  transition: transform .18s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { background: var(--ember-lt); border-color: var(--ember-lt); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn--sm { padding: 8px 15px; font-size: 13.5px; }
.btn--lg { padding: 14px 28px; font-size: 16px; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--ink-mute); }
.btn--amber { background: var(--gold); border-color: var(--gold); color: #1E1203; }
.btn--amber:hover { background: color-mix(in srgb, var(--gold) 85%, #fff); border-color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--band { background: var(--surface); border-block: 1px solid var(--line); }
.section--dark {
  background: #0B1A1F; color: #EAF2F1;
  --ink: #EAF2F1; --ink-soft: rgba(234,242,241,.80); --ink-mute: rgba(234,242,241,.56);
  --line: rgba(255,255,255,.12); --line-2: rgba(255,255,255,.2); --surface: rgba(255,255,255,.04); --surface-2: rgba(255,255,255,.08);
  --ember: #3DD3C3; --ember-lt: #6BE3D6; --ember-dim: rgba(61,211,195,.13); --gold: #F2A541; --on-accent: #04201D;
}
:root[data-theme="dark"] .section--dark { background: #03090B; }

.eyebrow, .section__label {
  font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ember); margin-bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before, .section__label::before { content: ""; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
.section__title {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; line-height: 1.04;
  font-size: clamp(34px, 5vw, 58px); margin-bottom: 18px; max-width: 20ch;
}
.section__title.center { max-width: 24ch; }
.section__title em { font-style: normal; color: var(--ember); }
.section__intro { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 62ch; }
.section__intro.center { margin-inline: auto; }
.body { color: var(--ink-soft); margin-top: 16px; max-width: 60ch; }
.fineprint { font-size: 12.5px; color: var(--ink-mute); margin-top: 22px; font-style: italic; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: start; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(55% 60% at 88% 10%, var(--gold-dim), transparent 62%),
    radial-gradient(60% 70% at 4% 0%, var(--ember-dim), transparent 60%);
}
.hero::before { /* engineering grid */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: radial-gradient(80% 70% at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 10%, transparent 70%);
}
.hero > .wrap { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero__title {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(46px, 7vw, 92px); margin: 4px 0 24px;
}
.hero__title em { font-style: normal; color: var(--ember); }
.hero__title s { text-decoration: line-through; text-decoration-color: var(--gold); text-decoration-thickness: .07em; color: var(--ink-mute); }
.hero__lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-soft); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__cta.center { justify-content: center; }
.hero__trust { margin-top: 26px; font-size: 13.5px; color: var(--ink-mute); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero__trust span::before { content: "●"; color: var(--ember); font-size: 9px; margin-right: 8px; vertical-align: 2px; }

/* Hero instrument card */
.gauge {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 22px; position: relative;
}
.gauge__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gauge__head b { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.live { font-family: var(--mono); font-size: 11px; color: var(--ember); display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .1em; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 0 var(--ember); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--ember-dim); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .live::before { animation: none; } }
.turbine { margin: 14px 0 6px; color: var(--ink); }
.turbine .spin { transform-origin: 70px 70px; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .turbine .spin { animation: none; } }
.readouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.readout { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.readout small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; }
.readout b { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.readout b i { font-style: normal; font-size: .55em; color: var(--ink-mute); margin-left: 3px; }
.gauge__foot { margin-top: 12px; font-size: 12.5px; color: var(--ink-mute); }

/* ---------- Ticker strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip__inner { display: flex; flex-wrap: wrap; gap: 10px 34px; padding: 16px 0; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.strip__inner b { color: var(--ink); font-weight: 600; }

/* ---------- Lines of business ---------- */
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.line-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.line-card__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); }
.line-card h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.line-card p { color: var(--ink-soft); font-size: 15.5px; }
.line-card ul { list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.line-card li { padding-left: 18px; position: relative; }
.line-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--gold); }
.line-card .link { margin-top: auto; padding-top: 10px; }
.line-card--feature { border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember-dim); }
.icon { width: 42px; height: 42px; border-radius: 11px; background: var(--ember-dim); color: var(--ember); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }
.icon--amber { background: var(--gold-dim); color: var(--gold); }
.link { display: inline-block; color: var(--ember); font-weight: 600; font-size: 15px; }
.link:hover { color: var(--ember-lt); }

/* ---------- Timeline (Turbine Transaction Framework) ---------- */
.timeline { list-style: none; margin-top: 44px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--ember), var(--gold)); opacity: .6; }
.tl { position: relative; padding: 0 14px 0 0; }
.tl__dot { width: 48px; height: 48px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ember); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; color: var(--ember); position: relative; z-index: 1; }
.section--dark .tl__dot { background: #0B1A1F; }
:root[data-theme="dark"] .section--dark .tl__dot { background: #03090B; }
.tl:last-child .tl__dot { border-color: var(--gold); color: var(--gold); }
.tl__days { font-family: var(--mono); font-size: 11.5px; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-top: 16px; display: block; }
.tl h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.15; margin: 4px 0 8px; letter-spacing: -.01em; }
.tl p { font-size: 14px; color: var(--ink-soft); }
.gates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.gates span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; color: var(--ink-soft); }

/* ---------- Estimator ---------- */
.est { margin-top: 40px; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.est__step { margin-bottom: 26px; }
.est__q { font-weight: 700; font-size: 15px; margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.est__q i { font-style: normal; font-family: var(--mono); background: var(--ember); color: var(--on-accent); width: 26px; height: 26px; border-radius: 8px; display: inline-grid; place-items: center; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px;
  padding: 8px 15px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--ember); color: var(--ember); }
.chip[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: var(--on-accent); }
.range { display: grid; gap: 8px; }
.range input { accent-color: var(--ember); width: 100%; }
.range output { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.range output small { font-family: var(--sans); font-size: 13px; color: var(--ink-mute); font-weight: 500; margin-left: 6px; }
.est__out { display: grid; gap: 14px; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; animation: pop .35s var(--ease);
}
.plan--best { border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember-dim); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.plan__badge { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ember); }
.plan__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 6px 0 8px; }
.plan h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.plan__ttp { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--gold); white-space: nowrap; }
.plan__ttp small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; text-align: right; }
.plan p { color: var(--ink-soft); font-size: 15px; }
.plan__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-mute); margin-top: 10px; }
.plan__meta span::before { content: "— "; color: var(--ember); }
.plan__bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; margin-top: 14px; background: var(--surface-2); }
.plan__bar i { display: block; height: 100%; }

/* ---------- Good Neighbor ---------- */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.promise__n { font-family: var(--mono); font-size: 11.5px; color: var(--ink-mute); letter-spacing: .1em; }
.promise h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 6px 0 6px; letter-spacing: -.01em; }
.promise b { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ember); letter-spacing: -.03em; display: block; line-height: 1.1; }
.promise p { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.promise--cta { background: var(--ember); border-color: var(--ember); color: var(--on-accent); display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.promise--cta p { color: inherit; opacity: .85; }
.promise--cta .btn { background: var(--on-accent); color: var(--ember); border-color: var(--on-accent); align-self: flex-start; }

/* ---------- Water compare ---------- */
.compare { margin-top: 18px; display: grid; gap: 12px; }
.compare__row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 90px; gap: 12px; align-items: center; font-size: 14px; }
.compare__row span { color: var(--ink-soft); }
.compare__track { height: 14px; background: var(--surface-2); border-radius: 3px; }
.compare__track i { display: block; height: 100%; width: var(--w); background: var(--ember); border-radius: 0 4px 4px 0; }
.compare__row--muted .compare__track i { background: var(--ink-mute); opacity: .55; }
.compare__row b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.stat { border-left: 2px solid var(--gold); padding-left: 18px; }
.stat__num { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5vw, 60px); letter-spacing: -.04em; line-height: 1; }
.stat__label { display: block; margin-top: 8px; color: var(--ink-mute); font-size: 14px; }

/* ---------- Buildings / IAQ ---------- */
.sensor { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-soft); }
.sensor__head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 14px; }
.sensor__head b { font-family: var(--serif); font-weight: 600; font-size: 18px; }
.sensor__rows { list-style: none; display: grid; gap: 0; }
.sensor__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.sensor__rows li:last-child { border: 0; }
.sensor__rows small { display: block; color: var(--ink-mute); font-size: 12.5px; }
.sensor__val { font-family: var(--serif); font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums; }
.pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill--good { background: rgba(34, 139, 84, .12); color: #1E7A4B; }
.pill--warn { background: rgba(214, 140, 20, .14); color: #8A5A07; }
:root[data-theme="dark"] .pill--good { color: #6FD39C; }
:root[data-theme="dark"] .pill--warn { color: #F2C46B; }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink-soft); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ember); font-weight: 700; }
.ticks b { color: var(--ink); }

/* ---------- Sectors ---------- */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.sectors span { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Partners ---------- */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.partner { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--surface); }
.partner b { font-family: var(--serif); font-weight: 600; font-size: 17px; display: block; }
.partner span { font-size: 13.5px; color: var(--ink-mute); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.person { border-top: 2px solid var(--ember); padding-top: 14px; }
.person .ini { width: 44px; height: 44px; border-radius: 50%; background: var(--ember-dim); color: var(--ember); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; margin-bottom: 10px; }
.person b { display: block; font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.2; }
.person span { font-size: 13.5px; color: var(--ink-mute); }

/* ---------- Contact ---------- */
.form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-soft); }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 10px;
  padding: 11px 13px; font-size: 15px; font-weight: 400; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px var(--ember-dim); }
.form__note { font-size: 12.5px; color: var(--ink-mute); }
.form__ok { display: none; background: var(--ember-dim); border: 1px solid var(--ember); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; }
.form.is-sent .form__ok { display: block; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.contact-list li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-list h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); padding-top: 3px; }
.ph { color: var(--ink-mute); font-style: italic; }

/* ---------- Pillars (behind the relaunch) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.pillar { border-top: 2px solid var(--ember); padding-top: 20px; }
.pillar__no { font-family: var(--mono); font-size: 13px; color: var(--ember); letter-spacing: .1em; }
.pillar h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 6px 0 10px; line-height: 1.1; letter-spacing: -.02em; }
.pillar p { color: var(--ink-soft); font-size: 15px; }
.relaunch__by { margin-top: 44px; font-size: 14px; color: var(--ink-mute); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.relaunch__by strong { color: var(--ink); }

/* ---------- Final CTA ---------- */
.finalcta { background: radial-gradient(90% 120% at 50% 0%, var(--gold-dim), transparent 60%); }

/* ---------- Footer ---------- */
.footer { background: #0B1A1F; color: #EAF2F1; padding-top: clamp(48px, 7vw, 80px); --ink-mute: rgba(234,242,241,.58); }
:root[data-theme="dark"] .footer { background: #03090B; border-top: 1px solid var(--line); }
.footer__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr); gap: 48px; padding-bottom: 40px; }
.footer .brand__name small { color: rgba(234,242,241,.6); }
.footer__blurb { color: rgba(234,242,241,.72); font-size: 14.5px; margin-top: 16px; max-width: 46ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__cols h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(234,242,241,.5); margin-bottom: 12px; font-weight: 600; }
.footer__cols a { display: block; font-size: 14.5px; color: rgba(234,242,241,.85); padding: 3px 0; }
.footer__cols a:hover { color: #6BE3D6; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 32px; font-size: 12.5px; color: rgba(234,242,241,.6); display: grid; gap: 10px; }
.footer__by { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(234,242,241,.75); }
.footer__by strong { color: #fff; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav__links { display: none; }
  .nav__menu { display: block; margin-left: auto; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px var(--gutter) 20px; gap: 12px; box-shadow: var(--shadow-soft); }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .timeline::before { display: none; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero__grid, .grid-2, .est, .footer__inner { grid-template-columns: minmax(0, 1fr); }
  .lines, .pillars { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav__actions .btn { display: none; }
  .timeline, .promises, .team, .partners { grid-template-columns: minmax(0, 1fr); }
  .readouts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .readout { padding: 8px; } .readout b { font-size: 18px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .compare__row { grid-template-columns: 96px minmax(0, 1fr) 70px; font-size: 13px; }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { gap: 18px; }
}
