/* ============================================================================
   oculus · pages.css
   The five secondary pages (work, art, about, blog, contact). Loaded after
   site.css and reusing its tokens, mast, hero, contents, chapters, plates,
   folio, beam, buttons, links, colophon and footer. Only what those pages add
   lives here. Everything continuous moves by transform, opacity or clip-path.
   ========================================================================== */

/* ------------------------------------------------------------ title page -- */
/* Shorter than the home's title page: type on paper, the beam the only light,
   and the first chapter's hard edge visible at the fold on a 900px screen. */
.pg-title {
  min-height: min(86svh, 48rem); display: grid; grid-template-rows: auto 1fr auto;
  padding: 0; overflow: hidden; background: var(--paper-0);
}
.pg-title .hero { padding-top: clamp(2.5rem, 11vh, 7rem); padding-bottom: clamp(1.5rem, 4vh, 3rem); }
.pg-title .hero__h { font-size: clamp(2rem, 1rem + 2.9vw, 3.6rem); max-width: 20ch; }
.pg-title .hero__deck { max-width: 40ch; }
.pg-title .hero__links { margin-top: var(--sc-6) !important; }
.mast__nav a[aria-current="page"], .mast__nav a[aria-current="true"] { color: var(--sc-ink); text-decoration: underline; text-decoration-color: var(--sc-accent); text-underline-offset: 0.22em; }

/* ---------------------------------------------------------------- grounds -- */
/* Chapters paint their own ground on a hard edge; the tokens hold for all. */
.ground-0 { background: var(--paper-0); }
.ground-1 { background: var(--paper-1); }
.ground-2 { background: var(--paper-2); }
.ground-3 { background: var(--paper-3); }

/* A closing chapter: the footer is its last lines, nothing follows. */
.pg-close { padding-bottom: 0; }
.pg-close .colophon { margin-top: var(--sc-8); }
.pg-close .foot { margin-top: 0; padding-top: var(--sc-6); border-top: 0; }
.foot__cta .link { margin-left: var(--sc-5); font-size: var(--sc-t-sm); vertical-align: 0.5em; }
.foot__small--three { flex-wrap: wrap; row-gap: 0.4rem; }

/* Sub-headings inside a chapter (work's groups). No eyebrows anywhere. */
.group__h {
  margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-variation-settings: "SOFT" 50, "WONK" 0;
  font-size: var(--sc-t-xl); line-height: 1.1; letter-spacing: -0.008em; text-wrap: balance;
}
.copy .lede-i { font-style: italic; }

/* ------------------------------------------------------ plates on pages -- */
/* One plate per page carries the wipe and the inner drift; the rest sit still
   under their veils and develop as the beam passes. */
.plate--wide .plate__frame { aspect-ratio: 16 / 9; }
.plate--tall .plate__frame { aspect-ratio: 4 / 5; }
.plate--square .plate__frame { aspect-ratio: 1 / 1; }
.plate--art .plate__frame { box-shadow: var(--sc-e1), var(--sc-edge); }
.plate__cap .plate__by { color: var(--sc-ink); }

/* ------------------------------------------------------------ work · I -- */
/* Six Bionic Images plates: the lead tall on the left with two stacked beside
   it, then three stepped below. Never three equal columns. */
.works {
  list-style: none; margin: var(--sc-8) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sc-6); row-gap: var(--sc-7);
  align-items: start;
}
.works__credit { margin: var(--sc-8) 0 0; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.works__credit + .works { margin-top: var(--sc-4); }
.work { margin: 0; }
.work--lead { grid-column: 1 / 7; grid-row: 1 / 3; }
.work--lead .plate__frame { aspect-ratio: 5 / 6; }
.work--lead .plate__card { left: -3rem; bottom: 2.5rem; width: min(18rem, 84%); }
.work--r1 { grid-column: 8 / 13; grid-row: 1; }
.work--r2 { grid-column: 8 / 13; grid-row: 2; margin-top: var(--sc-4); }
.work--b1 { grid-column: 1 / 5; grid-row: 3; }
.work--b2 { grid-column: 5 / 9; grid-row: 3; margin-top: 3rem; }
.work--b3 { grid-column: 9 / 13; grid-row: 3; margin-top: 6rem; }

/* Two slot groups: the copy's software groups, obviously slots, set as quiet strips. */
.groups { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--sc-7); row-gap: var(--sc-7); margin-top: var(--sc-9); }
.group .group__h + .slots { margin-top: var(--sc-4); }
.slots { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sc-hairline-strong); }
.slots__row {
  display: grid; grid-template-columns: 9rem 1fr auto; column-gap: var(--sc-4);
  padding: 0.85rem 0; border-bottom: 1px solid var(--sc-hairline);
  font-size: 0.74rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--sc-ink-soft); line-height: 1.6;
}
.slots__row span:first-child { color: var(--sc-ink); }

/* Chapter I, the products: two groups (in market, in house), each an index in the
   reel page's demo grammar. A mono figure number, the name in Kallisto caps, one
   line, and a schedule of facts with no dates beside it; a link under it where the
   product is public. Two across on a wide screen, one below 1100px. */
.prodgroup { margin-top: var(--sc-8); }
.prodgroup + .prodgroup { margin-top: var(--sc-9); }
.prodgroup__label { margin: var(--sc-2) 0 0; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.products {
  list-style: none; margin: var(--sc-5) 0 0; padding: var(--sc-6) 0 0; border-top: 1px solid var(--sc-hairline-strong);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sc-7); row-gap: var(--sc-8);
  align-items: start;
}
.product {
  margin: 0; min-width: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 11rem); column-gap: var(--sc-6); align-items: start;
}
.product > :not(.product__sched) { grid-column: 1; }
.product__fig {
  margin: 0; font-family: var(--sc-font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-deep); font-variant-numeric: tabular-nums;
}
.product__h {
  margin: var(--sc-2) 0 0; font-family: var(--sc-font-display); font-weight: 900; text-transform: uppercase;
  font-size: var(--sc-t-lg); line-height: 1; letter-spacing: -0.005em; color: var(--blueprint); text-wrap: balance;
}
.product__cap { margin: var(--sc-3) 0 0; max-width: 46ch; font-size: var(--sc-t-sm); line-height: 1.55; color: var(--sc-ink); text-wrap: pretty; }
/* The case page's schedule rule: the label keeps its width and the value wraps
   to the right of it, so KIND never runs into a long value. */
.product .product__sched { grid-column: 2; grid-row: 1 / span 4; grid-template-columns: max-content minmax(0, 1fr); column-gap: 0; }
.product .product__sched dt { white-space: nowrap; }
.product .product__sched dd { padding-left: var(--sc-4); text-align: right; text-wrap: balance; }
.product__out { margin: var(--sc-4) 0 0; font-size: var(--sc-t-sm); }
.product__out .foot__dot { margin: 0 0.5em; color: var(--sc-ink-soft); }
.product__link { color: inherit; text-decoration: none; }
.product__link:hover, .product__link:focus-visible { text-decoration: underline; text-decoration-color: var(--sc-accent); text-underline-offset: 0.12em; }

/* -------------------------------------------------------- case studies -- */
/* A product's case study (kickline.html and those after it): the reel page's
   title block and film, then the problem beside a plate, the home page's plan,
   the engineering notes as an index, and plates from the film. A product name
   runs longer than "Reel", so its title is set smaller. */
.casehead .reelhead__h { font-size: clamp(2.6rem, 0.6rem + 8.2vw, 8.2rem); line-height: 0.82; }
/* A product's facts run longer than the reel's (a stack, who it is built for), so the
   label keeps its width and the value wraps to the right of it. */
.casehead .reelhead__sched { grid-template-columns: max-content minmax(0, 1fr); }
.casehead .reelhead__sched dt { white-space: nowrap; }
.casehead .reelhead__sched dd { text-align: right; text-wrap: balance; }
/* The title carries two facts (Kind, Status), so the film's play chip shows at
   the fold; III opens on the rest (who it is built for, the stack), in the same rule. */
.sched.casebuild__sched { margin-top: var(--sc-5); max-width: 24rem; grid-template-columns: max-content minmax(0, 1fr); column-gap: 0; }
.sched.casebuild__sched dt { white-space: nowrap; }
.sched.casebuild__sched dd { padding-left: var(--sc-5); text-align: right; text-wrap: balance; }
.casenotes {
  list-style: none; margin: var(--sc-7) 0 0; padding: var(--sc-6) 0 0; border-top: 1px solid var(--sc-hairline-strong);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sc-7); row-gap: var(--sc-7);
}
.casenote { margin: 0; min-width: 0; }
.casenote__fig {
  margin: 0; font-family: var(--sc-font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-deep); font-variant-numeric: tabular-nums;
}
.casenote__h {
  margin: var(--sc-2) 0 0; font-family: var(--sc-font-display); font-weight: 900; text-transform: uppercase;
  font-size: var(--sc-t-base); line-height: 1.1; letter-spacing: 0; color: var(--blueprint); text-wrap: balance;
}
.casenote__p { margin: var(--sc-3) 0 0; max-width: 52ch; font-size: var(--sc-t-sm); line-height: 1.6; color: var(--sc-ink); text-wrap: pretty; }
/* An odd note out takes the whole row, at a wider measure, so no cell sits empty. */
.casenote:last-child:nth-child(odd) { grid-column: 1 / -1; }
.casenote:last-child:nth-child(odd) .casenote__p { max-width: 72ch; }
.caseplates {
  list-style: none; margin: var(--sc-7) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sc-6); row-gap: var(--sc-7);
}
.caseplates .plate { margin: 0; }
.casenext { margin: var(--sc-6) 0 0; font-size: var(--sc-t-sm); }

/* ----------------------------------------------------------- work · II -- */
/* The credits: a typographic list in three columns, the "50+" set large in
   pale ink behind the heading, crossing its left edge. */
.credits__head { position: relative; }
.credits__ghost {
  position: absolute; left: -0.35em; top: -0.55em; z-index: 0; pointer-events: none;
  font-family: var(--sc-font-display); font-variation-settings: "SOFT" 50, "WONK" 0;
  font-size: clamp(7rem, 5rem + 7vw, 13rem); line-height: 1; letter-spacing: -0.03em; color: rgba(22, 22, 26, 0.06);
  white-space: nowrap;
}
.credits__head > :not(.credits__ghost) { position: relative; z-index: 1; }
.credits {
  list-style: none; margin: var(--sc-7) 0 0; padding: var(--sc-5) 0 0; border-top: 1px solid var(--sc-hairline-strong);
  columns: 3; column-gap: var(--sc-7);
}
.credits li { break-inside: avoid; display: flex; align-items: baseline; gap: var(--sc-4); padding: 0.55rem 0; border-bottom: 1px solid var(--sc-hairline); }
/* Each film's production budget sits where its year was: a short mono figure, the low end of a reported range marked +. */
.credits__budget { flex: 0 0 3.6rem; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; color: var(--sc-ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.credits__title { font-family: var(--sc-font-display); font-variation-settings: "SOFT" 50, "WONK" 0; font-size: var(--sc-t-base); line-height: 1.2; letter-spacing: -0.005em; color: var(--sc-ink); text-wrap: balance; }

/* The reel leads the chapter (reel.js): a 16:9 frame on nine of the twelve
   columns, with its heading, caption and schedule stacked at the frame's foot
   in the last three, where a titleblock sits on a sheet. The frame is drawn
   at elevation weight. The play control is a chip keyed into the corner: a
   drawn triangle in a square, the label, the running time. Amber fills the
   square on hover and focus, and a cut-weight line rings the frame for the
   keyboard. Nothing here pins, scrubs or reveals; once the film plays, it sits
   above the beam so its colour stays true. */
.reel {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto;
  column-gap: var(--sc-6); row-gap: var(--sc-4); align-items: end;
  margin-top: var(--sc-8);
  scroll-margin-top: calc(var(--folio-h) + var(--sc-6));
}
.reel__h { grid-column: 10 / 13; grid-row: 1; }
.reel__stage { grid-column: 1 / 10; grid-row: 1 / 3; position: relative; min-width: 0; max-width: 100%; border: 1.75px solid var(--blueprint); }
.reel__stage.is-playing { z-index: 31; }
.reel__box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blueprint); }
.reel__poster, .reel__frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.reel__poster { object-fit: cover; }
.reel__frame { border: 0; }
video.reel__frame { object-fit: contain; background: var(--blueprint); }
.reel__play {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: flex-start;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--blueprint);
  font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.reel__chip { display: inline-flex; align-items: stretch; max-width: 100%; background: var(--sheet); border-top: 1.75px solid var(--blueprint); border-right: 1.75px solid var(--blueprint); }
.reel__key { flex: 0 0 auto; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-right: 1px solid var(--blueprint); transition: background-color var(--sc-d-fast) var(--sc-ease-out); }
.reel__key svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: var(--blueprint); stroke-width: 1.75; stroke-linejoin: miter; overflow: visible; }
.reel__say { display: flex; align-items: center; padding: 0 1rem; font-family: var(--sc-font-display); font-weight: 900; font-size: 0.95rem; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; white-space: nowrap; }
.reel__time { display: flex; align-items: center; padding: 0 0.9rem; border-left: 0.5px solid var(--rule-2); font-family: var(--sc-font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--second); font-variant-numeric: tabular-nums; }
.reel__play:hover .reel__key, .reel__play:focus-visible .reel__key { background: var(--amber); }
.reel__play:focus { outline: none; }
/* The box clips anything drawn outside it, so the ring goes on the stage: round
   the chip, and round the player that replaces it once a key press starts the film. */
.reel__stage:has(.reel__play:focus-visible),
.reel__stage:has(.reel__frame:focus-visible) { outline: 3px solid var(--blueprint); outline-offset: 4px; }
@supports not selector(:has(*)) {
  .reel__play:focus-visible, .reel__frame:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }
}
.reel__notes { grid-column: 10 / 13; grid-row: 2; }
.reel__cap { margin: 0; max-width: 34ch; font-size: var(--sc-t-sm); line-height: 1.55; color: var(--sc-ink); text-wrap: pretty; }
.reel .reel__sched { grid-template-columns: minmax(0, 1fr) auto; column-gap: 0; margin-top: var(--sc-5); }
.reel .reel__sched dd { padding-left: var(--sc-5); }
.reel__out { margin: var(--sc-5) 0 0; font-size: var(--sc-t-sm); }
/* A film's text alternative, closed until asked for: the notes' 9px mono for the
   summary, then each beat at caption size, what the shot shows over its line. */
.reel__script { margin: var(--sc-3) 0 0; }
.reel__script > summary {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; cursor: pointer; list-style: none;
  font-family: var(--sc-font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-deep);
}
.reel__script > summary::-webkit-details-marker { display: none; }
.reel__script > summary::before {
  content: ""; flex: 0 0 auto; width: 0; height: 0;
  border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent currentColor;
  transition: transform var(--sc-d-fast) var(--sc-ease-out);
}
.reel__script[open] > summary::before { transform: rotate(90deg); }
.reel__script > summary:hover { color: var(--blueprint); text-decoration: underline; text-underline-offset: 0.3em; }
.reel__beats { margin: var(--sc-2) 0 0; padding: 0 0 0 1.6em; max-width: 64ch; font-size: var(--sc-t-xs); line-height: 1.55; color: var(--sc-ink); }
.reel__beats li { padding-left: 0.3em; }
.reel__beats li + li { margin-top: var(--sc-3); }
.reel__beats li::marker { font-family: var(--sc-font-mono); font-size: 9px; color: var(--blue-deep); }
.reel__shot { margin: 0; text-wrap: pretty; }
.reel__line { margin: 0.15rem 0 0; color: var(--blueprint); font-style: italic; text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) {
  .reel__script > summary::before { transition: none; }
}
.reel + .credits { margin-top: var(--sc-9); }
.credits__src { margin: var(--sc-5) 0 0; max-width: 60ch; font-size: 0.68rem; line-height: 1.6; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-ink-soft); }

/* --------------------------------------------------------------- reel -- */
/* reel.html. A title block short enough that the reel's frame shows at the
   fold: the word set huge against a 9px schedule of the set, no middle size.
   Then work's reel block as the lead, and the demos on a strict grid, two
   across and one on a phone. Every film is the same facade and play chip
   (reel.js); the demos carry a mono figure number, the title, a line of fact
   and a two-row schedule under the frame. */
.pg-title.pg-title--short { min-height: 0; }
.pg-title--short .hero { padding-top: clamp(1.5rem, 6vh, 4rem); padding-bottom: clamp(2rem, 5vh, 3.5rem); }
.pg-title--short .hero__inner { margin-left: 0; max-width: none; }
.reelhead {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sc-6);
  align-items: end;
}
.reelhead__h {
  grid-column: 1 / 9; grid-row: 1 / 3; margin: 0;
  font-family: var(--sc-font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(4.5rem, 1.5rem + 11vw, 11.5rem); line-height: 0.78; letter-spacing: -0.02em; color: var(--blueprint);
}
.reelhead__deck { grid-column: 10 / 13; grid-row: 1; margin: 0 !important; max-width: 26ch; font-size: var(--sc-t-base); }
.reelhead .reelhead__sched { grid-column: 10 / 13; grid-row: 2; margin-top: var(--sc-5); grid-template-columns: minmax(0, 1fr) auto; column-gap: 0; }
.reelhead .reelhead__sched dd { padding-left: var(--sc-5); }
.reelpage__lead { padding-top: var(--sc-8); }
.reel--page { margin-top: 0; }

.demos {
  list-style: none; margin: var(--sc-8) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sc-6); row-gap: var(--sc-8);
  align-items: start;
}
.demo { margin: 0; min-width: 0; scroll-margin-top: calc(var(--folio-h) + var(--sc-6)); }
.demo__notes {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 10rem); column-gap: var(--sc-6);
  align-items: start; margin-top: var(--sc-4);
}
.demo__notes > :not(.demo__sched) { grid-column: 1; }
.demo__fig {
  margin: 0; font-family: var(--sc-font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-deep); font-variant-numeric: tabular-nums;
}
.demo__h {
  margin: var(--sc-2) 0 0; font-family: var(--sc-font-display); font-weight: 900; text-transform: uppercase;
  font-size: var(--sc-t-lg); line-height: 1; letter-spacing: -0.005em; color: var(--blueprint); text-wrap: balance;
}
.demo__cap { margin: var(--sc-3) 0 0; max-width: 40ch; font-size: var(--sc-t-sm); line-height: 1.5; color: var(--sc-ink); text-wrap: pretty; }
.demo .demo__sched { grid-column: 2; grid-row: 1 / span 4; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0; }
.demo .demo__sched dd { padding-left: var(--sc-4); }
/* On reel.html the reel is Fig.01: the demos' mono figure number, set over
   the caption. */
.reel__fig { margin-bottom: var(--sc-3); }

/* --------------------------------------------------------------- art · I -- */
/* The studio plate tall on the left; the four paintings as a wall beside it,
   the even ones dropped; three digital pieces stepped below. */
.gallery {
  list-style: none; margin: var(--sc-8) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sc-6); row-gap: var(--sc-7); align-items: start;
}
.gallery__studio { grid-column: 1 / 5; grid-row: 1 / 3; }
.gallery__studio .plate__frame { aspect-ratio: 3 / 4; }
.gallery__studio .plate__card { left: -2.5rem; bottom: 2rem; width: min(15rem, 84%); }
.gallery__wall { grid-column: 6 / 13; grid-row: 1 / 3; }
.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-6); align-items: start; }
.wall li:nth-child(even) { margin-top: 3rem; }
.gallery__label { margin: var(--sc-8) 0 0; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.digital { list-style: none; margin: var(--sc-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sc-6); align-items: start; }
.gallery__d1 { grid-column: 1 / 5; }
.gallery__d2 { grid-column: 5 / 9; margin-top: 3rem; }
.gallery__d3 { grid-column: 9 / 13; margin-top: 6rem; }

/* Two more walls under the gallery: the paintings wide, the characters square. */
.paint { list-style: none; margin: var(--sc-4) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--sc-6); align-items: start; }
.paint li:nth-child(2) { margin-top: 3.5rem; }
.paint .plate__frame { aspect-ratio: 16 / 9; }
.series { list-style: none; margin: var(--sc-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sc-6); align-items: start; }
.series li:nth-child(1) { grid-column: 1 / 5; }
.series li:nth-child(2) { grid-column: 5 / 9; margin-top: 3rem; }
.series li:nth-child(3) { grid-column: 9 / 13; margin-top: 6rem; }
.digital .plate--wide .plate__frame { aspect-ratio: 16 / 9; }
.plate--art .plate__cap { max-width: 30ch; }

/* -------------------------------------------------------------- art · III -- */
.prints__note { margin-top: var(--sc-6) !important; font-family: var(--sc-font-display); font-style: italic; font-variation-settings: "SOFT" 50, "WONK" 0; font-size: var(--sc-t-lg); line-height: 1.32; max-width: 34ch; color: var(--sc-ink-soft); }

/* ------------------------------------------------------------ about · II -- */
/* Three paragraphs, each with its verb set large in pale ink behind it. Depth by overlap only. */
.not { list-style: none; margin: var(--sc-6) 0 0; padding: 0; }
.not__item { position: relative; padding: var(--sc-6) 0 var(--sc-6) 0; border-bottom: 1px solid var(--sc-hairline); }
.not__item:last-child { border-bottom: 0; }
.not__ghost {
  position: absolute; left: -0.4rem; top: 0.35rem; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--sc-font-display); font-style: italic; font-variation-settings: "SOFT" 50, "WONK" 0;
  font-size: clamp(4.5rem, 3rem + 4vw, 7.5rem); line-height: 1; letter-spacing: -0.02em; color: rgba(22, 22, 26, 0.06); white-space: nowrap;
}
.not__item p { position: relative; z-index: 1; max-width: 52ch; padding-left: clamp(2.5rem, 6vw, 5.5rem); }
.not__item strong { font-family: var(--sc-font-display); font-weight: 500; font-variation-settings: "SOFT" 50, "WONK" 0; font-size: 1.15em; letter-spacing: -0.005em; }
.not__thread { margin-top: var(--sc-7) !important; max-width: 30ch !important; }

/* --------------------------------------------------------------- blog · I -- */
.posts { list-style: none; margin: var(--sc-6) 0 0; padding: 0; border-top: 1px solid var(--sc-hairline-strong); }
.post { margin: 0; padding: var(--sc-5) 0; border-bottom: 1px solid var(--sc-hairline); }
.post__h { margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-variation-settings: "SOFT" 50, "WONK" 0; font-size: var(--sc-t-xl); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; max-width: 22ch; }
.post__d { margin: var(--sc-2) 0 0 !important; max-width: 52ch !important; color: var(--sc-ink-soft) !important; font-size: var(--sc-t-sm) !important; line-height: 1.55 !important; }
.plate--side { grid-column: 8 / 13; margin-top: var(--sc-7); }
.plate--side .plate__frame { aspect-ratio: 4 / 5; }
.plate--side.plate--land .plate__frame { aspect-ratio: 4 / 3; }
.plate--side.plate--film .plate__frame { aspect-ratio: 16 / 9; }
.plate--side .plate__card { left: -3.5rem; bottom: 2rem; width: min(16rem, 84%); }
/* A film still is a wide frame, so its card hangs from the frame's bottom edge,
   clear of the faces, and the figure keeps room for it below. */
.plate--side.plate--film { margin-bottom: 4rem; }
.plate--side.plate--film .plate__card { top: calc(100% - 1rem); bottom: auto; }
/* per-image crops: the door stays centred, the oculus stays left, the keys stay low */
.plate--pantheon .plate__img { object-position: 40% 32%; }
.plate--keys .plate__img { object-position: 50% 64%; }

/* ------------------------------------------------------------ contact · I -- */
/* the copy column takes seven of the twelve so the option rows have room */
.ch__grid--wide .ch__copy { grid-column: 1 / 8; }
.ch__grid--wide .plate--side { grid-column: 9 / 13; }
.options { list-style: none; margin: var(--sc-6) 0 0; padding: 0; border-top: 1px solid var(--sc-hairline-strong); }
.option { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); column-gap: var(--sc-6); row-gap: var(--sc-3); align-items: start; padding: var(--sc-6) 0; border-bottom: 1px solid var(--sc-hairline); }
.option__h { margin: 0; font-family: var(--sc-font-display); font-weight: 400; font-variation-settings: "SOFT" 50, "WONK" 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.option p { margin: 0; max-width: 40ch; }
.option__act { grid-column: 2; display: flex; align-items: center; min-height: 44px; }
.option__act:empty { display: none; }
.options__pair { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-4) var(--sc-6); margin-top: var(--sc-7) !important; }

/* ----------------------------------------------------------- contact · II -- */
/* The message form: real labels, posts to the portal's intake (contact-form.js). */
.form { margin-top: var(--sc-6); max-width: 36rem; display: grid; row-gap: var(--sc-5); }
.form__row { display: grid; row-gap: 0.4rem; }
.form__row--2 { grid-template-columns: 1fr 1fr; column-gap: var(--sc-4); row-gap: var(--sc-5); }
.form__label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.form__input, .form__area {
  width: 100%; min-height: 44px; padding: 0.6rem 0.8rem;
  background: var(--sc-surface); border: 1px solid var(--sc-hairline-strong); border-radius: var(--sc-r-sm);
  font-size: var(--sc-t-sm); color: var(--sc-ink);
  transition: border-color var(--sc-d-fast) var(--sc-ease-out);
}
.form__area { min-height: 9rem; resize: vertical; line-height: 1.55; }
.form__input:hover, .form__area:hover { border-color: var(--sc-ink-soft); }
.form__input:focus-visible, .form__area:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; border-color: var(--sc-accent); }
.form__submit { justify-self: start; }
.form__hint { margin: 0 !important; font-size: var(--sc-t-xs) !important; color: var(--sc-ink-soft) !important; }
/* The honeypot: off screen and out of the tab order; people never see it, bots fill it. */
.form__trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0 !important; min-height: 1.5em; font-size: var(--sc-t-sm) !important; color: var(--sc-ink-soft) !important; }
.form__status:empty { display: none; }
.form__status[data-state="ok"], .form__status[data-state="error"] { color: var(--sc-ink) !important; font-weight: 600; }
.form__input[aria-invalid="true"], .form__area[aria-invalid="true"] { border-color: var(--sc-ink); box-shadow: inset 3px 0 0 var(--sc-accent); }
.form__submit:disabled { opacity: 0.6; cursor: progress; }

/* -------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .form__input, .form__area, .reel__key { transition: none; }
}

/* ------------------------------------------------------------------ 1101 -- */
/* A case page (kickline.html and those after it) from 1101px up. The film's play
   chip shows at the fold on a laptop (1280 x 800, 1440 x 900): the title's
   padding follows the window's height, its deck runs four columns wide so it
   takes fewer lines, and the film's section starts closer to it. The notes give
   up their box, each in a row of its own beside the frame, so the transcript can
   run under the frame at its width and opening it moves nothing above. */
@media (min-width: 1100.02px) {
  .pg-title--case .hero { padding-top: clamp(1.5rem, 4vh, 3rem); padding-bottom: clamp(1.5rem, 3vh, 2.5rem); }
  .casehead .reelhead__deck, .casehead .reelhead__sched { grid-column: 9 / 13; max-width: 23rem; }
  .casehead .reelhead__sched { margin-top: var(--sc-4); }
  .casefilm.reelpage__lead { padding-top: var(--sc-5); }
  .casefilm .reel { grid-template-rows: 1fr repeat(4, auto) auto; row-gap: 0; }
  .casefilm .reel__h { margin-bottom: var(--sc-4); }
  .casefilm .reel__stage { grid-row: 1 / 6; }
  .casefilm .reel__notes { display: contents; }
  .casefilm .reel__fig, .casefilm .reel__cap, .casefilm .reel .reel__sched, .casefilm .reel__out { grid-column: 10 / 13; }
  .casefilm .reel__fig { grid-row: 2; }
  .casefilm .reel__cap { grid-row: 3; }
  .casefilm .reel .reel__sched { grid-row: 4; }
  .casefilm .reel__out { grid-row: 5; }
  .casefilm .reel__script { grid-column: 1 / 10; grid-row: 6; margin-top: var(--sc-3); }
}

/* On a short window (a 13 inch laptop's browser, a tablet on its side) the poster's
   foot sits below the fold, so the play chip rides at its head instead. */
@media (min-width: 700.02px) and (max-height: 860px) {
  .casefilm .reel__play { align-items: flex-start; }
  .casefilm .reel__chip { border-top: 0; border-bottom: 1.75px solid var(--blueprint); }
}

/* On a phone the Problem still is short, so its card hangs clear below it and
   the hand and the phone the caption names stay in view. */
@media (max-width: 860px) {
  .plate--side.plate--film { margin-bottom: 5.5rem; }
  .plate--side.plate--film .plate__card { top: calc(100% + 0.5rem); }
}

/* -------------------------------------------------------------- 701 to 1100 -- */
/* In the two column title the product's name is sized to its six columns, so it
   keeps clear of the deck and the schedule beside it. */
@media (min-width: 700.02px) and (max-width: 1100px) {
  .casehead .reelhead__h { font-size: 7.6vw; }
}

/* ------------------------------------------------------------------ 1100 -- */
@media (max-width: 1099.98px) {
  .pg-title { padding-top: var(--folio-h); }
}

/* ------------------------------------------------------------------ 1024 -- */
@media (max-width: 1100px) {
  .credits { columns: 2; }
  .products { grid-template-columns: minmax(0, 1fr); row-gap: var(--sc-7); }
  .work--lead .plate__card { left: -2rem; }
  .option { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); }
  /* The reel takes the full width: heading, frame, then the notes in two
     columns, the caption beside the schedule. */
  .reel { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; align-items: start; }
  .reel__h, .reel__stage, .reel__notes { grid-column: auto; grid-row: auto; }
  .reel__notes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); column-gap: var(--sc-6); align-items: start; }
  .reel__cap { grid-column: 1; grid-row: 1 / 3; }
  .reel .reel__sched { grid-column: 2; margin-top: 0; }
  .reel__out { grid-column: 2; }
  /* With Fig.01 the figure number takes a row of its own across the notes,
     and the caption and schedule start under it. */
  .reel__fig { grid-column: 1 / -1; grid-row: 1; }
  .reel__fig ~ .reel__cap { grid-row: 2 / 4; }
  .reel__fig ~ .reel__sched { grid-row: 2; }
  .reel__fig ~ .reel__out { grid-row: 3; }
  /* A case film's transcript goes straight under its caption, in the caption's
     column, beside the product's link. */
  .reel__script { grid-column: 1 / -1; }
  .casefilm .reel__fig ~ .reel__cap { grid-row: 2; }
  .casefilm .reel__fig ~ .reel__script { grid-column: 1; grid-row: 3 / 5; }
  .reelhead__h { grid-column: 1 / 7; }
  .reelhead__deck, .reelhead .reelhead__sched { grid-column: 7 / 13; }
  .demo__notes { grid-template-columns: minmax(0, 1fr); }
  .demo .demo__sched { grid-column: 1; grid-row: auto; margin-top: var(--sc-4); }
}

/* ------------------------------------------------------------------- 860 -- */
@media (max-width: 860px) {
  .pg-title .hero__h { max-width: none; }

  .works { grid-template-columns: 1fr; row-gap: var(--sc-6); margin-top: var(--sc-6); }
  .works__credit { margin-top: var(--sc-6); }
  .work { grid-column: auto !important; grid-row: auto !important; margin-top: 0 !important; width: 82%; }
  .work--lead { width: 88%; margin-left: auto !important; }
  .work--lead .plate__card { left: -1rem; bottom: 1.5rem; width: min(15rem, 82%); }
  .work--r2, .work--b2 { margin-left: auto !important; }
  .groups { grid-template-columns: 1fr; row-gap: var(--sc-6); margin-top: var(--sc-7); }
  .slots__row { grid-template-columns: 1fr; row-gap: 0.15rem; }
  .slots__row span:last-child::before { content: none; }

  .credits__ghost { font-size: 6rem; left: -0.15em; top: -0.45em; }
  .credits { columns: 2; column-gap: var(--sc-5); margin-top: var(--sc-6); }
  .credits li { gap: var(--sc-3); padding: 0.5rem 0; }
  .credits__budget { flex-basis: 3.1rem; }
  .credits__title { font-size: var(--sc-t-sm); }

  .gallery { grid-template-columns: 1fr; row-gap: var(--sc-6); margin-top: var(--sc-6); }
  .gallery__studio { grid-column: auto; grid-row: auto; width: 88%; margin-left: auto; }
  .gallery__studio .plate__card { left: -1rem; bottom: 1.5rem; width: min(14rem, 80%); }
  .gallery__wall { grid-column: auto; grid-row: auto; }
  .wall { gap: var(--sc-4); }
  .wall li:nth-child(even) { margin-top: 2rem; }
  .gallery__label { margin-top: var(--sc-6); }
  .digital { grid-template-columns: 1fr; row-gap: var(--sc-6); }
  .paint { grid-template-columns: 1fr; row-gap: var(--sc-6); }
  .paint li:nth-child(2) { margin-top: 0; width: 88%; margin-left: auto; }
  .series { grid-template-columns: 1fr 1fr; row-gap: var(--sc-5); column-gap: var(--sc-4); }
  .series li { grid-column: auto !important; margin-top: 0 !important; }
  .series li:nth-child(2) { margin-top: 2rem !important; }
  .gallery__d1, .gallery__d2, .gallery__d3 { grid-column: auto; margin-top: 0; width: 82%; }
  .gallery__d2 { margin-left: auto; }

  .not__item p { padding-left: 2rem; }
  .not__ghost { font-size: 4rem; left: -0.25rem; top: 0.6rem; }

  .plate--side { grid-column: auto; margin-top: 0; width: 88%; margin-left: auto; }
  .plate--side .plate__card { left: -1rem; bottom: 1.5rem; width: min(15rem, 82%); }

  /* the wide grid's column spans outrank site.css's single-column reset; release them here */
  .ch__grid--wide .ch__copy, .ch__grid--wide .plate--side { grid-column: auto; }
  .option { grid-template-columns: 1fr; row-gap: var(--sc-3); padding: var(--sc-5) 0; }
  .option__act { grid-column: auto; }
  .form__row--2 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------- 700 -- */
@media (max-width: 700px) {
  .pg-title { min-height: min(80svh, 40rem); }
  .pg-title .hero { padding-top: clamp(2rem, 6vh, 3.5rem); }
  .pg-title .hero__h { font-size: clamp(1.6rem, 1.1rem + 2.6vw, 2.1rem); }
  .ground-0, .ground-1, .ground-2, .ground-3 { padding-block: 3rem; }
  .pg-close { padding-bottom: 0; }
  .pg-close .colophon { margin-top: var(--sc-7); }
  .group__h { font-size: var(--sc-t-lg); }
  .credits { columns: 1; }
  .credits li { padding: 0.45rem 0; }
  .casenotes, .caseplates { grid-template-columns: minmax(0, 1fr); row-gap: var(--sc-6); }
  .prodgroup { margin-top: var(--sc-7); }
  .prodgroup + .prodgroup { margin-top: var(--sc-8); }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product .product__sched { grid-column: 1; grid-row: auto; margin-top: var(--sc-4); }
  .reel { margin-top: var(--sc-7); }
  .reel__notes { display: block; }
  .reel .reel__sched { margin-top: var(--sc-4); }
  .reel__out { margin-top: var(--sc-4); }
  .reel + .credits { margin-top: var(--sc-8); }
  .reel__key { width: 2.75rem; height: 2.75rem; }
  .reel__key svg { width: 1.15rem; height: 1.15rem; }
  .reel__say { padding: 0 0.75rem; font-size: 0.8rem; }
  .reel__time { padding: 0 0.7rem; }
  .reelhead { grid-template-columns: minmax(0, 1fr); row-gap: var(--sc-5); }
  .reelhead__h, .reelhead__deck, .reelhead .reelhead__sched { grid-column: 1; grid-row: auto; }
  .reelhead .reelhead__sched { margin-top: 0; }
  .reelpage__lead { padding-top: var(--sc-7); }
  .reel--page { margin-top: 0; }
  .demos { grid-template-columns: minmax(0, 1fr); row-gap: var(--sc-7); margin-top: var(--sc-6); }
  .post__h { font-size: var(--sc-t-lg); }
  .option__h { font-size: var(--sc-t-lg); }
  .foot__cta .link { margin-left: var(--sc-4); }
}

/* Slot notes (blog starter line, scheduler and prints placeholders): the testimonial-slot treatment, obviously a slot. */
.posts__note, .slot-note {
  margin-top: var(--sc-4) !important; max-width: 52ch !important;
  font-size: 0.74rem !important; letter-spacing: 0.09em; text-transform: uppercase; color: var(--sc-ink-soft) !important; line-height: 1.8 !important;
}
.slot-note .slot { margin-right: 0.35em; }
/* The post decks run on from their titles (the copy's dash became a line break), set as an italic continuation. */
.post__d { font-style: italic; }
.plate__fig--only { margin-bottom: 0; }
/* "Skip to content" lands on the hero, past the masthead; it takes focus so the next Tab starts there, and shows no ring, since it is no control. */
.hero[tabindex="-1"]:focus { outline: none; }
