/* Comp A7 home (Cindy's handoff, 2026-11-15). Shared parts (fonts, header, frame numbers, line grays) are in
   a7-system.css; this file is the home page only. Positions on the frame use --fl (its left edge), --fw (its width)
   and --mod (one module), set by a7-system.js; the hero is placed on the paper by a7.js. */

* { box-sizing: border-box; }
html, body { margin: 0; }
html { overflow-x: clip; scroll-padding-top: 56px; }
body { -webkit-font-smoothing: antialiased; }
body.sys::before, body.sys::after { display: none !important; }   /* (system.css's own 800px frame lines: A7 draws its own) */
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -100px; z-index: 80; background: var(--ink); color: var(--paper); padding: 8px 12px; }
.skip:focus { top: 8px; }
.a7h :is(p, h1, h2, h3, ul, figure) { margin: 0; }
.sys .fn a { color: inherit; }
.page { position: relative; }

/* header: on home its rule is the light or darker home gray, one screen pixel; it shows once the work's first rule
   has reached the band */
html.a7 body.a7h { --sh-line: var(--lf, 0.5px) solid var(--home-line); --hl: var(--home-line); }

/* ---------- the hero's paper: A6's red graph paper, from the header's foot to a module line under the hero ----------
   Main lines two screen pixels, fine lines one. Columns run from the frame's edges, a whole module at a time, as far
   as the window allows; rows are square (165px; 165 with frame A's 160px columns too) */
/* (title-sheet handoff: main lines red at about 75% over light gray fine squares, #E4E1DA, so the paper reads as a
   drafting sheet; the earlier strengths stay as switches) */
body { --red: #E8907A; --mp: 75%; --fp: 26%;
  --gc: color-mix(in oklab, var(--red) var(--mp), var(--paper)); --gr: var(--gc);
  --gf: #E4E1DA; }
body.fc-red { --gf: color-mix(in oklab, var(--red) var(--fp), var(--paper)); }
body.mf1 { --mp: 100%; } body.mf2 { --mp: 80%; } body.mf3 { --mp: 62%; }
body.ff2 { --fp: 36%; } body.ff3 { --fp: 48%; }
body.fs-rows { --fp: 33%; } body.fs-rows.ff2 { --fp: 44%; } body.fs-rows.ff3 { --fp: 56%; }
body.fc-gray { --gf: color-mix(in oklab, #B9B6AE var(--gfp, 33%), var(--paper)); }
body.fc-gray.ff2 { --gfp: 44%; } body.fc-gray.ff3 { --gfp: 56%; }
.paper { position: absolute; z-index: 0; left: var(--px, 0px); top: 44px; width: calc(var(--pw, 0px) + var(--lw)); height: calc(var(--ph, 0px) + var(--lw)); pointer-events: none;
  --fine-v: linear-gradient(to right, var(--gf) 0 var(--lf), transparent var(--lf)) 0 0 / var(--fx) 100%;
  background:
    linear-gradient(to right, var(--gc) 0 var(--lw), transparent var(--lw)) 0 0 / var(--mod) 100%,
    linear-gradient(to bottom, var(--gr) 0 var(--lw), transparent var(--lw)) 0 0 / 100% var(--rowh),
    var(--fine-v),
    linear-gradient(to bottom, var(--gf) 0 var(--lf), transparent var(--lf)) 0 0 / 100% var(--fy, 11px); }
body.fs-rows .paper { --fine-v: linear-gradient(transparent, transparent); }

/* merged cells (title-sheet handoff): plain paper under each hero text block, its edge lines kept; static ending */
.pm { position: absolute; z-index: 0; inset: 0 auto auto 0; pointer-events: none; }
.pm > i, .zm > i { position: absolute; background: var(--paper); }
body.z2 .pm { display: none; }
/* ---------- the hero: placed by a7.js on the paper (name, statement, footnote) ---------- */
.hero { position: relative; z-index: 1; height: var(--hh, auto); }
.js .hero > * { position: absolute; margin: 0; }
.bp { display: inline-block; width: 0; height: 0; vertical-align: baseline; }   /* (baseline probe) */
/* the name: Inter Tight 400, fitted to the frame by a7.js (about 108px on 9 columns, 99 on 8), -0.025em */
body.sys .name { font-family: "Inter Tight", sans-serif; font-size: var(--nm, 56px); line-height: 1; font-weight: 400; letter-spacing: -0.025em; }
.js .name > span { position: absolute; left: 0; white-space: nowrap; }
.name .l2 { color: var(--gray-large, #8D8C87); }
body.sys.pd-red .name .l2 { color: var(--accent, #E84829); }
/* the statement: Inter Tight 400 (500 as a test), 26px on 3 fine rows, -0.01em, balanced; the footnote: the text font
   (Geist or Heros), 12 on 16.5, gray */
body.sys .stmt { font-family: "Inter Tight", sans-serif; font-size: 26px; line-height: 33px; font-weight: 400; letter-spacing: -0.01em; text-box: none; text-wrap: balance; }
body.sys.sw-500 .stmt { font-weight: 500; }
body.sys.sw-trust .stmt .tw { font-weight: 500; }   /* (a try, Cindy 2026-11-16: the statement regular, "trust" medium) */
/* the footnote 1: smaller and lower, so it clears the line above (Cindy 2026-11-16) */
body.sys .stmt .fn { font-size: 13px; vertical-align: 7px; line-height: 0; }
body.sys .foot { font: 400 calc(12px + var(--tx-bump, 0px))/16.5px var(--text-font); color: var(--gray); }
.foot:target { background: color-mix(in oklab, var(--accent-text) 10%, var(--paper)); }

/* ---------- the work ---------- */
.work { position: relative; z-index: 1; padding-bottom: var(--gap, 99px); }
/* the frame's two lines, the length of the work */
.work::before, .work::after { content: ""; position: absolute; z-index: 4; top: 0; bottom: 0; width: var(--lf); background: var(--hl); pointer-events: none; }
.work::before { left: var(--fl); }
.work::after { left: calc(var(--fl) + var(--fw)); }
/* inside the frame, between its lines */
.fr { position: relative; margin-left: calc(var(--fl) + var(--lf)); width: calc(var(--fw) - var(--lf)); }
.row { position: relative; }
.card { padding-bottom: 44px; }   /* (white space under each project, before the next one's rule: four fine rows; Cindy 2026-11-15) */
/* (stacked: the space goes under the bullets, not under the info rows, so the info rows close the card; beside: the
   space is inside the grid, so the column's lines run down to the next card's rule) */
body:is(.pi-stack, .pi-side) .card { padding-bottom: 0; }
body.pi-stack .card .ptext { padding-bottom: calc(16px + 44px) !important; }
body.pi-side .card .ptext { padding-bottom: calc(16px + 22px) !important; }   /* (a little less room under the questions: was 16 + 44; Cindy 2026-11-16) */

/* the section pattern: gap band, rule, heading row (45px: the heading's capitals centered, 12px above and below),
   rule, content. Rules run the window's full width */
.sec { padding-top: var(--gap, 99px); }
.hrow { display: block; position: relative; height: 45px; box-shadow: inset 0 var(--lf) 0 var(--hl), inset 0 calc(-1 * var(--lf)) 0 var(--hl); }
.hrow > .fr { height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
body.sys .sec-t { font: 500 26px/31.2px "Inter Tight", sans-serif; letter-spacing: normal; text-box: trim-both cap alphabetic; text-wrap: balance; }
/* rows below the heading: a rule between each */
.hrow + .row ~ .row, .hrow + .row + .row { box-shadow: inset 0 var(--lf) 0 var(--hl); }
/* (between project cards the rule is its own layer, above the photo, which would otherwise cover it inside the frame) */
.hrow ~ .card + .card { box-shadow: none; }
.hrow ~ .card + .card::before { content: ""; position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: var(--lf); background: var(--hl); pointer-events: none; }

/* left margin: the project numbers and years start one inset right of the module line left of the frame */
.mnum, .myear { position: absolute; left: calc(var(--fl) - var(--mod) + 6px); }
.mnum { top: 12px; font: 500 26px/31.2px "Inter Tight", sans-serif; color: var(--gray-large, #8D8C87); text-box: trim-both cap alphabetic; font-variant-numeric: tabular-nums; }
/* project info (a panel test, Cindy 2026-11-15) */
.pinfo .ptags p, .pinfo .prow { margin: 0; }
.pinfo .pco { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pinfo .pin { width: 9px; height: 12px; flex: none; }
.pinfo .prow a { position: relative; z-index: 2; }
/* stacked under the description, exactly as A5/A6: "Read case study" on a ruled row of its own, then a ruled row with
   the tags and, on the right, the company with its pin (8px above and below, 12px in) */
body.pi-stack .pinfo .prow { padding: 8px 12px; box-shadow: inset 0 var(--lf) 0 var(--hl); }
body.pi-stack .pinfo .ptags { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 12px; box-shadow: inset 0 var(--lf) 0 var(--hl); }
body.pi-stack .pinfo .pco { flex: none; }
body.pi-stack .card .ptext { padding-bottom: 16px; }   /* (A6's 16px under the description, before the info rows) */
@media (max-width: 1023px) {
  body.pi-side .card .fr { display: block; }
  body.pi-side .card .ptext { padding-right: 12px; }
  body.pi-side .pinfo .ptags { box-shadow: inset 0 var(--lf) 0 var(--hl); }
}
/* beside the description: the text on the left (more room on its right), a ruled column on the right with the
   company and tags, and under them, divided by a line, "Read case study" in a small cell of its own */
body.pi-side .card .fr { display: grid; grid-template-columns: minmax(0, 1fr) var(--mod); grid-template-rows: auto 1fr auto; }   /* (the info column one module wide, on the grid: Cindy 2026-11-16; was 1.5) */
body.pi-side .card .pimg { grid-column: 1 / -1; }
body.pi-side .card .ptext { grid-column: 1; grid-row: 2 / 4; padding: 12px 48px 16px 12px; }   /* (right padding 48, was 36: Cindy 2026-11-16) */
body.pi-side .pinfo { display: contents; }
body.pi-side .pinfo .ptags { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 16px; box-shadow: inset var(--lf) 0 0 var(--hl); }
body.pi-side .pinfo .pco { order: 1; color: var(--ink); white-space: normal; }
body.pi-side .pinfo .ptg { order: 2; }
body.pi-side .pinfo .prow { grid-column: 2; grid-row: 3; padding: 8px 12px; box-shadow: inset var(--lf) 0 0 var(--hl), inset 0 var(--lf) 0 var(--hl); }
/* in the right margin, one inset right of the frame (12px, a short rule on its left) */
body.pi-margin .pinfo { position: absolute; top: -1px; left: calc(var(--fw) + 6px); width: min(200px, calc(100vw - var(--fl) - var(--fw) - 22px));
  display: flex; flex-direction: column; gap: 6px; padding: 0 0 0 10px; border-left: 0.75px solid #000; }
body.pi-margin .card .fr { position: relative; }
body.pi-margin .pinfo { top: 12px; }
body.pi-margin .pinfo .ptags { display: contents; }
body.pi-margin .pinfo .pco { order: 1; color: var(--ink); }
body.pi-margin .pinfo .ptg { order: 2; }
body.pi-margin .pinfo .prow { order: 3; }
.pinfo a { color: var(--ink); }

/* Selected work: each card the frame's width; the image full width at the case study's cover proportion (800 x 398),
   the text under it at a 600px measure */
.pimg { position: relative; aspect-ratio: 800 / 398; overflow: hidden; background: var(--fill, #EDECE7); }
.pimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* a rule along the photo's foot, between it and the text (its sides are the frame's lines) */
.pimg::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: var(--lf); background: var(--hl); pointer-events: none; }
.pimg.tr img { object-position: right top; }
.pimg.center img { object-position: center; }
.soon-img .inset { position: absolute; inset: 35px 25px 0 0; background: url("../../assets/images/abstain-1.webp") right top / cover no-repeat; }
/* "Coming soon" as caution tape (Cindy 2026-11-19): a yellow strip running diagonally across the top-right corner (Cindy: "not too in your face"),
   the words repeated along it with the site's "+" between them (decorative; screen readers hear one "Coming soon") */
.soon-img .soon { --tape: #F5D547; position: absolute; z-index: 1; top: 78px; right: -82px; width: 320px; transform: translate(0, -50%) rotate(45deg);   /* (centered on the corner's diagonal, 78px in from each edge) */ padding: 0; background: var(--tape); color: #111; overflow: hidden; white-space: nowrap; border-block: var(--lf, 0.75px) solid #000; }   /* (flat, edged with the site's hairlines; Cindy 2026-11-19: "less literal") */
.soon-img .tape { display: flex; justify-content: center; gap: 12px; padding: 5px 0; }
.soon-img .tape > span + span::before { content: "+"; margin-right: 12px; }
@media (max-width: 600px) { .soon-img .soon { top: 60px; right: -100px; } }   /* (closer to the corner on phones, where the panel is small) */
.ptext { max-width: min(100%, calc(var(--cw, 100vw) - 32vw - 32px - var(--lf))); padding: 12px 12px 32px calc(12px - var(--lf));   /* (the case study's reading column: the frame less 12px each side; in windows under about 1100px the case study's column is squeezed by its 16vw side margins (the window less any scrollbar, less 32vw, less 56px), so home's narrows the same way. Cindy 2026-11-15) */   /* (12px in from the frame, as the case study's body text; Cindy 2026-11-15) */ display: flex; flex-direction: column; gap: 8px; }
.ptext :is(p, li) { text-wrap: pretty; }
.ptext h3 a { color: inherit; }
.plus { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; margin-top: 4px; font: 400 calc(14px + var(--tx-bump, 0px))/1.5 var(--text-font); }
.plus li { display: flex; gap: 8px; }

/* Experience: 44px rows, a rule between each; the years in the left margin */
.xrow { height: 44px; }
.xrow .myear { top: 0; left: calc(var(--fl) + 12px); width: 64px; height: 44px; display: flex; align-items: center; z-index: 1; }   /* (in the frame, Cindy 2026-11-15) */
.xrow .fr { height: 100%; display: flex; align-items: center; }
.exp { display: flex; align-items: baseline; gap: 10px; padding: 0 12px 0 88px; width: 100%; min-width: 0; }
.exp > span { white-space: nowrap; }
.exp .leader { flex: 1 1 24px; min-width: 24px; border-bottom: 1px dotted var(--line-c, #B9B6AE); transform: translateY(-4px); }
.exp .note-t { color: var(--gray); }   /* (gray body notes: red is only for "this leads somewhere", Cindy 2026-11-15) */

/* Earlier: collapsed it is only its heading row, the toggle at the right; open, its content follows the rule */
.early-d > summary { list-style: none; cursor: pointer; }
.early-d > summary::-webkit-details-marker { display: none; }
/* (Earlier's toggle, Cindy 2026-11-16: drawn, not typed. Two hairlines the weight of the grid's lines, in ink, as tall
   as the heading's capitals; open, the upright folds away to a minus. Red with the heading on hover) */
.early-d > summary .tog { --tw: 1.5px; position: relative; display: block; flex: none; width: 21px; height: 21px; margin-right: 6px; color: var(--ink, #111); }
.early-d > summary .tog::before, .early-d > summary .tog::after { content: ""; position: absolute; background: currentColor; }
.early-d > summary .tog::before { left: 0; right: 0; top: calc(50% - var(--tw) / 2); height: var(--tw); }
.early-d > summary .tog::after { top: 0; bottom: 0; left: calc(50% - var(--tw) / 2); width: var(--tw); }   /* (1.5px strokes, 21px: the hairline was barely visible; Cindy 2026-11-16) */
.early-d[open] > summary .tog::after { transform: scaleY(0); }
@media (prefers-reduced-motion: no-preference) { .early-d > summary .tog::after { transition: transform 150ms ease-out; } .early-d > summary .tog { transition: color 150ms ease-out; } }
.early-d > summary:hover .sec-t, .early-d > summary:hover .tog { color: var(--accent-text); }
.early-d > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.early { display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 20px; }
.early + .early { box-shadow: inset var(--lf) 0 0 var(--hl); }
.early .n { color: var(--gray); font: 500 calc(16px + var(--tx-bump, 0px))/1.35 var(--text-font); }
.early .s-fig { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fill, #EDECE7); }
.early .s-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* footer: a rule, the logo row (a module per cell, lines between), a rule */
.frow { box-shadow: inset 0 var(--lf) 0 var(--hl), inset 0 calc(-1 * var(--lf)) 0 var(--hl); }
.ft5 { display: grid; grid-template-columns: repeat(5, var(--mod)); height: var(--rowh, 165px); }
html.gr-8 .ft5 { grid-template-columns: repeat(4, var(--mod)); }   /* (8 columns: a 4-module frame; the empty cell goes) */
html.gr-8 .ft5 > .fcell:nth-child(4) { display: none; }
.ft5 > .fcell { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 12px 6px; min-width: 0; }
.ft5 > .fcell + .fcell { box-shadow: inset var(--lf) 0 0 var(--hl); }
.ft5 > .fcell:first-child, .ft5 > .fcell:nth-child(2) { justify-content: center; align-items: center; padding: 0; }
/* the footer's circles fill their square cells, touching all four lines (Cindy 2026-11-15: thinner, tangent to the
   grid lines); a 1.5px stroke that doesn't scale with the cell, the letters regular */
.ft5 .mk { width: calc(var(--mod) - 2 * var(--lf)); height: calc(var(--mod) - 2 * var(--lf)); color: var(--ink); overflow: visible; }
.ft5 .cp { color: var(--gray); }
.ft5 nav a { display: block; width: max-content; }

/* ---------- narrower windows: no room for the margins, so numbers, years and notes come into the frame ---------- */
@media (max-width: 1139px) {
  .mnum, .myear { position: static; }
  .card .mnum { padding: 14px 12px 0; }
  .card { display: flex; flex-direction: column; }
  .card > .mnum { order: 1; margin-left: calc(var(--fl) + var(--lf)); }
  .card > .fr { order: 2; }
  /* (no margin: the info goes under the description, stacked) */
  body.pi-margin .pinfo { position: static; width: auto; margin: 0 12px 28px; }
  .xrow { display: flex; align-items: center; }
  .xrow .myear { position: absolute; }
}
@media (max-width: 1023px) {
  .js .hero > * { position: static; }
  .hero { display: flex; flex-direction: column; gap: 22px; padding: 77px calc(var(--fl) + 6px) 22px; }
  .js .name > span { position: static; display: block; }
  body.sys .name { font-size: clamp(36px, 11vw, 56px); line-height: 0.95; }
  body.sys .stmt { font-size: 22px; line-height: 1.25; }
  .exp { flex-wrap: wrap; gap: 2px 10px; }
  .exp > span { white-space: normal; }
  .exp .leader, .exp .note-t { display: none; }
  .xrow { height: auto; min-height: 44px; padding: 10px 0; }
  .three { grid-template-columns: 1fr; }
  .early + .early { box-shadow: inset 0 var(--lf) 0 var(--hl); }
  .ft5 { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
  .ft5 > .fcell { min-height: 88px; }
  .ft5 > .fcell:nth-child(4) { display: none; }
  .ft5 .mk { width: 64px; height: 64px; }
}

/* ---------- test panel (comp only), as in A6 ---------- */
.panel { position: fixed; right: 12px; bottom: 12px; z-index: 60; width: 280px; max-height: calc(100vh - 24px); overflow: auto;
  background: #111; color: #ddd; border-radius: 8px; padding: 12px 14px; font: 13px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: normal; }   /* (a normal sans, never mono: Cindy 2026-11-15) */
.panel .ptoggle { all: unset; cursor: pointer; color: #fff; display: block; min-height: 24px; }
.panel.closed .pbody { display: none; }
.panel fieldset { border: 0; margin: 10px 0 0; padding: 0; }
.panel legend { color: #fff; padding: 0; margin-bottom: 4px; font-weight: 600; }
.panel label { display: flex; gap: 6px; align-items: center; cursor: pointer; min-height: 24px; }
.panel input { margin: 0; accent-color: #fff; flex: none; }
.panel :is(button, input, a):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.panel .pnote { margin: 8px 0 0; color: #bbb; }
.panel .pnote b { color: #fff; font-weight: 500; }
.panel .pnote a { color: #fff; }

/* ---------- the zoom (tr=zoom2, desktop with motion; Cindy's handoff, 2026-11-15) ----------
   One number, --p, runs 0 (top) to 1 (landing) over --Y1 of scrolling; the browser sets it from the scroll position
   (a scroll-driven animation; a7.js writes it only where that is missing). Everything below is a function of it:
     0 → .15  the title block fades;  .05 → .35  the fine rows fade (or, map-style, 11px rows fade in as the grid grows)
     ps → 1   the paper grows 1× → 5× about P (smoothstep), the opening square's edges becoming the frame's;
              the work is seen through a paper-colored strip from the square's top edge down
     .6 → 1   the square's sides and top turn from red (2 screen pixels) to the line gray (1)
     .75 → 1  any other line still in the window retracts along its length to the nearest edge
     .85 → 1  the strip widens to the window; the margin notes and numbers fade in, rising 8px
   ps (about .3) is set by a7.js so the hero's last line always stays a fine row above the square's top edge.
   Measurements (--Px, --Py: the center P; --Qx, --y0: the square's left and top at the start; --px0, --pw, --pb: the
   paper's left, width and bottom; --wtop: where the work starts on the page) are set once per layout. */
@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }
@keyframes a7p { from { --p: 0; } to { --p: 1; } }
.zp { display: none; }
body.z2 { animation: a7p linear both; animation-timeline: scroll(root block); animation-range: 0 var(--Y1, 900px);
  --t: clamp(0, (var(--p) - var(--ps, 0.3)) / (0.85 - var(--ps, 0.3)), 1);   /* (the square is fully open, on the frame, at .85;
     only then does the reveal widen to the window: Cindy 2026-11-15, no second set of lines) */
  --e: calc(var(--t) * var(--t) * (3 - 2 * var(--t)));
  --sc: calc(1 + (var(--S, 5) - 1) * var(--e));   /* (5x on 9 columns, 2x on 8) */
  --y: calc(var(--p) * var(--Y1, 900px));
  --c8: clamp(0, (var(--p) - 0.6) / 0.4, 1);
  --rt: clamp(0, (var(--p) - 0.75) / 0.25, 1);
  --w: clamp(0, (var(--p) - 0.85) / 0.15, 1);
  --m: clamp(0, (var(--p) - 0.85) / 0.15, 1);
  --fo: calc(1 - clamp(0, (var(--p) - 0.05) / 0.3, 1));
  --lo: 0;
  --Lx: calc(var(--Px) + (var(--Qx) - var(--Px)) * var(--sc));
  --Rx: calc(var(--Px) + (var(--Qx) + var(--Qw) - var(--Px)) * var(--sc));
  --Ty: calc(var(--Py) + (var(--y0) - var(--Py)) * var(--sc));
  --wv: calc(var(--Ty) - var(--G, 99px)); }   /* (the work's top in the window: by default it rides the square's top edge, so that
     edge IS the heading row's top rule all the way, Cindy 2026-11-15) */
body.z2.arr-flow { --wv: calc(var(--wtop) - var(--y)); }
body.z2.fine-lod { --lo: calc(clamp(0, (var(--p) - var(--ps, 0.3)) / 0.2, 1) * (1 - clamp(0, (var(--p) - 0.8) / 0.2, 1))); }
body.z2.arr-hold { --wv: calc(var(--wtop) - var(--Y1)); }
body.z2 .paper { display: none; }

/* the stage: held to the window; cut to the paper's own edge, which grows with it and leaves the window; gone at
   landing (the work's own lines are there by then) */
body.z2 .zp { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  --gfo: color-mix(in srgb, var(--gf) calc(var(--fo) * 100%), transparent);
  --glo: color-mix(in srgb, var(--gf) calc(var(--lo) * 100%), transparent);
  clip-path: inset(calc(var(--Py) + (44px - var(--Py)) * var(--sc))
                   calc(100% - var(--Px) - (var(--px0) + var(--pw) - var(--Px)) * var(--sc) - var(--lw))
                   calc(100% - var(--Py) - (var(--pb) - var(--Py)) * var(--sc) - var(--lw))
                   calc(var(--Px) + (var(--px0) - var(--Px)) * var(--sc)));
  opacity: clamp(0, (1 - var(--p)) * 1000, 1); }
/* the lines in two layers, so stray ones can retract along their length: uprights toward the top and bottom edges,
   rows toward the left and right */
.zp > .zp-v, .zp > .zp-h { position: absolute; inset: 0; }
.zp > .zp-v {
  background:
    linear-gradient(to right, var(--gc) 0 var(--lw), transparent var(--lw)) calc(var(--Px) + (var(--fl) - var(--Px)) * var(--sc)) 0 / calc(var(--mod) * var(--sc)) 100%,
    linear-gradient(to right, var(--gfo) 0 var(--lf), transparent var(--lf)) calc(var(--Px) + (var(--fl) - var(--Px)) * var(--sc)) 0 / calc(var(--fx) * var(--sc)) 100%,
    linear-gradient(to right, var(--glo) 0 var(--lf), transparent var(--lf)) var(--Px) 0 / var(--fx) 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc((1 - var(--rt)) * 50%), transparent 0, transparent calc(50% + var(--rt) * 50%), #000 0);
  mask-image: linear-gradient(to bottom, #000 calc((1 - var(--rt)) * 50%), transparent 0, transparent calc(50% + var(--rt) * 50%), #000 0); }
body.fs-rows .zp > .zp-v { background:
    linear-gradient(to right, var(--gc) 0 var(--lw), transparent var(--lw)) calc(var(--Px) + (var(--fl) - var(--Px)) * var(--sc)) 0 / calc(var(--mod) * var(--sc)) 100%; }
.zp > .zp-h {
  background:
    linear-gradient(to bottom, var(--gr) 0 var(--lw), transparent var(--lw)) 0 calc(var(--Py) + (44px - var(--Py)) * var(--sc)) / 100% calc(var(--rowh) * var(--sc)),
    linear-gradient(to bottom, var(--gfo) 0 var(--lf), transparent var(--lf)) 0 calc(var(--Py) + (44px - var(--Py)) * var(--sc)) / 100% calc(var(--fy) * var(--sc)),
    linear-gradient(to bottom, var(--glo) 0 var(--lf), transparent var(--lf)) 0 var(--Py) / 100% var(--fy);
  -webkit-mask-image: linear-gradient(to right, #000 calc((1 - var(--rt)) * 50%), transparent 0, transparent calc(50% + var(--rt) * 50%), #000 0);
  mask-image: linear-gradient(to right, #000 calc((1 - var(--rt)) * 50%), transparent 0, transparent calc(50% + var(--rt) * 50%), #000 0); }
/* the merged cells, drawn as part of the paper: they grow with it, about P */
.zp > .zm { position: absolute; inset: 0; transform-origin: var(--Px) var(--Py); transform: scale(var(--sc)); }
/* the reveal: a paper strip between the opening square's sides, from its top edge down; at the end it widens to the
   window */
.zp > .zs { position: absolute; inset: 0; background: var(--paper);
  clip-path: inset(var(--Ty) calc((100% - var(--Rx) - var(--lw)) * (1 - var(--w))) 0 calc(var(--Lx) * (1 - var(--w))));
  opacity: clamp(0, (var(--p) - var(--ps, 0.3)) / 0.05, 1); }
/* the survivors: the square's two sides and its top edge, red over the grid's own red line, then crossfading to the
   gray line (sharing its left or top edge, so thinning doesn't move it); the gray one sits on a strip of paper as
   wide as the red, so the red underneath is covered */
.zp > .sv { position: absolute; left: 0; top: 0; }
.zp > :is(.sv-l, .sv-r) { width: var(--lw); height: 100%; }
/* (the square's sides run from its top edge down, so they never cross the plain cells or the hero's words above it;
   in the last stretch, once the hero has gone, they run on up to the header with the work's lines) */
.zp > :is(.sv-l, .sv-r) { clip-path: inset(calc(var(--Ty) * (1 - var(--w)) + 44px * var(--w)) 0 0 0); }
.zp > .sv-l { transform: translateX(var(--Lx)); }
.zp > .sv-r { transform: translateX(var(--Rx)); }
.zp > .sv-t { width: 100%; height: var(--lw); transform: translateY(var(--Ty)); }
.zp > .sv > b { position: absolute; inset: 0; }
.zp > .sv > .red { background: var(--gc); opacity: calc(1 - var(--c8)); }
.zp > .sv > .gray { background: var(--paper); opacity: var(--c8); }
.zp > .sv > .gray::before { content: ""; position: absolute; left: 0; top: 0; background: var(--hl); }
.zp > :is(.sv-l, .sv-r) > .gray::before { width: var(--lf); height: 100%; }
.zp > .sv-t > .gray::before { width: 100%; height: var(--lf); }
/* the work: full size, never scaled, seen only through the strip (scrolling up as usual, or held at its landing
   place); its margin notes and numbers fade in at the end, rising 8px */
/* (the clip's top releases upward at the end, with the strip's widening, so the frame's lines continue up to the
   header at landing) */
body.z2 .work { clip-path: inset(calc((var(--Ty) - var(--wv)) * (1 - var(--w))) calc((100% - var(--Rx) - var(--lw)) * (1 - var(--w))) 0 calc(var(--Lx) * (1 - var(--w))));
  transform: translateY(calc(var(--wv) - var(--wtop) + var(--y)));
  opacity: clamp(0, (var(--p) - var(--ps, 0.3)) / 0.05, 1); }
body.z2 .work :is(.mnum, .myear), body.z2.pi-margin .work .pinfo { opacity: var(--m); translate: 0 calc((1 - var(--m)) * 8px); }
/* the panel's scrub slider */
.panel .scrub input { flex: 1; }
.panel .scrub output { min-width: 64px; color: #fff; font-variant-numeric: tabular-nums; }
.panel .zonly { display: none; }
body.z2 .panel .zonly { display: block; }

/* (the hover look only while the work is showing: in the hero, or mid-transition, the browser can still think a hidden
   card is hovered under a pointer that hasn't moved. Cindy 2026-11-16)
   (.hov: the same, set by a8.js right after the transition lands, when the browser hasn't yet noticed the card under a
   pointer that hasn't moved; Cindy 2026-11-16) */
/* the project card's hover, as in A3/A5 (Cindy 2026-11-15, "bring back"): the whole card is the title's link; the
   title and its number turn red, the photo eases up 2%, the arrow steps right */
.card { --hov: 0; }
.ptext h3 a { text-decoration: none; }
.ptext h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card .fr { position: static; }
.card:has(h3 a) { cursor: pointer; }
body:is(:not(.zt), .zt-work):not(.ot-exit) .card:has(h3 a):hover h3 a, .card.hov:has(h3 a) h3 a, .card:has(h3 a:focus-visible) h3 a { color: var(--accent-text); }
body:is(:not(.zt), .zt-work):not(.ot-exit) .card:has(h3 a):hover .mnum, .card.hov:has(h3 a) .mnum, .card:has(h3 a:focus-visible) .mnum { color: var(--accent); }
.ptext h3 a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pinfo .prow .arr { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .card .pimg img { transition: transform 700ms cubic-bezier(.2, .7, .2, 1); }
  body:is(:not(.zt), .zt-work) .card:has(h3 a):hover .pimg img, .card.hov:has(h3 a) .pimg img { transform: scale(1.02); }
  .card .mnum, .ptext h3 a { transition: color 150ms ease-out; }
  .pinfo .prow .arr { transition: transform 250ms cubic-bezier(.2, .7, .2, 1); }
  body:is(:not(.zt), .zt-work):not(.ot-exit) .card:has(h3 a):hover .pinfo .prow .arr, .card.hov:has(h3 a) .pinfo .prow .arr { transform: translateX(3px); }
}

/* (Cindy 2026-11-15: no double lines while the work rides the square. Until landing, only the square's own lines are
   drawn; the heading row's top rule and the frame's side lines, which lie on them, show only at p = 1, where both sit
   on the same whole pixels) */
body.z2 { --landed: clamp(0, (var(--p) - 0.999) * 1000, 1); }
body.z2 .work #work > .hrow { box-shadow: inset 0 var(--lf) 0 color-mix(in srgb, var(--hl) calc(var(--landed) * 100%), transparent), inset 0 calc(-1 * var(--lf)) 0 var(--hl); }
body.z2 .work::before, body.z2 .work::after { opacity: var(--landed); }

/* ---------- the title block (title-sheet handoff, 2026-11-15) ----------
   Two margin modules wide, three rows of three fine rows (33px each). In each cell: the label in the top fine row
   (Inconsolata 9.5px capitals, gray), the hand-lettered value in the middle one (capitals exactly one fine row, 11px,
   tall, their baseline on its line), the bottom one clear. Hairline rules (#CFCCC4) around and between the cells */
.tb { position: absolute; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 33px); background: var(--paper);
  left: var(--tbx); top: var(--tby); width: var(--tbw); box-shadow: inset calc(-1 * var(--lf)) calc(-1 * var(--lf)) 0 0 #CFCCC4; }
.tb[hidden] { display: none; }
.tb-c { position: relative; min-width: 0; box-shadow: inset var(--lf) var(--lf) 0 0 #CFCCC4; }
.tb-full { grid-column: 1 / -1; }
.tb-l { position: absolute; left: 6px; top: 0; height: 11px; display: flex; align-items: center; font: 400 9.5px/1 "Inconsolata", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); white-space: nowrap; }
.tb-v { position: absolute; left: 6px; top: 11px; font: 400 var(--tbfs, 15px)/1 "Architects Daughter", "Inter", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); white-space: nowrap; }   /* (placed by its measured baseline: a7.js) */
.tb-v img { display: block; height: 11px; width: auto; }
.tb-v[data-over] { outline: 1px dashed var(--accent-text); }   /* (a scan wider than its cell: flagged, not squeezed) */
body.z2 .tb { position: fixed; opacity: calc(1 - clamp(0, var(--p) / 0.15, 1)); }

/* ---------- the detail tag (title-sheet handoff, 2026-11-15; a test) ----------
   A 66px circle, an ink hairline, paper inside, a line across the middle: "01" over "A2" (Inconsolata 12px). Beside it,
   on a plain cell of its own: "Selected work" over a rule, then "DETAIL · 1:N". A link to the work */
.sys a.dtag, .dtag { text-decoration: none; }
.dtag { position: absolute; z-index: 3; left: var(--dx); top: var(--dy); display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.dtag[hidden] { display: none; }
.dt-c { position: relative; width: 66px; height: 66px; flex: none; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink);
  display: grid; grid-template-rows: 1fr 1fr; justify-items: center; font: 400 12px/1 "Inconsolata", ui-monospace, monospace; letter-spacing: .08em; transition: box-shadow 150ms ease-out; }
.dt-c::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 0; border-top: 1px solid var(--ink); }
.dt-n { align-self: end; padding-bottom: 6px; } .dt-s { align-self: start; padding-top: 6px; color: var(--gray); }
.dt-l { display: flex; flex-direction: column; gap: 4px; padding: 6px; background: var(--paper); }
.dt-t { font: 500 14px/1.2 "Inter Tight", sans-serif; padding-bottom: 3px; border-bottom: 1px solid var(--ink); white-space: nowrap; }
.dt-d { font: 400 12px/1.2 "Inconsolata", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); white-space: nowrap; }
.dtag:hover .dt-c { box-shadow: inset 0 0 0 1px var(--accent-text); }
.dtag:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
/* (with the zoom: held on the paper while the hero scrolls off; it goes as the square starts to open) */
body.z2 .dtag { position: fixed; opacity: calc(1 - clamp(0, (var(--p) - var(--ps, 0.3)) / 0.05, 1)); }
@media (prefers-reduced-motion: reduce) { .dt-c { transition: none; } }

/* phones: no grid placement, so each hero text block sits on plain paper of its own (the merged cells' rule: no line
   crosses a word) */
@media (max-width: 1023px) {
  .hero > :is(.name, .stmt, .foot) { background: var(--paper); box-shadow: 0 0 0 6px var(--paper); }
  body.sys .stmt { font-size: 22px; line-height: 1.3; }
}

/* =====================================================================================================================
   A8: hero Alt A, ruled cells (Cindy's handoff, 2026-11-15: reference/handoffs/2026-11-15-hero-alt-a.md)
   ===================================================================================================================== */
html.a7 body.a7h { --hg: #A8A59E; }                 /* the hero's line gray (a test: the site gray everywhere) */
html.a7 body.a7h.hl-site { --hg: var(--home-line); }
/* (tests, Cindy 2026-11-15: true black lines in the hero only, the gray from the work down; or true black on every line
   of the home page) */
html.a7 body.a7h.hl-bhero { --hg: #000; }
html.a7 body.a7h.hl-black { --hg: #000; --home-line: #000; --hl: #000; --line-c: #000; --sh-line: var(--lf, 0.5px) solid #000; }

/* the name: Inter Tight 400 in capitals, -0.01em, one line per half-module cell (its size set by a8.js so the
   capitals are 6 fine rows tall); the third line in the large gray */
body.sys .name { font-family: "Inter Tight", sans-serif; font-size: var(--nm, 91px); line-height: 1; font-weight: 400; letter-spacing: -0.01em; text-transform: uppercase; }
.name :is(.n2, .n3) { color: var(--gray-large, #8D8C87); }   /* (the role in the large gray; the name in ink) */
/* the C L mark: text (it scrolls with the name), the footer's thin circles */
.mark { display: flex; gap: calc(var(--mk, 88px) / 8); }   /* (a fine row apart: the circles don't touch) */
.mark svg { display: block; width: var(--mk, 88px); height: var(--mk, 88px); color: var(--ink); overflow: visible; }
/* labels, the term: Inconsolata 12px capitals, +0.08em */
.lab, .term { font: 500 12px/16.5px "Inconsolata", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.lab { color: var(--gray); }
/* (red has one job, "this leads somewhere": the term shares the footnote marker's red; hovering or focusing the marker,
   or arriving at the term from it, washes the definition cell 6% red. Cindy 2026-11-15) */
.term { color: var(--accent-text); }
.term:focus { outline: none; }
.defcell { position: absolute; display: block; pointer-events: none; background: transparent; }
.hero:has(.fn a:hover, .fn a:focus-visible, .term:focus, .term:target) .defcell { background: color-mix(in srgb, var(--accent-text) 6%, transparent); }

/* ---------- the draw-in (a8.js): lines hidden until it starts; each stroke drawn by its ::before; text after ---------- */
body.draw-pre .hero > *, body.draw-pre :is(.xl, .xs) { opacity: 0 !important; }
body.draw-pre footer.a8ft { opacity: 0 !important; }   /* (B5, motion handoff 2026-11-19: the footer joins the page's entrance, after the content above it; never the first thing shown) */
.hero > i.wipe { position: absolute; z-index: 4; display: block; background: var(--paper); transform-origin: 100% 0; pointer-events: none; }
body.drawing .ln { background: transparent !important; }
.xw .ln { background: transparent; }
.xw .ln::before { content: ""; position: absolute; inset: 0; background: var(--hg); transform-origin: 0 0; }
body.drawing .ln::before { content: ""; position: absolute; inset: 0; background: var(--hg); transform-origin: 0 0; }
.cover .cv-arr { color: var(--accent-text); }
/* the definition text: the body font, 13 on 19.5, in two columns */
.deftext { font: 400 calc(13px + var(--tx-bump, 0px))/19.5px var(--text-font); color: var(--ink); max-width: none; text-wrap: pretty; }   /* (one column, Cindy 2026-11-15; as wide as the case study's reading column) */
/* project 01's cover cell: a link to the work; the AO cover filling it (cropped as on the card, so the zoom lands on the
   same pixels); a tab in its bottom-left corner */
.sys a.cover { position: absolute; display: block; overflow: hidden; color: var(--ink); text-decoration: none; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right top; }
.cover .cv-tab { position: absolute; left: 0; bottom: 0; padding: 3px 8px 2px; background: var(--paper); font: 500 12px/16.5px "Inconsolata", ui-monospace, monospace;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink); box-shadow: inset 0 var(--lf) 0 var(--hg), inset calc(-1 * var(--lf)) 0 0 var(--hg); }
.cover:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* the ruled lines: each one its own element, so it can draw and erase along its length (motion handoff, Cindy
   2026-11-15: lines draw and erase; they never fade and never scale with anything else). Static: in the page; with
   the transition: held to the window */
.xl, .xs { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.xs { z-index: 6; }
.ln { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: var(--hg); transform: translate(var(--x), var(--y)); }
.ln.h { width: var(--l); height: var(--lf); }
.ln.v { width: var(--lf); height: var(--l); }

/* card images: exactly the frame, 2:1 (704 x 352 at 1440), so the zoom lands on them; the frame's lines over their edges */
.card .pimg { aspect-ratio: 2 / 1; margin-left: calc(-1 * var(--lf)); width: var(--fw); }

/* ---------- the transition (tr=zoom; motion handoff, Cindy 2026-11-15) ----------
   Played on a clock by a8.js between two resting states: the hero (scroll 0) and the work (scroll Y1). The stage holds
   still while the page underneath is moved (--sy, the scroll offset, is taken back out). Lines draw and erase, text
   registers and wipes (paper strips over each rendered line, never the text itself), and the cover is the one thing
   that travels. The work's own lines hide while it plays; stand-ins in .xw draw in their places */
body.z8 .hero { z-index: auto; }
body.z8 .hero > * { z-index: 1; }
body.z8 :is(.xl, .xs) { position: fixed; transform: translateY(var(--dy, 0px)); }   /* (--dy: the follow's drag, fb) */
body.z8 .hero > a.cover { position: fixed; z-index: 5; transform-origin: 0 0; }
/* (Cindy 2026-11-19, "when you scroll there's always a choppy thing and a square with a gap above the picture": the
   site's links ease their transform (a7-system.css), and the cover is a link, so it trailed the hero while following a
   scroll, and that transition, which outranks an animation, held it back from the zoom while its edges went on. It
   moves only with the follow and the zoom) */
body.z8 .hero > a.cover { transition: none !important; }
body.z8 .work { z-index: 2; transform: translateY(calc(var(--sy, 0px) - var(--Y1) + var(--dyw, 0px))); }
body.z8:not(.zt-run):not(.zt-work) .work { opacity: 0; pointer-events: none; }   /* (not visibility: Tab and screen readers still reach it, and moving focus in plays the transition) */
body.z8.zt-run .work { --hl: transparent; }
body.z8.zt-run .work #work > .hrow + .card .pimg { visibility: hidden; }
body.z8.zt-run .hero > :not(.cover) { transform: translateY(calc(var(--sy, 0px) + var(--dy, 0px))); }
body.z8.zt-drag .hero > * { transform: translateY(var(--dy, 0px)); }   /* (the follow: the whole hero moves with the input) */
body.z8.zt-work .hero > *, body.z8.zt-work :is(.xl, .xs) { opacity: 0; pointer-events: none; }
body.z8:is(.zt-run, .zt-work) .hero > a.cover { pointer-events: none; }
.xw { position: fixed; inset: 0; z-index: 6; pointer-events: none; }
body.z8 .panel .zonly { display: block; }
.work > .ww { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.work > .ww > i.wipe { position: absolute; display: block; background: var(--paper); transform-origin: 100% 0; }
/* (transition strips rest collapsed; each shows only while its own text moves) */
.cover > i.wipe { position: absolute; z-index: 3; display: block; background: var(--paper); transform-origin: 100% 0; pointer-events: none; }
.work > .ww > i.wipe, body.z8:is(.zt-run, .zt-clear) .hero > i.wipe.wipe, .cover > i.wipe { transform: scaleX(0); }
/* (sc=clear, scroll handoff 2026-11-19: going back, the work's own lines hide during the scrub, as during the move, for
   their stand-ins. The text's rise and the cover's rubber band are set inline by a8.js) */
body.z8.zt-clear-w .work { --hl: transparent; }
.hero > i.wipe { z-index: 1; }

/* ---------- phones: the hero stacks; no lines, no zoom ---------- */
@media (max-width: 1023px) {
  .hero { display: flex; flex-direction: column; gap: 0; padding: 60px 16px 22px; }
  .js .hero > * { position: static; }
  .name { display: flex; flex-direction: column; order: 1; }
  .js .name > span:not(.vh) { position: static; display: block; padding: 8px 0; border-bottom: var(--lf) solid var(--hg); }
  body.sys .name { font-size: clamp(36px, 14vw, 64px); }
  .mark, .defcell { display: none; }
  .hero > .lab-p { order: 2; margin-top: 22px; } .hero > .stmt { order: 3; margin-top: 6px; }
  .sys .hero > a.cover { order: 4; position: relative; margin-top: 22px; aspect-ratio: 2 / 1; width: 100%; height: auto; left: auto; top: auto; }
  .hero > .lab-d { order: 5; margin-top: 22px; } .hero > .term { order: 6; margin-top: 6px; } .hero > .deftext { order: 7; margin-top: 8px; columns: 1; }
  body.sys .stmt { font-size: 22px; line-height: 1.3; }
}

/* ---------- home to case study: the browser's own page transition (as A3 to A2's case study) ----------
   The AO card image and the case study's hero image share a name, so the cover moves between them; the header holds
   still. Off with reduced motion */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }   /* (motion handoff 2026-11-19, step 5: no page transitions on phones or with reduced motion; page changes are instant) */
#work > .hrow + .card .pimg img { view-transition-name: cover-ao; }
html:not(.ot-vt)::view-transition-group(*) { animation-duration: 400ms; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }   /* (ot=cut, and the glide; the morph times its own: a7-system.css) */
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* (Cindy 2026-11-15: with the side margins, every rule stops at the paper's edge, as the hero's do; none overshoots
   to the window's edge. The rules are drawn as paper-wide strips instead of the rows' full-width shadows) */
html.ed-margin[data-edges] body.a7h { --rl-x: var(--px0); --rl-w: calc(var(--pw) + var(--lf)); }
html.ed-margin[data-edges] body.a7h .hrow,
html.ed-margin[data-edges] body.a7h .work #work > .hrow { box-shadow: none;
  background: linear-gradient(var(--hl), var(--hl)) var(--rl-x) 0 / var(--rl-w) var(--lf) no-repeat,
              linear-gradient(color-mix(in srgb, var(--hl) calc(var(--landed, 1) * 100%), transparent), color-mix(in srgb, var(--hl) calc(var(--landed, 1) * 100%), transparent)) var(--rl-x) 100% / var(--rl-w) var(--lf) no-repeat; }
html.ed-margin[data-edges] body.a7h :is(.hrow + .row ~ .row, .hrow + .row + .row) { box-shadow: none;
  background: linear-gradient(var(--hl), var(--hl)) var(--rl-x) 0 / var(--rl-w) var(--lf) no-repeat; }
html.ed-margin[data-edges] body.a7h .hrow ~ .card + .card::before { left: var(--rl-x); right: auto; width: var(--rl-w); }
html.ed-margin[data-edges] body.a7h .frow { box-shadow: none;
  background: linear-gradient(var(--hl), var(--hl)) var(--rl-x) 0 / var(--rl-w) var(--lf) no-repeat,
              linear-gradient(var(--hl), var(--hl)) var(--rl-x) 100% / var(--rl-w) var(--lf) no-repeat; }
html.ed-margin[data-edges] .sh::after { left: var(--px0); right: auto; width: calc(var(--pw) + var(--lf, 1px)); }

/* (a test, Cindy 2026-11-15: the hero's type in the site's global styles. Name: 02 Display (Inter Tight 400, 56px,
   -0.02em), still in capitals. Statement: 03 Title (26px, 1.2, weight 500). Definition text: 06 Small (12px, 1.45,
   gray). Labels and the term: the global label style (Inconsolata 400, 12px, 1.45, +0.06em)) */
/* (the name stays as drawn; the statement and definition a hair tighter than the global 1.2 and 1.45: Cindy 2026-11-15) */
body.sys.ty-global .stmt { font-weight: var(--title-weight, 500); line-height: 1.15; letter-spacing: normal; }
body.sys.ty-global.sw-trust .stmt { font-weight: 400; }
/* (mobile audit P0-3, 2026-11-19: the grid is fluid from 1024 up, so the statement scales with the module and keeps its
   band: 26px at 1440 (module 180), 23 at 1280, 21 at 1024; never larger than 26) */
@media (min-width: 1024px) { body.sys.ty-global .stmt { font-size: clamp(21px, calc(var(--mod, 180px) * 0.1445), 26px); } }   /* (the headline regular, "trust" medium: Cindy 2026-11-16) */
body.sys.ty-global.sw-trust .stmt .tw { font-weight: 500; }
/* (a test, Cindy 2026-11-17: the "7+ years" line alone a hair looser; the section headings stay as they are) */
body.sys.ty-global.sl-05 .stmt { letter-spacing: 0.005em; }
body.sys.ty-global.sl-1 .stmt { letter-spacing: 0.01em; }
body.sys.ty-global.sl-15 .stmt { letter-spacing: 0.015em; }
body.sys.ty-global.sl-2 .stmt { letter-spacing: 0.02em; }
/* (a test, Cindy 2026-11-17: the term "Wick·ed prob·lem" in 05 Body (Geist 14px/1.5, regular) instead of the label style;
   still red, its one job) */
body.sys.ty-global.tm-body .term { font: 400 calc(14px + var(--tx-bump, 0px))/1.5 var(--text-font, "Geist", sans-serif); letter-spacing: 0.005em; text-transform: lowercase; color: var(--ink); }
/* (Cindy 2026-11-17: lowercase, +0.5%, in ink (not red); a hair of room either side of the syllable dots, which are
   hard to see set tight) */
.term .hy { font-style: normal; }
body.sys.ty-global.tm-body .term .hy { margin: 0 0.12em; }
body.sys.ty-global .deftext { font: 400 calc(12px + var(--tx-bump, 0px))/1.4 var(--text-font); color: var(--gray); }
body.sys.ty-global :is(.lab, .term) { font-weight: 400; line-height: 1.45; letter-spacing: 0.06em; }

/* ---------- hover (motion handoff, Cindy 2026-11-15): with black lines, lines can't also be the hover signal; only the
   content answers. Instant or under 120ms; nothing on the lines. Keyboard focus keeps its visible ring everywhere ---------- */
/* nav items: the text turns red (as the current page already is); no box, no line */
body.a7h .sh .sh-nav a { transition: color 100ms ease-out; }
/* text links: the underline thickens from 1px to 2px; no color change */
body.a7h main a:not(.cover):not(.bare):not(h3 a):hover { color: inherit; text-decoration-thickness: 2px; }
/* project cards: the title turns red, and (Cindy 2026-11-15, kept from before) the number turns red, the image zooms
   slightly and the "Read case study" arrow nudges */
body.a7h .ptext h3 a { transition: color 100ms ease-out; }
/* the cover: the red arrow in its tab steps down 3px (not with reduced motion); nothing else moves */
.cover .cv-arr { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .cover .cv-arr { transition: transform 100ms ease-out; }
  .cover:is(:hover, :focus-visible) .cv-arr { transform: translateY(3px); }
}

/* (A8 home's type, settled by Cindy 2026-11-15: the body in TeX Gyre Heros; style 04 (Subtitle, medium) stays Geist,
   since Heros has no Medium) */
html[data-bf="heros"] body.sys .t-subtitle { font-family: "Geist", "Inter", sans-serif; letter-spacing: -0.005em; }

/* ---------- section ends (se; Cindy's handoff, section 5 "Section ends", 2026-11-15) ----------
   band: a 99px gap above each heading row, the frame's lines running through it (as before).
   head (default): the gap becomes the heading's own cell: no padding above sections; each heading row is 99 + 45px tall,
     its full-width rule right under the previous section's last line, the heading at the cell's foot. Earlier's summary
     row the same. The footer's rule right under Earlier's row.
   none: no gap; each section ends 44px after its last line, then the next heading row.
   In every option the card cells are equal height (the line beside the details runs to the card's foot, "Read case
   study" pinned at the bottom), and nothing below the hero is padded to modules */
body:is(.se-head, .se-none) .sec { padding-top: 0; }
body:is(.se-head, .se-none) .work { padding-bottom: 0; }
body.se-head .hrow { height: calc(var(--gap, 99px) + 45px); }
body.se-head .hrow > .fr { box-sizing: border-box; padding-top: var(--gap, 99px); }
body.se-none .sec:not(.sec-ft):not(.sec-early) { padding-bottom: 44px; }
/* (the first heading row starts right under the header or the hero, whose own rule is already there: no second line) */
body:is(.se-head, .se-none) .work #work > .hrow { box-shadow: inset 0 calc(-1 * var(--lf)) 0 var(--hl); }
/* (Earlier collapsed: its row's foot is the footer's top line, drawn once) */
body:is(.se-head, .se-none) .sec-early:not(:has(details[open])) + .sec-ft .frow { box-shadow: inset 0 calc(-1 * var(--lf)) 0 var(--hl); }
/* inside a card: 22px between the summary and the questions */
.ptext > p + .plus { margin-top: 14px; }   /* (with the column's 8px gap: 22px) */
/* (medium text in the text font: Heros has no Medium and would show Bold, so the Experience names and Earlier's numbers
   take Geist too, like style 04: Cindy 2026-11-15) */
html[data-bf="heros"] body.sys :is(.exp .em, .early .n) { font-family: "Geist", "Inter", sans-serif; letter-spacing: normal; }

/* ---------- line hierarchy (A8 handoff, section 5; Cindy 2026-11-15): a line runs as far as the thing it separates.
   Section rule: full width, only atop each heading row. Frame rule (between the frame's lines): under each heading row,
   between Experience rows, between project cards. No closing rules: a section never rules off its own end; the footer
   has a full-width rule on top and none at the very bottom. The dotted leaders stay (Cindy) ---------- */
/* (heading rows: full-width rules above and below again, Cindy 2026-11-16) */
.hrow { box-shadow: inset 0 var(--lf) 0 var(--hl), inset 0 calc(-1 * var(--lf)) 0 var(--hl); }
body.se-head .work #work > .hrow { box-shadow: inset 0 calc(-1 * var(--lf)) 0 var(--hl); }
.hrow + .row ~ .row, .hrow + .row + .row { box-shadow: none; }
.xrow + .xrow > .fr { box-shadow: inset 0 var(--lf) 0 var(--hl); }
/* (between project cards the rule runs full width: an exception, since the cards are so far apart. Cindy 2026-11-16) */
.hrow ~ .card + .card::before { left: 0; right: 0; width: auto; }
.frow { box-shadow: inset 0 var(--lf) 0 var(--hl); }
/* (Earlier collapsed: the footer's full-width rule is the line under its row, drawn once) */
/* (a gap band between Earlier and the footer, Cindy 2026-11-16: Earlier keeps its own rule under it; the footer draws its own) */
.sec-early + footer.a8ft { margin-top: var(--gap, 99px); }
body.se-head .sec-early:not(:has(details[open])) + .sec-ft .frow { box-shadow: inset 0 var(--lf) 0 var(--hl); }

/* (Experience: the years in a cell of their own, one module wide (half the WORK cell), ruled off from the rest of the
   row; the role starts 12px past that line. Cindy 2026-11-16) */
@media (min-width: 1024px) {
  .xrow .myear { width: calc(var(--mod) - 12px); }
  .xrow .exp { padding-left: calc(var(--mod) + 12px); }
  .xrow > .fr::before { content: ""; position: absolute; z-index: 1; left: calc(var(--mod) - var(--lf)); top: 0; bottom: 0; width: var(--lf); background: var(--hl); pointer-events: none; }
}

/* ---------- the name in red (a test, Cindy 2026-11-16; nm). Large type takes the display red (--accent, #E84829: 3.4:1
   with paper, which passes at this size) ---------- */
.nmcell { position: absolute; display: none; pointer-events: none; }
body.nm-cell .nmcell { display: block; background: var(--accent, #E84829); }
body.sys.nm-red .name .n1 { color: var(--accent, #E84829); }
body.sys.nm-cell .name .n1 { color: var(--paper, #F3F2EE); }
.hero > i.wipe.onred { background: var(--accent, #E84829); }
@media (max-width: 1023px) {
  body.nm-cell .nmcell { display: none; }
  body.sys.nm-cell .name > .n1 { background: var(--accent, #E84829); padding-left: 8px; }
}
/* (a test, Cindy 2026-11-16: the role in black instead of the large-text gray the case study's subtitles use) */
body.sys.rc-ink .name :is(.n2, .n3) { color: var(--ink, #111111); }

/* (until a8.js has laid the page out: hidden, so nothing paints unplaced while the scripts load; Cindy 2026-11-16 saw
   part of the statement flash on load. Without JavaScript the class is never added) */
html.a8-pre :is(.hero, .work, .xl, .xs, .about) { visibility: hidden; }
/* (Earlier, open: a rule under its cards, full width like the cards' own rules; Cindy 2026-11-16) */
.early-d[open] > .erow { box-shadow: inset 0 calc(-1 * var(--lf)) 0 var(--hl); }
/* (the transition: the header's painted dividers hide while their stand-ins ride the grid's zoom; a8.js) */
html.ed-edge[data-edges] body.z8.zt-run .sh { background: var(--paper, #F3F2EE); }
/* (Cindy 2026-11-16: pulling the work down to go back, its frame edges never break: they run on up behind the header) */
body.z8 .work::before, body.z8 .work::after { top: -100vh; }
/* (Cindy 2026-11-17: the definition's link turns red on hover, as the site's other links' text does) */
.deftext a:hover, .deftext a:focus-visible { color: var(--accent-text) !important; }   /* (over the work links' "inherit" hover) */
/* (Cindy 2026-11-17: the citation link underlined with dots, its arrow red at rest) */
.deftext a { text-decoration-line: underline; text-decoration-style: dotted; }
/* (Cindy 2026-11-17: the arrow back to black, drawn, so its head reads: a fine line (about 1px) with square ends; the ↗
   character stays in the page, unseen, so the dotted underline still runs under it) */
.deftext a > span[aria-hidden="true"] { position: relative; color: transparent; }   /* (the ↗ character stays in the line, unseen, so the underline runs under it) */
.deftext a > span[aria-hidden="true"]::after { content: ""; position: absolute; left: 3px; bottom: var(--ar-b, 3.5px); width: 9px; height: 9px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 8.5 8 2' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='square'/%3E%3Cpath d='M3.25 1.55H8.45V6.75' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 8.5 8 2' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='square'/%3E%3Cpath d='M3.25 1.55H8.45V6.75' fill='none' stroke='%23000' stroke-width='1.1' stroke-linecap='butt' stroke-linejoin='miter'/%3E%3C/svg%3E") center / contain no-repeat; }
.deftext a:is(:hover, :focus-visible) > span[aria-hidden="true"]::after { background: var(--accent-text); }
/* (the dotted underline keeps its weight on hover) */
.deftext a, .deftext a:hover, .deftext a:focus-visible { text-decoration-thickness: 1px !important; }
/* (Cindy 2026-11-17: the footnote's 1 at the start of the term, in the same red as the statement's) */
.term .fn { font: 500 0.75em/0 "Inter Tight", sans-serif; vertical-align: 0.4em; margin-right: 3px; color: var(--accent-text); letter-spacing: 0; text-transform: none; }
/* (Cindy 2026-11-17: the citation link's hover is instant, no fade) */
.deftext a, .deftext a > span[aria-hidden="true"]::after { transition: none !important; }
/* (Cindy 2026-11-17: "Read case study →": the underline under the words only, not the space and arrow after them) */
.sys .pinfo .prow a { text-decoration: none; }
.sys .pinfo .prow a > .u { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* (Cindy 2026-11-18: the transition lands already in the hover look; it doesn't start a second move. a8.js hoverAt) */
.card.hov-now .pimg img, .card.hov-now .pinfo .prow .arr, .card.hov-now .mnum, .card.hov-now h3 a { transition: none !important; }

/* (ot=morph, the exit before opening a case study: the work's own lines off while its stand-ins un-draw; a8.js otExit) */
body.z8.ot-exit .work { --hl: transparent; }

/* (Earlier item 06 links to the Rent the Runway page, a8-case.html?cs=rent-the-runway: the name is the one link, stretched
   over the whole item; hover turns the name the accent, as the cards' titles do. Handoff 2026-11-18-rtr-earlier-work) */
.early--link { position: relative; }
.early--link .t-body a { color: inherit; text-decoration: none; }
.early--link .t-body a::after { content: ""; position: absolute; inset: 0; }
.early--link:hover .t-body a { color: var(--accent-text); }
.early--link .t-body a:focus-visible { outline: none; }
.early--link:has(a:focus-visible) { outline: 2px solid var(--ink, #111); outline-offset: -2px; }

/* =====================================================================================================================
   Mobile audit, 2026-11-19 (reference/handoffs/2026-11-19-mobile-audit.md). Phones and tablets: below 1024.
   ===================================================================================================================== */
@media (max-width: 1023px) {
  /* H1: the cover shows once, on its card. The hero ends on "01 · Selected work ↓", a link to the card */
  .sys .hero > a.cover { order: 8; display: flex; align-items: center; aspect-ratio: auto; min-height: 44px; margin-top: 16px; overflow: visible; }
  .sys .hero > a.cover img { display: none; }
  .sys .hero > a.cover .cv-tab { position: static; box-shadow: inset 0 0 0 var(--lf, 0.5px) var(--hg); padding: 6px 10px 5px; }
  /* H2: the card stacks: image, title, one-liner, questions, a meta row (company, then the tags), then "Read case
     study →" as a full-width row. The title's link still covers the whole card */
  body.pi-side .card .fr { display: flex; flex-direction: column; }
  body.pi-side .card .pimg { order: 1; }
  body.pi-side .card .ptext { order: 2; max-width: none; padding: 12px 12px 16px; }
  body.pi-side .pinfo .ptags { order: 3; display: flex; flex-flow: row wrap; align-items: baseline; gap: 4px 12px; padding: 0 12px 16px; box-shadow: none; }
  body.pi-side .pinfo .pco { order: 1; flex: none; }
  body.pi-side .pinfo .ptg { order: 2; flex: 1 1 100%; }
  body.pi-side .pinfo .prow { order: 4; display: flex; align-items: center; min-height: 48px; padding: 0 12px; box-shadow: inset 0 var(--lf) 0 var(--hl); }
  body.pi-side .pinfo .prow a { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; }
  /* M3: the footnote marker keeps its size, with a 24px target around it; the logo 44 by 44 */
  .stmt .fn a { position: relative; }
  .stmt .fn a::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%); }
  .sh .sh-logo { min-width: 44px; }
  /* M4: less empty space at the ends of sections: 66px before each main section, 44px under the last */
  .work { --gap: 66px; padding-bottom: 44px; }
  .sec-early + footer.a8ft { margin-top: 44px; }
}
