/* ==========================================================================
   Design tokens — flat navy / olive / beige bands with orange + cyan accents
   ========================================================================== */
:root {
  --navy: #0f1728;
  --navy-2: #172238;
  --navy-line: #1e2a3b;
  --olive: #939482;
  --olive-dark: #6f7062;
  --beige: #e0dace;
  --beige-hover: #d0cabe;
  --cream: #fbf8f1;
  --orange: #ff7300;
  --amber: #ff9a0d;
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --green: #34d399;
  --ink: #0b0f1a;
  --ink-soft: #2c2f33;
  --on-dark: #ffffff;
  --on-dark-soft: rgba(255, 255, 255, 0.82);
  --on-dark-mute: #9ca3af;

  --r-card: 1rem;
  --r-btn: 0.75rem;
  --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.14), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --glow: 0 2px 8px rgba(6, 182, 212, 0.3);
  --glow-hover: 0 6px 20px rgba(6, 182, 212, 0.45);

  --w-wide: 80rem;
  --w-mid: 72rem;
  --w-narrow: 52rem;
  --gutter: 1.25rem;
  --sec-y: clamp(3.5rem, 8vw, 6.5rem);

  --font-display: "Unbounded", "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 4.25rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 0.5rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--w-wide); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--mid { max-width: var(--w-mid); }
.wrap--narrow { max-width: var(--w-narrow); }
.skip { position: absolute; left: -999px; top: 0; background: var(--cream); color: var(--ink); padding: 0.75rem 1rem; z-index: 100; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  padding: 1rem 1.75rem; border-radius: var(--r-btn); border: 0; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, filter 0.3s;
}
.btn--primary { color: #fff; background: linear-gradient(90deg, var(--cyan), var(--cyan-dark)); box-shadow: var(--glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--glow-hover); filter: brightness(1.06); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { color: var(--on-dark); background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.btn--lg { font-size: 0.9375rem; padding: 1.2rem 2.25rem; }
.btn--sm { font-size: 0.6875rem; padding: 0.7rem 1.1rem; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(15, 23, 40, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-line); color: var(--on-dark);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--on-dark); }
.brand__mark { width: 2.25rem; height: 2.25rem; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; line-height: 1.1; letter-spacing: -0.01em; }
.brand__name span { color: var(--amber); }
.brand__tag { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-mute); margin-top: 0.2rem; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) { text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--on-dark-soft); transition: color 0.2s; }
.nav__links a:not(.btn):hover { color: var(--amber); }
.nav__toggle { display: none; background: none; border: 0; color: var(--on-dark); padding: 0.5rem; cursor: pointer; }
.nav__toggle svg { width: 1.75rem; height: 1.75rem; }

@media (max-width: 62rem) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.5rem var(--gutter) 1.25rem; background: var(--navy); border-bottom: 1px solid var(--navy-line);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 0.9rem 0; border-bottom: 1px solid var(--navy-line); }
  .nav__links .btn { margin-top: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--on-dark); overflow: hidden;
  background:
    radial-gradient(64rem 38rem at -6% -10%, rgba(255, 138, 20, 0.62), transparent 62%),
    radial-gradient(48rem 30rem at 108% 104%, rgba(147, 148, 130, 0.42), transparent 62%),
    var(--navy);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero__copy { text-align: center; max-width: 50rem; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--on-dark-soft); padding: 0.4rem 0.9rem; border-radius: 99px;
  background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); margin-bottom: 1.5rem;
}
.eyebrow i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2); }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.25rem, 6.6vw, 4.5rem); line-height: 1.12; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero__h1-sub { display: block; font-size: 0.3em; font-weight: 600; letter-spacing: 0.01em; line-height: 1.4; color: var(--on-dark-soft); margin-bottom: 0.9em; }
.hero__typed { min-height: 2.2em; margin-top: 1.5rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1rem, 2.4vw, 1.375rem); color: var(--amber); }
.typed-cursor { display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; background: var(--amber); vertical-align: -0.15em; animation: blink 0.7s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { margin-top: 1rem; font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.6; color: var(--on-dark-soft); max-width: 44rem; margin-inline: auto; }
.hero__cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }
.hero__proof { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: center; font-size: 0.9375rem; color: var(--on-dark-soft); }
.hero__proof li { display: flex; align-items: center; gap: 0.45rem; }
.hero__proof svg { width: 1.1rem; height: 1.1rem; color: var(--amber); flex: none; }
.hero__art { width: 100%; max-width: 62rem; margin-inline: auto; border-radius: 1.25rem; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08); background: var(--navy); }
.hero__art img { width: 100%; height: auto; }

/* ---------- Bands & section heads ---------- */
.band { padding: var(--sec-y) 0; }
.band--olive { background: var(--olive); }
.band--beige { background: var(--beige); }
.band--navy { background: var(--navy); color: var(--on-dark); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.25rem, 5vw, 3.75rem); }
.section-head h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.6vw, 2.25rem); line-height: 1.2; }
.section-head p { margin-top: 1rem; font-size: 1.125rem; line-height: 1.65; }
.band--navy .section-head p { color: var(--on-dark-soft); }
.kicker { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.75rem; }
.band--olive .kicker { color: var(--navy); opacity: 0.75; }
.band--navy .kicker { color: var(--amber); }

/* ---------- Feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card {
  position: relative; background: var(--beige); border-radius: var(--r-card); box-shadow: var(--shadow-card);
  padding: 1.5rem 1.4rem 1.75rem; text-align: center; transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card__icon { width: 8.5rem; height: 8.5rem; margin: 0 auto 0.75rem; }
.card h3 { font-family: var(--font-display); font-size: 1rem; line-height: 1.3; }
.card p { margin-top: 0.6rem; font-size: 0.96875rem; line-height: 1.55; color: var(--ink-soft); }
.card__rank {
  position: absolute; top: 0.85rem; left: 0.85rem; font-family: var(--font-display); font-size: 0.6875rem; font-weight: 600;
  color: var(--olive-dark); letter-spacing: 0.04em;
}
.card__tag {
  position: absolute; top: 0.8rem; right: 0.8rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--navy); color: var(--amber); padding: 0.25rem 0.55rem; border-radius: 99px; text-decoration: none;
}
a.card__tag:hover { background: var(--orange); color: #fff; }
@media (max-width: 68rem) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 50rem) { .card-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } .card__icon { width: 6.5rem; height: 6.5rem; } }
@media (max-width: 30rem) { .card-grid { grid-template-columns: 1fr; } }

.also { margin-top: 2.5rem; text-align: center; }
.also h3 { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--navy); opacity: 0.8; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }
.chips li { background: rgba(224, 218, 206, 0.55); border-radius: 99px; padding: 0.45rem 1rem; font-size: 0.9375rem; font-weight: 500; }
.band--beige .chips li { background: rgba(147, 148, 130, 0.35); }
.band--navy .chips li { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); color: var(--on-dark-soft); }

/* ---------- Alternating feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(4rem, 9vw, 7.5rem); }
.feature-row--flip .feature-row__media { order: 2; }
.feature-row h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.06; letter-spacing: -0.045em; font-weight: 700; }
.feature-row__lead { margin-top: 1.1rem; font-size: 1.125rem; color: var(--ink-soft); }
.checklist { margin-top: 1.75rem; display: grid; gap: 0.9rem; }
.checklist li { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.75rem; align-items: start; font-size: 1.0625rem; line-height: 1.5; }
.checklist svg { width: 1.5rem; height: 1.5rem; color: var(--orange); margin-top: 0.05rem; }
.fineprint { margin-top: 1.5rem; font-size: 0.9375rem; color: var(--ink-soft); padding-left: 0.9rem; border-left: 3px solid var(--olive); }
@media (max-width: 54rem) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row .feature-row__media { order: 2; }
}

/* ---------- Mock UI panels (stand-ins for real screenshots) ---------- */
.mock {
  background: var(--navy); color: var(--on-dark); border-radius: 1rem; padding: 1.25rem; min-height: 25rem;
  box-shadow: 0 24px 48px -18px rgba(15, 23, 40, 0.55); position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.mock::before { content: ""; position: absolute; inset: 0; background: radial-gradient(28rem 16rem at 100% 0%, rgba(255, 138, 20, 0.16), transparent 65%); pointer-events: none; }
.mock > * { position: relative; }
.mock__bar { display: flex; align-items: center; justify-content: space-between; font-size: 0.8125rem; color: var(--on-dark-mute); }
.mock__bar strong { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--on-dark); letter-spacing: -0.01em; }
.mock__pill { display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(52, 211, 153, 0.14); color: var(--green); font-weight: 600; font-size: 0.75rem; padding: 0.3rem 0.65rem; border-radius: 99px; }
.mock__pill::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.tile {
  background: var(--navy-2); border-radius: 0.8rem; padding: 0.85rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  display: flex; flex-direction: column; gap: 0.5rem; min-height: 6.4rem;
}
.tile__ico { width: 2rem; height: 2rem; border-radius: 0.55rem; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); color: var(--on-dark-mute); }
.tile__ico svg { width: 1.15rem; height: 1.15rem; }
.tile__name { font-size: 0.8125rem; color: var(--on-dark-mute); line-height: 1.2; }
.tile__state { font-weight: 600; font-size: 0.9375rem; line-height: 1.2; }
.tile--ok .tile__ico { background: rgba(52, 211, 153, 0.15); color: var(--green); }
.tile--on .tile__ico { background: rgba(255, 154, 13, 0.18); color: var(--amber); }
.tile--warn { box-shadow: inset 0 0 0 1px rgba(255, 115, 0, 0.7), 0 0 24px -6px rgba(255, 115, 0, 0.6); }
.tile--warn .tile__ico { background: var(--orange); color: #fff; }
.tile--warn .tile__state { color: var(--amber); }
.tile--wide { grid-column: span 3; flex-direction: row; align-items: center; justify-content: space-between; min-height: 0; }
.tile__btn { background: linear-gradient(90deg, var(--cyan), var(--cyan-dark)); color: #fff; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.5rem 0.9rem; border-radius: 0.55rem; }
.toast {
  background: #000; border-radius: 0.8rem; padding: 0.85rem 1rem; display: grid; grid-template-columns: 2rem 1fr; gap: 0.75rem; align-items: start;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); font-size: 0.9375rem; line-height: 1.4;
}
.toast__ico { width: 2rem; height: 2rem; border-radius: 0.55rem; background: var(--orange); display: grid; place-items: center; }
.toast__ico svg { width: 1.1rem; height: 1.1rem; color: #fff; }
.toast small { display: block; color: var(--on-dark-mute); font-size: 0.75rem; margin-bottom: 0.1rem; }
.mock__note { margin-top: auto; font-size: 0.75rem; color: var(--on-dark-mute); text-align: right; }

/* floor plan mock for presence */
.plan { position: relative; flex: 1; min-height: 15rem; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 0.5rem; }
.room { border-radius: 0.7rem; background: var(--navy-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); padding: 0.75rem; display: flex; flex-direction: column; justify-content: space-between; transition: background-color 0.8s, box-shadow 0.8s; }
.room__name { font-size: 0.8125rem; color: var(--on-dark-mute); }
.room__state { font-size: 0.8125rem; font-weight: 600; color: var(--on-dark-mute); transition: color 0.8s; }
.room.is-occupied { background: linear-gradient(140deg, rgba(255, 154, 13, 0.3), rgba(255, 115, 0, 0.1)); box-shadow: inset 0 0 0 1px rgba(255, 154, 13, 0.6), 0 0 30px -8px rgba(255, 154, 13, 0.6); }
.room.is-occupied .room__state { color: var(--amber); }
.room.is-occupied .room__name { color: var(--on-dark); }
.who { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.who span { font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.65rem; border-radius: 99px; background: rgba(255, 255, 255, 0.08); color: var(--on-dark-soft); }
.who span.is-home { background: rgba(6, 182, 212, 0.18); color: #67e8f9; }

/* climate mock */
.dial { width: 11rem; height: 11rem; margin: 0.5rem auto 0; position: relative; }
.dial svg { width: 100%; height: 100%; }
.dial__val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 2.5rem; color: var(--amber); }
.dial__val small { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; color: var(--on-dark-mute); letter-spacing: 0.06em; text-transform: uppercase; margin-top: -0.6rem; }
.rows { display: grid; gap: 0.5rem; }
.rowline { display: flex; align-items: center; justify-content: space-between; background: var(--navy-2); border-radius: 0.7rem; padding: 0.65rem 0.9rem; font-size: 0.875rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.rowline span:first-child { color: var(--on-dark-mute); }
.rowline b { font-weight: 600; }
.rowline b.ok { color: var(--green); }
.rowline b.hot { color: var(--amber); }
.rowline b.cold { color: #67e8f9; }

/* ---------- Day timeline ---------- */
.timeline { position: relative; max-width: 60rem; margin-inline: auto; }
.timeline__rail { position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.timeline__fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; border-radius: 4px; background: linear-gradient(180deg, var(--amber), var(--orange) 60%, var(--cyan)); box-shadow: 0 0 18px rgba(255, 138, 20, 0.6); }
.tl { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 4.5rem; padding-block: 1rem; }
.tl__dot { position: absolute; left: 50%; top: 2.1rem; width: 1.1rem; height: 1.1rem; margin-left: -0.55rem; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22); transition: box-shadow 0.4s, background-color 0.4s; }
.tl.is-lit .tl__dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 154, 13, 0.25), 0 0 18px rgba(255, 154, 13, 0.9); }
.tl__time { align-self: start; padding-top: 1.35rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.125rem, 2.4vw, 1.5rem); color: var(--on-dark); text-align: right; }
.tl__time small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-mute); margin-top: 0.2rem; }
.tl__card { background: var(--navy-2); border-radius: var(--r-card); padding: 1.25rem 1.35rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.tl__card h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.01em; }
.tl__card p { margin-top: 0.5rem; font-size: 0.96875rem; color: var(--on-dark-soft); }
.tl__if { display: inline-flex; gap: 0.4rem; align-items: center; margin-bottom: 0.6rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.tl__star { color: var(--amber); font-size: 0.8em; margin-left: 0.15em; }
.timeline__note { max-width: 60rem; margin: 2.5rem auto 0; text-align: center; font-size: 0.9375rem; color: var(--on-dark-mute); }
.tl:nth-child(even) .tl__time { order: 2; text-align: left; }
.tl:nth-child(even) .tl__card { order: 1; }
@media (max-width: 46rem) {
  .timeline__rail { left: 0.55rem; }
  .tl { grid-template-columns: 1fr; padding-left: 2.25rem; row-gap: 0.5rem; }
  .tl__dot { left: 0.55rem; top: 1.45rem; }
  .tl__time, .tl:nth-child(even) .tl__time { order: 0; text-align: left; padding-top: 0.9rem; }
  .tl:nth-child(even) .tl__card { order: 1; }
}

/* ---------- Custom builds ---------- */
.builds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.build { background: var(--beige); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.build:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.build__img { aspect-ratio: 16 / 10; background: var(--navy); overflow: hidden; }
.build__img img { width: 100%; height: 100%; object-fit: cover; }
.build__img--icon { display: grid; place-items: center; background: radial-gradient(18rem 12rem at 20% 0%, rgba(255, 138, 20, 0.35), transparent 65%), var(--navy); }
.build__img--icon img { width: 46%; height: auto; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45)); }
.build__body { padding: 1.35rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.build__meta { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.build h3 { font-family: var(--font-display); font-size: 1.0625rem; line-height: 1.3; }
.build p { font-size: 0.96875rem; color: var(--ink-soft); }
.build__stack { margin-top: auto; padding-top: 0.6rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.build__stack li { font-size: 0.75rem; font-weight: 600; background: rgba(147, 148, 130, 0.35); padding: 0.2rem 0.6rem; border-radius: 99px; }
.build--feature { grid-column: span 2; }
.build--feature .build__img { aspect-ratio: 16 / 8; }
@media (max-width: 62rem) { .builds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { .builds { grid-template-columns: 1fr; } .build--feature { grid-column: auto; } .build--feature .build__img { aspect-ratio: 16 / 10; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { background: var(--beige); border-radius: var(--r-card); padding: 1.6rem; box-shadow: var(--shadow-card); }
.step__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.9rem; }
.step__num { counter-increment: step; width: 3rem; height: 3rem; flex: none; border-radius: 0.6rem; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.1875rem; line-height: 1.25; }
.step p { font-size: 1rem; color: var(--ink-soft); }
@media (max-width: 54rem) { .steps { grid-template-columns: 1fr; } }

/* ---------- Straight talk ---------- */
.talk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.talk__item { background: var(--navy); color: var(--on-dark); border-radius: var(--r-card); padding: 1.6rem; box-shadow: var(--shadow-card); }
.talk__item--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; border: 2px solid var(--orange); }
.talk__badge { width: 3.25rem; height: 3.25rem; border-radius: 0.75rem; background: var(--orange); display: grid; place-items: center; flex: none; }
.talk__badge svg { width: 1.75rem; height: 1.75rem; color: #fff; }
.talk__item h3 { font-size: 1.1875rem; line-height: 1.3; }
.talk__item--wide h3 { font-family: var(--font-display); font-size: 1.1875rem; }
.talk__item p { margin-top: 0.7rem; color: var(--on-dark-soft); font-size: 1rem; }
.talk__item strong { color: var(--on-dark); }
@media (max-width: 54rem) { .talk { grid-template-columns: 1fr; } .talk__item--wide { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.about__photo { border-radius: 1rem; overflow: hidden; box-shadow: 0 24px 48px -18px rgba(15, 23, 40, 0.55); background: var(--navy); }
.about__photo img { width: 100%; height: auto; }
.about__photo figcaption { background: var(--navy); color: var(--on-dark-mute); font-size: 0.8125rem; padding: 0.7rem 1rem; }
.about h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.06; letter-spacing: -0.045em; }
.about p { margin-top: 1.1rem; font-size: 1.0625rem; color: var(--ink-soft); }
.stats { margin-top: 1.75rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { background: rgba(147, 148, 130, 0.3); border-radius: 0.85rem; padding: 1rem; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; color: var(--orange); }
.stat span { display: block; margin-top: 0.35rem; font-size: 0.875rem; line-height: 1.35; color: var(--ink-soft); }
@media (max-width: 54rem) { .about { grid-template-columns: 1fr; } }
@media (max-width: 30rem) { .stats { grid-template-columns: 1fr; } }

/* ---------- Service area ---------- */
.area { text-align: center; }
.area h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.6vw, 2.25rem); line-height: 1.2; }
.area__towns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1.5rem; }
.area__towns li { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; background: var(--beige); padding: 0.6rem 1.1rem; border-radius: 99px; box-shadow: var(--shadow-card); }
.area__note { margin-top: 1.5rem; font-size: 1rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: rgba(255, 255, 255, 0.38); border-radius: 0.9rem; padding: 0 1.25rem; transition: background-color 0.3s; }
.faq details[open] { background: var(--cream); box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.25rem; color: var(--orange); flex: none; transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.25rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 4.2vw, 2.75rem); line-height: 1.15; }
.contact h2 em { font-style: normal; color: var(--amber); }
.contact__lead { margin-top: 1.25rem; font-size: 1.125rem; color: var(--on-dark-soft); }
.contact .checklist { margin-top: 1.75rem; }
.contact .checklist li { color: var(--on-dark-soft); }
.contact .checklist svg { color: var(--amber); }
.form { background: var(--beige); color: var(--ink); border-radius: 1.25rem; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7); display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label, .field legend { font-size: 0.875rem; font-weight: 600; }
.field label i { font-style: normal; font-weight: 500; color: var(--olive-dark); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream); border: 1px solid rgba(15, 23, 40, 0.18);
  border-radius: 0.65rem; padding: 0.75rem 0.85rem; width: 100%; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-dark); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.picks { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.3rem; }
.picks label { position: relative; cursor: pointer; }
.picks input { position: absolute; opacity: 0; inset: 0; }
.picks span { display: block; font-size: 0.875rem; font-weight: 500; padding: 0.45rem 0.85rem; border-radius: 99px; background: var(--cream); border: 1px solid rgba(15, 23, 40, 0.18); transition: all 0.2s; }
.picks input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.picks input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form .btn { width: 100%; }
.form__status { font-size: 0.9375rem; font-weight: 600; min-height: 1.4em; }
.form__status.is-ok { color: #0f6b4a; }
.form__status.is-err { color: #b42318; }
.form__legal { font-size: 0.8125rem; color: var(--ink-soft); }
@media (max-width: 58rem) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 30rem) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--on-dark-mute); padding: 3.5rem 0 2rem; border-top: 1px solid var(--navy-line); font-size: 0.9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer h3 { color: var(--on-dark); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.9rem; }
.footer li + li { margin-top: 0.45rem; }
.footer a { text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer__blurb { margin-top: 1rem; max-width: 26rem; }
.footer__legal { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid #1f2937; display: grid; gap: 0.75rem; font-size: 0.8125rem; line-height: 1.6; }
@media (max-width: 46rem) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Motion: one-shot reveals + scroll-scrubbed scale ---------- */
.js .reveal { opacity: 0; }
.js .reveal.is-in { animation: var(--anim, slide-up) 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: var(--d, 0s); }
.js .reveal[data-anim="scale-down"].is-in { --anim: scale-down; animation-duration: 0.8s; }
.js .reveal[data-anim="scale-up"].is-in { --anim: scale-up; }
.js .reveal[data-anim="left"].is-in { --anim: slide-left; }
.js .reveal[data-anim="right"].is-in { --anim: slide-right; }
.js .reveal[data-anim="fade"].is-in { --anim: fade-in; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slide-left { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes slide-right { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes scale-up { from { opacity: 0; transform: scale(0.86); } to { opacity: 1; transform: none; } }
@keyframes scale-down { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
[data-scrub] { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; animation: none !important; }
  .typed-cursor { animation: none; }
  .btn, .card, .build { transition: none; }
}

/* ---------- Real screenshots ---------- */
.shot { margin: 0; border-radius: 1rem; overflow: hidden; background: #1c1c1c; box-shadow: 0 24px 48px -18px rgba(15, 23, 40, 0.55); }
.shot img { width: 100%; height: auto; }
.shot figcaption { background: var(--navy); color: var(--on-dark-mute); font-size: 0.8125rem; padding: 0.7rem 1rem; }
