/* ==========================================================================
   wecan — nacew.com
   Bright, editorial, optimistic. Greyscale is rented; the spectrum is yours.
   Swap the five brand hexes in :root to retheme everything.
   ========================================================================== */

:root {
  /* Brand (sampled from the live site — to be confirmed) */
  --green:   #4F7629;
  --teal:    #2F737C;
  --blue:    #6178B9;
  --violet:  #7E5AA6;
  --crimson: #C2424B;
  --spectrum: linear-gradient(90deg, var(--green), var(--teal), var(--blue), var(--violet), var(--crimson));

  --canvas:  #F7F6F4;
  --ink:     #23262A;
  --ink-60:  rgba(35, 38, 42, 0.64);
  --ink-40:  rgba(35, 38, 42, 0.42);
  --line:    rgba(35, 38, 42, 0.14);
  --line-soft: rgba(35, 38, 42, 0.08);
  --ghost:   rgba(35, 38, 42, 0.045);
  --pill:    #111111;

  /* the wash — JS retints this as washed sections scroll into view */
  --wash-color: transparent;

  --font-serif: "Fraunces", "Georgia", serif;
  --font-sans: "Switzer", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  --nav-h: 80px;
  --gutter: clamp(20px, 5vw, 100px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  font-weight: 450;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
strong { font-weight: 700; }
em { font-style: italic; }

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.grad-text {
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- the wash: a soft brand tint that follows the scroll ---------- */
.wash {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 75% at 50% 12%, var(--wash-color), transparent 72%);
  transition: background 1.1s ease;
}
main, .nav, footer { position: relative; z-index: 1; }

/* ---------- ghost letterforms ---------- */
.ghost {
  position: absolute;
  z-index: -1;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 0.7;
  color: var(--ghost);
  font-size: clamp(280px, 52vw, 880px);
  user-select: none;
  pointer-events: none;
}

/* ---------- the brick logo: loading & transitions build it from LEGO ---------- */
#veil {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--canvas);
}
.transit {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  place-items: center;
  background: var(--canvas);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.brick-logo { display: flex; gap: 8px; }
.bk {
  position: relative;
  width: clamp(50px, 8vw, 68px);
  height: clamp(42px, 6.6vw, 56px);
  border-radius: 9px;
  background: var(--c, var(--ink));
  display: grid;
  place-items: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: #fff;
  box-shadow:
    inset 0 -6px 0 rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.25),
    0 14px 26px -14px rgba(35, 38, 42, 0.4);
}
.bk::before, .bk::after {
  content: "";
  position: absolute;
  top: -9px;
  width: 30%;
  height: 11px;
  border-radius: 5px 5px 2px 2px;
  background: var(--c, var(--ink));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28);
}
.bk::before { left: 12%; }
.bk::after { right: 12%; }
html.static #veil { display: none; }

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 300;
  pointer-events: none;
  border-radius: 50%;
}
.cursor-dot { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; background: var(--ink); }
.cursor-ring {
  width: 36px; height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid rgba(35, 38, 42, 0.45);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              margin 0.3s var(--ease-out), border-color 0.3s, background-color 0.3s;
}
.cursor-ring.is-hot {
  width: 56px; height: 56px;
  margin: -28px 0 0 -28px;
  border-color: transparent;
  background: rgba(97, 120, 185, 0.18);
}
html.has-cursor body, html.has-cursor a, html.has-cursor button { cursor: none; }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.92em 1.7em;
  border-radius: 999px;
  border: 1.5px solid var(--pill);
  background: var(--pill);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              background-color 0.3s, color 0.3s;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(35, 38, 42, 0.4); }
.pill-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.pill-light:hover { border-color: var(--ink); box-shadow: none; }
.pill-small { padding: 0.68em 1.25em; font-size: 0.85rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(247, 246, 244, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav-mark { display: flex; align-items: baseline; gap: 0.6em; }
.mark-word {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.mark-word.is-mirrored { transform: scaleX(-1); }
.mark-domain { color: var(--ink-40); font-size: 0.62rem; }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav-link {
  color: var(--ink-60);
  font-weight: 550;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--spectrum);
  transition: right 0.4s var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }

/* ---------- Clients dropdown ---------- */
.nav-dd { position: relative; }
.nav-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 550;
}
.dd-caret {
  width: 6px; height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform 0.3s var(--ease-out);
  opacity: 0.65;
}
.nav-dd-toggle[aria-expanded="true"] .dd-caret { transform: rotate(-135deg) translate(-2px, -2px); }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 260px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  display: grid;
  gap: 2px;
  box-shadow: 0 22px 48px -28px rgba(11, 11, 12, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 60;
}
/* invisible bridge so the hover doesn't drop in the gap above the menu */
.nav-dd-menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -18px;
  height: 18px;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu,
.nav-dd-toggle[aria-expanded="true"] + .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-item {
  display: grid;
  gap: 3px;
  padding: 11px 14px;
  border-radius: 11px;
  transition: background 0.2s;
}
.nav-dd-item:hover, .nav-dd-item:focus-visible { background: var(--line-soft); }
.dd-title { font-weight: 650; color: var(--ink); font-size: 0.95rem; letter-spacing: -0.01em; }
.dd-desc { font-size: 0.66rem; color: var(--ink-40); letter-spacing: 0.05em; }

.menu-btn { display: none; flex-direction: column; gap: 5px; padding: 12px 8px; background: none; border: 0; }
.menu-btn i { width: 24px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease-out), opacity 0.3s; }
.menu-open .menu-btn i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn i:nth-child(2) { opacity: 0; }
.menu-open .menu-btn i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(247, 246, 244, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-list { text-align: center; display: grid; gap: clamp(6px, 2vh, 16px); }
.menu-list a {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: 1.15;
  color: var(--ink-60);
  transition: color 0.25s;
}
.menu-list a:hover { color: var(--ink); }
.menu-list .mono { color: var(--ink-40); margin-top: 14px; }

@media (max-width: 940px) {
  .nav-link { display: none; }
  .nav-dd { display: none; }
  .menu-btn { display: flex; }
  .mark-domain { display: none; }
}

/* ---------- type system ---------- */
.eyebrow { color: var(--ink-40); display: block; margin-bottom: 20px; }

.h-serif {
  font-family: var(--font-serif);
  font-weight: 380;
  letter-spacing: -0.01em;
  line-height: 1.06;
}
.h-sans {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.d1 { font-size: clamp(2.7rem, 7.6vw, 6.6rem); }
.d2 { font-size: clamp(2rem, 5vw, 4.2rem); }
.d3 { font-size: clamp(1.5rem, 3vw, 2.4rem); }

/* serif runs optically larger than the grotesque — balance the pairing.
   Sizing the LINE WRAPPER (not the inner span) keeps the two rows snug:
   the wrapper's line box shrinks with its content, killing the big gap. */
.d1 .line:has(.h-serif), .d2 .line:has(.h-serif) { font-size: 0.86em; }
.d3.h-serif { font-size: 0.92em; }

.line {
  display: block;
  overflow: hidden;
  line-height: 1.06;
  padding-bottom: 0.09em;
  margin-bottom: -0.06em;
}
.line-inner { display: inline-block; vertical-align: top; will-change: transform; }

.lede { color: var(--ink-60); max-width: 56ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.lede strong { color: var(--ink); }

.rule { height: 1px; background: var(--line); margin: 0 var(--gutter); }
.rule-spectrum { height: 2px; background: var(--spectrum); margin: 0 var(--gutter); transform-origin: left center; }

/* ---------- heroes ---------- */
.hero {
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 6vh) var(--gutter) 9vh;
  position: relative;
  overflow: clip;
}
.hero .lede { margin-top: clamp(24px, 4vh, 44px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 4vh, 44px); }

.scroll-cue { position: absolute; bottom: 26px; left: var(--gutter); color: var(--ink-40); letter-spacing: 0.3em; }

/* ---------- logo strip ---------- */
.logo-wall {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
}
.logo-wall-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(36px, 5vw, 72px);
  padding: 24px clamp(36px, 5vw, 72px) 24px 0;
  animation: wall 36s linear infinite;
}
@keyframes wall { to { transform: translateX(-50%); } }
.wall-item { display: flex; align-items: center; gap: 12px; color: var(--ink-40); white-space: nowrap; transition: color 0.3s; }
.wall-item .tool-mark { height: 22px; width: auto; }
.wall-item:hover { color: var(--ink); }
.wall-item:hover .tool-mark path,
.wall-item:hover .tool-mark circle,
.wall-item:hover .tool-mark rect { fill: url(#spectrum-grad); }
.wall-note { color: var(--crimson); }

/* ---------- THE SHOWCASE — greyscale → your color ---------- */
.showcase { padding: clamp(80px, 13vh, 160px) 0; position: relative; overflow: clip; }
.showcase-head { padding: 0 var(--gutter); max-width: 1100px; }
.showcase-sub { color: var(--ink-60); max-width: 58ch; margin-top: 20px; }

/* a device card: rented (greyscale, sketchy, locked) → owned (color) */
.device {
  flex: 0 0 min(660px, 86vw);
  scroll-snap-align: center;
  position: relative;
}
.device-frame {
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: 0 28px 60px -28px rgba(35, 38, 42, 0.28);
  overflow: hidden;
  transition: filter 0.9s ease, opacity 0.9s ease, border-color 0.9s ease, border-style 0.9s ease, box-shadow 0.9s ease;
}
.device:not(.is-owned) .device-frame {
  filter: grayscale(1) contrast(0.9);
  opacity: 0.72;
  border-style: dashed;
  border-color: rgba(35, 38, 42, 0.3);
  box-shadow: none;
}
.device-label {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  padding: 0 4px;
}
.device-label .name { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.device-label .state-rented, .device-label .state-owned { transition: opacity 0.6s ease; }
.device-label .state-rented { color: var(--crimson); }
.device-label .state-owned { color: var(--teal); position: absolute; right: 4px; opacity: 0; }
.device.is-owned .state-rented { opacity: 0; }
.device.is-owned .state-owned { opacity: 1; }

/* locked feature chips — they fall away when the card becomes yours */
.lockchip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  background: #fff;
  border: 1.5px dashed rgba(35, 38, 42, 0.4);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-60);
  box-shadow: 0 8px 20px -10px rgba(35, 38, 42, 0.3);
  transition: transform 1s cubic-bezier(0.5, 0, 0.8, 0.4), opacity 0.8s ease;
}
.lockchip .lc-price { color: var(--crimson); }
.device.is-owned .lockchip {
  transform: translateY(150px) rotate(14deg);
  opacity: 0;
}
.device.is-owned .lockchip:nth-of-type(2) { transition-delay: 0.12s; }
.device.is-owned .lockchip:nth-of-type(3) { transition-delay: 0.24s; }

/* ---------- mock UIs (bright product shots) ---------- */
.mock { font-size: 0.78rem; background: #fff; }
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #FBFAF8;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; }
.mock-dots i:nth-child(1) { background: color-mix(in srgb, var(--crimson) 65%, white); }
.mock-dots i:nth-child(2) { background: color-mix(in srgb, var(--green) 65%, white); }
.mock-dots i:nth-child(3) { background: color-mix(in srgb, var(--blue) 65%, white); }
.mock-appname { color: var(--ink-40); text-transform: none; letter-spacing: 0.06em; }

.mock-board-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.35fr; gap: 14px; padding: 16px; }
.mock-canvas-grid { display: grid; grid-template-columns: 2.1fr 1.2fr; gap: 14px; padding: 16px; }
.mock-pipe-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; padding: 16px; }
.mock-col-title { color: var(--ink-40); margin-bottom: 10px; font-size: 0.58rem; }
.mock-card {
  background: #F4F3F0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 9px 10px;
  margin-bottom: 8px;
  line-height: 1.35;
}
.mock-card.is-flagged { box-shadow: 0 0 0 1.5px var(--crimson); }
.mock-tag { display: block; width: 26px; height: 4px; border-radius: 2px; margin-bottom: 7px; }
.t1 { background: var(--green); } .t2 { background: var(--teal); } .t3 { background: var(--blue); }
.t4 { background: var(--violet); } .t5 { background: var(--crimson); }

.mock-ai { border-left: 1px solid var(--line-soft); padding-left: 14px; display: flex; flex-direction: column; gap: 8px; }
.mock-ai-title { display: flex; align-items: center; gap: 7px; font-size: 0.58rem; margin-bottom: 4px; }
.ai-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--spectrum);
  background-size: 300% 100%;
  animation: ai-pulse 3s ease-in-out infinite;
}
@keyframes ai-pulse { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.mock-bubble { background: #EFEEEA; border-radius: 10px; padding: 9px 11px; line-height: 1.4; }
.mock-bubble.dim { color: var(--ink-60); background: transparent; border: 1px dashed var(--line); }

.mock-frames { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; flex-wrap: wrap; }
.mock-frame {
  position: relative;
  width: 96px; height: 150px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: #F4F3F0;
  padding: 26px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-frame.active { box-shadow: 0 0 0 1.5px var(--blue); }
.mock-frame-label { position: absolute; top: 8px; left: 10px; font-size: 0.55rem; color: var(--ink-40); text-transform: none; }
.mock-frame .bar { height: 7px; border-radius: 4px; background: rgba(35, 38, 42, 0.1); }
.mock-frame .bar.b1 { width: 80%; } .mock-frame .bar.b2 { width: 55%; } .mock-frame .bar.b3 { width: 68%; }
.mock-frame .block { height: 38px; border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--teal) 25%, white), color-mix(in srgb, var(--violet) 25%, white)); }
.mock-frame .circle { width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--green) 30%, white); }

.mock-pipe-card { display: flex; align-items: center; gap: 8px; }
.mock-pipe-card .avatar { width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto; }
.a1 { background: color-mix(in srgb, var(--green) 45%, white); }
.a2 { background: color-mix(in srgb, var(--blue) 45%, white); }
.a3 { background: color-mix(in srgb, var(--violet) 45%, white); }
.a4 { background: color-mix(in srgb, var(--crimson) 45%, white); }

@media (max-width: 560px) {
  .mock-board-grid { grid-template-columns: 1fr 1fr; }
  .mock-board-grid .mock-col:nth-child(3) { display: none; }
  .mock-ai { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line-soft); padding: 14px 0 0; }
  .mock-canvas-grid, .mock-pipe-grid { grid-template-columns: 1fr; }
}

/* ---------- THE LEGO SEQUENCE — lives in the hero, always there ---------- */
.hero-lego {
  min-height: 100svh;
  position: relative;
  overflow: clip;
  padding-top: calc(var(--nav-h) + 2vh);
}
.lego-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-lego .hero-copy { position: relative; z-index: 2; max-width: 600px; }
.hero-lego .hero-copy::before {
  /* fully opaque under the words, fading only at the far edge — crisp text,
     no ghosted bricks, no blur */
  content: "";
  position: absolute;
  inset: -44px -80px -44px -10vw;
  background: linear-gradient(115deg,
    var(--canvas) 0%, var(--canvas) 58%,
    rgba(247, 246, 244, 0.86) 76%, rgba(247, 246, 244, 0) 96%);
  z-index: -1;
}
.hero-lego .d1 { font-size: clamp(2.3rem, 5.2vw, 4.6rem); }
.hero-lego .lede { max-width: 46ch; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.hero-note { color: var(--ink-40); margin-top: 20px; }

.lego-label {
  position: absolute;
  top: calc(var(--nav-h) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.65em 1.2em;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: 0 10px 26px -14px rgba(35, 38, 42, 0.3);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.ll-mark .tool-mark { height: 16px; width: auto; color: var(--ink); }
.ll-text { display: grid; place-items: center start; }
.ll-rented, .ll-owned {
  grid-area: 1 / 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
}
.ll-rented { color: var(--crimson); }
.ll-owned { color: var(--teal); }

.lego-chip {
  position: absolute;
  top: 0; left: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.5em 0.9em;
  border-radius: 999px;
  background: #fff;
  border: 1.5px dashed rgba(35, 38, 42, 0.4);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-60);
  box-shadow: 0 8px 20px -10px rgba(35, 38, 42, 0.3);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
}
.lego-chip .lc-price { color: var(--crimson); }

/* the beats arrive as cards — unmissable over the toy */
.lego-cap {
  position: absolute;
  left: var(--gutter);
  top: calc(var(--nav-h) + 68px);
  max-width: min(500px, 84vw);
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  background: #fff;
  border: 1.5px solid var(--line);
  border-left: 6px solid;
  border-image: var(--spectrum) 1;
  border-radius: 0 18px 18px 0;
  padding: clamp(18px, 2.4vw, 28px) clamp(20px, 2.6vw, 32px);
  box-shadow: 0 26px 60px -22px rgba(35, 38, 42, 0.35);
}
.lego-cap .cap-kicker { color: var(--ink-40); margin-bottom: 10px; }
.lego-cap .cap-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.lego-cap .cap-body { color: var(--ink-60); max-width: 44ch; }
.lego-cap .cap-body strong { color: var(--ink); }

.lego-cue {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-40);
  letter-spacing: 0.3em;
}

/* poke a brick and it answers */
.lego-tip {
  position: absolute;
  top: 0; left: 0;
  z-index: 5;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.6em 1em;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 12px 28px -12px rgba(35, 38, 42, 0.5);
}

/* fallback: before → after, already done */
.lego-fallback { display: none; padding: clamp(60px, 9vh, 110px) var(--gutter) clamp(70px, 11vh, 130px); }
.lego-fallback .showcase-head { max-width: 1100px; margin-bottom: clamp(28px, 5vh, 52px); }
.lego-fallback .showcase-sub { color: var(--ink-60); max-width: 58ch; margin-top: 20px; }

/* without the 3D scene (static / reduced motion / no WebGL): a normal hero */
.hero-lego.no-3d .lego-canvas, .hero-lego.no-3d .lego-label,
.hero-lego.no-3d .lego-cap, .hero-lego.no-3d .lego-chip, .hero-lego.no-3d .lego-cue,
html.static .lego-canvas, html.static .lego-label,
html.static .lego-cap, html.static .lego-chip, html.static .lego-cue { display: none; }
.hero-lego.no-3d + .lego-fallback, html.static .lego-fallback { display: block; }
.hero-lego.no-3d, html.static .hero-lego { min-height: 78svh; }
[data-static-only] { display: none; }
html.static [data-motion-only], .hero-lego.no-3d [data-motion-only] { display: none; }
html.static [data-static-only], .hero-lego.no-3d [data-static-only] { display: inline; }
.hero-lego.no-3d .hero-copy::before, html.static .hero-lego .hero-copy::before { display: none; }

.fb-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: center;
  max-width: 1020px;
}
.fb-side { margin: 0; }
.fb-tag {
  display: inline-block;
  padding: 0.6em 1.1em;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--line);
  margin-bottom: 16px;
}
.fb-tag-rented { color: var(--crimson); }
.fb-tag-owned { color: var(--teal); border-color: var(--teal); }
.fb-arrow { font-size: 2rem; color: var(--ink); }

.fb-model { display: grid; gap: 7px; }
.fb-row, .fb-mid { display: flex; gap: 7px; }
.fb-col { display: grid; gap: 7px; flex: 1; }
.fbk {
  display: block;
  height: 26px;
  border-radius: 6px;
  background-color: var(--c, #D8D5CF);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0 2.5px, transparent 3px);
  background-size: 15px 12px;
  background-position: 7px 4px;
  background-repeat: repeat-x;
}
.fb-mid .fbk { height: auto; min-height: 26px; }
.fb-canvas { flex: 2.6; --c: #FAF9F6; border: 1px solid var(--line-soft); }
.fb-base { --c: #E3E0DA; height: 18px; border-radius: 8px; }
.fb-logo { position: relative; }
.fb-logo::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}
.fb-chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.fb-chips .lockchip { position: static; }
.fb-note { color: var(--ink-40); }

@media (max-width: 760px) {
  .fb-pair { grid-template-columns: 1fr; }
  .fb-arrow { transform: rotate(90deg); justify-self: center; }
  .lego-cap { top: calc(var(--nav-h) + 58px); }
  .lego-cap .cap-title { font-size: clamp(1.35rem, 6vw, 1.8rem); }
  .lego-cue { display: none; }
  .lego-label { top: auto; bottom: 18px; max-width: 92vw; }
  .ll-rented, .ll-owned { white-space: normal; text-align: center; }
  .hero-lego { padding-bottom: 16vh; }
}

/* ---------- the crimson room: the ledger, on red ---------- */
.band-crimson { background: var(--crimson); color: #fff; }
.band-crimson .eyebrow { color: rgba(255, 255, 255, 0.65); }
.band-crimson .ledger-stat { color: #fff; }
.band-crimson .ledger-stat-note { color: rgba(255, 255, 255, 0.82); }
.band-crimson .ledger-stat-note strong { color: #fff; }
.band-crimson .shed-total { color: #fff; }
.band-crimson .ledger { border-color: rgba(255, 255, 255, 0.3); }
.band-crimson .ledger-row { border-color: rgba(255, 255, 255, 0.28); }
.band-crimson .ledger-row[data-price] { color: rgba(255, 255, 255, 0.97); }
.band-crimson .ledger-row .price { color: #fff; }
.band-crimson .ledger-row .lock { color: #FFD9DD; }
.band-crimson .ledger-row.is-kept { color: #fff; }
.band-crimson .ledger-row.is-kept .keep-tag { color: #EAF7F0; }
.band-crimson .ledger-row.is-shed::after { background: #fff; }
.band-crimson .ledger-foot { color: rgba(255, 255, 255, 0.97); }

/* ---------- generic sections ---------- */
.section { padding: clamp(70px, 12vh, 150px) var(--gutter); position: relative; overflow: clip; }
.section-head { max-width: 1100px; margin-bottom: clamp(36px, 6vh, 72px); }

/* full-color band */
.band {
  position: relative;
  color: #fff;
  padding: clamp(80px, 13vh, 160px) var(--gutter);
  overflow: clip;
}
.band-ink { background: var(--pill); }
.band-spectrum { background: linear-gradient(115deg, var(--green), var(--teal) 24%, var(--blue) 50%, var(--violet) 74%, var(--crimson)); }
.band .lede { color: rgba(255, 255, 255, 0.82); }
.band .lede strong { color: #fff; }
.band .eyebrow { color: rgba(255, 255, 255, 0.6); }
.band .pill { background: #fff; border-color: #fff; color: var(--ink); }
.band .pill:hover { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.35); }

/* ---------- home: teasers ---------- */
.teasers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 44px); }
.teaser {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: clamp(26px, 3.5vw, 44px);
  background: #fff;
  position: relative;
  overflow: clip;
  transition: border-color 0.3s, box-shadow 0.45s var(--ease-out);
}
.teaser::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--spectrum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.teaser:hover { border-color: transparent; box-shadow: 0 24px 60px -24px rgba(35, 38, 42, 0.3); }
.teaser:hover::before { transform: scaleX(1); }
.teaser h3 { font-family: var(--font-sans); font-weight: 750; font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: -0.02em; margin: 12px 0 10px; }
.teaser p { color: var(--ink-60); font-size: 0.98rem; max-width: 46ch; }
.teaser .go { display: inline-block; margin-top: 18px; font-weight: 650; }
.teaser .go::after { content: " →"; transition: transform 0.3s; display: inline-block; }
.teaser:hover .go::after { transform: translateX(5px); }
@media (max-width: 820px) { .teasers { grid-template-columns: 1fr; } }

/* ---------- what we do: phases ---------- */
.phases-body { position: relative; max-width: 1020px; }
.phases-spine { position: absolute; left: clamp(8px, 2vw, 20px); top: 0; bottom: 0; width: 2px; background: var(--line-soft); }
.phases-spine-fill { position: absolute; inset: 0; background: var(--spectrum); transform-origin: top center; transform: scaleY(0); }
.phase {
  display: grid;
  grid-template-columns: minmax(120px, 220px) 1fr;
  gap: clamp(18px, 4vw, 56px);
  padding: clamp(28px, 5vh, 52px) 0 clamp(28px, 5vh, 52px) clamp(40px, 6vw, 80px);
}
.phase-when { color: var(--ink-40); }
.phase-when .phase-weeks {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: none;
}
.phase h3 { font-family: var(--font-sans); font-weight: 750; font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 10px; letter-spacing: -0.02em; }
.phase p { color: var(--ink-60); max-width: 56ch; }
.phase ul { margin-top: 14px; display: grid; gap: 8px; }
.phase ul li { color: var(--ink-60); font-size: 0.96rem; padding-left: 20px; position: relative; }
.phase ul li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 9px; height: 9px; border-radius: 3px; background: var(--spectrum); }

/* ---------- the ledger ---------- */
.ledger-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 90px);
  align-items: start;
}
.ledger-copy { position: sticky; top: calc(var(--nav-h) + 24px); }
.ledger-stat {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(4rem, 11vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.ledger-stat-note { color: var(--ink-60); margin: 18px 0 26px; max-width: 42ch; }
.shed-total { color: var(--teal); display: block; min-height: 1.4em; }

.ledger { border-top: 1px solid var(--line); }
.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
  position: relative;
}
.ledger-row .lock { color: var(--crimson); }
.ledger-row .price { color: var(--ink-60); }
.ledger-row.is-kept { font-weight: 600; }
.ledger-row.is-kept .keep-tag { color: var(--teal); }
.ledger-row[data-price] { color: var(--ink-40); }
.ledger-row.is-shed { opacity: 0.3; transform: translateX(14px); }
.ledger-row.is-shed::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--crimson); }
.ledger-foot { padding: 16px 4px; color: var(--ink-40); }

/* ---------- economics ---------- */
.econ-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.econ-chart .chart { width: 100%; height: auto; }
.chart-grid line { stroke: var(--line-soft); stroke-width: 1; }
.chart-axis { fill: var(--ink-40); font-size: 11px; letter-spacing: 0.1em; }
.chart-rent { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.chart-own { stroke: url(#spectrum-stroke); stroke-width: 3.5; stroke-linecap: round; }
.chart-dot { fill: var(--blue); }
.chart-label { fill: var(--ink-40); font-size: 11px; letter-spacing: 0.08em; }
.chart-label.rent { fill: var(--ink); }
.chart-cross line { stroke: var(--violet); stroke-width: 1.5; stroke-dasharray: 4 5; }
.chart-cross text { fill: var(--violet); font-size: 11px; letter-spacing: 0.08em; }
.chart-foot { margin-top: 10px; color: var(--ink-40); font-size: 0.62rem; }

.econ-numbers { display: flex; flex-direction: column; gap: 12px; }
.econ-stat {
  padding: 24px 26px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.econ-stat.owned {
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--spectrum) border-box;
}
.stat-label { color: var(--ink-40); margin-bottom: 8px; }
.stat-value { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.03em; }
.stat-value [data-count]::before { content: "$"; }
.stat-unit { font-size: 0.45em; font-weight: 550; color: var(--ink-40); letter-spacing: 0; }

.econ-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(48px, 8vh, 90px); }
.econ-points h4 {
  font-family: var(--font-sans);
  font-weight: 750;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  padding-top: 16px;
  border-top: 2.5px solid;
  border-image: var(--spectrum) 1;
}
.econ-points p { color: var(--ink-60); font-size: 0.97rem; }

/* ---------- honest answers ---------- */
.honest-list { margin-top: clamp(32px, 6vh, 64px); max-width: 1080px; }
.honest-item {
  border-top: 1px solid var(--line);
  padding: clamp(24px, 4vh, 40px) 0;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(16px, 3vw, 48px);
}
.honest-item:last-child { border-bottom: 1px solid var(--line); }
.honest-item h3 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.7rem); letter-spacing: -0.01em; }
.honest-item p { color: var(--ink-60); }
.honest-item p strong { color: var(--ink); }

/* ---------- cases ---------- */
.case {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(70px, 11vh, 130px) var(--gutter);
  position: relative;
  overflow: clip;
}
.case-flip { direction: rtl; }
.case-flip > * { direction: ltr; }
.case-numeral {
  position: absolute;
  top: 2%;
  right: var(--gutter);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(7rem, 20vw, 17rem);
  line-height: 1;
  color: var(--ghost);
  pointer-events: none;
  user-select: none;
}
.case-flip .case-numeral { right: auto; left: var(--gutter); }
.case-kicker { margin-bottom: 10px; }
.case-rebuilt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ink-60);
}
.case-rebuilt .tool-mark { height: 20px; width: auto; color: var(--ink); flex: 0 0 auto; }
.case-rebuilt strong { color: var(--ink); }
.teaser-from { display: inline-flex; align-items: center; gap: 8px; }
.teaser-from .tool-mark { height: 16px; width: auto; }
.case-01 .case-kicker { color: var(--teal); }
.case-02 .case-kicker { color: var(--violet); }
.case-title { margin-bottom: 20px; }
.case-body { color: var(--ink-60); max-width: 54ch; margin-bottom: 18px; }
.case-body strong { color: var(--ink); }
.case-specs { margin-top: 24px; }
.case-specs li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-60); }
.case-specs li:last-child { border-bottom: 1px solid var(--line); }
.case-visual .device-frame { box-shadow: 0 36px 80px -30px rgba(35, 38, 42, 0.35); border-style: solid; }

.case-next {
  display: block;
  text-align: center;
  margin: clamp(40px, 8vh, 90px) var(--gutter);
  padding: clamp(48px, 8vh, 90px) 24px;
  border: 2px dashed var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.55);
  transition: border-color 0.3s, background-color 0.4s;
}
.case-next:hover { border-color: var(--blue); background: #fff; }
.case-next .d3 { max-width: 28ch; margin: 14px auto 22px; }
.case-next .mono { color: var(--ink-40); }

/* ---------- story ---------- */
.story-prose { max-width: 70ch; }
.story-prose p { color: var(--ink-60); margin-bottom: 1.25em; }
.story-prose p strong { color: var(--ink); }
.pull {
  font-family: var(--font-serif);
  font-weight: 480;
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  border-left: 3.5px solid;
  border-image: var(--spectrum) 1;
  padding-left: clamp(18px, 2.5vw, 30px);
  margin: 1.8em 0;
}

.mirror-stage { text-align: center; padding: clamp(70px, 11vh, 140px) var(--gutter); perspective: 1100px; overflow: clip; }
.mirror-word {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(3.4rem, 15vw, 12rem);
  letter-spacing: -0.045em;
  line-height: 1;
  display: inline-flex;
}
.ml { position: relative; display: inline-block; transform-style: preserve-3d; will-change: transform; text-align: center; }
.ml i { font-style: normal; display: inline-block; backface-visibility: hidden; }
/* one brand color per letter — the header spectrum, letter by letter
   (a gradient per separate letter just smears; see DESIGN.md) */
.mirror-word .ml:nth-child(1) .fa { color: var(--green); }
.mirror-word .ml:nth-child(2) .fa { color: var(--teal); }
.mirror-word .ml:nth-child(3) .fa { color: var(--blue); }
.mirror-word .ml:nth-child(4) .fa { color: var(--violet); }
.mirror-word .ml:nth-child(5) .fa { color: var(--crimson); }
.ml .fb { position: absolute; inset: 0; transform: rotateY(180deg); color: var(--ink); text-align: center; }
.mirror-caption { margin: clamp(20px, 4vh, 40px) auto 0; color: var(--ink-60); max-width: 46ch; opacity: 0; visibility: hidden; transform: translateY(20px); }
.mirror-caption strong { color: var(--ink); }

.mv-band { display: grid; gap: clamp(44px, 8vh, 84px); }
.mv-block .eyebrow { margin-bottom: 14px; }
.mv-block p {
  font-family: var(--font-serif);
  font-weight: 440;
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  line-height: 1.22;
  letter-spacing: -0.012em;
  max-width: 26ch;
}
.mv-block p strong { font-family: var(--font-sans); font-weight: 800; letter-spacing: -0.03em; }

.principles-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(32px, 6vh, 60px); }
.principle {
  padding: clamp(26px, 3.5vw, 42px);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: #fff;
}
.principle .mono { color: var(--ink-40); }
.principle h3 { font-family: var(--font-sans); font-weight: 750; font-size: clamp(1.25rem, 2.3vw, 1.7rem); margin: 12px 0 10px; letter-spacing: -0.02em; }
.principle p { color: var(--ink-60); font-size: 0.97rem; }

/* ---------- people ---------- */
.roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); margin-top: clamp(32px, 6vh, 60px); }
.role-card {
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: clamp(22px, 2.8vw, 34px);
}
.role-dot { width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px; }
.role-card h3 { font-family: var(--font-sans); font-weight: 750; font-size: 1.15rem; letter-spacing: -0.015em; margin-bottom: 8px; }
.role-card p { color: var(--ink-60); font-size: 0.92rem; }

.values-list { margin-top: clamp(28px, 5vh, 52px); max-width: 1020px; }
.values-list li {
  display: grid;
  grid-template-columns: minmax(110px, 180px) 1fr;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(20px, 3.5vh, 34px) 0;
  border-top: 1px solid var(--line);
}
.values-list li:last-child { border-bottom: 1px solid var(--line); }
.values-list h3 { font-family: var(--font-serif); font-weight: 520; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.values-list p { color: var(--ink-60); }

.careers-card {
  margin-top: clamp(40px, 7vh, 72px);
  border-radius: 26px;
  padding: clamp(36px, 5vw, 64px);
  background: var(--pill);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 7fr) auto;
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
}
.careers-card h3 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.careers-card p { color: rgba(255, 255, 255, 0.78); max-width: 52ch; }
.careers-card .pill { background: #fff; border-color: #fff; color: var(--ink); justify-self: start; }

/* ---------- contact ---------- */
.hero-contact { text-align: center; align-items: center; min-height: 80svh; }
.hero-contact .lede { margin-inline: auto; }

.chips-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 920px;
  margin: clamp(28px, 5vh, 52px) auto;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.4s var(--ease-out);
  will-change: transform;
}
.chip .tool-mark { height: 18px; width: auto; color: var(--ink-40); }
.chip:hover { border-color: transparent; box-shadow: 0 0 0 2px var(--teal), 0 16px 36px -14px rgba(47, 115, 124, 0.4); }
.chip:hover .tool-mark path, .chip:hover .tool-mark circle, .chip:hover .tool-mark rect { fill: url(#spectrum-grad); }
.chip-other { background: var(--pill); color: #fff; border-color: var(--pill); }

.cta-mail {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.7rem, 5vw, 3.6rem);
  letter-spacing: -0.035em;
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-bottom: 3px solid var(--line);
  padding-bottom: 8px;
  transition: border-color 0.3s;
}
.cta-mail:hover { border-color: var(--blue); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); max-width: 1140px; margin: clamp(28px, 5vh, 56px) auto 0; }
.step { padding: clamp(24px, 3vw, 36px); border: 1.5px solid var(--line); border-radius: 22px; background: #fff; }
.step .mono { color: var(--teal); }
.step h3 { font-family: var(--font-sans); font-weight: 750; font-size: 1.2rem; letter-spacing: -0.015em; margin: 10px 0 8px; }
.step p { color: var(--ink-60); font-size: 0.95rem; }

/* ---------- photography ---------- */
.ph { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }


/* ---------- the numbers, as bricks you can press ---------- */
.stat-bricks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.6vw, 36px);
  margin-top: clamp(36px, 6vh, 64px);
}
.stat-brick {
  --c: var(--teal);
  position: relative;
  background: var(--c);
  color: #fff;
  border-radius: 16px;
  margin-top: 16px;
  padding: clamp(24px, 3vw, 38px) clamp(18px, 2.4vw, 30px) clamp(28px, 3.4vw, 42px);
  box-shadow:
    inset 0 -9px 0 rgba(0, 0, 0, 0.16),
    inset 0 2px 0 rgba(255, 255, 255, 0.24),
    0 20px 40px -18px color-mix(in srgb, var(--c) 55%, rgba(35, 38, 42, 0.4));
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), filter 0.22s;
  cursor: pointer;
}
.stat-brick::before, .stat-brick::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 24%;
  height: 15px;
  border-radius: 7px 7px 3px 3px;
  background: var(--c);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.26);
}
.stat-brick::before { left: 13%; }
.stat-brick::after { right: 13%; }
.stat-brick:hover, .stat-brick:focus-visible {
  transform: translateY(6px) scaleY(0.95);
  filter: brightness(1.08);
  box-shadow:
    inset 0 -5px 0 rgba(0, 0, 0, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.24),
    0 8px 18px -12px color-mix(in srgb, var(--c) 60%, rgba(35, 38, 42, 0.5));
}
.stat-big {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}
.stat-brick .mono { color: rgba(255, 255, 255, 0.82); display: block; margin-top: 12px; }
.stat-hint { color: var(--ink-40); margin-top: 22px; }
.stat-foot { margin-top: 24px; max-width: 56ch; }

/* the camera compare switch on the hero */
.view-toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 20px;
  z-index: 4;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7em 1.2em;
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  color: var(--ink-60);
  transition: color 0.25s, border-color 0.25s;
}
.view-toggle:hover { color: var(--ink); border-color: var(--ink-40); }

/* ---------- testimonials ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(32px, 6vh, 60px);
}
.quote-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: clamp(26px, 3.5vw, 44px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 32px);
}
.quote-card blockquote {
  font-family: var(--font-serif);
  font-weight: 460;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.quote-card blockquote::before { content: "\201C"; color: var(--blue); }
.quote-card blockquote::after { content: "\201D"; color: var(--blue); }
.quote-who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote-who .who-name { font-weight: 700; display: block; line-height: 1.3; }
.quote-who .who-role { color: var(--ink-40); font-size: 0.85rem; }

/* a single quote moment under a case */
.case-quote {
  max-width: 880px;
  margin: 0 var(--gutter) clamp(60px, 9vh, 100px);
  padding-left: clamp(18px, 2.5vw, 30px);
  border-left: 3.5px solid;
  border-image: var(--spectrum) 1;
}
.case-quote blockquote {
  font-family: var(--font-serif);
  font-weight: 470;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  line-height: 1.32;
  margin-bottom: 18px;
}
.case-quote .quote-who { margin: 0; }

/* ---------- field notes ---------- */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  margin-top: clamp(28px, 5vh, 52px);
}
.note-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 3vw, 34px);
  transition: border-color 0.3s, box-shadow 0.45s var(--ease-out);
}
.note-card:hover { border-color: transparent; box-shadow: 0 22px 50px -22px rgba(35, 38, 42, 0.3); }
.note-card .mono { color: var(--ink-40); }
.note-card h3 {
  font-family: var(--font-serif);
  font-weight: 520;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.note-card p { color: var(--ink-60); font-size: 0.95rem; }
.note-card .go { margin-top: auto; font-weight: 650; }
.note-card .go::after { content: " →"; display: inline-block; transition: transform 0.3s; }
.note-card:hover .go::after { transform: translateX(5px); }


/* ---------- teaser product thumbs ---------- */
.teaser-thumb {
  margin: 18px 0 4px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
  pointer-events: none;
  max-height: 190px;
}
.teaser-thumb .mock { font-size: 0.62rem; }

/* ---------- the invoice graveyard ---------- */
.receipts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 36px);
  margin-top: clamp(32px, 6vh, 60px);
  align-items: start;
}
.receipt {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
  padding: clamp(20px, 2.6vw, 30px) clamp(18px, 2.4vw, 28px) 34px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 40px -20px rgba(35, 38, 42, 0.3);
  /* torn-off bottom edge */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px),
    95% 100%, 90% calc(100% - 9px), 85% 100%, 80% calc(100% - 9px),
    75% 100%, 70% calc(100% - 9px), 65% 100%, 60% calc(100% - 9px),
    55% 100%, 50% calc(100% - 9px), 45% 100%, 40% calc(100% - 9px),
    35% 100%, 30% calc(100% - 9px), 25% 100%, 20% calc(100% - 9px),
    15% 100%, 10% calc(100% - 9px), 5% 100%, 0 calc(100% - 9px));
}
.receipt:nth-child(1) { transform: rotate(-1.4deg); }
.receipt:nth-child(2) { transform: rotate(0.9deg); }
.receipt:nth-child(3) { transform: rotate(-0.6deg); }
.r-head {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1.5px dashed var(--line);
  margin-bottom: 12px;
  color: var(--ink);
}
.r-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-soft);
  color: var(--ink-60);
}
.r-row b { color: var(--ink); font-weight: 700; text-align: right; }
.r-foot { margin-top: 14px; color: var(--ink-40); font-size: 0.68rem; text-align: center; }
.stamp {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-11deg);
  border: 3.5px solid currentColor;
  border-radius: 10px;
  padding: 0.32em 0.75em;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.88;
  pointer-events: none;
  mix-blend-mode: multiply;
}
.stamp-teal { color: var(--teal); }
.stamp-green { color: var(--green); }
.stamp-next { color: var(--crimson); border-style: dashed; }
a.receipt { transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
a.receipt:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 28px 56px -22px rgba(194, 66, 75, 0.4); }
.receipt-cta-wrap { max-width: 380px; margin: 0 auto clamp(28px, 5vh, 48px); }
@media (max-width: 820px) { .receipts { grid-template-columns: 1fr; max-width: 420px; } }

@media (max-width: 920px) {
  .stat-bricks { grid-template-columns: 1fr 1fr; }
  .sectors-grid, .products-grid { grid-template-columns: 1fr; }
  .gov-stats { grid-template-columns: 1fr 1fr; }
  .faces-grid { grid-template-columns: 1fr 1fr; }
  .quotes-grid, .notes-grid { grid-template-columns: 1fr; }
  .faces-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .faces-grid { grid-template-columns: 1fr; }
}

/* ---------- who we build for ---------- */
.sectors-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(32px, 6vh, 60px);
  align-items: stretch;
}
.sector-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
}
.sector-featured {
  grid-row: span 1;
  background: var(--pill);
  color: #fff;
  border: none;
}
.sector-tag { display: block; margin-bottom: 14px; color: var(--ink-40); }
.sector-featured .sector-tag { color: rgba(255, 255, 255, 0.66); }
.sector-card h3 {
  font-family: var(--font-sans);
  font-weight: 750;
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.sector-card p { color: var(--ink-60); font-size: 0.97rem; }
.sector-featured p { color: rgba(255, 255, 255, 0.85); }
.sector-featured p strong { color: #fff; }
.gov-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(20px, 3vh, 32px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.gov-stats b {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
}
.gov-stats .mono { color: rgba(255, 255, 255, 0.6); font-size: 0.62rem; }

/* ---------- our own products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(32px, 6vh, 56px);
}
.product-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-dot {
  width: 44px; height: 30px;
  border-radius: 7px;
  background: var(--c, var(--teal));
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.16), inset 0 2px 0 rgba(255, 255, 255, 0.24);
  position: relative;
  margin-bottom: 8px;
}
.product-dot::before, .product-dot::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 12px; height: 8px;
  border-radius: 4px 4px 2px 2px;
  background: var(--c, var(--teal));
}
.product-dot::before { left: 6px; }
.product-dot::after { right: 6px; }
.product-card > .mono { color: var(--ink-40); }
.product-card h3 {
  font-family: var(--font-sans);
  font-weight: 750;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -0.02em;
}
.product-card p { color: var(--ink-60); font-size: 0.95rem; }
.product-tag { margin-top: auto; padding-top: 12px; color: var(--teal); }

/* ---------- next-page link ---------- */
.next-link {
  display: block;
  padding: clamp(56px, 10vh, 110px) var(--gutter);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: clip;
}
.next-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--spectrum);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
}
.next-link:hover::before { opacity: 0.1; }
.next-link .mono { color: var(--ink-40); }
.next-link .next-title {
  font-family: var(--font-serif);
  font-weight: 460;
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  letter-spacing: -0.01em;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 0.4em;
  position: relative;
}
.next-link .next-title::after { content: "→"; transition: transform 0.4s var(--ease-out); }
.next-link:hover .next-title::after { transform: translateX(0.35em); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 0 var(--gutter) 48px;
  overflow: clip;
  background: #fff;
}
.footer-mark { padding-top: clamp(40px, 7vh, 80px); line-height: 0.9; }
.footer-word, .footer-reflection {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(4rem, 16vw, 13rem);
  letter-spacing: -0.045em;
}
.footer-word { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-reflection {
  transform: scaleX(-1);
  color: var(--ghost);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 78%);
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent 78%);
  user-select: none;
}
.footer-tag {
  font-family: var(--font-serif);
  font-weight: 480;
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  margin: clamp(16px, 4vh, 40px) 0 22px;
}
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(14px, 3vw, 30px); margin-bottom: 22px; font-weight: 550; }
.footer-nav a { color: var(--ink-60); transition: color 0.25s; }
.footer-nav a:hover { color: var(--ink); }
.footer-meta { color: var(--ink-40); display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.footer-meta a:hover { color: var(--ink); }

/* ---------- static / reduced motion ---------- */
html.static .cursor-dot, html.static .cursor-ring, html.static .transit { display: none; }
html.static .line-inner, html.static [data-reveal], html.static [data-reveal-group] > *,
html.static .mirror-caption {
  opacity: 1 !important; transform: none !important; visibility: visible !important;
}
html.static .rule-spectrum, html.static .phases-spine-fill { transform: none; }
html.static .logo-wall-track { animation: none; flex-wrap: wrap; width: auto; padding: 22px var(--gutter); }
html.static .wall-item[aria-hidden="true"] { display: none; }
html.static .chart-rent, html.static .chart-own { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
html.static .device { /* rented state still shown; color floods without motion */ }
html.static .nav { background: rgba(247, 246, 244, 0.92); box-shadow: 0 1px 0 var(--line-soft); }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .ledger-grid, .econ-grid, .honest-item, .case { grid-template-columns: 1fr; }
  .case-flip { direction: ltr; }
  .ledger-copy { position: static; }
  .econ-points, .steps-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .phase { grid-template-columns: 1fr; gap: 10px; }
  .case-numeral { font-size: clamp(6rem, 24vw, 10rem); }
  .careers-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .roles-grid { grid-template-columns: 1fr; }
  .values-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- reduced motion (defence in depth) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- the savings calculator — run your own receipt ---------- */
.calc { margin-top: clamp(40px, 7vh, 80px); border: 1px solid var(--line); background: #fff; padding: clamp(24px, 3.2vw, 44px); }
.calc-head h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 10px 0 8px; letter-spacing: -0.02em; }
.calc-sub { color: var(--ink-60); max-width: 54ch; }
.calc-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 20px; }
.calc-tool { cursor: pointer; }
.calc-tool .mono { opacity: 0.65; margin-left: 7px; font-size: 0.85em; }
.calc-tool.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.calc-seats { display: flex; align-items: center; gap: 16px; margin: 6px 0 28px; flex-wrap: wrap; }
.calc-seats label { color: var(--ink-40); }
.calc-seats input[type="range"] { flex: 1; max-width: 340px; accent-color: var(--teal); }
.calc-seats output { color: var(--ink); min-width: 7ch; }
.calc-out { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.calc-cell { border: 1px solid var(--line); padding: 16px 18px 18px; }
.calc-cell > span { color: var(--ink-40); }
.calc-cell b { display: block; font-size: clamp(1.3rem, 2.4vw, 2rem); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; margin-top: 6px; }
.calc-cell.is-own { background: var(--ink); border-color: var(--ink); color: #fff; }
.calc-cell.is-own > span { color: rgba(255, 255, 255, 0.72); }
.calc-note { margin-top: 20px; color: var(--ink-60); max-width: 58ch; }
.calc-note strong { color: var(--ink); }
.calc-cta { margin-top: 24px; }
@media (max-width: 760px) { .calc-out { grid-template-columns: repeat(2, 1fr); } }

/* ---------- the guarantees strip — name the fear, answer it ---------- */
.assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(36px, 6vh, 64px); }
.assure-item { border: 1px solid var(--line); background: #fff; padding: 18px 18px 20px; }
.assure-item b { display: block; margin-bottom: 8px; letter-spacing: -0.01em; }
.assure-item p { color: var(--ink-60); font-size: 0.92rem; }
@media (max-width: 900px) { .assure { grid-template-columns: repeat(2, 1fr); } }

/* ---------- contact: the booking row + the rent-receipt magnet ---------- */
.book-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; margin: clamp(26px, 4vh, 44px) 0 0; }
.book-row .mono { color: var(--ink-40); }
.magnet { border: 1px solid var(--line); background: #fff; padding: clamp(24px, 3vw, 40px); margin-top: clamp(36px, 6vh, 60px); text-align: center; }
.magnet h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin: 10px 0; letter-spacing: -0.02em; }
.magnet p { color: var(--ink-60); max-width: 56ch; margin: 0 auto 18px; }

/* ---------- legal page ---------- */
.legal { max-width: 68ch; }
.legal h3 { margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-60); }
.legal ul { padding-left: 1.1em; display: grid; gap: 6px; }

/* ---------- a11y: skip link ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 300;
  padding: 0.7em 1.2em;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 12px; }

/* ---------- clients / trusted-by (logos arrive later; placeholders now) ---------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: clamp(32px, 5vh, 56px);
}
.client-logo {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 116px;
  padding: 22px 18px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: center;
}
.client-logo img { max-height: 46px; max-width: 78%; width: auto; object-fit: contain; }
.client-logo .client-name { font-weight: 650; letter-spacing: -0.01em; color: var(--ink); }
.client-logo .client-sub { font-size: 0.7rem; }
.client-logo[data-placeholder] .client-mark {
  width: 40px; height: 40px; border: 1.5px dashed var(--line);
  display: grid; place-items: center; color: var(--ink-40); font-family: var(--font-mono); font-size: 0.7rem;
}
.clients-note { margin-top: 16px; color: var(--ink-40); }

/* ---------- leadership grid (scales to 20+; photos swap in later) ---------- */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 16px;
  margin-top: clamp(36px, 6vh, 64px);
}
.leader-card {
  --a: var(--accent);
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.leader-card:hover { border-color: var(--a); transform: translateY(-3px); }
.leader-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, var(--ghost) 0 12px, transparent 12px 24px),
    color-mix(in srgb, var(--a) 12%, #fff);
  overflow: hidden;
}
.leader-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leader-monogram {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  color: var(--a);
}
.leader-portrait::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--a);
}
.leader-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.leader-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a);
}
.leader-tag::before { content: "[ "; }
.leader-tag::after { content: " ]"; }
.leader-name { font-weight: 650; font-size: 1.18rem; letter-spacing: -0.02em; color: var(--ink); }
.leader-line { color: var(--ink-60); font-size: 0.92rem; line-height: 1.45; }
.leader-owns {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.leader-owns span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--ink-40);
  border: 1px solid var(--line);
  padding: 0.25em 0.5em;
}
.leader-owns b { font-family: var(--font-mono); font-size: 0.62rem; color: var(--a); font-weight: 500; align-self: center; }
.leaders-note { margin-top: 18px; color: var(--ink-40); }

/* ---------- the rent meter — a live ticking burn counter ---------- */
.rent-meter { text-align: center; }
.rent-meter .meter-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.6rem, 8vw, 6rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
  margin: 6px 0 18px;
  display: inline-block;
  max-width: 100%;
}
@media (max-width: 600px) {
  .rent-meter .meter-num { font-size: 7vw; letter-spacing: -0.03em; }
}
.rent-meter .meter-num .cents { color: var(--accent, #2F737C); }
html.theme-tech .rent-meter .meter-num .cents { color: #A3E635; }
.rent-meter .meter-cap { color: rgba(255,255,255,0.82); max-width: 52ch; margin: 0 auto; }
.rent-meter .meter-cap strong { color: #fff; }
.rent-meter .meter-tick {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #A3E635; margin-right: 10px; vertical-align: middle;
  animation: meter-pulse 1.1s ease-in-out infinite;
}
@keyframes meter-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.7)} }
html.static .rent-meter .meter-tick { animation: none; }

/* ---------- the brick-collapse explainer (what-we-do) ---------- */
.collapse-stage {
  position: relative;
  height: clamp(380px, 52vh, 560px);
  margin-top: clamp(36px, 6vh, 64px);
}
.col-brick {
  position: absolute;
  width: 168px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--c, var(--accent));
  box-shadow: 0 12px 30px -20px rgba(0,0,0,0.35);
  will-change: transform, opacity;
}
.col-brick .cb-name { display: block; font-weight: 650; font-size: 0.86rem; letter-spacing: -0.01em; color: var(--ink); }
.col-brick .cb-price { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-40); }
.col-owned {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 248px;
  padding: 22px 22px 24px;
  background: var(--ink);
  border: 1px solid var(--ink);
  text-align: center;
  opacity: 0;
  box-shadow: 0 30px 70px -28px rgba(0,0,0,0.6);
}
.col-owned .co-mark { width: 30px; height: 30px; margin: 0 auto 12px; background: var(--accent); display: grid; place-items: center; }
html.theme-tech .col-owned .co-mark { background: #A3E635; }
.col-owned .co-name { display: block; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: #fff; }
.col-owned .co-price { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 0.78rem; color: #A3E635; }
.col-cap {
  position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-40); white-space: nowrap;
}
@media (max-width: 700px) { .col-brick { width: 134px; } .col-owned { width: 200px; } }
@media (max-width: 760px) {
  .collapse-stage { height: auto; min-height: 0; margin-top: clamp(28px, 5vh, 48px); padding: 6px 0; }
  .collapse-stage .col-brick, .collapse-stage .col-cap { display: none; }
  .collapse-stage .col-owned { position: static; transform: none; opacity: 1; width: min(280px, 86%); margin: 0 auto; }
}
html.static .col-brick { opacity: 0.25; }
html.static .col-owned { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- hero brick scenes — fill the right of secondary heroes ---------- */
.hero-scene {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: min(40%, 430px);
  height: clamp(280px, 40vh, 420px);
  z-index: 1;
  pointer-events: none;
}
.hero-scene > * { position: absolute; }
@media (max-width: 1024px) { .hero-scene { display: none; } }

/* the baseplate the scene builds on */
.hbase {
  height: 22px;
  background: var(--c, #C9CCD0);
  border-radius: 5px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.12), inset 0 2px 0 rgba(255,255,255,0.55), 0 16px 28px -22px rgba(0,0,0,0.45);
}
.hbase::before {
  content: ""; position: absolute; top: -5px; left: 9px; right: 9px; height: 8px;
  background: radial-gradient(circle at 8px 60%, var(--c, #C9CCD0) 4px, transparent 4.6px) repeat-x;
  background-size: 18px 8px;
}

/* a square letter brick (for the wordmark scene) */
.hbrick.hletter {
  min-width: 0; width: 44px; height: 44px; padding: 0;
  font-size: 1.1rem; font-weight: 700; text-transform: lowercase; letter-spacing: 0;
}

/* keep the copy in the left lane so the scene has the right lane to itself */
@media (min-width: 1025px) {
  .hero:has(.hero-scene) > .eyebrow,
  .hero:has(.hero-scene) > .d1,
  .hero:has(.hero-scene) > .lede,
  .section:has(.hero-scene) > .eyebrow,
  .section:has(.hero-scene) > .section-head,
  .section:has(.hero-scene) > .d1,
  .section:has(.hero-scene) > .lede { max-width: 56%; }
}

.hbrick {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 90px; padding: 13px 16px;
  background: var(--c, var(--accent)); color: #fff;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  border-radius: 7px;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,0.18), inset 0 2px 0 rgba(255,255,255,0.25), 0 18px 34px -22px rgba(0,0,0,0.5);
}
.hbrick::before, .hbrick::after {
  content: ""; position: absolute; top: -7px; width: 15px; height: 8px;
  border-radius: 4px 4px 2px 2px; background: var(--c, var(--accent));
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.28);
}
.hbrick::before { left: 20%; }
.hbrick::after { right: 20%; }
.hbrick.is-mirror span { display: inline-block; transform: scaleX(-1); }

.hpillar {
  width: 32px; height: 92px; background: var(--c, var(--teal)); border-radius: 5px;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,0.18), inset 0 2px 0 rgba(255,255,255,0.22), 0 18px 30px -22px rgba(0,0,0,0.5);
}
.hpillar::before {
  content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  width: 17px; height: 7px; border-radius: 3px 3px 2px 2px; background: var(--c, var(--teal));
}

.hfig { width: 50px; }
.hfig .head { display: block; width: 22px; height: 22px; border-radius: 50%; background: #F2C063; margin: 0 auto 5px; box-shadow: inset 0 -3px 0 rgba(0,0,0,0.12); }
.hfig .body { display: block; height: 46px; border-radius: 8px 8px 6px 6px; background: var(--c, var(--teal)); box-shadow: inset 0 -5px 0 rgba(0,0,0,0.18), inset 0 2px 0 rgba(255,255,255,0.24); }

/* ---------- the contact modal (popup form) ---------- */
body.cmodal-open { overflow: hidden; }
.cmodal[hidden] { display: none; }
.cmodal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 18px; }
.cmodal-backdrop { position: absolute; inset: 0; background: rgba(11, 11, 12, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: cm-fade 0.2s ease; }
.cmodal-panel {
  position: relative; width: min(580px, 100%); max-height: 92vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--line, rgba(11,11,12,0.16));
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55);
  animation: cm-rise 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes cm-fade { from { opacity: 0; } }
@keyframes cm-rise { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .cmodal-panel, .cmodal-backdrop { animation: none; } }
.cmodal-x {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.cmodal-x:hover { background: var(--ink); color: #fff; }
.cmodal-title { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 8px 0 6px; color: var(--ink); }
.cmodal-sub { color: var(--ink-60); margin-bottom: 20px; }
.cmodal-form { display: grid; gap: 14px; }
.cmodal-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cmodal-form label { display: grid; gap: 6px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-40); }
.cmodal-form input, .cmodal-form select, .cmodal-form textarea {
  font-family: var(--font-sans); font-size: 0.95rem; color: var(--ink);
  padding: 0.7em 0.8em; border: 1px solid var(--line); background: #fff; width: 100%; border-radius: 0;
}
.cmodal-form textarea { resize: vertical; }
.cmodal-form input:focus, .cmodal-form select:focus, .cmodal-form textarea:focus { outline: 2px solid var(--accent, #2F737C); outline-offset: 1px; }
.cmodal-form button[type="submit"] { margin-top: 4px; justify-self: start; }
.cmodal-status { font-family: var(--font-mono); font-size: 0.78rem; min-height: 1.1em; color: var(--ink-60); }
.cmodal-status.is-err { color: var(--crimson, #C2424B); }
.cmodal-status a { color: var(--accent, #2F737C); }
.cmodal-done { text-align: center; padding: 18px 0 8px; }
.cmodal-done .check { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: #2F7D4F; color: #fff; display: grid; place-items: center; font-size: 1.4rem; }
.cmodal-done h3 { font-size: 1.6rem; letter-spacing: -0.02em; color: var(--ink); }
@media (max-width: 540px) { .cmodal-form .row { grid-template-columns: 1fr; } }

/* ==========================================================================
   RESPONSIVE GRID STACKING — authoritative.
   Kept at the very end of the file on purpose: several base multi-column
   grid definitions appear AFTER the older @media blocks, so those blocks
   lost the cascade and the grids stayed multi-column on phones (e.g. the
   "we own tools too" products grid rendered as 3 cramped columns). These
   rules, being last, always win source order — no !important needed.
   ========================================================================== */
@media (max-width: 920px) {
  /* text-rich grids: one column */
  .products-grid,
  .sectors-grid,
  .econ-points,
  .roles-grid,
  .steps-grid,
  .principles-grid,
  .quotes-grid,
  .notes-grid,
  .teasers,
  .receipts,
  .clients-grid,
  .photo-strip { grid-template-columns: 1fr; }

  /* compact numeric/tile grids: two columns */
  .stat-bricks,
  .gov-stats,
  .faces-grid,
  .calc-out,
  .assure { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  /* on phones, even the guarantee/value cards read better stacked */
  .assure { grid-template-columns: 1fr; }
}

/* ==========================================================================
   THE BALKANS MAP — people page. A blueprint-style constellation of the
   cities we work from, drawn in on scroll. Prishtina is the studio (HQ).
   Cities sit at their true relative positions; the SVG scales fluidly.
   ========================================================================== */
.map-wrap {
  margin-top: clamp(28px, 5vw, 52px);
  max-width: 760px;
  position: relative;
}
.bk-map {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.map-corner { fill: none; stroke: var(--line); stroke-width: 1.5; }
.map-coord {
  fill: var(--ink-40);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.map-country {
  fill: var(--ink-40);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.22em;
  opacity: 0.5;
}
.map-border {
  stroke: var(--ink-40);
  stroke-width: 1.25;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
  opacity: 0.55;
}
.map-link { stroke: var(--line); stroke-width: 1.5; }
.map-link-hq { stroke: var(--accent); stroke-width: 1.75; opacity: 0.85; }
.map-dot { fill: var(--ink); }
.map-label {
  fill: var(--ink-60);
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: 0.02em;
}
.map-hqdot { fill: var(--accent); }
.map-hq-label {
  fill: var(--ink);
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 21px;
}
.map-hq-sub {
  fill: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.map-pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.75;
  transform-box: fill-box;
  transform-origin: center;
  animation: map-pulse 2.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
@keyframes map-pulse {
  0%   { transform: scale(0.7); opacity: 0.85; }
  70%  { opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .map-pulse { animation: none; opacity: 0.35; }
}
/* On phones the SVG scales down, so bump the type for legibility */
@media (max-width: 560px) {
  .map-label { font-size: 22px; }
  .map-hq-label { font-size: 26px; }
  .map-hq-sub { font-size: 15px; }
  .map-country { font-size: 18px; letter-spacing: 0.16em; }
  .map-coord { font-size: 16px; }
}

/* ==========================================================================
   ROBUST PASS — the brick figures get a real glossy-plastic finish to match
   the upgraded 3D hero: a sheen on top fading to a deepened body, richer
   colour, and a grounded drop shadow. Applied everywhere a brick appears.
   ========================================================================== */
.hbrick, .hpillar, .product-dot, .hfig .body {
  background-image: linear-gradient(167deg,
    rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.04) 24%,
    rgba(0, 0, 0, 0.05) 56%, rgba(0, 0, 0, 0.27) 100%);
  filter: saturate(1.15);
}
.hbase {
  background-image: linear-gradient(180deg,
    rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 42%, rgba(0, 0, 0, 0.13) 100%);
}
.hbrick {
  box-shadow:
    inset 0 -5px 0 rgba(0, 0, 0, 0.26), inset 0 2px 0 rgba(255, 255, 255, 0.36),
    0 26px 44px -22px rgba(20, 18, 16, 0.6);
}
.hpillar {
  box-shadow:
    inset 0 -5px 0 rgba(0, 0, 0, 0.26), inset 0 2px 0 rgba(255, 255, 255, 0.3),
    0 24px 38px -22px rgba(20, 18, 16, 0.58);
}
.product-dot {
  box-shadow:
    inset 0 -5px 0 rgba(0, 0, 0, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.34),
    0 14px 24px -12px rgba(20, 18, 16, 0.42);
}
.hfig .body {
  box-shadow:
    inset 0 -5px 0 rgba(0, 0, 0, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.3),
    0 16px 26px -16px rgba(20, 18, 16, 0.5);
}
/* the studs catch a brighter top sheen so they read like glossy plastic */
.hbrick::before, .hbrick::after, .hpillar::before,
.product-dot::before, .product-dot::after {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 85%);
}

/* firmer cards the theme group didn't already lift — same restrained shadow */
html.theme-tech .leader-card,
html.theme-tech .client-logo,
html.theme-tech .assure-item {
  box-shadow: 0 16px 38px -26px rgba(20, 18, 16, 0.24), 0 2px 6px -4px rgba(20, 18, 16, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
