/* ==========================================================================
   TECHDZAMSA — DESIGN SYSTEM
   --------------------------------------------------------------------------
   The system is derived from the TechDzamsa mark: a portrait held inside a
   bracketed technical frame, wired to two processor pads by copper traces.

   Four primitives carry the whole interface:

     BRACKET   — four corner marks that frame a subject instead of boxing it.
                 The mark's own device. Used on stages, plates and CTAs.
     NOTCH     — a chamfer on the top-left and bottom-right corners. Every
                 angled edge in the interface runs on that one diagonal.
     TRACE     — orthogonal hairlines with right-angle elbows and square
                 terminal pads. Lines that route, never lines that decorate.
     NOTATION  — small mono labels that let the interface read as equipment.

   Copper is heat: it marks what is active, current or addressable, and
   nothing else. Teal is reserved for live state. Everything else is graphite.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01 · Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ground — sampled from the mark's field */
  --void: #07090b;
  --carbon: #0b0d10;
  --graphite: #101317;
  --slate: #161a1f;
  --steel: #1e242b;

  /* Edges */
  --edge: rgba(243, 223, 192, 0.075);
  --edge-2: rgba(243, 223, 192, 0.13);
  --edge-3: rgba(243, 223, 192, 0.22);
  --edge-heat: rgba(194, 129, 76, 0.42);

  /* Ink */
  --ink: #f0eae0;
  --cream: #f3dfc0;
  --muted: #9aa2aa;
  --dim: #8a929a;

  /* Heat — copper marks what is active */
  --copper: #c2814c;
  --copper-hi: #e0a46b;
  --bronze: #8a5a31;

  /* Live state only */
  --teal: #6fcbd6;

  /* Type */
  --display: "Archivo", "Archivo Expanded", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Geometry */
  --n: 12px;
  --n-lg: 20px;
  --n-sm: 7px;

  /* Rhythm */
  --pad: 20px;
  --max: 1560px;
  --bar: 66px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --fast: 0.26s;
  --mid: 0.46s;
  --slow: 0.8s;

  color-scheme: dark;
}

@media (min-width: 600px)  { :root { --pad: 30px; } }
@media (min-width: 1024px) { :root { --pad: 46px; --bar: 74px; } }
@media (min-width: 1600px) { :root { --pad: 64px; } }
@media (min-width: 1900px) { :root { --pad: 76px; --max: 1720px; --bar: 82px; } }

/* Interface scales with the display, not only the container */
@media (min-width: 1800px) {
  .tag { font-size: 11.5px; }
  .copy { font-size: 16.5px; }
  .btn { height: 56px; font-size: 11.5px; padding-inline: 32px; }
  .nav-link { font-size: 12.5px; }
  .word { font-size: 19px; }
}

/* --------------------------------------------------------------------------
   02 · Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--edge); }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 24px);
}

body {
  background: var(--carbon);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
button { cursor: pointer; font: inherit; color: inherit; background: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; line-height: inherit; }
ul, ol { list-style: none; padding: 0; }
[hidden] { display: none !important; }

::selection { background: rgba(194, 129, 76, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--copper-hi);
  outline-offset: 3px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: #23282f; border: 3px solid var(--void); }
::-webkit-scrollbar-thumb:hover { background: #333a43; }

/* --------------------------------------------------------------------------
   03 · Notch — the chamfer runs top-left / bottom-right
   -------------------------------------------------------------------------- */
.notch {
  clip-path: polygon(
    var(--n) 0,
    100% 0,
    100% calc(100% - var(--n)),
    calc(100% - var(--n)) 100%,
    0 100%,
    0 var(--n)
  );
}

.notch-sm { --n: var(--n-sm); }
.notch-lg { --n: var(--n-lg); }

/* --------------------------------------------------------------------------
   04 · Bracket — the mark's own framing device
   Four corner rules that hold a subject without enclosing it.
   -------------------------------------------------------------------------- */
.brk { position: relative; }

.brk > .b {
  position: absolute;
  width: var(--bl, 22px);
  height: var(--bl, 22px);
  border-color: var(--edge-3);
  pointer-events: none;
}
.brk > .b:nth-of-type(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.brk > .b:nth-of-type(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.brk > .b:nth-of-type(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.brk > .b:nth-of-type(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.brk-heat > .b { border-color: var(--edge-heat); }
.brk-out > .b { margin: -14px; }

/* --------------------------------------------------------------------------
   05 · Layout
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.zone { position: relative; padding-block: clamp(64px, 8vw, 148px); }
.zone-tight { position: relative; padding-block: clamp(46px, 5.5vw, 92px); }
.zone-void { background: var(--void); }
.zone-graphite { background: var(--graphite); }
.zone-line { border-top: 1px solid var(--edge); }

.stack { display: grid; gap: clamp(18px, 2vw, 28px); align-content: start; justify-items: start; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 12px; }

/* --------------------------------------------------------------------------
   06 · Typography
   -------------------------------------------------------------------------- */
.dsp1, .dsp2, .dsp3, .dsp4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variation-settings: "wdth" 100;
  max-width: 100%;
  min-width: 0;
  text-wrap: balance;
}

.dsp1 { font-size: clamp(2.55rem, 6.1vw, 5.9rem); line-height: 0.96; }
.dsp2 { font-size: clamp(2rem, 4.2vw, 4rem); line-height: 0.98; }
.dsp3 { font-size: clamp(1.5rem, 2.5vw, 2.35rem); line-height: 1.06; letter-spacing: -0.03em; }
.dsp4 {
  font-size: clamp(1.16rem, 1.5vw, 1.42rem);
  line-height: 1.2;
  letter-spacing: -0.026em;
  font-weight: 500;
}

.lede {
  font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.copy { font-size: 15.5px; line-height: 1.72; color: var(--muted); }
.copy-sm { font-size: 14px; line-height: 1.7; color: var(--muted); }

.hold { max-width: 62ch; }
.hold-sm { max-width: 46ch; }

.ink { color: var(--ink); }
.mute { color: var(--muted); }
.heat { color: var(--copper); }

/* --------------------------------------------------------------------------
   07 · Notation
   -------------------------------------------------------------------------- */
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--dim);
}

.tag-heat { color: var(--copper); }
.tag-ink { color: var(--muted); }
.tag-live { color: var(--teal); }

/* Notation carried on a short rule */
.tick { display: inline-flex; align-items: center; gap: 11px; }
.tick::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

/* Bracketed index — [ 01 ] */
.ref {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--copper);
  white-space: nowrap;
}
.ref::before { content: "["; margin-right: 7px; color: var(--dim); }
.ref::after  { content: "]"; margin-left: 7px; color: var(--dim); }

/* --------------------------------------------------------------------------
   08 · Trace — orthogonal routing, square terminal pad
   -------------------------------------------------------------------------- */
.trace {
  position: relative;
  height: 1px;
  background: var(--edge);
  width: 100%;
}

.trace::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, var(--copper), rgba(194, 129, 76, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.trace[data-on="true"]::after { transform: scaleX(1); }

/* Terminal pad — a small hollow square that sits on a routed line */
.pad {
  width: 7px; height: 7px;
  flex: none;
  box-shadow: inset 0 0 0 1px var(--copper);
  background: rgba(194, 129, 76, 0.14);
}
.pad-live { box-shadow: inset 0 0 0 1px var(--teal); background: rgba(111, 203, 214, 0.14); }

/* Vertical routing between stacked steps */
.route {
  width: 1px;
  height: clamp(28px, 4vw, 56px);
  margin-left: 11px;
  background: linear-gradient(to bottom, var(--edge-2), transparent);
}

/* --------------------------------------------------------------------------
   09 · Grain
   -------------------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   10 · Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 28px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  --n: 9px;
  clip-path: polygon(
    var(--n) 0, 100% 0, 100% calc(100% - var(--n)),
    calc(100% - var(--n)) 100%, 0 100%, 0 var(--n)
  );
  transition: background-color var(--mid) var(--ease), color var(--mid) var(--ease),
    box-shadow var(--mid) var(--ease), transform var(--fast) var(--ease);
}

.btn:active { transform: translateY(1px); }
.btn svg { flex: none; transition: transform var(--mid) var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-solid { background: var(--ink); color: var(--carbon); }
.btn-solid:hover { background: var(--cream); }

.btn-line {
  color: var(--ink);
  background: rgba(243, 223, 192, 0.025);
  box-shadow: inset 0 0 0 1px var(--edge-2);
}
.btn-line:hover {
  background: rgba(194, 129, 76, 0.09);
  box-shadow: inset 0 0 0 1px var(--edge-heat);
  color: #fff;
}

.btn-heat {
  color: var(--copper-hi);
  background: rgba(194, 129, 76, 0.08);
  box-shadow: inset 0 0 0 1px var(--edge-heat);
}
.btn-heat:hover { background: rgba(194, 129, 76, 0.17); color: var(--cream); }

.btn-sm { min-height: 42px; padding-inline: 17px; font-size: 10px; --n: 6px; }
.btn-block { width: 100%; }

/* Underlined action link */
.act {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 30px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 8px;
  transition: color var(--mid) var(--ease);
}

.act::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--edge-3);
  transition: background-color var(--mid) var(--ease);
}

.act:hover { color: var(--copper-hi); }
.act:hover::after { background: var(--copper); }
.act svg { flex: none; transition: transform var(--mid) var(--ease); }
.act:hover svg { transform: translateX(4px); }

/* Chip */
.chip {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px;
  box-shadow: inset 0 0 0 1px var(--edge-2);
  --n: 5px;
  clip-path: polygon(
    var(--n) 0, 100% 0, 100% calc(100% - var(--n)),
    calc(100% - var(--n)) 100%, 0 100%, 0 var(--n)
  );
}

.chip-heat { color: var(--copper); background: rgba(194, 129, 76, 0.08); box-shadow: inset 0 0 0 1px var(--edge-heat); }

/* --------------------------------------------------------------------------
   11 · Skip link
   -------------------------------------------------------------------------- */
.skip {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 200;
  transform: translateY(-200%);
  background: var(--cream);
  color: var(--carbon);
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform var(--fast) var(--ease);
}
.skip:focus { transform: none; }

/* --------------------------------------------------------------------------
   12 · Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  border-bottom: 1px solid transparent;
  transition: background-color var(--mid) var(--ease), border-color var(--mid) var(--ease);
}

.nav[data-stuck="true"] {
  background: rgba(11, 13, 16, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--edge);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--bar);
  transition: height var(--mid) var(--ease);
}

.nav[data-stuck="true"] .nav-in { height: calc(var(--bar) - 8px); }

/* Brand — the mark is presented as a stamp, never cropped or recoloured */
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; min-width: 0; }

.brand .stamp {
  position: relative;
  display: block;
  width: 34px; height: 34px;
  padding: 0;
  flex: none;
  box-shadow: inset 0 0 0 1px var(--edge-2);
  transition: box-shadow var(--slow) var(--ease);
}
.brand .stamp img { width: 100%; height: 100%; }
.brand:hover .stamp { box-shadow: inset 0 0 0 1px var(--edge-heat); }

.brand .word {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
}

.nav-links { display: none; align-items: center; gap: clamp(14px, 1.5vw, 26px); }
@media (min-width: 1080px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 12px;
  transition: color var(--mid) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 6px;
  width: 100%; height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--mid) var(--ease);
}

.nav-link:hover, .nav-link[aria-current="page"], .nav-link[data-within="true"] { color: var(--ink); }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-link[data-within="true"]::after { transform: scaleX(1); transform-origin: left; }

/* Services dropdown */
.drop { position: relative; }
.drop > .nav-link svg { transition: transform var(--fast) var(--ease); }
.drop[data-open="true"] > .nav-link svg { transform: rotate(180deg); }

.drop-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  width: 320px;
  background: var(--slate);
  box-shadow: inset 0 0 0 1px var(--edge-2), 0 28px 60px -30px rgba(0, 0, 0, 0.95);
  --n: 12px;
  clip-path: polygon(
    var(--n) 0, 100% 0, 100% calc(100% - var(--n)),
    calc(100% - var(--n)) 100%, 0 100%, 0 var(--n)
  );
  padding: 8px;
  display: grid;
  gap: 1px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}

.drop[data-open="true"] .drop-panel { opacity: 1; transform: none; pointer-events: auto; }

.drop-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 13px;
  padding: 13px 14px;
  transition: background-color var(--fast) var(--ease);
}
.drop-item:hover, .drop-item:focus-visible { background: rgba(194, 129, 76, 0.08); }
.drop-item .n { font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.drop-item .d { grid-column: 2; font-size: 12.5px; line-height: 1.5; color: var(--dim); }
.drop-item:hover .tag { color: var(--copper); }

.nav-cta { display: none; }
@media (min-width: 1080px) { .nav-cta { display: inline-flex; } }

.toggle {
  width: 46px; height: 46px;
  margin-right: -10px;
  display: inline-grid;
  place-items: center;
  flex: none;
}
@media (min-width: 1080px) { .toggle { display: none; } }

.toggle i {
  position: relative;
  display: block;
  width: 22px; height: 1px;
  background: var(--ink);
  transition: background-color var(--fast) var(--ease);
}
.toggle i::before, .toggle i::after {
  content: "";
  position: absolute;
  left: 0; width: 100%; height: 1px;
  background: var(--ink);
  transition: transform var(--mid) var(--ease);
}
.toggle i::before { top: -6px; }
.toggle i::after { top: 6px; }
.toggle[aria-expanded="true"] i { background: transparent; }
.toggle[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.toggle[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }

/* Scroll progress */
.prog {
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--bronze), var(--copper-hi));
  opacity: 0;
  transition: opacity var(--mid) var(--ease);
}
.nav[data-stuck="true"] .prog { opacity: 1; }

/* --------------------------------------------------------------------------
   13 · Mobile menu
   -------------------------------------------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(7, 9, 11, 0.985);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  padding-top: calc(var(--bar) + 14px);
  padding-bottom: 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.menu-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-block: 17px;
  border-bottom: 1px solid var(--edge);
  transition: color var(--fast) var(--ease), padding-left var(--fast) var(--ease);
}

.menu-item .m {
  font-family: var(--display);
  font-size: clamp(1.45rem, 6vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-transform: uppercase;
}

.menu-item .tag { color: var(--copper); }
.menu-item svg { color: var(--dim); transition: color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.menu-item:hover, .menu-item[aria-current="page"] { color: var(--copper-hi); padding-left: 6px; }
.menu-item:hover svg, .menu-item[aria-current="page"] svg { color: var(--copper); transform: translateX(3px); }
.menu-item[aria-current="page"] .m { color: var(--copper-hi); }

.menu-sub { padding-left: 22px; }
.menu-sub .m { font-size: clamp(1.05rem, 4.4vw, 1.35rem); }

.menu-foot { padding-top: 26px; display: grid; gap: 16px; }

/* --------------------------------------------------------------------------
   14 · Section headers
   -------------------------------------------------------------------------- */
.head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(34px, 4.4vw, 66px);
}

@media (min-width: 900px) {
  .head {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(36px, 5vw, 88px);
    align-items: end;
  }
}

.head-t { display: grid; gap: 17px; }
.head-a { display: grid; gap: 20px; justify-items: start; }

/* --------------------------------------------------------------------------
   15 · Reveals
   -------------------------------------------------------------------------- */
.rise {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
  transition-delay: var(--d, 0ms);
}
.rise[data-in="true"] { opacity: 1; transform: none; }
.no-js .rise { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   16 · Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--bar) + clamp(26px, 4vw, 62px));
  padding-bottom: clamp(6px, 1vw, 14px);
  overflow: hidden;
  isolation: isolate;
}

.hero-home { min-height: 100svh; }

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 50% at 78% 38%, rgba(194, 129, 76, 0.13), transparent 64%),
    radial-gradient(ellipse 60% 45% at 12% 12%, rgba(111, 203, 214, 0.045), transparent 60%),
    linear-gradient(to bottom, rgba(7, 9, 11, 0.5) 0%, transparent 26%, transparent 74%, var(--carbon) 100%);
}

/* Routed lines that run behind the hero */
.hero-rails { position: absolute; inset: 0; z-index: -1; overflow: hidden; opacity: 0.85; }
.hero-rails svg { width: 100%; height: 100%; }
.hero-rails .rl { fill: none; stroke: var(--edge); stroke-width: 1; }
.hero-rails .rl-2 { stroke: rgba(194, 129, 76, 0.16); }

.hero-grid {
  flex: 1;
  display: grid;
  gap: clamp(40px, 5vw, 68px);
  align-items: center;
  padding-bottom: clamp(26px, 3vw, 44px);
}

@media (min-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(44px, 5vw, 96px);
    align-items: center;
  }
}

.hero-type { display: grid; gap: clamp(20px, 2.4vw, 32px); align-content: center; min-width: 0; }
.hero-h { display: grid; gap: clamp(14px, 1.6vw, 22px); }

.hero-h .dsp1 em {
  font-style: normal;
  color: var(--copper-hi);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 419px) { .hero-actions { display: grid; } }

/* Signature line — founder-led, stated once, close to the mark */
.sign {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px 16px 10px 10px;
  background: rgba(243, 223, 192, 0.02);
  box-shadow: inset 0 0 0 1px var(--edge);
  --n: 8px;
  clip-path: polygon(
    var(--n) 0, 100% 0, 100% calc(100% - var(--n)),
    calc(100% - var(--n)) 100%, 0 100%, 0 var(--n)
  );
}
.sign img { width: 40px; height: 40px; flex: none; }
.sign .s { display: grid; gap: 3px; min-width: 0; }
.sign .s b { font-size: 13.5px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }

/* --- The stage: an original routing diagram, not a picture ---------------- */
.stage {
  position: relative;
  width: 100%;
  max-width: min(560px, 88vw);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  --bl: 26px;
}

@media (min-width: 1080px) { .stage { max-width: none; } }

.stage-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage-svg .frame { fill: none; stroke: var(--edge-2); stroke-width: 1; }
.stage-svg .frame-faint { stroke: var(--edge); }
.stage-svg .wire { fill: none; stroke: rgba(243,223,192,0.2); stroke-width: 1; stroke-linecap: square; }
.stage-svg .wire-heat { stroke: rgba(194, 129, 76, 0.72); }
.stage-svg .node { fill: var(--slate); stroke: rgba(243,223,192,0.3); stroke-width: 1; }
.stage-svg .node-heat { fill: rgba(194, 129, 76, 0.16); stroke: var(--copper); }
.stage-svg .core { fill: none; stroke: rgba(243,223,192,0.3); stroke-width: 1; }
.stage-svg .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  fill: var(--muted);
  text-transform: uppercase;
}
.stage-svg .lbl-dim { fill: var(--dim); font-size: 9.5px; letter-spacing: 0.16em; }
.stage-svg .lbl-heat { fill: var(--copper); }

.stage-glow {
  position: absolute;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 129, 76, 0.15), transparent 68%);
  filter: blur(44px);
}

/* The packet that travels one routed line at a time.
   Shown only where offset-path is supported, so an unsupported browser never
   parks a stray dot in the corner of the diagram. */
.stage-svg .packets { display: none; }
@supports (offset-path: path("M0 0")) { .stage-svg .packets { display: block; } }

.stage-svg .packet {
  fill: var(--copper-hi);
  opacity: 0;
  animation: packet 5.4s var(--ease-io) infinite;
}
.stage-svg .packet:nth-of-type(2) { animation-delay: 1.8s; }
.stage-svg .packet:nth-of-type(3) { animation-delay: 3.6s; }

@keyframes packet {
  0%   { opacity: 0; offset-distance: 0%; }
  8%   { opacity: 1; }
  46%  { opacity: 1; }
  56%  { opacity: 0; offset-distance: 100%; }
  100% { opacity: 0; offset-distance: 100%; }
}

/* --- hero status rail ----------------------------------------------------- */
.hero-rail {
  border-top: 1px solid var(--edge);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 40px);
  flex-wrap: wrap;
  padding-block: 15px 18px;
}

.hero-rail .end { margin-left: auto; }

/* --------------------------------------------------------------------------
   17 · Page hero (internal pages)
   -------------------------------------------------------------------------- */
.phero { padding-block: calc(var(--bar) + clamp(40px, 5vw, 84px)) clamp(36px, 4.4vw, 72px); }
.phero .dsp1 { font-size: clamp(2.15rem, 4.6vw, 4.3rem); }
.lost .dsp1 { font-size: clamp(2.4rem, 5.4vw, 5rem); }

.phero-grid { display: grid; gap: clamp(24px, 3vw, 48px); }
@media (min-width: 960px) {
  .phero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(36px, 5vw, 84px); align-items: end; }
}

.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; }
/* Comfortable hit areas without changing the visual rhythm (WCAG 2.5.8) */
.crumb a, .crumb > span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
}
.crumb a { color: var(--dim); transition: color var(--fast) var(--ease); }
.crumb a:hover { color: var(--copper); }
.crumb .sep { color: var(--dim); opacity: 0.55; }
.crumb [aria-current="page"] { color: var(--muted); }

/* --------------------------------------------------------------------------
   18 · Disciplines — build / create / grow
   -------------------------------------------------------------------------- */
.bays { display: grid; gap: 1px; background: var(--edge); box-shadow: 0 0 0 1px var(--edge); }
@media (min-width: 980px) { .bays { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.bay {
  position: relative;
  background: var(--carbon);
  padding: clamp(26px, 2.8vw, 42px) clamp(22px, 2.4vw, 36px) clamp(28px, 3vw, 44px);
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 18px;
  isolation: isolate;
  transition: background-color var(--mid) var(--ease);
}

.bay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(194, 129, 76, 0.09), transparent 70%);
  transition: opacity var(--mid) var(--ease);
}
.bay:hover { background: var(--graphite); }
.bay:hover::before { opacity: 1; }

/* the routed edge that draws itself along the top on hover */
.bay::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--copper), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.bay:hover::after { transform: scaleX(1); }

.bay-k { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bay-mark { width: 30px; height: 30px; color: var(--dim); transition: color var(--mid) var(--ease); }
.bay:hover .bay-mark { color: var(--copper); }

.bay-t {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 0.98;
  text-transform: uppercase;
}

.bay-list { display: grid; gap: 1px; background: var(--edge); }
.bay-list li {
  background: var(--carbon);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding-block: 10px;
  font-size: 14.5px;
  color: var(--muted);
  transition: background-color var(--mid) var(--ease);
}
.bay:hover .bay-list li { background: var(--graphite); }
.bay-list li::before {
  content: "";
  width: 5px; height: 5px;
  align-self: center;
  box-shadow: inset 0 0 0 1px var(--edge-3);
}
.bay:hover .bay-list li::before { box-shadow: inset 0 0 0 1px var(--edge-heat); }

/* --------------------------------------------------------------------------
   19 · Method — how the work is run
   -------------------------------------------------------------------------- */
.method { display: grid; gap: clamp(28px, 3.4vw, 56px); }
@media (min-width: 980px) { .method { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

.pillars { display: grid; gap: 1px; background: var(--edge); box-shadow: 0 0 0 1px var(--edge); }
@media (min-width: 560px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pillar {
  background: var(--carbon);
  padding: clamp(20px, 2.2vw, 30px);
  display: grid;
  gap: 11px;
  align-content: start;
  transition: background-color var(--mid) var(--ease);
}
.pillar:hover { background: var(--graphite); }
.pillar h3 { font-family: var(--display); font-size: 1.06rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }

/* --------------------------------------------------------------------------
   20 · Steps — numbered process ladder
   -------------------------------------------------------------------------- */
.steps { display: grid; gap: 0; counter-reset: step; }

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 20px;
  padding-block: 20px;
  border-top: 1px solid var(--edge);
  transition: background-color var(--mid) var(--ease), padding-inline var(--mid) var(--ease);
}
.step:last-child { border-bottom: 1px solid var(--edge); }
@media (min-width: 900px) {
  .step { grid-template-columns: 62px minmax(0, 15rem) minmax(0, 1fr); align-items: baseline; gap: 0 clamp(18px, 2.4vw, 40px); }
  .step:hover { background: var(--graphite); padding-inline: 18px; }
}

.step-n { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--copper); }
.step-t { font-family: var(--display); font-size: clamp(1.15rem, 1.5vw, 1.36rem); font-weight: 600; letter-spacing: -0.026em; }
.step-d { grid-column: 2 / -1; font-size: 14.5px; line-height: 1.68; color: var(--muted); }
@media (min-width: 900px) { .step-d { grid-column: auto; } }

/* --------------------------------------------------------------------------
   21 · Pathways
   -------------------------------------------------------------------------- */
.paths { display: grid; gap: 1px; background: var(--edge); box-shadow: 0 0 0 1px var(--edge); }
@media (min-width: 860px) { .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.path {
  position: relative;
  background: var(--carbon);
  padding: clamp(26px, 2.8vw, 42px);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  isolation: isolate;
  transition: background-color var(--mid) var(--ease);
}
.path::before {
  content: "";
  position: absolute;
  inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(194, 129, 76, 0.08), transparent 70%);
  transition: opacity var(--mid) var(--ease);
}
.path:hover { background: var(--graphite); }
.path:hover::before { opacity: 1; }

.path-q {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.9vw, 1.72rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.path .trace { margin-top: 4px; }
.path:hover .trace::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   22 · Capability index
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 15px;
  border-block: 1px solid var(--edge);
}
.filters .tag { margin-right: 4px; }

.filter {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 38px;
  padding: 8px 14px;
  --n: 6px;
  clip-path: polygon(
    var(--n) 0, 100% 0, 100% calc(100% - var(--n)),
    calc(100% - var(--n)) 100%, 0 100%, 0 var(--n)
  );
  box-shadow: inset 0 0 0 1px var(--edge-2);
  transition: color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
.filter:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--edge-3); }
.filter[aria-pressed="true"] {
  color: var(--copper-hi);
  background: rgba(194, 129, 76, 0.1);
  box-shadow: inset 0 0 0 1px var(--edge-heat);
}
.filter .c { color: var(--dim); margin-left: 6px; }
.filter[aria-pressed="true"] .c { color: var(--copper); }

.index { border-top: 1px solid var(--edge); }
.item { border-bottom: 1px solid var(--edge); }
.item[hidden] { display: none !important; }

.item-row {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 22px;
  align-items: start;
  gap: 6px 14px;
  text-align: left;
  padding-block: 20px;
  transition: background-color var(--mid) var(--ease), padding-inline var(--mid) var(--ease);
}

@media (min-width: 1024px) {
  .item-row {
    grid-template-columns: 56px minmax(0, 17rem) minmax(0, 1fr) 132px 22px;
    align-items: center;
    gap: 0 clamp(16px, 2vw, 34px);
  }
  .item-row:hover { background: var(--graphite); padding-inline: 18px; }
}

.item-n { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--dim); transition: color var(--mid) var(--ease); }
.item-row:hover .item-n, .item-row[aria-expanded="true"] .item-n { color: var(--copper); }

.item-t {
  grid-column: 2 / -1;
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.5vw, 1.34rem);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.18;
  color: var(--ink);
}
@media (min-width: 1024px) { .item-t { grid-column: auto; } }

.item-s { grid-column: 2 / -1; font-size: 14.5px; line-height: 1.6; color: var(--muted); max-width: 62ch; }
@media (min-width: 1024px) { .item-s { grid-column: auto; } }

.item-c { grid-column: 2 / -1; }
@media (min-width: 1024px) { .item-c { grid-column: auto; justify-self: start; } }

.item-sign {
  position: relative;
  width: 12px; height: 12px;
  grid-row: 1; grid-column: 3;
  justify-self: end;
  align-self: center;
  color: var(--dim);
  transition: color var(--mid) var(--ease), transform var(--mid) var(--ease);
}
@media (min-width: 1024px) { .item-sign { grid-column: 5; grid-row: auto; } }

.item-sign::before, .item-sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--mid) var(--ease), opacity var(--fast) var(--ease);
}
.item-sign::before { top: 5px; left: 0; width: 12px; height: 1px; }
.item-sign::after { left: 5px; top: 0; width: 1px; height: 12px; }
.item-row:hover .item-sign { color: var(--copper); }
.item-row[aria-expanded="true"] .item-sign { color: var(--copper); transform: rotate(180deg); }
.item-row[aria-expanded="true"] .item-sign::after { transform: scaleY(0); opacity: 0; }

.item-line {
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: linear-gradient(90deg, var(--copper), rgba(194, 129, 76, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.85s var(--ease);
}
.item-row[aria-expanded="true"] .item-line { transform: scaleX(1); }

.item-panel { overflow: hidden; transition: height 0.4s var(--ease); }
.no-js .item-panel { height: auto !important; }
.no-js .item-panel[hidden] { display: block !important; }

.item-detail { display: grid; gap: 22px; padding: 2px 0 30px; }
@media (min-width: 1024px) {
  .item-detail {
    grid-template-columns: 56px minmax(0, 1fr) minmax(0, 21rem);
    gap: 0 clamp(16px, 2vw, 34px);
    padding-inline: 18px;
  }
  .item-detail > :nth-child(1) { grid-column: 2; }
  .item-detail > :nth-child(2) { grid-column: 3; }
}

.item-body { font-size: 15px; line-height: 1.72; color: var(--muted); max-width: 66ch; }
.item-side { display: grid; gap: 13px; align-content: start; justify-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* --------------------------------------------------------------------------
   23 · Plates and grids
   -------------------------------------------------------------------------- */
.plate {
  position: relative;
  background: var(--slate);
  box-shadow: inset 0 0 0 1px var(--edge);
  --n: var(--n-lg);
  clip-path: polygon(
    var(--n) 0, 100% 0, 100% calc(100% - var(--n)),
    calc(100% - var(--n)) 100%, 0 100%, 0 var(--n)
  );
  padding: clamp(22px, 2.4vw, 38px);
  isolation: isolate;
  transition: box-shadow var(--mid) var(--ease);
}
.plate-void { background: var(--void); }
.plate-graphite { background: var(--graphite); }

/* A hairline lattice of cards */
.lattice { display: grid; gap: 1px; background: var(--edge); box-shadow: 0 0 0 1px var(--edge); }
@media (min-width: 680px)  { .lattice-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 700px)  { .lattice-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .lattice-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 620px)  { .lattice-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .lattice-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.cell {
  position: relative;
  background: var(--carbon);
  padding: clamp(22px, 2.3vw, 34px);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 13px;
  isolation: isolate;
  transition: background-color var(--mid) var(--ease);
}
.cell::before {
  content: "";
  position: absolute;
  inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(194, 129, 76, 0.075), transparent 70%);
  transition: opacity var(--mid) var(--ease);
}
.cell:hover { background: var(--graphite); }
.cell:hover::before { opacity: 1; }
.cell:hover .trace::after { transform: scaleX(1); }

.cell-mark { width: 28px; height: 28px; color: var(--dim); transition: color var(--mid) var(--ease); }
.cell:hover .cell-mark { color: var(--copper); }

.cell h3 {
  font-family: var(--display);
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  font-weight: 600;
  letter-spacing: -0.026em;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

/* Plain listing of capabilities inside a page section */
.roster { display: grid; gap: 1px; }
@media (min-width: 640px)  { .roster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .roster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.roster li {
  background: var(--carbon);
  box-shadow: 0 0 0 1px var(--edge);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
  padding: 15px 18px;
  font-size: 14.5px;
  color: var(--muted);
  transition: background-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.roster li:hover { background: var(--graphite); color: var(--ink); }
.roster a { display: inline-flex; align-items: center; min-height: 26px; }
.roster li .tag { color: var(--dim); }
.roster li:hover .tag { color: var(--copper); }

/* --------------------------------------------------------------------------
   24 · Channels — direct contact rows
   -------------------------------------------------------------------------- */
/* Hairlines are drawn per cell, so the row always closes cleanly whatever the
   number of channels. */
.channels { display: grid; gap: 1px; }
@media (min-width: 1024px) { .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.channel {
  position: relative;
  background: var(--carbon);
  box-shadow: 0 0 0 1px var(--edge);
  padding: clamp(20px, 2.2vw, 30px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 18px;
  transition: background-color var(--mid) var(--ease);
}
.channel:hover { background: var(--graphite); }

.channel .ic {
  width: 22px; height: 22px;
  color: var(--dim);
  transition: color var(--mid) var(--ease);
}
.channel:hover .ic { color: var(--copper); }

.channel .k { grid-column: 2; }
.channel .v {
  grid-column: 2;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.channel .go { color: var(--dim); transition: color var(--mid) var(--ease), transform var(--mid) var(--ease); }
.channel:hover .go { color: var(--copper); transform: translate(3px, -3px); }
.channel .n { grid-column: 2; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

.channel-lead { background: var(--slate); }
.channel-lead .ic { color: var(--copper); }

/* Social row */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--edge-2);
  --n: 6px;
  clip-path: polygon(
    var(--n) 0, 100% 0, 100% calc(100% - var(--n)),
    calc(100% - var(--n)) 100%, 0 100%, 0 var(--n)
  );
  transition: color var(--fast) var(--ease), background-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.social:hover { color: var(--copper-hi); background: rgba(194, 129, 76, 0.09); box-shadow: inset 0 0 0 1px var(--edge-heat); }
.social svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   25 · Split composition
   -------------------------------------------------------------------------- */
.split { display: grid; gap: clamp(28px, 3.4vw, 62px); align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 980px) { .split-wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
@media (min-width: 980px) { .split-narrow { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.split-top { align-items: start; }

/* Portrait plate — the mark used as identity, at a restrained size */
.portrait {
  position: relative;
  width: 100%;
  max-width: 380px;
  --bl: 24px;
}
.portrait-img { position: relative; }
.portrait img { width: 100%; box-shadow: inset 0 0 0 1px var(--edge-2); }
.portrait .b { border-color: var(--edge-heat); margin: -13px; }
.portrait-cap { margin-top: 22px; display: grid; gap: 7px; }

/* --------------------------------------------------------------------------
   26 · Spec strip
   -------------------------------------------------------------------------- */
.strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px clamp(14px, 2.6vw, 44px);
  padding-block: 15px;
  border-block: 1px solid var(--edge);
}
.strip .dot { width: 5px; height: 5px; background: var(--copper); flex: none; }

/* --------------------------------------------------------------------------
   27 · Call to action band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  --bl: 30px;
  padding: clamp(34px, 4.6vw, 76px) clamp(22px, 3.4vw, 62px);
  background:
    radial-gradient(ellipse 70% 120% at 82% 20%, rgba(194, 129, 76, 0.12), transparent 62%),
    var(--void);
  box-shadow: inset 0 0 0 1px var(--edge);
  display: grid;
  gap: clamp(24px, 3vw, 44px);
}
@media (min-width: 900px) { .cta { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; } }
.cta .b { border-color: var(--edge-heat); }

/* --------------------------------------------------------------------------
   28 · Footer
   -------------------------------------------------------------------------- */
.foot { border-top: 1px solid var(--edge); background: var(--void); }

.foot-top {
  display: grid;
  gap: clamp(28px, 3.4vw, 48px);
  padding-block: clamp(40px, 4.6vw, 74px);
}
@media (min-width: 900px) { .foot-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: clamp(36px, 5vw, 80px); } }

.foot-id { display: grid; gap: 20px; align-content: start; justify-items: start; }
.foot-brand { display: inline-grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 15px; }
.foot-brand img { width: 54px; height: 54px; box-shadow: inset 0 0 0 1px var(--edge-2); }
.foot-brand .word { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.85rem); font-weight: 600; letter-spacing: -0.035em; color: var(--ink); }

.foot-cols { display: grid; gap: 30px; }
@media (min-width: 560px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); } }

.foot-col { display: grid; gap: 12px; align-content: start; }
.foot-col a {
  font-size: 14.5px;
  color: var(--muted);
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.foot-col a:hover { color: var(--copper-hi); transform: translateX(3px); }
.foot-col a svg { color: var(--dim); }

.foot-line {
  border-top: 1px solid var(--edge);
  padding-block: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}
.foot-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.foot-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  transition: color var(--fast) var(--ease);
}
.foot-legal a:hover { color: var(--copper); }

/* --------------------------------------------------------------------------
   29 · Growth groups
   -------------------------------------------------------------------------- */
.groups { display: grid; gap: 1px; background: var(--edge); box-shadow: 0 0 0 1px var(--edge); }

.group {
  background: var(--carbon);
  display: grid;
  gap: clamp(20px, 2.4vw, 36px);
  padding: clamp(26px, 2.8vw, 42px) clamp(22px, 2.4vw, 38px);
  transition: background-color var(--mid) var(--ease);
}
.group:hover { background: var(--graphite); }

@media (min-width: 900px) {
  .group { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 3vw, 56px); align-items: start; }
}

.group-k { display: grid; gap: 12px; align-content: start; }
.group-k .copy-sm { max-width: 40ch; }

.group-list { display: grid; gap: 1px; background: var(--edge); }
.group-list li {
  background: var(--carbon);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding-block: 15px;
  transition: background-color var(--mid) var(--ease);
}
.group:hover .group-list li { background: var(--graphite); }
.group-list .tag { padding-top: 4px; color: var(--copper); }
.g-b { display: grid; gap: 5px; min-width: 0; }
.g-n {
  font-family: var(--display);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.2;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   30 · Format studies — original layout demonstrations, never client work
   -------------------------------------------------------------------------- */
.studies { display: grid; gap: clamp(20px, 2.4vw, 34px); align-items: start; }
@media (min-width: 760px) { .studies { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1120px) { .studies { grid-template-columns: 1.35fr 0.72fr 0.93fr; } }

.study { display: grid; gap: 16px; min-width: 0; }
@media (max-width: 759px) { .study-t .study-frame { max-width: 280px; } }

.study-frame {
  --bl: 18px;
  background: var(--graphite);
  box-shadow: inset 0 0 0 1px var(--edge);
  padding: clamp(14px, 1.6vw, 22px);
}
.study-frame .b { border-color: var(--edge-heat); }
.study-frame svg { width: 100%; height: auto; }

.st-bg { fill: var(--void); }
.st-brk { stroke: var(--edge-3); stroke-width: 1; fill: none; }
.st-frame { stroke: var(--edge-2); stroke-width: 1; fill: none; }
.st-bar { fill: rgba(243, 223, 192, 0.5); }
.st-line { fill: rgba(154, 162, 170, 0.34); }
.st-btn { fill: rgba(243, 223, 192, 0.16); stroke: var(--edge-3); stroke-width: 1; }
.st-heat { fill: var(--copper); }

.study-cap { display: grid; gap: 7px; }

/* --------------------------------------------------------------------------
   31 · Prose (privacy / terms)
   -------------------------------------------------------------------------- */
.prose { max-width: 70ch; display: grid; gap: 26px; }
.prose h2 {
  font-family: var(--display);
  font-size: clamp(1.28rem, 1.8vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.2;
  color: var(--ink);
  padding-top: 12px;
}
.prose h3 { font-family: var(--display); font-size: 1.06rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.prose p, .prose li { font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.prose ul { display: grid; gap: 10px; }
.prose ul li, ul.prose > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 13px; align-items: baseline; }
.prose ul li::before, ul.prose > li::before {
  content: "";
  width: 5px; height: 5px;
  box-shadow: inset 0 0 0 1px var(--copper);
  align-self: center;
}
.prose a { color: var(--copper); text-underline-offset: 3px; text-decoration: underline; text-decoration-color: var(--edge-heat); }
.prose a:hover { color: var(--copper-hi); text-decoration-color: currentColor; }
.prose .sect { display: grid; gap: 14px; }

/* --------------------------------------------------------------------------
   30 · 404
   -------------------------------------------------------------------------- */
.lost {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding-block: calc(var(--bar) + 60px) 80px;
}

/* --------------------------------------------------------------------------
   31 · Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rise { opacity: 1 !important; transform: none !important; }
  .item-panel { height: auto !important; transition: none !important; }
  .stage-svg .packets { display: none !important; }
  .trace::after { transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   32 · No-script fallback — nothing may become unreachable
   -------------------------------------------------------------------------- */
.no-js .item-sign, .no-js .toggle, .no-js .filters { display: none; }
.no-js .nav-links { display: flex; flex-wrap: wrap; }
.no-js .drop-panel { position: static; opacity: 1; transform: none; pointer-events: auto; width: auto; display: none; }
.no-js .drop > .nav-link svg { display: none; }
@media (max-width: 1079px) {
  .no-js .nav-in { flex-wrap: wrap; height: auto; padding-block: 12px; gap: 6px 18px; }
  .no-js .nav { position: static; }
  .no-js .hero, .no-js .phero, .no-js .lost { padding-top: clamp(28px, 4vw, 60px); }
}

/* --------------------------------------------------------------------------
   33 · Pointer / touch refinements
   -------------------------------------------------------------------------- */
@media (hover: none) {
  .bay::before, .cell::before, .path::before { display: none; }
}

/* --------------------------------------------------------------------------
   34 · Narrow-screen safety
   Notation is set tight by design, which holds until the viewport is narrower
   than the longest string. Below 460 it wraps instead of pushing the layout.
   -------------------------------------------------------------------------- */
@media (max-width: 459px) {
  .btn { padding-inline: 18px; font-size: 10.5px; max-width: 100%; }
  .dsp1 { font-size: clamp(2.15rem, 9.6vw, 5.9rem); }
  .dsp2 { font-size: clamp(1.72rem, 8vw, 4rem); }
  .dsp1, .dsp2, .dsp3, .dsp4, .bay-t, .path-q, .item-t, .foot-brand .word, .menu-item .m { overflow-wrap: anywhere; }
  .brand .word { font-size: 15.5px; }
  .brand .stamp { width: 30px; height: 30px; }
  .hero-rail { gap: 8px 16px; }
  .hero-rail .end { margin-left: 0; }
  .cta { padding-inline: 18px; }
  .channel { padding: 18px 16px; }
}

@media (max-width: 359px) {
  .tag, .ref { letter-spacing: 0.12em; }
  .btn { font-size: 10px; letter-spacing: 0.1em; padding-inline: 14px; }
}
