/* ============================================================
   Anushree Jain · v2 · editorial-brutalist, WTF-inspired
   Anton (display >= 18px only) · Poppins (body and everything else)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Poppins:wght@400;500;600&display=swap');

:root {
  --ink: #282828;
  --ink-2: #1e1e1e;
  --paper: #faf7f0;
  --paper-2: #faf7f0;
  --blue: #4d69a5;
  --yellow: #ecd386;
  --teal: #5ba8a6;
  --teal-deep: #3f7f7d;
  --muted: #565656;
  --muted-on-ink: #b5b5b5;
  --line-on-ink: #4a4a4a;
  --line-on-paper: #e2e2e2;
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Poppins', system-ui, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--body);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
.accent { color: var(--yellow); font-style: normal; }
.stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.dark .stroke { -webkit-text-stroke-color: var(--paper); }

::selection { background: var(--yellow); color: var(--ink); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--yellow); color: var(--ink); padding: .6rem 1rem;
  font-size: .85rem; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* Sections on ink */
.dark { background: var(--ink); color: var(--paper); }
.dark ::selection { background: var(--yellow); color: var(--ink); }

/* ------------------------------------------------ noise grain */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .08;
}
@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grain-shift 1.2s steps(4) infinite; }
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); } 25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); } 75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}

/* -------------------------------------------------- preloader */
.preloader {
  position: fixed; inset: 0; z-index: 260;
  background: var(--ink-2); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.pre-inner { text-align: center; }
.pre-name { font-size: .8rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted-on-ink); }
.pre-count { font-size: clamp(4rem, 14vw, 9rem); line-height: 1; margin: .5rem 0; }
.pre-line { width: min(320px, 60vw); height: 2px; background: var(--line-on-ink); margin: 0 auto; overflow: hidden; }
.pre-line span { display: block; width: 100%; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.pre-word { margin-top: .9rem; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--teal); }
.no-motion .preloader, .preloader.done { display: none; }

/* ----------------------------------------------------- cursor */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--yellow); mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center; justify-content: center;
  transition: width .25s, height .25s;
}
.cursor-label { font-size: 0; color: var(--ink); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cursor.is-hover { width: 46px; height: 46px; }
.cursor.is-drag { width: 64px; height: 64px; mix-blend-mode: normal; background: var(--yellow); }
.cursor.is-drag .cursor-label { font-size: 11px; }
@media (pointer: fine) {
  body.has-cursor { cursor: none; }
  body.has-cursor a, body.has-cursor button, body.has-cursor .note-card { cursor: none; }
  .cursor { display: flex; }
}

/* -------------------------------------------------------- nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid var(--line-on-ink);
}
.nav a { color: var(--paper); text-decoration: none; }
.nav-name { font-family: var(--display); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .04em; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a { font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform .35s;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
}
@media (max-width: 820px) { .nav-links { display: none; } }

/* ------------------------------------------------------- hero */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; position: relative;
  padding: 6rem var(--pad) 5rem;
}
.corner { position: absolute; width: 42px; height: 42px; border: 0 solid var(--line-on-ink); opacity: .9; }
.c-tl { top: 84px; left: 24px; border-top-width: 2px; border-left-width: 2px; }
.c-tr { top: 84px; right: 24px; border-top-width: 2px; border-right-width: 2px; }
.c-bl { bottom: 24px; left: 24px; border-bottom-width: 2px; border-left-width: 2px; }
.c-br { bottom: 24px; right: 24px; border-bottom-width: 2px; border-right-width: 2px; }

.hero-kicker {
  font-size: .8rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 2.2rem;
}
.hero-headline {
  font-size: clamp(3.2rem, 12.5vw, 11rem);
  line-height: 1.0; letter-spacing: .01em;
}
.hl-line { display: block; overflow: hidden; padding: 0 .06em; }
.hl-line > span { display: inline-block; will-change: transform; }
.hero-headline .stroke { -webkit-text-stroke-width: 3px; }
.hero-headline .accent { color: var(--yellow); }

.hero-byline { margin-top: 3rem; }
.hero-by { font-size: .95rem; color: var(--muted-on-ink); }
.hero-by strong { color: var(--paper); font-weight: 600; }
.hero-links { display: flex; gap: 1.8rem; justify-content: center; margin-top: 1rem; }
.hero-links a {
  color: var(--paper); font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
}
.hero-links a:hover { color: var(--yellow); border-color: var(--yellow); }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; color: var(--muted-on-ink);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-scroll { animation: bob 2.2s ease-in-out infinite; }
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------------------------------------------------- marquee */
.marquee {
  overflow: hidden; white-space: nowrap;
  background: var(--yellow); color: var(--ink);
  padding: .85rem 0;
  transform: rotate(-1.2deg) scale(1.02);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  position: relative; z-index: 5;
}
.marquee-track { display: inline-flex; }
.marquee-group {
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.3rem; letter-spacing: .06em;
}
.marquee-group i { font-style: normal; color: var(--blue); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 26s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-tags { background: var(--teal-deep); color: var(--paper-2); border-color: var(--ink); transform: rotate(1deg) scale(1.02); }
.marquee-tags .marquee-group i { color: var(--yellow); }

/* ------------------------------------------------------ chain */
.chain { padding: clamp(4rem, 10vw, 8rem) var(--pad); text-align: center; }
.chain-label { font-size: .8rem; letter-spacing: .35em; text-transform: uppercase; color: var(--muted-on-ink); margin-bottom: 2.6rem; }
.mf-track { display: flex; align-items: center; justify-content: center; gap: clamp(.6rem, 2.5vw, 1.6rem); flex-wrap: wrap; }
.mf-node { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.mf-veh { width: clamp(46px, 7vw, 72px); height: auto; aspect-ratio: 64/44; color: var(--paper); }
.mf-node:nth-child(1) .mf-veh { color: var(--yellow); }
.mf-node:nth-child(3) .mf-veh { color: var(--teal); }
.mf-node:nth-child(5) .mf-veh { color: var(--yellow); }
.mf-node:nth-child(7) .mf-veh { color: var(--teal); }
.mf-name { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--paper); }
.mf-link { width: clamp(28px, 6vw, 90px); height: 2px; background: var(--line-on-ink); transform-origin: left; }

/* ---------------------------------------------- 01 the road */
.road { background: var(--paper); color: var(--ink); position: relative; }
.road-pin { overflow: hidden; }
.road-track { position: relative; }
.road-panel {
  padding: clamp(4rem, 9vw, 7rem) var(--pad);
  max-width: 720px;
}
.panel-num { display: block; font-size: clamp(4rem, 9vw, 7.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--blue); }
.panel-title { font-size: clamp(3rem, 8vw, 6.4rem); line-height: 1.02; margin: .6rem 0 1.6rem; }
/* inside the pinned road, type and photo must never outgrow the viewport */
html.motion .road-panel .panel-num { font-size: min(clamp(4rem, 9vw, 7.5rem), 9vh); }
html.motion .road-panel .panel-title { font-size: min(clamp(3rem, 8vw, 6.4rem), 10vh); margin-bottom: 1rem; }
html.motion .road-panel .lead { font-size: min(clamp(1.15rem, 2.2vw, 1.5rem), 3.4vh); }
html.motion .road-panel .postcard { width: min(230px, 22vw, 26vh); }
html.motion .road-panel .asphalt { font-size: min(clamp(3.4rem, 9vw, 8rem), 13vh); }
html.motion .road-panel.rp-cols { padding-top: clamp(3rem, 8vh, 5rem); padding-bottom: clamp(2.5rem, 7vh, 5rem); }
html.motion .rp-cols .two-col { gap: 1.6rem; }
html.motion .rp-cols .road-now { margin-top: 1.2rem; font-size: min(1.05rem, 2.6vh); }
html.motion .rp-cols .col-text { font-size: min(.98rem, 2.6vh); }
html.motion .rp-cols .pc-metro { margin-top: 1rem; width: min(230px, 22vw, 20vh); }
.panel-label { font-size: .78rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.2rem; }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.55; font-weight: 500; }
.body-text { font-size: 1rem; color: var(--muted); max-width: 58ch; }
.road .body-text { font-size: 1.05rem; }
.quote { font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.45; color: var(--ink); font-weight: 500; border-left: 6px solid var(--yellow); padding-left: 1.6rem; }
.rp-quote cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--teal-deep); }
.asphalt { font-size: clamp(3.4rem, 9vw, 8rem); line-height: 1.02; }
.asphalt .stroke { -webkit-text-stroke-color: var(--blue); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.col-label { font-size: .78rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: .8rem; }
.col-text { font-size: .98rem; color: var(--muted); }
.road-now { margin-top: 2.4rem; }
.road-svg { position: absolute; left: 0; bottom: 8px; width: 100%; height: clamp(90px, 14vw, 200px); color: var(--blue); opacity: .55; pointer-events: none; }
.road-line { stroke: currentColor; }
.road-bus { color: var(--blue); }

/* Desktop with motion: panels side by side, scrubbed horizontally */
html.motion .road-track { display: flex; align-items: stretch; width: max-content; }
html.motion .road-panel { width: min(46rem, 82vw); flex: none; display: flex; flex-direction: column; justify-content: center; min-height: 100svh; max-height: 100svh; overflow: hidden; padding-top: clamp(4.5rem, 9vh, 6rem); padding-bottom: clamp(5rem, 12vh, 8rem); }
html.motion .rp-asphalt, html.motion .rp-quote { width: min(56rem, 88vw); }
@media (max-width: 1023px) {
  html.motion .road-track { display: block; width: auto; }
  html.motion .road-panel { width: auto; min-height: 0; padding-bottom: clamp(4rem, 9vw, 7rem); }
  .road-svg { display: none; }
}
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }

/* ---------------------------------------------- 02 the data */
.data { padding: clamp(5rem, 11vw, 9rem) var(--pad) clamp(4rem, 8vw, 7rem); }
.section-head {
  margin-bottom: 2rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 2.5rem; flex-wrap: wrap;
}
.head-side { display: flex; gap: 1.4rem; align-items: flex-end; flex-wrap: wrap; }
.head-side .photo { margin: 0; }
.data .panel-num { -webkit-text-stroke-color: var(--teal); }
.data-intro { color: var(--muted-on-ink); max-width: 62ch; }
.drag-hint {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 2.4rem; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--yellow);
}
.drag-hint svg { width: 20px; height: 20px; }
.drag-field { position: relative; margin-top: 1.2rem; min-height: 560px; }
.note-card {
  background: var(--paper-2); color: var(--ink);
  width: min(340px, 84vw);
  padding: 1.5rem 1.4rem 1.3rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  border-top: 6px solid var(--teal-deep);
  transform: rotate(var(--r, 0deg));
  touch-action: none;
}
.note-card:nth-child(2) { border-top-color: var(--blue); }
.note-card:nth-child(3) { border-top-color: var(--yellow); }
.note-card:nth-child(4) { border-top-color: var(--teal-deep); }
.note-tag { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: .8rem; display: flex; justify-content: space-between; gap: 1rem; }
.note-tag span { color: var(--muted); font-weight: 400; letter-spacing: .08em; }
.note-text { font-size: .88rem; line-height: 1.6; color: var(--ink); }
.note-insight { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line-on-paper); font-size: .85rem; font-weight: 600; color: var(--teal-deep); }
html.motion .drag-field .note-card { position: absolute; left: var(--x, 0); top: var(--y, 0); will-change: transform; }
html.motion .drag-field .note-card:active { box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
@media (max-width: 1023px) {
  .drag-field { min-height: 0; display: grid; gap: 1.2rem; }
  html.motion .drag-field .note-card { position: static; transform: rotate(var(--r, 0deg)) }
  html.motion .drag-field { min-height: 0; }
  .drag-hint { display: none; }
}
/* No-motion: tidy grid */
html:not(.motion) .drag-field { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); min-height: 0; }
html:not(.motion) .note-card { transform: none; width: auto; }
html:not(.motion) .drag-hint { display: none; }

/* -------------------------------------------- substack band */
.teaser-band {
  background: var(--teal-deep); color: var(--paper-2);
  text-align: center; padding: clamp(2.2rem, 4.5vw, 3.5rem) var(--pad);
}
.teaser-label { font-size: .72rem; letter-spacing: .35em; text-transform: uppercase; color: var(--yellow); margin-bottom: .7rem; }
.teaser-title { font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; }
.teaser-sub { max-width: 62ch; margin: .9rem auto 1.4rem; color: #e9e2d2; font-size: .92rem; }
.btn {
  display: inline-flex; align-items: center; gap: .7rem;
  background: var(--yellow); color: var(--ink);
  font-family: var(--body); font-weight: 600; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  padding: 1rem 1.7rem; border: 2px solid var(--ink);
  transition: transform .25s, box-shadow .25s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.btn .icon { width: 18px; height: 18px; }

/* ---------------------------------------------- 03 the deck */
.work { background: var(--paper); padding: clamp(5rem, 11vw, 9rem) var(--pad) clamp(3rem, 6vw, 5rem); }
.work .panel-num { -webkit-text-stroke-color: var(--blue); }
.deck { margin-top: 2.5rem; }
.deck-card {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  padding: clamp(1.6rem, 4vw, 3rem);
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  margin-bottom: 1.2rem;
}
html.motion .deck-card {
  position: sticky;
  top: calc(84px + var(--i, 0) * 3.2rem);
  margin-bottom: 3rem;
  box-shadow: 0 -12px 30px rgba(40, 40, 40, .08);
}
.deck-num { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.work-role { font-size: clamp(1.35rem, 3vw, 2.2rem); line-height: 1.05; }
.work-org { font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-deep); margin: .6rem 0 .9rem; }
.work-desc { font-size: .95rem; color: var(--muted); max-width: 64ch; }
.work-date { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); white-space: nowrap; padding-top: .4rem; }
@media (max-width: 700px) {
  .deck-card { grid-template-columns: 1fr; gap: .6rem; }
  .work-date { order: -1; }
}

/* ------------------------------------------- ticket stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem); padding: clamp(4rem, 9vw, 7rem) var(--pad);
  align-items: center;
}
.ticket {
  position: relative;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink);
  padding: 1.6rem 1.4rem 1.1rem;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
  transform: rotate(-1deg);
}
.ticket:nth-child(2n) { transform: rotate(1.2deg); }
.ticket::before, .ticket::after {
  content: ''; position: absolute; top: 50%; width: 18px; height: 18px;
  border-radius: 50%; background: var(--ink); transform: translateY(-50%);
}
.ticket::before { left: -11px; }
.ticket::after { right: -11px; }
.ticket-num {
  font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--blue);
}
.ticket-label {
  margin-top: .8rem; padding-top: .8rem;
  border-top: 2px dashed var(--line-on-paper);
  font-size: .8rem; letter-spacing: .04em; color: var(--muted);
}
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* ------------------------------------------------ education */
.edu { background: var(--paper); padding: clamp(4rem, 9vw, 7rem) var(--pad) clamp(2.5rem, 5vw, 4rem); }
.edu .panel-num { -webkit-text-stroke-color: var(--teal-deep); }
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.edu-card {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.edu-card .work-date { display: inline-block; margin-top: 1.1rem; padding-top: 0; }
@media (max-width: 820px) { .edu-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------- awards */
.awards-band { background: var(--paper); padding: clamp(3.5rem, 8vw, 6rem) var(--pad); }
.awards-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.drive-by { width: min(280px, 60vw); height: auto; }
.db-rail { color: var(--blue); }
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.contact-side { display: grid; gap: 1.8rem; justify-items: stretch; }
.traffic { display: flex; flex-direction: column; gap: 1.4rem; color: var(--ink); }
.traffic .lane { width: 100%; height: auto; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .traffic { display: none; } }

/* --------------------------------------- sticky note contact form */
.sticky-note {
  position: relative;
  background: var(--paper);
  padding: 1.9rem 1.5rem 1.4rem;
  box-shadow: 0 18px 42px rgba(40, 35, 20, .28);
  transform: rotate(-1.4deg);
  display: grid; gap: 1rem;
  max-width: 420px;
}
.sticky-note::before {
  content: ''; position: absolute; top: -14px; left: 50%; z-index: 2;
  width: 108px; height: 28px;
  background: rgba(77, 105, 165, .3);
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.note-head {
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.5rem; line-height: 1.1; letter-spacing: .03em;
}
.field { display: grid; gap: .3rem; }
.field > span {
  font-size: .68rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--teal-deep);
}
.field input, .field textarea {
  font-family: var(--body); font-size: .92rem; color: var(--ink);
  background: transparent; border: none; border-bottom: 1.5px solid var(--line-on-paper);
  padding: .4rem .1rem; width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--blue);
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 3px;
}
.field-error {
  font-size: .8rem; font-weight: 500; color: #a8412f;
  border-left: 3px solid #a8412f; padding-left: .6rem;
}
.note-send {
  justify-self: start;
  font-family: var(--body); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase;
  background: var(--yellow); color: var(--ink);
  border: 2px solid var(--ink); padding: .75rem 1.6rem;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.note-send:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.note-send:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.note-send[disabled] { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.note-foot { font-size: .72rem; color: var(--muted); }
.note-sent {
  font-size: .92rem; font-weight: 500; color: var(--teal-deep);
  border-left: 3px solid var(--teal-deep); padding-left: .7rem;
}
@media (prefers-reduced-motion: reduce) { .note-send { transition: none; } }
html.no-motion .drive-by, html.no-motion .traffic { display: none; }
.award-list { list-style: none; max-width: 900px; }
.award-list li {
  display: flex; justify-content: space-between; gap: 2rem; align-items: baseline;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line-on-paper);
  font-weight: 500; font-size: 1rem;
}
.award-list li span { color: var(--muted); font-weight: 400; font-size: .85rem; text-align: right; }

/* ------------------------------------------------ 04 beyond */
.beyond { padding: clamp(5rem, 11vw, 9rem) var(--pad); }
.beyond .panel-num { -webkit-text-stroke-color: var(--yellow); }
.personal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.5rem; }
.personal-item { border-top: 2px solid var(--line-on-ink); padding-top: 1.4rem; }
.beyond .col-label { color: var(--yellow); }
.beyond .col-text { color: var(--muted-on-ink); }
.beyond .col-text em { color: var(--paper); }
@media (max-width: 900px) { .personal { grid-template-columns: 1fr; } }

/* ------------------------------------------------ 05 contact */
.contact {
  background: var(--yellow); color: var(--ink);
  padding: clamp(5rem, 12vw, 10rem) var(--pad);
}
.contact .panel-num { -webkit-text-stroke-color: var(--ink); }
.contact-headline { font-size: clamp(3rem, 10vw, 8.5rem); line-height: 1.06; margin: 1rem 0 2rem; }
.contact-headline .accent { color: var(--blue); }
.contact-sub { color: #4c4738; max-width: 52ch; }
.contact-links { margin-top: 3rem; max-width: 820px; }
.contact-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 2rem;
  padding: 1.3rem 0; border-bottom: 2px solid var(--ink);
  color: var(--ink); text-decoration: none;
  transition: padding-left .3s;
}
.contact-row:hover { padding-left: 1rem; }
.contact-row span:first-child { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.3rem, 3vw, 2rem); }
.contact-row span:last-child { font-size: .88rem; font-weight: 500; }
@media (max-width: 520px) { .contact-row { flex-direction: column; gap: .2rem; align-items: flex-start; } }

/* ------------------------------------------------------ footer */
.footer { padding: clamp(4rem, 9vw, 7rem) var(--pad) 2rem; overflow: hidden; }
.footer-giant {
  font-size: clamp(4rem, 15.5vw, 15rem); line-height: .95; text-align: center;
  color: transparent; -webkit-text-stroke: 2px var(--muted-on-ink);
  user-select: none;
}
.footer-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  margin-top: clamp(3rem, 7vw, 5rem); padding-top: 1.4rem;
  border-top: 1px solid var(--line-on-ink);
  font-size: .8rem; color: var(--muted-on-ink); flex-wrap: wrap;
}
.to-top {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--muted-on-ink); color: var(--paper);
  font-family: var(--body); font-weight: 600; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase;
  padding: .7rem 1.3rem; border-radius: 999px;
}
.to-top svg { width: 14px; height: 14px; }
.to-top:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ------------------------------------------------ photos */
.photo {
  position: relative;
  background: var(--paper); color: var(--ink);
  padding: .7rem .7rem 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .30);
  width: min(280px, 70vw);
}
.photo::before {
  content: ''; position: absolute; top: -13px; left: 50%; z-index: 2;
  width: 92px; height: 26px;
  background: rgba(236, 211, 134, .85);
  transform: translateX(-50%) rotate(-4deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption {
  font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); padding: .7rem .1rem .8rem; text-align: center;
}

.rp-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.photo-portrait { transform: rotate(3deg); width: min(250px, 62vw); }
html.motion .rp-grid .photo-portrait { width: min(250px, 20vw, 38vh); }
@media (min-width: 1024px) {
  html.motion .rp-grid { grid-template-columns: 1fr auto; }
  html.motion .rp-title { width: min(60rem, 90vw); }
}

.photo-tickets { width: min(200px, 52vw); }

.photo-cycle { transform: rotate(-2.5deg); width: min(250px, 62vw); }

/* --------------------------------------------- postcards */
.postcard figcaption { letter-spacing: .08em; font-size: .68rem; }
.pc-auto { transform: rotate(-2.5deg); margin-top: 2.2rem; width: min(320px, 74vw); }
.pc-local { transform: rotate(2deg); width: min(300px, 72vw); }

/* contextual photo slots, all reusing the taped-polaroid format */
.card-snap { margin-top: 1.4rem; width: min(220px, 70%); }
.snap-left { transform: rotate(-2deg); }
.snap-right { transform: rotate(2deg); }
.pc-metro { transform: rotate(2.5deg); margin-top: 2rem; width: min(230px, 60vw); }
.edu .head-side .photo { width: min(230px, 50vw); }
.beyond .head-side .photo { width: min(195px, 44vw); }
.data .head-side .photo { width: min(205px, 44vw); }
.data .head-side .photo:nth-child(2) { transform: rotate(2deg); }
.data .head-side .photo:nth-child(3) { transform: rotate(-2.5deg); }

/* Work heading: neat panel, tall photo left, two stacked right, equal heights */
.work .head-side {
  display: grid;
  grid-template-columns: 250px 250px;
  grid-template-rows: 1fr 1fr;
  gap: 1.1rem;
  height: 480px;
  align-items: stretch;
}
.work .head-side .photo {
  width: auto; margin: 0; transform: none;
  display: flex; flex-direction: column;
  min-height: 0;
}
.work .head-side .photo:first-child { grid-row: 1 / span 2; }
.work .head-side .photo img {
  flex: 1 1 auto; min-height: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (max-width: 1100px) {
  .work .head-side { grid-template-columns: 200px 200px; height: 400px; }
}
@media (max-width: 900px) {
  .work .head-side { display: flex; flex-wrap: wrap; height: auto; }
  .work .head-side .photo { width: min(215px, 44vw); }
  .work .head-side .photo img { height: auto; flex: none; object-fit: contain; }
}

/* --------------------------------------------- playground */
.playground { padding: clamp(2.5rem, 5vw, 4rem) var(--pad) clamp(2.5rem, 5vw, 4rem); }
.pg-head { text-align: center; }
.pg-label { font-size: .72rem; letter-spacing: .35em; text-transform: uppercase; color: var(--teal); margin-bottom: .5rem; }
.pg-title { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.02; }
.pg-title br { display: none; }
.pg-hint { color: var(--muted-on-ink); font-size: .88rem; max-width: 62ch; margin: .8rem auto 0; }
.pg-link {
  color: var(--yellow); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  border-bottom: 1px solid var(--yellow); padding-bottom: 2px; text-decoration: none;
}
.pg-link:hover { color: var(--paper); border-color: var(--paper); }
.pg-hud {
  display: flex; justify-content: center; align-items: baseline; gap: 1.2rem 2rem;
  flex-wrap: wrap; text-align: center; margin: 1rem 0 .9rem;
}
.pg-status { font-family: var(--display); text-transform: uppercase; font-size: clamp(1rem, 2vw, 1.3rem); color: var(--yellow); letter-spacing: .05em; }
.pg-msg { color: var(--paper); font-size: .88rem; min-height: 1.4em; }
.pg-tools { display: flex; justify-content: center; gap: .7rem; flex-wrap: wrap; margin: 0 0 1rem; }
.pg-tools .pg-btn { padding: .5rem 1.1rem; font-size: .72rem; }
.pg-btn {
  font-family: var(--body); font-weight: 600; font-size: .8rem;
  letter-spacing: .18em; text-transform: uppercase;
  background: none; color: var(--paper);
  border: 2px solid var(--line-on-ink); border-radius: 999px;
  padding: .75rem 1.5rem;
  transition: border-color .25s, background .25s, color .25s;
}
.pg-btn:hover { border-color: var(--paper); }
.pg-btn.is-active { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.pg-clear { border-style: dashed; color: var(--muted-on-ink); }
.pg-stage {
  position: relative; height: min(68vh, 640px);
  border: 2px solid var(--line-on-ink);
  background:
    radial-gradient(rgba(250, 247, 240, .07) 1.2px, transparent 1.3px) 0 0 / 26px 26px,
    var(--ink-2);
  overflow: hidden;
  touch-action: none;
}
.pg-canvas { display: block; width: 100%; height: 100%; }
.pg-static { display: none; text-align: center; color: var(--muted-on-ink); font-size: .9rem; }
html.no-motion .pg-stage, html.no-motion .pg-tools, html.no-motion .pg-hud { display: none; }
html.no-motion .pg-static { display: block; margin-top: 1.6rem; }

/* ------------------------------------------ mobile: centre all */
@media (max-width: 700px) {
  .section-head { justify-content: center; text-align: center; }
  .section-head > div { width: 100%; }
  .head-side { justify-content: center; width: 100%; }
  .road-panel, .panel-label, .lead, .body-text, .data-intro,
  .two-col, .col-label, .col-text, .road-now, .asphalt,
  .quote, .rp-quote cite, .chain-label,
  .work-role, .work-org, .work-desc, .work-date,
  .edu-card, .awards-band, .award-list li, .award-list li span,
  .personal-item, .beyond .col-text,
  .teaser-sub, .contact-sub, .note-tag, .note-text, .note-insight,
  .pg-hint, .pg-msg, .footer-bar { text-align: center; }
  .body-text, .col-text, .work-desc, .contact-sub { margin-left: auto; margin-right: auto; }
  .photo, .postcard { margin-left: auto; margin-right: auto; }
  .quote { border-left: none; border-top: 6px solid var(--yellow); padding-left: 0; padding-top: 1.2rem; }
  .award-list li { flex-direction: column; align-items: center; gap: .3rem; }
  .awards-head { justify-content: center; }
  .deck-card { justify-items: center; }
  .deck-num { display: none; }
  .note-tag { justify-content: center; flex-wrap: wrap; gap: .5rem; }
  .drag-hint { justify-content: center; }
  .contact-row { align-items: center; }
  .contact-headline { text-align: center; }
  /* the form stays left-aligned: centred inputs are hard to fill in */
  .sticky-note { margin: 0 auto; transform: rotate(-1deg); }
  .sticky-note, .note-head, .field > span, .field input, .field textarea,
  .field-error, .note-foot, .note-sent { text-align: left; }
  .note-send { justify-self: center; }
  .contact .panel-num { display: block; text-align: center; }
  .footer-bar { justify-content: center; }
  .hero-scroll { display: none; }
}

/* ------------------------------------------------ reveal prep */
html.motion [data-reveal] { opacity: 0; transform: translateY(28px); }

/* ------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
