/* ==========================================================================
   NanoTech Epoxy — Design System
   Palette: Graphite ink + concrete neutrals + Nano Blue (from the logo)
   Type: Archivo (display) · Inter (text) · JetBrains Mono (labels)
   ========================================================================== */

:root {
  /* Core palette */
  --ink: #07090c;
  --ink-1: #0c1016;
  --ink-2: #121821;
  --ink-3: #1a222d;
  --ink-4: #252f3c;
  --paper: #f3f5f7;
  --paper-2: #e9edf1;
  --concrete: #dde2e7;
  --white: #ffffff;

  --nano: #2ea3dc;
  --nano-hi: #7fd2ff;
  --nano-deep: #0d6fa5;
  --nano-glow: rgba(46, 163, 220, 0.35);
  --signal: #ffc21a;

  /* Molecule dots from the logo */
  --dot-red: #c4352c;
  --dot-purple: #7d3a92;
  --dot-green: #5aa648;
  --dot-orange: #e8892e;

  /* Theme tokens (light default) */
  --bg: var(--paper);
  --bg-2: var(--white);
  --fg: #0b1015;
  --fg-2: #2b3540;
  --muted: #5b6774;
  --line: rgba(11, 16, 21, 0.1);
  --line-2: rgba(11, 16, 21, 0.18);
  --card: var(--white);
  --card-2: var(--paper-2);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;      /* statements: wide, heavy */
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;  /* component titles: signage */
  --font-text: "Barlow", "Helvetica Neue", Arial, sans-serif;           /* reading text */
  --font-num: "Saira Stencil One", "Archivo", Arial, sans-serif;        /* numerals: floor-marking stencil */
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; /* spec-sheet labels */

  /* Spacing & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1320px;
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --section-y: clamp(80px, 11vw, 150px);
  --header-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-1: 0 1px 2px rgba(7, 9, 12, 0.06), 0 8px 24px rgba(7, 9, 12, 0.06);
  --shadow-2: 0 2px 6px rgba(7, 9, 12, 0.08), 0 24px 60px rgba(7, 9, 12, 0.14);
  --shadow-glow: 0 10px 40px -10px var(--nano-glow);
}

.theme-dark {
  --bg: var(--ink);
  --bg-2: var(--ink-1);
  --fg: #eef2f6;
  --fg-2: #c7d0da;
  --muted: #8b97a5;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --card: var(--ink-2);
  --card-2: var(--ink-3);
  background: var(--bg);
  color: var(--fg);
}

.theme-ink-2 { background: var(--ink-1); }
.theme-light { --bg: var(--paper); background: var(--bg); color: var(--fg); }
.theme-white { --bg: var(--white); --card: var(--paper); background: var(--white); color: var(--fg); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--nano); color: var(--white); }
:focus-visible { outline: 2px solid var(--nano); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--nano); color: #fff; border-radius: 999px; transform: translateY(-200%); transition: transform .3s var(--ease-out); }
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--flush-top { padding-top: 0; }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.split--industry { gap: 28px; grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); }
.split--contact { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.stack-y > * + * { margin-top: var(--space, 20px); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-left, .split--industry, .split--contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; line-height: 0.95; font-stretch: 112%; }
.display { font-size: clamp(2.4rem, 7.4vw, 6.6rem); text-transform: uppercase; line-height: 0.9; }
.h1 { font-size: clamp(2.1rem, 5.6vw, 5rem); text-transform: uppercase; }
.h2 { font-size: clamp(1.8rem, 4.4vw, 3.8rem); text-transform: uppercase; }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.08; letter-spacing: -0.01em; }
.h4 { font-size: 1.15rem; line-height: 1.2; letter-spacing: -0.005em; font-stretch: 105%; }
.accent { color: var(--nano); }
.outline-text { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.theme-dark .outline-text { -webkit-text-stroke-color: rgba(255, 255, 255, 0.65); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--fg-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.prose p + p { margin-top: 1em; }
.prose p { color: var(--fg-2); }
.prose a { color: var(--nano); text-decoration: underline; text-underline-offset: 3px; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow .molecule { display: inline-flex; gap: 4px; }
.molecule i { width: 6px; height: 6px; border-radius: 50%; display: block; }
.molecule i:nth-child(1) { background: var(--nano); }
.molecule i:nth-child(2) { background: var(--dot-red); }
.molecule i:nth-child(3) { background: var(--dot-green); }
.molecule i:nth-child(4) { background: var(--dot-orange); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: clamp(24px, 5vw, 80px); }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
@media (max-width: 860px) { .section-head--row { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--fg); --btn-fg: var(--bg); --btn-bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-family: var(--font-text); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.005em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .35s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover svg.i-arrow, .btn:hover svg.i-arrow-up-right { transform: translateX(3px); }
.btn:hover svg.i-arrow-up-right { transform: translate(2px, -2px); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(0.97); }
.btn--primary { --btn-bg: var(--nano); --btn-fg: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { --btn-bg: #1e95cf; box-shadow: 0 14px 44px -10px rgba(46, 163, 220, 0.6); }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bd: var(--fg); }
.theme-dark .btn--ghost, .on-dark .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.28); }
.theme-dark .btn--ghost:hover, .on-dark .btn--ghost:hover { --btn-bd: #fff; background: rgba(255,255,255,.06); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--fg); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--accent { color: var(--nano); }

.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Chips / tags ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.82rem; font-weight: 500; color: var(--fg-2); background: transparent; transition: all .25s var(--ease-out); }
.chip svg { width: 15px; height: 15px; }
button.chip:hover { border-color: var(--fg); color: var(--fg); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); }
.tag--accent { background: var(--nano); border-color: transparent; }
.tag--light { background: var(--paper-2); color: var(--fg-2); border-color: var(--line); backdrop-filter: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: #fff; transition: transform .45s var(--ease-out), background-color .35s, color .35s, box-shadow .35s, height .35s;
}
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,9,12,.55), rgba(7,9,12,0)); opacity: 1; transition: opacity .35s; pointer-events: none; }
.site-header.is-solid { background: rgba(9, 12, 16, 0.86); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.menu-open { transform: none; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px; font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,.86); transition: color .25s, background-color .25s; }
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.is-current { color: #fff; background: rgba(255,255,255,.08); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: #fff; padding: 0 8px; }
.header-phone svg { width: 18px; height: 18px; color: var(--nano-hi); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); align-items: center; justify-content: center; color: #fff; }
.menu-toggle span { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: background-color .3s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease-out); }
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, 92vw);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  background: rgba(14, 18, 24, 0.97); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.45); padding: 14px; color: #fff;
  transition: opacity .3s var(--ease-out), transform .4s var(--ease-out), visibility 0s .3s;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mega.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); transition-delay: 0s; }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.mega-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; transition: background-color .25s; }
.mega-item:hover, .mega-item:focus-visible { background: rgba(255,255,255,.06); }
.mega-item img { width: 64px; height: 52px; object-fit: cover; border-radius: 8px; }
.mega-item strong { display: block; font-size: 0.95rem; font-weight: 600; line-height: 1.25; }
.mega-item span { display: block; font-size: 0.8rem; color: #93a0ae; line-height: 1.4; margin-top: 2px; }
.mega-foot { margin-top: 10px; padding: 14px 12px 6px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mega-foot p { font-size: 0.85rem; color: #93a0ae; }
.mega-foot .link-arrow { color: var(--nano-hi); font-size: 0.9rem; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink); color: #fff;
  padding: calc(var(--header-h) + 12px) var(--gutter) 120px; overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0% at calc(100% - 44px) 38px); visibility: hidden;
  transition: clip-path .7s var(--ease-in-out), visibility 0s .7s;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition-delay: 0s; }
.mobile-menu .m-group { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu .m-link, .mobile-menu summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-stretch: 110%; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 22px; height: 22px; transition: transform .3s; }
.mobile-menu details[open] summary svg { transform: rotate(45deg); }
.mobile-menu .m-sub { padding: 0 0 18px; display: grid; gap: 2px; }
.mobile-menu .m-sub a { display: flex; justify-content: space-between; padding: 10px 0; color: #b8c3cf; font-size: 1rem; }
.mobile-menu .m-contact { margin-top: 28px; display: grid; gap: 12px; }
.mobile-menu .m-contact a { display: flex; align-items: center; gap: 12px; color: #c9d3dd; }
.mobile-menu .m-contact svg { width: 20px; height: 20px; color: var(--nano-hi); }
.mobile-menu .m-item { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.mobile-menu.is-open .m-item { opacity: 1; transform: none; }

@media (max-width: 1180px) { .header-phone .ph-text { display: none; } }
@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  :root { --header-h: 66px; }
  .brand img { height: 32px; }
  .header-actions .btn { display: none; }
}

/* Mobile action bar */
.action-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; grid-template-columns: 1fr 1.4fr 1fr; gap: 6px; padding: 6px; border-radius: 20px; background: rgba(9,12,16,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 50px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.08); transform: translateY(140%); transition: transform .5s var(--ease-out); padding-bottom: max(6px, env(safe-area-inset-bottom)); }
.action-bar.is-visible { transform: none; }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; border-radius: 14px; color: #dfe6ee; font-size: 0.72rem; font-weight: 600; }
.action-bar a svg { width: 20px; height: 20px; }
.action-bar a.is-primary { background: var(--nano); color: #fff; flex-direction: row; gap: 8px; font-size: 0.9rem; }
@media (max-width: 860px) { .action-bar { display: grid; } body { padding-bottom: 0; } .site-footer { padding-bottom: 110px !important; } }

/* ==========================================================================
   Heroes
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: heroZoom 14s var(--ease-out) forwards; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease-in-out); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { animation: none; transition: transform 9s linear; }
.hero-slide.is-active img { transform: scale(1.02); }
@keyframes heroZoom { to { transform: scale(1.02); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to top, rgba(7,9,12,.96) 0%, rgba(7,9,12,.55) 38%, rgba(7,9,12,.15) 70%, rgba(7,9,12,.45) 100%),
  linear-gradient(90deg, rgba(7,9,12,.75) 0%, rgba(7,9,12,0) 65%); }
.hero-inner { width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(32px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; }
.hero h1 { margin: 20px 0 22px; max-width: 14ch; }
.hero .lead { color: #c9d3dd; max-width: 54ch; }
.hero .btn-row { margin-top: 32px; }
.hero-card { padding: 22px; border-radius: var(--radius); background: rgba(16, 21, 28, 0.62); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.hero-card .mono { color: #9fb0c2; }
.hero-card h2 { font-family: var(--font-display); font-stretch: 108%; font-size: 1.25rem; font-weight: 700; margin: 8px 0 14px; line-height: 1.2; }
.hero-card .choice-links { display: grid; gap: 8px; }
.hero-card .choice-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-weight: 600; font-size: 0.95rem; transition: background-color .25s, border-color .25s, transform .3s var(--ease-out); }
.hero-card .choice-links a:hover { background: rgba(46,163,220,.18); border-color: rgba(46,163,220,.5); transform: translateX(4px); }
.hero-card .choice-links svg { width: 18px; height: 18px; color: var(--nano-hi); }
.hero-card .choice-links small { display: block; font-weight: 400; color: #9fb0c2; font-size: 0.78rem; }
.hero-bar { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
.hero-bar > div { padding: 20px 20px 0 0; }
.hero-bar > div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.1); }
.hero-bar strong { display: block; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; }
.hero-bar span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #9fb0c2; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 32px; display: none; }
@media (max-width: 1080px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-card { max-width: 520px; } }
@media (max-width: 720px) {
  .hero-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-bar > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-bar > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); margin-top: 16px; }
}

.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(48px, 7vw, 88px); min-height: min(78vh, 760px); display: flex; align-items: flex-end; }
.page-hero--short { min-height: 0; }
.page-hero .hero-media img { animation-duration: 10s; }
.sys-quartz .hero-media img, img[src*="quartz-restaurant"] { object-position: center 78%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7,9,12,.96) 0%, rgba(7,9,12,.5) 45%, rgba(7,9,12,.28) 100%), linear-gradient(90deg, rgba(7,9,12,.66), rgba(7,9,12,0) 70%); }
.page-hero h1 { margin: 18px 0 20px; max-width: 18ch; }
.page-hero .lead { color: #c9d3dd; }
.page-hero .btn-row { margin-top: 30px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #93a0ae; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs svg { width: 12px; height: 12px; opacity: .6; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
@media (max-width: 960px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-specs { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; min-width: 340px; }
.hero-specs div { background: rgba(12,16,22,.72); padding: 16px 18px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hero-specs dt { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #8a99a8; }
.hero-specs dd { margin: 4px 0 0; font-weight: 600; font-size: 0.95rem; }
@media (max-width: 520px) { .hero-specs { min-width: 0; grid-template-columns: 1fr 1fr; } }

/* Abstract hero art (ESD grid / urethane) */
.hero-art { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-art svg { position: absolute; width: 100%; height: 100%; }

/* ==========================================================================
   Gateway path cards (choose your space)
   ========================================================================== */
.paths { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: clamp(14px, 1.6vw, 22px); }
.path-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-l); overflow: hidden; color: #fff; isolation: isolate; background: var(--ink-2); }
.path-card--main { grid-row: span 2; min-height: 640px; }
.path-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 1.2s var(--ease-out); }
.path-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7,9,12,.92) 0%, rgba(7,9,12,.35) 55%, rgba(7,9,12,.1) 100%); transition: background .5s; }
.path-card:hover img { transform: scale(1.1); }
.path-card .tag { position: absolute; top: clamp(18px, 2.4vw, 28px); left: clamp(18px, 2.4vw, 28px); }
.path-card h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: .95; letter-spacing: -0.02em; }
.path-card p { margin-top: 12px; color: #c9d3dd; max-width: 46ch; }
.path-card ul { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.path-card ul li { font-size: 0.78rem; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.path-card .path-go { position: absolute; top: clamp(18px, 2.4vw, 28px); right: clamp(18px, 2.4vw, 28px); width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease-out), background-color .3s; }
.path-card .path-go svg { width: 22px; height: 22px; }
.path-card:hover .path-go { transform: rotate(-45deg); background: var(--nano); color: #fff; }
@media (max-width: 860px) { .paths { grid-template-columns: minmax(0, 1fr); } .path-card--main { grid-row: auto; min-height: 520px; } .path-card { min-height: 360px; } }

/* ==========================================================================
   Stacked sticky cards (systems)
   ========================================================================== */
.stack-cards { position: relative; display: grid; gap: 24px; }
.stack-card { position: sticky; top: calc(var(--header-h) + 24px); transform-origin: 50% 0; will-change: transform; }
.stack-card-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(600px, calc(100vh - var(--header-h) - 64px)); border-radius: var(--radius-l); overflow: hidden; background: var(--ink-2); color: #fff; border: 1px solid rgba(255,255,255,.07); box-shadow: 0 -20px 60px rgba(0,0,0,.35); }
.stack-card-media { position: relative; overflow: hidden; }
.stack-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stack-card-media .tag { position: absolute; left: 20px; top: 20px; }
.stack-card-body { display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 48px); gap: 18px; }
.stack-card-num { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(127, 210, 255, .6); }
.stack-card h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: .95; letter-spacing: -0.02em; }
.stack-card p { color: #b9c4d0; }
.stack-card .spec-mini { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.1); }
.stack-card .spec-mini div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.stack-card .spec-mini div:nth-child(odd) { padding-right: 14px; }
.stack-card .spec-mini dt { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: #7f8e9e; }
.stack-card .spec-mini dd { margin: 3px 0 0; font-weight: 600; font-size: 0.92rem; }
.stack-card:nth-child(even) .stack-card-inner { background: #0f141b; }
@media (max-width: 860px) {
  .stack-card { position: relative; top: 0; }
  .stack-card-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .stack-card-media { aspect-ratio: 16 / 10; }
}

/* ==========================================================================
   Marquee (client logos)
   ========================================================================== */
.marquee { --gap: clamp(16px, 2vw, 28px); position: relative; overflow: hidden; display: flex; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: var(--gap); }
.marquee-track { display: flex; gap: var(--gap); padding-right: var(--gap); flex: none; animation: marquee var(--dur, 60s) linear infinite; }
.marquee--reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.logo-tile { flex: none; width: 190px; height: 104px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 16px 22px; transition: transform .4s var(--ease-out), box-shadow .4s; }
.logo-tile img { max-width: 100%; max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .4s, opacity .4s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.logo-tile:hover img { filter: none; opacity: 1; }

/* ==========================================================================
   Horizontal scroll gallery (pinned)
   ========================================================================== */
.hscroll { position: relative; }
.hscroll-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hscroll-head { margin-bottom: clamp(24px, 4vh, 44px); }
.hscroll-track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding-inline: var(--gutter); will-change: transform; }
.hscroll-progress { margin-top: 28px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hscroll-progress span { display: block; height: 100%; width: 100%; background: var(--nano); transform-origin: 0 50%; transform: scaleX(0); }
.project-card { position: relative; flex: none; width: clamp(280px, 34vw, 520px); aspect-ratio: 4 / 5; border-radius: var(--radius-l); overflow: hidden; color: #fff; background: var(--ink-3); isolation: isolate; }
.project-card--wide { width: clamp(320px, 52vw, 820px); aspect-ratio: 16 / 11; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.project-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7,9,12,.88), rgba(7,9,12,0) 55%); }
.project-card:hover img { transform: scale(1.06); }
.project-card .pc-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 28px); }
.project-card .pc-body h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 110%; font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.05; text-transform: uppercase; }
.project-card .pc-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.project-card .pc-count { position: absolute; top: 18px; right: 18px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px; background: rgba(7,9,12,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: inline-flex; gap: 6px; align-items: center; }
.project-card .pc-count svg { width: 14px; height: 14px; }
.hscroll.is-static .hscroll-sticky { position: relative; height: auto; padding-block: var(--section-y); }
.hscroll.is-static .hscroll-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll.is-static .hscroll-track::-webkit-scrollbar { display: none; }
.hscroll.is-static .project-card { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
.hscroll.is-static .hscroll-progress { display: none; }
.hscroll-end-card { flex: none; width: clamp(260px, 26vw, 380px); border-radius: var(--radius-l); border: 1px dashed var(--line-2); display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 32px; }

/* ==========================================================================
   Cards / bento / features
   ========================================================================== */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); overflow: hidden; }
.card--hover { transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: transparent; }
.theme-dark .card--hover:hover { box-shadow: 0 30px 70px rgba(0,0,0,.5); border-color: rgba(255,255,255,.14); }
.spotlight { --mx: 50%; --my: 50%; }
.spotlight::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(46,163,220,.14), transparent 45%); opacity: 0; transition: opacity .4s; }
.spotlight:hover::before { opacity: 1; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(46,163,220,.12); color: var(--nano); margin-bottom: 20px; }
.card-icon svg { width: 26px; height: 26px; }
.theme-dark .card-icon { background: rgba(46,163,220,.14); color: var(--nano-hi); }
.card h3 { font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: 1.2rem; line-height: 1.2; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card-num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .14em; color: var(--muted); }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.bento > * { grid-column: span 4; }
.bento .span-3 { grid-column: span 3; }
.bento .span-5 { grid-column: span 5; }
.bento .span-6 { grid-column: span 6; }
.bento .span-7 { grid-column: span 7; }
.bento .span-8 { grid-column: span 8; }
.bento .span-12 { grid-column: span 12; }
.bento .row-2 { grid-row: span 2; }
@media (max-width: 960px) { .bento > *, .bento .span-3, .bento .span-5, .bento .span-7 { grid-column: span 6; } .bento .span-8, .bento .span-12 { grid-column: span 12; } }
@media (max-width: 640px) { .bento > *, .bento [class*="span-"] { grid-column: span 12; } .bento .row-2 { grid-row: auto; } }
.media-tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; background: var(--ink-3); }
.media-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.media-tile:hover img { transform: scale(1.05); }
.media-tile figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; }

.check-list { display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--fg-2); }
.check-list li svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(46,163,220,.14); color: var(--nano); stroke-width: 2.5; margin-top: 1px; }
.theme-dark .check-list li svg { color: var(--nano-hi); }
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 640px) { .check-list--2 { grid-template-columns: 1fr; } }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.9rem; color: var(--fg-2); background: var(--card); transition: border-color .3s, color .3s, transform .3s var(--ease-out); }
.pill-list li:hover { border-color: var(--nano); color: var(--fg); transform: translateY(-2px); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(24px, 3vw, 40px) clamp(14px, 2vw, 28px); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: .9; letter-spacing: -0.03em; }
.stat strong sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; color: var(--nano); margin-left: 2px; }
.stat > span { display: block; margin-top: 12px; color: var(--muted); font-size: 0.98rem; }
.stat strong span { display: inline; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ==========================================================================
   Spec sheet & layer stack
   ========================================================================== */
.spec { border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(0, 1.4fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; font-weight: 600; }

.layers-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 860px) { .layers-wrap { grid-template-columns: minmax(0, 1fr); } }
.layers-3d { position: relative; height: clamp(360px, 42vw, 520px); perspective: 1400px; display: grid; place-items: center; }
.layers-3d .ls { position: relative; width: min(70%, 420px); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-38deg); }
.layer { position: absolute; inset: 0; border-radius: 14px; transform: translateZ(calc(var(--i) * 14px)); transition: transform 1.2s var(--ease-out), box-shadow 1.2s; background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset; }
.layer::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255,255,255,.28), rgba(255,255,255,0) 42%); }
.layer-edge { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; transform-origin: bottom; transform: rotateX(-90deg); border-radius: 0 0 6px 6px; filter: brightness(.7); background: inherit; }
.layers-3d.is-in .layer { transform: translateZ(calc(var(--i) * 64px)); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, -24px 30px 40px rgba(0,0,0,.35); }
.layer-legend { display: grid; gap: 0; counter-reset: lyr; }
.layer-legend li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; opacity: .45; transition: opacity .5s; cursor: default; }
.layer-legend li.is-on, .layer-legend li:hover { opacity: 1; }
.layer-legend li:first-child { border-top: 1px solid var(--line); }
.layer-legend .ll-num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--nano); padding-top: 3px; }
.layer-legend strong { display: block; font-family: var(--font-display); font-stretch: 106%; font-size: 1.12rem; }
.layer-legend span { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

/* ==========================================================================
   System switcher (sticky pills on system pages)
   ========================================================================== */
.sys-switch { position: sticky; top: var(--header-h); z-index: 50; background: rgba(243,245,247,.9); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); transition: top .45s var(--ease-out); }
body.header-hidden .sys-switch { top: 0; }
.sys-switch-inner { display: flex; align-items: center; gap: 12px; }
.sys-switch .mono { flex: none; color: var(--muted); }
.sys-switch nav { display: flex; gap: 6px; overflow-x: auto; padding: 12px 2px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.sys-switch nav::-webkit-scrollbar { display: none; }
.sys-switch nav a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 500; color: var(--fg-2); border: 1px solid transparent; transition: background-color .25s, border-color .25s, color .25s; }
.sys-switch nav a:hover { border-color: var(--line-2); color: var(--fg); }
.sys-switch nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.sys-switch nav a i { width: 10px; height: 10px; border-radius: 3px; background-size: cover; flex: none; }
@media (max-width: 640px) { .sys-switch .mono { display: none; } }

.sys-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sys-pager a { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .4s var(--ease-out); }
.sys-pager a:hover { border-color: var(--nano); transform: translateY(-3px); }
.sys-pager a.next { text-align: right; align-items: flex-end; }
.sys-pager .mono { color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.sys-pager .mono svg { width: 14px; height: 14px; }
.sys-pager strong { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.6rem); line-height: 1.05; }
@media (max-width: 560px) { .sys-pager { grid-template-columns: 1fr; } .sys-pager a.next { text-align: left; align-items: flex-start; } }

/* System catalog cards */
.sys-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 1024px) { .sys-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sys-grid { grid-template-columns: 1fr; } }
.sys-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.sys-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.sys-card-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--ink-3); }
.sys-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.sys-card:hover .sys-card-media img { transform: scale(1.06); }
.sys-card-media .tag { position: absolute; top: 14px; left: 14px; }
.sys-card-media .badge-new { position: absolute; top: 14px; right: 14px; }
.sys-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.sys-card-body h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 1.35rem; text-transform: uppercase; line-height: 1; letter-spacing: -0.01em; }
.sys-card-body p { color: var(--muted); font-size: 0.93rem; }
.sys-card-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-size: 0.85rem; }
.sys-card-foot .swatches { display: flex; }
.sys-card-foot .swatches i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--card); margin-left: -6px; background-size: cover; background-position: center; }
.sys-card-foot .swatches i:first-child { margin-left: 0; }
.sys-card .stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Comparison table */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 0.92rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--card-2); position: sticky; top: 0; }
.compare tbody th { font-weight: 700; white-space: nowrap; }
.compare tbody th a { display: inline-flex; align-items: center; gap: 8px; }
.compare tbody th a:hover { color: var(--nano); }
.compare tbody tr:hover { background: rgba(46,163,220,.05); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.meter { display: inline-flex; gap: 3px; position: relative; }
.meter i { width: 14px; height: 6px; border-radius: 2px; background: var(--line-2); }
.meter i.on { background: var(--nano); }

/* ==========================================================================
   Swatches / colors
   ========================================================================== */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 14px; }
.swatch-grid--sm { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.swatch { position: relative; display: block; text-align: left; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s; width: 100%; }
.swatch:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.swatch.is-selected { border-color: var(--nano); box-shadow: 0 0 0 2px var(--nano); }
.swatch-chip { aspect-ratio: 1; background-size: cover; background-position: center; position: relative; }
.swatch-chip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(255,255,255,.22), rgba(255,255,255,0) 40%); opacity: 0; transition: opacity .4s; }
.swatch:hover .swatch-chip::after { opacity: 1; }
.swatch-name { display: block; padding: 10px 12px 12px; font-size: 0.85rem; font-weight: 600; line-height: 1.25; }
.swatch-name small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.swatch-actions { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s var(--ease-out); }
.swatch:hover .swatch-actions, .swatch:focus-within .swatch-actions { opacity: 1; transform: none; }
.swatch-actions span { width: 32px; height: 32px; border-radius: 50%; background: rgba(7,9,12,.7); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.swatch-actions svg { width: 16px; height: 16px; }
@media (hover: none) { .swatch-actions { display: none; } }
.color-group + .color-group { margin-top: clamp(48px, 6vw, 80px); }
.color-group-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.color-group-head h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1; }
.color-tabs { position: sticky; top: var(--header-h); z-index: 40; padding: 14px 0; background: rgba(243,245,247,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: top .45s var(--ease-out); }
body.header-hidden .color-tabs { top: 0; }
.color-tabs .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.color-tabs .filters::-webkit-scrollbar { display: none; }
.color-tabs .chip { flex: none; }

/* Color drawer */
.color-drawer { position: fixed; z-index: 120; right: 16px; bottom: 16px; width: min(380px, calc(100vw - 32px)); background: var(--ink-1); color: #fff; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.08); overflow: hidden; transform: translateY(40px); opacity: 0; visibility: hidden; transition: transform .6s var(--ease-out), opacity .35s, visibility 0s .6s; }
.color-drawer.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.color-drawer .cd-img { aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.color-drawer .cd-body { padding: 18px 20px 20px; }
.color-drawer .cd-body h4 { font-family: var(--font-display); font-stretch: 108%; font-size: 1.3rem; font-weight: 800; }
.color-drawer .cd-body p { color: #9aa7b5; font-size: 0.88rem; margin: 2px 0 16px; }
.color-drawer .cd-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(7,9,12,.6); color: #fff; display: grid; place-items: center; }
.color-drawer .cd-close svg { width: 18px; height: 18px; }
.color-drawer .btn-row { gap: 8px; }
.color-drawer .btn { flex: 1; }
@media (max-width: 860px) { .color-drawer { bottom: 92px; } }

/* ==========================================================================
   Gallery
   ========================================================================== */
.masonry { columns: 3 320px; column-gap: 16px; }
.masonry .g-item { break-inside: avoid; margin-bottom: 16px; }
.g-item { position: relative; display: block; width: 100%; border-radius: 16px; overflow: hidden; background: var(--ink-3); cursor: zoom-in; }
.g-item img { width: 100%; transition: transform 1s var(--ease-out), filter .5s; }
.g-item:hover img { transform: scale(1.04); }
.g-item .g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(to top, rgba(7,9,12,.85), transparent); color: #fff; text-align: left; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease-out); }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
.g-item .g-cap strong { display: block; font-size: 0.95rem; }
.g-item .g-cap span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: .12em; text-transform: uppercase; color: #aab6c2; }
@media (hover: none) { .g-item .g-cap { opacity: 1; transform: none; } }
.g-item.is-hidden { display: none; }

.project-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 64px); padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.project-block:first-of-type { border-top: 0; padding-top: 0; }
.project-block .pb-info { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; }
.project-block h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: .98; margin: 12px 0 14px; }
.project-block .pb-photos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.project-block .pb-photos .g-item { grid-column: span 2; aspect-ratio: 1; }
.project-block .pb-photos .g-item:first-child { grid-column: span 6; aspect-ratio: 16 / 9; }
.project-block .pb-photos .g-item:nth-child(2), .project-block .pb-photos .g-item:nth-child(3) { grid-column: span 3; aspect-ratio: 4 / 3; }
.project-block .pb-photos .g-item img { height: 100%; object-fit: cover; }
@media (max-width: 860px) { .project-block { grid-template-columns: minmax(0, 1fr); } .project-block .pb-info { position: static; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5,7,9,.96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; color: #fff; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); gap: 16px; }
.lb-top .mono { color: #9aa7b5; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 clamp(8px, 6vw, 96px); min-height: 0; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100svh - 170px); object-fit: contain; border-radius: 10px; transition: opacity .3s, transform .45s var(--ease-out); }
.lb-stage img.is-loading { opacity: 0; transform: scale(.98); }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: background-color .25s; }
.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(8px, 2vw, 24px); }
.lb-next { right: clamp(8px, 2vw, 24px); }
.lb-caption { padding: 14px var(--gutter) 22px; text-align: center; font-size: 0.95rem; color: #c9d3dd; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: -58px; transform: none; } .lb-caption { padding-bottom: 80px; } }

/* ==========================================================================
   Process timeline
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); counter-reset: step; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.process-step { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.process-step .ps-media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.process-step .ps-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.process-step:hover .ps-media img { transform: scale(1.06); }
.process-step .ps-body { padding: 20px 22px 24px; }
.process-step .ps-num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .14em; color: var(--nano); }
.process-step h3 { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 1.2rem; margin: 6px 0 8px; text-transform: uppercase; }
.process-step p { color: var(--muted); font-size: 0.93rem; }
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline .tl-fill { position: absolute; left: 21px; top: 8px; width: 2px; background: var(--nano); height: 0; transition: height .2s linear; }
.timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 0 0 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .tl-dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line-2); font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; transition: border-color .4s, background-color .4s, color .4s; }
.timeline li.is-on .tl-dot { border-color: var(--nano); background: var(--nano); color: #fff; }
.timeline h3 { font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: 1.15rem; padding-top: 9px; }
.timeline p { color: var(--muted); margin-top: 4px; }

/* ==========================================================================
   Video (lite youtube)
   ========================================================================== */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-l); overflow: hidden; background: #000; cursor: pointer; display: block; width: 100%; isolation: isolate; }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease-out), opacity .4s; opacity: .85; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt .yt-play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; transition: transform .5s var(--ease-out), background-color .3s, color .3s; box-shadow: 0 0 0 0 rgba(255,255,255,.4); animation: pulse 2.4s infinite; }
.yt .yt-play svg { width: 30px; height: 30px; margin-left: 4px; }
.yt:hover .yt-play { transform: scale(1.08); background: var(--nano); color: #fff; }
.yt .yt-label { position: absolute; left: 20px; bottom: 18px; right: 20px; color: #fff; font-weight: 600; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 70% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

/* ==========================================================================
   CTA band & financing
   ========================================================================== */
.cta-band { position: relative; border-radius: var(--radius-l); overflow: hidden; color: #fff; background: var(--ink-2); isolation: isolate; padding: clamp(40px, 6vw, 88px); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(1000px 400px at 10% 120%, rgba(46,163,220,.45), transparent 60%), linear-gradient(100deg, rgba(7,9,12,.95) 25%, rgba(7,9,12,.5)); }
.cta-band .h2 { max-width: 16ch; }
.cta-band .lead { color: #c9d3dd; margin-top: 18px; }
.cta-band .btn-row { margin-top: 30px; }
.cta-band-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
@media (max-width: 860px) { .cta-band-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-mini { display: grid; gap: 10px; }
.contact-mini a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background-color .3s, border-color .3s; }
.contact-mini a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }
.contact-mini .cm-l { display: flex; align-items: center; gap: 12px; }
.contact-mini svg { width: 20px; height: 20px; color: var(--nano-hi); }
.contact-mini small { display: block; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: .12em; text-transform: uppercase; color: #93a0ae; }
.contact-mini strong { font-size: 1rem; }

.finance { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-l); background: var(--card); border: 1px solid var(--line); }
.finance img { width: 120px; border-radius: 14px; }
.finance h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 2.4vw, 1.9rem); line-height: 1; }
.finance p { color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) { .finance { grid-template-columns: minmax(0, 1fr); } .finance img { width: 96px; } }

/* Locations */
.locations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 860px) { .locations { grid-template-columns: minmax(0, 1fr); } }
.loc-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; gap: 12px; transition: border-color .3s, transform .4s var(--ease-out); }
.loc-card:hover { border-color: var(--nano); transform: translateY(-4px); }
.loc-card h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.loc-card .loc-cities { color: var(--muted); font-size: 0.92rem; }
.loc-card a.loc-phone { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; }
.loc-card a.loc-phone svg { width: 20px; height: 20px; color: var(--nano); }
.map-card { position: relative; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); background: var(--card-2); min-height: 420px; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-card .map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: repeating-linear-gradient(45deg, var(--paper-2), var(--paper-2) 12px, var(--paper) 12px, var(--paper) 24px); }
.map-card .map-pin { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 360px; padding: 18px 20px; border-radius: 16px; background: rgba(9,12,16,.92); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.map-card .map-pin strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.map-card .map-pin p { font-size: 0.88rem; color: #b5c0cc; }
.map-card .map-pin a { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; color: var(--nano-hi); font-weight: 600; font-size: 0.88rem; }
.map-card .map-pin a svg { width: 16px; height: 16px; }

.hours { display: grid; gap: 0; }
.hours div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours div.is-today { color: var(--nano); font-weight: 600; }
.hours dt { color: var(--fg-2); }
.hours dd { margin: 0; font-weight: 600; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-dot.is-open::before { background: #2fbf71; box-shadow: 0 0 0 4px rgba(47,191,113,.2); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 0.85rem; font-weight: 600; color: var(--fg-2); }
.field .req { color: var(--nano); }
.input, .select, .textarea { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--fg); font-size: 1rem; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none; }
.textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6774' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--nano); box-shadow: 0 0 0 4px rgba(46,163,220,.15); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214,69,69,.1); }
.field .err { display: none; font-size: 0.8rem; color: #d64545; }
.field.has-error .err { display: block; }
.theme-dark .input, .theme-dark .select, .theme-dark .textarea { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 0.8rem; color: var(--muted); }
.form-status { display: none; padding: 16px 18px; border-radius: 12px; font-size: 0.93rem; }
.form-status.is-error { display: block; background: rgba(214,69,69,.1); color: #b53434; border: 1px solid rgba(214,69,69,.25); }
.form-success { display: none; text-align: center; padding: clamp(28px, 4vw, 48px) 12px; }
.form-success .fs-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: rgba(47,191,113,.14); color: #2fbf71; }
.form-success .fs-icon svg { width: 36px; height: 36px; stroke-width: 2.4; }
.form-success h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 1.8rem; text-transform: uppercase; }
.form-success p { color: var(--muted); margin: 10px auto 22px; max-width: 46ch; }
form.is-sent .form-body { display: none; }
form.is-sent .form-success { display: block; animation: rise .7s var(--ease-out); }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.choices--lg { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.choice .c-box { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color .25s, box-shadow .25s, transform .3s var(--ease-out), background-color .25s; }
.choice .c-box svg { width: 26px; height: 26px; color: var(--nano); }
.choice .c-box strong { font-size: 0.98rem; line-height: 1.25; }
.choice .c-box small { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
.choice .c-img { margin: -18px -18px 10px; aspect-ratio: 16 / 9; border-radius: 13px 13px 0 0; background-size: cover; background-position: center; }
.choice:hover .c-box { border-color: var(--muted); transform: translateY(-2px); }
.choice input:focus-visible + .c-box { box-shadow: 0 0 0 4px rgba(46,163,220,.25); }
.choice input:checked + .c-box { border-color: var(--nano); box-shadow: 0 0 0 1px var(--nano), 0 12px 30px -12px rgba(46,163,220,.5); background: linear-gradient(180deg, rgba(46,163,220,.06), transparent); }
.choice .c-check { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; background: var(--bg-2); transition: all .25s; z-index: 1; }
.choice .c-check svg { width: 14px; height: 14px; color: #fff; opacity: 0; stroke-width: 3; }
.choice input:checked ~ .c-check { background: var(--nano); border-color: var(--nano); }
.choice input:checked ~ .c-check svg { opacity: 1; }
.choice--pill .c-box { flex-direction: row; align-items: center; padding: 14px 16px; }

/* ==========================================================================
   Quote wizard
   ========================================================================== */
.quote-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 1024px) { .quote-shell { grid-template-columns: minmax(0, 1fr); } }
.wizard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 3.4vw, 44px); box-shadow: var(--shadow-1); }
.wz-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.wz-progress .wz-bar { flex: 1; height: 6px; background: var(--paper-2); border-radius: 6px; overflow: hidden; }
.wz-progress .wz-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--nano-deep), var(--nano), var(--nano-hi)); border-radius: inherit; transition: width .6s var(--ease-out); }
.wz-progress .mono { color: var(--muted); white-space: nowrap; }
.wz-step { display: none; }
.wz-step.is-active { display: block; animation: stepIn .6s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.wz-step h2 { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.2rem); text-transform: uppercase; line-height: 1; margin-bottom: 8px; }
.wz-step > p { color: var(--muted); margin-bottom: 24px; }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.wz-nav .btn[hidden] { display: none; }
.area-input { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 18px; align-items: center; }
@media (max-width: 560px) { .area-input { grid-template-columns: 1fr; } }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--nano) var(--p, 20%), var(--paper-2) var(--p, 20%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid var(--nano); box-shadow: 0 4px 14px rgba(46,163,220,.4); cursor: grab; }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--nano); cursor: grab; }
.area-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.quote-shell.is-done { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
.quote-summary { position: sticky; top: calc(var(--header-h) + 20px); border-radius: var(--radius-l); background: var(--ink-1); color: #fff; overflow: hidden; }
.qs-visual { height: 150px; background-size: cover; background-position: center; position: relative; transition: background-image .4s; }
.qs-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink-1), transparent 70%); }
.qs-body { padding: 4px 24px 24px; }
.qs-body h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: 1.2rem; margin-bottom: 14px; }
.qs-list { display: grid; }
.qs-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 0.9rem; }
.qs-list dt { color: #8f9cab; }
.qs-list dd { margin: 0; font-weight: 600; text-align: right; }
.qs-estimate { margin-top: 18px; padding: 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(46,163,220,.22), rgba(46,163,220,.06)); border: 1px solid rgba(46,163,220,.35); }
.qs-estimate .mono { color: var(--nano-hi); }
.qs-estimate strong { display: block; font-family: var(--font-display); font-stretch: 110%; font-weight: 800; font-size: 1.9rem; line-height: 1.1; margin-top: 6px; }
.qs-estimate p { font-size: 0.75rem; color: #9aa7b5; margin-top: 8px; line-height: 1.45; }
.qs-trust { display: grid; gap: 10px; margin-top: 18px; font-size: 0.85rem; color: #b5c0cc; }
.qs-trust div { display: flex; gap: 10px; align-items: center; }
.qs-trust svg { width: 18px; height: 18px; color: var(--nano-hi); }
@media (max-width: 1024px) { .quote-summary { position: relative; top: 0; } }

/* ==========================================================================
   Design Studio (visualizer)
   ========================================================================== */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0; border-radius: var(--radius-l); overflow: hidden; background: var(--ink-1); color: #fff; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 40px 100px rgba(7,9,12,.35); }
@media (max-width: 1080px) { .studio { grid-template-columns: minmax(0, 1fr); } }
.studio-stage { position: relative; background: #000; min-height: 360px; display: flex; flex-direction: column; }
.studio-canvas-wrap { position: relative; flex: 1; min-height: 420px; overflow: hidden; background: #000; }
.studio-canvas-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s; }
@media (max-width: 1080px) { .studio-canvas-wrap { flex: none; min-height: 0; aspect-ratio: 4 / 3; } }
.studio-canvas-wrap.is-busy canvas { opacity: .85; }
.studio-loader { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(7,9,12,.35); opacity: 0; pointer-events: none; transition: opacity .3s; }
.studio-canvas-wrap.is-busy .studio-loader { opacity: 1; }
.studio-loader span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: var(--nano-hi); animation: spin .8s linear infinite; }
.studio-compare { position: absolute; inset: 0; pointer-events: none; }
.studio-compare .sc-before { position: absolute; inset: 0; background-size: cover; background-position: center; clip-path: inset(0 calc(100% - var(--split, 0%)) 0 0); }
.studio-compare .sc-handle { position: absolute; top: 0; bottom: 0; left: var(--split, 0%); width: 2px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.4); display: none; }
.studio-compare .sc-handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 18px; }
.studio-stage.is-comparing .sc-handle { display: block; }
.studio-stage.is-comparing .studio-compare { pointer-events: auto; cursor: ew-resize; }
.studio-hud { position: absolute; left: 16px; top: 16px; right: 16px; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; }
.studio-hud > * { pointer-events: auto; }
.studio-label { padding: 10px 14px; border-radius: 12px; background: rgba(7,9,12,.66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.1); }
.studio-label small { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: .14em; text-transform: uppercase; color: #9aa7b5; }
.studio-label strong { font-size: 0.95rem; }
.studio-tools { display: flex; gap: 8px; }
.studio-tools button { width: 42px; height: 42px; border-radius: 12px; background: rgba(7,9,12,.66); border: 1px solid rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .25s; }
.studio-tools button:hover, .studio-tools button[aria-pressed="true"] { background: var(--nano); border-color: var(--nano); }
.studio-tools svg { width: 20px; height: 20px; }
.studio-scenes { display: flex; gap: 8px; padding: 12px; background: #0a0d12; overflow-x: auto; scrollbar-width: none; }
.studio-scenes::-webkit-scrollbar { display: none; }
.studio-scenes button { flex: none; position: relative; width: 132px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .7; transition: opacity .25s, border-color .25s; text-align: left; }
.studio-scenes button img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.studio-scenes button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 0.72rem; font-weight: 600; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); }
.studio-scenes button:hover { opacity: 1; }
.studio-scenes button[aria-pressed="true"] { opacity: 1; border-color: var(--nano); }
.studio-panel { display: flex; flex-direction: column; max-height: 860px; border-left: 1px solid rgba(255,255,255,.08); }
@media (max-width: 1080px) { .studio-panel { max-height: none; border-left: 0; border-top: 1px solid rgba(255,255,255,.08); } }
.studio-panel-scroll { flex: 1; overflow-y: auto; padding: 22px; display: grid; gap: 22px; align-content: start; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.studio-group h3 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; color: #8f9cab; margin-bottom: 10px; display: flex; justify-content: space-between; }
.studio-group h3 b { color: #fff; font-weight: 500; letter-spacing: .04em; text-transform: none; font-family: var(--font-text); font-size: 0.8rem; }
.seg { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.05); }
.seg button { padding: 10px 6px; border-radius: 9px; font-size: 0.82rem; font-weight: 600; color: #b5c0cc; transition: background-color .25s, color .25s; }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.studio-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; max-height: 300px; overflow-y: auto; padding: 2px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.studio-swatches button { position: relative; aspect-ratio: 1; border-radius: 10px; background-size: cover; background-position: center; border: 2px solid transparent; box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; transition: transform .25s var(--ease-out), border-color .2s; }
.studio-swatches button:hover { transform: scale(1.06); }
.studio-swatches button[aria-pressed="true"] { border-color: var(--nano-hi); transform: scale(1.06); }
.studio-swatches button[aria-pressed="true"]::after { content: ""; position: absolute; right: -5px; top: -5px; width: 16px; height: 16px; border-radius: 50%; background: var(--nano) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.studio-sub { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.studio-sub .chip { color: #b5c0cc; border-color: rgba(255,255,255,.14); padding: 6px 12px; font-size: 0.78rem; }
.studio-sub .chip.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.studio-foot { padding: 18px 22px 22px; border-top: 1px solid rgba(255,255,255,.08); background: #0a0d12; display: grid; gap: 10px; }
.studio-foot .sf-sel { display: flex; align-items: center; gap: 12px; }
.studio-foot .sf-sel i { width: 44px; height: 44px; border-radius: 10px; background-size: cover; background-position: center; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset; }
.studio-foot .sf-sel small { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: .12em; text-transform: uppercase; color: #8f9cab; }
.studio-foot .sf-sel strong { font-size: 0.95rem; }
.studio-foot .btn-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.fw-frame { position: relative; height: 82vh; min-height: 560px; border-radius: var(--radius-l); overflow: hidden; background: var(--ink-1); border: 1px solid var(--line); }
.fw-frame > onfigr-floorwiz, .fw-frame > div { display: block; height: 100%; }
.fw-gate { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 32px; color: #fff; isolation: isolate; }
.fw-gate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .45; }
.fw-gate::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 50%, rgba(7,9,12,.4), rgba(7,9,12,.9)); }
.fw-gate h3 { font-family: var(--font-display); font-stretch: 110%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; margin: 14px 0 12px; }
.fw-gate p { color: #c9d3dd; max-width: 50ch; margin: 0 auto 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--ink); color: #c9d3dd; padding: clamp(64px, 8vw, 110px) 0 32px; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 400px at 85% -10%, rgba(46,163,220,.18), transparent 60%); }
.footer-big { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .82; letter-spacing: -0.04em; font-size: clamp(3.4rem, 13.5vw, 13rem); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); white-space: nowrap; margin: 0 0 clamp(40px, 6vw, 72px); user-select: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #93a0ae; font-size: 0.93rem; max-width: 38ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .16em; text-transform: uppercase; color: #6f7d8c; font-weight: 500; margin-bottom: 16px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: #c9d3dd; font-size: 0.93rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col .fc-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; }
.footer-col .fc-line svg { width: 18px; height: 18px; color: var(--nano-hi); margin-top: 3px; }
.socials { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #c9d3dd; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-out); }
.socials a:hover { background: var(--nano); color: #fff; border-color: var(--nano); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: clamp(40px, 6vw, 72px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 0.82rem; color: #6f7d8c; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Misc components
   ========================================================================== */
.divider-hazard { height: 10px; background: repeating-linear-gradient(-45deg, var(--signal) 0 14px, var(--ink) 14px 28px); opacity: .9; }
.badge-new { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--signal); color: var(--ink); font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.img-frame { position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--ink-3); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame--tall { aspect-ratio: 4 / 5; }
.img-frame--wide { aspect-ratio: 16 / 10; }
.img-float { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); border: 6px solid var(--bg); }
.collage { position: relative; margin-bottom: clamp(40px, 9%, 80px); }
.collage .img-frame { aspect-ratio: 4 / 3; width: 90%; }
.collage .img-float { width: 42%; right: 0; bottom: -16%; aspect-ratio: 1; }
.collage .img-float img { width: 100%; height: 100%; object-fit: cover; }
.collage .float-badge { position: absolute; left: -4%; top: 10%; padding: 16px 18px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow-2); }
.collage .float-badge strong { display: block; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 2.2rem; line-height: 1; }
.collage .float-badge span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: .12em; text-transform: uppercase; color: #9aa7b5; }
@media (max-width: 560px) { .collage .float-badge { left: 0; } }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.values > div { padding: clamp(22px, 2.6vw, 34px); background: var(--card); }
.values > div + div { border-left: 1px solid var(--line); }
.values svg { width: 30px; height: 30px; color: var(--nano); margin-bottom: 18px; }
.values h3 { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; text-transform: uppercase; font-size: 1.1rem; line-height: 1.1; }
.values p { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } .values > div:nth-child(3) { border-left: 0; } .values > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .values > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.tabs-nav { display: flex; width: fit-content; max-width: 100%; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs-nav::-webkit-scrollbar { display: none; }
.tabs-nav button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 0.86rem; color: var(--muted); white-space: nowrap; transition: background-color .25s, color .25s; }
.tabs-nav button svg { width: 17px; height: 17px; }
.tabs-nav button:hover { color: var(--fg); }
.tabs-nav button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-active { animation: rise .6s var(--ease-out); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform .35s var(--ease-out); color: var(--nano); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 22px; color: var(--fg-2); max-width: 75ch; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 24px); opacity: 0; visibility: hidden; padding: 14px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow-2); transition: transform .5s var(--ease-out), opacity .3s, visibility 0s .5s; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); }
.toast svg { width: 18px; height: 18px; color: #2fbf71; flex: none; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition-delay: 0s; }
@media (max-width: 860px) { .toast { bottom: 96px; } }

.cursor-glow { position: fixed; left: 0; top: 0; z-index: 1; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(46,163,220,.12), transparent 60%); opacity: 0; transition: opacity .5s; mix-blend-mode: screen; }

.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 150; background: linear-gradient(90deg, var(--nano-deep), var(--nano), var(--nano-hi)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

.page-404 { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.page-404 .big { font-family: var(--font-display); font-stretch: 125%; font-weight: 900; font-size: clamp(6rem, 24vw, 18rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.25); }

/* ==========================================================================
   Motion: reveal system
   ========================================================================== */
.js [data-reveal] { opacity: 0; transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), clip-path 1.3s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="up"] { transform: translateY(42px); }
.js [data-reveal="down"] { transform: translateY(-30px); }
.js [data-reveal="left"] { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal="blur"] { filter: blur(14px); transform: translateY(20px); }
.js [data-reveal="clip"] { opacity: 1; clip-path: inset(100% 0 0 0 round var(--radius-l)); }
.js [data-reveal="clip-x"] { opacity: 1; clip-path: inset(0 100% 0 0 round var(--radius-l)); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="clip"].is-in, .js [data-reveal="clip-x"].is-in { clip-path: inset(0 0 0 0 round var(--radius-l)); }
.js [data-reveal="clip"] img, .js [data-reveal="clip-x"] img { transform: scale(1.2); transition: transform 1.6s var(--ease-out); }
.js [data-reveal="clip"].is-in img, .js [data-reveal="clip-x"].is-in img { transform: scale(1); }

.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-word { display: inline-block; white-space: nowrap; }
.js [data-split] .split-word > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease-out); transition-delay: calc(var(--wi) * 55ms + var(--d, 0s)); }
.js [data-split].is-in .split-word > span { transform: none; }
.split-word { overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }

[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .split-word > span { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
  .marquee-track { animation: none !important; }
  .hero-media img { transform: none !important; }
}

/* Generated art images fill their containers like photos */
.art-img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .art-img { position: absolute; inset: 0; }
.stack-card-media .art-img, .sys-card-media .art-img, .img-frame .art-img { position: absolute; inset: 0; }

/* hidden attribute must always win */
[hidden] { display: none !important; }
.layers-3d.is-in .layer { transform: translateZ(calc(var(--i) * 64px + var(--lift, 0px))); }
.layer.is-hl { filter: brightness(1.12); }
.hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .theme-dark .eyebrow { color: #aebbc8; }


/* ==========================================================================
   Typography v2 — industrial identity
   Archivo Expanded for big statements, Barlow Condensed for component titles
   (warehouse signage), Barlow for reading, IBM Plex Mono for spec labels and a
   stencil face for numerals, like bay numbers painted on a coated floor.
   ========================================================================== */
body { font-size: 17px; line-height: 1.6; font-feature-settings: "kern", "liga", "tnum" 0; }
.lead { font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.55; }
.prose p, .card p, .sys-card-body p, .process-step p, .timeline p, .values p, .layer-legend span, .loc-card .loc-cities { font-size: 1rem; line-height: 1.6; }

.display, .h1, .h2 { font-stretch: 118%; font-weight: 850; letter-spacing: -0.025em; }
.path-card h3, .stack-card h3, .project-block h3, .color-group-head h3, .wz-step h2, .sys-pager strong,
.form-success h3, .fw-gate h3, .footer-big, .mobile-menu .m-link, .mobile-menu summary { font-stretch: 118%; }

/* component titles → Barlow Condensed, uppercase signage */
.h3, .h4, .card h3, .sys-card-body h3, .process-step h3, .loc-card h3, .values h3, .finance h3,
.layer-legend strong, .timeline h3, .qs-body h3, .color-drawer .cd-body h4, .project-card .pc-body h3,
.hero-card h2, .mega-item strong, .swatch-name, .choice .c-box strong, .studio-label strong, .studio-foot .sf-sel strong,
.contact-mini strong, .loc-card a.loc-phone, .faq summary {
  font-family: var(--font-head); font-stretch: normal; letter-spacing: 0.01em;
}
.h3 { font-weight: 700; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1; }
.h4 { font-weight: 700; text-transform: uppercase; font-size: 1.3rem; }
.card h3 { font-weight: 700; text-transform: uppercase; font-size: 1.45rem; line-height: 1.05; }
.sys-card-body h3 { font-weight: 800; font-size: 1.7rem; line-height: .95; letter-spacing: 0.005em; }
.process-step h3, .values h3 { font-weight: 700; font-size: 1.4rem; line-height: 1.02; }
.loc-card h3 { font-weight: 800; font-size: 1.9rem; }
.finance h3 { font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: .98; }
.layer-legend strong { font-weight: 700; text-transform: uppercase; font-size: 1.3rem; }
.timeline h3 { font-weight: 700; text-transform: uppercase; font-size: 1.35rem; padding-top: 8px; }
.qs-body h3 { font-weight: 800; font-size: 1.5rem; }
.color-drawer .cd-body h4 { font-weight: 700; font-size: 1.6rem; text-transform: uppercase; }
.project-card .pc-body h3 { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: .95; }
.hero-card h2 { font-weight: 700; font-size: 1.55rem; text-transform: uppercase; line-height: 1.02; }
.mega-item strong { font-weight: 700; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .02em; }
.swatch-name { font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.choice .c-box strong { font-weight: 700; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .015em; }
.studio-label strong, .studio-foot .sf-sel strong { font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em; }
.contact-mini strong, .loc-card a.loc-phone { font-weight: 700; font-size: 1.2rem; letter-spacing: .03em; }
.faq summary { font-weight: 700; font-size: 1.25rem; text-transform: uppercase; }
.mobile-menu .m-sub a { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }

/* buttons & navigation */
.btn { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase; }
.btn--sm { font-size: 0.95rem; }
.btn--lg { font-size: 1.1rem; }
.nav-link { font-family: var(--font-head); font-weight: 600; font-size: 1.04rem; letter-spacing: 0.05em; text-transform: uppercase; }
.header-phone { font-family: var(--font-head); font-size: 1.08rem; letter-spacing: .04em; }
.link-arrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 1rem; }
.chip, .tabs-nav button, .seg button, .sys-switch nav a, .pill-list li, .path-card ul li {
  font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
}
.chip, .sys-switch nav a { font-size: 0.92rem; }
.tabs-nav button { font-size: 0.98rem; }
.seg button { font-size: 0.95rem; }
.pill-list li { font-size: 0.98rem; }
.path-card ul li { font-size: 0.86rem; }
.action-bar a { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 0.82rem; }
.action-bar a.is-primary { font-size: 1rem; }
.field label, .field .label { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 0.92rem; }

/* spec-sheet labels in IBM Plex Mono */
.mono, .eyebrow, .tag, .breadcrumbs, .hero-specs dt, .spec dt, .compare thead th, .footer-col h4 { font-weight: 500; }
.badge-new { font-family: var(--font-mono); font-weight: 600; }

/* stencil numerals */
.stack-card-num { font-family: var(--font-num); font-weight: 400; font-stretch: normal; font-size: clamp(3.4rem, 6.5vw, 5.6rem); line-height: .85; color: var(--nano-hi); -webkit-text-stroke: 0; opacity: .9; letter-spacing: .02em; }
.stat strong, .hero-bar strong, .collage .float-badge strong, .qs-estimate strong {
  font-family: var(--font-num); font-weight: 400; font-stretch: normal; letter-spacing: 0.01em;
}
.stat strong { font-size: clamp(2.8rem, 5.4vw, 4.6rem); }
.stat strong sup { font-family: var(--font-num); }
.hero-bar strong { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.collage .float-badge strong { font-size: 2.6rem; }
.qs-estimate strong { font-size: 1.85rem; }
.page-404 .big { font-family: var(--font-num); font-weight: 400; font-stretch: normal; -webkit-text-stroke: 0; color: rgba(255,255,255,.14); }
.tl-dot, .layer-legend .ll-num, .process-step .ps-num, .card-num { font-family: var(--font-num); font-weight: 400; letter-spacing: .04em; }
.layer-legend .ll-num { font-size: 1.15rem; padding-top: 0; }
.process-step .ps-num { font-size: 1rem; }
.tl-dot { font-size: 0.95rem; }
.display { font-size: clamp(2.4rem, 6.4vw, 6rem); }
.hero h1 { max-width: 15ch; }

/* ==========================================================================
   Internal page directory (directorio.html)
   ========================================================================== */
.dir-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 960px) { .dir-layout { grid-template-columns: minmax(0, 1fr); } }
.dir-tree { position: sticky; top: calc(var(--header-h) + 20px); font-size: .95rem; }
.dir-tree ul { display: grid; gap: 6px; }
.dir-tree ul ul { margin: 6px 0 4px 14px; padding-left: 12px; border-left: 2px solid var(--line); gap: 4px; }
.dir-tree a { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.dir-tree ul ul a { font-weight: 600; text-transform: none; font-family: var(--font-text); letter-spacing: 0; }
.dir-tree a:hover { color: var(--nano); }
.dir-tree code, .dir-meta code { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.dir-group + .dir-group { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.dir-group-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.dir-group-head h2 { font-family: var(--font-display); font-stretch: 118%; font-weight: 850; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; }
.dir-group-head p { margin-top: 6px; }
.dir-num { font-family: var(--font-num); font-size: 2.4rem; line-height: .9; color: var(--nano); }
.dir-subhead { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 12px; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.dir-main .dir-card { grid-template-columns: 220px minmax(0, 1fr); display: grid; }
.dir-main .dir-card .dir-thumb { aspect-ratio: auto; min-height: 140px; }
@media (max-width: 640px) { .dir-main .dir-card { grid-template-columns: minmax(0, 1fr); } }
.dir-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s; }
.dir-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--nano); }
.dir-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--ink-3); overflow: hidden; }
.dir-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dir-thumb .badge-new { position: absolute; top: 10px; right: 10px; }
.dir-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.dir-body strong { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; line-height: 1.05; letter-spacing: .01em; }
.dir-desc { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.dir-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; padding-top: 6px; }
.dir-where { font-size: .74rem; font-weight: 600; color: var(--nano-deep); background: rgba(46,163,220,.1); padding: 3px 8px; border-radius: 999px; }

/* Compact system index (commercial page) */
.sys-rows { border-top: 1px solid var(--line); }
.sys-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.2fr) 28px; gap: 18px; align-items: center; padding: 20px 6px; border-bottom: 1px solid var(--line); transition: background-color .3s, padding .4s var(--ease-out); }
.sys-row .mono { font-family: var(--font-num); font-size: 1.3rem; color: var(--nano); letter-spacing: .02em; text-transform: none; }
.sys-row strong { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 1.55rem; letter-spacing: .01em; line-height: 1; }
.sys-row .icon { width: 22px; height: 22px; color: var(--muted); transition: transform .4s var(--ease-out), color .3s; }
.sys-row:hover { background: var(--card); padding-left: 16px; }
.sys-row:hover .icon { transform: translateX(4px); color: var(--nano); }
@media (max-width: 640px) { .sys-row { grid-template-columns: 40px minmax(0, 1fr) 22px; } .sys-row > .muted { grid-column: 2; grid-row: 2; font-size: .9rem; margin-top: -8px; } .sys-row .icon { grid-row: 1 / span 2; grid-column: 3; } }

/* Plain-English summary card on system pages */
.plain-card { border-left: 4px solid var(--nano); }
.card .plain-text { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.15; color: var(--fg) !important; margin-top: 10px; letter-spacing: .005em; }


/* ==========================================================================
   Round 3 refinements
   ========================================================================== */
/* stats: number and "+" on one line */
.stat strong { display: flex; align-items: flex-start; gap: 2px; line-height: .9; }
.stat strong sup { font-size: .5em; top: 0; color: var(--nano); }

/* color swatches: the color itself is the hero, name only */
.swatch-chip { display: block; width: 100%; }
.swatch { border-radius: 16px; }
.swatch-name { padding: 10px 12px 12px; font-size: .98rem; line-height: 1.1; }
.swatch-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.swatch-grid--sm { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.swatch-grid--sm .swatch { border-radius: 12px; }
.swatch-grid--sm .swatch-name { padding: 7px 8px 8px; font-size: .82rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .02em; }

/* systems bar: lighter, text-only, underline for the current system */
.sys-switch { background: rgba(243,245,247,.94); }
.sys-switch-inner { gap: 18px; }
.sys-switch .mono { font-size: .68rem; letter-spacing: .16em; }
.sys-switch nav { gap: 2px; padding: 0; }
.sys-switch nav a { position: relative; padding: 16px 12px; border: 0; border-radius: 0; font-size: .9rem; font-weight: 600; color: var(--muted); background: none !important; }
.sys-switch nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--nano); transform: scaleX(0); transition: transform .35s var(--ease-out); }
.sys-switch nav a:hover { color: var(--fg); }
.sys-switch nav a[aria-current="page"] { color: var(--fg); }
.sys-switch nav a[aria-current="page"]::after, .sys-switch nav a:hover::after { transform: scaleX(1); }
.sys-switch nav a:hover::after { background: var(--line-2); }
.sys-switch nav a[aria-current="page"]:hover::after { background: var(--nano); }
.sys-compare { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; transition: border-color .25s, color .25s; }
.sys-compare svg { width: 16px; height: 16px; }
.sys-compare:hover { border-color: var(--nano); color: var(--nano); }
@media (max-width: 640px) { .sys-compare span { display: none; } .sys-compare { padding: 8px; } }

/* hero facts: airy list instead of a boxed table */
.hero-specs { min-width: 0; width: min(440px, 100%); gap: 0 28px; background: none; border: 0; border-radius: 0; overflow: visible; }
.hero-specs div { background: none; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero-specs dt { font-size: .68rem; color: #9fb0c2; }
.hero-specs dd { margin-top: 6px; font-size: 1.05rem; font-weight: 600; line-height: 1.3; }

/* spec strip under system heroes */
.spec-strip { background: var(--white); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 44px) 0; }
.spec-strip-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.spec-strip-head strong { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 1.35rem; letter-spacing: .02em; }
.spec-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
@media (max-width: 960px) { .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .spec-grid { gap: 0 16px; } .spec-grid dd { font-size: .98rem; } }
.spec-grid div { padding: 16px 0 18px; border-top: 2px solid var(--line); transition: border-color .3s; }
.spec-grid div:hover { border-top-color: var(--nano); }
.spec-grid dt { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec-grid dd { margin: 8px 0 0; font-size: 1.08rem; font-weight: 600; line-height: 1.35; color: var(--fg); }

/* interactivity hints */
.hint { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(46,163,220,.1); color: var(--nano-deep); font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; }
.theme-dark .hint, .studio .hint { background: rgba(127,210,255,.1); color: var(--nano-hi); }
.hint .icon { width: 18px; height: 18px; }
.hint-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--nano); flex: none; }
.hint-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--nano); animation: hintPing 1.8s var(--ease-out) infinite; }
@keyframes hintPing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.hint--mobile { display: none; }
@media (max-width: 899px) { .hint--desktop { display: none; } .hint--mobile { display: inline-flex; } }
.section-head .hint { margin-top: 10px; }
.studio .hint { margin: 0; font-size: .85rem; }
.studio-panel-scroll > .hint { justify-self: start; }

/* layer anatomy driven by scroll */
.layers-scroll { position: relative; }
.layers-pin { position: relative; padding-block: var(--section-y); }
.layers-scroll .layer { transition: transform .35s var(--ease-out), opacity .35s var(--ease-out), box-shadow .4s; }
.layers-scroll.is-static .layer { transition: transform 1.2s var(--ease-out), box-shadow 1.2s; }
.layers-counter { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); color: #9fb0c2; font-size: .8rem; letter-spacing: .16em; }
.layers-counter span { font-family: var(--font-num); font-size: 1.6rem; color: var(--nano-hi); letter-spacing: .04em; vertical-align: -3px; }
.layers-hints { margin-top: 22px; display: grid; justify-items: start; }
.layers-hints .hint { margin: 0; transition: opacity .4s; }
.layers-scroll .hint--hover { display: none; }
.layers-scroll.is-done .hint--scroll, .layers-scroll.is-static .hint--scroll { display: none; }
.layers-scroll.is-done .hint--hover, .layers-scroll.is-static .hint--hover { display: inline-flex; }
.layer-legend li { cursor: pointer; }
.layer-legend li.is-current { opacity: 1; }
.layer-legend li.is-current .ll-num { color: var(--nano-hi); }
.layer-legend li.is-current strong { color: #fff; }
@media (hover: none) { .layers-scroll .hint--hover { display: none !important; } }

/* footer: no ghost wordmark */
.site-footer { padding-top: clamp(56px, 7vw, 90px); }

/* ==========================================================================
   System pages — data plate, editorial intro, numbered advantages
   ========================================================================== */
.dataplate-sec { background: var(--white); padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.dataplate { border: 1.5px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: 0 1px 0 var(--ink), 0 24px 50px -30px rgba(7,9,12,.35); }
.dp-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 18px 26px; background: var(--ink); color: #fff; }
.dp-no { font-family: var(--font-num); font-size: 2.6rem; line-height: .9; color: var(--nano-hi); }
.dp-title span { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: #8f9cab; }
.dp-title strong { display: block; margin-top: 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.dp-code { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: #c9d3dd; padding: 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; white-space: nowrap; }
.dp-body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); }
.dp-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.dp-specs div { padding: 18px 26px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.dp-specs div:nth-child(2n) { border-right: 1px solid var(--line-2); }
.dp-specs dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.dp-specs dd { margin: 6px 0 0; font-weight: 600; font-size: 1.06rem; line-height: 1.35; color: var(--fg); }
.dp-perf { padding: 20px 26px; background: var(--paper); display: grid; align-content: start; gap: 14px; }
.dp-perf h3 { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.dp-perf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 34px; align-items: center; gap: 12px; font-size: .95rem; font-weight: 500; }
.dp-perf-row b { font-family: var(--font-mono); font-size: .78rem; font-weight: 500; color: var(--muted); text-align: right; }
.dp-bar { display: inline-flex; gap: 3px; }
.dp-bar i { width: 18px; height: 8px; border-radius: 2px; background: var(--concrete); }
.dp-bar i.on { background: var(--ink); }
.dp-bar i.on:last-of-type { background: var(--ink); }
.dp-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 26px; border-top: 1.5px solid var(--ink); font-size: .86rem; color: var(--muted); }
@media (max-width: 960px) { .dp-body { grid-template-columns: minmax(0, 1fr); } .dp-perf { border-top: 1px solid var(--line); } }
@media (max-width: 640px) {
  .dp-head { grid-template-columns: auto minmax(0, 1fr); padding: 16px 18px; gap: 14px; }
  .dp-code { grid-column: 1 / -1; justify-self: start; white-space: normal; }
  .dp-specs div { padding: 14px 18px; }
  .dp-perf, .dp-foot { padding-inline: 18px; }
  .dp-title strong { font-size: 1.35rem; }
}
@media (max-width: 640px) { .dp-specs div { padding: 12px 14px; } .dp-specs dd { font-size: .95rem; } .dp-specs dt { font-size: .62rem; } }
@media (max-width: 330px) { .dp-specs { grid-template-columns: minmax(0, 1fr); } }

.sys-intro .h2 { max-width: 16ch; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .intro-grid { grid-template-columns: minmax(0, 1fr); } }
.intro-lede { margin-top: 26px; padding-left: 20px; border-left: 4px solid var(--nano); font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.1vw, 1.8rem); line-height: 1.2; color: var(--fg); max-width: 34ch; }
.intro-body { margin-top: 24px; max-width: 62ch; }
.intro-body p:first-child::first-letter { float: left; font-family: var(--font-num); font-size: 3.6rem; line-height: .85; padding: 6px 10px 0 0; color: var(--nano); }
.intro-figure { margin: 0; position: sticky; top: calc(var(--header-h) + 80px); }
.intro-photo { aspect-ratio: 4 / 5; }
.intro-diagram { border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); padding: 26px; }
.intro-figure figcaption { margin-top: 12px; display: flex; gap: 10px; align-items: baseline; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.intro-figure figcaption::before { content: "Fig."; color: var(--nano); font-weight: 600; }
@media (max-width: 960px) { .intro-figure { position: static; } .intro-photo { aspect-ratio: 16 / 10; } }

.ideal-for { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.ideal-for h3 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 1.3rem; letter-spacing: .02em; }
.ideal-for ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.ideal-for li { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--fg-2); display: flex; align-items: center; gap: 10px; }
.ideal-for li::before { content: ""; width: 7px; height: 7px; background: var(--nano); transform: rotate(45deg); flex: none; }
@media (max-width: 960px) { .ideal-for { grid-template-columns: minmax(0, 1fr); gap: 10px; } .ideal-for ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); counter-reset: none; }
.adv-grid li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.adv-num { font-family: var(--font-num); font-size: 1.7rem; line-height: 1; color: var(--nano); }
.adv-grid p { font-size: 1.05rem; line-height: 1.45; color: var(--fg); font-weight: 500; }
@media (max-width: 960px) { .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: minmax(0, 1fr); } }

/* company data plate (about) + numbered lists on dark/2-col */
.dataplate--wide .dp-body { grid-template-columns: minmax(0, 1fr); }
.dataplate--wide .dp-specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dataplate--wide .dp-specs div:nth-child(2n) { border-right: 1px solid var(--line); }
.dataplate--wide .dp-specs div:nth-child(4n) { border-right: 0; }
@media (max-width: 960px) { .dataplate--wide .dp-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dataplate--wide .dp-specs div:nth-child(2n) { border-right: 0; } }
.adv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .adv-grid--2 { grid-template-columns: minmax(0, 1fr); } }
.theme-dark .adv-grid li { border-top-color: rgba(255,255,255,.1); }
.theme-dark .adv-num { color: var(--nano-hi); }
.svc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.svc-top .icon { width: 26px; height: 26px; color: var(--nano); }
.svc-card h3 { margin-bottom: 10px; }
.facts-line { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 1rem; color: var(--muted); }
.facts-line span { color: var(--line-2); }
.facts-line a { display: inline-flex; align-items: center; gap: 6px; color: var(--nano); font-weight: 600; }
.facts-line a svg { width: 16px; height: 16px; }

/* ==========================================================================
   Plain specifications (replaces the data plate) — same info, less chrome
   ========================================================================== */
.specs-sec { background: var(--white); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.specs-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .specs-layout { grid-template-columns: minmax(0, 1fr); } }
.specs-title { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 10px; }
.specs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin: 0; }
.specs-list div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs-list dt { color: var(--muted); font-size: .95rem; }
.specs-list dd { margin: 0; font-weight: 600; font-size: .98rem; line-height: 1.4; }
@media (max-width: 640px) { .specs-list { grid-template-columns: minmax(0, 1fr); } }
.perf-list { display: grid; }
.perf-list li { display: grid; grid-template-columns: minmax(0, 1fr) 120px 36px; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--fg-2); }
.perf-track { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.perf-track i { display: block; height: 100%; border-radius: inherit; background: var(--nano); }
.perf-list b { font-weight: 600; font-size: .9rem; color: var(--muted); text-align: right; }
.specs-note { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.specs-note a { color: var(--nano); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Lighter fact lists elsewhere: plain labels instead of mono caps */
.hero-specs dt, .stack-card .spec-mini dt, .spec dt, .qs-list dt {
  font-family: var(--font-text); font-size: .88rem; letter-spacing: 0; text-transform: none; font-weight: 400;
}
.hero-specs dt { color: #aebbc8; }
.hero-specs div { border-top-color: rgba(255,255,255,.12); padding: 12px 0; }
.hero-specs dd { margin-top: 2px; }
.stack-card .spec-mini dt { color: #93a0ae; }
.stack-card .spec-mini dd { margin-top: 2px; }
.specs-title span { margin-left: 10px; font-family: var(--font-text); font-weight: 500; font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--muted); }

/* Key-spec icon strip under system heroes */
.icon-strip { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.icon-strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.icon-strip li { display: flex; gap: 14px; align-items: center; padding: 22px 24px; }
.icon-strip li:first-child { padding-left: 0; }
.icon-strip li + li { border-left: 1px solid rgba(255,255,255,.1); }
.icon-strip .icon { width: 28px; height: 28px; color: var(--nano-hi); flex: none; }
.icon-strip b { display: block; font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.icon-strip small { display: block; margin-top: 2px; color: #93a0ae; font-size: .85rem; }
.strip-more { background: var(--white); border-bottom: 1px solid var(--line); }
.strip-more p { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; padding: 14px 0; font-size: .95rem; color: var(--fg-2); }
.strip-more b { font-weight: 600; color: var(--fg); }
.strip-more a { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--nano); font-weight: 600; }
.strip-more a svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .icon-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icon-strip li { padding: 16px 14px; }
  .icon-strip li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .icon-strip li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .strip-more a { margin-left: 0; }
}
@media (max-width: 420px) { .icon-strip .icon { width: 22px; height: 22px; } .icon-strip b { font-size: .92rem; } }

/* Technical details toggle under the icon strip */
.tech-details { background: var(--white); border-bottom: 1px solid var(--line); }
.tech-details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.tech-details summary::-webkit-details-marker { display: none; }
.tech-details summary span { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; }
.tech-details summary .icon { width: 22px; height: 22px; color: var(--nano); transition: transform .35s var(--ease-out); }
.tech-details details[open] summary .icon { transform: rotate(45deg); }
.tech-details summary:hover span { color: var(--nano); }
.td-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); padding: 4px 0 30px; animation: rise .5s var(--ease-out); }
.td-body h3 { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 1rem; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.td-specs div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.td-specs dt { color: var(--muted); }
.td-specs dd { margin: 0; font-weight: 600; }
@media (max-width: 860px) { .td-body { grid-template-columns: minmax(0, 1fr); } }


/* ==========================================================================
   Round 4 — section rhythm, texture and a calmer interface
   Light sections read as polished concrete (cool gray + fine grain), white
   sections stay clean, dark sections get a soft blue sheen instead of flat black.
   ========================================================================== */
:root {
  --paper: #e4e8ec;
  --paper-2: #d9dee3;
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --speckle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='1' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .4 0 0 0 0 .45 0 0 0 -9 5.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)' opacity='.22'/%3E%3C/svg%3E");
}
body { background: var(--paper); }
.theme-light { background-color: var(--paper); background-image: var(--speckle), var(--grain-dark); }
.theme-white { background-color: #fff; background-image: none; }
.theme-dark {
  background-color: var(--ink);
  background-image: radial-gradient(1100px 520px at 88% -8%, rgba(46,163,220,.16), transparent 62%),
                    radial-gradient(900px 420px at -5% 108%, rgba(46,163,220,.08), transparent 60%), var(--grain-light);
}
.theme-deep { --bg: #08131d; --bg-2: #0c1a27; --fg: #eef2f6; --fg-2: #c7d0da; --muted: #8b9cad; --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16); --card: #0f2131; --card-2: #132a3d;
  color: var(--fg); background-color: #08131d;
  background-image: radial-gradient(900px 600px at 78% 40%, rgba(46,163,220,.22), transparent 65%), var(--grain-light); }
.theme-deep .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.28); }
.theme-deep .link-arrow { color: #fff; }
.theme-deep .eyebrow { color: #aebbc8; }
/* sticky bars sit on white so they separate from concrete sections */
.sys-switch, .color-tabs { background: rgba(255,255,255,.94); }

/* headings: one size step down, accent used sparingly */
.h2 { font-size: clamp(1.75rem, 3.7vw, 3.25rem); }
.section-head { margin-bottom: clamp(30px, 4vw, 52px); }
.section-head .lead { max-width: 52ch; }
.h2 .accent, .h1 .accent { color: var(--nano); }
.theme-dark .h2 .accent, .theme-deep .h2 .accent { color: var(--nano-hi); }

/* buttons: no sweeping shine, no glow halo — solid and confident */
.btn::after { display: none; }
.btn--primary { box-shadow: none; }
.btn--primary:hover { --btn-bg: #1f8fc6; box-shadow: 0 10px 26px -14px rgba(46,163,220,.9); }
.btn:hover { transform: translateY(-1px); }
.scroll-progress { display: none; }

/* secondary actions as text links, so each block has a single button */
.link-arrow { gap: 8px; }
.on-dark .link-arrow, .hero .link-arrow, .page-hero .link-arrow, .cta-band .link-arrow { color: #fff; }
.link-arrow--quiet { color: inherit; font-family: var(--font-text); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 1rem; }
.link-arrow--quiet span { color: var(--muted); font-weight: 500; }
.hero .link-arrow--quiet span, .page-hero .link-arrow--quiet span { color: #aebbc8; }
.btn-row .link-arrow { padding: 0 6px; }
.btn-row .link-arrow:hover { color: var(--nano); }
.on-dark .link-arrow:hover, .hero .link-arrow:hover, .page-hero .link-arrow:hover, .cta-band .link-arrow:hover { color: var(--nano-hi); }

/* ---------- Home hero: project reel instead of the "choose" card ---------- */
.hero-grid--solo { grid-template-columns: minmax(0, 1fr); }
.hero h1 { max-width: 13ch; }
.hero-reel { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.hero-reel button { position: relative; text-align: left; padding: 16px 0 0; color: #8f9cab; transition: color .3s; }
.hero-reel button::before, .hero-reel button::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; border-radius: 2px; }
.hero-reel button::before { right: 0; background: rgba(255,255,255,.18); }
.hero-reel button::after { width: 0; background: var(--nano-hi); }
.hero-reel button.is-active { color: #fff; }
.hero-reel button.is-active::after { animation: reelFill var(--reel, 6.5s) linear forwards; }
.hero-reel.is-paused button.is-active::after { animation: none; width: 100%; }
@keyframes reelFill { to { width: 100%; } }
.hero-reel b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; }
.hero-reel small { display: block; margin-top: 4px; font-size: .85rem; opacity: .85; }
.hero-reel button:hover { color: #dfe6ee; }
@media (max-width: 720px) {
  .hero-reel { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .hero-reel b, .hero-reel small { display: none; }
  .hero-reel button { padding-top: 0; height: 14px; }
  .hero-reel-label { display: block !important; }
}
.hero-reel-label { display: none; margin-top: 12px; font-size: .9rem; color: #c9d3dd; }

/* ---------- Home systems index (hover list + live preview) ---------- */
.sys-index { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sys-index-list { border-top: 1px solid var(--line); counter-reset: none; }
.sys-index-list a { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: padding .45s var(--ease-out), background-color .3s; }
.sys-index-list a::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--nano-hi); transition: width .6s var(--ease-out); }
.sys-index-list .si-num { font-family: var(--font-num); font-size: 1.35rem; color: #5d6b79; transition: color .3s; }
.sys-index-list strong { display: block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: clamp(1.45rem, 2.3vw, 2rem); letter-spacing: .01em; line-height: 1; color: #c7d0da; transition: color .3s; }
.sys-index-list small { display: block; margin-top: 6px; color: #7f8e9e; font-size: .92rem; }
.sys-index-list .icon { width: 22px; height: 22px; color: #5d6b79; transition: transform .45s var(--ease-out), color .3s; }
.sys-index-list .si-thumb { display: none; }
.sys-index-list a.is-on, .sys-index-list a:hover, .sys-index-list a:focus-visible { padding-left: 14px; }
.sys-index-list a.is-on::before { width: 100%; }
.sys-index-list a.is-on .si-num { color: var(--nano-hi); }
.sys-index-list a.is-on strong { color: #fff; }
.sys-index-list a.is-on .icon { color: #fff; transform: translateX(4px); }
.sys-index-list .badge-new { margin-left: 8px; vertical-align: 4px; }
.sys-index-view { position: sticky; top: calc(var(--header-h) + 28px); }
.si-frame { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius-l); overflow: hidden; background: var(--ink-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.si-frame figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease-out), transform 1.4s var(--ease-out); }
.si-frame figure.is-on { opacity: 1; transform: none; }
.si-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.si-frame figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,9,12,.9), rgba(7,9,12,0) 55%); }
.si-frame figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.6vw, 30px); }
.si-frame figcaption p { color: #d5dde5; max-width: 44ch; }
.si-frame figcaption .tag { margin-bottom: 12px; }
.sys-index-foot { margin-top: 26px; }
@media (max-width: 900px) {
  .sys-index { grid-template-columns: minmax(0, 1fr); }
  .sys-index-view { display: none; }
  .sys-index-list a { grid-template-columns: 72px minmax(0, 1fr) auto; padding: 14px 0; }
  .sys-index-list a.is-on, .sys-index-list a:hover { padding-left: 0; }
  .sys-index-list .si-num { display: none; }
  .sys-index-list .si-thumb { display: block; width: 72px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--ink-3); }
  .sys-index-list .si-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .sys-index-list strong { color: #fff; font-size: 1.35rem; }
}

/* ---------- Project reel (free horizontal scroll, never pinned) ---------- */
.reel-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(26px, 3.4vw, 44px); }
.reel-head .h2 { margin: 0; }
.reel-head .lead { margin-top: 14px; }
.reel-ctrl { display: flex; align-items: center; gap: 10px; }
.reel-ctrl .link-arrow { margin-right: 10px; }
.reel-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--fg); transition: background-color .25s, color .25s, border-color .25s, opacity .25s; }
.reel-btn svg { width: 20px; height: 20px; }
.reel-btn:hover:not(:disabled) { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.reel-btn:disabled { opacity: .3; cursor: default; }
.reel-track { display: flex; gap: clamp(14px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 4px var(--gutter) 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.reel-track::-webkit-scrollbar { display: none; }
.reel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.reel-track.is-dragging a { pointer-events: none; }
.reel-track > * { scroll-snap-align: start; }
.reel-track .project-card { width: clamp(270px, 30vw, 440px); aspect-ratio: 4 / 5; }
.reel-track .project-card--wide { width: clamp(300px, 46vw, 700px); aspect-ratio: auto; }
.reel-track .project-card img { pointer-events: none; }
@media (min-width: 1400px) { .reel-track { padding-left: calc((100vw - var(--container)) / 2); scroll-padding-left: calc((100vw - var(--container)) / 2); } }
.reel-end { flex: none; width: clamp(240px, 22vw, 320px); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 28px; border-radius: var(--radius-l); background: var(--ink); color: #fff; }
.reel-end strong { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 1.7rem; line-height: 1; }
.reel-end span { color: #93a0ae; font-size: .95rem; }
.reel-end .icon { width: 30px; height: 30px; color: var(--nano-hi); margin-bottom: auto; transition: transform .4s var(--ease-out); }
.reel-end:hover .icon { transform: translate(4px, -4px); }
.project-card .pc-body h3 { text-shadow: 0 2px 18px rgba(0,0,0,.35); }

/* ---------- Clients ---------- */
.clients-label { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.clients-label p { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; color: var(--fg-2); }
.clients-label a { font-size: .95rem; }
.theme-light .logo-tile { border-color: transparent; }

/* ---------- Process as a numbered line instead of four boxed cards ---------- */
.process--line { gap: clamp(16px, 2vw, 30px); }
.process--line .process-step { background: none; border: 0; border-radius: 0; overflow: visible; }
.process--line .ps-media { border-radius: var(--radius); }
.process--line .ps-body { padding: 18px 0 0; border-top: 0; }
.process--line .ps-num { display: inline-flex; align-items: center; gap: 10px; font-size: 1.5rem; color: var(--nano); }
.process--line .ps-num::after { content: ""; width: 48px; height: 2px; background: var(--line-2); }

/* ---------- Visualizer teaser ---------- */
.swatch-wall { gap: 12px; }
.swatch-wall .swatch-chip { box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); transition: transform .5s var(--ease-out); }
.swatch-wall .swatch-chip:nth-child(3n) { transform: translateY(14px); }

/* ---------- About block on home (no value grid) ---------- */
.crew-note { margin-top: 26px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 28px; font-size: .98rem; color: var(--fg-2); }
.crew-note span { display: inline-flex; align-items: center; gap: 8px; }
.crew-note .icon { width: 18px; height: 18px; color: var(--nano); }
@media (max-width: 560px) { .crew-note { grid-template-columns: 1fr; } }

/* ---------- Locations + financing in one block ---------- */
.finance--slim { margin-top: clamp(16px, 2vw, 24px); grid-template-columns: auto minmax(0, 1fr) auto; padding: 18px 26px; border-radius: var(--radius); }
.finance--slim img { width: 64px; border-radius: 10px; }
.finance--slim h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.finance--slim p { margin-top: 4px; font-size: .95rem; }
@media (max-width: 760px) { .finance--slim { grid-template-columns: auto minmax(0, 1fr); } .finance--slim .link-arrow { grid-column: 1 / -1; } }
.loc-card { background: var(--card); }
.theme-light .loc-card, .theme-light .finance { border-color: transparent; box-shadow: 0 1px 2px rgba(7,9,12,.05); }

/* ---------- CTA band: one button, phones beside it ---------- */
.cta-band .h2 { max-width: 14ch; margin-top: 0 !important; }
.cta-band .btn-row { align-items: center; gap: 18px; }
.cta-band::before { background: radial-gradient(900px 420px at 0% 120%, rgba(46,163,220,.42), transparent 60%), linear-gradient(100deg, rgba(7,9,12,.94) 28%, rgba(7,9,12,.45)); }

/* ---------- Footer ---------- */
.footer-brand .btn { display: none; }

/* ---------- Cards in concrete sections lift off the background ---------- */
.theme-light .card, .theme-light .sys-card, .theme-light .process-step:not(.process--line *), .theme-light .values { border-color: transparent; box-shadow: 0 1px 2px rgba(7,9,12,.05), 0 10px 30px -18px rgba(7,9,12,.18); }
.theme-light .values > div + div { border-left-color: var(--line); }

/* section headings revealed with a plain rise instead of word-by-word */
.js .h2[data-reveal="up"]:not(.is-in) { transform: translateY(26px); }
.intro-body p:first-child::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
.cta-band .lead { margin-top: 20px; }
@media (max-width: 760px) {
  .process--line { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .process--line::-webkit-scrollbar { display: none; }
  .process--line .process-step { flex: none; width: 76%; scroll-snap-align: start; }
  .locations { gap: 10px; }
  .loc-card { padding: 20px; }
}


/* ==========================================================================
   Round 5 — cleaner type system (reference: client-approved GripTek site)
   Bebas Neue for statements · Syne for subheads & buttons · DM Sans for text.
   Centered section heads, more air, no chips/mono labels stacked on titles.
   ========================================================================== */
:root {
  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-head: "Syne", "DM Sans", Arial, sans-serif;
  --font-text: "DM Sans", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-num: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-mono: "DM Sans", -apple-system, Arial, sans-serif;
}
html { font-synthesis: none; }
body { font-family: var(--font-text); font-size: 17px; line-height: 1.75; color: var(--fg); }

/* ---- statements: tall condensed caps ---- */
.display, .h1, .h2, .path-card h3, .stack-card h3, .footer-big, .page-404 .big, .cta-band .h2,
.wz-step h2, .form-success h3, .fw-gate h3, .dir-group-head h2, .mobile-menu .m-link, .mobile-menu summary {
  font-family: var(--font-display); font-weight: 400; font-stretch: normal; text-transform: uppercase; letter-spacing: 0;
}
.display { font-size: clamp(3.2rem, 8.4vw, 7.4rem); line-height: .9; }
.h1 { font-size: clamp(3rem, 6.8vw, 6rem); line-height: .92; }
.h2 { font-size: clamp(2.5rem, 4.8vw, 4rem); line-height: .95; }
.hero h1 { max-width: 12ch; margin: 0 0 24px; }
.path-card h3 { font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: .92; }
.wz-step h2 { font-size: clamp(2.2rem, 3.6vw, 3rem); }
.form-success h3, .fw-gate h3 { font-size: clamp(2.2rem, 3.4vw, 3rem); }
.mobile-menu .m-link, .mobile-menu summary { font-size: 2rem; }

/* ---- subheads: Syne, sentence case ---- */
.h3, .h4, .card h3, .sys-card-body h3, .process-step h3, .loc-card h3, .values h3, .finance h3,
.layer-legend strong, .timeline h3, .qs-body h3, .color-drawer .cd-body h4, .project-card .pc-body h3,
.hero-card h2, .mega-item strong, .choice .c-box strong, .studio-label strong, .studio-foot .sf-sel strong,
.faq summary, .project-block h3, .color-group-head h3, .sys-pager strong, .sys-index-list strong, .reel-end strong,
.specs-title, .ideal-for h3, .tech-details summary span, .spec-strip-head strong, .dir-body strong, .sys-row strong,
.hero-reel b, .clients-label p, .td-body h3 {
  font-family: var(--font-head); font-weight: 700; font-stretch: normal; text-transform: none; letter-spacing: -0.01em; line-height: 1.2;
}
.h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.card h3, .values h3, .process-step h3 { font-size: 1.3rem; }
.sys-card-body h3 { font-size: 1.45rem; line-height: 1.15; }
.project-card .pc-body h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); text-shadow: none; }
.project-block h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.1; margin: 0 0 10px; }
.color-group-head h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.loc-card h3 { font-size: 1.5rem; }
.finance h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.sys-index-list strong { font-size: clamp(1.25rem, 1.8vw, 1.55rem); }
.sys-row strong { font-size: 1.3rem; }
.layer-legend strong, .timeline h3 { font-size: 1.15rem; }
.faq summary { font-size: 1.1rem; }
.mega-item strong { font-size: 1rem; }
.swatch-name { font-family: var(--font-text); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .92rem; }
.choice .c-box strong { font-size: 1.02rem; }
.hero-reel b { font-size: 1rem; letter-spacing: 0; }
.clients-label p { font-size: 1.15rem; color: var(--fg); }
.contact-mini strong, .loc-card a.loc-phone { font-family: var(--font-text); font-weight: 700; letter-spacing: 0; font-size: 1.05rem; }

/* ---- text ---- */
.lead { font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.8; font-weight: 300; }
.theme-light .lead, .theme-white .lead { color: #4a5561; }
.prose p, .card p, .sys-card-body p, .process-step p, .timeline p, .values p, .layer-legend span, .loc-card .loc-cities { font-size: 1rem; line-height: 1.75; }
.intro-lede { margin-top: 22px; padding-left: 0; border-left: 0; font-family: var(--font-text); font-weight: 400; font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--fg); max-width: 40ch; }

/* ---- small labels: Syne caps, brand blue, used sparingly ---- */
.mono, .eyebrow, .breadcrumbs, .card-num, .footer-col h4, .compare thead th, .dp-title span, .specs-note,
.hero-specs dt, .studio-group h3, .studio-label small, .studio-foot .sf-sel small, .qs-estimate .mono, .contact-mini small, .layers-counter {
  font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.mono { font-size: .72rem; }
.tag { font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; font-size: .66rem; }

/* ---- numerals: Bebas in brand blue ---- */
.stat strong, .hero-bar strong, .collage .float-badge strong, .qs-estimate strong, .stack-card-num, .adv-num, .si-num,
.layer-legend .ll-num, .process-step .ps-num, .tl-dot, .sys-row .mono, .dir-num, .layers-counter span, .dp-no {
  font-family: var(--font-num); font-weight: 400; letter-spacing: .02em;
}
.adv-num { font-size: 2rem; }
.sys-index-list .si-num { font-size: 1.7rem; }
.process--line .ps-num { font-size: 2.6rem; line-height: 1; }
.layer-legend .ll-num { font-size: 1.6rem; }
.stat strong { font-size: clamp(3.4rem, 6vw, 5.4rem); color: var(--nano); }

/* ---- buttons & nav ---- */
.btn { font-family: var(--font-head); font-weight: 600; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; }
.btn--sm { font-size: .78rem; }
.btn--lg { font-size: .9rem; min-height: 58px; padding: 0 32px; }
.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.link-arrow--quiet { font-family: var(--font-text); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.nav-link { font-family: var(--font-text); font-weight: 600; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; }
.header-phone { font-family: var(--font-text); font-size: .95rem; letter-spacing: 0; }
.chip, .tabs-nav button, .seg button, .sys-switch nav a, .pill-list li, .path-card ul li, .action-bar a, .sys-compare, .hint {
  font-family: var(--font-text); font-weight: 600; text-transform: none; letter-spacing: 0;
}
.field label, .field .label { font-family: var(--font-text); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .92rem; }
.mobile-menu .m-sub a { font-family: var(--font-text); text-transform: none; letter-spacing: 0; font-size: 1.05rem; }

/* ---- centered section heads with air ---- */
.section-head, .section-head--row { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .stack-y { display: grid; justify-items: center; }
.section-head .lead { margin-inline: auto; max-width: 56ch; }
.section-head .btn-row { justify-content: center; }
.section-head .hint { margin-inline: auto; }
.reel-head { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.reel-head .lead { margin-inline: auto; }
.clients-label { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 8px; }

/* ---- inner page heroes: centered, facts as a quiet row ---- */
.page-hero { text-align: center; }
.page-hero-grid { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 34px; }
.page-hero-grid > div { display: flex; flex-direction: column; align-items: center; }
.page-hero h1 { max-width: 16ch; margin: 16px auto 18px; }
.page-hero .lead { margin-inline: auto; max-width: 58ch; }
.page-hero .btn-row { justify-content: center; }
.page-hero::before { background: linear-gradient(to top, rgba(7,9,12,.94) 0%, rgba(7,9,12,.62) 50%, rgba(7,9,12,.45) 100%); }
.breadcrumbs { justify-content: center; font-size: .7rem; }
.hero-specs { width: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.hero-specs div { border-top: 0; padding: 4px 26px; text-align: center; }
.hero-specs div + div { border-left: 1px solid rgba(255,255,255,.16); }
.hero-specs dt { font-size: .66rem; color: var(--nano-hi); }
.hero-specs dd { font-size: 1rem; margin-top: 4px; }
@media (max-width: 640px) { .hero-specs div { padding: 8px 14px; } .hero-specs div + div { border-left: 0; } }

/* ---- remove stacked chips / meta lines over titles ---- */
.path-card .tag, .si-frame .tag, .sys-card-media .tag { display: none; }
.pc-sub { margin-top: 6px; font-size: .9rem; color: #c9d3dd; }
.project-card .pc-count { font-family: var(--font-text); letter-spacing: 0; }
.pb-sub { color: var(--muted); font-size: .95rem; }
.project-block .pb-info p { font-size: 1rem; line-height: 1.75; }

/* ---- calmer cards ---- */
.card-icon { border-radius: 50%; }
.values > div { text-align: left; }
.section-head { gap: 22px; }
.loc-label { margin-top: -6px; font-size: .88rem; font-weight: 600; color: var(--nano); }
.card { gap: 12px; }
.sys-pager .mono { font-size: .68rem; }
.theme-light .cta-band .lead, .theme-white .cta-band .lead { color: #c9d3dd; }


/* ==========================================================================
   Round 6 — white base, few highlighted zones, full rows, better phones
   ========================================================================== */
body { background: #fff; }
.theme-light, .theme-white { --bg: #fff; --card: #fff; --card-2: #f4f7fa; background: #fff; background-image: none; }
/* the one light highlight: a clear brand-blue wash, used sparingly */
.theme-tint { --bg: #eaf5fc; --card: #fff; --card-2: #f4f9fd; --line: rgba(13,111,165,.14); --line-2: rgba(13,111,165,.24);
  background: linear-gradient(180deg, #eaf5fc, #e1f0fa); color: var(--fg); }
.sys-switch, .color-tabs { background: rgba(255,255,255,.96); }
/* consecutive white sections: don't double the gap, separate with a hairline */
.section:is(.theme-light, .theme-white) + .section:is(.theme-light, .theme-white) { padding-top: calc(var(--section-y) * .6); }
.section:is(.theme-light, .theme-white) + .section:is(.theme-light, .theme-white)::before { content: ""; position: absolute; top: 0; left: 50%; width: min(var(--container), calc(100% - var(--gutter) * 2)); transform: translateX(-50%); height: 1px; background: var(--line); }
.section--flush-top::before { display: none !important; }
.section:is(.theme-light, .theme-white) + .section--flush-top { padding-top: 0; }

/* cards on white: hairline + soft shadow */
.theme-light .card, .theme-light .sys-card, .theme-light .values, .theme-light .loc-card, .theme-light .finance,
.theme-white .card, .theme-white .sys-card, .theme-white .loc-card, .theme-white .finance, .theme-tint .card, .theme-tint .loc-card, .theme-tint .finance {
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(7,9,12,.04), 0 12px 32px -22px rgba(7,9,12,.22);
}
.theme-light .process-step:not(.process--line *) { border: 1px solid var(--line); box-shadow: none; }
.logo-tile { border: 1px solid var(--line) !important; }
.swatch { border-color: var(--line); }

/* ---------- full rows: grids sized to their item count ---------- */
.swatch-grid.fit-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.swatch-grid.fit-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.swatch-grid.fit-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1024px) { .swatch-grid.fit-12, .swatch-grid.fit-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .swatch-grid.fit-12, .swatch-grid.fit-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .swatch-grid.fit-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .swatch-grid.fit-8 .swatch-name { font-size: .8rem; padding: 7px 8px 8px; } }
.grid-3:has(> :nth-child(2):last-child), .grid-4:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sys-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .sys-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.values:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adv-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ideal-for ul.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .adv-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* project photo mosaics never leave a lonely tile */
.project-block .pb-photos .g-item:nth-child(2):last-child { grid-column: span 6; aspect-ratio: 16 / 9; }
.project-block .pb-photos .g-item:nth-child(3n+4):last-child { grid-column: span 6; aspect-ratio: 16 / 9; }
.project-block .pb-photos .g-item:nth-child(3n+4):nth-last-child(2), .project-block .pb-photos .g-item:nth-child(3n+5):last-child { grid-column: span 3; aspect-ratio: 4 / 3; }

/* ---------- phones: use the width, avoid one long narrow column ---------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 64px; }
  .h2 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .display { font-size: clamp(3rem, 15vw, 4.2rem); }
  .h1 { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .lead { font-size: 1.04rem; line-height: 1.7; }
  .section-head { margin-bottom: 28px; gap: 14px; }
  .btn--lg { min-height: 54px; padding: 0 24px; }
  .btn-row { gap: 14px 18px; }
  /* two-up blocks instead of stacking everything */
  .values, .values:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values > div { padding: 18px 16px; }
  .values > div + div { border-left: 0; }
  .values > div:nth-child(even) { border-left: 1px solid var(--line); }
  .values > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .values:has(> :nth-child(3):last-child) > div:nth-child(3) { grid-column: 1 / -1; }
  .values svg { width: 24px; height: 24px; margin-bottom: 12px; }
  .values h3 { font-size: 1.05rem; }
  .values p { font-size: .9rem; line-height: 1.55; }
  .grid-3:has(> :nth-child(2):last-child), .grid-4:has(> :nth-child(2):last-child), .grid-4:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); }
  .sys-grid, .sys-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sys-card-body { padding: 14px; gap: 6px; }
  .sys-card-body h3 { font-size: 1.05rem; }
  .sys-card-body p { font-size: .86rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .sys-card-foot { padding-top: 10px; }
  .sys-card-foot .swatches { display: none; }
  .sys-card-media { aspect-ratio: 4 / 3; }
  .stats .stat { padding: 18px 12px; }
  .stat strong { font-size: 3rem; }
  .stat > span { font-size: .88rem; }
  .ideal-for ul, .ideal-for ul.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .ideal-for li { font-size: .92rem; }
  .adv-grid, .adv-grid.cols-4, .adv-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
  .adv-grid li { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; }
  .adv-grid p { font-size: .95rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .locations { grid-template-columns: minmax(0, 1fr); }
  .loc-card { padding: 18px; gap: 8px; }
  .path-card { min-height: 260px; }
  .path-card--main { min-height: 360px; }
  .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .paths .path-card--main { grid-column: 1 / -1; }
  .paths .path-card:not(.path-card--main) { min-height: 240px; padding: 16px; }
  .paths .path-card:not(.path-card--main) h3 { font-size: 1.8rem; }
  .paths .path-card:not(.path-card--main) p { font-size: .85rem; line-height: 1.45; }
  .paths .path-card .path-go { width: 40px; height: 40px; top: 12px; right: 12px; }
  .project-block .pb-photos { gap: 6px; }
  .masonry { columns: 2; column-gap: 8px; }
  .masonry .g-item { margin-bottom: 8px; border-radius: 10px; }
  .cta-band { padding: 30px 20px; border-radius: 20px; }
  .contact-mini a { padding: 12px 14px; }
  .reel-track .project-card, .reel-track .project-card--wide { width: 78vw; aspect-ratio: 4 / 5; }
  .split { gap: 28px; }
  .collage { margin-bottom: 40px; }
  .hero-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 14px 0; }
  .hero-specs div:nth-child(even) { border-left: 1px solid rgba(255,255,255,.16); }
  .page-hero { min-height: 0; padding-bottom: 40px; }
  .tabs-nav { width: 100%; }
  .choices--lg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice .c-box { padding: 14px; }
  .choice .c-img { margin: -14px -14px 8px; }
  .choice .c-box small { font-size: .78rem; }
  .compare-wrap { margin-inline: calc(var(--gutter) * -1); border-radius: 0; border-left: 0; border-right: 0; }
  .icon-strip li { padding: 14px 10px; gap: 10px; }
  .wizard { padding: 18px; }
}
@media (max-width: 380px) {
  .sys-grid, .sys-grid:has(> :nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); }
  .choices, .choices--lg { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .layers-3d { height: 300px; }
  .layers-3d .ls { width: min(56%, 230px); }
  .layers-3d.is-in .layer { transform: translateZ(calc(var(--i) * 40px + var(--lift, 0px))); }
  .layer-legend li { grid-template-columns: 36px 1fr; gap: 10px; padding: 12px 0; }
}
/* mega menu anchored to the header, not to the nav item, so it never runs off-screen */
.nav > li.has-mega { position: static; }
.header-inner > nav { align-self: stretch; display: flex; align-items: center; }
.mega { top: calc(100% - 6px); left: 50%; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; }
.mega::before { top: -20px; height: 20px; }
/* photo captions: plain text, and only the title on small tiles */
.g-item .g-cap span { font-family: var(--font-text); letter-spacing: 0; text-transform: none; font-size: .8rem; }
@media (max-width: 640px) {
  .masonry .g-item .g-cap { padding: 26px 10px 8px; }
  .masonry .g-item .g-cap span { display: none; }
  .masonry .g-item .g-cap strong { font-size: .82rem; line-height: 1.2; }
}
/* header must always fit: tighter nav, phone number collapses, hamburger earlier */
.nav { gap: 0; }
.nav-link { padding: 0 11px; font-size: .8rem; letter-spacing: .05em; }
.header-inner { gap: 18px; }
@media (max-width: 1360px) { .header-phone .ph-text { display: none; } }
@media (max-width: 1240px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
}


/* ==========================================================================
   Round 7 — mobile hardening
   ========================================================================== */
/* sticky helper: only on wide screens, never on phones/tablets */
.sticky-col { position: static; }
@media (min-width: 961px) { .sticky-col { position: sticky; top: calc(var(--header-h) + 40px); } }
@media (max-width: 960px) {
  .sticky-col, .intro-figure, .project-block .pb-info, .sys-index-view, .quote-summary, .dir-tree { position: static !important; top: auto !important; }
  .swatch-wall { transform: none !important; }
  .swatch-wall .swatch-chip:nth-child(3n) { transform: none; }
}

/* project photos inside a project: the project name is already beside them */
.project-block .pb-photos .g-cap { display: none; }

/* photo galleries: even grid, tiles always fill the row */
.masonry { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 20vw, 290px); gap: 12px; }
.masonry .g-item { margin: 0; height: 100%; }
.masonry .g-item img { width: 100%; height: 100%; object-fit: cover; }
.masonry:has(> :last-child:nth-child(3n+1)) > :first-child { grid-column: 1 / -1; }
.masonry:has(> :last-child:nth-child(3n+2)) > :first-child { grid-column: span 2; }
@media (max-width: 640px) {
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 8px; columns: auto; }
  .masonry:has(> :last-child:nth-child(3n+1)) > :first-child, .masonry:has(> :last-child:nth-child(3n+2)) > :first-child { grid-column: auto; }
  .masonry:has(> :last-child:nth-child(odd)) > :first-child { grid-column: 1 / -1; }
}
/* hero copy and buttons always fit the screen */
.page-hero-grid > div { width: 100%; min-width: 0; }
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; }
  .btn-row > .btn { max-width: 100%; }
}
@media (max-width: 640px) {
  .sys-row > .mono { grid-column: 1; grid-row: 1 / span 2; align-self: center; }
  .sys-row > span.muted:not(.mono) { grid-column: 2; grid-row: 2; }
}
@media (max-width: 960px) { .js [data-reveal="clip"] img, .js [data-reveal="clip-x"] img { transform: none; } }
.g-item--nocap .g-cap { display: none; }
@media (max-width: 960px) { .layers-scroll .layer { transition: transform 1s var(--ease-out), opacity .6s; } }
@media (max-width: 640px) {
  .swatch-grid:not([class*="fit-"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .swatch-grid--sm:not([class*="fit-"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .swatch-grid .swatch-name { font-size: .78rem; padding: 6px 7px 8px; line-height: 1.15; }
  .swatch { border-radius: 10px; }
  .color-group-head .btn-row { gap: 10px 18px; }
  .sys-card-foot .mono { display: none; }
  .sys-card-foot { justify-content: flex-end; }
  .compare { min-width: 1040px; }
  .compare th, .compare td { padding: 12px 14px; }
}
.card .socials a, .theme-white .socials a, .theme-light .socials a { color: var(--fg-2); border-color: var(--line-2); }
.card .socials a:hover, .theme-white .socials a:hover, .theme-light .socials a:hover { color: #fff; }

/* ---------- Local pages (McAllen & Valley cities, cost guide) ---------- */
.area-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.area-facts > div { display: flex; gap: 14px; padding: clamp(18px, 2.2vw, 26px); background: var(--card); }
.area-facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.area-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.area-facts svg { width: 26px; height: 26px; flex: none; color: var(--nano); }
.area-facts strong { display: block; font-weight: 700; line-height: 1.25; }
.area-facts small { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.area-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.area-projects .project-card { width: auto; aspect-ratio: 4 / 5; }
.cost-mini, .price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cost-mini li, .price-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.theme-dark .cost-mini li { border-color: rgba(255,255,255,.12); }
.theme-dark .cost-mini { border-color: rgba(255,255,255,.12); }
.cost-mini span { color: var(--muted); }
.theme-dark .cost-mini span { color: #9fb0c0; }
.cost-mini strong, .price-list b { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 400; letter-spacing: .02em; white-space: nowrap; }
.cost-mini small, .price-list b small { font-family: var(--font-text); font-size: .8rem; color: var(--muted); letter-spacing: 0; }
.price-list a { color: inherit; text-decoration: none; transition: padding .3s var(--ease-out), color .3s; }
.price-list a:hover { padding-left: 8px; color: var(--nano); }
.price-list span strong { display: block; font-weight: 700; }
.price-list span small { color: var(--muted); font-size: .88rem; }
.garage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.garage-card { padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.garage-card h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: .02em; }
.garage-card > span { display: block; margin-top: 6px; font-size: .92rem; }
.garage-card dl { margin: 22px 0 0; }
.garage-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.garage-card dt { color: var(--muted); }
.garage-card dd { margin: 0; font-weight: 700; white-space: nowrap; }
.area-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 8px 0 4px; }
.area-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--fg-2); text-decoration: none; }
.area-links a svg { width: 16px; height: 16px; color: var(--nano); }
.area-links a:hover { color: var(--nano); }
.area-es { max-width: 820px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.area-es .lead { margin: 0; }
.area-address { display: flex; gap: 12px; margin: 24px 0 18px; font-weight: 600; }
.area-address svg { width: 22px; height: 22px; color: var(--nano); flex: none; }
.area-card { text-decoration: none; color: inherit; }
.area-card .link-arrow { margin-top: auto; }
.loc-card .link-arrow { margin-top: 4px; font-size: .92rem; }
.footer-areas a { color: inherit; text-decoration: none; }
.footer-areas a:hover { color: var(--nano-hi); }
@media (max-width: 1024px) { .area-projects, .garage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .area-projects > :nth-child(3):last-child, .garage-grid > :nth-child(3):last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; } .garage-grid > :nth-child(3):last-child { aspect-ratio: auto; } }
@media (max-width: 640px) { .area-facts { grid-template-columns: minmax(0, 1fr); } .area-facts > div { border-right: 0 !important; border-bottom: 1px solid var(--line); } .area-facts > div:last-child { border-bottom: 0; } .area-projects { gap: 10px; } .area-projects .project-card { aspect-ratio: 3 / 4; } .area-projects > :nth-child(3):last-child { aspect-ratio: 16 / 10; } .garage-grid { grid-template-columns: minmax(0, 1fr); } }
