/* Omni Social, site system. Base Oct 23 2026, rhythm Oct 27 2026, color planes + the slate Nov 24 2026 (bottom of file).
   Paper and ink, one color (#ED5D5B), the playhead, receipts under every number.
   /assets/* is cached immutable for a year, so the next revision gets a new filename. */

:root{
  color-scheme: only light;
  --paper:#F8F6F1; --paper-2:#EFEBE3;
  --ink:#141210; --ink-2:#3B3731; --ink-3:#6B655B;
  --rule:#D9D3C7; --field:#8A8377;
  --q:#ED5D5B;
  --on-ink:#F8F6F1; --on-ink-2:#B4AC9F; --on-ink-rule:#3A352E;

  --f-display:"Anton", Impact, "Arial Narrow Bold", sans-serif;
  --f-text:"Newsreader", Georgia, "Times New Roman", serif;
  --f-mono:"IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --fs-receipt:12px; --fs-cue:13px; --fs-btn:14px; --fs-small:15px;
  --fs-body:clamp(17.5px, 0.25vw + 16.5px, 19px);
  --fs-lede:clamp(20px, 0.9vw + 16.5px, 25px);
  --fs-h3:clamp(22px, 1vw + 18px, 30px);
  --fs-quote-sm:clamp(22px, 1.4vw + 16px, 34px);
  --fs-quote:clamp(28px, 3vw + 16px, 60px);
  --fs-h2:clamp(36px, 11vw, 96px);
  --fs-h1:min(14vw, 112px);
  --fs-close:clamp(44px, 13vw, 144px);
  --fs-fig:clamp(88px, 22vw, 160px);
  --fs-fig-2:clamp(56px, 12vw, 128px);

  --max:1240px;
  --gutter:clamp(16px, 4vw, 56px);
  --cg:clamp(16px, 2vw, 32px);
  --sec:clamp(72px, 10vw, 144px);
  --head:64px;
}
@media (min-width:1080px){
  :root{ --fs-h1:clamp(84px, 7.4vw, 112px); --fs-fig:clamp(160px, 15vw, 232px); --head:72px; }
}

/* ---------- base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html,body{ overflow-x:clip; }
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; scroll-padding-top:calc(var(--head) + 16px); }
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--f-text); font-size:var(--fs-body); line-height:1.55;
  font-optical-sizing:auto; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
img,video,iframe{ display:block; max-width:100%; }
h1,h2,h3,h4,p,ol,ul,dl,dd,figure,blockquote{ margin:0; }
ol,ul{ padding:0; }
::selection{ background:var(--q); color:var(--ink); }
:focus-visible{ outline:2px solid var(--q); outline-offset:3px; }
a{ color:inherit; }
p a, li a:not(.btn), dd a, .lnk{
  color:var(--ink); text-decoration:underline; text-decoration-color:var(--q);
  text-decoration-thickness:2px; text-underline-offset:4px;
}
p a:hover, li a:not(.btn):hover, dd a:hover, .lnk:hover{ text-decoration-thickness:3px; }
.on-ink p a, .on-ink li a:not(.btn), .on-ink .lnk{ color:var(--on-ink); }

.sr-only{ position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip{ position:absolute; left:8px; top:-80px; z-index:100; background:var(--ink); color:var(--paper); font:500 var(--fs-btn)/1 var(--f-mono); text-transform:uppercase; letter-spacing:.06em; padding:14px 16px; text-decoration:none; }
.skip:focus{ top:8px; }

.wrap{ width:min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline:auto; }
.sec{ padding-block:var(--sec); }
.sec--tight-top{ padding-top:calc(var(--sec) * .5); }

/* ---------- type ---------- */
.h1,.h2,.close{
  font-family:var(--f-display); font-weight:400; text-transform:uppercase;
  letter-spacing:.01em; text-wrap:balance; color:var(--ink);
}
.h1{ font-size:var(--fs-h1); line-height:.88; }
.h2{ font-size:var(--fs-h2); line-height:.92; }
.close{ font-size:var(--fs-close); line-height:.88; }
.red{ color:var(--q); }
.h3{ font:600 var(--fs-h3)/1.15 var(--f-text); }
.lede{ font-size:var(--fs-lede); line-height:1.4; max-width:34ch; color:var(--ink); }
.body{ max-width:62ch; }
.small{ font-size:var(--fs-small); line-height:1.5; }
.kicker,.mono{
  font-family:var(--f-mono); font-size:var(--fs-receipt); letter-spacing:.08em;
  text-transform:uppercase; color:var(--ink-3); line-height:1.5;
}
.mono--ink{ color:var(--ink); }
.on-ink{ color:var(--on-ink); }
.on-ink .h1,.on-ink .h2,.on-ink .close{ color:var(--on-ink); }
.on-ink .kicker,.on-ink .mono{ color:var(--on-ink-2); }

/* ---------- the ruler, the cue, the playhead ---------- */
.ruler{
  height:12px;
  background:
    linear-gradient(var(--rule),var(--rule)) left bottom/100% 1px no-repeat,
    repeating-linear-gradient(90deg,var(--rule) 0 1px,transparent 1px 8px) left bottom/100% 6px no-repeat,
    repeating-linear-gradient(90deg,var(--ink-3) 0 1px,transparent 1px 64px) left bottom/100% 12px no-repeat;
}
.on-ink .ruler, .ruler--ink{
  background:
    linear-gradient(var(--on-ink-rule),var(--on-ink-rule)) left bottom/100% 1px no-repeat,
    repeating-linear-gradient(90deg,var(--on-ink-rule) 0 1px,transparent 1px 8px) left bottom/100% 6px no-repeat,
    repeating-linear-gradient(90deg,#6B655B 0 1px,transparent 1px 64px) left bottom/100% 12px no-repeat;
}
.cue{ position:relative; margin-bottom:clamp(32px, 5vw, 64px); }
.cue__label{ display:block; font:500 var(--fs-cue)/1 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ink); padding-bottom:10px; }
.on-ink .cue__label{ color:var(--on-ink); }
.cue::after{ content:""; position:absolute; left:0; bottom:0; width:2px; height:12px; background:var(--q); }

.ph{ position:relative; }
.ph::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:2px; background:var(--q); z-index:2; }
.ph::after{ content:""; position:absolute; left:-5px; top:0; width:12px; height:12px; background:var(--q); z-index:2; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px; min-height:52px; padding:0 22px;
  font:500 var(--fs-btn)/1.1 var(--f-mono); letter-spacing:.06em; text-transform:uppercase;
  text-decoration:none; border:0; border-radius:0; cursor:pointer; text-align:left;
  background:var(--q); color:var(--ink); transition:background-color .12s, color .12s;
}
.btn::before{ content:""; flex:0 0 8px; width:8px; height:8px; background:currentColor; }
.btn:hover{ background:var(--ink); color:var(--paper); }
.btn--ink{ background:var(--ink); color:var(--paper); }
.btn--ink:hover{ background:var(--q); color:var(--ink); }
.on-ink .btn:hover{ background:var(--paper); color:var(--ink); }
.btn--block{ display:flex; width:100%; justify-content:flex-start; }
@media (max-width:719px){ .btn--full-m{ display:flex; width:100%; } }

/* ---------- header ---------- */
.site-head{ position:sticky; top:0; z-index:40; background:var(--paper); }
.site-head__in{ display:flex; align-items:center; justify-content:space-between; gap:12px; height:var(--head); }
.lockup{ display:flex; align-items:center; gap:8px; text-decoration:none; color:var(--ink); min-height:44px; }
.lockup img{ width:28px; height:28px; flex:0 0 28px; }
.lockup__name{ display:flex; flex-direction:column; line-height:1; }
.lockup__word{ font:400 19px/1 var(--f-display); letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; }
.lockup__by{ display:none; font:400 11px/1 var(--f-mono); letter-spacing:.08em; color:var(--ink-3); margin-top:4px; white-space:nowrap; }
.nav{ display:flex; align-items:center; gap:14px; }
.nav__link{ font:500 var(--fs-cue)/1 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ink); text-decoration:none; padding:16px 2px; white-space:nowrap; }
.nav__link:hover{ text-decoration:underline; text-decoration-color:var(--q); text-decoration-thickness:2px; text-underline-offset:6px; }
.nav__link[aria-current="page"]{ text-decoration:underline; text-decoration-color:var(--q); text-decoration-thickness:2px; text-underline-offset:6px; }
.nav__link--wide{ display:none; }
.btn--nav{ min-height:44px; padding:0 12px; font-size:var(--fs-cue); gap:8px; white-space:nowrap; }
@media (max-width:369px){ .lockup__word{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); } .nav{ gap:10px; } }
@media (min-width:720px){
  .lockup__by{ display:block; }
  .nav__link--wide{ display:inline-block; }
  .nav{ gap:24px; }
  .btn--nav{ padding:0 16px; }
}

/* ---------- footer ---------- */
.site-foot{ background:var(--ink); color:var(--on-ink); padding-bottom:40px; }
.site-foot .ruler{ margin-bottom:clamp(48px, 7vw, 96px); }
.foot__slogan{ font:italic 400 var(--fs-quote-sm)/1.25 var(--f-text); max-width:24ch; margin-bottom:clamp(48px, 6vw, 80px); }
.foot__cols{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:40px var(--cg); }
.foot__cols h2{ font:500 var(--fs-receipt)/1.4 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--on-ink-2); margin-bottom:14px; }
.foot__cols ul{ list-style:none; display:grid; gap:0; }
.foot__cols a{ display:inline-block; padding-block:12px; font:400 17px/1.35 var(--f-text); color:var(--on-ink); text-decoration:underline; text-decoration-color:var(--q); text-decoration-thickness:2px; text-underline-offset:4px; overflow-wrap:normal; }
.foot__cols a:hover{ text-decoration-thickness:3px; }
.foot__base{ display:flex; gap:16px; align-items:flex-start; margin-top:clamp(56px, 7vw, 96px); padding-top:24px; border-top:1px solid var(--on-ink-rule); font:400 var(--fs-receipt)/1.6 var(--f-mono); letter-spacing:.04em; color:var(--on-ink-2); }
.foot__base img{ width:32px; height:32px; flex:0 0 32px; }
@media (max-width:719px){ .foot__cols > :last-child{ grid-column:1 / -1; } }
@media (min-width:1080px){ .foot__cols{ grid-template-columns:repeat(4, minmax(0,1fr)); } }

/* ---------- 12-column helper ---------- */
@media (min-width:1080px){
  .g12{ display:grid; grid-template-columns:repeat(12, minmax(0,1fr)); column-gap:var(--cg); }
}

/* ---------- receipts ---------- */
.receipt{ font:400 var(--fs-receipt)/1.5 var(--f-mono); color:var(--ink-2); margin-top:16px; display:grid; grid-template-columns:106px minmax(0,1fr); gap:4px 10px; max-width:72ch; }
.receipt > div{ display:contents; }
.receipt dt{ color:var(--ink-3); text-transform:uppercase; letter-spacing:.08em; }
.receipt dd{ margin:0; overflow-wrap:anywhere; }
@media (min-width:1080px){
  .receipt:not(.receipt--stack){ display:flex; flex-wrap:wrap; gap:6px 24px; align-items:baseline; }
  .receipt:not(.receipt--stack) > div{ display:flex; gap:8px; align-items:baseline; }
  .receipt:not(.receipt--stack) > div:first-child::before{ content:""; width:6px; height:6px; background:var(--q); align-self:center; flex:0 0 6px; }
}
.receipt--stack{ grid-template-columns:1fr; gap:0; }
.receipt--stack dt{ margin-top:8px; }
.on-ink .receipt{ color:var(--on-ink); }
.on-ink .receipt dt{ color:var(--on-ink-2); }

/* ---------- tiles ---------- */
.tile{ margin:0; }
.tile__media{ position:relative; display:block; background:var(--paper-2); overflow:hidden; aspect-ratio:16/9; color:var(--ink); text-decoration:none; }
.tile--916 .tile__media{ aspect-ratio:9/16; }
.tile--45 .tile__media{ aspect-ratio:4/5; }
.tile__media img, .tile__media video, .tile__media iframe{ width:100%; height:100%; object-fit:cover; border:0; }
.tile__play{ position:absolute; left:0; bottom:0; width:44px; height:44px; background:var(--ink); z-index:3; pointer-events:none; }
.tile__play::after{ content:""; position:absolute; left:17px; top:17px; width:10px; height:10px; background:var(--q); }
.tile__media:hover .tile__play{ background:var(--q); }
.tile__media:hover .tile__play::after{ background:var(--ink); }
.tile__btn{ position:absolute; inset:0; z-index:4; background:transparent; border:0; padding:0; cursor:pointer; }
.tile__btn:focus-visible{ outline-offset:-4px; }
.tile figcaption{ padding-top:16px; }
.tile .slug{ font:400 var(--fs-receipt)/1.5 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }
.tile h3{ font:600 var(--fs-h3)/1.15 var(--f-text); margin-top:8px; }
.tile .part{ margin-top:8px; max-width:52ch; }
.tile .part b{ font-weight:600; }
.tile.is-live .tile__play{ display:none; }

/* ---------- quotes ---------- */
.quotes{ display:grid; gap:48px; }
.quote{ margin:0; }
.quote blockquote{ font:italic 400 var(--fs-quote-sm)/1.25 var(--f-text); color:var(--ink); }
.quote--lead blockquote{ font-size:var(--fs-quote); line-height:1.15; }
.quote__mark{ display:block; font:400 96px/.6 var(--f-display); color:var(--q); height:44px; }
.quote figcaption{ margin-top:16px; font:400 var(--fs-receipt)/1.5 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }
@media (min-width:1560px){
  .quote--lead{ position:relative; }
  .quote--lead .quote__mark{ position:absolute; left:-0.62em; top:.12em; font-size:160px; height:auto; }
}

/* ---------- the call sheet ---------- */
.sheet{ list-style:none; margin:0; padding:0; border-bottom:1px solid var(--rule); }
.sheet__row{ display:grid; grid-template-columns:92px minmax(0,1fr); column-gap:24px; border-top:1px solid var(--rule); min-height:72px; padding-block:18px; }
.sheet__time{ font:400 var(--fs-cue)/1.4 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ink); padding-top:3px; }
.sheet__body{ position:relative; }
.sheet__body h3{ font:600 20px/1.25 var(--f-text); }
.sheet__body p{ margin-top:4px; }
.sheet__row.is-now .sheet__time{ font-weight:500; }
.sheet__row.is-now .sheet__body{ padding-left:20px; }
.sheet__row.is-now .sheet__body::before{ content:""; position:absolute; left:0; top:-18px; bottom:-18px; width:2px; background:var(--q); }
.sheet__row.is-now .sheet__body::after{ content:""; position:absolute; left:-5px; top:-18px; width:12px; height:12px; background:var(--q); }
@media (min-width:720px){ .sheet__row{ grid-template-columns:120px minmax(0,1fr); min-height:96px; padding-block:24px; } .sheet__row.is-now .sheet__body::before{ top:-24px; bottom:-24px; } .sheet__row.is-now .sheet__body::after{ top:-24px; } }

/* ---------- forms ---------- */
.form{ display:grid; gap:20px; }
.field{ display:grid; gap:8px; }
.field label, .field .label{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; font:600 16px/1.3 var(--f-text); color:var(--ink); }
.field .opt{ font:400 11px/1 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); white-space:nowrap; }
.field input, .field select, .field textarea{
  width:100%; min-height:52px; border:1px solid var(--field); border-radius:0; background:var(--paper);
  font:400 18px/1.35 var(--f-text); color:var(--ink); padding:12px; -webkit-appearance:none; appearance:none;
}
.field textarea{ min-height:96px; resize:vertical; }
.field input::placeholder, .field textarea::placeholder{ color:var(--ink-3); opacity:1; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible{ outline:2px solid var(--q); outline-offset:2px; }
/* coral on paper-2 is 2.80:1, under the 3:1 rule, so the paper-2 bands ring in ink */
.events :focus-visible, .apply :focus-visible, .apply .field input:focus-visible, .apply .field select:focus-visible, .apply .field textarea:focus-visible{ outline-color:var(--ink); }
.field select{
  padding-right:44px; cursor:pointer;
  background-image:linear-gradient(45deg, transparent 45%, var(--ink) 45% 58%, transparent 58%), linear-gradient(-45deg, transparent 45%, var(--ink) 45% 58%, transparent 58%);
  background-size:8px 8px, 8px 8px; background-position:calc(100% - 26px) 50%, calc(100% - 19px) 50%; background-repeat:no-repeat;
}
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid{ border:2px solid var(--ink); }
.field__err{ display:none; font:400 var(--fs-receipt)/1.4 var(--f-mono); color:var(--ink); }
.field input:user-invalid ~ .field__err, .field select:user-invalid ~ .field__err, .field textarea:user-invalid ~ .field__err{ display:block; }
.hp{ position:absolute!important; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form__fine{ font:400 var(--fs-receipt)/1.5 var(--f-mono); color:var(--ink-3); letter-spacing:.02em; }
.form-frame{ border-top:1px solid var(--ink-3); border-bottom:1px solid var(--ink-3); padding-block:32px; background:var(--paper); }

/* ---------- ink band ---------- */
.band-ink{ background:var(--ink); color:var(--on-ink); }
.band-ink .cue::after{ background:var(--q); }
.band-ink p{ color:var(--on-ink); }

/* ---------- notes (FAQ) ---------- */
.notes{ border-bottom:1px solid var(--rule); }
.notes details{ border-top:1px solid var(--rule); }
.notes summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; gap:24px; align-items:flex-start; padding-block:20px; font:600 20px/1.3 var(--f-text); }
.notes summary::-webkit-details-marker{ display:none; }
.notes summary .plus{ position:relative; flex:0 0 12px; width:12px; height:12px; margin-top:6px; }
.notes summary .plus::before, .notes summary .plus::after{ content:""; position:absolute; background:var(--ink); }
.notes summary .plus::before{ left:0; right:0; top:5.25px; height:1.5px; }
.notes summary .plus::after{ top:0; bottom:0; left:5.25px; width:1.5px; }
.notes details[open] summary .plus::after{ display:none; }
.notes details p{ padding-bottom:24px; max-width:62ch; }

/* ---------- misc ---------- */
.stack-8 > * + *{ margin-top:8px; }
.stack-16 > * + *{ margin-top:16px; }
.stack-24 > * + *{ margin-top:24px; }
.stack-32 > * + *{ margin-top:32px; }
.actions{ display:flex; flex-direction:column; align-items:flex-start; gap:16px; margin-top:32px; }
.hr{ border:0; border-top:1px solid var(--rule); margin:0; }
.lockup__by{ text-transform:uppercase; }
.btn-link{ background:none; border:0; padding:10px 0; font:inherit; cursor:pointer; }
.mono .lnk{ display:inline-block; padding-block:14px; }

/* ---------- live-text slate (a video with no verified still on file) ---------- */
.slate{ position:absolute; inset:0; display:flex; flex-direction:column; padding:clamp(16px, 4%, 28px); background:var(--paper-2); color:var(--ink); }
.slate__rows{ font:400 var(--fs-receipt)/1.3 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; }
.slate__rows div{ display:grid; grid-template-columns:52px minmax(0,1fr); gap:10px; border-top:1px solid var(--rule); padding-block:8px; }
.slate__rows div:last-child{ border-bottom:1px solid var(--rule); }
.slate__rows dt{ color:var(--ink-3); }
.slate__rows dd{ margin:0; }
.slate__title{ margin-top:auto; position:relative; padding-left:18px; font:400 clamp(30px, 9cqi, 64px)/.9 var(--f-display); letter-spacing:.01em; text-transform:uppercase; text-wrap:balance; }
.slate__title::before{ content:""; position:absolute; left:0; top:.1em; width:8px; height:8px; background:var(--q); }
.slate .ruler{ margin-top:18px; margin-bottom:36px; }
.tile__media{ container-type:inline-size; }

/* =====================================================================
   Oct 27 2026 pass (Anthony): one vertical rhythm, tablet grids, motion.
   New filename because /assets/* is cached immutable for a year.
   ===================================================================== */

/* ---------- rhythm: one beat between sections ----------
   --sec is the beat: 88px on a phone, about 110px on a tablet, about 150px on desktop.
   A colored band (ink, paper-2) pads one beat inside its own color. Two sections on the same paper sit one beat apart,
   not two, so the second one drops its top padding. --top is the shorter opening space under the header. */
:root{ --sec:clamp(88px, 6vw + 64px, 152px); --top:clamp(48px, 7vw, 96px); }
:is(.sec,.chap):not(.band-ink,.events,.apply,.ground,.plane,.sec--pause) + :is(.sec,.chap):not(.band-ink,.events,.apply,.ground,.plane,.sec--pause){ padding-top:0; }

/* ---------- motion: sections slide up into place ----------
   Nothing is hidden by this file alone. The script adds .motion to <html> only in a real browser with IntersectionObserver
   and no reduced-motion preference, and it only marks blocks that start below the fold. Transform and opacity only,
   so nothing reflows and nothing shifts the layout. */
.motion .rv{ opacity:0; transform:translate3d(0, var(--rv-y, 28px), 0); }
.motion .rv-in{ opacity:1; transform:none;
  transition:opacity .6s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0ms), transform .8s cubic-bezier(.16,1,.3,1) var(--rv-d, 0ms); }
@media (max-width:719px){
  .motion .rv{ --rv-y:18px; }
  .motion .rv-in{ transition-duration:.5s, .65s; }
}
@media (prefers-reduced-motion:reduce){
  .motion .rv, .motion .rv-in{ opacity:1; transform:none; transition:none; }
}
@media print{
  .motion .rv{ opacity:1 !important; transform:none !important; }
}

/* the playhead draws down as its block arrives (the site's own device, nothing new) */
@keyframes ph-draw{ from{ transform:scaleY(0); } to{ transform:scaleY(1); } }
.motion .rv-in.ph::before{ transform-origin:top; animation:ph-draw .9s cubic-bezier(.16,1,.3,1) calc(var(--rv-d, 0ms) + 120ms) both; }
@media (prefers-reduced-motion:reduce){ .motion .rv-in.ph::before{ animation:none; } }

/* =====================================================================
   Nov 24 2026 pass (Anthony): no dead space.
   Color comes from the light in Q's own frames: red key light (coral), deep blue house light (night).
   Coral stays the one "act now" color, about 10% of a page. Night is the proof plane, once per page max.
   Blush = people and the close. Mist = process, sheets and forms. Ink = the footer only.
   AA pairs (WCAG 2.x): ink/blush 15.28, ink-3/blush 4.72, ink/mist 15.15, ink-3/mist 4.68,
   q-text/paper 5.31, q-text/blush 4.68, q-text/mist 4.64, paper/night 14.80, night-2/night 8.94, coral/night 4.81.
   Bright coral (#ED5D5B) is never text on blush (2.72) or mist (2.69): .red flips to --q-text there.
   ===================================================================== */
:root{
  --q-text:#B8383A;
  --night:#132238; --night-2:#B7C3D1; --night-rule:#2C3D57;
  --blush:#F9E4DD; --blush-rule:#E8C9BE;
  --mist:#E3E8EC; --mist-rule:#C5CDD4;
  --max-wide:1440px;
  --sec:clamp(56px, 3vw + 40px, 96px);
  --pause:clamp(96px, 8vw, 144px);
  --top:clamp(40px, 5vw, 72px);
  --rail-top:calc(var(--head) + 24px);
}
.cue{ margin-bottom:clamp(28px, 3.5vw, 48px); }

/* ---------- planes: a ground with a job ---------- */
.plane{ padding-block:var(--sec); }
.plane--blush{ background:var(--blush); --rule:var(--blush-rule); }
.plane--mist{ background:var(--mist); --rule:var(--mist-rule); }
.plane--blush .red, .plane--mist .red{ color:var(--q-text); }
.plane--blush :focus-visible, .plane--mist :focus-visible{ outline-color:var(--ink); }
.plane--night{ background:var(--night); color:var(--paper); --rule:var(--night-rule); }
.plane--night :is(.h1,.h2,.close,.cue__label,.mono--ink){ color:var(--paper); }
.plane--night :is(.kicker,.mono){ color:var(--night-2); }
.plane--night .red{ color:var(--q); }
.plane--night .receipt{ color:var(--paper); }
.plane--night .receipt dt{ color:var(--night-2); }
.plane--night p a, .plane--night .lnk{ color:var(--paper); }
.plane--night .ruler{
  background:
    linear-gradient(var(--night-rule),var(--night-rule)) left bottom/100% 1px no-repeat,
    repeating-linear-gradient(90deg,var(--night-rule) 0 1px,transparent 1px 8px) left bottom/100% 6px no-repeat,
    repeating-linear-gradient(90deg,#5A6B84 0 1px,transparent 1px 64px) left bottom/100% 12px no-repeat;
}
.sec--pause{ padding-block:var(--pause); }
.q-text{ color:var(--q-text); }
.wrap--wide{ width:min(var(--max-wide), calc(100% - 2 * var(--gutter))); margin-inline:auto; }

/* ---------- the headline rule: a short headline gets its copy beside it (7/5) ---------- */
.split > * + *{ margin-top:20px; }
@media (min-width:1080px){
  .split{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--cg); align-items:end; }
  .split > * + *{ margin-top:0; }
  .split__h{ grid-column:1 / 8; }
  .split__aside{ grid-column:8 / 13; }
}

/* ---------- the rail: a tall headline column travels with the list and carries a real photo ---------- */
.rail__photo{ margin-top:28px; }
@media (min-width:1080px){
  .rail-grid{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--cg); align-items:start; }
  .rail{ grid-column:1 / 5; position:sticky; top:var(--rail-top); }
  .rail-grid > .rail-main{ grid-column:5 / 13; }
}
@media (max-width:1079px){ .rail__photo .frame__img{ aspect-ratio:16/9; } }

/* ---------- the frame + the slate: every photo says what it is ---------- */
.frame{ margin:0; position:relative; }
.frame__img{ position:relative; display:block; overflow:hidden; aspect-ratio:var(--ar, 4/5); background:var(--paper-2); }
.frame__img img{ width:100%; height:100%; object-fit:cover; }
.frame__slate{
  margin-top:10px; padding-top:8px; border-top:1px solid var(--rule);
  font:400 11px/1.45 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3);
}
.plane--night .frame__slate{ color:var(--night-2); }
/* the viewfinder corner (Q's ZR): one featured photo per page, never repeated */
.frame--crop .frame__img::before, .frame--crop .frame__img::after{ content:""; position:absolute; width:16px; height:16px; z-index:2; pointer-events:none; }
.frame--crop .frame__img::before{ left:12px; top:12px; border-left:2px solid var(--q); border-top:2px solid var(--q); }
.frame--crop .frame__img::after{ right:12px; bottom:12px; border-right:2px solid var(--q); border-bottom:2px solid var(--q); }

/* ---------- the filmstrip: 5 to 7 real frames from the work, mixed shapes, one shared height ----------
   Set --ar on each frame (16/9, 4/5, 9/16...) and --sum on the row (the sum of the frame ratios), --n = frame count. */
.strip{ container-type:inline-size; }
.strip__row{ display:flex; gap:4px; list-style:none; margin:0; padding:0; }
.strip__f{ position:relative; margin:0; padding-top:16px; flex:var(--ar) 1 0; min-width:0;
  background:
    linear-gradient(var(--ink-3),var(--ink-3)) left top/1px 12px no-repeat,
    linear-gradient(var(--rule),var(--rule)) left 11px/100% 1px no-repeat;
}
.strip__f.is-lead{ background:
    linear-gradient(var(--q),var(--q)) left top/2px 12px no-repeat,
    linear-gradient(var(--rule),var(--rule)) left 11px/100% 1px no-repeat; }
.strip__f img{ width:100%; height:100%; object-fit:cover; background:var(--paper-2); }
.strip__slate{ margin-top:12px; font:400 11px/1.45 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--ink-3); }
.plane--night .strip__slate{ color:var(--night-2); }
.plane--night .strip__f{ background:
    linear-gradient(#5A6B84,#5A6B84) left top/1px 12px no-repeat,
    linear-gradient(var(--night-rule),var(--night-rule)) left 11px/100% 1px no-repeat; }
.plane--night .strip__f.is-lead{ background:
    linear-gradient(var(--q),var(--q)) left top/2px 12px no-repeat,
    linear-gradient(var(--night-rule),var(--night-rule)) left 11px/100% 1px no-repeat; }
@media (min-width:720px){
  .strip__row{ height:calc((100cqi - (var(--n) - 1) * 4px) / var(--sum) + 16px); }
}
@media (max-width:719px){
  .strip__row{ overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; height:236px; padding-inline:var(--gutter); scroll-padding-inline:var(--gutter); }
  .strip__row::-webkit-scrollbar{ display:none; }
  .strip__f{ flex:0 0 auto; width:calc(220px * var(--ar)); scroll-snap-align:start; }
}

/* ---------- full-bleed photo band with a headline on the frame's own dark ---------- */
.band-photo{ position:relative; margin:0; background:var(--night); }
.band-photo__img{ display:block; width:100%; aspect-ratio:21/9; overflow:hidden; }
.band-photo__img img{ width:100%; height:100%; object-fit:cover; }
.band-photo__over{ position:absolute; inset:0; display:flex; align-items:center; }
.band-photo__over .h2{ color:var(--paper); max-width:9ch; }
.band-photo__over .kicker{ color:var(--night-2); margin-bottom:16px; }
.band-photo__slate{ position:absolute; left:0; right:0; bottom:0; }
.band-photo__slate p{ padding-block:12px; font:400 11px/1.45 var(--f-mono); letter-spacing:.08em; text-transform:uppercase; color:var(--night-2); }
@media (max-width:719px){
  .band-photo__img{ aspect-ratio:4/3; }
  .band-photo__img img{ object-position:72% 50%; }
  .band-photo__over{ position:static; display:block; background:var(--night); padding-block:24px 4px; }
  .band-photo__slate{ position:static; background:var(--night); }
}

/* ---------- the close: a blush plane, a real frame bleeding off the left edge ---------- */
.close-blush{ background:var(--blush); --rule:var(--blush-rule); }
.close-blush .red{ color:var(--q-text); }
.close-blush :focus-visible{ outline-color:var(--ink); }
.close-blush__photo{ margin:0; }
.close-blush__photo .frame__img{ aspect-ratio:4/5; max-height:72vh; width:100%; }
.close-blush__text{ padding:var(--sec) var(--gutter); }
.close-blush .close{ font-size:clamp(44px, 11vw, 112px); }
.close-blush__aside{ margin-top:28px; max-width:46ch; }
.close-blush__aside .actions{ margin-top:24px; }
.close-blush__aside .mono{ margin-top:12px; }
@media (min-width:1080px){
  .close-blush{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); }
  .close-blush__photo{ position:relative; min-height:100%; }
  .close-blush__photo .frame__img{ position:absolute; inset:0; aspect-ratio:auto; max-height:none; height:100%; }
  .close-blush__text{ padding:var(--sec) max(var(--gutter), calc((100vw - var(--max)) / 2)) var(--sec) clamp(40px, 5vw, 88px); }
  .close-blush .close{ font-size:clamp(56px, 5.4vw, 88px); }
}

/* ---------- the footer, compact: ink only here, about 340px tall at 1440 ---------- */
.site-foot{ padding-bottom:28px; }
.site-foot .ruler{ margin-bottom:32px; }
.foot__slogan{ margin-bottom:32px; font-size:clamp(20px, 1vw + 14px, 26px); }
.foot__cols{ gap:20px var(--cg); }
.foot__cols h2{ margin-bottom:6px; }
.foot__cols a{ padding-block:10px; font-size:16px; }
.foot__base{ margin-top:32px; padding-top:18px; }
@media (min-width:1080px){
  .site-foot > .wrap{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--cg); align-items:start; }
  .foot__slogan{ grid-column:1 / 4; margin-bottom:0; }
  .foot__cols{ grid-column:4 / 13; }
  .foot__cols a{ padding-block:5px; }
  .foot__base{ grid-column:1 / 13; margin-top:28px; }
}

/* ---------- the ask card (notes aside): a mist field, square corners, Q's face, one line, the button ---------- */
.ask{ background:var(--mist); padding:24px; display:grid; grid-template-columns:96px minmax(0,1fr); gap:16px 20px; align-items:start; }
.ask .frame__img{ --ar:1/1; }
.ask__h{ font:400 clamp(28px, 2.4vw, 36px)/.95 var(--f-display); text-transform:uppercase; letter-spacing:.01em; }
.ask p{ font-size:var(--fs-small); line-height:1.5; }
.ask .btn{ grid-column:1 / -1; }
.ask :focus-visible{ outline-color:var(--ink); }
@media (min-width:1080px){ .ask{ position:sticky; top:var(--rail-top); grid-template-columns:1fr; } .ask .frame{ width:120px; } }
.frame__img > picture, .strip__f > picture, .band-photo__img > picture, .tile__media > picture{ display:contents; }

/* QC Nov 24 2026: below 1080 the close photo goes landscape, so keep faces in frame */
@media (max-width:1079px){ .close-blush__photo .frame__img img{ object-position:50% 22%; } }
