/* =========================================================================
   MICHAELCRUZCREATIVE.COM — DESIGN SYSTEM
   Committed single look: sections alternate ink / paper by design, so there is
   no light/dark swap. Every surface sets its own background and text color.
   ========================================================================= */

/* ---------- 0. FONTS (self-hosted, latin subset: ~200KB total, Archivo preloaded) ---------- */
@font-face { font-family: 'Archivo'; src: url(../fonts/archivo-wdth.woff2) format('woff2-variations'), url(../fonts/archivo-wdth.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url(../fonts/newsreader-italic.woff2) format('woff2-variations'), url(../fonts/newsreader-italic.woff2) format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(../fonts/plex-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url(../fonts/plex-mono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

/* ---------- 1. TOKENS ---------- */
:root {
  color-scheme: light;
  /* color */
  --ink: #0f0e0c;          /* warm black */
  --ink-2: #1c1b18;
  --paper: #eeeae2;        /* warm off-white */
  --paper-2: #e2ddd3;
  --stone: #6c675f;        /* muted text on paper (5.0:1) */
  --ash: #a29c92;          /* muted text on ink (7.2:1) */
  --pool: #6fe0d2;         /* the unexpected accent: swimming-pool aqua. A Summer Friday, basically. */
  --pool-ink: #0b2f2b;     /* text on pool */
  --tide: #0e3a36;         /* Summer Friday chapter: the pool at dusk */
  --line-paper: rgba(15, 14, 12, .16);
  --line-ink: rgba(238, 234, 226, .18);

  /* type */
  --f-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --t-mega: clamp(4.2rem, 19vw, 22rem);
  --t-huge: clamp(3rem, 11vw, 12rem);
  --t-xl: clamp(2.4rem, 6.6vw, 7.25rem);
  --t-l: clamp(1.75rem, 3.8vw, 3.75rem);
  --t-m: clamp(1.25rem, 1.9vw, 1.65rem);
  --t-body: clamp(1.0625rem, 1.1vw, 1.1875rem);
  --t-s: .9375rem;
  --t-xs: .75rem;

  /* space + layout */
  --gutter: clamp(16px, 3.2vw, 52px);
  --sec: clamp(88px, 14vw, 220px);   /* vertical rhythm between chapters */
  --measure: 64ch;
  --hud-h: 72px;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --dur: .9s;
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: .95; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mono { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--pool); outline-offset: 4px; border-radius: 2px; }
.surface-paper :focus-visible { outline-color: var(--ink); }
::selection { background: var(--pool); color: var(--ink); }

.skip { position: fixed; left: var(--gutter); top: -100px; z-index: 200; background: var(--pool); color: var(--ink); padding: 12px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

/* surfaces */
.surface-paper { background: var(--paper); color: var(--ink); }
.surface-ink { background: var(--ink); color: var(--paper); }
.surface-pool { background: var(--pool); color: var(--pool-ink); }

/* shared headings */
.h-page { font-size: var(--t-xl); font-weight: 800; letter-spacing: -.035em; font-variation-settings: 'wdth' 80; max-width: 16ch; }
.h-section { font-size: var(--t-l); font-weight: 750; letter-spacing: -.03em; font-variation-settings: 'wdth' 88; max-width: 18ch; }
.page-dek { font-size: var(--t-m); line-height: 1.4; max-width: 44ch; margin-top: 1.25em; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4em; margin-bottom: clamp(28px, 5vw, 64px); color: var(--stone); }
.crumbs li + li::before { content: '/'; margin-right: .4em; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.surface-ink .crumbs ol, [data-surface="tide"] .crumbs ol { color: var(--ash); }


/* ---------- 3. HEADER (sticky, always one tap from anywhere) ---------- */
.hud {
  position: sticky; top: 0; z-index: 90;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 14px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
html.scrolled .hud { border-bottom-color: var(--line-paper); }
.hud a { text-decoration: none; }
.hud-id { display: grid; font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; }
.hud-name { font-weight: 500; }
.hud-loc { color: var(--stone); }
.hud-nav ul { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.hud-nav a { font-weight: 600; font-size: .95rem; padding-block: 6px; border-bottom: 2px solid transparent; }
.hud-nav a:hover, .hud-nav a[aria-current="page"] { border-bottom-color: var(--pool); }
.hud-menu { display: none; font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; padding: 10px 0 10px 16px; }
.hero { margin-top: calc(var(--hud-h) * -1); }

/* mobile menu: plain list, big close button */
.menu { position: fixed; inset: 0; z-index: 150; background: var(--ink); color: var(--paper);
  display: none; flex-direction: column; gap: 32px; padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) 32px; }
.menu:target, .menu.is-open { display: flex; }
.menu a { text-decoration: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-close { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; padding: 10px 0 10px 16px; }
.menu-list { display: grid; gap: 6px; }
.menu-list a { font-size: clamp(2.6rem, 13vw, 4rem); font-weight: 800; letter-spacing: -.035em; font-variation-settings: 'wdth' 70; line-height: 1; }
.menu-foot { margin-top: auto; color: var(--ash); }

.to-top { position: fixed; right: var(--gutter); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 80;
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 99px;
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .3s, transform .3s; }
html.scrolled-far .to-top { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- 5. PORTRAIT (living signature) ---------- */
.portrait { display: block; position: relative; aspect-ratio: 4 / 5; }
.portrait img, .portrait video { width: 100%; height: 100%; object-fit: contain; object-position: bottom; user-select: none; -webkit-user-drag: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); }
.portrait[data-current="started"] img, .portrait[data-current="motorcycles"] img { -webkit-mask-image: none; mask-image: none; object-fit: cover; border: 8px solid var(--paper); transform: rotate(-3deg); box-shadow: 0 20px 50px rgba(0,0,0,.35); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-rows: auto 1fr;
  padding: calc(var(--hud-h) + 6vh) var(--gutter) 64px; overflow: hidden;
  --p: 0; /* scroll progress 0→1, set by JS */
}
.hero-h { display: flex; flex-direction: column; justify-content: center; font-weight: 400; line-height: .82; }
.hh-make {
  font-size: var(--t-l); font-weight: 500; letter-spacing: -.02em; font-variation-settings: 'wdth' 100;
  margin-left: 6vw; margin-bottom: .1em; position: relative; z-index: 3;
}
.hh-comp-wrap { position: relative; display: block; }
.hh-comp {
  position: relative; z-index: 2; display: block; width: max-content; white-space: nowrap;
  font-size: 22.5vw; /* JS fits this exactly to the column */
  font-weight: 850; text-transform: lowercase;
  font-variation-settings: 'wdth' 62;
  letter-spacing: calc(-.045em + var(--p) * .12em);
  opacity: calc(1 - var(--p) * .55);
  line-height: .78;
}
.portrait--hero {
  position: absolute; z-index: 1; left: 57%; bottom: 26%;
  width: clamp(170px, 24vw, 420px);
  transform: translate3d(calc(var(--cx, 0) * 14px), calc(var(--cy, 0) * 10px + var(--p) * -18vh), 0);
}
.hh-last { display: flex; align-items: baseline; justify-content: flex-end; gap: .25em; flex-wrap: wrap; margin-top: .12em; position: relative; z-index: 3; }
.hh-things { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: var(--t-l); letter-spacing: -.01em; }
.hh-int {
  display: inline-block; white-space: nowrap; font-size: 12vw;
  font-weight: 250; letter-spacing: -.04em; font-variation-settings: 'wdth' 125;
  line-height: .9;
}
.hero-roles { color: var(--stone); max-width: 30ch; }
.hero-eyebrow { color: var(--stone); max-width: 100ch; margin-bottom: 24px; }
.section-eyebrow { margin-bottom: 20px; }
.hero-cue { position: absolute; right: var(--gutter); bottom: 64px; display: inline-flex; gap: .6em; align-items: center; text-decoration: none; }
.hero-cue-arrow { display: inline-block; font-family: var(--f-sans); font-size: 1.4em; }
.hero-cue:hover span:first-child { text-decoration: underline; }
.hero-roles, .hero-cue { align-self: end; }


/* ---------- 7. BELOW THE HERO: calm, consistent, easy to scan ---------- */
main > section, main > article, main > nav, main > aside { padding-inline: var(--gutter); }
.intro { padding-block: clamp(80px, 12vw, 160px); max-width: 1200px; }
.intro-lede { font-size: var(--t-l); font-weight: 650; line-height: 1.08; letter-spacing: -.03em; font-variation-settings: 'wdth' 88; max-width: 22ch; }
.intro-ind { margin-top: 1.4em; font-size: var(--t-m); color: var(--stone); max-width: 52ch; }
.intro-ind em { font-family: var(--f-serif); font-style: italic; color: var(--ink); }
.intro-sf { margin-top: 1.2em; font-size: var(--t-m); max-width: 52ch; }
.intro-sf a { font-weight: 700; text-decoration-color: var(--pool); text-decoration-thickness: 3px; }

.block { padding-block: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line-paper); }
.block-flush { border-top: 0; padding-top: 0; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.block-head a { text-decoration: none; }
.block-head a:hover { text-decoration: underline; }
.h-block { font-size: var(--t-l); font-weight: 780; letter-spacing: -.035em; font-variation-settings: 'wdth' 82; line-height: 1; max-width: 20ch; }
.btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; padding: 14px 20px; border-radius: 99px; transition: background .2s, color .2s; }
.btn:hover { background: var(--pool); color: var(--ink); }

/* work cards: one shape, two columns, no surprises */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) var(--gutter); }
.card a { display: grid; gap: 8px; text-decoration: none; }
.card-img { display: block; overflow: hidden; background: var(--paper-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card a:hover .card-img img { transform: scale(1.03); }
.card-meta { color: var(--stone); margin-top: 8px; }
.card-client { font-size: var(--t-m); font-weight: 780; letter-spacing: -.02em; line-height: 1.1; }
.card-line { color: var(--stone); max-width: 46ch; }
.card a:hover .card-client { text-decoration: underline; text-decoration-color: var(--pool); text-decoration-thickness: 3px; }
.cards-s { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* text rows (thinking) */
.rows { border-top: 1px solid var(--line-paper); }
.rows a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 6px 32px; align-items: baseline; padding-block: 20px; border-bottom: 1px solid var(--line-paper); text-decoration: none; }
.row-title { font-size: var(--t-m); font-weight: 720; letter-spacing: -.015em; line-height: 1.2; }
.row-dek { color: var(--stone); font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; }
.row-dek .mono { font-style: normal; }
.rows a:hover .row-title { text-decoration: underline; text-decoration-color: var(--pool); text-decoration-thickness: 3px; }
.rows-s a { grid-template-columns: 1fr; padding-block: 14px; }

/* personal */
.block-me { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gutter); align-items: center; }
.me-text { display: grid; gap: 22px; justify-items: start; }
.me-text a { text-decoration: none; }
.me-list { font-size: var(--t-m); color: var(--stone); }
.me-list span { color: var(--ink); font-weight: 650; }
.me-kid { margin: 0; justify-self: center; max-width: 300px; transform: rotate(-3deg); background: #fff; padding: 10px 10px 14px; box-shadow: 0 18px 40px rgba(15,14,12,.18); }
.me-kid img { width: 100%; height: auto; }
.me-kid figcaption { margin-top: 10px; color: var(--stone); }

/* Summer Friday */
.sf-block { background: var(--tide); color: var(--paper); padding-block: clamp(72px, 10vw, 140px); display: grid; gap: 24px; justify-items: start; }
.sf-block .crumbs ol { color: #9fc9c3; }
.sf-pre { font-size: var(--t-m); font-weight: 600; }
.sf-h { font-size: clamp(3.4rem, 13vw, 13rem); font-weight: 300; letter-spacing: -.05em; line-height: .85; font-variation-settings: 'wdth' 125; color: var(--pool); }
.sf-photo { margin: 0; width: 100%; overflow: hidden; }
.sf-photo img { width: 100%; object-fit: cover; filter: saturate(.6); }
.sf-body { font-size: var(--t-m); line-height: 1.45; max-width: 52ch; }
.sf-block .btn { background: var(--pool); color: var(--ink); }
.sf-block .btn:hover { background: var(--paper); }
.sf-page { padding-top: clamp(48px, 6vw, 80px); }
.sf-links { width: 100%; border-top: 1px solid var(--line-ink); margin-top: 16px; }
.sf-links a { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; padding-block: 20px; border-bottom: 1px solid var(--line-ink); text-decoration: none; }
.sf-links-t { font-size: var(--t-m); font-weight: 700; }
.sf-links-d { color: #b8d9d4; }
.sf-links a:hover .sf-links-t { color: var(--pool); }
.sf-partners { width: 100%; margin-top: 24px; }
.foot-partners { line-height: 1.8; }
.foot-partners a { white-space: nowrap; }

/* contact + footer */
.contact { padding-block: clamp(72px, 10vw, 140px); }
.contact-h { font-size: clamp(2.8rem, 9vw, 8.5rem); font-weight: 800; letter-spacing: -.045em; line-height: .9; font-variation-settings: 'wdth' 72; text-transform: uppercase; max-width: 11ch; }
.contact-accent { color: var(--pool); font-variation-settings: 'wdth' 110; font-weight: 300; }
.contact-sub { font-family: var(--f-serif); font-style: italic; font-size: var(--t-m); color: var(--ash); margin-top: 1em; max-width: 40ch; }
.contact-email { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 40px; }
.contact-mail { font-size: clamp(1.25rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.02em; text-decoration: none; border-bottom: 2px solid var(--pool); overflow-wrap: anywhere; }
.btn-copy { border: 1px solid var(--line-ink); padding: 10px 14px; border-radius: 99px; color: var(--ash); }
.btn-copy:hover { color: var(--paper); border-color: var(--paper); }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; font-size: var(--t-m); }
.contact-links a { text-decoration: none; }
.contact-links a:hover { color: var(--pool); }
.foot { padding: 36px var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 72px); border-top: 1px solid var(--line-ink); display: grid; gap: 16px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--pool); }
.foot-note, .foot-legal { color: var(--ash); }

/* ---------- 8. INNER PAGES ---------- */
.page-head { padding-block: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 64px); display: grid; gap: 18px; justify-items: start; }
.page-head .page-dek { margin-top: 0; }
.back { text-decoration: none; padding: 8px 14px; border: 1px solid var(--line-paper); border-radius: 99px; }
.back:hover { border-color: var(--ink); }
.cs-client, .art-topic { color: var(--stone); }
.cs-hero { margin: 0; padding-inline: var(--gutter); }
.cs-hero img { width: 100%; max-height: 80svh; object-fit: cover; }
.cs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px var(--gutter); padding: clamp(48px, 7vw, 96px) var(--gutter); }
.cs-facts { margin: 0; display: grid; gap: 18px; align-content: start; }
.cs-facts dt { color: var(--stone); margin-bottom: 4px; }
.cs-facts dd { margin: 0; font-weight: 600; }
.cs-text { display: grid; gap: 14px; max-width: var(--measure); }
.cs-h { font-size: var(--t-xs); font-family: var(--f-mono); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--stone); margin-top: 18px; }
.cs-text .cs-h:first-child { margin-top: 0; }
.cs-idea { font-family: var(--f-serif); font-style: italic; font-size: var(--t-m); line-height: 1.35; }
.cs-impact { padding-block: clamp(40px, 6vw, 80px); background: var(--ink); color: var(--paper); }
.cs-impact .cs-h { color: var(--ash); margin: 0 0 24px; }
.impact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px var(--gutter); }
.impact li { display: grid; gap: 6px; }
.impact strong { font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1; letter-spacing: -.04em; font-variation-settings: 'wdth' 75; color: var(--pool); font-variant-numeric: tabular-nums; }
.impact span { color: var(--ash); max-width: 30ch; }
.cs-work { padding-block: clamp(48px, 7vw, 96px) 0; }
.cs-work .cs-h { margin: 0 0 24px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.gallery li { background: var(--paper-2); display: grid; place-items: center; }
.gallery img { width: 100%; height: auto; aspect-ratio: auto !important; }
.cs-foot { display: grid; gap: 40px; justify-items: start; padding-block: clamp(48px, 7vw, 96px); }
.cs-foot h2 { color: var(--stone); font-weight: 400; margin-bottom: 12px; }
.cs-foot > div { width: 100%; }
.pager { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding-block: 32px 64px; border-top: 1px solid var(--line-paper); }
.pager-next { display: grid; gap: 6px; text-align: right; text-decoration: none; margin-left: auto; }
.pager-next .mono { color: var(--stone); }
.pager-name { font-size: var(--t-l); font-weight: 780; letter-spacing: -.035em; font-variation-settings: 'wdth' 80; line-height: 1; }
.pager-next:hover .pager-name { color: var(--stone); }

.art-dek { font-family: var(--f-serif); font-style: italic; font-size: var(--t-m); line-height: 1.3; max-width: 36ch; }
.art-by { color: var(--stone); }
.art-body { padding-bottom: clamp(48px, 7vw, 96px); display: grid; gap: 40px; max-width: 760px; }
.answer { background: var(--ink); color: var(--paper); padding: clamp(22px, 3vw, 36px); display: grid; gap: 10px; }
.answer h2 { color: var(--pool); font-weight: 400; }
.answer p { font-size: 1.15rem; line-height: 1.5; }
.prose { max-width: var(--measure); display: grid; gap: 1.1em; }
.prose h2 { font-size: var(--t-m); font-weight: 750; line-height: 1.2; letter-spacing: -.01em; margin-top: 1em; }
.prose a { text-decoration-color: var(--pool); text-decoration-thickness: 3px; text-underline-offset: .15em; }
.art-sf { border-top: 1px solid var(--line-paper); padding-top: 1.2em; color: var(--stone); }

.about-head { position: relative; padding-block: clamp(32px, 5vw, 64px); overflow: hidden; }
.about-h { font-size: clamp(4rem, 17vw, 18rem); font-weight: 900; letter-spacing: -.06em; line-height: .8; text-transform: uppercase; position: relative; }
.about-first { display: block; font-variation-settings: 'wdth' 62; position: relative; z-index: 1; }
.about-last { display: block; font-variation-settings: 'wdth' 125; font-weight: 250; text-align: right; position: relative; z-index: 3; }
.portrait--about { position: absolute; z-index: 2; right: 14%; top: 24px; width: clamp(170px, 22vw, 380px); }
.about-lede { font-size: var(--t-m); font-weight: 600; line-height: 1.3; max-width: 40ch; margin-top: 32px; position: relative; z-index: 3; }
.facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 var(--gutter); margin: 0; border-top: 1px solid var(--line-paper); }
.facts-list > div { padding-block: 18px; border-bottom: 1px solid var(--line-paper); }
.facts-list dt { font-weight: 750; margin-bottom: 4px; }
.facts-list dd { margin: 0; color: #3b3833; }
.versions { display: grid; grid-template-columns: 1fr 1fr; gap: 48px var(--gutter); }
.versions h3 { color: var(--stone); font-weight: 400; margin: 28px 0 8px; }
.v-lede { font-size: var(--t-m); margin-top: 16px; }
.v-roles li { border-bottom: 1px solid var(--line-paper); padding-block: 8px; }
.v-list { margin: 16px 0 32px; }
.v-list li { font-size: clamp(1.5rem, 2.6vw, 2.4rem); font-weight: 780; letter-spacing: -.03em; line-height: 1.12; font-variation-settings: 'wdth' 80; }
.nf { min-height: 60svh; }

/* ---------- 9. MOTION: only the hero moves ---------- */
/* hero load sequence */
.motion-ok [data-load] { animation: loadUp 1.2s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 1s); }
.motion-ok [data-load="1"] { --d: .1; }
.motion-ok [data-load="2"] { --d: .2; animation-name: loadComp; animation-duration: 1.6s; }
.motion-ok [data-load="3"] { --d: .55; animation-name: loadWide; animation-duration: 1.8s; }
.motion-ok [data-load="4"] { --d: 1.1; }
.motion-ok .portrait--hero img, .motion-ok .portrait--hero video { animation: emerge 1.6s var(--ease-out) .6s both; }
@keyframes loadUp { from { opacity: 0; transform: translate3d(0, 30px, 0); } }
@keyframes loadComp { from { opacity: 0; letter-spacing: -.12em; transform: scaleY(.6); transform-origin: bottom; } }
@keyframes loadWide { from { opacity: 0; font-variation-settings: 'wdth' 62; } }
@keyframes emerge { from { transform: translate3d(0, 55%, 0); } }
.motion-ok .hero-cue-arrow { animation: nudge 2.4s var(--ease-io) 2s infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(6px); } }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hh-comp { letter-spacing: -.045em; opacity: 1; }
  .portrait--hero { transform: none; }
}

/* ---------- 10. PHONES ---------- */
@media (max-width: 900px) {
  :root { --hud-h: 64px; }
  .hud-nav { display: none; }
  .hud-menu { display: block; }
  .hero { padding-top: calc(var(--hud-h) + 4vh); min-height: 90svh; }
  .hh-make { margin-left: 0; }
  .portrait--hero { left: auto; right: 0; bottom: 70%; width: 46vw; }
  .hh-comp { line-height: .8; }
  .hh-last { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 0; }
  .hh-things { margin-left: 18vw; }
  .hero-roles { max-width: 22ch; }
  .hero-cue { position: static; margin-top: 18px; }
  .cards, .cards-s, .gallery { grid-template-columns: 1fr; }
  .rows a { grid-template-columns: 1fr; }
  .block-me, .versions, .cs-grid { grid-template-columns: 1fr; }
  .me-kid { justify-self: start; max-width: 220px; }
  .sf-links a { grid-template-columns: 1fr; }
  .portrait--about { right: 2%; width: 40vw; }
  .pager-next { text-align: left; margin-left: 0; }
}
/* five projects: lead with one wide card, then a tidy 2×2 */
@media (min-width: 901px) {
  .cards:not(.cards-s) > .card:first-child { grid-column: 1 / -1; }
  .cards:not(.cards-s) > .card:first-child .card-img img { aspect-ratio: 21 / 9 !important; }
}

/* =========================================================================
   11. PERSONALITY LAYER (v5): the editorial moments come back, the chaos doesn't.
   No scroll-jacking, no page wipes; header, Top button and back links stay.
   ========================================================================= */
.surface-ink { background: var(--ink); color: var(--paper); }
.surface-ink .h-block { color: var(--paper); }

/* intro */
.intro.surface-ink { padding-block: var(--sec); max-width: none; }
.intro .intro-lede { font-size: var(--t-xl); font-weight: 650; line-height: 1.02; letter-spacing: -.035em; font-variation-settings: 'wdth' 84; max-width: 17ch; }
.portrait--inline { display: inline-block; width: .9em; height: .95em; aspect-ratio: auto; vertical-align: -.12em; background: var(--pool); border-radius: .14em; overflow: hidden; margin-inline: .04em; }
.portrait--inline img { object-position: 50% 0; transform: scale(1.55); transform-origin: 50% 8%; -webkit-mask-image: none; mask-image: none; }
.industries { margin-top: clamp(64px, 10vw, 140px); display: grid; }
.industries li { font-size: var(--t-huge); font-weight: 800; line-height: .9; letter-spacing: -.04em; text-transform: uppercase; font-variation-settings: 'wdth' 62; border-top: 1px solid var(--line-ink); padding-top: .06em; transition: font-variation-settings 1s var(--ease-out), color .3s; }
.industries li:nth-child(even) { text-align: right; }
.industries li:hover { font-variation-settings: 'wdth' 125; color: var(--pool); }
.industries-coda { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: var(--t-l); line-height: 1.1; margin-top: .6em; max-width: 22ch; margin-left: auto; text-align: right; color: var(--ash); }
.intro-sf2 { font-size: var(--t-l); line-height: 1.1; letter-spacing: -.02em; max-width: 24ch; margin-top: clamp(80px, 12vw, 160px); }
.sf-link { color: var(--pool); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 3px no-repeat; transition: background-size .5s var(--ease-out), color .3s; }
.sf-link:hover { background-size: 100% 100%; color: var(--ink); }

/* marquee heading */
.marquee-h { padding-block: calc(var(--sec) * .6) calc(var(--sec) * .35); margin-inline: calc(var(--gutter) * -1); }
.marquee { display: block; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: .35em; align-items: center; animation: marquee 34s linear infinite; }
.marquee span { font-size: var(--t-huge); font-weight: 800; letter-spacing: -.04em; text-transform: uppercase; font-variation-settings: 'wdth' 70; line-height: 1; }
.marquee .marquee-dot { font-size: calc(var(--t-huge) * .5); color: var(--pool); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* work features: alternating, large, one rhythm */
.work-x { padding-bottom: var(--sec); }
.wx { display: grid; gap: clamp(72px, 10vw, 150px); }
.wf a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gutter); align-items: center; text-decoration: none; }
.wf-img { grid-column: 1 / span 7; overflow: hidden; background: var(--paper-2); }
.wf-img > span { display: block; will-change: transform; }
.wf-img img { width: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.wf a:hover .wf-img img { transform: scale(1.04); }
.wf-text { grid-column: 9 / -1; display: grid; gap: 12px; }
.wf-r .wf-img { grid-column: 6 / -1; grid-row: 1; }
.wf-r .wf-text { grid-column: 1 / span 4; grid-row: 1; }
.wf-n { color: var(--stone); }
.wf-client { font-size: clamp(2.6rem, 6vw, 6.5rem); font-weight: 850; letter-spacing: -.045em; line-height: .88; text-transform: uppercase; font-variation-settings: 'wdth' 64; transition: font-variation-settings .9s var(--ease-out), color .3s; overflow-wrap: anywhere; }
.wf a:hover .wf-client { font-variation-settings: 'wdth' 110; }
.wf-title { font-family: var(--f-serif); font-style: italic; font-size: var(--t-m); line-height: 1.25; }
.wf-line { color: var(--stone); }
.wf-go { margin-top: 6px; }
.wf a:hover .wf-go { color: var(--ink); text-decoration: underline; text-decoration-color: var(--pool); text-decoration-thickness: 3px; }
.wf:first-child a { grid-template-columns: 1fr; }
.wf:first-child .wf-img { grid-column: 1; margin-inline: calc(var(--gutter) * -1); }
.wf:first-child .wf-img img { aspect-ratio: 21 / 9 !important; }
.wf:first-child .wf-text { grid-column: 1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 12px var(--gutter); }
.wf:first-child .wf-client { grid-column: 1 / -1; font-size: var(--t-huge); }
.wx-all { padding-top: var(--sec); }
.link-big { font-size: var(--t-l); font-weight: 700; letter-spacing: -.03em; text-decoration: none; font-variation-settings: 'wdth' 90; }
.link-big span { display: inline-block; transition: transform .5s var(--ease-out); }
.link-big:hover span { transform: translateX(.3em); }

/* thinking covers: native swipe, arrows on desktop, no scroll-jacking */
.covers-sec { padding-block: calc(var(--sec) * .7); border-top: 1px solid var(--line-paper); }
.covers-nav { display: flex; align-items: center; gap: 10px; }
.covers-nav a { text-decoration: none; margin-left: 10px; }
.covers-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); font-size: 1.1rem; }
.covers-btn:hover { background: var(--ink); color: var(--paper); }
.covers { display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.covers::-webkit-scrollbar { display: none; }
.cover { flex: 0 0 clamp(260px, 28vw, 420px); scroll-snap-align: start; }
.cover a { display: grid; grid-template-rows: auto 1fr auto; gap: 24px; aspect-ratio: 3 / 4; padding: clamp(18px, 2vw, 28px); text-decoration: none; transition: transform .5s var(--ease-out); }
.cover a:hover { transform: translateY(-8px) rotate(-.6deg); }
.cover-0 a { background: var(--ink); color: var(--paper); }
.cover-1 a { background: var(--paper-2); color: var(--ink); }
.cover-2 a { background: var(--pool); color: var(--pool-ink); }
.cover-3 a { background: var(--paper); color: var(--ink); outline: 1px solid var(--ink); outline-offset: -1px; }
.cover-title { font-size: clamp(1.7rem, 2.6vw, 2.7rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; font-variation-settings: 'wdth' 76; align-self: center; text-wrap: balance; }
.cover-dek { font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; line-height: 1.3; }

/* interests: words change Michael */
.interests { padding-block: var(--sec); }
.int-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gutter); margin-top: 48px; align-items: start; }
.int-list li { border-top: 1px solid var(--line-ink); display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 24px; }
.int-list li:last-child { border-bottom: 1px solid var(--line-ink); }
.int-item { text-align: left; padding-block: .06em; }
.int-word { display: block; font-size: clamp(2.4rem, 6.4vw, 7rem); font-weight: 800; line-height: .95; letter-spacing: -.045em; text-transform: uppercase; font-variation-settings: 'wdth' 62; transition: font-variation-settings .7s var(--ease-out), color .3s; }
.int-item:hover .int-word, .int-item:focus-visible .int-word, .int-item[aria-pressed="true"] .int-word { font-variation-settings: 'wdth' 125; color: var(--pool); }
.int-cap { color: var(--ash); max-width: 28ch; text-align: right; }
.int-thumb { grid-column: 1 / -1; width: 120px; height: auto; transform: rotate(-4deg); margin: 4px 0 18px 8px; border: 6px solid var(--paper); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.int-stage { position: sticky; top: 14vh; }
.portrait--interests { width: 100%; }
.portrait img { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); }
.portrait[data-current="motorcycles"] img, .portrait[data-current="started"] img { -webkit-mask-image: none; mask-image: none; object-fit: cover; border: 8px solid var(--paper); transform: rotate(-3deg); }

/* Summer Friday chapter: the page tips into the agency's pool */
.sf-chapter { padding-block: var(--sec); background: linear-gradient(180deg, var(--ink) 0%, var(--tide) 36%, #135049 100%); color: var(--paper); overflow: hidden; }
.sf-pre2 { font-size: var(--t-xl); font-weight: 750; letter-spacing: -.035em; line-height: .98; font-variation-settings: 'wdth' 80; max-width: 13ch; text-transform: uppercase; }
.sf-h2 { position: relative; z-index: 2; font-size: var(--t-mega); font-weight: 300; letter-spacing: -.06em; line-height: .85; font-variation-settings: 'wdth' 125; color: var(--pool); margin-top: .25em; white-space: nowrap; }
.sf-photo2 { position: relative; z-index: 1; margin: clamp(-60px, -5vw, -24px) calc(var(--gutter) * -1) 0; overflow: hidden; }
.sf-photo2 > div { margin-block: -5%; will-change: transform; }
.sf-photo2 img { width: 100%; object-fit: cover; filter: saturate(.55) contrast(1.05); }
.sf-photo2 figcaption { position: absolute; left: var(--gutter); bottom: 16px; color: var(--paper); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.sf-body2 { display: block; max-width: 46ch; margin: clamp(40px, 6vw, 80px) 0 0 auto; font-size: var(--t-m); line-height: 1.45; }
.sf-cta-big { display: inline-flex; gap: .4em; margin-top: clamp(40px, 6vw, 80px); font-size: var(--t-l); font-weight: 700; letter-spacing: -.03em; text-decoration: none; color: var(--ink); background: var(--pool); padding: .35em .6em .4em; transition: gap .5s var(--ease-out), background .3s; }
.sf-cta-big:hover { gap: .9em; background: var(--paper); }

/* contact: big again */
.contact { padding-block: var(--sec) calc(var(--sec) * .7); }
.contact-h { font-size: var(--t-huge); max-width: 9ch; line-height: .86; }
.contact-accent { font-variation-settings: 'wdth' 125; }

/* gentle reveals (visible by default; JS only hides what is still below the fold) */
.motion-ok [data-reveal] { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), clip-path 1.1s var(--ease-out); }
.motion-ok [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 36px, 0); }
.motion-ok [data-reveal="rise"]:not(.is-in) { opacity: 1; clip-path: inset(100% 0 0 0); transform: translate3d(0, 20%, 0); }
.motion-ok [data-reveal="rise"].is-in { clip-path: inset(-10% 0 -10% 0); }
.motion-ok [data-reveal^="from"] { transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), font-variation-settings 1.4s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.motion-ok [data-reveal="from-left"]:not(.is-in) { transform: translate3d(-10vw, 0, 0); font-variation-settings: 'wdth' 125; }
.motion-ok [data-reveal="from-right"]:not(.is-in) { transform: translate3d(10vw, 0, 0); font-variation-settings: 'wdth' 125; }
.motion-ok [data-reveal="words"]:not(.is-in) { opacity: 1; transform: none; }
.motion-ok [data-reveal="words"] .w { display: inline-block; transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--wi) * 26ms); }
.motion-ok [data-reveal="words"]:not(.is-in) .w { opacity: 0; transform: translate3d(0, .5em, 0); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* case study: a little more drama in the header */
.cs .page-head .h-page { font-size: var(--t-xl); }
.cs-client { font-size: .8rem; }

@media (max-width: 900px) {
  .intro .intro-lede { font-size: clamp(2.1rem, 9vw, 3.4rem); }
  .industries li { font-size: clamp(2.8rem, 14vw, 5rem); }
  .wf a, .wf-r a { grid-template-columns: 1fr; }
  .wf-img, .wf-text, .wf-r .wf-img, .wf-r .wf-text { grid-column: 1 !important; grid-row: auto !important; }
  .wf-r .wf-img { width: 86%; margin-left: auto; }
  .wf:first-child .wf-text { grid-template-columns: 1fr; }
  .covers-btn { display: none; }
  .cover { flex-basis: 78vw; }
  .int-grid { grid-template-columns: 1fr; }
  .int-list li { grid-template-columns: 1fr; }
  .int-cap { text-align: left; padding-bottom: 10px; }
  .int-stage { position: fixed; top: auto; bottom: 70px; right: 12px; width: 30vw; z-index: 30; pointer-events: none; opacity: 0; transform: translateY(30px); transition: opacity .4s, transform .6s var(--ease-out); }
  .interests.in-view .int-stage { opacity: 1; transform: none; }
  .portrait--interests { background: var(--pool); border-radius: 50% 50% 8px 8px; }
  .sf-h2 { font-size: 19vw; white-space: normal; }
  .sf-body2 { margin-left: 0; }
  .contact-h { font-size: clamp(2.8rem, 13vw, 5rem); }
}
/* header follows the section underneath it */
html.hud-dark .hud { background: color-mix(in srgb, var(--ink) 90%, transparent); color: var(--paper); }
html.hud-dark .hud-loc { color: var(--ash); }
html.hud-dark.scrolled .hud { border-bottom-color: var(--line-ink); }
main > article.cs, main > article.art { padding-inline: 0; }
.cs > *, .art > * { padding-inline: var(--gutter); }

/* =========================================================================
   12. v6 — tighter intro, static work heading, custom project posters,
   simpler interests and Summer Friday.
   ========================================================================= */
/* industries: one line instead of five screens */
.ind-line { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .35em; font-size: clamp(1.6rem, 3.6vw, 3.4rem); line-height: 1.05; }
.ind { font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; font-variation-settings: 'wdth' 66; transition: font-variation-settings .7s var(--ease-out), color .3s; }
.ind:hover { font-variation-settings: 'wdth' 118; color: var(--pool); }
.ind-sep { color: var(--pool); font-weight: 300; }
.ind-coda { flex-basis: 100%; font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: .55em; color: var(--ash); margin-top: .4em; }
.intro-sf2 { margin-top: clamp(48px, 7vw, 96px); }
.intro.surface-ink { padding-block: clamp(80px, 11vw, 160px); }

/* static work heading */
.work-h { font-size: var(--t-huge); font-weight: 800; letter-spacing: -.045em; line-height: .9; text-transform: uppercase; font-variation-settings: 'wdth' 66; padding-block: calc(var(--sec) * .6) calc(var(--sec) * .35); max-width: 12ch; }

/* posters */
.poster { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; }
.wf:first-child .poster, .cards:not(.cards-s) > .card:first-child .poster { aspect-ratio: 21 / 9; }
.poster img { position: absolute; display: block; height: auto; transition: transform 1s var(--ease-out); }
.pz-type { position: absolute; left: 6%; top: 8%; bottom: 8%; width: 46%; display: flex; flex-direction: column; justify-content: space-between; z-index: 3; }
.pz-kicker { font-family: var(--f-mono); font-size: clamp(.6rem, .9vw, .8rem); letter-spacing: .12em; text-transform: uppercase; }
.pz-big { font-size: clamp(2rem, 5.2vw, 5.6rem); font-weight: 850; line-height: .88; letter-spacing: -.045em; font-variation-settings: 'wdth' 70; }
.pz-fact { font-size: clamp(.8rem, 1.2vw, 1.05rem); line-height: 1.3; max-width: 26ch; }
.pz-fact b { font-weight: 800; }
a:hover .poster img { transform: translateY(-2%) rotate(var(--r, 0deg)); }

/* National Grid: Project C blue, green arc, social posts fanned out */
.pz-national-grid { background: #0b1f8f; color: #fff; }
.pz-national-grid .pz-big { color: #fff; font-size: clamp(2.6rem, 7.5vw, 8rem); }
.pz-national-grid .pz-fact b, .pz-national-grid .pz-kicker { color: #7fd35a; }
.pz-national-grid .pz-arc { position: absolute; right: -2%; bottom: -6%; width: 64%; z-index: 1; }
.pz-national-grid .pz-a { width: 17%; right: 40%; top: 18%; --r: -6deg; transform: rotate(-6deg); z-index: 2; box-shadow: 0 16px 40px rgba(0,0,30,.4); }
.pz-national-grid .pz-b { width: 17%; right: 22%; top: 8%; --r: 3deg; transform: rotate(3deg); z-index: 2; box-shadow: 0 16px 40px rgba(0,0,30,.4); }
.pz-national-grid .pz-c { width: 16%; right: 4%; top: 22%; --r: 7deg; transform: rotate(7deg); z-index: 2; box-shadow: 0 16px 40px rgba(0,0,30,.4); }
.pz-national-grid .pz-d { width: 13%; right: 31%; top: 38%; z-index: 3; filter: drop-shadow(0 20px 30px rgba(0,0,30,.5)); }

/* E*TRADE: deep crypto-series purple, stacked screens, green numerals */
.pz-etrade { background: radial-gradient(120% 90% at 85% 20%, #3a2a8c 0%, #140d36 60%); color: #fff; }
.pz-etrade .pz-big { color: #6ee7a8; }
.pz-etrade .pz-a { width: 44%; right: -6%; top: 6%; opacity: .55; --r: 0deg; }
.pz-etrade .pz-b { width: 46%; right: 8%; top: 22%; box-shadow: 0 20px 50px rgba(0,0,0,.5); border-radius: 6px; }
.pz-etrade .pz-c { width: 40%; right: 2%; bottom: -8%; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }

/* Katch: brand teal with its signature rings */
.pz-katch { background: #2c5a56; color: #eaf5f2; }
.pz-katch .pz-big { color: #fff; }
.pz-katch .pz-kicker, .pz-katch .pz-fact b { color: #8fe3c7; }
.pz-katch .pz-rings { position: absolute; right: -14%; top: 50%; width: 80%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; z-index: 0;
  background: repeating-radial-gradient(circle, transparent 0 34px, rgba(143,227,199,.35) 34px 35px); }
.pz-katch .pz-a { width: 26%; right: 30%; top: 16%; --r: -5deg; transform: rotate(-5deg); box-shadow: 0 18px 40px rgba(0,0,0,.35); z-index: 1; }
.pz-katch .pz-b { width: 20%; right: 10%; top: 8%; filter: drop-shadow(0 24px 34px rgba(0,0,0,.4)); z-index: 2; }


/* Hexion: warm neutrals, architecture, lavender web */
.pz-hexion { background: #e9e2d6; color: #1f1a17; }
.pz-hexion .pz-big { color: #1f1a17; }
.pz-hexion .pz-kicker, .pz-hexion .pz-fact { color: #5a4f45; }
.pz-hexion .pz-a { width: 26%; right: 36%; top: 10%; z-index: 1; }
.pz-hexion .pz-b { width: 28%; right: 6%; top: 6%; z-index: 2; box-shadow: 0 18px 40px rgba(31,26,23,.25); }
.pz-hexion .pz-c { width: 40%; right: 12%; bottom: -10%; z-index: 3; filter: drop-shadow(0 20px 30px rgba(31,26,23,.3)); }

.card-img .poster { aspect-ratio: 4 / 3; }

/* interests: one compact row of chips, one caption, one portrait */
.interests { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gutter); align-items: center; padding-block: clamp(72px, 10vw, 140px); }
.int-text { display: grid; gap: 28px; }
.int-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.int-chips .int-item { padding: 10px 18px; border: 1px solid var(--line-ink); border-radius: 99px; font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.35rem); transition: background .2s, color .2s, border-color .2s; }
.int-chips .int-item:hover, .int-chips .int-item[aria-pressed="true"] { background: var(--pool); color: var(--ink); border-color: var(--pool); }
.int-caption { color: var(--ash); min-height: 3em; max-width: 44ch; font-size: .85rem; }
.interests .int-stage { position: static; max-width: 360px; justify-self: end; width: 100%; }

/* Summer Friday: shorter */
.sf-pre2 { font-size: var(--t-m); font-weight: 600; text-transform: none; letter-spacing: 0; max-width: none; }
.sf-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; margin-top: clamp(32px, 5vw, 64px); }
.sf-row .sf-body2 { margin: 0; max-width: 40ch; }
.sf-row .sf-cta-big { margin-top: 0; }

@media (max-width: 900px) {
  .pz-type { width: 58%; }
  .pz-big { font-size: clamp(1.6rem, 8vw, 3rem); }
  .pz-national-grid .pz-big { font-size: clamp(2rem, 10vw, 3.4rem); }
  .wf:first-child .poster { aspect-ratio: 4 / 3; }
  .pz-national-grid .pz-a, .pz-national-grid .pz-b, .pz-national-grid .pz-c { width: 26%; }
  .pz-national-grid .pz-a { right: 34%; top: 40%; }
  .pz-national-grid .pz-d { width: 20%; right: 6%; top: 44%; }
  .interests { grid-template-columns: 1fr; }
  .interests .int-stage { position: static; opacity: 1; transform: none; width: 60%; justify-self: start; pointer-events: auto; }
  .interests .portrait--interests { background: none; border-radius: 0; }
}
/* poster tuning */
.pz-national-grid .pz-a { width: 16%; right: 44%; top: 20%; }
.pz-national-grid .pz-b { width: 16%; right: 26%; top: 12%; }
.pz-national-grid .pz-c { width: 15%; right: 7%; top: 24%; }
.pz-national-grid .pz-d { width: 11%; right: 36%; top: 30%; }
.pz-hexion .pz-a { width: 20%; right: 30%; top: 8%; }
.pz-hexion .pz-b { width: 24%; right: 4%; top: 6%; }
.pz-hexion .pz-c { width: 36%; right: 10%; bottom: -8%; }
@media (max-width: 900px) {
  .pz-national-grid .pz-a { width: 24%; right: 38%; top: 46%; }
  .pz-national-grid .pz-b { width: 24%; right: 8%; top: 10%; }
  .pz-national-grid .pz-c { width: 22%; right: 6%; top: 52%; }
  .pz-national-grid .pz-d { width: 16%; right: 32%; top: 14%; }
}
.poster img { aspect-ratio: auto !important; object-fit: contain !important; }
.poster img { height: auto !important; max-height: none !important; box-shadow: none !important; }
.pz-national-grid .pz-a, .pz-national-grid .pz-b, .pz-national-grid .pz-c, .pz-katch .pz-a, .pz-hexion .pz-b { filter: drop-shadow(0 16px 30px rgba(0,0,30,.35)); }
.pz-national-grid .pz-a { width: 19%; right: 45%; top: 16%; }
.pz-national-grid .pz-b { width: 19%; right: 25%; top: 8%; }
.pz-national-grid .pz-c { width: 18%; right: 5%; top: 20%; }
.pz-national-grid .pz-d { width: 10%; right: 38%; top: 34%; }
.wf:first-child .wf-img .poster img, .wf .wf-img .poster img, .cards > .card .card-img .poster img, .cards:not(.cards-s) > .card:first-child .card-img .poster img { aspect-ratio: auto !important; height: auto !important; object-fit: contain !important; }
/* four projects: a clean 2×2 on /work/ */
@media (min-width: 901px) {
  .cards:not(.cards-s) > .card:first-child { grid-column: auto; }
  .cards:not(.cards-s) > .card:first-child .poster, .cards:not(.cards-s) > .card:first-child .card-img img { aspect-ratio: 4 / 3 !important; }
}
/* National Grid poster at 4:3 (cards) */
.card-img .pz-national-grid .pz-big { font-size: clamp(2rem, 4.6vw, 4.6rem); }
.card-img .pz-national-grid .pz-type { width: 40%; }
.card-img .pz-national-grid .pz-a { width: 26%; right: 30%; top: 44%; }
.card-img .pz-national-grid .pz-b { width: 26%; right: 6%; top: 8%; }
.card-img .pz-national-grid .pz-c { width: 24%; right: 4%; top: 52%; }
.card-img .pz-national-grid .pz-d { width: 15%; right: 33%; top: 10%; }

/* =========================================================================
   13. GLOBAL SCALE: everything 25% smaller on desktop and tablet.
   Phones keep full size so body text stays readable.
   ========================================================================= */
@media (min-width: 901px) {
  main, .foot, .menu, .to-top { zoom: .75; }
  .hud { padding-block: 10px; }
  .hud-id { font-size: .6rem; }
  .hud-nav a { font-size: .74rem; }
  .hud-nav ul { gap: 24px; }
  .hero { min-height: calc(100svh / .75); }
}
/* Summer Friday wordmark: fits the width, never crops */
.sf-h2 { font-size: clamp(3rem, 9vw, 9.5rem); white-space: normal; line-height: .9; margin-top: .15em; }
.sf-h { font-size: clamp(3rem, 9vw, 9.5rem); }
@media (max-width: 900px) { .sf-h2, .sf-h { font-size: clamp(2.6rem, 14vw, 4.5rem); } }
.sf-photo2 { margin-top: clamp(20px, 3vw, 40px); }
