/* ==========================================================================
   DANIYAL ALI CHOHAN — v2 "Engineered Clarity"
   Graphite / warm ink / amber phosphor · General Sans + Instrument Serif + Space Mono
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* display face — self-hosted, single Regular weight */
@font-face {
  font-family: 'Velique Sans';
  src: url('../fonts/velique-sans-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* color — severe: 1 bg, 1 ink, 1 accent */
  --bg: #0A0B0D;
  --bg-2: #0E1013;
  --bg-3: #121418;
  --ink: #E9E7E2;
  --ink-dim: rgba(233, 231, 226, 0.60);
  --ink-faint: rgba(233, 231, 226, 0.34);
  --hair: rgba(233, 231, 226, 0.10);
  --hair-strong: rgba(233, 231, 226, 0.18);
  /* accent: --acc is the themeable slot (per-category on case pages);
     --amber is a legacy alias so every existing rule themes automatically.
     Brand accent: phosphor green. */
  --acc: #45D483;
  --amber: var(--acc);
  --amber-dim: color-mix(in srgb, var(--acc) 15%, transparent);
  --amber-faint: color-mix(in srgb, var(--acc) 7%, transparent);

  /* type — Inter carries both the body and the label/metadata voice
     (labels keep their uppercase + tracking treatment) */
  --f-sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --f-display: 'Velique Sans', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* the four-curve house palette */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);       /* reveals / entrances */
  --e-inout: cubic-bezier(0.87, 0, 0.13, 1);    /* wipes / structural */
  --e-curtain: cubic-bezier(0.76, 0, 0.24, 1);  /* curtains */
  --e-ui: cubic-bezier(0.625, 0.05, 0, 1);      /* micro-UI */

  /* scale — editorial extremes, rem term keeps zoom working;
     svh caps stop display type from overflowing short viewports */
  --t-hero: min(clamp(3.2rem, 1.6rem + 9.5vw, 11rem), 15svh);
  --t-h1: clamp(2.8rem, 1.4rem + 7.5vw, 8rem);
  --t-h2: clamp(2rem, 1.2rem + 3.6vw, 4.4rem);
  --t-h3: clamp(1.35rem, 1.05rem + 1.3vw, 2.1rem);
  --t-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --t-label: clamp(0.65rem, 0.62rem + 0.15vw, 0.75rem);

  --gut: clamp(1.25rem, 3vw, 3.5rem);
  --nav-h: 64px;
}

/* per-category case themes (set data-accent on <body>) */
body[data-accent="green"]  { --acc: #45D483; }  /* = brand default */
body[data-accent="violet"] { --acc: #8B5CF6; }  /* AI / mortgage */
body[data-accent="blue"]   { --acc: #4EA8FF; }  /* logistics ops */
body[data-accent="cyan"]   { --acc: #56C8FF; }  /* NebloAI freight */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, canvas, video { max-width: 100%; display: block; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--amber); color: #0A0B0D; }

h1, h2, h3, h4,
.wrow__title, .nextproj__title, .foot__name, .marq__item {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.03em;
  /* Velique ships one weight — render its real 400 instead of faux-bold */
  font-synthesis: none;
}

/* accent word — inherits the surrounding heading's face;
   contrast comes from accent color + lowercase (no italics, no serif) */
.si {
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  letter-spacing: inherit;
  color: var(--amber);
}
.si--amber { color: var(--amber); }

/* mono metadata voice */
.mono {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}
.mono--ink { color: var(--ink-dim); }
.mono--amber { color: var(--amber); }

/* ghost display text (700 weight only) */
.ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 231, 226, 0.18);
  paint-order: stroke fill;
}

/* ---------- Shader canvas + grain ---------- */
/* .field is a hero-height halo at the top of <main>: it scrolls away with
   the page, never overlaps the footer, and fades out at its bottom edge. */
.field {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 135svh;
  z-index: 0;
  pointer-events: none;
  overflow: clip;
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
main > *:not(.field) { position: relative; z-index: 1; }
.field canvas { width: 100%; height: 100%; }
/* no-WebGL fallback */
.no-webgl .field {
  background:
    radial-gradient(ellipse 90% 60% at 20% 0%, color-mix(in srgb, var(--acc) 5%, transparent), transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 100%, rgba(233, 231, 226, 0.03), transparent 60%);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); }

.g12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1.5rem;
}

.section { padding-top: clamp(5rem, 12vh, 9rem); padding-bottom: clamp(5rem, 12vh, 9rem); border-top: 1px solid var(--hair); position: relative; }
.section--flush { border-top: none; }

/* kicker: (01) — LABEL ———————— */
.kicker {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.kicker::after { content: ''; flex: 1; height: 1px; background: var(--hair); transform-origin: left; }
.kicker .idx { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: 0.08em; color: var(--amber); }
.kicker .lbl {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* section dek pushed right — magazine spread */
.dek {
  grid-column: 8 / 13;
  max-width: 56ch;
  color: var(--ink-dim);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  line-height: 1.65;
}
.dek strong { color: var(--ink); font-weight: 500; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--e-ui), border-color 0.4s var(--e-ui);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--hair);
}
.nav__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.nav__logo i {
  width: 8px; height: 8px;
  background: var(--amber);
  flex: none;
  font-style: normal;
}
.nav__logo em { font-style: normal; color: var(--ink-faint); }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); }
.nav__links a {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex;
  gap: 0.45rem;
  transition: color 0.3s var(--e-ui);
  position: relative;
}
.nav__links a sup { font-size: 0.55rem; color: var(--ink-faint); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--e-ui);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.3s var(--e-ui), opacity 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Narrow phones: the role drops under the name so the menu button stays on screen */
@media (max-width: 520px) {
  .nav__inner { gap: 1rem; }
  .nav__logo { flex-wrap: wrap; row-gap: 0.2rem; line-height: 1.2; }
  .nav__logo em { flex-basis: 100%; padding-left: calc(8px + 0.6rem); font-size: 0.64rem; }
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: var(--gut);
  transition: transform 0.9s var(--e-curtain);
}
.loader.is-done { transform: translateY(-101%); }
.loader__count {
  font-family: var(--f-mono);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.85;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.04em;
}
.loader__count em { font-style: normal; color: var(--amber); }
.loader__tag {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  max-width: 220px;
  text-align: right;
  line-height: 1.8;
}
html.is-loading { overflow: hidden; }

/* ---------- Reveal system (masked line rise) ---------- */
.rv { display: block; overflow: clip; }
.rv > .rv__i {
  display: block;
  /* breathing room so descenders/punctuation survive the clip mask */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  transform: translateY(112%);
  transition: transform 1.1s var(--e-out);
}
.in-view .rv > .rv__i, .rv.in-view > .rv__i { transform: translateY(0); }
[data-rv-d="1"] .rv__i { transition-delay: 0.08s; }
[data-rv-d="2"] .rv__i { transition-delay: 0.16s; }
[data-rv-d="3"] .rv__i { transition-delay: 0.24s; }
[data-rv-d="4"] .rv__i { transition-delay: 0.32s; }

/* fade-up for blocks */
.fv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out);
}
.fv.in-view { opacity: 1; transform: none; }
.fv[data-fv-d="1"] { transition-delay: 0.1s; }
.fv[data-fv-d="2"] { transition-delay: 0.2s; }
.fv[data-fv-d="3"] { transition-delay: 0.3s; }

/* hairline draw-in */
.hl-draw { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--e-out); }
.in-view .hl-draw, .hl-draw.in-view { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 4rem);
  position: relative;
}
.hero__kicker {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 5vh, 4rem);
}
.hero__kicker::after { content: ''; flex: 1; height: 1px; background: var(--hair); }
.hero__title {
  font-size: min(var(--t-hero), 13.5vw); /* 13.5vw only wins below 640px, where the longest word (COMPLEXITY) must still fit */
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin-bottom: clamp(2.5rem, 6vh, 5rem);
}
.hero__title .si { text-transform: none; }
.hero__title .ln2 { margin-left: clamp(2rem, 9vw, 11rem); }
.hero__title .ln3 { margin-left: clamp(1rem, 4vw, 5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1.5rem;
  row-gap: 2rem;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.hero__dek { grid-column: 1 / 6; max-width: 46ch; color: var(--ink-dim); font-size: 1.05rem; }
.hero__dek strong { color: var(--ink); font-weight: 500; }
.hero__facts {
  grid-column: 8 / 13;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
}
.hero__facts .mono { text-align: right; }
.hero__meta {
  border-top: 1px solid var(--hair);
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero__meta .mono { white-space: nowrap; }
.hero__meta .dotline { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero__meta .dotline::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--amber);
  animation: blink 2.6s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------- Work index — ruled rows with hover media reveal ---------- */
.windex { position: relative; }
.wrow {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1.35fr) minmax(0, 1fr) 3rem;
  align-items: baseline;
  column-gap: 1.5rem;
  padding: clamp(1.6rem, 3.5vh, 2.6rem) 0;
  border-bottom: 1px solid var(--hair);
  position: relative;
  transition: opacity 0.4s var(--e-ui), padding-left 0.5s var(--e-ui);
}
.wrow:first-child { border-top: 1px solid var(--hair); }
.windex:hover .wrow { opacity: 0.35; }
.windex:hover .wrow:hover { opacity: 1; padding-left: 1.2rem; }
.wrow__idx { font-family: var(--f-mono); font-size: var(--t-label); letter-spacing: 0.08em; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.wrow:hover .wrow__idx { color: var(--amber); }
.wrow__title {
  font-size: clamp(1.6rem, 1rem + 3vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-transform: uppercase;
}
.wrow__title .si { text-transform: none; }
.wrow__meta { display: flex; flex-direction: column; gap: 0.35rem; }
.wrow__arrow {
  font-family: var(--f-mono);
  font-size: 1rem;
  color: var(--ink-faint);
  justify-self: end;
  transition: transform 0.45s var(--e-ui), color 0.3s;
}
.wrow:hover .wrow__arrow { transform: translate(6px, -6px); color: var(--amber); }

/* floating preview panel — lerps after cursor (JS: .wpreview) */
.wpreview {
  position: fixed;
  z-index: 60;
  width: min(420px, 34vw);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.35s var(--e-ui), transform 0.45s var(--e-out);
  will-change: left, top;
}
.wpreview.is-on { opacity: 1; transform: scale(1); }
.wpreview__card {
  border: 1px solid var(--hair-strong);
  background: var(--bg-2);
  overflow: hidden;
  display: none;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}
.wpreview__card.is-current { display: block; }
.wpreview__card .bar {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0.9rem;
  border-bottom: 1px solid var(--hair);
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.wpreview__card .bar em { font-style: normal; color: var(--amber); }
.wpreview__card .body { padding: 1rem; }

/* ---------- Capability rows (services teaser) ---------- */
.caprow {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.2fr);
  column-gap: 1.5rem;
  row-gap: 0.6rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}
.caprow:first-child { border-top: 1px solid var(--hair); }
.caprow__idx { font-family: var(--f-mono); font-size: var(--t-label); color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.caprow h3 { font-size: clamp(1.25rem, 1rem + 1.3vw, 2rem); font-weight: 500; letter-spacing: -0.02em; }
.caprow p { color: var(--ink-dim); font-size: 0.98rem; max-width: 56ch; }

/* ---------- Marquee (velocity-reactive, one per page) ---------- */
.marq {
  overflow: clip;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: clamp(1.2rem, 3vh, 2.2rem) 0;
  position: relative;
}
.marq__track { display: flex; gap: 4rem; width: max-content; will-change: transform; }
.marq__item {
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4rem;
}
.marq__item.ghost { -webkit-text-stroke-color: rgba(233, 231, 226, 0.22); }
.marq__item i {
  width: 10px; height: 10px;
  background: var(--amber);
  font-style: normal;
  flex: none;
}

/* ---------- Sticky stack cards (services page — max 5) ---------- */
.stack { display: flex; flex-direction: column; gap: 0; }
.stack__card {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  background: var(--bg-2);
  border: 1px solid var(--hair-strong);
  padding: clamp(1.8rem, 4vw, 3.5rem);
  margin-bottom: clamp(3rem, 10vh, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}
.stack__card:nth-child(2) { top: calc(var(--nav-h) + 2.75rem); }
.stack__card:nth-child(3) { top: calc(var(--nav-h) + 4rem); }
.stack__card:nth-child(4) { top: calc(var(--nav-h) + 5.25rem); }
.stack__card:nth-child(5) { top: calc(var(--nav-h) + 6.5rem); }
.stack__card:nth-child(6) { top: calc(var(--nav-h) + 7.75rem); }
.stack__card h3 { font-size: clamp(1.6rem, 1.1rem + 2.4vw, 3rem); font-weight: 500; letter-spacing: -0.025em; margin: 0.8rem 0 1.2rem; }
.stack__card .num { font-family: var(--f-mono); font-size: var(--t-label); color: var(--amber); letter-spacing: 0.1em; }
.stack__card p { color: var(--ink-dim); max-width: 52ch; }

/* dl-style lists (best-for / deliverables) */
.speclist { margin-top: 1.4rem; }
.speclist dt {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 0.5rem;
  margin-top: 1.4rem;
}
.speclist dd {
  border-top: 1px solid var(--hair);
  padding: 0.55rem 0;
  font-size: 0.92rem;
  color: var(--ink-dim);
  display: flex;
  gap: 0.8rem;
}
.speclist dd::before { content: '→'; font-family: var(--f-mono); color: var(--amber); font-size: 0.8rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.05rem 1.7rem;
  border: 1px solid var(--hair-strong);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--e-ui), border-color 0.35s var(--e-ui);
  isolation: isolate;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: translateY(101%);
  transition: transform 0.5s var(--e-ui);
  z-index: -1;
}
.btn:hover { color: #0A0B0D; border-color: var(--amber); }
.btn:hover::before { transform: translateY(0); }
.btn--solid { background: var(--amber); color: #0A0B0D; border-color: var(--amber); }
.btn--solid::before { background: var(--ink); }
.btn--solid:hover { border-color: var(--ink); }
.btn .ar { font-size: 0.85rem; transition: transform 0.35s var(--e-ui); }
.btn:hover .ar { transform: translateX(4px); }

.linkline {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s var(--e-ui);
}
.linkline::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--e-ui);
}
.linkline:hover { color: var(--ink); }
.linkline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Footer — the destination ---------- */
.foot {
  position: sticky;
  bottom: 0;
  z-index: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--bg);
  border-top: 1px solid var(--hair);
  overflow: clip;
}
main { position: relative; z-index: 1; background: var(--bg); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5); }
.foot__cta {
  padding-top: clamp(2rem, 5svh, 5rem);
  padding-bottom: clamp(1.25rem, 3svh, 3rem);
}
.foot__cta h2 {
  font-size: var(--t-h1);
  font-size: min(var(--t-h1), 8.5svh);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.foot__cta h2 .si { text-transform: none; }
.foot__cta p { color: var(--ink-dim); max-width: 52ch; margin-bottom: 2rem; }
.foot__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.foot__strip {
  border-top: 1px solid var(--hair);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1.2rem 2.5rem;
  flex-wrap: wrap;
}
.foot__strip a:hover { color: var(--ink); }
.foot__name {
  font-size: clamp(4rem, 17.5vw, 19rem);
  font-size: min(clamp(4rem, 17.5vw, 19rem), 16svh);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.72;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  margin-bottom: -0.075em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(233, 231, 226, 0.16);
  user-select: none;
}

/* ---------- Case study pages ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--amber);
  z-index: 200;
}

.chero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 3rem);
  position: relative;
  overflow-x: clip; /* the collage glow bleeds sideways; clip (not hidden) keeps this from becoming a scroll container */
}
.chero__top { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; margin-bottom: auto; }
.chero__num {
  font-family: var(--f-mono);
  font-size: var(--t-label);
  color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.chero__num em { font-style: normal; color: var(--amber); }
.chero__cat { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; justify-content: flex-end; }
.chero__title {
  font-size: min(clamp(2.6rem, 1.2rem + 7.5vw, 8.6rem), 13svh);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 3rem 0 clamp(2.5rem, 6vh, 4.5rem);
}
.chero__title .si { text-transform: none; }
.chero__title .ln2 { margin-left: clamp(1.5rem, 7vw, 9rem); }
.chero__summary {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1.5rem;
  padding-bottom: 3rem;
}
.chero__summary p { grid-column: 7 / 13; color: var(--ink-dim); font-size: 1.06rem; max-width: 54ch; }
.chero__meta {
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 1.5rem;
}
.chero__meta > div { padding: 1.2rem 0; border-right: 1px solid var(--hair); padding-right: 1.2rem; }
.chero__meta > div:last-child { border-right: none; }
.chero__meta span {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.chero__meta b { font-weight: 500; font-size: 0.9rem; line-height: 1.4; display: block; }

/* NDA banner */
.nda {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent);
  background: var(--amber-faint);
  padding: 1rem 1.4rem;
  margin: 2rem 0;
}
.nda i {
  width: 8px; height: 8px;
  background: var(--amber);
  flex: none;
  font-style: normal;
  animation: blink 2.6s steps(2, start) infinite;
}
.nda p { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); line-height: 1.8; }
.nda p b { color: var(--amber); font-weight: 400; }

/* chapter rail */
.cs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-top: clamp(3rem, 8vh, 6rem);
}
.rail { position: sticky; top: calc(var(--nav-h) + 2rem); }
.rail__title {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 0.4rem;
}
.rail a {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.6rem 0;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color 0.3s var(--e-ui), padding-left 0.3s var(--e-ui);
  border-bottom: 1px solid transparent;
}
.rail a i { font-style: normal; font-size: 0.6rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.rail a:hover { color: var(--ink-dim); }
.rail a.is-active { color: var(--amber); padding-left: 0.5rem; }
.rail a.is-active i { color: var(--amber); }

/* chapters */
.chapter { margin-bottom: clamp(5rem, 14vh, 10rem); scroll-margin-top: calc(var(--nav-h) + 2rem); }
.chapter__head { display: flex; align-items: baseline; gap: 1.25rem; margin-bottom: 2.2rem; }
.chapter__head .idx { font-family: var(--f-mono); font-size: var(--t-label); color: var(--amber); letter-spacing: 0.08em; }
.chapter__head::after { content: ''; flex: 1; height: 1px; background: var(--hair); }
.chapter h2 {
  font-size: var(--t-h2);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1;
  margin-bottom: 1.8rem;
  max-width: 20ch;
}
.chapter h2 .si { text-transform: none; }
.chapter > p, .prose p {
  color: var(--ink-dim);
  max-width: 62ch;
  margin-bottom: 1.1rem;
}
.prose p strong, .chapter > p strong { color: var(--ink); font-weight: 500; }

/* pull-quote breaker */
.pull {
  padding: clamp(4rem, 12vh, 8rem) 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin: clamp(3rem, 8vh, 6rem) 0;
}
.pull p {
  font-family: var(--f-sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.8rem, 1.2rem + 3vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 26ch;
}
.pull p em { color: var(--amber); font-style: normal; }
.pull .mono { display: block; margin-top: 1.6rem; }

/* role / outcome ruled lists */
.rlist { }
.rlist li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hair);
  color: var(--ink-dim);
  font-size: 0.97rem;
  align-items: baseline;
}
.rlist li:first-child { border-top: 1px solid var(--hair); }
.rlist li i { font-style: normal; font-family: var(--f-mono); font-size: 0.62rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.rlist li:hover { color: var(--ink); }
.rlist--2col { columns: 2; column-gap: 3rem; }
.rlist--2col li { break-inside: avoid; }

/* challenge grid — ruled cells, not cards */
.chgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
.chgrid > div {
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 1.8rem 1.6rem 2.2rem;
  transition: background 0.4s var(--e-ui);
}
.chgrid > div:hover { background: var(--bg-2); }
.chgrid .idx { font-family: var(--f-mono); font-size: 0.62rem; color: var(--amber); letter-spacing: 0.1em; display: block; margin-bottom: 1.4rem; }
.chgrid h4 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 0.6rem; line-height: 1.25; }
.chgrid p { font-size: 0.88rem; color: var(--ink-dim); line-height: 1.6; }

/* decision spread */
.decision {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.8rem, 4vw, 4rem);
  padding: clamp(2.5rem, 6vh, 4rem) 0;
  border-top: 1px solid var(--hair);
  align-items: center;
}
.decision:last-of-type { border-bottom: 1px solid var(--hair); }
.decision:nth-of-type(even) .decision__text { order: 2; }
.decision:nth-of-type(even) .decision__media { order: 1; }
.decision__text .num { font-family: var(--f-mono); font-size: var(--t-label); color: var(--amber); letter-spacing: 0.1em; display: block; margin-bottom: 1rem; }
.decision__text h3 { font-size: clamp(1.4rem, 1.1rem + 1.5vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1.1rem; }
.decision__text p { color: var(--ink-dim); font-size: 0.97rem; margin-bottom: 0.8rem; max-width: 52ch; }
.decision--solo { grid-template-columns: minmax(0, 1fr); }
.decision--solo .decision__text { max-width: 44rem; }

/* before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.ba__col > .tag { margin-bottom: 1rem; }
.ba .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--hair-strong);
  color: var(--ink-dim);
}
.ba .tag--after { border-color: color-mix(in srgb, var(--acc) 40%, transparent); color: var(--amber); }
.ba__note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.9rem; max-width: 40ch; }
.wire { filter: saturate(0) opacity(0.55); }

/* next-project footer chain */
.nextproj {
  display: block;
  border-top: 1px solid var(--hair);
  padding-top: clamp(4rem, 12vh, 8rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  position: relative;
  overflow: clip;
}
.nextproj .mono { display: block; margin-bottom: 1.6rem; }
.nextproj__title {
  font-size: clamp(2.4rem, 1.2rem + 6.5vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.033em;
  line-height: 0.95;
  text-transform: uppercase;
  transition: color 0.4s var(--e-ui);
  display: block;
}
.nextproj:hover .nextproj__title { color: var(--amber); }
.nextproj__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 2.2rem; }
.nextproj .ar { font-family: var(--f-mono); font-size: 1.6rem; color: var(--ink-faint); transition: transform 0.5s var(--e-ui), color 0.3s; }
.nextproj:hover .ar { transform: translateX(12px); color: var(--amber); }

/* ---------- Mock / placeholder kit — graphite instrument aesthetic ---------- */
.shot {
  border: 1px solid var(--hair-strong);
  background: var(--bg-2);
  position: relative;
}
.shot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--hair);
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.shot__bar em { font-style: normal; color: var(--amber); }
.shot__body { padding: 1.1rem; }
/* exported product screens sit flush inside the frame — the shot chrome is the border */
.shot__body--img { padding: 0; background: var(--bg); }
.shot__body--img img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--hair);
}
/* before/after columns: normalise two different source ratios to one frame */
.shot__body--crop img {
  aspect-ratio: 2000 / 1024;
  object-fit: cover;
  object-position: top center;
}
.shot__cap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.shot__cap::before { content: 'FIG.'; color: var(--amber); }
.shotwrap { margin: 2.4rem 0; }
.shotwrap--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
/* crops exported at 2x: shown no wider than their 1x size (--w), and on phones kept at
   three quarters of it, readable, inside their own sideways scroller */
.shot--fit { max-width: var(--w); }
.shot--fit .shot__body--img { overflow-x: auto; }
@media (max-width: 640px) {
  .shot--fit .shot__body--img img { width: calc(var(--w) * 0.75); max-width: none; }
}

/* mock primitives (kept API-compatible with v1 mock kit) */
.mock-window { background: var(--bg-2); border: 1px solid var(--hair-strong); overflow: hidden; font-family: var(--f-mono); }
.mock-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-bottom: 1px solid var(--hair);
  background: rgba(233, 231, 226, 0.02);
}
.mock-window__dots { display: flex; gap: 5px; }
.mock-window__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(233, 231, 226, 0.16); }
.mock-window__dots i:first-child { background: color-mix(in srgb, var(--acc) 55%, transparent); }
.mock-window__title { font-size: 0.58rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-faint); margin-left: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-window__body { padding: 14px; }
.mock-window__body--split { display: grid; grid-template-columns: 76px minmax(0, 1fr); padding: 0; }
.mock-side { border-right: 1px solid var(--hair); padding: 12px 10px; display: flex; flex-direction: column; gap: 9px; }
.mock-side i { display: block; height: 6px; background: rgba(233, 231, 226, 0.1); }
.mock-side i.on { background: var(--amber); opacity: 0.8; }
.mock-side i:nth-child(3) { width: 72%; }
.mock-side i:nth-child(5) { width: 84%; }
.mock-main { padding: 13px; min-width: 0; }

.skel { display: block; height: 7px; background: rgba(233, 231, 226, 0.1); }
.skel--title { height: 11px; width: 45%; margin-bottom: 10px; background: rgba(233, 231, 226, 0.2); }
.skel--text { margin-bottom: 7px; }
.skel--sm { height: 5px; }
.w-90 { width: 90%; } .w-80 { width: 80%; } .w-70 { width: 70%; }
.w-60 { width: 60%; } .w-50 { width: 50%; } .w-40 { width: 40%; }
.w-30 { width: 30%; } .w-25 { width: 25%; } .w-20 { width: 20%; }

.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 11px; }
.mock-kpis--4 { grid-template-columns: repeat(4, 1fr); }
.mock-kpi { border: 1px solid var(--hair); padding: 9px 10px; }
.mock-kpi b { display: block; font-family: var(--f-sans); font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 2px; }
.mock-kpi span { font-size: 0.52rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-faint); }
.mock-kpi em { font-style: normal; font-size: 0.55rem; margin-left: 5px; }
.mock-kpi em.up { color: var(--amber); }
.mock-kpi em.down { color: var(--ink-faint); }

.mock-chart { display: flex; align-items: flex-end; gap: 5px; height: 76px; padding: 10px; border: 1px solid var(--hair); margin-bottom: 11px; }
.mock-chart i { flex: 1; background: rgba(233, 231, 226, 0.16); min-width: 4px; }
.mock-chart i.alt { background: var(--amber); opacity: 0.75; }
.mock-chart i.dim { background: rgba(233, 231, 226, 0.07); }
.h-20 { height: 20%; } .h-30 { height: 30%; } .h-40 { height: 40%; }
.h-50 { height: 50%; } .h-60 { height: 60%; } .h-70 { height: 70%; }
.h-80 { height: 80%; } .h-90 { height: 90%; } .h-100 { height: 100%; }

.mock-table { border: 1px solid var(--hair); overflow: hidden; }
.mock-table__head, .mock-table__row {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 7px 11px;
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}
.mock-table--5 .mock-table__head, .mock-table--5 .mock-table__row { grid-template-columns: 1.6fr 1.2fr 1fr 1fr 0.8fr; }
.mock-table__head { border-bottom: 1px solid var(--hair); color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.5rem; }
.mock-table__row { border-bottom: 1px solid rgba(233, 231, 226, 0.05); color: var(--ink-dim); }
.mock-table__row:last-child { border-bottom: none; }
.mock-table__row b { color: var(--ink); font-weight: 400; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  font-family: var(--f-mono);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--hair-strong);
  color: var(--ink-dim);
  white-space: nowrap;
}
.pill::before { content: ''; width: 4px; height: 4px; background: currentColor; }
.pill--amber, .pill--blue { color: var(--amber); border-color: color-mix(in srgb, var(--acc) 35%, transparent); }
.pill--green { color: var(--ink); border-color: var(--hair-strong); }
.pill--red { color: var(--amber); border-color: color-mix(in srgb, var(--acc) 50%, transparent); background: var(--amber-faint); }
.pill--purple { color: var(--ink-dim); }

.mock-chat { display: flex; flex-direction: column; gap: 8px; }
.mock-chat__msg { max-width: 84%; padding: 8px 11px; font-size: 0.62rem; line-height: 1.55; color: var(--ink-dim); border: 1px solid var(--hair); }
.mock-chat__msg--user { align-self: flex-end; background: rgba(233, 231, 226, 0.05); color: var(--ink); }
.mock-chat__msg--ai { align-self: flex-start; background: var(--bg); }
.mock-chat__msg--ai .ai-tag {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 5px;
}
.mock-chat__actions { display: flex; gap: 6px; margin-top: 7px; }
.mock-chat__actions i { padding: 4px 9px; font-size: 0.52rem; font-style: normal; border: 1px solid var(--hair-strong); color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.05em; }
.mock-chat__actions i.primary { border-color: color-mix(in srgb, var(--acc) 50%, transparent); color: var(--amber); }

.mock-map {
  position: relative;
  border: 1px solid var(--hair);
  overflow: hidden;
  background:
    linear-gradient(rgba(233, 231, 226, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 231, 226, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: 22px 22px, 22px 22px, auto;
  min-height: 110px;
}
.mock-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mock-map__pin { position: absolute; width: 9px; height: 9px; background: var(--ink-dim); border: 2px solid var(--bg); }
.mock-map__pin--green { background: var(--ink); }
.mock-map__pin--pulse { background: var(--amber); animation: blink 2s steps(2, start) infinite; }

.mock-phone { width: 100%; max-width: 210px; border: 1px solid var(--hair-strong); background: var(--bg-2); padding: 10px; font-family: var(--f-mono); }
.mock-phone__notch { width: 64px; height: 4px; margin: 0 auto 10px; background: rgba(233, 231, 226, 0.12); }
.mock-phone__screen { border: 1px solid var(--hair); background: var(--bg); padding: 12px; min-height: 280px; }

.mock-form { display: flex; flex-direction: column; gap: 9px; }
.mock-form__field label { display: block; font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.mock-form__field i { display: block; height: 26px; border: 1px solid var(--hair-strong); background: rgba(233, 231, 226, 0.02); }
.mock-form__field i.focus { border-color: color-mix(in srgb, var(--acc) 60%, transparent); }
.mock-form__field i.area { height: 48px; }
.mock-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.mock-tokens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.mock-token { border: 1px solid var(--hair); padding: 7px; }
.mock-token i { display: block; height: 22px; margin-bottom: 6px; }
.mock-token span { font-size: 0.48rem; color: var(--ink-faint); letter-spacing: 0.05em; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mock-comps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.mock-comp {
  border: 1px dashed color-mix(in srgb, var(--acc) 30%, transparent);
  padding: 11px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  position: relative;
}
.mock-comp::before {
  content: attr(data-name);
  position: absolute;
  top: -6px; left: 8px;
  font-size: 0.44rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--bg-2);
  padding: 0 5px;
}
.mock-btn { display: inline-block; padding: 6px 13px; font-size: 0.56rem; background: var(--amber); color: #0A0B0D; text-transform: uppercase; letter-spacing: 0.05em; }
.mock-btn--ghost { background: transparent; border: 1px solid var(--hair-strong); color: var(--ink-dim); }
.mock-input { display: inline-block; width: 100%; height: 26px; border: 1px solid var(--hair-strong); background: rgba(233, 231, 226, 0.02); }
.mock-toggle { width: 30px; height: 16px; background: color-mix(in srgb, var(--acc) 40%, transparent); position: relative; }
.mock-toggle::after { content: ''; position: absolute; right: 2px; top: 2px; width: 12px; height: 12px; background: var(--ink); }
.mock-check { width: 14px; height: 14px; background: var(--amber); display: grid; place-items: center; color: #0A0B0D; font-size: 0.55rem; font-weight: 700; }
.mock-check::after { content: '✓'; }

.mock-annot { position: relative; border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); padding: 11px; background: var(--amber-faint); }
.mock-annot__pin {
  position: absolute;
  top: -8px; right: 10px;
  width: 17px; height: 17px;
  background: var(--amber);
  color: #0A0B0D;
  font-size: 0.55rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
}
.mock-annot p { font-size: 0.56rem !important; line-height: 1.65; color: var(--ink-dim) !important; margin: 0 !important; max-width: none !important; }
.mock-annot p b { color: var(--amber); font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; }

.mock-spec { display: flex; align-items: center; gap: 5px; font-size: 0.5rem; color: var(--amber); margin-top: 7px; font-family: var(--f-mono); }
.mock-spec i { flex: 1; height: 1px; background: var(--amber); position: relative; opacity: 0.6; }
.mock-spec i::before, .mock-spec i::after { content: ''; position: absolute; top: -3px; width: 1px; height: 7px; background: var(--amber); }
.mock-spec i::before { left: 0; }
.mock-spec i::after { right: 0; }

/* real-material figures: token specimen, native crops, Figma frame index */
.spec { display: grid; gap: 2rem; }
.spec__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  padding-bottom: 0.6rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--hair);
}
.spec__head span { color: var(--ink-faint); }
.spec__coll + .spec__coll { margin-top: 1.1rem; }
.spec__coll-name { display: block; font-size: 0.74rem; color: var(--ink-dim); margin-bottom: 0.5rem; }
.spec__coll-name i { font-style: normal; color: var(--ink-faint); margin-left: 0.35rem; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 6px; }
.swatch { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 7px; border: 1px solid var(--hair); }
/* the product is light-themed, so translucent tokens are shown over white */
.swatch i { grid-row: span 3; width: 32px; height: 32px; background: linear-gradient(var(--c), var(--c)), #fff; box-shadow: inset 0 0 0 1px rgba(233, 231, 226, 0.22); }
.swatch b { font-weight: 400; font-size: 0.74rem; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.swatch code, .swatch span { font-family: var(--f-mono); font-size: 0.66rem; line-height: 1.4; color: var(--ink-faint); overflow-wrap: anywhere; }
.spec__vars { display: flex; flex-wrap: wrap; gap: 0.35rem 1.2rem; font-size: 0.74rem; color: var(--ink-faint); margin-bottom: 0.9rem; }
.spec__vars b { font-weight: 400; color: var(--ink); }
.typescale li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.3rem 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--hair); }
.typescale__sample { font-family: 'Inter', sans-serif; color: var(--ink); overflow-wrap: anywhere; }
.typescale__meta { font-family: var(--f-mono); font-size: 0.66rem; color: var(--ink-faint); }
.spec__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.spec__list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0.45rem 0; border-bottom: 1px solid var(--hair); font-size: 0.74rem; }
.spec__list b { font-weight: 400; color: var(--ink); overflow-wrap: anywhere; }
.spec__list span { font-family: var(--f-mono); color: var(--ink-faint); }
.spec__radius { width: 28px; height: 28px; border: 1.5px solid var(--amber); }
.spec__bar { height: 10px; background: var(--amber); }

.crops { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2rem 2.4rem; }
.crops__item { display: grid; gap: 0.6rem; min-width: 0; max-width: 100%; }
.crops__item--wide { flex: 1 1 100%; }
.crops__label { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.crops__label span { color: var(--ink-faint); white-space: nowrap; }
.crops__note { font-size: 0.74rem; color: var(--ink-faint); margin-top: -0.2rem; }
.crops__stack { display: grid; gap: 0.9rem; }
.crops__stack small { display: block; font-size: 0.72rem; color: var(--ink-dim); margin-top: 0.35rem; }
/* crops are shown at their native pixel size at most, never stretched */
.crops img { width: auto; max-width: 100%; height: auto; border: 1px solid var(--hair-strong); }
.crops__scroll { overflow-x: auto; }

.fidx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; }
.fidx__list li { padding: 0.45rem 0; border-bottom: 1px solid var(--hair); font-size: 0.8rem; color: var(--ink); break-inside: avoid; }
.fidx__sec--long .fidx__list { columns: 2; column-gap: 2rem; }

@media (max-width: 860px) {
  .spec__cols { grid-template-columns: 1fr; }
  .fidx { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fidx__sec--long .fidx__list { columns: 1; }
  /* the Phone field is wide: keep it legible and let it scroll inside its own frame */
  .crops__item--wide img { max-width: none; width: 760px; }
}

.mock-steps { display: flex; flex-direction: column; }
.mock-step { display: flex; gap: 9px; padding-bottom: 12px; position: relative; }
.mock-step::before { content: ''; position: absolute; left: 6px; top: 15px; bottom: 0; width: 1px; background: var(--hair-strong); }
.mock-step:last-child::before { display: none; }
.mock-step i { width: 13px; height: 13px; border: 1px solid var(--hair-strong); background: var(--bg-2); flex: none; margin-top: 2px; }
.mock-step.done i { background: var(--ink-dim); border-color: var(--ink-dim); }
.mock-step.active i { border-color: var(--amber); background: var(--amber-faint); }
.mock-step span { font-size: 0.6rem; color: var(--ink-faint); }
.mock-step.active span { color: var(--ink); }

.mock-upload { border: 1px dashed color-mix(in srgb, var(--acc) 40%, transparent); padding: 15px 10px; text-align: center; }
.mock-upload svg { width: 16px; height: 16px; margin: 0 auto 7px; color: var(--amber); opacity: 0.85; }
.mock-upload span { font-size: 0.54rem; color: var(--ink-faint); display: block; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Page transitions (View Transitions API) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) {
  animation: vt-out 0.5s var(--e-inout) both;
}
::view-transition-new(root) {
  animation: vt-in 0.7s var(--e-inout) both;
}
@keyframes vt-out { to { opacity: 0.35; transform: translateY(-4vh); } }
@keyframes vt-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .rv > .rv__i { transform: none; }
  .fv { opacity: 1; transform: none; }
  .hl-draw { transform: none; }
  .loader { display: none; }
  html.is-loading { overflow: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cs-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* rail becomes a sticky horizontal pill navigator */
  .rail {
    position: sticky;
    top: var(--nav-h);
    z-index: 40;
    background: rgba(10, 11, 13, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 0 calc(-1 * var(--gut)) 2.5rem;
    padding: 0.6rem var(--gut);
    border-bottom: 1px solid var(--hair);
  }
  .rail__title { display: none; }
  .rail nav {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .rail nav::-webkit-scrollbar { display: none; }
  .rail a {
    flex: none;
    border: 1px solid var(--hair);
    padding: 0.45rem 0.85rem;
    white-space: nowrap;
  }
  .rail a.is-active {
    padding-left: 0.85rem;
    border-color: color-mix(in srgb, var(--acc) 45%, transparent);
    background: var(--amber-faint);
  }
  .chero__meta { grid-template-columns: repeat(2, 1fr); }
  .chero__meta > div:nth-child(2n) { border-right: none; }
  .hero__dek { grid-column: 1 / 8; }
  .hero__facts { grid-column: 1 / 13; align-items: flex-start; }
  .hero__facts .mono { text-align: left; }
  .dek { grid-column: 1 / 13; }
  .chero__summary p { grid-column: 1 / 13; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(10, 11, 13, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--hair);
    padding: 1rem var(--gut) 1.6rem;
    gap: 0;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 1rem 0; border-bottom: 1px solid var(--hair); font-size: 0.85rem; }
  .nav__links a::after { display: none; }
  .nav__burger { display: flex; }
  .wrow { grid-template-columns: 2.5rem minmax(0, 1fr) 2rem; }
  .wrow__meta { display: none; }
  .caprow { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .caprow p { grid-column: 2; }
  .stack__card { grid-template-columns: 1fr; }
  .decision, .decision:nth-of-type(even) { grid-template-columns: 1fr; }
  .decision:nth-of-type(even) .decision__text { order: 1; }
  .decision:nth-of-type(even) .decision__media { order: 2; }
  .chgrid { grid-template-columns: 1fr; }
  .ba { grid-template-columns: 1fr; }
  .shotwrap--duo { grid-template-columns: 1fr; }
  .rlist--2col { columns: 1; }
  .wpreview { display: none; }
  .windex:hover .wrow { opacity: 1; }
  .windex:hover .wrow:hover { padding-left: 0; }
}

/* very short viewports: drop the sticky reveal rather than clip the footer */
@media (max-height: 620px) {
  .foot { position: static; min-height: auto; }
}

@media (max-width: 640px) {
  .hero__title .ln2, .hero__title .ln3 { margin-left: 0; }
  .hero__dek { grid-column: 1 / 13; }
  .chero__title .ln2 { margin-left: 0; }
  .chero__meta { grid-template-columns: 1fr; }
  .chero__meta > div { border-right: none; border-bottom: 1px solid var(--hair); }
  .mock-kpis--4 { grid-template-columns: 1fr 1fr; }
  .foot__strip { flex-direction: column; gap: 0.8rem; }
}

/* ==========================================================================
   CASE STUDY SYSTEM v3 — 17-section layout components
   All accent usage flows through var(--acc) (themed per page via data-accent)
   ========================================================================== */

/* ---------- 1. Split case hero with layered collage ---------- */
.chero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin: 2.5rem 0 clamp(2.5rem, 6vh, 4rem);
}
.chero__grid .chero__title { margin: 0 0 1.8rem; font-size: min(clamp(2.2rem, 1rem + 4.8vw, 5.6rem), 11svh); }
.chero__oneline {
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem);
  color: var(--ink);
  font-weight: 500;
  max-width: 44ch;
  margin-bottom: 1.2rem;
}
.chero__desc { color: var(--ink-dim); max-width: 52ch; font-size: 0.98rem; }
.chero__pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.chero__pills .pill { font-size: 0.58rem; padding: 4px 11px; color: var(--acc); border-color: color-mix(in srgb, var(--acc) 35%, transparent); }

.collage { position: relative; min-height: 480px; }
.collage .mock-window { position: absolute; box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55); }
/* exported screens layered in the hero, same positions as the mock windows */
.collage__img {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--hair-strong);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}
.collage__img img { display: block; width: 100%; height: auto; }
/* screenshots are wider than the mock windows were, so the cascade is retuned */
.collage__img.collage__a { top: 0; left: 0; width: 82%; z-index: 2; }
.collage__img.collage__b { top: 30%; right: 0; bottom: auto; width: 60%; z-index: 3; }
.collage__img.collage__c { top: 58%; bottom: auto; left: 0; right: auto; width: 34%; z-index: 4; }
.collage__a { top: 0; left: 0; width: 78%; z-index: 2; }
.collage__b { bottom: 4%; right: 0; width: 58%; z-index: 3; }
.collage__c { top: 12%; right: -2%; width: 34%; z-index: 4; }
.collage::before {
  content: '';
  position: absolute;
  inset: -15%;
  background: radial-gradient(ellipse at 60% 40%, color-mix(in srgb, var(--acc) 9%, transparent), transparent 65%);
  pointer-events: none;
}

/* ---------- 2. Snapshot bento (5 cards: 3 + 2) ---------- */
.snap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}
.snap > div {
  grid-column: span 2;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 1.6rem 1.5rem 1.9rem;
  transition: background 0.4s var(--e-ui);
}
.snap > div:hover { background: var(--bg-2); }
.snap > div:nth-child(4), .snap > div:nth-child(5) { grid-column: span 3; }
.snap span {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 0.8rem;
}
.snap b { display: block; font-weight: 500; font-size: 1.02rem; line-height: 1.35; margin-bottom: 0.4rem; }
.snap p { font-size: 0.85rem; color: var(--ink-dim); line-height: 1.55; }
/* four cells as a 2 × 2 grid, each a bold label over a short list */
.snap--4 > div, .snap--4 > div:nth-child(4) { grid-column: span 3; }
.snap--4 b { margin-bottom: 0.8rem; }
.snap ul li { position: relative; padding-left: 0.95rem; font-size: 0.85rem; color: var(--ink-dim); line-height: 1.55; }
.snap ul li + li { margin-top: 0.35rem; }
.snap ul li::before { content: ''; position: absolute; left: 0; top: 0.68em; width: 4px; height: 4px; background: var(--acc); }
.snap__note { margin-top: 1rem; font-size: 0.8rem; color: var(--ink-faint); }

/* bulleted chapter copy, ruled like the role list */
.blist { max-width: 62ch; margin: 0.4rem 0 1.4rem; border-top: 1px solid var(--hair); }
.blist > li { position: relative; padding: 0.9rem 0 0.9rem 1.5rem; border-bottom: 1px solid var(--hair); color: var(--ink-dim); }
.blist > li::before { content: ''; position: absolute; left: 0.2rem; top: calc(0.9rem + 0.68em); width: 5px; height: 5px; background: var(--acc); }
.blist b { color: var(--ink); font-weight: 500; }
.blist ul { margin: 0.5rem 0 0; }
.blist ul li { position: relative; padding: 0.2rem 0 0.2rem 1.1rem; }
.blist ul li::before { content: ''; position: absolute; left: 0; top: calc(0.2rem + 0.75em); width: 6px; height: 1px; background: var(--ink-faint); }
.blist li p { margin-top: 0.6rem; }

/* ---------- 3. Context split ---------- */
.ctx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ctx__side .mono { display: block; margin-bottom: 1rem; }
.ctx__list { border-top: 1px solid var(--hair); }
.ctx__list li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hair);
  font-size: 0.95rem;
  color: var(--ink-dim);
  align-items: baseline;
}
.ctx__list li i { font-style: normal; font-family: var(--f-mono); font-size: 0.6rem; color: var(--acc); }
.ctx__list li b { color: var(--ink); font-weight: 500; }

/* ---------- 4. Problem cards (3-up) ---------- */
.probcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.probcards > div { background: var(--bg); padding: 1.8rem 1.6rem 2rem; }
.probcards > div:hover { background: var(--bg-2); }
.probcards .idx { font-family: var(--f-mono); font-size: 0.6rem; color: var(--acc); letter-spacing: 0.1em; display: block; margin-bottom: 1.2rem; }
.probcards h4 { font-size: 1.12rem; font-weight: 500; margin-bottom: 0.6rem; line-height: 1.3; }
.probcards p { font-size: 0.88rem; color: var(--ink-dim); }

/* ---------- 6. Workflow diagram + friction aside ---------- */
.flowwrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.flow { display: flex; flex-direction: column; border: 1px solid var(--hair); background: var(--bg-2); padding: 1.6rem; }
.flow__node { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 0.85rem 0; position: relative; }
.flow__node::before {
  content: ''; position: absolute; left: 1.15rem; top: 2.6rem; bottom: -0.4rem;
  width: 1px; background: var(--hair-strong);
}
.flow__node:last-child::before { display: none; }
.flow__node i {
  font-style: normal; font-family: var(--f-mono); font-size: 0.62rem;
  width: 2.4rem; height: 2.4rem; border: 1px solid var(--hair-strong);
  display: grid; place-items: center; background: var(--bg); color: var(--ink-dim);
}
.flow__node b { font-weight: 500; font-size: 0.95rem; display: block; }
.flow__node small { display: block; font-size: 0.78rem; color: var(--ink-faint); font-weight: 400; }
.flow__node .state { font-family: var(--f-mono); font-size: 0.55rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.flow__node--friction i { border-color: color-mix(in srgb, var(--acc) 55%, transparent); color: var(--acc); background: var(--amber-faint); }
.flow__node--friction .state { color: var(--acc); }
.flow-aside { border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); background: var(--amber-faint); padding: 1.4rem; position: sticky; top: calc(var(--nav-h) + 2rem); }
.flow-aside .mono { display: block; color: var(--acc); margin-bottom: 1rem; }
.flow-aside li { font-size: 0.85rem; color: var(--ink-dim); padding: 0.55rem 0; border-bottom: 1px solid var(--hair); display: flex; gap: 0.7rem; }
.flow-aside li:last-child { border-bottom: none; }
.flow-aside li::before { content: '!'; font-family: var(--f-mono); color: var(--acc); flex: none; }

/* ---------- 9. Decision P/S/W rows ---------- */
.psw { border-top: 1px solid var(--hair); margin-top: 1.2rem; }
.psw > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--hair); }
.psw span { font-family: var(--f-mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); padding-top: 0.25rem; }
.psw p { font-size: 0.9rem; color: var(--ink-dim); margin: 0; max-width: none; }

/* ---------- 11. Screen gallery ---------- */
.gallery { display: flex; flex-direction: column; gap: clamp(2.5rem, 6vh, 4rem); }
.gallery__item .shot { margin-bottom: 0; }
.gallery__meta {
  display: grid; grid-template-columns: 2.2rem minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem; padding: 1rem 0 0; align-items: baseline;
}
.gallery__meta i { font-style: normal; font-family: var(--f-mono); font-size: 0.6rem; color: var(--acc); }
.gallery__meta b { font-weight: 500; font-size: 1rem; }
.gallery__meta .mono { font-size: 0.6rem; }

/* ---------- 14. Outcome cards ---------- */
.outcards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.outcards > div { background: var(--bg); padding: 1.6rem 1.5rem; }
.outcards .idx { font-family: var(--f-mono); font-size: 0.6rem; color: var(--acc); display: block; margin-bottom: 0.9rem; letter-spacing: 0.1em; }
.outcards h4 { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.45rem; line-height: 1.35; }
.outcards p { font-size: 0.86rem; color: var(--ink-dim); }

/* ---------- 16. Related work cards ---------- */
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.related a { border: 1px solid var(--hair); padding: 1.6rem 1.5rem 1.8rem; transition: border-color 0.35s var(--e-ui), transform 0.35s var(--e-ui); display: block; }
.related a:hover { border-color: var(--hair-strong); transform: translateY(-4px); }
.related .mono { display: block; margin-bottom: 1rem; }
.related b { font-size: 1.15rem; font-weight: 500; display: block; margin-bottom: 0.5rem; line-height: 1.25; }
.related p { font-size: 0.84rem; color: var(--ink-dim); }
.related .ar { font-family: var(--f-mono); color: var(--ink-faint); display: inline-block; margin-top: 1rem; transition: transform 0.4s var(--e-ui), color 0.3s; }
.related a:hover .ar { transform: translateX(6px); color: var(--acc); }

/* ---------- Blurred NDA placeholder ---------- */
.shot--blur { position: relative; }
.shot--blur .shot__body > * { filter: blur(7px) saturate(0.6); opacity: 0.65; }
.shot--blur .shot__veil {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 2;
  font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-dim); text-align: center; padding: 1rem;
}
.shot--blur .shot__veil b { color: var(--acc); display: block; margin-bottom: 0.4rem; font-weight: 400; }

/* ---------- Case-system responsive ---------- */
@media (max-width: 1080px) {
  .chero__grid { grid-template-columns: 1fr; }
  .collage { min-height: 360px; max-width: 560px; }
  .flowwrap { grid-template-columns: 1fr; }
  .flow-aside { position: static; }
}
@media (max-width: 860px) {
  .snap { grid-template-columns: 1fr 1fr; }
  .snap > div, .snap > div:nth-child(4), .snap > div:nth-child(5) { grid-column: span 1; }
  .snap > div:last-child { grid-column: span 2; }
  .snap--4 > div:last-child { grid-column: span 1; }
  .ctx { grid-template-columns: 1fr; }
  .probcards { grid-template-columns: 1fr; }
  .outcards { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .gallery__meta { grid-template-columns: 2.2rem minmax(0, 1fr); }
  .gallery__meta .mono { grid-column: 2; }
}
@media (max-width: 640px) {
  .snap { grid-template-columns: 1fr; }
  .snap > div:last-child { grid-column: span 1; }
  .psw > div { grid-template-columns: 1fr; gap: 0.3rem; }
  .collage { min-height: 300px; }
  .collage__c { display: none; }
}
