/* ============================================================
   LUX SMART GLASS — Swiss-style architectural aesthetic
   Ink on bone, with cold-steel accent
   ============================================================ */

:root {
  --bone: #f4f2ec;        /* warm paper */
  --bone-2: #ebe8e0;
  --ink: #0e0e0c;
  --ink-2: #1c1c19;
  --graphite: #4a4a46;
  --ash: #8a8a84;
  --line: #dbd8d0;
  --steel: #2b3a4a;        /* cold-steel accent */
  --steel-2: #5b7390;
  --accent: #c8a36b;       /* warm champagne - used sparingly */
  --ok: #3d5a3d;

  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;

  --pad: clamp(20px, 4vw, 56px);
  --max: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

/* ---------- type ---------- */
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.uppercase { text-transform: uppercase; letter-spacing: 0.08em; }
.label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}
.label-xs {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}
.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.02; }

.display {
  font-size: clamp(48px, 9.5vw, 160px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.display-mid {
  font-size: clamp(36px, 5.5vw, 84px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.h2 {
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
}
.h3 {
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.lede {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 60ch;
}
.italic-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.hairline { height: 1px; background: var(--line); width: 100%; }
.hairline-v { width: 1px; background: var(--line); height: 100%; }

section { position: relative; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in oklab, var(--bone) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 13px;
  text-transform: uppercase;
}
.brand .dot {
  width: 7px; height: 7px;
  background: var(--ink);
  display: inline-block;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
}
.nav-links a {
  color: var(--ink);
  transition: color 0.15s, opacity 0.15s;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bone);
  border: 1px solid var(--ink);
  transition: all 0.18s;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bone); }

.btn-arrow::after {
  content: "→";
  font-size: 13px;
  transform: translateX(0);
  transition: transform 0.18s;
}
.btn:hover .btn-arrow::after { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  padding: 96px var(--pad) 48px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 28px;
  position: relative;
}
.hero-headline-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: end;
}
.hero-oneliner {
  grid-column: span 8;
  font-size: clamp(32px, 4.4vw, 64px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}
.hero-cta-row {
  grid-column: span 4;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .hero-oneliner, .hero-cta-row { grid-column: 1 / -1; }
  .hero-cta-row { justify-content: flex-start; }
}

/* state badge in the boardroom */
.state-badge {
  position: absolute;
  z-index: 4;
  top: 20px;
  left: 24px;
  color: var(--bone);
  pointer-events: none;
}
.state-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.state-pill {
  display: inline-block;
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(14,14,12,0.55);
  border: 1px solid rgba(244,242,236,0.25);
  backdrop-filter: blur(8px);
  color: rgba(244,242,236,0.65);
  transition: all 0.25s;
}
.state-pill.active {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}
.state-arrow {
  font-family: var(--mono);
  font-size: 14px;
  color: rgba(244,242,236,0.7);
}
.state-caption {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,242,236,0.7);
  margin-top: 10px;
  padding-left: 2px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: end;
}
.hero-meta .slot { grid-column: span 3; }
.hero-meta .slot:last-child { text-align: right; }

.hero-display {
  grid-column: 1 / -1;
  align-self: end;
}
.hero-display h1 {
  text-wrap: balance;
}
.hero-display h1 em {
  font-style: normal;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.hero-footer {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.hero-footer .col { grid-column: span 3; }

/* ---------- boardroom demo ---------- */
.boardroom {
  position: relative;
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  background: #1a1a17;
  overflow: hidden;
  border: 1px solid var(--ink);
  user-select: none;
}
.boardroom-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.boardroom-clear-photo { z-index: 1; }
.boardroom-frosted-photo {
  z-index: 2;
  transition: opacity 0.15s linear;
  will-change: opacity;
}
.scroll-hint {
  position: absolute;
  bottom: 20px;
  right: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(14,14,12,0.55);
  border: 1px solid rgba(244,242,236,0.2);
  backdrop-filter: blur(8px);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}
.scroll-hint .arrow {
  animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(3px); opacity: 1; }
}
.boardroom-ui { z-index: 3; }
.boardroom-corners { z-index: 3; }
.boardroom-ui {
  position: absolute;
  left: 24px; right: 24px; bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: var(--bone);
  pointer-events: none;
}
.boardroom-ui-block { pointer-events: auto; }
.boardroom-ui .label { color: rgba(244,242,236,0.72); }
.boardroom-ui .readout {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-top: 6px;
}
.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 16px;
  background: rgba(14,14,12,0.55);
  border: 1px solid rgba(244,242,236,0.2);
  backdrop-filter: blur(8px);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-chip:hover { background: rgba(14,14,12,0.75); }
.toggle-chip .dot-led {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ash);
  transition: all 0.3s;
}
.boardroom.clear .toggle-chip .dot-led {
  background: #b5d9ff;
  box-shadow: 0 0 10px #7ab8f0;
}
.boardroom-corners {
  position: absolute;
  inset: 12px;
  pointer-events: none;
}
.boardroom-corners::before,
.boardroom-corners::after,
.bc-bl, .bc-br {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid rgba(244,242,236,0.4);
  content: "";
}
.boardroom-corners::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.boardroom-corners::after { top: 0; right: 0; border-left: none; border-bottom: none; }
.boardroom-corners .bc-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.boardroom-corners .bc-br { bottom: 0; right: 0; border-left: none; border-top: none; }

/* tick marks along top of hero */
.tick-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ash);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tick-row > span {
  border-right: 1px solid var(--line);
  padding: 0 8px;
}
.tick-row > span:last-child { border-right: none; }

/* ---------- section header pattern ---------- */
.section {
  padding: clamp(64px, 9vw, 140px) var(--pad);
  border-top: 1px solid var(--line);
}
.section-dark {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.section-dark .label,
.section-dark .label-xs { color: var(--ash); }
.section-dark .hairline { background: #2a2a26; }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-bottom: 56px;
  align-items: end;
}
.section-head .idx { grid-column: span 2; }
.section-head .kicker { grid-column: span 3; }
.section-head .title { grid-column: span 7; }

/* ---------- applications ---------- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.app-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s;
  align-items: start;
}
.app-row:hover { background: var(--bone-2); }
.app-row .idx { grid-column: span 1; font-family: var(--mono); font-size: 12px; color: var(--ash); padding-top: 4px; }
.app-row .name { grid-column: span 3; font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; letter-spacing: -0.02em; }
.app-row .desc { grid-column: span 5; color: var(--graphite); font-size: 15px; line-height: 1.5; }
.app-row .meta { grid-column: span 3; text-align: right; }
.app-row .meta .tag {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-left: 4px;
  margin-bottom: 4px;
}

/* ---------- calculator ---------- */
.calc-shell {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.calc-form { grid-column: span 7; }
.calc-summary { grid-column: span 5; }

.calc-card {
  background: var(--bone-2);
  border: 1px solid var(--ink);
  padding: 28px;
}
.calc-field { margin-bottom: 22px; }
.calc-field label { display: block; margin-bottom: 10px; }

.unit-toggle {
  display: inline-flex;
  border: 1px solid var(--ink);
}
.unit-toggle button {
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink);
  border: none;
  transition: all 0.15s;
}
.unit-toggle button.active { background: var(--ink); color: var(--bone); }

.numeric-input {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bone);
  border: 1px solid var(--ink);
  width: 100%;
}
.numeric-input input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.02em;
  min-width: 0;
}
.numeric-input .suffix {
  font-family: var(--mono);
  color: var(--ash);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.slider-wrap { margin-top: 14px; }
.slider-wrap input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 24px;
}
.slider-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 1px; background: var(--ink);
}
.slider-wrap input[type="range"]::-moz-range-track { height: 1px; background: var(--ink); }
.slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px; background: var(--ink);
  border: none; margin-top: -6.5px; cursor: pointer;
}
.slider-wrap input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; background: var(--ink); border: none; cursor: pointer;
  border-radius: 0;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bone);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.15s;
}
.check-row:hover { background: var(--bone-2); }
.check-row input { accent-color: var(--ink); width: 16px; height: 16px; }
.check-row .main { flex: 1; }
.check-row .sub { font-family: var(--mono); font-size: 11px; color: var(--graphite); letter-spacing: 0.06em; }
.check-row .num { font-size: 14px; }

/* summary */
.summary-card {
  background: var(--ink);
  color: var(--bone);
  padding: 28px;
  border: 1px solid var(--ink);
  min-height: 100%;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(244,242,236,0.12);
  font-family: var(--mono);
  font-size: 13px;
}
.summary-row.muted { color: rgba(244,242,236,0.55); }
.summary-row.total {
  border-bottom: none;
  border-top: 1px solid rgba(244,242,236,0.35);
  padding-top: 18px;
  margin-top: 10px;
  font-size: 15px;
  align-items: baseline;
}
.summary-row .val { font-variant-numeric: tabular-nums; }
.big-total {
  font-family: var(--sans);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.summary-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(244,242,236,0.55);
  margin-top: 18px;
  line-height: 1.5;
}
.min-warn {
  background: rgba(200,163,107,0.12);
  border: 1px solid rgba(200,163,107,0.4);
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-top: 14px;
  line-height: 1.5;
}
.large-note {
  background: rgba(244,242,236,0.06);
  border: 1px solid rgba(244,242,236,0.2);
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(244,242,236,0.85);
  margin-top: 14px;
  line-height: 1.5;
}

/* ---------- specs table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 13px;
}
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 14px 0; vertical-align: top; }
.spec-table td:first-child { color: var(--graphite); width: 40%; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
.spec-table td:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.section-dark .spec-table tr { border-bottom-color: #2a2a26; }
.section-dark .spec-table td:first-child { color: var(--ash); }
.section-dark .spec-table td:last-child { color: var(--bone); }

/* ---------- how it works ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px 20px;
}
.how-step { grid-column: span 4; }
.how-step .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ash);
  margin-bottom: 20px;
}
.how-step .diagram {
  aspect-ratio: 4 / 3;
  background: var(--bone-2);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.how-step h3 { margin-bottom: 10px; }
.how-step p { color: var(--graphite); font-size: 14px; line-height: 1.55; }

/* diagram internals */
.dg-off, .dg-on, .dg-layers {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.dg-molecules {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  width: 60%;
}
.dg-molecule {
  height: 14px;
  background: var(--ink);
  transform-origin: center;
  transition: transform 0.5s;
}
.dg-off .dg-molecule:nth-child(1){ transform: rotate(45deg); }
.dg-off .dg-molecule:nth-child(2){ transform: rotate(120deg); }
.dg-off .dg-molecule:nth-child(3){ transform: rotate(20deg); }
.dg-off .dg-molecule:nth-child(4){ transform: rotate(160deg); }
.dg-off .dg-molecule:nth-child(5){ transform: rotate(75deg); }
.dg-off .dg-molecule:nth-child(6){ transform: rotate(100deg); }
.dg-off .dg-molecule:nth-child(7){ transform: rotate(30deg); }
.dg-off .dg-molecule:nth-child(8){ transform: rotate(140deg); }
.dg-off .dg-molecule:nth-child(9){ transform: rotate(60deg); }
.dg-off .dg-molecule:nth-child(10){ transform: rotate(170deg); }

.dg-on .dg-molecule { transform: rotate(90deg); }

.dg-stack {
  width: 75%;
  display: grid;
  gap: 2px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dg-layer {
  padding: 4px 8px;
  background: var(--bone);
  border: 1px solid var(--ink);
  color: var(--graphite);
  display: flex; justify-content: space-between;
}
.dg-layer.core { background: var(--ink); color: var(--bone); }

/* ---------- why LSG ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid #2a2a26;
}
.why-cell {
  grid-column: span 4;
  padding: 32px 28px;
  border-right: 1px solid #2a2a26;
  border-bottom: 1px solid #2a2a26;
}
.why-cell:nth-child(3n) { border-right: none; }
.why-cell .n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ash);
  margin-bottom: 24px;
  display: flex; justify-content: space-between;
}
.why-cell h3 { margin-bottom: 14px; font-size: 24px; }
.why-cell p { color: rgba(244,242,236,0.7); font-size: 14px; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  cursor: pointer;
}
.faq-q {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: baseline;
  gap: 20px;
}
.faq-q .n { font-family: var(--mono); font-size: 11px; color: var(--ash); letter-spacing: 0.14em; }
.faq-q .q { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -0.01em; }
.faq-q .plus { font-family: var(--mono); font-size: 16px; text-align: right; transition: transform 0.25s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  gap: 20px;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s, margin-top 0.35s;
}
.faq-item.open .faq-a { max-height: 400px; margin-top: 18px; }
.faq-a .body {
  grid-column: 2;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.6;
  max-width: 70ch;
}

/* ---------- quote form ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.quote-intro { grid-column: span 5; }
.quote-form { grid-column: span 7; }

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field input, .field textarea, .field select {
  font-family: var(--mono);
  font-size: 14px;
  padding: 14px 16px;
  background: var(--bone);
  border: 1px solid var(--ink);
  color: var(--ink);
  outline: none;
  transition: background 0.15s;
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { background: #fff; }
.field .label { color: var(--graphite); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.submit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.form-success {
  padding: 28px;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  border: 1px solid var(--ink);
}

/* ---------- footer ---------- */
.footer {
  padding: 80px var(--pad) 40px;
  background: var(--ink);
  color: var(--bone);
  border-top: 1px solid var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding-bottom: 60px;
  border-bottom: 1px solid #2a2a26;
}
.footer-brand { grid-column: span 4; }
.footer-col { grid-column: span 2; }
.footer-col.wide { grid-column: span 4; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 18px;
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 4px 0; font-size: 14px; }
.footer-col a { color: rgba(244,242,236,0.8); }
.footer-col a:hover { color: var(--bone); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ash);
  text-transform: uppercase;
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
}
.marquee-track {
  display: inline-block;
  animation: scroll 40s linear infinite;
}
.marquee-track span { margin: 0 28px; }
.marquee-track span::before { content: "◆"; color: var(--ash); margin-right: 28px; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-meta .slot { grid-column: span 6; }
  .hero-footer .col { grid-column: span 6; margin-bottom: 16px; }
  .calc-form, .calc-summary { grid-column: 1 / -1; }
  .quote-intro, .quote-form { grid-column: 1 / -1; }
  .how-step { grid-column: span 12; }
  .why-cell { grid-column: span 12; border-right: none !important; }
  .app-row { gap: 10px; }
  .app-row .idx { grid-column: span 2; }
  .app-row .name { grid-column: span 10; }
  .app-row .desc { grid-column: 1 / -1; }
  .app-row .meta { grid-column: 1 / -1; text-align: left; }
  .footer-brand, .footer-col, .footer-col.wide { grid-column: span 6; }
  .section-head .idx { grid-column: span 12; }
  .section-head .kicker { grid-column: span 12; }
  .section-head .title { grid-column: span 12; }
  .field-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .boardroom-glass { left: 8%; right: 8%; top: 18%; bottom: 18%; }
}


/* ============================================================
   WHY YOU NEED IT — business-case section
   ============================================================ */
.reasons-grid {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}
.reason-card {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 36px 32px 32px;
  background: var(--bone-1);
  cursor: default;
  transition: background 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.reason-card:hover, .reason-card.open {
  background: var(--ink);
  color: var(--bone-1);
}
.reason-card:hover .reason-n,
.reason-card:hover .reason-stat-label,
.reason-card:hover .reason-proof,
.reason-card.open .reason-n,
.reason-card.open .reason-stat-label,
.reason-card.open .reason-proof {
  color: rgba(248, 246, 240, 0.6);
}
.reason-card:hover .reason-stat-num,
.reason-card.open .reason-stat-num {
  color: var(--accent, #c9a961);
}
.reason-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 24px;
  transition: border-color 0.4s ease;
}
.reason-card:hover .reason-head,
.reason-card.open .reason-head {
  border-bottom-color: rgba(248, 246, 240, 0.18);
}
.reason-n {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--graphite);
  text-transform: uppercase;
  padding-top: 12px;
}
.reason-stat {
  text-align: right;
}
.reason-stat-num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
  transition: color 0.4s ease;
}
.reason-stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--graphite);
  text-transform: uppercase;
  margin-top: 8px;
}
.reason-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.reason-body {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 auto;
  opacity: 0.85;
}
.reason-proof {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--graphite);
  text-transform: uppercase;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--hairline);
  display: flex;
  gap: 8px;
  align-items: center;
}
.reason-card:hover .reason-proof,
.reason-card.open .reason-proof {
  border-top-color: rgba(248, 246, 240, 0.18);
}

.payback-strip {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
  padding-top: 32px;
}
.payback-cell {
  padding: 0 40px 0 0;
  border-right: 1px solid var(--hairline);
}
.payback-cell:last-child { border-right: none; padding-right: 0; }
.payback-cell:not(:first-child) { padding-left: 40px; }
.payback-num {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 12px;
  margin-bottom: 12px;
}
.payback-detail {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--graphite);
}

@media (max-width: 900px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .payback-strip { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .payback-cell { padding: 0 0 24px 0 !important; border-right: none; border-bottom: 1px solid var(--hairline); }
  .payback-cell:last-child { border-bottom: none; padding-bottom: 0; }
  .reason-stat-num { font-size: 42px; }
}


/* ============================================================
   WHY YOU NEED IT — DARK / HIGH-IMPACT VARIANT
   ============================================================ */
.why-need {
  background: var(--ink);
  color: var(--bone-1);
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
}
.why-need::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent, #c9a961) 30%, var(--accent, #c9a961) 70%, transparent);
  opacity: 0.6;
}

.why-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}
.why-eyebrow-line {
  flex: 0 0 80px;
  height: 1px;
  background: rgba(248, 246, 240, 0.25);
}
.why-eyebrow-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent, #c9a961);
}

.why-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-align: center;
  margin: 0 auto;
  max-width: 16ch;
  text-wrap: balance;
  color: #ffffff;
}
.why-headline .italic-serif {
  font-style: italic;
  color: #ffffff;
}
.why-headline .why-accent {
  color: var(--accent, #c9a961);
  font-style: italic;
}
.why-headline .why-accent-plain {
  color: var(--accent, #c9a961);
}

.why-sub {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
  max-width: 60ch;
  margin: 28px auto 80px;
  color: #f5f0e4;
  text-wrap: pretty;
}

/* ---- override reason cards inside dark section ---- */
.why-need .reasons-grid {
  margin-top: 0;
  border-top: 1px solid rgba(248, 246, 240, 0.12);
  border-left: 1px solid rgba(248, 246, 240, 0.12);
}
.why-need .reason-card {
  background: var(--ink);
  color: var(--bone-1);
  border-right: 1px solid rgba(248, 246, 240, 0.12);
  border-bottom: 1px solid rgba(248, 246, 240, 0.12);
  min-height: 380px;
  transition: background 0.45s ease, transform 0.45s ease;
}
.why-need .reason-card:hover,
.why-need .reason-card.open {
  background: #14130f;
  transform: translateY(-2px);
}
.why-need .reason-n {
  color: #f5f0e4;
}
.why-need .reason-stat-num {
  color: var(--accent, #c9a961);
  font-size: 72px;
  letter-spacing: -0.03em;
}
.why-need .reason-stat-label {
  color: #f5f0e4;
}
.why-need .reason-head {
  border-bottom-color: rgba(248, 246, 240, 0.12);
  padding-bottom: 32px;
  margin-bottom: 28px;
}
.why-need .reason-card:hover .reason-head,
.why-need .reason-card.open .reason-head {
  border-bottom-color: rgba(201, 169, 97, 0.4);
}
.why-need .reason-title {
  color: var(--accent, #c9a961);
  font-size: 21px;
  font-weight: 500;
}
.why-need .reason-body {
  color: #f5f0e4;
  font-size: 14.5px;
  line-height: 1.62;
  opacity: 1;
}
.why-need .reason-proof {
  color: var(--accent, #c9a961);
  border-top: 1px dashed rgba(248, 246, 240, 0.18);
  opacity: 0.85;
}
.why-need .reason-card:hover .reason-proof,
.why-need .reason-card.open .reason-proof {
  border-top-color: rgba(201, 169, 97, 0.4);
}

/* ---- payback strip on dark ---- */
.why-need .payback-strip {
  border-top: 2px solid var(--accent, #c9a961);
  padding-top: 40px;
  margin-top: 80px;
}
.why-need .payback-cell { border-right-color: rgba(248, 246, 240, 0.12); }
.why-need .payback-cell .label-xs { color: #f5f0e4; }
.why-need .payback-num { color: var(--accent, #c9a961); font-size: 56px; }
.why-need .payback-detail { color: #f5f0e4; }

@media (max-width: 900px) {
  .why-need { padding-top: 80px; padding-bottom: 80px; }
  .why-need .reason-stat-num { font-size: 52px; }
  .why-need .payback-num { font-size: 40px; }
  .why-eyebrow-line { flex-basis: 32px; }
}


/* ============================================================
   SCROLL REVEAL — puzzle-piece assembly animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    clip-path 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
/* directional variants */
.reveal-up { transform: translateY(40px); }
.reveal-down { transform: translateY(-40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.94); }
.reveal-blur { filter: blur(12px); opacity: 0; }
.reveal-up.in, .reveal-down.in, .reveal-left.in, .reveal-right.in,
.reveal-scale.in { transform: translate(0, 0) scale(1); }
.reveal-blur.in { filter: blur(0); opacity: 1; }

/* clip-reveal: wipe-in like a curtain */
.reveal-wipe {
  clip-path: inset(0 100% 0 0);
  opacity: 1;
  transform: none;
}
.reveal-wipe.in { clip-path: inset(0 0 0 0); }

/* stagger children when parent has .stagger */
.stagger > .reveal { transition-delay: 0s; }
.stagger.in > .reveal:nth-child(1) { transition-delay: 0.00s; }
.stagger.in > .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger.in > .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger.in > .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger.in > .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger.in > .reveal:nth-child(6) { transition-delay: 0.40s; }
.stagger.in > .reveal:nth-child(7) { transition-delay: 0.48s; }
.stagger.in > .reveal:nth-child(8) { transition-delay: 0.56s; }

/* hairline draw-in */
.reveal-hairline {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
  opacity: 1;
}
.reveal-hairline.in { transform: scaleX(1); }

/* count-up styling hint — numbers snap in via JS */
.count-up { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-up, .reveal-down, .reveal-left, .reveal-right,
  .reveal-scale, .reveal-blur, .reveal-wipe, .reveal-hairline {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
  }
}
