/* =====================================================================
   INK — Eian Torres
   Layout concept: a press sheet that becomes a world. Paper sections and
   ink sections alternate like plates on a press run; the work sits inside
   "plates" that lift off the sheet as you scroll. One spot color, CMY only
   where the hero makes black out of three plates.
   ===================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-variable.woff2") format("woff2-variations"), url("../fonts/archivo-variable.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-variable.woff2") format("woff2-variations"), url("../fonts/instrument-sans-variable.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* color: paper, ink, one spot, and the three process plates */
  --paper: #E8E7E3;
  --paper-2: #DAD9D4;
  --paper-fg: #0C0C0E;
  --paper-muted: #55544F;
  --ink: #0C0C0E;
  --ink-2: #18181C;
  --ink-fg: #ECEBE7;
  --ink-muted: #9C9B95;
  --spot: #2E3BFF;          /* INK blue: one spot color, used sparingly */
  --spot-on-ink: #7D86FF;
  --cyan: #00AEEF; --magenta: #EC008C; --yellow: #FFF200;

  /* type */
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* scale */
  --t-xs: .75rem; --t-sm: .875rem; --t-md: 1.0625rem; --t-lg: 1.375rem; --t-xl: clamp(1.75rem, 3.2vw, 2.75rem);
  --t-2xl: clamp(2.5rem, 6vw, 5.25rem); --t-3xl: clamp(3rem, 9.5vw, 9rem);

  /* motion tokens (mirrored in site.js) */
  --ease-ink: cubic-bezier(.16, .84, .24, 1);     /* fast out, long settle: ink landing on paper */
  --ease-press: cubic-bezier(.7, 0, .2, 1);       /* symmetric, mechanical: the press itself */
  --d-1: 160ms; --d-2: 320ms; --d-3: 640ms; --d-4: 1000ms;

  --gutter: clamp(16px, 4vw, 56px);
  --bar-h: 64px;

  color-scheme: light;
}

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--paper); color: var(--paper-fg);
  font: 400 var(--t-md)/1.55 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--spot); color: #fff; }
:focus-visible { outline: 2px solid var(--spot); outline-offset: 3px; }
.is-ink :focus-visible { outline-color: var(--spot-on-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ink-fg); padding: 10px 14px; font: 500 var(--t-sm) var(--mono); text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
main:focus, [tabindex="-1"]:focus { outline: none; }

.mono { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase; }
.wrap { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }

/* section worlds: every section declares paper or ink and the rest follows */
.is-paper { --bg: var(--paper); --fg: var(--paper-fg); --muted: var(--paper-muted); --line: rgb(12 12 14 / .16); --spot-t: var(--spot); --panel: var(--paper-2); background: transparent; color: var(--fg); }
.is-ink   { --bg: var(--ink);   --fg: var(--ink-fg);   --muted: var(--ink-muted);   --line: rgb(236 235 231 / .16); --spot-t: var(--spot-on-ink); --panel: var(--ink-2); background: var(--bg); color: var(--fg); }

/* ---------- top bar: no background, difference blend keeps it legible on paper and ink ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px;
  display: flex; align-items: center; gap: 24px;
  color: var(--paper-fg); background: transparent; border-bottom: 1px solid transparent;
  transition: transform var(--d-3) var(--ease-ink), background-color var(--d-2) linear, color var(--d-2) linear, border-color var(--d-2) linear;
}
/* once the page moves, the bar gets its own frosted ground, matched to the section under it */
.bar.is-solid { background: rgb(232 231 227); border-bottom-color: rgb(12 12 14 / .1); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.bar.on-ink { color: var(--ink-fg); }
.bar.is-solid.on-ink { background: rgb(12 12 14); border-bottom-color: rgb(236 235 231 / .12); }
.bar.is-hidden { transform: translateY(-110%); }
.mark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.mark-ink { font: 900 1.35rem/1 var(--display); font-stretch: 125%; letter-spacing: -.02em; }
.mark-name { font: 500 var(--t-xs) var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.bar-nav { margin-left: auto; display: flex; gap: clamp(14px, 2.4vw, 32px); }
.bar-nav a, .bar-cta { font: 500 var(--t-xs) var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; position: relative; }
.bar-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--d-2) var(--ease-ink); }
.bar-nav a:hover::after, .bar-nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.bar-cta { border: 1px solid currentColor; border-radius: 999px; padding: 8px 14px; display: inline-block; }
@media (max-width: 720px) {
  .bar-nav a:not([href="#work"]) { display: none; }
  .mark-name { display: none; }
}

/* ---------- placeholders: gaps the owner still has to fill ---------- */
.ph:not(.proof .ph) {
  display: grid; place-items: center; text-align: center; min-height: 120px; padding: 18px;
  border: 1.5px dashed var(--muted); color: var(--muted);
  font: 500 var(--t-xs)/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase;
}
.ph-inline:not(.proof .ph-inline) { display: inline; min-height: 0; padding: 1px 6px; border: 1px dashed var(--muted); font: 500 .8em var(--mono); text-transform: none; }

/* =====================================================================
   HERO: the press. Black made of three plates.
   ===================================================================== */
.hero {
  position: relative; overflow-x: clip; overflow-y: visible;
  padding: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) 22px;
  display: grid; grid-template-rows: auto auto auto auto; gap: clamp(16px, 2.4vw, 28px);
}
.hero-in { display: contents; }
.hero-top { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); }
.hero-press { position: relative; aspect-ratio: 3.25 / 1; max-height: 62vh; }
.hero-press canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero-fallback { position: absolute; inset: auto 0 0 0; font: 900 clamp(7rem, 33vw, 34rem)/.78 var(--display); font-stretch: 125%; letter-spacing: -.04em; margin: 0; }
.has-press .hero-fallback { visibility: hidden; }
.hero-base { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; }
.hero-name { font: 800 var(--t-xl)/1 var(--display); font-stretch: 112%; letter-spacing: -.02em; margin: 0 0 12px; }
.hero-sub { margin: 0; max-width: 38ch; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.4; text-wrap: balance; }
.hero-disc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.hero-disc li { font: 500 var(--t-xs) var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; }
.hero-slug { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); }
.hero-slug .bars { display: inline-flex; height: 10px; }
.hero-slug .bars i { width: 10px; height: 10px; display: block; }
.scroll-cue { margin-left: auto; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--fg); }
.scroll-cue b { display: inline-block; width: 1px; height: 18px; background: currentColor; transform-origin: top; animation: cue 2.4s var(--ease-press) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.regmark { position: absolute; width: 22px; height: 22px; color: var(--fg); opacity: .55; pointer-events: none; }
.regmark::before, .regmark::after { content: ""; position: absolute; background: currentColor; }
.regmark::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.regmark::after { top: 50%; left: 0; right: 0; height: 1px; }
.regmark span { position: absolute; inset: 5px; border: 1px solid currentColor; border-radius: 50%; }
.regmark.tl { left: 10px; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); }
.regmark.tr { right: 10px; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); }
@media (max-width: 760px) {
  .regmark { display: none; }
  .hero-base { grid-template-columns: 1fr; }
  .hero-disc { justify-content: flex-start; }
  .hero-slug .opt { display: none; }
}

/* =====================================================================
   MANIFESTO: words fill with ink as you read. Ends in the ink drop.
   ===================================================================== */
.manifesto { position: relative; overflow: clip; padding-block: clamp(96px, 16vw, 220px) clamp(160px, 30vh, 320px); }
.manifesto-k { color: var(--muted); margin: 0 0 28px; }
.manifesto-t { font: 700 var(--t-2xl)/1.1 var(--display); font-stretch: 100%; letter-spacing: -.025em; margin: 0; max-width: 18ch; text-wrap: balance; }
.manifesto-t .w { transition: color var(--d-2) linear; }
.motion .manifesto-t .w { color: rgb(12 12 14 / .2); }
.motion .manifesto-t .w.on { color: var(--fg); }
.manifesto-t .w.hl { color: var(--spot); }
.flood { position: absolute; left: 50%; bottom: 0; width: 260vmax; height: 260vmax; margin-left: -130vmax; margin-bottom: -130vmax; border-radius: 50%; background: var(--ink); transform: scale(0); will-change: transform; pointer-events: none; }
html:not(.motion) .flood { display: none; }

/* =====================================================================
   SELECTED WORK: plates
   ===================================================================== */
.work { padding-block: clamp(24px, 6vw, 80px) clamp(120px, 14vw, 200px); position: relative; overflow-x: clip; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; margin-bottom: clamp(48px, 8vw, 120px); }
.sec-title { font: 900 var(--t-3xl)/.84 var(--display); font-stretch: 125%; letter-spacing: -.04em; margin: 0; }
.sec-title .thin { font-weight: 300; font-stretch: 62%; letter-spacing: -.02em; }
.sec-note { max-width: 32ch; color: var(--muted); margin: 0; }
.plates { display: grid; gap: clamp(96px, 14vw, 200px); }
.plate { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; text-decoration: none; color: inherit; position: relative; }
.plate-media { grid-column: 1 / span 8; position: relative; aspect-ratio: 5 / 4; }
.plate:nth-child(even) .plate-media { grid-column: 5 / span 8; grid-row: 1; }
.plate:nth-child(even) .plate-meta { grid-column: 1 / span 4; grid-row: 1; text-align: right; }
.plate:nth-child(even) .plate-tags { justify-content: flex-end; }
.plate-glow { position: absolute; inset: -12%; background: radial-gradient(closest-side, rgb(var(--glow) / .42), transparent); opacity: var(--lit, 0); pointer-events: none; }
.plate-frame { position: absolute; inset: 0; overflow: hidden; background: var(--panel); clip-path: inset(var(--clip, 0%) round 2px); will-change: clip-path; }
.plate-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1)); will-change: transform; transition: filter var(--d-3) var(--ease-ink); }
.plate-frame.contain img { object-fit: contain; padding: 8%; }
.plate-meta { grid-column: 9 / span 4; display: grid; gap: 14px; padding-bottom: 6px; }
.plate-no { color: var(--muted); display: flex; gap: 12px; }
.plate:nth-child(even) .plate-no { justify-content: flex-end; }
.plate-title { font: 800 var(--t-2xl)/.88 var(--display); font-stretch: 75%; letter-spacing: -.02em; margin: 0; text-transform: uppercase; text-wrap: balance; }
.plate-idea { margin: 0; color: var(--muted); max-width: 36ch; }
.plate:nth-child(even) .plate-idea { margin-left: auto; }
.plate-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.plate-tags li, .tag { font: 500 var(--t-xs) var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); padding: 5px 9px; border-radius: 999px; }
.plate-go { display: inline-flex; gap: 10px; align-items: center; color: var(--spot-t); font: 500 var(--t-xs) var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.plate:nth-child(even) .plate-go { justify-content: flex-end; }
.plate-go::after { content: "→"; transition: transform var(--d-2) var(--ease-ink); }
.plate:hover .plate-go::after, .plate:focus-visible .plate-go::after { transform: translateX(6px); }
.fine .plate:hover .plate-frame img { filter: saturate(1.08) contrast(1.03); }
.status { display: inline-block; color: var(--spot-t); }
@media (max-width: 900px) {
  .plate, .plate:nth-child(even) { grid-template-columns: 1fr; }
  .plate-media, .plate:nth-child(even) .plate-media, .plate-meta, .plate:nth-child(even) .plate-meta { grid-column: 1; grid-row: auto; text-align: left; }
  .plate:nth-child(even) .plate-tags, .plate:nth-child(even) .plate-no, .plate:nth-child(even) .plate-go { justify-content: flex-start; }
  .plate:nth-child(even) .plate-idea { margin-left: 0; }
  .sec-head { grid-template-columns: 1fr; }
}

/* =====================================================================
   REAL WORK: a pinned horizontal run on desktop, a swipe row on touch
   ===================================================================== */
.street { position: relative; }
.street-pin { position: relative; }
.street-track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 24px var(--gutter) 64px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.street-track > * { scroll-snap-align: start; flex: none; }
.pinned .street { height: var(--run, 300vh); }
.pinned .street-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.pinned .street-track { overflow: visible; will-change: transform; padding-bottom: 24px; }
.street-intro { width: min(520px, 80vw); display: grid; gap: 18px; align-content: center; }
.street-intro p { color: var(--muted); margin: 0; max-width: 34ch; }
.street-count { color: var(--muted); }
.piece { width: clamp(240px, 28vw, 420px); display: grid; gap: 14px; align-content: start; }
.piece-cap { display: grid; gap: 4px; }
.piece-org { font: 800 var(--t-lg)/1.05 var(--display); font-stretch: 80%; text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
.piece-role { color: var(--muted); }
.piece-sum { color: var(--muted); margin: 0; font-size: var(--t-sm); max-width: 40ch; }
/* one card per organization: the cover is that org's strongest piece */
.org-card { appearance: none; background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.org-card .piece-org { display: block; }
.org-cover { display: block; transition: transform var(--d-2) var(--ease-ink); }
.org-card:hover .org-cover, .org-card:focus-visible .org-cover { transform: translateY(-6px); }
.org-count { color: var(--spot-t); }
.org-go { font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; }
.org-card:hover .org-go { text-decoration: underline; text-underline-offset: 4px; }
.proof .lb-fig { margin: 0; display: grid; gap: 10px; }
.proof .lb-fig figcaption { font-size: var(--t-xs); text-align: center; color: #55544f; letter-spacing: .04em; }
.street-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; height: 1px; background: var(--line); }
.street-progress i { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(var(--p, 0)); }
html:not(.pinned) .street-progress { display: none; }

/* =====================================================================
   MOCKUP FRAMES: how flat work is staged
   ===================================================================== */
.frame { position: relative; perspective: 1400px; }
.frame-in { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform var(--d-3) var(--ease-ink); will-change: transform; }
.frame img { width: 100%; }
/* poster: printed sheet, soft contact shadow */
.frame--poster .frame-in { box-shadow: 0 1px 0 rgb(0 0 0 / .08), 0 22px 40px -18px rgb(0 0 0 / .55), 0 50px 80px -40px rgb(0 0 0 / .45); }
.frame--poster .frame-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgb(255 255 255 / .14), transparent 38%, transparent 70%, rgb(0 0 0 / .12)); pointer-events: none; }
/* phone: drawn device, no stock mockup */
.frame--phone { max-width: 300px; }
.frame--phone .frame-in { padding: 9px; border-radius: 38px; background: #050506; box-shadow: inset 0 0 0 1.5px #2a2a30, 0 30px 60px -24px rgb(0 0 0 / .7); }
.frame--phone img { border-radius: 30px; aspect-ratio: 9 / 19.5; object-fit: cover; }
.frame--phone .frame-in::before { content: ""; position: absolute; top: 17px; left: 50%; width: 30%; height: 22px; margin-left: -15%; border-radius: 999px; background: #050506; z-index: 1; }
/* sheet: press sheet with crop marks and a color bar */
.frame--sheet .frame-in { background: #F6F5F1; padding: clamp(18px, 3vw, 40px); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .45); }
.frame--sheet .frame-in::before { content: ""; position: absolute; inset: 8px; pointer-events: none;
  background:
    linear-gradient(#111, #111) left 0 top 14px / 10px 1px no-repeat, linear-gradient(#111, #111) left 14px top 0 / 1px 10px no-repeat,
    linear-gradient(#111, #111) right 0 top 14px / 10px 1px no-repeat, linear-gradient(#111, #111) right 14px top 0 / 1px 10px no-repeat,
    linear-gradient(#111, #111) left 0 bottom 14px / 10px 1px no-repeat, linear-gradient(#111, #111) left 14px bottom 0 / 1px 10px no-repeat,
    linear-gradient(#111, #111) right 0 bottom 14px / 10px 1px no-repeat, linear-gradient(#111, #111) right 14px bottom 0 / 1px 10px no-repeat; }
.frame--sheet .frame-in::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 84px; height: 6px; margin-left: -42px;
  background: linear-gradient(90deg, var(--cyan) 0 25%, var(--magenta) 0 50%, var(--yellow) 0 75%, #111 0); }
/* card: business card, physical thickness */
.frame--card .frame-in { border-radius: 4px; overflow: hidden; box-shadow: 0 1px 0 #cfcdc7, 0 2px 0 #bdbbb5, 0 30px 50px -22px rgb(0 0 0 / .55); }
/* billboard: wide out-of-home panel on a slim structure */
.frame--billboard .frame-in { padding: 10px; background: #1b1b1f; box-shadow: 0 40px 60px -30px rgb(0 0 0 / .6); }
.frame--billboard .frame-in::after { content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 46px; margin-left: -5px; background: #1b1b1f; }
.frame--billboard { padding-bottom: 46px; }
.frame--billboard img { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); }

/* =====================================================================
   ARCHIVE: the sheet feeds back in over the ink
   ===================================================================== */
.archive { background: var(--paper); position: relative; z-index: 2; padding-block: clamp(96px, 12vw, 160px); transform-origin: 0 0; will-change: transform; box-shadow: 0 -40px 80px rgb(0 0 0 / .35); }

/* =====================================================================
   PROCESS: the press run
   ===================================================================== */
.process { padding-block: clamp(80px, 10vw, 140px); }
.run { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 56px; padding-top: 28px; }
.run::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.run-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--fg); transform-origin: left; transform: scaleX(var(--p, 1)); }
.step { min-width: 0; display: grid; gap: 10px; align-content: start; opacity: var(--o, 1); transition: opacity var(--d-2); }
.step-n { color: var(--muted); }
.step-h { font: 800 clamp(1.375rem, 2.2vw, 2.25rem)/1 var(--display); font-stretch: 68%; text-transform: uppercase; margin: 0; overflow-wrap: anywhere; }
.step p { margin: 0; color: var(--muted); font-size: var(--t-sm); }
.step.kept .step-h { color: var(--spot-t); }
@media (max-width: 900px) { .run { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; } }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { padding-block: clamp(80px, 10vw, 140px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); }
.about-aside { position: sticky; top: calc(var(--bar-h) + 24px); align-self: start; display: grid; gap: 16px; }
.about-h { font: 800 var(--t-2xl)/.92 var(--display); font-stretch: 85%; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.about-body p { margin: 0 0 1.1em; max-width: 62ch; font-size: clamp(1.0625rem, 1.25vw, 1.2rem); }
.about-body p:first-child::first-letter { font: 900 3.2em/.8 var(--display); font-stretch: 125%; float: left; margin: .06em .08em 0 0; color: var(--spot); }
.margin-note { position: relative; padding-left: 36px; color: var(--muted); font-size: var(--t-sm); }
.margin-note::before { content: "¶"; position: absolute; left: 0; top: -4px; font: 700 1.6rem/1 var(--body); color: var(--spot); }
.offclock { margin-top: 56px; border-top: 1px solid var(--line); }
.offclock div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.offclock dt { color: var(--muted); }
.offclock dd { margin: 0; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-aside { position: static; } .offclock div { grid-template-columns: 1fr; gap: 4px; } }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { padding-block: clamp(100px, 14vw, 200px) 40px; position: relative; overflow: clip; }
.contact-h { font: 900 clamp(3.5rem, 14vw, 14rem)/.9 var(--display); font-stretch: 125%; letter-spacing: -.045em; margin: 0 0 48px; }
.contact-h .line { display: block; overflow: hidden; padding-bottom: .04em; }
.contact-h .line > span { display: block; transform: translateY(var(--y, 0%)); will-change: transform; }
.contact-h .dot { color: var(--spot-on-ink); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.contact-grid p { margin: 0; color: var(--muted); max-width: 46ch; }
.contact-lines { display: grid; gap: 12px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-row .mono { color: var(--muted); width: 7rem; }
.contact-val { font: 600 var(--t-lg) var(--body); user-select: all; word-break: break-word; }
.copy { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; font: 500 var(--t-xs) var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.copy:hover { border-color: var(--fg); }
.foot { margin-top: clamp(80px, 10vw, 140px); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   CASE STUDY
   ===================================================================== */
.ink-head { padding: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + 32px) var(--gutter) 0; }
.back { display: inline-flex; gap: 8px; text-decoration: none; color: var(--muted); margin-bottom: 32px; }
.back:hover { color: var(--fg); }
.case-k { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); margin-bottom: 28px; }
.case-title { font: 900 clamp(3.25rem, 13vw, 13rem)/.9 var(--display); font-stretch: 70%; letter-spacing: -.03em; text-transform: uppercase; margin: 0 0 28px; text-wrap: balance; }
.case-idea { font: 500 clamp(1.25rem, 2.2vw, 1.85rem)/1.25 var(--body); max-width: 34ch; margin: 0 0 40px; text-wrap: balance; }
.chap-name { color: var(--muted); margin: 0 0 14px; font: 500 var(--t-xs) var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* résumé */
.cv { padding-block: clamp(32px, 6vw, 80px) 40px; display: grid; gap: 56px; }
.cv-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 5vw, 80px); border-top: 1px solid var(--line); padding-top: 18px; }
.cv-item { display: grid; gap: 4px; margin-bottom: 26px; }
.cv-item h3 { font: 700 var(--t-lg)/1.2 var(--body); margin: 0; }
.cv-item ul { margin: 6px 0 0; padding-left: 1.1em; color: var(--muted); }
.cv-meta { color: var(--muted); }
.skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.skills ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
@media (max-width: 760px) { .cv-row { grid-template-columns: 1fr; } }

/* =====================================================================
   REVEALS (only below the first screen, only with motion allowed)
   ===================================================================== */
.motion .pending { opacity: 0; transform: translateY(28px); filter: blur(6px); }
.motion .revealed { opacity: 1; transform: none; filter: none; transition: opacity var(--d-4) var(--ease-ink) var(--delay, 0ms), transform var(--d-4) var(--ease-ink) var(--delay, 0ms), filter var(--d-3) var(--ease-ink) var(--delay, 0ms); }

/* =====================================================================
   PAGE WIPE (the cursor light lives in proof.css, restored from PROOF)
   ===================================================================== */
.wipe { position: fixed; inset: 0; z-index: 70; background: var(--ink); pointer-events: none; clip-path: inset(100% 0 0 0); }
.wipe.in { clip-path: inset(0 0 0 0); transition: clip-path 520ms var(--ease-press); }
.wipe.out { clip-path: inset(0 0 100% 0); transition: clip-path 620ms var(--ease-ink); }

/* reduced motion: everything rests in its final state, the site stays designed */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .plate-frame { clip-path: none; }
  .plate-frame img, .case-cover img { transform: none; }
}
/* keep each org card inside one screen while the strip is pinned */
.org-cover img { max-height: min(50vh, 500px); width: auto; max-width: 100%; }
.org-cover .frame { width: fit-content; max-width: 100%; }
.org-card .piece-sum { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
