/* Maison Bos AI, editorial shell. Chromatic Darkness, built only from CSM kit tokens
   (context/brandkit.md): #0b0b0b void, #f6f5f4 text, #d5d9e0 silver, light accents
   #f5c3cf rose, #e6defa lavender, #cbe2f8 ice, #ebd8c3 champagne (reflections only).
   Type: public Maison Bos Archivo hierarchy. The existing wordmark keeps its Roman cut. */

/* The public portfolio exposes Archivo at 400, 500 and 600. Its 700/800
   headline requests resolve to the 600 face at normal width. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-stretch: normal;
  font-display: swap;
}

:root {
  --type: "Archivo", system-ui, sans-serif;
  --void: #0b0b0b;
  --text: #f6f5f4;
  --text-2: rgba(246, 245, 244, 0.64);
  --text-3: rgba(246, 245, 244, 0.42);
  --line: rgba(213, 217, 224, 0.16);
  --line-strong: rgba(213, 217, 224, 0.42);
  --silver: #d5d9e0;
  --rose: #f5c3cf;
  --lavender: #e6defa;
  --ice: #cbe2f8;
  --champagne: #ebd8c3;
  --scrim: rgba(11, 11, 11, 0.72);
  --chrome: linear-gradient(118deg, #d5d9e0 0%, #f6f5f4 18%, #cbe2f8 34%, #e6defa 50%, #f5c3cf 64%, #ebd8c3 78%, #d5d9e0 100%);
  --gutter: clamp(18px, 5vw, 6rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--type);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  background: var(--void);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.entry-on { overflow: hidden; }
img, video, iframe { display: block; width: 100%; height: 100%; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 10px 16px; background: var(--text); color: var(--void);
  transform: translateY(-200%); transition: transform 0.2s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- environment ---------- */
.scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.scene canvas { width: 100%; height: 100%; }
.scene-fallback {
  background:
    radial-gradient(1px 1px at 12% 22%, rgba(246, 245, 244, 0.8), transparent 60%),
    radial-gradient(1px 1px at 68% 14%, rgba(203, 226, 248, 0.7), transparent 60%),
    radial-gradient(1px 1px at 84% 62%, rgba(230, 222, 250, 0.6), transparent 60%),
    radial-gradient(1px 1px at 32% 78%, rgba(235, 216, 195, 0.7), transparent 60%),
    radial-gradient(60% 40% at 70% 30%, rgba(230, 222, 250, 0.05), transparent 70%),
    var(--void);
}
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(11, 11, 11, 0.85) 100%);
}

.site-head, main, .site-foot { position: relative; z-index: 2; }
.container { width: 100%; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- wordmark ---------- */
.wordmark {
  font-family: "Neue Haas Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chrome {
  background: var(--chrome);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 9s var(--ease) infinite alternate;
}
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0;
  background: linear-gradient(to bottom, rgba(11, 11, 11, 0.86), rgba(11, 11, 11, 0));
  -webkit-backdrop-filter: blur(0px);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { font-size: 13px; }
.nav { display: flex; gap: clamp(16px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.nav a {
  font-size: 13px; letter-spacing: 0.04em; color: var(--text-2);
  padding: 6px 0; position: relative; transition: color 0.2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--chrome); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- type ---------- */
.display {
  font-family: var(--type);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(44px, 8.4vw, 132px);
  line-height: 0.84;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 13ch;
}
.display-case { font-size: clamp(40px, 6.6vw, 104px); max-width: 16ch; }
.case-head .display-case { font-weight: 700; line-height: 0.96; letter-spacing: -0.02em; }
.lede { font-size: clamp(17px, 1.5vw, 21px); color: var(--text-2); max-width: 46ch; margin: 28px 0 0; }
.eyebrow {
  font-family: var(--type);
  font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-3); margin: 0;
}
.caption, figcaption { font-size: 14px; color: var(--text-2); margin-top: 14px; max-width: 60ch; }

/* ---------- hero ---------- */
.hero { min-height: calc(100vh - 84px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(56px, 10vh, 120px); }
.hero .display { animation: rise 1.4s var(--ease) both; }
.hero .lede { animation: rise 1.4s 0.15s var(--ease) both; }
.hero .cta { animation: rise 1.4s 0.3s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.cta {
  align-self: flex-start; margin-top: 48px;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 0; border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.cta::after { content: "\2193"; font-size: 15px; }
.cta:hover { border-color: var(--text); gap: 20px; }

/* ---------- work grid ---------- */
.work { padding-top: clamp(64px, 12vh, 140px); padding-bottom: 120px; }
.work .eyebrow { margin-bottom: 40px; }
.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 2.4vw, 32px); row-gap: clamp(56px, 8vw, 104px);
}
.card { grid-column: span 6; }
.card-lead { grid-column: 1 / -1; }
.card:nth-child(4) { grid-column: 2 / span 5; }
.card:nth-child(5) { grid-column: 8 / span 5; margin-top: clamp(0px, 8vw, 140px); }
.card-link { display: block; }

.frame {
  position: relative; overflow: hidden; width: 100%;
  background: rgba(246, 245, 244, 0.03);
  outline: 1px solid var(--line);
}
.card-media { transition: transform 0.6s var(--ease), outline-color 0.6s var(--ease); }
.card-lead .card-media { aspect-ratio: 21 / 9 !important; }
.frame::after {
  /* energy: a thin pulse of light travelling around the edge */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  padding: 1px;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, rgba(203, 226, 248, 0.9) 78%, rgba(245, 195, 207, 0.8) 84%, transparent 92%);
  -webkit-mask: linear-gradient(#0b0b0b 0 0) content-box, linear-gradient(#0b0b0b 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.card-link:hover .card-media, .card-link:focus-visible .card-media { transform: translateY(-8px) scale(1.008); outline-color: var(--line-strong); }
.card-link:hover .frame::after, .card-link:focus-visible .frame::after { opacity: 1; animation: orbit 2.4s linear infinite; }
@keyframes orbit { to { --a: 360deg; } }

.frame-pending { display: flex; align-items: flex-end; padding: 20px; }
.frame-pending::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 20% 0%, rgba(230, 222, 250, 0.06), transparent 60%),
              radial-gradient(60% 80% at 100% 100%, rgba(203, 226, 248, 0.05), transparent 60%);
}
.pending-tag { position: relative; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); }

.card-meta { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 20px; padding-top: 22px; border-top: 1px solid transparent; }
.card-index { font-size: 12px; letter-spacing: 0.16em; color: var(--text-3); font-variant-numeric: tabular-nums; }
.card-title {
  font-family: var(--type);
  text-transform: uppercase;
  font-weight: 700; font-size: clamp(26px, 2.6vw, 40px); line-height: 0.96; letter-spacing: -0.02em;
}
.card-lead .card-title { font-size: clamp(32px, 4vw, 60px); }
.card-kind { font-size: 13px; color: var(--text-2); }

/* ---------- case ---------- */
.case { padding-top: 48px; padding-bottom: 120px; }
.back { display: inline-block; font-size: 13px; color: var(--text-2); margin-bottom: clamp(48px, 10vh, 110px); }
.back::before { content: "\2190"; margin-right: 12px; }
.back:hover { color: var(--text); }
.case-head .eyebrow { margin-bottom: 28px; }
.creation { width: 100%; margin-top: 28px; border-block: 1px solid var(--line); }
.creation > summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; cursor: pointer; list-style: none;
  font-size: 15px; letter-spacing: 0.06em;
}
.creation > summary::-webkit-details-marker { display: none; }
.creation-mark::before { content: "+"; }
.creation[open] > summary .creation-mark::before { content: "−"; }
.creation > .chapter:last-child { padding-bottom: 32px; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 48px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.facts dd { margin: 0; font-size: 16px; color: var(--text-2); }
.internal dd { color: var(--champagne); }
.claims { margin: 40px 0 0; padding: 0; list-style: none; }
.claims li { padding: 16px 0; border-bottom: 1px solid var(--line); }

.stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; padding: 56px 0; border-top: 1px solid var(--line); }
.stage-title {
  grid-column: span 4; margin: 0;
  font-family: var(--type);
  text-transform: uppercase;
  font-weight: 800; font-size: clamp(26px, 2.4vw, 36px);
  line-height: 0.84;
  letter-spacing: -0.04em;
}
.stage-asset { grid-column: span 8; margin: 0; }
.stage-asset + .stage-asset { grid-column: 5 / span 8; }
.note-pending { color: var(--text-3); padding: 40px 0; }

.case-next { margin-top: 120px; border-top: 1px solid var(--line); }
.case-next a { display: flex; flex-direction: column; gap: 16px; padding: 48px 0; }
.next-title {
  font-family: var(--type);
  text-transform: uppercase;
  font-weight: 700; font-size: clamp(36px, 5vw, 80px); line-height: 0.96; transition: letter-spacing 0.6s var(--ease);
  letter-spacing: -0.02em;
}
.case-next a:hover .next-title { letter-spacing: 0.01em; }

/* ---------- creative intelligence ---------- */
.intel, .about { padding-top: clamp(64px, 14vh, 160px); padding-bottom: 120px; }
.intel > .eyebrow, .about > .eyebrow { margin-bottom: 28px; }
.collection { margin-top: clamp(80px, 14vh, 160px); padding-top: 40px; border-top: 1px solid var(--line); }
.collection-title {
  display: flex; align-items: baseline; gap: 24px; margin: 0 0 48px;
  font-family: var(--type);
  text-transform: uppercase;
  font-weight: 800; font-size: clamp(32px, 4vw, 60px); line-height: 0.84;
  letter-spacing: -0.04em;
}
.pip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
.pip > div { grid-column: span 3; }
.pip > .pip-proof { grid-column: span 6; }
.pip p { margin: 14px 0 0; color: var(--text-2); font-size: 16px; }

/* ---------- contact ---------- */
.contact { min-height: calc(100vh - 84px); display: flex; flex-direction: column; justify-content: center; padding-top: 80px; padding-bottom: 120px; }
.contact .display { max-width: 14ch; }
.routes { list-style: none; margin: 72px 0 0; padding: 0; max-width: 720px; }
.route {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 26px 0; border-top: 1px solid var(--line);
  font-family: var(--type);
  text-transform: uppercase;
  font-weight: 700; font-size: clamp(24px, 2.6vw, 38px);
  transition: padding 0.4s var(--ease), border-color 0.4s var(--ease);
  line-height: 0.96;
  letter-spacing: -0.02em;
}
.routes li:last-child .route { border-bottom: 1px solid var(--line); }
.route-arrow { font-size: 20px; color: var(--text-3); transition: transform 0.4s var(--ease), color 0.4s var(--ease); }
.route:hover { padding-left: 12px; border-color: var(--line-strong); }
.route:hover .route-arrow { transform: translateX(6px); color: var(--text); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 96px; }
.foot-mark { font-size: 11px; color: var(--text-3); }
.signature { font-size: 13px; letter-spacing: 0.08em; color: var(--text-2); }

/* ---------- entry ---------- */
.entry {
  position: fixed; inset: 0; z-index: 50; background: var(--void);
  display: grid; place-items: center; transition: opacity 0.7s var(--ease);
}
.entry-out { opacity: 0; pointer-events: none; }
.entry-inner { text-align: center; padding: 0 24px; }
.entry-mark { font-size: clamp(16px, 2.2vw, 26px); margin: 0; animation: rise 1.6s var(--ease) both; }
.entry-line {
  font-family: var(--type);
  text-transform: uppercase;
  font-weight: 800; font-size: clamp(30px, 4.6vw, 72px); line-height: 0.84; letter-spacing: -0.04em;
  margin: 40px 0 0; animation: rise 1.6s 1s var(--ease) both;
}
.entry-skip {
  position: absolute; right: var(--gutter); bottom: 40px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-2);
  padding: 12px 0; border-bottom: 1px solid var(--line-strong);
}
.entry-skip:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .card, .card-lead, .card:nth-child(4), .card:nth-child(5) { grid-column: 1 / -1; margin-top: 0; }
  .card-lead .card-media { aspect-ratio: 16 / 9 !important; }
  .facts { grid-template-columns: 1fr; gap: 24px; }
  .stage { grid-template-columns: 1fr; gap: 20px; }
  .stage-title, .stage-asset, .stage-asset + .stage-asset { grid-column: 1 / -1; }
  .pip { grid-template-columns: 1fr; }
  .pip > div, .pip > .pip-proof { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .head-row { height: auto; padding-top: 18px; padding-bottom: 14px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav { gap: 18px; flex-wrap: wrap; }
  .nav a { font-size: 12px; }
  .card-meta { grid-template-columns: auto 1fr; }
  .card-kind { grid-column: 2; }
  .foot-row { flex-direction: column; justify-content: center; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .card-link:hover .card-media { transform: none; }
}

/* ==========================================================================
   PASS 2 (2 Dec 2026, director decision 02): visual quality first.
   Editorial template: no empty frames, no boxes. One representative case
   (HELMPIE Alpine) built to the bar; the same template serves every case.
   ========================================================================== */
/* bug fix: .entry sets display:grid, which beat the hidden attribute, so a return
   visit or a deep link stayed behind a black entry screen */
.entry[hidden] { display: none; }

.frame { outline: none; background: transparent; }
.frame img { object-fit: cover; }

/* Selected Work follows the UGC index's type and whitespace. Each film keeps its own frame. */
.work { scroll-margin-top: 72px; }
.work .eyebrow { margin-bottom: 12px; }
.work-discipline + .work-discipline { margin-top: clamp(94px, 14vh, 185px); }
.discipline-title {
  margin: 0 0 clamp(40px, 6vh, 80px);
  font-size: clamp(28px, 3.3vw, 64px);
  line-height: 1;
  letter-spacing: -.035em;
}
.work-discipline .tool-index { margin-top: 0; }
.hero-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.feats {
  display: grid;
  gap: clamp(88px, 16svh, 190px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.feat-link {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "media title";
  align-items: center;
  gap: clamp(24px, 5vw, 100px);
}
.feat:nth-child(even) .feat-link { grid-template-areas: "title media"; }
.feat-media { grid-area: media; display: grid; place-items: center; min-width: 0; }
.feat-media .frame {
  width: min(100%, calc(clamp(165px, min(22vw, 42svh), 460px) * (var(--ar))));
  transition: transform .6s var(--ease);
}
.feat-media .frame :is(img, video) { object-fit: contain; }
.feat-meta {
  grid-area: title;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(12px, 2vh, 26px);
}
.feat:nth-child(even) .feat-meta { align-items: flex-end; text-align: right; }
.feat-title {
  font-family: var(--type);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 100px);
  letter-spacing: -.035em;
  line-height: .96;
  text-transform: uppercase;
  max-width: 13ch;
  color: var(--text);
  text-shadow: 0 1px 5px var(--void);
}
.feat-kind { font-size: 14px; color: var(--text-2); }
.feat-link:hover .feat-media .frame, .feat-link:focus-visible .feat-media .frame { transform: translateY(-6px); }
.feat-link:hover .frame::after, .feat-link:focus-visible .frame::after { opacity: 1; animation: orbit 2.4s linear infinite; }
.work-peek {
  position: fixed;
  z-index: 15;
  pointer-events: none;
  height: clamp(105px, 14svh, 200px);
  width: auto;
  max-width: 38vw;
  object-fit: contain;
  box-shadow: 0 12px 32px #0006;
}
.work-peek[hidden] { display: none; }
.feat-link.is-peeking .feat-media .frame { visibility: hidden; }

/* home: quiet typographic index for work still being assembled */
.idx { list-style: none; margin: clamp(96px, 16vh, 200px) 0 0; padding: 0; }
.idx-row {
  display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline; gap: 24px;
  padding: 30px 0; border-top: 1px solid var(--line);
  transition: padding 0.5s var(--ease), border-color 0.5s var(--ease);
}
.idx li:last-child .idx-row { border-bottom: 1px solid var(--line); }
.idx-title {
  font-family: var(--type);
  text-transform: uppercase;
  font-weight: 700; font-size: clamp(30px, 3.6vw, 56px); line-height: 0.96; letter-spacing: -0.02em;
}
.idx-kind { font-size: 13px; color: var(--text-3); letter-spacing: 0.04em; }
.idx-row:hover { padding-left: 14px; border-color: var(--line-strong); }

/* case head */
.case-meta { display: flex; align-items: center; gap: 14px; margin: 26px 0 0; font-size: 13px; letter-spacing: 0.04em; color: var(--text-3); }
.case-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }

/* The Experience: a triptych that keeps the original portrait ratio */
.exp { display: grid; grid-template-columns: 1fr; gap: clamp(16px, 2vw, 28px); align-items: end; }
.exp-has-side { grid-template-columns: 5fr 7fr; }
.case .back { margin-bottom: clamp(32px, 6vh, 64px); }
/* triptych: lead 1.35 share, two sides 1 share each, all at their own 9:16 ratio;
   the row is capped so the lead never runs taller than the screen */
.exp-has-side { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 28px); max-width: calc(100vh * 1.396 + 56px); }
.exp-has-side .exp-main { flex: 1.35 1 0; min-width: 0; }
.exp-has-side .exp-aside { flex: 2 1 0; min-width: 0; display: flex; align-items: flex-end; }
.exp-has-side .exp-aside > .frame { flex: 1 1 0; min-width: 0; }
.site-head { z-index: 10; background: rgba(11, 11, 11, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.exp-aside { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: end; padding-bottom: clamp(0px, 6vw, 96px); }

/* Behind the Creation: numbered chapters, the materials do the talking */
.chapter { padding: clamp(72px, 12vh, 140px) 0 0; }
.chapter-head { display: flex; align-items: baseline; gap: 28px; margin-bottom: clamp(32px, 5vh, 56px); }
.chapter-no { font-size: 12px; letter-spacing: 0.2em; color: var(--text-3); font-variant-numeric: tabular-nums; }
.chapter-title {
  margin: 0; font-family: var(--type);
  text-transform: uppercase;
  font-weight: 800; font-size: clamp(36px, 4.4vw, 72px); line-height: 0.84; letter-spacing: -0.04em;
}
.chapter-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 32px); row-gap: clamp(56px, 8vh, 96px); align-items: end; }
.asset { grid-column: span 6; margin: 0; }
.asset-wide { grid-column: 1 / -1; }
.asset .frame { width: min(100%, calc(78vh * (var(--ar)))); }
.asset-kind { margin: 0 0 16px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-3); }
.asset figcaption { font-size: 14px; color: var(--text-2); margin-top: 16px; max-width: 52ch; }
.asset-text { grid-column: span 6; align-self: start; }
.prompt {
  margin: 0; padding-left: 28px; border-left: 1px solid var(--line-strong);
  font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.35; color: var(--text);
}
.skills { list-style: none; margin: 0; padding: 0; }
.skills li {
  padding: 18px 0; border-top: 1px solid var(--line);
  font-weight: 500; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1;
}
.skills li:last-child { border-bottom: 1px solid var(--line); }

/* chapters as justified rows: each image grows by its own ratio, so a row shares one height */
.chapter-body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(56px, 8vh, 96px) clamp(20px, 2.4vw, 32px); }
.chapter-body > .asset { flex: var(--g, 1) 1 0; min-width: 0; }
.chapter-body > .asset-wide { flex: 1 1 100%; }
.chapter-body > .asset-text { flex: 1 1 0; }
.chapter-body > .asset .frame { width: 100%; }
.asset-kind { min-height: 1.5em; }

@media (max-width: 900px) {
  .chapter-body { flex-direction: column; align-items: stretch; }
  .chapter-body > .asset, .chapter-body > .asset-text { flex: none; }
  .exp-has-side { flex-direction: column; align-items: stretch; max-width: none; }
  .exp-has-side .exp-main, .exp-has-side .exp-aside { flex: none; }
  .exp-aside { padding-bottom: 0; }
  .chapter-body { grid-template-columns: 1fr; }
  .asset, .asset-wide, .asset-text { grid-column: 1 / -1; }
  .asset .frame { width: 100%; }
}
@media (max-width: 640px) {
  .feat-link, .feat:nth-child(even) .feat-link {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "media" "title";
    gap: 22px;
  }
  .feat-title { font-size: clamp(30px, 8vw, 48px); }
  .feat-meta, .feat:nth-child(even) .feat-meta { align-items: flex-start; text-align: left; }
  .feat-media .frame { width: min(100%, calc(min(34svh, (100vw - 2 * var(--gutter)) * 9 / 16) * (var(--ar)))); }
  .work { scroll-margin-top: 100px; }
  .idx-row { grid-template-columns: 40px 1fr; }
  .idx-kind { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .feat-link:hover .feat-media .frame { transform: none; }
}

/* PASS 3 (2 Dec 2026): independent critic round. More air, quieter chapter heads,
   prompt given the room, the last rules removed. */
.exp { margin-top: clamp(48px, 8vh, 96px); }
.exp-has-side .exp-main { flex: 1.7 1 0; }
.exp-has-side .exp-aside > .frame:last-child { margin-bottom: clamp(0px, 5vw, 80px); }

.chapter { padding-top: clamp(120px, 18vh, 220px); }
.chapter-head { flex-direction: column; align-items: flex-start; gap: 14px; }
.chapter-title { font-size: clamp(28px, 3vw, 44px); }
.chapter-body > .asset-text:first-child { flex: 1.6 1 0; }
.prompt { border-left: 0; padding-left: 0; font-size: clamp(20px, 1.7vw, 24px); max-width: 34ch; }
.skills li, .skills li:last-child { border: 0; padding: 8px 0; }
@media (max-width: 900px) {
  .exp-has-side .exp-aside > .frame:last-child { margin-bottom: 0; }
  .chapter-body > .asset-text:first-child { flex: none; }
}

/* PASS 4 (2 Dec 2026): director decision 05. Legibility of navigation, captions and
   secondary text, same quiet look. Floor 13px, secondary text one step brighter. */
.nav a { text-transform: uppercase; font-size: 14px; letter-spacing: 0.10em; color: rgba(246, 245, 244, 0.78); }
.caption, figcaption, .asset figcaption { font-size: 15.5px; line-height: 1.55; color: rgba(246, 245, 244, 0.78); }
.case-meta, .idx-kind { font-size: 14px; color: rgba(246, 245, 244, 0.66); }
.chapter-no, .card-index { font-size: 13px; color: rgba(246, 245, 244, 0.62); }
.asset-kind { font-size: 13px; letter-spacing: 0.18em; color: rgba(246, 245, 244, 0.62); }
@media (max-width: 900px) { .nav a { font-size: 13px; } }
@media (max-width: 480px) {
  .nav { gap: 10px; }
  .nav a { letter-spacing: 0.012em; }
  .display { font-size: min(44px, 10.1vw); }
  .display-case { font-size: min(40px, 10.2vw); }
  .chapter-title { font-size: min(28px, 7.9vw); }
  .collection-title { font-size: min(32px, 7.4vw); gap: 12px; }
  .idx-title { font-size: min(30px, 7.3vw); }
  .next-title { font-size: min(36px, 10vw); }
}


/* The small text inside a display heading keeps the normal Archivo width. */
.card-index { font-family: var(--type); font-stretch: normal; font-weight: 500; }
.cta, .entry-skip, .asset-kind, .chapter-no, .facts dt { font-weight: 500; }

/* Film exhibition and original production sheets. */
.exhibition { padding-top: clamp(20px, 3vh, 36px); }
.exhibition .back { margin-bottom: clamp(20px, 3vh, 36px); }
.exhibition .display-case { max-width: none; }
.exhibition .lede { margin-top: 16px; max-width: 62ch; }
.exhibition .exp { margin-top: 28px; }
.exhibition .exp-hero { width: min(100%, 1280px); }
.exhibition .exp-hero video { object-fit: contain; }
.exhibition .chapter { padding-top: clamp(42px, 7vw, 100px); }
.exhibition .chapter:first-of-type { padding-top: 12px; }
.exhibition .chapter-head { flex-direction: row; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.exhibition .chapter-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.exhibition .sheet { grid-column: 1 / -1; width: min(100%, 1120px); }
.sheet-art { border: 1px solid #fff; border-radius: 0; }
.sheet-open { position: relative; display: block; cursor: zoom-in; }
.sheet-open img { display: block; width: 100%; height: auto; }
.sheet-plus { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 32px; height: 32px; background: var(--void); color: var(--text); font-size: 20px; }
.sheet-prompt { margin-top: 12px; font-size: 14px; }
.sheet-prompt summary { cursor: pointer; color: var(--text-2); }
.sheet-prompt blockquote { margin: 12px 0; max-width: 65ch; white-space: pre-wrap; }
.sheet-viewer { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: var(--void); color: var(--text); }
.sheet-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.sheet-viewer::backdrop { background: var(--void); }
body:has(.sheet-viewer[open]) { overflow: hidden; }
.viewer-tools { display: flex; justify-content: flex-end; gap: 24px; padding: 8px 20px; }
.viewer-tools button { min-height: 44px; }
.viewer-zoom[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 4px; }
.viewer-image { display: flex; overflow: auto; overscroll-behavior: contain; }
.viewer-image img { flex: none; width: auto; height: auto; max-width: 100%; max-height: 100%; margin: auto; }
.actual-size .viewer-image img { box-sizing: content-box; max-width: none; max-height: none; margin: 0 auto auto; }
@media (max-width: 480px) {
  .exhibition .chapter-title { font-size: min(28px, 7vw); }
}

/* Private app review. The apps lay themselves out at the iframe viewport size. */
body:has(main > .tool-view) { display: flex; flex-direction: column; height: 100dvh; min-height: 420px; }
body:has(main > .tool-view) main { flex: 1; min-height: 0; }
body:has(main > .tool-view) .site-foot { display: none; }
.tool-view {
  width: 100%; height: 100%; min-height: 0;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
}
.tool-bar.case-head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 26px;
  margin: 0; padding: 10px clamp(14px, 3vw, 48px);
}
.tool-bar .display-case { font-size: clamp(20px, 2.4vw, 34px); }
.tool-bar .back, .tool-expand { margin: 0; color: var(--text-2); font-size: 13px; }
.tool-expand { margin-left: auto; min-height: 38px; }
.tool-expand:hover, .tool-index a:hover { color: var(--text); text-decoration: underline; }
.tool-frame { min-width: 0; min-height: 0; background: var(--void); }
.tool-view:fullscreen, .tool-view.tool-expanded {
  width: 100%; height: 100dvh; min-height: 0; background: var(--void);
}
.tool-view.tool-expanded { position: fixed; inset: 0; z-index: 20; }
body:has(.tool-expanded) { overflow: hidden; }
body:has(.tool-expanded) main { z-index: 20; }
.tool-index { margin-top: 40px; }
.tool-index a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: clamp(22px, 3vw, 44px); font-weight: 600; letter-spacing: -0.02em;
}
.tool-index a:last-child { border-bottom: 1px solid var(--line); }
.tool-index span { font-size: 16px; color: var(--text-2); }
@media (max-width: 600px) {
  .tool-bar.case-head { gap: 8px 12px; }
  .tool-bar .back, .tool-expand { font-size: 12px; }
  .tool-bar .back::before { margin-right: 4px; }
}

/* Contained exhibits retain their own responsive viewport. */
.tool-view {
  width: calc(100% - 2 * var(--gutter)); height: calc(100% - clamp(40px, 9vh, 108px));
  min-height: 340px; margin: clamp(12px, 2.5vh, 30px) auto 0;
}
.tool-bar.case-head { background: rgba(11,11,11,.94); padding: 8px 18px; }
.tool-frame { border: 1px solid var(--line); }
.tool-view:fullscreen, .tool-view.tool-expanded { margin: 0; width: 100%; height: 100%; }
@media(max-width:600px){ .tool-view { width:calc(100% - 24px); height:calc(100% - 30px); } .tool-bar.case-head{padding:5px 8px} }
:root { --text-2:#ceced2; --text-3:#c0c0c6; }
.vignette { background: linear-gradient(90deg,rgba(6,6,9,.78),rgba(6,6,9,.08) 32%,rgba(6,6,9,.06) 74%,rgba(6,6,9,.62)); }
body.entry-on .vignette { opacity:0 }
body.entry-on .site-head,body.entry-on main,body.entry-on .site-foot { visibility:hidden }
.entry { background:transparent; }
.entry .entry-inner { position:absolute; inset:auto var(--gutter) 25%; text-align:left; padding:0; opacity:0; }
.entry.reveal .entry-inner { opacity:1; transition:opacity 1.65s ease; }
.entry-logo { width:clamp(114px,11vw,178px); height:auto; filter:brightness(0) invert(1); }
.entry-line { animation:none; line-height:.97; }
.entry-skip { color:white; background:#0b0b0b; padding:10px 15px; }
.opening-link { margin:12px 0; align-self:flex-start; font-size:14px; text-decoration:underline; text-underline-offset:4px; }
.photo-credit { font-size:11px; color:var(--text-2); max-width:32ch; }
.site-foot { background:rgba(11,11,11,.94); }
.case-head :is(.eyebrow,.lede,.case-meta), .feat-meta, .back, .caption, figcaption, .case-next .eyebrow,.asset-kind,.chapter-intro,.sheet-prompt,.eyebrow {color:var(--text-2);}
.case-head :is(.eyebrow,.lede,.case-meta),.back,.photo-credit,.case-next .eyebrow {background:rgba(11,11,11,.84);width:fit-content;}
.chapter-intro {max-width:65ch;margin:0 0 24px;}
.evidence-table,.audit-proof {grid-column:1/-1;margin:0;min-width:0;}
.evidence-table>div {overflow-x:auto;}
.evidence-table table {border-collapse:collapse;font-size:clamp(13px,1.3vw,17px);}
.evidence-table th,.evidence-table td {text-align:left;padding:9px 18px 9px 0;border-bottom:1px solid var(--line);}
.audit-proof dl {display:flex;flex-wrap:wrap;gap:28px}.audit-proof dd{margin:0;font-size:32px}.audit-proof dt{font-size:13px}
.copy-prompt {margin:8px 0 0;border-bottom:1px solid var(--line-strong);font-size:13px;}
.exhibition .exp-hero.portrait-film {width:min(100%,calc(74svh * 9 / 16));}
.atelier-demo {padding-top:24px;padding-bottom:40px;}
.atelier-show {min-height:70svh;display:flex;align-items:center;justify-content:center;gap:clamp(35px,8vw,130px);}
.atelier-show .case-head {margin:0;}.atelier-show .eyebrow {margin-top:16px;}
.phone-exhibit { margin:0; text-align:center; }
.phone-body { width:min(34vw,calc(74svh * 564 / 1173),335px); aspect-ratio:564/1173; position:relative;
  transform:perspective(1400px) rotateY(-7deg); filter:drop-shadow(6px 12px 16px #0008); }
.phone-body img { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.phone-body video { position:absolute; left:3.90%; top:2.05%; width:92.20%; height:95.90%; background:white;
  border-radius:11% / 5%; padding:8% 0 2%; object-fit:contain; }
.demo-play { display:inline-block; margin:9px auto 0; color:var(--text-2); font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.entry .entry-inner {visibility:hidden}.entry.reveal .entry-inner {visibility:visible}
@media(max-width:650px){.atelier-show{flex-direction:column;gap:20px;}.atelier-demo .back{margin-bottom:20px;}.phone-body{width:min(67vw,calc(64svh * 390 / 844));}.atelier-show .case-head{text-align:center}.atelier-show .eyebrow{margin:8px auto;}.foot-row{height:auto;min-height:96px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;}}
.chapter:has(#st-cast-set) .chapter-body,.chapter:has(#st-panel-repair) .chapter-body,.chapter:has(#st-direct-blocking) .chapter-body {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}
.chapter:has(#st-cast-set) .sheet,.chapter:has(#st-panel-repair) .sheet,.chapter:has(#st-direct-blocking) .sheet {grid-column:auto;}
@media(max-width:680px){.chapter:has(#st-cast-set) .chapter-body,.chapter:has(#st-panel-repair) .chapter-body,.chapter:has(#st-direct-blocking) .chapter-body {grid-template-columns:minmax(0,1fr);}}
@media(min-width:1100px){.chapter:has(#st-panel-repair) .chapter-body{grid-template-columns:repeat(4,minmax(0,1fr));}}

.hardware-credit {margin:6px auto 0;color:var(--text-2);font-size:11px}.hardware-credit a{text-underline-offset:2px}

/* Vertical screening with a full-width production notebook. */
.case-screening {
  --film-width: min(32vw, 35svh, 370px);
  --film-gap: clamp(32px, 5vw, 96px);
  display: flow-root;
  margin-top: clamp(24px, 4vw, 64px);
}
.case-screening > .exp { float: left; width: var(--film-width); margin: 0 var(--film-gap) 36px 0; }
.case-screening .exp-hero.portrait-film { width: 100%; }
.case-screening > .creation { border: 0; margin: 0; }
.case-screening > .creation > summary {
  margin-left: calc(var(--film-width) + var(--film-gap));
  padding: clamp(16px, 2vw, 32px) 0;
  border-block: 1px solid var(--line-strong);
  font-size: clamp(23px, 2.8vw, 52px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
}
.case-screening .chapter { clear: both; }
.case-screening .chapter:first-of-type { padding-top: clamp(20px, 3vw, 48px); }
.case-screening .chapter-title { line-height: 1; }
.case-screening .sheet-group { grid-column: 1/-1; }
.sheet-group h4, .case-lesson h4 {
  margin: 0 0 18px;
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.12;
}
.sheet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  align-items: start;
  gap: clamp(18px, 2vw, 32px);
}
.sheet-grid .sheet { grid-column: auto; min-width: 0; }
.case-website { display: inline-block; margin-top: 20px; text-decoration: underline; text-underline-offset: .22em; }
.experience-groups { display: grid; gap: clamp(42px, 6vw, 88px); margin-block: clamp(40px, 5vw, 80px); }
.experience-groups .sheet-grid,
.case:has(.experience-groups) .chapter-body {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
.experience-groups .sheet-grid .sheet { width: min(100%, calc(52svh * var(--g, 1))); }
.case:has(.experience-groups) .chapter-body > .sheet { grid-column: auto; }
@media (max-width: 1000px) {
  .experience-groups .sheet-grid, .case:has(.experience-groups) .chapter-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .experience-groups .sheet-grid, .case:has(.experience-groups) .chapter-body { grid-template-columns: minmax(0, 1fr); }
}
.case-screening .sheet-group + .sheet-group { margin-top: clamp(24px, 3vw, 48px); }
.case-screening .sheet-prompt blockquote { font-size: 15px; line-height: 1.55; }
.case-screening .asset-kind { letter-spacing: .08em; }
.chapter-tool.tool-view { grid-column: 1/-1; width: 100%; height: clamp(480px, 75svh, 900px); margin: 0; }
.chapter-tool :is(h4, .tool-bar) { margin: 0; }
.chapter-tool .tool-frame { width: 100%; height: 100%; }
.chapter-tool:fullscreen, .chapter-tool.tool-expanded { height: 100dvh; }
.case-screening .chapter:has(#st-ribbon-repair) .chapter-body {
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(110px, .7fr);
  align-items: start;
  max-width: 900px;
  gap: clamp(12px, 2vw, 30px);
}
.case-screening .chapter:has(#st-ribbon-repair) .asset { grid-column: auto; width: 100%; }
.case-screening .chapter:has(#st-ribbon-repair) .asset-kind { min-height: 1.4em; }
.case-lesson { max-width: 65ch; }
.case-lesson p { line-height: 1.6; }
@media (max-width: 720px) {
  .case-screening > .exp { float: none; width: min(100%, 35svh); margin: 0 auto 28px; }
  .case-screening > .creation > summary { margin-left: 0; }
  .case-screening .chapter:first-of-type { padding-top: 40px; }
  .case-screening .chapter:has(#st-ribbon-repair) .chapter-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-screening .chapter:has(#st-ribbon-repair) .asset:last-child { grid-column: 1/-1; width: min(100%, 190px); }
}

.brand.wordmark,.foot-mark.wordmark{display:inline-block;width:120px;height:20px;flex-shrink:0;font-size:0;letter-spacing:0;background:transparent url("brand/portfolio-wordmark.png") left center/contain no-repeat}.foot-mark.wordmark{width:102px;height:17px}
