/* adamchen.com — one person, six sides.
   Palette: cool greys, a single family of blues, and orange as the only highlight.
   Anything with data-facet="…" picks up a shade of blue as --f (used for small dots and numbers). */

:root {
  --tone-a: #FFFFFF;        /* white sections */
  --tone-b: #EEF1F5;        /* light grey sections */
  --paper: var(--tone-a);
  --paper-2: var(--tone-b);
  --ink: #0E1621;
  --ink-2: #2E3A48;
  --muted: #5F6B7A;
  --line: rgba(14, 22, 33, .13);
  --night: #0B1220;
  --night-2: #142033;
  --on-night: #EEF2F7;
  --on-night-muted: #9AA8BA;
  --night-line: rgba(238, 242, 247, .13);

  --blue: #1F4E89;          /* text-safe blue on light */
  --blue-hi: #2E6CA8;       /* hover fills */
  --blue-night: #7FD6F7;    /* text-safe blue on dark */
  /* Accent rule, used consistently:
     orange     = action and "now" (hovers, focus, active states, Build, Latest, current roles)
     baby blue  = identity and structure (labels, dashes, dots, tints, quote marks, decorative fills) */
  --accent: #E8611A;        /* orange */
  --baby: #00AEEF;          /* baby blue from the ADAMCHEN logo */
  --baby-strong: #00759F;   /* the same blue, dark enough for small text on white and grey */
  --baby-tint: #E0F6FE;     /* soft baby-blue panels */
  --accent-night: #FF8A3D;

  /* six shades of blue, one per side (dots and numbers only) */
  --c-operator: #0F2A4A;
  --c-builder: #1F4E89;
  --c-scout: #2E6CA8;
  --c-host: #2F8FC8;
  --c-maker: #00AEEF;
  --c-endurance: #7FD6F7;

  --f: var(--blue);
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: var(--sans);   /* legacy name: headline rules below set weight and color */
  --mono: var(--sans);    /* small labels: uppercase, semibold, tracked */

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --cut-lg: 22px;   /* angular corners: panels, media */
  --cut: 10px;      /* buttons, chips */
  --cut-sm: 5px;    /* badges */
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --tone-a: #0E1520; --tone-b: #16202E; --baby-tint: #0F2A3A; --ink: #EEF2F7; --ink-2: #CBD5E1; --muted: #93A1B3;
    --line: rgba(238, 242, 247, .13); --night: #080D16; --night-2: #121C2B;
    --blue: #8DB4E2; --blue-hi: #2E6CA8; --accent: #FF8A3D;
    --c-operator: #C3D7F0; --c-builder: #A3C2E8; --c-scout: #82ACDE; --c-host: #6496D2; --c-maker: #4A80C2; --c-endurance: #3569A8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --tone-a: #0E1520; --tone-b: #16202E; --baby-tint: #0F2A3A; --ink: #EEF2F7; --ink-2: #CBD5E1; --muted: #93A1B3;
  --line: rgba(238, 242, 247, .13); --night: #080D16; --night-2: #121C2B;
  --blue: #8DB4E2; --blue-hi: #2E6CA8; --accent: #FF8A3D;
  --c-operator: #C3D7F0; --c-builder: #A3C2E8; --c-scout: #82ACDE; --c-host: #6496D2; --c-maker: #4A80C2; --c-endurance: #3569A8;
  color-scheme: dark;
}

[data-facet="operator"]  { --f: var(--c-operator); }
[data-facet="builder"]   { --f: var(--c-builder); }
[data-facet="scout"]     { --f: var(--c-scout); }
[data-facet="host"]      { --f: var(--c-host); }
[data-facet="maker"]     { --f: var(--c-maker); }
[data-facet="endurance"] { --f: var(--c-endurance); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--baby); color: #0B1220; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--full { max-width: none; }
.mono { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 600 .74rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; flex: none; width: 22px; height: 3px; background: var(--baby); }
.hero__from { max-width: 64ch; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em;
  font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 0;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); color: #fff; }
.btn--line { background: var(--paper-2); color: var(--ink); }
.btn--line:hover { color: var(--accent); }
.btn--paper { background: #fff; color: var(--night); }
.btn--paper:hover { color: var(--accent); }
.btn--small { min-height: 38px; padding: 0 1.1em; font-size: .85rem; }
.btn--block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: .45em; min-height: 38px; padding: 0 1em;
  border: 0; background: var(--paper-2);
  font: 500 .85rem/1 var(--sans); cursor: pointer; transition: all .2s;
}
.chip:hover { color: var(--accent); }
.chip[aria-pressed="true"]:hover { color: var(--accent-night); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip__n { font: 600 .7rem/1 var(--sans); opacity: .6; }

.pill {
  display: inline-flex; align-items: center; gap: .4em; min-height: 36px; padding: 0 .95em; background: rgba(255, 255, 255, .08); color: var(--on-night);
  font: 600 .82rem/1 var(--sans); text-decoration: none; transition: background-color .2s, color .2s;
}
.pill:hover { background: var(--baby); color: var(--night); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  --ink: #0E1621; --ink-2: #2E3A48; --paper: #FFFFFF; --paper-2: #EEF1F5; --line: rgba(14, 22, 33, .13);
  background: #FFFFFF; color: var(--ink);
  box-shadow: 0 1px 0 transparent; transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: block; padding: 8px 12px;
  font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.nav__list a:hover, .nav__list a[aria-current="true"] { background: var(--paper-2); color: var(--ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--paper-2); cursor: pointer; padding: 0; position: relative; }
.nav-toggle__bar { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.nav-toggle__bar:nth-of-type(2) { top: 18px; }
.nav-toggle__bar:nth-of-type(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 7vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__name {
  font: 400 clamp(4.5rem, 13.5vw, 11.5rem)/.84 var(--serif);
  letter-spacing: -.035em; margin: 0 0 2rem;
}
.hero__name em { font-style: italic; display: block; padding-left: .5em; }
.hero__lede { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.35; color: var(--ink-2); max-width: 30ch; margin-bottom: 1.5rem; }

.rotator { display: flex; flex-wrap: wrap; gap: .35em; align-items: baseline; font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin-bottom: 2.25rem; min-height: 3.4em; }
.rotator__lead { color: var(--muted); }
.rotator__track { position: relative; display: inline-grid; flex: 1 1 18ch; }
.rotator__item {
  grid-area: 1 / 1; font-weight: 600; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--baby);
  text-decoration-thickness: 2px; text-underline-offset: .25em;
}
.js .rotator__item { opacity: 0; transform: translateY(.6em); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .rotator__item.is-on { opacity: 1; transform: none; }
.rotator__item:not(:first-child) { visibility: hidden; }
.js .rotator__item { visibility: visible; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.portrait { position: relative; margin: 0; justify-self: end; width: min(100%, 440px); }
.portrait__frame { overflow: hidden; aspect-ratio: 1 / 1; background: #1B2638;
  box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .5);
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait__chips { position: absolute; left: -2.2rem; bottom: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.portrait__chips a {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  background: var(--paper); color: var(--ink); text-decoration: none;
  font: 600 .82rem/1 var(--sans);
  transition: transform .3s var(--ease);
}
.portrait__chips a::before { content: ""; width: 9px; height: 9px; background: var(--f); }
.portrait__chips li:nth-child(even) a { margin-left: 1.2rem; }
.portrait__chips a:hover { transform: translateX(6px); }
.portrait__chips a:hover::before { background: var(--accent); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: clamp(3rem, 7vw, 5rem) 0 0; padding: 2rem 0 clamp(2.5rem, 5vw, 3.5rem); box-shadow: 0 -1px 0 var(--line); }
.stats dt { display: flex; align-items: baseline; gap: .35em; }
.stats__value { font: 400 clamp(2.6rem, 5vw, 3.75rem)/1 var(--serif); letter-spacing: -.02em; }
.stats__unit { font: 600 .75rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: var(--baby-strong); }
.stats dd { margin: .5rem 0 0; color: var(--muted); font-size: .95rem; max-width: 26ch; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section--white, .hero { background: var(--paper); }
.section--grey { --paper: var(--tone-b); --paper-2: var(--tone-a); background: var(--paper); }
.section--ink {
  background: var(--night); color: var(--on-night);
  --ink: var(--on-night); --line: var(--night-line); --muted: var(--on-night-muted); --paper-2: var(--night-2); --ink-2: #CBD5E1;
  --blue: var(--blue-night); --accent: var(--accent-night); --baby-strong: var(--baby); --baby-tint: #0F2A3A;
  --c-operator: #C3D7F0; --c-builder: #A3C2E8; --c-scout: #82ACDE; --c-host: #6496D2; --c-maker: #4A80C2; --c-endurance: #3569A8;
}
.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--wide { max-width: none; }
.section__head--wide .section__intro { max-width: none; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section__head--row > div:first-child { max-width: 680px; }
.section__title { font: 400 clamp(2.6rem, 6.2vw, 5rem)/.98 var(--serif); letter-spacing: -.025em; margin-bottom: 1.25rem; }
.section__title--xl { font-size: clamp(3.2rem, 8vw, 6.5rem); }
.section__intro { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; margin: 0; }
.section--ink .section__intro { color: var(--on-night-muted); }

/* Now */
.routine { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 2.5rem; box-shadow: 0 -1px 0 var(--line), 0 1px 0 var(--line); }
.routine__step { display: grid; gap: .25rem; padding: 1.5rem 1.5rem 1.5rem 0; position: relative; }
.routine__step + .routine__step { padding-left: 1.5rem; box-shadow: -1px 0 0 var(--line); }
.routine__step .mono { color: var(--baby-strong); }
.routine__step:last-child .mono { color: var(--accent); }
.routine__step strong { font: 400 2rem/1.1 var(--serif); }
.routine__step span:last-child { color: var(--muted); font-size: .95rem; }
.routine__step:last-child strong { color: var(--accent); }
.routine { margin-bottom: 0; }
.build { margin-top: 0; }
.build__branch { position: relative; height: 56px; }
.build__branch i { position: absolute; background: var(--accent); }
.build__branch .build__stem { left: calc(100% * 5 / 6); top: 0; width: 2px; height: 28px; transform: translateX(-1px); }
.build__branch .build__bar { left: calc(100% / 6); right: calc(100% / 6); top: 27px; height: 2px; }
.build__branch i:nth-child(3), .build__branch i:nth-child(4), .build__branch i:nth-child(5) { top: 27px; width: 2px; height: 29px; transform: translateX(-1px); }
.build__branch i:nth-child(3) { left: calc(100% / 6); }
.build__branch i:nth-child(4) { left: 50%; }
.build__branch i:nth-child(5) { left: calc(100% * 5 / 6); }
.build__panel { padding: 1.25rem; background: var(--night); color: var(--on-night); }
.build__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; margin: .25rem .5rem 1.25rem; }
.build__label .mono { color: var(--accent); }
.build__label strong { font: 400 2rem/1 var(--serif); }
.build__label span:last-child { color: var(--on-night-muted); }
.ventures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.venture__code { display: inline-block; margin-right: .5em; padding: 3px 7px; background: var(--accent); color: #fff; letter-spacing: .06em; }
.venture {
  position: relative; display: flex; flex-direction: column;
  padding: 1.75rem 1.6rem 1.6rem; background: var(--tone-a);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.venture:hover { transform: translateY(-4px); }
.venture__tag { color: var(--baby-strong); margin-bottom: .75rem; }
.venture__name { font: 400 2rem/1.05 var(--serif); margin-bottom: .9rem; }
.venture p:not(.venture__tag) { color: var(--ink-2); font-size: .98rem; }
.venture__link { margin-top: auto; padding-top: 1rem; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink); }
.venture__link:hover { color: var(--accent); }
.venture__link--muted { color: var(--muted); font-weight: 500; }

/* Sides */
.sides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--night-line); overflow: hidden; }
.side {
  position: relative; display: flex; flex-direction: column; min-height: 320px;
  padding: 2rem 1.75rem; text-decoration: none; color: inherit; background: var(--night);
  overflow: hidden; isolation: isolate;
}
.side::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--baby);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.side:hover::before, .side:focus-visible::before { transform: none; }
.side__num { color: var(--f); transition: color .3s; }
.side:hover .side__num, .side:focus-visible .side__num { color: #0B1220; }
.side__name { font: 400 clamp(2.2rem, 3.6vw, 3rem)/1 var(--serif); margin: 1.5rem 0 1rem; }
.side p { color: var(--on-night-muted); transition: color .3s; font-size: .98rem; }
.side:hover p, .side:focus-visible p { color: #0E2233; }
.side__cta { margin-top: auto; font-weight: 600; font-size: .9rem; }
.side:hover .side__cta, .side:focus-visible .side__cta { color: #0B1220; }
.side__cta span { color: var(--accent); }

/* Path */
.path { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.path__head { position: sticky; top: 100px; margin-bottom: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2rem 0; }
.tags li { padding: 6px 12px; background: var(--baby-tint); font-size: .85rem; color: var(--ink-2); }
.edu p { margin: 0 0 .4rem; color: var(--ink-2); }
.edu .mono { display: inline-block; min-width: 3.5em; color: var(--muted); }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline__item { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 1rem; padding: 0 0 2.25rem 28px; }
.timeline__item::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px;
  background: var(--baby); box-shadow: 0 0 0 5px var(--paper);
}
.timeline__item.is-now::before { background: var(--accent); }
.timeline__when { color: var(--muted); padding-top: 4px; }
.timeline__item.is-now .timeline__when { color: var(--accent); }
.timeline__role { font: 400 1.6rem/1.15 var(--serif); margin-bottom: .35rem; }
.timeline__role span { color: var(--muted); }
.timeline p { color: var(--ink-2); margin: 0; font-size: .98rem; }


/* Work */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; }
.work-card { display: flex; flex-direction: column; }
.work-card[hidden], .album[hidden] { display: none; }
.work-card--feature { grid-column: span 2; grid-row: span 2; }
.work-card--span2 { grid-column: span 2; }
.work-card--span2 .work-card__media { aspect-ratio: 8 / 3; }
.work-card__media, .album__cover {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--paper);
}
.work-card__media { aspect-ratio: 4 / 3; }
.work-card--feature .work-card__media { aspect-ratio: auto; flex: 1; min-height: 340px; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.work-card__media:hover img, .album__cover:hover img { transform: scale(1.04); }
.work-card__video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; }
.work-card__body { padding-top: 1rem; }
.work-card__meta { color: var(--muted); margin-bottom: .35rem; }
.work-card__title { font: 400 1.5rem/1.15 var(--serif); margin-bottom: .35rem; }
.work-card--feature .work-card__title { font-size: 2.2rem; }
.work-card p:last-child { color: var(--ink-2); font-size: .95rem; margin: 0; }
.album__count {
  position: absolute; right: 10px; bottom: 10px; padding: 5px 9px;
  background: rgba(11, 18, 32, .72); color: #fff; font-size: .68rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.work-card__media:hover .album__count, .album__cover:hover .album__count { background: var(--accent); }

/* Books */
.shelf { display: grid; grid-template-columns: repeat(7, 1fr); gap: 24px; align-items: end; }
.book:first-child { grid-column: span 2; }
.book:first-child .book__cover { aspect-ratio: 658 / 522; }
.book:first-child .book__title { font-size: 1.25rem; }
.book a { display: grid; gap: .4rem; text-decoration: none; }
.book__cover { display: block; aspect-ratio: 2 / 3; margin-bottom: .75rem; perspective: 800px; }
.book__cover img {
  width: 100%; height: 100%; object-fit: cover;
  box-shadow: inset 6px 0 10px -6px rgba(0,0,0,.4), 0 18px 30px -18px rgba(11, 18, 32, .6);
  transition: transform .5s var(--ease); transform-origin: left center;
}
.book a:hover .book__cover img { transform: rotateY(-14deg); }
.book:first-child .book__cover img { object-fit: cover; }
.book__role { color: var(--baby-strong); }
.book:first-child .book__role { color: var(--accent); }
.book__title { font: 400 1.15rem/1.2 var(--serif); }
.book a:hover .book__title { color: var(--accent); }
.book__pub { color: var(--muted); font-size: .85rem; }

/* Listen */
.eq { display: flex; align-items: flex-end; gap: 5px; height: 56px; width: min(220px, 100%); }
.eq i { flex: 1; background: var(--baby); height: 30%; animation: eq 1.4s ease-in-out infinite alternate; }
.eq i:nth-child(3n) { background: #4A86C5; animation-duration: 1.1s; }
.eq i:nth-child(4n) { background: #2E6CA8; animation-duration: 1.7s; }
.eq i:nth-child(5n) { background: var(--accent-night); animation-duration: .9s; }
.eq i:nth-child(odd) { animation-delay: -.6s; }
.eq i:nth-child(7n) { animation-delay: -1.1s; }
@keyframes eq { to { height: 100%; } }
.shows { display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.show { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.show__head { position: sticky; top: 100px; }
.show__num { color: var(--baby); margin-bottom: .75rem; }
.show__name { font: 400 clamp(2rem, 3.4vw, 2.75rem)/1.05 var(--serif); margin-bottom: .9rem; }
.show__text { color: var(--on-night-muted); }
.listen-on { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.25rem 0 0; }
.episodes { display: grid; gap: 1px; background: var(--night-line); overflow: hidden; }
.episode { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; background: var(--night-2); transition: background-color .25s; }
.episode:hover { background: #1A2940; }
.episode__text { display: grid; }
.episode__text strong { font-weight: 600; font-size: 1rem; }
.episode__text span { color: var(--on-night-muted); font-size: .86rem; }
.episode__links { display: flex; gap: 6px; flex: none; }
.episode__links a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 .8em;
  background: rgba(255, 255, 255, .07); font: 600 .74rem/1 var(--sans); text-transform: uppercase; letter-spacing: .05em;
  text-decoration: none; color: var(--on-night); transition: background-color .2s, color .2s;
}
.episode__links a:hover { background: var(--baby); color: var(--night); }
.candid {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 2.5rem; align-items: center;
  margin-top: clamp(3rem, 6vw, 4.5rem); padding: 1.5rem 1.75rem; background: var(--night-2);
}
.candid .mono { color: var(--baby); margin-bottom: .35rem; }
.candid h3 { font: 400 1.8rem/1.1 var(--serif); }
.candid p:not(.mono) { color: var(--on-night-muted); font-size: .95rem; margin: 0; }

/* Writing */
.writing { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.post--latest { padding: clamp(1.75rem, 4vw, 3rem); background: var(--paper); }
.post__meta { color: var(--muted); display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.post__badge { padding: 4px 8px; background: var(--accent); color: #fff; }
.post__title { font: 400 clamp(2.2rem, 4.2vw, 3.4rem)/1.02 var(--serif); letter-spacing: -.02em; margin-bottom: 1.25rem; }
.post__title a { text-decoration: none; }
.post__title a:hover { color: var(--accent); }
.post__excerpt { font: 400 1.2rem/1.6 var(--serif); color: var(--ink-2); max-width: 62ch; }
.post__more { display: inline-flex; gap: .4em; margin-top: .5rem; font-weight: 600; text-decoration: none; color: var(--ink); }
.post__more:hover { color: var(--accent); }
.writing__label { color: var(--muted); margin-bottom: .75rem; }
.posts { display: grid; gap: 1px; background: var(--line); overflow: hidden; }
.posts a { display: grid; gap: .2rem; padding: .95rem 1.1rem; background: var(--paper); text-decoration: none; transition: background-color .2s; }
.posts a:hover { background: color-mix(in srgb, var(--paper) 70%, var(--paper-2)); }
.posts a:hover strong { color: var(--accent); }
.posts .mono { color: var(--muted); font-size: .7rem; }
.posts strong { font-weight: 600; }
.writing__all { display: inline-block; margin: .9rem 0 0; font-weight: 600; font-size: .92rem; text-decoration: none; }
.writing__all:hover { color: var(--accent); }
.writing .candid { display: block; margin-top: 2rem; padding: 1.5rem; background: var(--night); color: var(--on-night); }
.writing .candid .mono { color: var(--baby); margin-bottom: .35rem; }
.writing .candid h3 { font: 400 1.8rem/1.1 var(--serif); margin-bottom: .5rem; }
.writing .candid p:not(.mono) { color: var(--on-night-muted); font-size: .95rem; }
.writing .candid a { color: var(--on-night); font-weight: 600; text-decoration: none; }
.writing .candid a:hover { color: var(--accent-night); }

/* Talks */
.subhead { color: var(--muted); margin: 0 0 1.25rem; }
.talks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; margin-bottom: clamp(3.5rem, 7vw, 5rem); }
.talk--feature { grid-column: span 2; }
.talk--logo .talk__media { background: #fff; }
.talk--logo .talk__media img { object-fit: contain; padding: 14% 18%; }
.talk a { display: grid; gap: .45rem; text-decoration: none; height: 100%; }
.talk--feature a { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.talk--feature .talk__media { grid-row: 1 / -1; }
.talk__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night-2); margin-bottom: .5rem; }
.talk__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.talk a:hover .talk__media img { transform: scale(1.04); }
.talk__play { position: absolute; left: 14px; bottom: 14px; width: 44px; height: 44px; background: rgba(8, 13, 22, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .25s; }
.talk__play::after { content: ""; position: absolute; left: 17px; top: 14px; border: 8px solid transparent; border-left: 12px solid #fff; border-right: 0; }
.talk a:hover .talk__play { background: var(--baby); }
.talk__meta { color: var(--baby); }
.talk__title { font: 400 1.35rem/1.15 var(--serif); }
.talk--feature .talk__title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); align-self: end; }
.talk--feature .talk__meta { align-self: end; margin-top: 1rem; }
.talk__text { color: var(--on-night-muted); }
.talk__cta { font-size: .85rem; font-weight: 600; color: var(--on-night-muted); }
.talk a:hover .talk__cta, .talk a:hover .talk__title { color: var(--accent); }

/* Lens: photo albums */
.filters--lens { margin: -1rem 0 2rem; }
.albums { columns: 6 260px; column-gap: 20px; }
.album { break-inside: avoid; margin-bottom: 28px; }
.album__cover img { width: 100%; transition: transform .7s var(--ease); }
.album__meta { color: var(--muted); margin: .85rem 0 .25rem; }
.album__title { font: 400 1.35rem/1.15 var(--serif); }
.lens__total { color: var(--muted); text-align: center; margin: 1.5rem 0 0; }

/* Endurance */
.races { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.race button { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 5; background: var(--paper); }
.race img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.race button:hover img { transform: scale(1.04); }
.race__meta { color: var(--baby-strong); margin: 1rem 0 .3rem; }
.race__name { font: 400 1.35rem/1.15 var(--serif); }
.ride { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.ride video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.race-log { display: grid; gap: .4rem; margin-top: 1rem; color: var(--ink-2); }
.race-log .mono { color: var(--muted); margin-right: .4rem; }

/* Believe */
.believe { padding-block: clamp(5rem, 11vw, 9rem); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: v; margin-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.value { counter-increment: v; }
.value::before { content: "0" counter(v); font: 600 .75rem/1 var(--sans); color: var(--baby-strong); }
.value__name { font: 400 clamp(2.6rem, 5vw, 4rem)/1 var(--serif); margin: 1rem 0 .75rem; font-style: italic; }
.value p { color: var(--ink-2); font-size: 1.05rem; max-width: 28ch; }
.rule { margin: 0; text-align: center; }
.rule p { font: 400 clamp(2rem, 4.6vw, 3.6rem)/1.12 var(--serif); letter-spacing: -.015em; max-width: 22ch; margin: 0 auto; text-wrap: balance; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact .section__head { margin-bottom: 0; }
.contact__links { display: grid; gap: 1px; margin-top: 2.5rem; background: var(--night-line); overflow: hidden; }
.contact__links a { display: flex; justify-content: space-between; padding: 1rem 1.15rem; background: var(--night-2); text-decoration: none; font-weight: 500; transition: padding .3s var(--ease), color .3s; }
.contact__links a:hover { padding-left: 1.6rem; color: var(--accent-night); }
.form { display: grid; gap: 1.4rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--night-2); }
.form__notice { margin: 0; padding: .85rem 1rem; font-size: .95rem; background: rgba(255, 255, 255, .06); }
.form__notice--ok { background: color-mix(in srgb, #2E6CA8 35%, transparent); }
.form__notice--err { background: color-mix(in srgb, var(--accent-night) 25%, transparent); }
.form__topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__topics legend { font: 600 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: .9rem; padding: 0; }
.chip--radio { position: relative; background: rgba(255, 255, 255, .07); }
.chip--radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip--radio:has(input:checked) { background: var(--accent-night); color: var(--night); }
.chip--radio:has(input:focus-visible) { outline: 2px solid var(--accent-night); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: grid; gap: .45rem; }
.field span { font: 600 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem; border: 0;
  background: rgba(255, 255, 255, .06); color: var(--on-night); font: 400 1.05rem/1.4 var(--sans); resize: vertical;
  transition: background-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: none; background: rgba(255, 255, 255, .1); box-shadow: inset 0 -2px 0 var(--accent-night); }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 2rem; align-items: baseline; padding-block: 2.5rem; box-shadow: 0 -1px 0 var(--night-line); }
.site-footer__name { font: 400 2rem/1 var(--serif); color: var(--on-night); margin: 0; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--on-night); }
.site-footer a:hover { color: var(--accent-night); }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 13, 22, .96); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(8, 13, 22, .6); }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 1rem; padding: 4rem 0 2rem; height: 100%; align-content: center; }
.lightbox__figure img { max-width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox__figure figcaption { font-size: .95rem; color: #C3CEDC; text-align: center; padding-inline: 1rem; }
.lightbox__close, .lightbox__nav { background: rgba(255, 255, 255, .08); border: 0; color: #fff; width: 48px; height: 48px; font-size: 1.6rem; line-height: 1; cursor: pointer; justify-self: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--baby); color: var(--night); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox--single .lightbox__nav { visibility: hidden; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Angular treatment ----------
   No rounded corners. Panels, media, and controls get two clipped corners
   (top-right, bottom-left) so the shapes read as angular, not boxy. */
.btn, .chip, .pill, .episode__links a, .nav__list a, .nav-toggle, .skip,
.tags li, .album__count, .post__badge, .venture__code,
.lightbox__close, .lightbox__nav, .talk__play, .field input, .field textarea {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.post__badge, .venture__code, .album__count { --cut: var(--cut-sm); }
.venture, .build__panel, .sides, .work-card__media, .work-card__video, .album__cover,
.talk__media, .post--latest, .posts, .episodes, .form, .contact__links, .candid,
.portrait__frame, .race button, .ride video, .lightbox__figure img {
  clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, var(--cut-lg) 100%, 0 calc(100% - var(--cut-lg)));
}
.portrait__frame { --cut-lg: 44px; }
.portrait { filter: drop-shadow(0 26px 30px rgba(11, 18, 32, .28)); }
.portrait__chips li { filter: drop-shadow(0 6px 10px rgba(11, 18, 32, .25)); }
.book__cover img { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }

/* dots become diamonds */
.portrait__chips a::before { transform: rotate(45deg); width: 8px; height: 8px; }
.timeline__item::before { transform: rotate(45deg); }

/* clip-path hides outlines, so clipped controls show focus inside the shape */
.btn:focus-visible, .chip:focus-visible, .pill:focus-visible, .episode__links a:focus-visible,
.nav__list a:focus-visible, .nav-toggle:focus-visible, .work-card__media:focus-visible,
.album__cover:focus-visible, .race button:focus-visible, .lightbox__close:focus-visible, .lightbox__nav:focus-visible {
  outline: none; box-shadow: inset 0 0 0 3px var(--accent);
}
.talk a:focus-visible { outline: none; }
.talk a:focus-visible .talk__title { color: var(--accent); text-decoration: underline; }
.chip--radio:has(input:focus-visible) { outline: none; box-shadow: inset 0 0 0 3px var(--accent-night); }

/* logos in Work: show the whole mark on white */
.work-card--logo .work-card__media { background: #fff; }
.work-card--logo .work-card__media img { object-fit: contain; padding: 12%; }
.work-card--logo .work-card__media:hover img { transform: scale(1.03); }
.work-card--video { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0 clamp(1.5rem, 4vw, 3rem); align-items: center; }
.work-card--video .work-card__video { aspect-ratio: 16 / 9; }
.work-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0 clamp(1.5rem, 4vw, 3rem); align-items: center; }
.work-card--wide .work-card__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.work-card__link { display: inline-block; margin-top: .9rem; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink); }
.work-card__link:hover { color: var(--accent); }

.writing__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.writing .candid p:not(.mono) { margin-bottom: .75rem; }

/* ---------- Typography ----------
   One sans-serif family. Headlines: heavy, ink, tight. Subheads: semibold, blue.
   Body: regular, softer ink. Labels: small, uppercase, tracked. */
h1, h2, h3, .section__title, .hero__name { font-family: var(--sans); }
.hero__name { font-weight: 800; letter-spacing: -.055em; line-height: .88; font-size: clamp(4rem, 11.5vw, 9.75rem); }
.hero__name em { font-style: normal; font-weight: 800; color: var(--ink); padding-left: 0; }
/* ADAM CHEN in caps, colored like the logo: ADAM black, CHEN logo blue */
.hero__first, .hero__name em { display: block; text-transform: uppercase; letter-spacing: -.035em; }
.hero__first { color: #000; }
.hero__name em { color: var(--baby); }
:root[data-theme="dark"] .hero__first { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__first { color: var(--ink); } }
.section__title, .post__title, .rule p, .site-footer__name, .stats__value {
  font-weight: 700; letter-spacing: -.035em; color: var(--ink);
}
.section__title { font-size: clamp(2.3rem, 5.2vw, 4.25rem); line-height: 1; }
.section__title--xl { font-size: clamp(2.8rem, 6.6vw, 5.4rem); }
.post__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05; }
.rule p { font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.15; font-weight: 600; }
.site-footer__name { font-size: 1.6rem; color: var(--on-night); }
.site-footer__name { text-transform: uppercase; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.site-footer__name span { color: var(--baby); }
.stats__value { font-size: clamp(2.4rem, 4.4vw, 3.4rem); }

.venture__name, .side__name, .show__name, .work-card__title, .album__title, .race__name,
.talk__title, .timeline__role, .build__label strong, .routine__step strong, .value__name,
.book__title, .candid h3 {
  font-weight: 650; letter-spacing: -.02em; color: var(--blue);
}
.venture__name { font-size: 1.6rem; line-height: 1.1; }
.side__name { font-size: clamp(1.8rem, 2.8vw, 2.3rem); line-height: 1.05; }
.show__name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.work-card__title, .album__title, .race__name { font-size: 1.15rem; line-height: 1.25; }
.work-card--feature .work-card__title { font-size: 1.7rem; }
.talk__title { font-size: 1.1rem; line-height: 1.25; }
.talk--feature .talk__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.timeline__role { font-size: 1.2rem; line-height: 1.25; }
.timeline__role span { color: var(--muted); font-weight: 400; }
.build__label strong { font-size: 1.6rem; color: #fff; font-weight: 700; }
.routine__step strong { font-size: 1.5rem; color: var(--ink); font-weight: 700; }
.routine__step:last-child strong { color: var(--accent); }
.value__name { font-size: clamp(2rem, 3.8vw, 3rem); font-style: normal; font-weight: 700; line-height: 1.05; }
.book__title { font-size: 1rem; line-height: 1.3; color: var(--ink); font-weight: 600; }
.side:hover .side__name, .side:focus-visible .side__name { color: #0B1220; }
.talk a:hover .talk__title { color: var(--accent); }

.section__intro, .post__excerpt, .venture p:not(.venture__tag), .timeline p, .work-card p:last-child,
.side p, .show__text, .value p, .talk__text { font-weight: 400; }
.post__excerpt { font-family: var(--sans); font-size: 1.1rem; line-height: 1.65; }
.episode__text strong, .posts strong { color: var(--ink); font-weight: 600; }

/* Logo (from the original adamschen.tumblr.com header) */
.mark__logo { display: block; height: 32px; width: auto; transition: transform .3s var(--ease); }
.mark:hover .mark__logo { transform: translateY(-1px); }

.hero__meet { display: block; font-family: "Dancing Script", "Brush Script MT", cursive; font-size: .42em; font-weight: 700; letter-spacing: 0; line-height: 1; color: #000; margin: 0 0 -.02em .04em; text-transform: none; }
:root[data-theme="dark"] .hero__meet { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__meet { color: var(--ink); } }

/* Giving back (volunteer roles) */
.giving { margin-top: 2rem; }
.giving__label { color: var(--muted); margin-bottom: .75rem; }
.giving ul { display: grid; gap: .55rem; }
.giving li { display: grid; padding-left: 14px; position: relative; }
.giving li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; background: var(--baby); transform: rotate(45deg); }
.giving strong { font-weight: 600; color: var(--ink); font-size: .95rem; }
.giving span { color: var(--muted); font-size: .9rem; }

/* Voices: recommendations */
.recs { columns: 3 300px; column-gap: 20px; }
.rec { break-inside: avoid; margin-bottom: 20px; }
.rec--feature { column-span: all; }
.rec figure { margin: 0; padding: clamp(1.4rem, 2.5vw, 1.9rem); background: var(--paper-2);
  clip-path: polygon(0 0, calc(100% - var(--cut-lg)) 0, 100% var(--cut-lg), 100% 100%, var(--cut-lg) 100%, 0 calc(100% - var(--cut-lg))); }
.rec blockquote { margin: 0 0 1.25rem; }
.rec__pull { font-weight: 700; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.015em; color: var(--ink); margin: 0 0 .75rem; }
.rec__pull::before { content: "“"; color: var(--baby); margin-right: .05em; }
.rec__pull::after { content: "”"; color: var(--baby); }
.rec--feature .rec__pull { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.025em; }
.rec--feature figure { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0 clamp(1.5rem, 4vw, 3rem); align-items: end; background: var(--night); color: var(--on-night); }
.rec--feature .rec__pull { color: #fff; }
.rec--feature .rec__more p { color: var(--on-night-muted); }
.rec--feature .rec__by strong { color: #fff; }
.rec--feature .rec__by span span, .rec--feature .rec__by em { color: var(--on-night-muted); }
.rec--feature .rec__more summary { display: none; }
.rec__more summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--baby-strong); list-style: none; }
.rec__more summary::-webkit-details-marker { display: none; }
.rec__more summary::after { content: " +"; }
.rec__more[open] summary::after { content: " −"; }
.rec__more summary:hover { color: var(--accent); }
.rec__more p { font-size: .95rem; line-height: 1.6; color: var(--ink-2); margin: .75rem 0 0; }
.rec__by { display: flex; align-items: center; gap: 12px; }
.rec__by img, .rec__initials { flex: none; width: 48px; height: 48px; object-fit: cover; filter: grayscale(1);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.rec__initials { display: grid; place-items: center; background: var(--baby); color: #0B1220; font-weight: 700; font-size: .95rem; filter: none; }
.rec__by > span { display: grid; gap: 1px; }
.rec__by strong { font-weight: 650; color: var(--blue); }
.rec__name { text-decoration: none; }
.rec__name:hover strong { color: var(--accent); }
.rec__name strong::after { content: " ↗"; font-weight: 400; font-size: .8em; color: var(--muted); }
.rec__by span span { font-size: .85rem; color: var(--ink-2); }
.rec__by em { font-style: normal; font-size: .78rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__list a { padding: 8px 9px; font-size: .85rem; }
  .shelf { grid-template-columns: repeat(4, 1fr); }
  .races { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-header__cta { display: none; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; }
  .nav__list {
    display: none; flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem;
    background: var(--paper); box-shadow: 0 1px 0 var(--line);
  }
  .nav__list.is-open { display: flex; }
  .nav__list a { padding: .9rem 0; font-size: 1.1rem; box-shadow: 0 1px 0 var(--line); }
  .nav__list a:hover { background: transparent; }

  .hero__grid { grid-template-columns: 1fr; }
  .portrait { justify-self: start; width: min(100%, 360px); }
  .portrait__chips { position: static; flex-direction: row; flex-wrap: wrap; margin-top: 1rem; }
  .portrait__chips li:nth-child(even) a { margin-left: 0; }
  .hero__name { margin-bottom: 1.5rem; }

  .ventures, .sides, .values { grid-template-columns: 1fr 1fr; }
  .path, .contact__grid, .show, .ride, .writing, .rec--feature figure { grid-template-columns: 1fr; }
  .talks { grid-template-columns: 1fr 1fr; }
  .work-card--video, .work-card--wide { grid-template-columns: 1fr; }
  .talk--feature a { grid-template-columns: 1fr; }
  .talk--feature { grid-column: 1 / -1; }
  .talk--feature .talk__media { grid-row: auto; }
  .build__branch { display: none; }
  .build__panel { margin-top: 1.5rem; }
  .path__head, .show__head { position: static; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .candid { grid-template-columns: 1fr; justify-items: start; }
  .site-footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero__name em { padding-left: 0; }
  .stats { grid-template-columns: 1fr; gap: 1.25rem; }
  .stats__item { display: grid; grid-template-columns: 7.5rem 1fr; align-items: baseline; gap: 1rem; }
  .stats dd { margin: 0; }
  .routine { grid-template-columns: 1fr; }
  .routine__step, .routine__step + .routine__step { padding: 1.1rem 0; box-shadow: none; }
  .routine__step + .routine__step { box-shadow: 0 -1px 0 var(--line); }
  .ventures, .sides, .values, .work-grid, .form__row, .talks { grid-template-columns: 1fr; }
  .side { min-height: 0; }
  .work-card--feature, .work-card--span2 { grid-column: auto; grid-row: auto; }
  .work-card--span2 .work-card__media { aspect-ratio: 4 / 3; }
  .work-card--feature .work-card__media { aspect-ratio: 4 / 3; min-height: 0; }
  .shelf { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .albums { columns: 2; column-gap: 12px; }
  .album { margin-bottom: 20px; }
  .album__title { font-size: 1.1rem; }
  .races { grid-template-columns: repeat(2, 1fr); }
  .episode { flex-direction: column; align-items: flex-start; }
  .timeline__item { grid-template-columns: 1fr; gap: .25rem; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
