@font-face {
  font-family: "OpenAI Sans";
  src: url("https://cdn.openai.com/common/fonts/openai-sans/v4/OpenAISans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0-36F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2190-21FF, U+FB00-FB06, U+FFFD;
}

@font-face {
  font-family: "OpenAI Sans";
  src: url("https://cdn.openai.com/common/fonts/openai-sans/v4/OpenAISans-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0-36F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2190-21FF, U+FB00-FB06, U+FFFD;
}

@font-face {
  font-family: "OpenAI Sans";
  src: url("https://cdn.openai.com/common/fonts/openai-sans/v4/OpenAISans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0-36F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF, U+2190-21FF, U+FB00-FB06, U+FFFD;
}

@font-face {
  font-family: "OpenAI Korean Variable";
  src: url("https://cdn.openai.com/common/fonts/openai-sans/v4/OpenAISansHangulVariable.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+1100-11FF, U+3130-318F, U+A960-A97F, U+AC00-D7AF;
}

@font-face {
  font-family: "OpenAI Sans";
  src: url("https://cdn.openai.com/common/fonts/openai-sans/v4/OpenAISans-BoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --brand: #ff4d00;
  --brand-ink: light-dark(#a63305, #ff985f);
  --paper: light-dark(#fff, #1a1a1a);
  --surface: light-dark(#f7f8f9, #242424);
  --charcoal: light-dark(#1a1a1a, #f3f2ef);
  --body-ink: light-dark(#313337, #d8d8d5);
  --muted: light-dark(#5e646b, #b0b0ad);
  --line: light-dark(#e5e7ea, #3c3c3c);
  --hover: light-dark(#f2f2f2, #303030);
  --header: 70px;
  --header-inner-height: calc(var(--header) - 1px);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --reading-width: 46rem;
  --toc-width: 12.5rem;
  --hangul-font: "OpenAI Korean Variable";
  font-family: "OpenAI Sans", var(--hangul-font), "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 100%;
  background: var(--paper);
  color: var(--charcoal);
  -webkit-text-size-adjust: 100%;
}

@media (width < 900px) {
  :root[data-defer-hangul] { --hangul-font: "Apple SD Gothic Neo"; }
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
input, select, textarea, pre, code, kbd, samp { font-family: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: light-dark(#ffdfcd, #743c24); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 4px; }
[id] { scroll-margin-block-start: calc(var(--header) + 1.75rem); }

.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus {
  position: fixed;
  z-index: 10;
  inset: 0.5rem auto auto 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 5;
  background: var(--paper);
}


.site-header__inner, .site-footer {
  width: calc(100% - 2 * clamp(1.25rem, 2vw, 2.25rem));
  margin-inline: auto;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: var(--header-inner-height);
  align-items: center;
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
}

.odd-mark {
  display: block;
  width: clamp(5.75rem, 8vw, 6.75rem);
  height: auto;
}

.brand { grid-column: 2; justify-self: center; }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; }
.feed-link { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; font-size: 0.875rem; font-weight: 600; }
.feed-link:hover { color: var(--brand-ink); }
.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.theme-toggle:hover { background: var(--hover); }
.theme-toggle svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle[aria-pressed="true"] .moon, .theme-toggle[aria-pressed="false"] .sun { display: none; }

.archive-back:hover, .article-end a:hover {
  color: var(--brand-ink);
}

.home {
  width: 100%;
  --overview-height: 35svh;
  --archive-top: calc(var(--header-inner-height) + var(--overview-height));
}
.studio-hero {
  position: relative;
  display: grid;
  margin-top: calc(-1 * var(--header-inner-height));
  min-height: 100vh;
  min-height: 100dvh;
  padding-inline: clamp(1.25rem, 6vw, 6.5rem);
  box-shadow: inset 0 -1px var(--line);
}
.studio-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(12rem, 50svh, 34rem);
  isolation: isolate;
}
.studio-dial {
  --dial-ink: light-dark(#cfccc8, #484542);
  position: absolute;
  z-index: -1;
  width: min(76vw, 52svh, 34rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-conic-gradient(var(--dial-ink) 0deg 0.34deg, transparent 0.34deg 6deg);
  mask-image: radial-gradient(closest-side, transparent calc(100% - 8px), black calc(100% - 7px));
}
.studio-stage h1 { width: min(86%, 45vw, 40rem); aspect-ratio: 614 / 268; line-height: 0; }
.studio-stage img { display: block; width: 100%; height: auto; }
.studio-scroll {
  position: absolute;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  right: clamp(1.25rem, 6vw, 6.5rem);
}
.studio-scroll-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.2rem;
}
.studio-scroll:is(:hover, :focus-visible) .studio-scroll-icon { background: var(--charcoal); color: var(--paper); }
#posts { scroll-margin-block-start: var(--header-inner-height); }
.track-overview {
  position: sticky;
  top: var(--header-inner-height);
  z-index: 4;
  display: grid;
  align-content: center;
  justify-items: center;
  height: var(--overview-height);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.track-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.8vw, 1.75rem);
  width: min(calc(100% - 2 * var(--gutter)), 43rem);
}
.track-development { --track-color: #ff743c; }
.track-discovery { --track-color: #c18de9; }
.track-experience { --track-color: #629cf4; }
.track-reach { --track-color: #65c49a; }

/* The marks sample 207px windows at x = 0, 210 and 416 on the original 614px board. */
.track-letter {
  display: block;
  width: 100%;
  aspect-ratio: 207 / 211;
  background-color: currentColor;
  mask: url("./odd-logo.png") var(--mark-offset, 0%) top / 296.6184% auto no-repeat;
}
.mark-d { --mark-offset: 51.597%; }
.track-symbol:nth-child(n + 3) .mark-d { --mark-offset: 102.2113%; }
.track-symbol {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: end;
  padding: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}
.track-slot {
  display: block;
  width: min(100%, 20svh, 10rem);
  aspect-ratio: 207 / 211;
}
.track-symbol .track-letter {
  color: var(--track-color);
}
/* Fade the symbol and name independently across the empty band in the source PNG. */
.mark-in-flight .studio-hero { box-shadow: none; }
.mark-in-flight #studio-title img {
  position: fixed;
  top: 0;
  left: var(--logo-left);
  width: var(--logo-width);
  transform: translate3d(0, var(--wordmark-y), 0);
  mask-image: linear-gradient(to bottom,
    rgb(0 0 0 / var(--source-opacity, 1)) 80%,
    rgb(0 0 0 / var(--wordmark-opacity, 1)) 80%);
  pointer-events: none;
}
.mark-in-flight .studio-dial { opacity: var(--dial-opacity); }
.mark-in-flight .studio-scroll:not(:focus-visible) { opacity: var(--cue-opacity); }
.mark-in-flight .track-symbol .track-letter {
  position: fixed;
  inset: 0 auto auto 0;
  width: 207px;
  height: 211px;
  translate: none;
  transform-origin: top left;
  transform: var(--flight-transform);
  opacity: var(--flight-opacity, var(--glyph-opacity, 0));
  will-change: transform;
  transition: none;
  pointer-events: none;
}
.mark-in-flight .track-symbol .track-letter::before {
  content: "";
  position: absolute;
  inset: 0 -30%;
  background: linear-gradient(90deg, transparent, #fe4a00 16% 84%, transparent);
  transform: translate3d(var(--orange-shift, 0%), 0, 0);
}

.track-menu { display: none; }
.track-section { display: grid; grid-template-columns: 1fr 1fr; }
.track-section, .track-story { scroll-margin-block-start: var(--archive-top); }
.track-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--track-color);
  color: #171717;
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.3;
}
.track-panel .track-letter { width: clamp(6rem, 15vw, 13rem); }
.track-display { display: none; }
@media (min-width: 900px) {
  .interactive.track-archive { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .interactive .track-display {
    display: flex;
    position: sticky;
    top: var(--archive-top);
    height: calc(100svh - var(--archive-top));
    padding: clamp(0.5rem, 3svh, 2rem);
    gap: clamp(0.25rem, 1.5svh, 1rem);
    transition: background-color 200ms ease;
  }
  .track-display .track-letter { width: min(15vw, 13rem, 25svh); }
  .interactive .track-groups { display: grid; align-self: stretch; }
  .interactive :is(.track-section, .track-stories, .track-stories li) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .interactive .track-section .track-panel { display: none; }
}
.track-stories, .empty-track {
  margin: 0;
  padding: 0 clamp(1.25rem, 3.4vw, 3rem);
  border-top: 1px solid var(--line);
  list-style: none;
}
.track-section:last-child :is(.track-stories, .empty-track) { border-bottom: 1px solid var(--line); }
.empty-track { padding-block: 1.5rem; color: var(--muted); }
.track-stories li + li { border-top: 1px solid var(--line); }
.track-story {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 6.65rem;
  gap: 1rem;
  padding: 1.45rem 0;
}
.track-story h3 {
  font-size: clamp(1.03rem, 1.4vw, 1.22rem);
  line-height: 1.38;
  letter-spacing: -0.045em;
}
.track-story:is(:hover, :focus-visible) h3 { text-decoration: underline; text-underline-offset: 0.18em; }
.track-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.87rem;
}
.track-meta { margin-top: 0.38rem; font-size: 0.8rem; }
.story-marker { display: grid; place-items: center; flex: none; min-width: 2ch; color: var(--muted); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.story-marker > * { grid-area: 1 / 1; }
.story-marker img { display: none; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .story-marker {
    --unfold: cubic-bezier(0.2, 0.85, 0.26, 1.08);
    pointer-events: none;
  }
  .story-marker > span {
    transition: transform 210ms ease-out, opacity 150ms ease-out 25ms;
  }
  .story-marker::before {
    content: "";
    grid-area: 1 / 1;
    place-self: stretch;
    border-radius: 8px;
    background: var(--track-color);
    transform: translateY(4px) rotate(2deg) scale(0.7);
    opacity: 0;
    transition: transform 170ms ease-out, opacity 140ms ease-out;
  }
  .story-marker img {
    display: block;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 16%);
    transform-origin: 50% 75%;
    transform: translateY(7px) rotate(9deg) scale(0.72);
    opacity: 0;
    transition: transform 180ms ease-out, opacity 130ms ease-out;
  }
  .track-story:is(:hover, :focus-visible) .story-marker > span {
    transform: translateY(-7px) scale(0.92);
    opacity: 0;
    transition: transform 160ms ease-out, opacity 110ms ease-out;
  }
  .track-story:is(:hover, :focus-visible) .story-marker::before {
    transform: translate(-3px, 1px) rotate(-7deg) scale(0.98);
    opacity: 1;
    transition: transform 260ms var(--unfold), opacity 130ms ease-out;
  }
  .track-story:is(:hover, :focus-visible) .story-marker img {
    transform: translate(1px, -1px) rotate(0deg) scale(1);
    opacity: 1;
    transition: transform 340ms var(--unfold) 20ms, opacity 155ms ease-out 20ms;
  }
}
.cover {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--hover);
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-block: 1.15rem 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
.footer-brand .odd-mark { width: 4.5rem; }

.reading {
  display: grid;
  grid-template-columns: var(--toc-width) minmax(0, var(--reading-width)) var(--toc-width);
  column-gap: 3rem;
  justify-content: center;
  margin: 0 auto 4.5rem;
}

.post {
  grid-column: 2;
  min-width: 0;
  margin: clamp(2.4rem, 4.8vw, 4.5rem) 0 0;
}

.archive-back {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.archive-back span { font-size: 1.2em; line-height: 1; }
.article-header { margin-top: 1.35rem; overflow-wrap: anywhere; }
.byline { display: flex; align-items: flex-end; gap: 0; margin-block-start: 1rem; }
.author-photo { display: block; flex: none; border-radius: 50%; object-fit: cover; }
.author-name { font-size: 0.88rem; line-height: 1; font-weight: 600; }
.article-header h1 {
  margin-block-end: 0.75rem;
  font-size: clamp(1.5rem, 1.375rem + 1vw, 2.25rem);
  line-height: 1.22;
  text-wrap: balance;
  letter-spacing: -0.052em;
}


.article-lede {
  color: var(--muted);
  font-size: clamp(1.06rem, 2.2vw, 1.25rem);
  line-height: 1.64;
  word-break: keep-all;
}

.toc-sticky {
  --toc-muted: light-dark(#555d6d, #b0b0ad);
  --toc-ink: light-dark(#0f172a, #f3f2ef);
  --toc-top: calc(var(--header) + 3.375rem);
  position: sticky;
  top: var(--toc-top);
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - var(--toc-top) - 0.5rem);
  padding-inline-end: 1rem;
}

.toc-sticky h2 {
  color: var(--toc-muted);
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1rem;
}

.toc-list, .toc-list ul { margin: 0; padding: 0; list-style: none; }
.toc-list a { display: block; overflow-wrap: anywhere; }
.toc-list a:focus-visible { outline-offset: -2px; }
.toc-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  margin-inline-start: 1px;
  padding-block: 0.75rem;
  mask-image: linear-gradient(to bottom, transparent, black 1rem, black calc(100% - 1rem), transparent);
}
.toc-tree { position: relative; }
.toc-track {
  position: absolute;
  inset: 0 auto auto 0;
  pointer-events: none;
  overflow: visible;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: square;
}
.toc-guide { stroke: light-dark(rgb(26 28 32 / 10%), rgb(255 255 255 / 18%)); }
.toc-indicator {
  stroke: var(--toc-ink);
  clip-path: inset(0 0 100%);
  transition: clip-path 150ms ease, opacity 150ms ease;
  opacity: 0;
}
.toc-sticky .toc-list a {
  padding: 0.375rem 0 0.375rem 1.25rem;
  color: var(--toc-muted);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.25rem;
}
.toc-sticky .toc-list ul a { padding-inline-start: 2rem; }
.toc-sticky .toc-list > li:first-child > a { padding-block-start: 0; }
.toc-sticky .toc-list > li:last-child > a:only-child,
.toc-sticky .toc-list > li:last-child > ul > li:last-child > a { padding-block-end: 0; }
.toc-sticky a:is([data-visible], :hover) { color: var(--toc-ink); }
.toc-mobile { display: none; }

.article-cover { margin-top: 2rem; }
.article-cover .cover { aspect-ratio: 2.2; border-radius: 0.85rem; }
.prose {
  margin-block-start: clamp(2.25rem, 4vw, 3rem);
  color: var(--body-ink);
  font-size: clamp(1rem, 0.97rem + 0.18vw, 1.11rem);
  line-height: 1.82;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.prose :where(p, ul, ol, pre, blockquote, figure, h2, h3, h4, h5, h6, hr) { margin: 0; }
.prose :where(section, blockquote, li), .prose { min-width: 0; }
.prose > * + *, .prose :where(section, blockquote, li) > * + * { margin-block-start: 1em; }
.prose > :is(h2, section):not(:first-child),
.prose section + section { margin-block-start: clamp(2.3rem, 5vw, 3rem); }
.prose section > section, .prose > :is(h3, h4, h5, h6):not(:first-child) { margin-block-start: 1.75rem; }
.prose :is(h2, h3, h4, h5, h6) { color: var(--charcoal); line-height: 1.4; text-wrap: pretty; }
.prose h2 { font-size: clamp(1.25rem, 1.125rem + 0.375vw, 1.375rem); letter-spacing: -0.045em; }
.prose :is(h3, h4, h5, h6) { font-size: 1rem; letter-spacing: -0.025em; }
.prose :is(h2, h3, h4, h5, h6) + * { margin-block-start: 0.65rem; }
.prose a:not(.heading-link) {
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-underline-offset: 0.2em;
}
.prose a:not(.heading-link):hover { color: var(--brand-ink); text-decoration-color: currentColor; }
.heading-link { margin-left: 0.45rem; color: var(--brand-ink); font-size: 0.75em; opacity: 0; }
.prose :is(h2, h3, h4, h5, h6):hover .heading-link, .heading-link:focus-visible { opacity: 1; }

.prose :is(ul, ol) { padding-inline-start: 1.55em; }
.prose li + li { margin-block-start: 0.3em; }
.prose li > :is(ul, ol) { margin-block-start: 0.35em; }
.prose li::marker { color: var(--muted); }
.prose blockquote { padding-inline-start: 1em; border-inline-start: 3px solid var(--brand-ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.25rem; }

.prose pre, .table-scroll { max-width: 100%; overflow-x: auto; }
.prose pre {
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--surface);
  line-height: 1.65;
  tab-size: 4;
}
.prose code { font-size: 0.92em; }
.prose :not(pre) > code {
  padding: 0.12em 0.32em;
  border-radius: 0.25rem;
  background: var(--surface);
  color: var(--charcoal);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: 0.94rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  overflow-wrap: normal;
}
/* An author can also include a plain HTML table in a Markdown post. */
.prose table:not(.table-scroll table) { display: block; max-width: 100%; overflow-x: auto; }
.prose :is(.table-scroll, table:not(.table-scroll table)) {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}
.prose table tr:last-child > td,
.prose table tbody:last-child > tr:last-child > th { border-bottom: 0; }
.prose table caption { padding: 0.6rem 0.9rem; }
.prose :is(th, td) {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem clamp(0.55rem, 2vw, 0.95rem);
  vertical-align: top;
  text-align: inherit;
}
.prose th { background: var(--surface); color: var(--charcoal); font-weight: 600; }
.prose thead th { white-space: nowrap; }
.article-table th { width: 42%; }
.prose :is(figcaption, caption) {
  padding-block-start: 0.55rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.55;
  text-align: start;
}
.prose caption { caption-side: bottom; }
.prose :where(img, video, audio, iframe) { max-width: 100%; }
.prose :is(img, video) { display: block; height: auto; border-radius: 0.5rem; }
.prose video { width: 100%; background: var(--surface); }
.clip-player { position: relative; }
.clip-start {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 999px;
  color: white;
  background: rgb(26 26 26 / 90%);
}

.prose figure img { margin-inline: auto; max-height: 80svh; object-fit: contain; }
.prose audio { display: block; width: 100%; }
.prose iframe:is([src*="youtube.com/embed/"], [src*="youtube-nocookie.com/embed/"], [src*="player.vimeo.com/video/"]) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}
.diagram-scroll {
  --diagram-paper: light-dark(#fffaf5, #24201d);
  --diagram-edge: light-dark(#ac775b, #d69c7c);
  --diagram-border: light-dark(#cba890, #957863);
  overflow-x: auto;
  padding: 1rem 0.25rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background-color: var(--diagram-paper);
  background-image: radial-gradient(circle, light-dark(#e8daca, #423830) 0.7px, transparent 1px);
  background-size: 14px 14px;
}
.diagram-scroll > div { width: max-content; min-width: 100%; }
.prose > :is(figure, .table-scroll, pre) { margin-block: 1.5rem; }

.article-end {
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem 1.5rem;
  justify-content: space-between;
  margin-top: 2.45rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
}

@media (width < 80rem) {
  .reading { display: block; width: min(100% - var(--gutter) * 2, var(--reading-width)); }
  .toc-rail { display: none; }
  .toc-mobile {
    display: block;
    margin-top: 1.75rem;
    padding-block: 1.25rem;
    border-block: 1px solid var(--line);
  }
  .toc-mobile h2 { margin: 0 0 0.55rem; font-size: 0.94rem; font-weight: 650; }
  .toc-mobile .toc-list a {
    padding-block: 0.4rem;
    color: var(--body-ink);
    font-size: 0.94rem;
    line-height: 1.45;
  }
  .toc-mobile .toc-list ul { margin-inline-start: 0.2rem; padding-inline-start: 1rem; border-inline-start: 1px solid var(--line); }
  .toc-mobile .toc-list ul a { color: var(--muted); }
  .toc-mobile a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: 0.2em; }
}

@media (max-width: 600px) {
  :root { --header: 60px; }
  .studio-stage h1 { width: min(86%, 24rem); }
  .studio-scroll { right: 50%; transform: translateX(50%); }
  .article-cover .cover { aspect-ratio: 1.7; }
}

@media (width < 900px) {
  .site-header .brand { min-height: 2.75rem; }
  .site-header .odd-mark { width: 4.5rem; }
  .home {
    --archive-top: var(--header-inner-height);
    --menu-height: 3.5rem;
    --overview-height: clamp(14rem, 50svh, 27rem);
  }
  .track-overview { position: relative; top: auto; z-index: 1; }
  .track-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(calc(100% - 2rem), 15.5rem, 58svh);
    gap: 0.75rem;
  }
  .track-slot { width: min(100%, 18svh); }
  .track-section { display: block; }
  .interactive :is(.track-section, .track-story) { scroll-margin-block-start: calc(var(--archive-top) + var(--menu-height) + 2px); }
  .track-panel { min-height: min(96vw, 60svh, 23.5rem); padding: 2rem; gap: 1rem; font-size: 1.75rem; }
  .track-panel .track-letter { width: min(38vw, 28svh, 10rem); }
  .interactive .track-menu {
    display: block;
    position: sticky;
    top: var(--archive-top);
    z-index: 3;
    background: var(--paper);
    border-block: 1px solid var(--line);
  }
  .track-menu summary, .track-menu nav a { display: flex; align-items: center; gap: 0.6rem; min-height: var(--menu-height); padding: 0.65rem var(--gutter); }
  .track-menu summary { justify-content: space-between; font-size: 0.94rem; font-weight: 600; list-style: none; }
  .track-menu summary::-webkit-details-marker { display: none; }
  .track-menu summary::after { content: ""; width: 0.55rem; height: 0.55rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
  .track-menu[open] summary::after { transform: rotate(225deg); }
  .track-menu nav { position: absolute; inset: 100% 0 auto; max-height: calc(100dvh - var(--archive-top) - var(--menu-height) - 2px); overflow-y: auto; border-block: 1px solid var(--line); background: var(--paper); }
  .track-menu a[aria-current] { font-weight: 700; background: var(--surface); }
  .menu-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--track-color); }
  .track-stories, .empty-track { padding-inline: var(--gutter); border: 0; }
  .track-story { padding-block: 1.4rem; min-height: 6.25rem; }
}
/* Fade only the backdrop. The sticky controls stay sharp and keep their hit areas. */
@media (width < 900px) and (not (prefers-reduced-transparency: reduce)) {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) and
            ((mask-image: linear-gradient(black, transparent)) or (-webkit-mask-image: linear-gradient(black, transparent))) {
    .site-header, .interactive .track-menu {
      background: transparent;
    }
    .interactive .track-menu { border-color: transparent; }
    .interactive .track-menu summary { position: relative; z-index: 0; }

    .site-header::before, .site-header::after, .interactive .track-menu summary::before {
      content: "";
      position: absolute;
      inset: 0 0 -0.875rem;
      z-index: -1;
      pointer-events: none;
      background: color-mix(in srgb, var(--paper) 80%, transparent);
      -webkit-backdrop-filter: blur(5px);
      backdrop-filter: blur(5px);
      -webkit-mask-image: linear-gradient(black 59%, transparent);
      mask-image: linear-gradient(black 59%, transparent);
    }
    .site-header::after, .interactive .track-menu summary::before {
      -webkit-backdrop-filter: blur(12px);
      backdrop-filter: blur(12px);
    }
    .site-header::after {
      inset-block-end: 0;
      -webkit-mask-image: linear-gradient(black 20%, transparent);
      mask-image: linear-gradient(black 20%, transparent);
    }
    .interactive .track-menu summary::before {
      background: color-mix(in srgb, var(--paper) 88%, transparent);
      -webkit-mask-image: linear-gradient(black 64%, transparent);
      mask-image: linear-gradient(black 64%, transparent);
    }
    /* Once the topic picker docks, one continuous backdrop serves both bars. */
    body:has(.track-menu[data-pinned]) .site-header::before,
    body:has(.track-menu[data-pinned]) .site-header::after { content: none; }
    .interactive .track-menu[data-pinned] summary::before {
      inset-block-start: calc(-1 * var(--archive-top) - 1px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media (prefers-reduced-motion: no-preference) {
  html:has(.track-archive.interactive) { scroll-behavior: smooth; }
}

.article-dates { margin-block-start: 3rem; color: var(--muted); font-size: 0.875rem; }
