/* ==========================================================================
   Fardin Fahad — warm, photo-led design system
   Cream paper, warm brown ink, terracotta accent, soft peach surfaces.
   Fraunces (soft serif) for display, Plus Jakarta Sans for UI, Newsreader for reading.
   ========================================================================== */

:root {
  --cream: #FBF6EE;
  --paper: #FFFDF9;
  --peach: #F7E6D7;
  --peach-2: #F0D5BF;
  --sand: #EEE5D8;
  --sage: #DDE4D2;
  --butter: #F7E9BE;
  --ink: #241C17;
  --ink-2: #4B4038;
  --muted: #84766A;
  --line: rgba(36, 28, 23, .12);
  --brown: #2C211B;
  --brown-2: #3A2C24;
  --accent: #D0552E;
  --accent-deep: #A8411F;
  --accent-soft: #F5CDB9;
  --on-dark: #FBF1E6;
  --on-dark-muted: rgba(251, 241, 230, .68);
  --on-dark-line: rgba(251, 241, 230, .16);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --read: "Newsreader", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4.4vw, 64px);
  --col-gap: clamp(14px, 2vw, 28px);
  --section: clamp(80px, 10vw, 152px);
  --mast-h: 76px;
  --r-lg: clamp(20px, 2.2vw, 32px);
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(60, 35, 20, .06), 0 12px 32px -12px rgba(60, 35, 20, .18);
  --photo-tone: sepia(.2) saturate(1.1) contrast(1.04) brightness(1.02);

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--mast-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, ol, ul, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--paper); }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .newsletter :focus-visible, .footer :focus-visible, .menu :focus-visible, .about-intro :focus-visible { outline-color: var(--on-dark); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.025em; }
h1 em, h2 em, h3 em, .serif { font-family: var(--display); font-style: italic; font-weight: 400; }
.serif { font-variation-settings: "SOFT" 100; }
h1.serif, h2.serif { font-style: normal; font-weight: 600; font-variation-settings: "SOFT" 100, "opsz" 144; }
.muted { color: var(--muted); }
.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: fixed; top: 12px; left: 12px; z-index: 300; background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 999px; transform: translateY(-160%); transition: transform .2s var(--ease); }
.skip:focus { transform: none; }

/* ---------- type primitives ---------- */
.label { font: 600 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.label__num { display: none; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 6px; border-radius: 999px;
  background: var(--peach); color: var(--accent-deep);
  font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow--light, .dark .eyebrow { background: rgba(251, 241, 230, .14); color: var(--on-dark); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--muted); }
.dark .meta { color: var(--on-dark-muted); }
.meta__sep { opacity: .45; }
.meta .tag { color: var(--accent-deep); font-weight: 600; }
.meta .tag:hover { text-decoration: underline; text-underline-offset: 3px; }
.note-small { font-size: 14px; color: var(--muted); max-width: 42ch; }

.link-u {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1.5px; padding-bottom: 3px;
  transition: background-size .45s var(--ease-out), color .3s;
}
.link-u:hover { color: var(--accent-deep); background-size: 0 1.5px; background-position: 100% 100%; }
.dark .link-u:hover, .footer .link-u:hover { color: var(--accent-soft); }

.arrow { flex: none; transition: transform .45s var(--ease-out); }
a:hover > .arrow, button:hover > .arrow, a:hover .tile__foot .arrow { transform: translateX(4px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 15px/1 var(--sans);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--accent, .btn--ink { background: var(--accent); color: var(--paper); box-shadow: 0 10px 24px -10px rgba(208, 85, 46, .7); }
.btn--accent:hover, .btn--ink:hover { background: var(--accent-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--light, .btn--ivory { background: var(--cream); color: var(--ink); }
.btn--light:hover, .btn--ivory:hover { background: var(--paper); }

.icon-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 1.5px solid currentColor; border-radius: 50%; background: none;
  transition: background .3s, color .3s;
}
.icon-btn:hover { background: var(--on-dark); color: var(--brown); }
.icon-btn:disabled { opacity: .3; pointer-events: none; }
.play-ico { display: inline-block; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }

/* ---------- photographs ---------- */
.photo, .portrait-img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-tone); }

/* ---------- motion primitives ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .12em 0; margin-bottom: -.12em; }
.w > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
@keyframes rise { to { transform: none; } }
[data-enter] { opacity: 0; animation: enter .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(18% 8% 18% 8% round var(--r-lg)); transition: clip-path 1.3s var(--ease-in-out); }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js [data-reveal="mask"] > :first-child { transform: scale(1.12); transition: transform 1.8s var(--ease-out); }
.js [data-reveal="mask"].is-in > :first-child { transform: none; }
[data-parallax] { will-change: transform; }

/* ---------- masthead ---------- */
.masthead {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--mast-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter); color: var(--ink);
  transition: transform .5s var(--ease-out), background-color .35s, box-shadow .35s, color .35s;
}
.masthead.is-scrolled { background: rgba(251, 246, 238, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.masthead.is-hidden { transform: translateY(-100%); }
.page-dark .masthead:not(.is-scrolled) { color: var(--on-dark); }
.page-dark .masthead.is-scrolled { background: rgba(44, 33, 27, .92); color: var(--on-dark); box-shadow: 0 1px 0 var(--on-dark-line); }
.wordmark { justify-self: start; font: 600 23px/1 var(--display); font-variation-settings: "SOFT" 100, "opsz" 72; letter-spacing: -.02em; }
.wordmark i { font-style: normal; color: var(--accent); display: inline-block; transition: transform .5s var(--ease-out); }
.wordmark:hover i { transform: translateY(-4px); }
.nav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(247, 230, 215, .6); font-size: 14.5px; font-weight: 600; }
.page-dark .nav { background: rgba(251, 241, 230, .1); }
.nav a { padding: 8px 15px; border-radius: 999px; transition: background .3s, color .3s; }
.nav a:hover { background: var(--paper); }
.nav a[aria-current] { background: var(--ink); color: var(--cream); }
.page-dark .nav a:hover { background: rgba(251, 241, 230, .14); }
.page-dark .nav a[aria-current] { background: var(--on-dark); color: var(--brown); }
.masthead__end { display: flex; align-items: center; gap: 16px; justify-self: end; }
.masthead__cta { font-size: 14px; font-weight: 700; padding: 11px 18px; border-radius: 999px; background: var(--accent); color: var(--paper); transition: background .3s, transform .3s var(--ease-out); }
.masthead__cta:hover { background: var(--accent-deep); transform: translateY(-1px); }
.admin-pill { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-deep); }
.menu-btn { display: none; align-items: center; gap: 10px; background: var(--paper); border: 0; padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: 0 0 0 1px var(--line); }
.menu-btn__icon { display: grid; gap: 4px; width: 18px; }
.menu-btn__icon i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-out); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
.menu-open .masthead { color: var(--on-dark); background: transparent; box-shadow: none; transform: none; backdrop-filter: none; }
.menu-open .menu-btn { background: rgba(251, 241, 230, .12); box-shadow: none; }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--brown); color: var(--on-dark);
  padding: calc(var(--mast-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 60px) 38px); transition: clip-path .75s var(--ease-in-out);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 60px) 38px); }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--on-dark-line); }
.menu__list a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0 10px;
  font: 500 clamp(40px, 11vw, 84px)/1 var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -.03em;
  transform: translateY(110%); transition: transform .8s var(--ease-out), color .3s; transition-delay: calc(var(--i) * 55ms + 180ms);
}
.menu.is-open .menu__list a { transform: none; }
.menu__list a:hover { color: var(--accent-soft); font-style: italic; }
.menu__num { font: 700 12px/1 var(--sans); letter-spacing: .08em; color: var(--accent-soft); transform: translateY(-1.4em); }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 32px; color: var(--on-dark-muted); }
.menu__foot a { color: var(--on-dark); }

/* ---------- shared scaffolding ---------- */
section { position: relative; }
.dark { background: var(--brown); color: var(--on-dark); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: clamp(32px, 4.5vw, 64px); }
.section-head > div:not(.hscroll-ctrl) { display: grid; gap: 18px; justify-items: start; }
.section-title { font-size: clamp(36px, 4.8vw, 72px); line-height: 1; max-width: 18ch; }
.section-title em { color: var(--accent); }
.dark .section-title em { color: var(--accent-soft); }

/* ==========================================================================
   Hero — photo-led
   ========================================================================== */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center;
  gap: clamp(32px, 5vw, 88px);
  min-height: min(100svh, 980px);
  padding: calc(var(--mast-h) + clamp(24px, 4vw, 56px)) var(--gutter) clamp(48px, 6vw, 88px);
}
.hero__text { display: grid; gap: clamp(20px, 2.4vw, 32px); justify-items: start; }
.hero__hello { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--sans); color: var(--ink-2); padding: 9px 16px 9px 12px; background: var(--paper); border-radius: 999px; box-shadow: var(--shadow); }
.hero__dot { width: 10px; height: 10px; border-radius: 50%; background: #3BA55C; box-shadow: 0 0 0 4px rgba(59, 165, 92, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(59, 165, 92, 0); } }
.hero__title { font-size: clamp(54px, 7.4vw, 124px); line-height: .94; font-weight: 600; }
.hero__title .ln { display: block; }
.hero__title em { color: var(--accent); font-weight: 400; }
.hero__lede { font: 400 clamp(18px, 1.45vw, 21px)/1.6 var(--sans); color: var(--ink-2); max-width: 46ch; }
.hero__links { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__roles { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__roles li { font-size: 13px; font-weight: 600; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.hero__photo { position: relative; align-self: stretch; min-height: 440px; max-height: 760px; }
.hero__photo-inner { position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.hero__photo-inner .photo, .hero__photo-inner .portrait-img { object-position: 62% 30%; transform: scale(1.08); }
.hero__badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 999px; background: var(--paper); box-shadow: var(--shadow);
  font-size: 15px; color: var(--ink-2); animation: float 6s ease-in-out infinite;
}
.hero__badge strong { color: var(--accent-deep); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* monogram fallback when no photo is set */
.monogram { width: 100%; height: 100%; min-height: 100%; position: relative; overflow: hidden; background: var(--accent); color: var(--cream); container-type: inline-size; }
.monogram__f1 { position: absolute; left: 10%; top: 4%; font: italic 400 76cqi/1 var(--display); }
.monogram__f2 { position: absolute; right: 10%; bottom: -4%; font: 700 60cqi/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--cream); }
.monogram__rule { display: none; }

/* ==========================================================================
   Ticker
   ========================================================================== */
.ticker { background: var(--accent); color: var(--paper); overflow: hidden; padding: clamp(14px, 1.8vw, 24px) 0; transform: rotate(-1.2deg); margin: 8px -12px; box-shadow: 0 14px 30px -18px rgba(168, 65, 31, .7); }
.ticker__track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__run { display: flex; align-items: center; flex: none; }
.ticker__word { font: 500 clamp(40px, 6.6vw, 104px)/1.05 var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -.03em; padding: 0 .28em; }
.ticker__word:nth-child(4n + 3) { font-style: italic; font-weight: 400; color: var(--butter); }
.ticker__slash { font-size: 0; color: var(--accent-soft); }
.ticker__slash::before { content: "✺"; font-size: clamp(22px, 3vw, 44px); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   Generated covers — warm treatments per topic
   ========================================================================== */
.gcover {
  position: relative; width: 100%; height: 100%; min-height: 100%; overflow: hidden; container-type: inline-size;
  --bg: var(--accent); --fg: var(--paper); --accent-c: var(--paper);
  background-color: var(--bg); color: var(--fg); transition: transform 1.1s var(--ease-out);
}
.gcover__num { position: absolute; top: 7cqi; left: 7cqi; font: 700 max(11px, 3.4cqi)/1 var(--sans); letter-spacing: .1em; opacity: .8; }
.gcover__mark { position: absolute; top: 6cqi; right: 7cqi; font: italic 500 max(13px, 5cqi)/1 var(--display); color: var(--accent-c); }
.gcover__word { position: absolute; left: 6cqi; bottom: 2cqi; font: italic 400 26cqi/.95 var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -.04em; color: var(--accent-c); white-space: nowrap; }
.gcover::after { content: ""; position: absolute; right: -18cqi; top: -18cqi; width: 70cqi; aspect-ratio: 1; border-radius: 50%; background: var(--blob, rgba(255, 255, 255, .14)); }
.tr-1 { --bg: var(--accent); --fg: var(--paper); --accent-c: var(--paper); --blob: rgba(255, 233, 210, .22); }
.tr-2 { --bg: var(--brown); --fg: var(--on-dark); --accent-c: var(--accent-soft); --blob: rgba(208, 85, 46, .35); }
.tr-3 { --bg: var(--peach); --fg: var(--ink); --accent-c: var(--accent-deep); --blob: rgba(208, 85, 46, .14); }
.tr-4 { --bg: var(--sage); --fg: var(--ink); --accent-c: #3E5A3A; --blob: rgba(255, 255, 255, .45); }
.tr-5 { --bg: var(--butter); --fg: var(--ink); --accent-c: var(--accent-deep); --blob: rgba(255, 255, 255, .5); }
.tr-6 { --bg: #E9DCF0; --fg: var(--ink); --accent-c: #5B3A73; --blob: rgba(255, 255, 255, .5); }
.tr-7 { --bg: #CFE0EA; --fg: var(--ink); --accent-c: #24506A; --blob: rgba(255, 255, 255, .5); }
.tr-8 { --bg: var(--accent-deep); --fg: var(--paper); --accent-c: var(--butter); --blob: rgba(247, 233, 190, .2); }
.cover-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
a:hover .cover-img, a:hover .gcover { transform: scale(1.04); }

/* ==========================================================================
   Featured story
   ========================================================================== */
.feature { padding: var(--section) var(--gutter) calc(var(--section) * .7); }
.feature .section-head { align-items: center; }
.feature__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); position: relative; }
.feature__media { grid-column: 1 / 9; grid-row: 1; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
.feature__media-inner { height: 112%; margin-top: -6%; }
.feature__cover .gcover__word { font-size: 24cqi; }
.feature__text {
  grid-column: 7 / 13; grid-row: 1; align-self: end; position: relative; z-index: 2;
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 44px); margin-bottom: clamp(-48px, -3vw, -24px);
}
.feature__title { font-size: clamp(34px, 3.9vw, 62px); line-height: 1.02; margin-bottom: 20px; }
.feature__title a { transition: color .3s; }
.feature__title a:hover { color: var(--accent-deep); }
.feature__aside { display: grid; gap: 18px; justify-items: start; }
.feature__dek { font: 400 18px/1.55 var(--sans); color: var(--ink-2); }
.feature__caption { display: none; }

/* ==========================================================================
   Topic tiles
   ========================================================================== */
.topics { padding: calc(var(--section) * .9) var(--gutter); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); }
.tile a {
  position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto auto; gap: 12px;
  height: 100%; min-height: 280px; padding: clamp(20px, 2vw, 28px); border-radius: var(--r-lg);
  background-color: var(--bg); color: var(--fg);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.tile a::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--blob); transition: transform .8s var(--ease-out); }
.tile a:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 24px 40px -22px rgba(60, 35, 20, .45); }
.tile a:hover::after { transform: scale(1.5); }
.tile__num { font: 700 12px/1 var(--sans); letter-spacing: .1em; opacity: .7; }
.tile__name { align-self: end; font: 600 clamp(24px, 2.2vw, 32px)/1.05 var(--display); font-variation-settings: "SOFT" 100, "opsz" 72; letter-spacing: -.02em; position: relative; z-index: 1; }
.tile__desc { font-size: 14px; line-height: 1.5; opacity: .85; position: relative; z-index: 1; }
.tile__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: 13px; font-weight: 700; position: relative; z-index: 1; }

/* ==========================================================================
   Latest writing
   ========================================================================== */
.latest { padding: var(--section) var(--gutter); background: var(--paper); }
.latest .section-head { align-items: center; }
.latest__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; }
.latest__lead { grid-column: 1 / 8; }
.latest__lead-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 24px; border-radius: var(--r-lg); }
.latest__lead-title { font-size: clamp(32px, 3.4vw, 54px); line-height: 1.04; margin: 12px 0 14px; max-width: 20ch; }
.latest__lead-title a:hover { color: var(--accent-deep); }
.latest__dek { font-size: 18px; color: var(--ink-2); max-width: 52ch; }
.latest__list { grid-column: 8 / 13; display: grid; gap: 10px; align-content: start; }
.latest__item { padding: 14px; border-radius: var(--r); transition: background .3s; }
.latest__item:hover { background: var(--cream); }
.latest__link { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; margin-bottom: 8px; }
.latest__thumb { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); }
.latest__thumb .gcover__word { font-size: 44cqi; }
.latest__thumb .gcover__num, .latest__thumb .gcover__mark { display: none; }
.latest__body { display: grid; gap: 6px; }
.latest__idx { color: var(--accent); }
.latest__title { font: 600 19px/1.3 var(--display); font-variation-settings: "SOFT" 100, "opsz" 36; letter-spacing: -.01em; transition: color .3s; }
.latest__link:hover .latest__title { color: var(--accent-deep); }
.latest__item .meta { padding-left: 114px; }

/* ==========================================================================
   About — full-bleed photograph
   ========================================================================== */
.about-intro { position: relative; overflow: hidden; color: var(--on-dark); background: var(--brown); min-height: min(92vh, 860px); display: flex; align-items: center; }
.about-intro__photo { position: absolute; inset: -6% 0; }
.about-intro__photo .photo, .about-intro__photo .portrait-img { object-position: 72% 40%; }
.about-intro::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(44, 33, 27, .94) 0%, rgba(44, 33, 27, .78) 38%, rgba(44, 33, 27, .1) 72%), linear-gradient(0deg, rgba(44, 33, 27, .5), transparent 40%);
}
.about-intro__text { position: relative; z-index: 2; display: grid; gap: 24px; justify-items: start; max-width: 600px; padding: var(--section) var(--gutter); }
.about-intro__title { font-size: clamp(52px, 6.6vw, 110px); line-height: .95; }
.about-intro__title em { color: var(--accent-soft); }
.about-intro__bio { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--on-dark-muted); max-width: 44ch; }
.about-intro__quote { font: italic 400 clamp(22px, 2.1vw, 30px)/1.3 var(--display); font-variation-settings: "SOFT" 100; padding-left: 20px; border-left: 3px solid var(--accent); max-width: 30ch; }

/* ==========================================================================
   Watch & listen
   ========================================================================== */
.watch { padding: var(--section) 0; }
.watch .section-head, .watch__title, .watch__all { margin-left: var(--gutter); margin-right: var(--gutter); }
.watch .section-head { align-items: center; margin-bottom: 20px; }
.watch__title { font-size: clamp(44px, 6vw, 96px); line-height: 1; margin-bottom: clamp(32px, 4vw, 56px); }
.watch__title em { color: var(--accent-soft); }
.hscroll-ctrl { display: flex; gap: 8px; }
.hscroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80vw, 540px); gap: var(--col-gap);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 28px; scroll-padding-inline: var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--on-dark-line) transparent;
}
.hscroll > * { scroll-snap-align: start; }
.video__btn { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: var(--brown-2); overflow: hidden; border-radius: var(--r-lg); }
.video__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.video__btn:hover img { transform: scale(1.04); }
.video__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--accent); color: var(--paper); transition: transform .45s var(--ease-out); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); }
.video__play .play-ico { margin-left: 4px; border-width: 9px 0 9px 15px; }
.video__btn:hover .video__play { transform: scale(1.1); }
.video__btn iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__kind { margin: 18px 0 6px; color: var(--accent-soft); }
.video__title { font: 600 22px/1.25 var(--display); font-variation-settings: "SOFT" 100, "opsz" 36; max-width: 32ch; }
.hscroll:has(.video--empty) { grid-auto-columns: min(calc(100vw - 2 * var(--gutter)), 980px); }
.video__placeholder {
  min-height: 300px; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-lg);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; align-items: flex-start;
  background: radial-gradient(circle at 85% 20%, rgba(208, 85, 46, .45), transparent 45%), var(--brown-2);
}
.video__placeholder .serif { font-size: clamp(34px, 4.4vw, 68px); line-height: 1; color: var(--accent-soft); }
.video__placeholder p { max-width: 46ch; color: var(--on-dark-muted); }
.watch__all { display: inline-flex; margin-top: 24px; }

/* ==========================================================================
   Practical guides
   ========================================================================== */
.guides { padding: var(--section) var(--gutter); }
.guides__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; }
.guides__intro { grid-column: 1 / 6; }
.guides__sticky { position: sticky; top: calc(var(--mast-h) + 32px); display: grid; gap: 22px; justify-items: start; padding: clamp(24px, 3vw, 40px); background: var(--peach); border-radius: var(--r-lg); }
.guides__title { font-size: clamp(40px, 4.4vw, 72px); line-height: 1; }
.guides__title em { color: var(--accent); }
.guides__lede { font-size: 18px; color: var(--ink-2); max-width: 38ch; }
.guides__list { grid-column: 6 / 13; display: grid; gap: 40px; }
.guides--page .guides__list { max-width: 980px; }
.guides__group-label { color: var(--muted); padding: 0 16px 10px; }
.guides__group ol { display: grid; gap: 8px; }
.guide-row {
  display: grid; grid-template-columns: 52px 1fr auto; column-gap: 16px; row-gap: 4px;
  padding: 18px 16px; border-radius: var(--r); background: var(--paper);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.guide-row:hover, .guide-row:focus-visible { transform: translateX(6px); box-shadow: 0 0 0 1.5px var(--accent), var(--shadow); }
.guide-row__num { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--peach); color: var(--accent-deep); font: 600 17px/1 var(--display); }
.guide-row__title { font: 600 clamp(18px, 1.45vw, 21px)/1.3 var(--display); font-variation-settings: "SOFT" 100, "opsz" 36; letter-spacing: -.01em; }
.guide-row__dek { grid-column: 2; font-size: 15px; color: var(--muted); }
.guide-row__time { grid-column: 3; grid-row: 1; align-self: start; color: var(--muted); padding-top: 4px; }

/* ==========================================================================
   Personal notes
   ========================================================================== */
.notes { padding: var(--section) var(--gutter); background: var(--sand); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; }
.notes__head { grid-column: 1 / 5; display: grid; gap: 22px; align-content: start; justify-items: start; }
.notes__title { font-size: clamp(42px, 4.6vw, 76px); line-height: 1; }
.notes__title em { color: var(--accent); }
.notes__lede { font: italic 400 19px/1.55 var(--read); color: var(--ink-2); max-width: 32ch; }
.notes__list { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: var(--col-gap); }
.note a {
  display: grid; gap: 12px; align-content: start; height: 100%; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--shadow);
  transition: transform .5s var(--ease-out);
}
.note:nth-child(odd) a { transform: rotate(-.8deg); }
.note:nth-child(even) a { transform: rotate(.7deg) translateY(18px); }
.note a:hover { transform: rotate(0) translateY(-4px); }
.note__date { color: var(--accent-deep); }
.note__title { font-size: clamp(24px, 2vw, 32px); line-height: 1.1; font-style: italic; font-weight: 500; transition: color .3s; }
.note a:hover .note__title { color: var(--accent-deep); }
.note__text { font: 400 18px/1.6 var(--read); color: var(--ink-2); }
.notes--page { padding-top: 0; }
.notes--page .notes__list { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
.page-notes { background: var(--sand); }

/* ==========================================================================
   Newsletter — with photograph
   ========================================================================== */
.newsletter { background: var(--accent); color: var(--paper); padding: var(--section) var(--gutter); overflow: hidden; }
.newsletter__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.newsletter__photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; }
.newsletter__photo > div { height: 100%; }
.newsletter__photo .photo, .newsletter__photo .portrait-img { object-position: 52% 40%; transform: scale(1.35); }
.newsletter__body { display: grid; gap: 24px; justify-items: start; }
.newsletter__title { font-size: clamp(52px, 7vw, 120px); line-height: .95; }
.newsletter__title em { color: var(--butter); }
.newsletter__lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 44ch; color: rgba(255, 253, 249, .88); }
.newsletter__form { display: grid; gap: 18px; width: 100%; max-width: 620px; }
.field label { display: block; font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.field__row { display: flex; gap: 8px; padding: 6px; background: var(--paper); border-radius: 999px; box-shadow: 0 16px 34px -18px rgba(80, 25, 10, .6); }
.field input { flex: 1; min-width: 0; background: transparent; border: 0; border-radius: 999px; color: var(--ink); font: 500 17px/1.2 var(--sans); padding: 12px 18px; }
.field input::placeholder { color: var(--muted); }
.field input:focus { outline: none; }
.field__row:focus-within { box-shadow: 0 0 0 3px var(--butter), 0 16px 34px -18px rgba(80, 25, 10, .6); }
.field__row .btn--light { background: var(--ink); color: var(--cream); }
.field__row .btn--light:hover { background: var(--brown-2); }
.field input[aria-invalid="true"] { color: var(--accent-deep); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; max-width: 60ch; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
.newsletter__status { min-height: 1.5em; font-weight: 700; }
.newsletter__status.is-error { color: var(--butter); }
.newsletter__status.is-ok::before { content: "✓ "; }
.newsletter__form.is-loading button { opacity: .6; pointer-events: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--brown); color: var(--on-dark); padding: clamp(72px, 8vw, 120px) var(--gutter) 28px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px var(--col-gap); }
.footer h2.label { font-family: var(--sans); color: var(--on-dark-muted); margin-bottom: 18px; letter-spacing: .1em; }
.footer ul { display: grid; gap: 10px; }
.footer__col a:not(.link-u):hover { color: var(--accent-soft); }
.footer__col li a { display: inline-flex; align-items: center; gap: 6px; }
.footer__sc { display: inline-flex; gap: 6px; align-items: center; margin-top: 20px; padding: 10px 16px; border-radius: 999px; background: rgba(251, 241, 230, .08); color: var(--on-dark-muted); font-size: 15px; transition: background .3s; }
a.footer__sc:hover { background: rgba(251, 241, 230, .16); }
.footer__sc strong { color: var(--on-dark); }
.footer__mark { margin: clamp(56px, 7vw, 104px) 0 24px; font: 600 15.5vw/.85 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.05em; white-space: nowrap; }
.footer__mark em { font-weight: 400; color: var(--accent-soft); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid var(--on-dark-line); font-size: 14px; color: var(--on-dark-muted); }
.footer__base a { color: var(--on-dark); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-head { padding: calc(var(--mast-h) + clamp(48px, 7vw, 104px)) var(--gutter) clamp(40px, 5vw, 64px); }
.page-head > .label { display: inline-flex; padding: 7px 14px 6px; border-radius: 999px; background: var(--peach); color: var(--accent-deep); margin-bottom: clamp(20px, 2.5vw, 32px); }
.dark .page-head > .label { background: rgba(251, 241, 230, .12); color: var(--on-dark); }
.page-head__title { font-size: clamp(52px, 8vw, 136px); line-height: .95; max-width: 15ch; }
.page-head__title em { color: var(--accent); }
.dark .page-head__title em { color: var(--accent-soft); }
.page-head__lede { margin-top: 24px; font-size: 19px; line-height: 1.6; max-width: 54ch; color: var(--ink-2); }
.page-head--404 { min-height: 80vh; }
.page-head--404 .btn { margin-top: 32px; }

.search { display: flex; gap: 8px; margin-top: clamp(28px, 4vw, 48px); max-width: 760px; padding: 6px; background: var(--paper); border-radius: 999px; box-shadow: var(--shadow); }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; font: 500 17px/1.2 var(--sans); padding: 12px 20px; color: inherit; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 600; }
.chips a { padding: 8px 14px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); transition: background .3s, color .3s; }
.chips a:hover { background: var(--peach); }
.chips a[aria-current] { background: var(--ink); color: var(--cream); box-shadow: none; }

.archive { padding: 0 var(--gutter) var(--section); }
.archive__list { display: grid; gap: 12px; }
.arow { display: grid; grid-template-columns: 140px 1fr 220px; column-gap: var(--col-gap); padding: 18px; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s, transform .4s var(--ease-out); }
.arow:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.arow__link { display: contents; }
.arow__date { grid-column: 1; grid-row: 1 / 3; color: var(--muted); padding-top: 8px; }
.arow__main { grid-column: 2; display: grid; gap: 8px; align-content: start; padding-top: 4px; }
.arow__title { font: 600 clamp(22px, 2vw, 32px)/1.12 var(--display); font-variation-settings: "SOFT" 100, "opsz" 72; letter-spacing: -.02em; transition: color .3s; }
.arow__title mark { background: var(--accent-soft); color: inherit; border-radius: 4px; padding: 0 2px; }
.arow__dek { font-size: 16px; color: var(--ink-2); max-width: 64ch; }
.arow__link:hover .arow__title { color: var(--accent-deep); }
.arow__thumb { grid-column: 3; grid-row: 1 / 3; aspect-ratio: 4 / 3; overflow: hidden; display: block; border-radius: var(--r); }
.arow__thumb .gcover__word { font-size: 32cqi; }
.arow .meta { grid-column: 2; margin-top: 12px; align-self: end; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; }
.empty { padding: clamp(40px, 6vw, 88px); border-radius: var(--r-lg); background: var(--peach); }
.empty .serif { font-size: clamp(32px, 4vw, 60px); line-height: 1.05; color: var(--accent-deep); margin-bottom: 14px; }
.empty--dark { background: var(--brown-2); }
.empty--dark .serif { color: var(--accent-soft); }

.topic-hero {
  position: relative; overflow: hidden; margin: calc(var(--mast-h) + 12px) var(--gutter) clamp(40px, 5vw, 72px);
  padding: clamp(48px, 7vw, 112px) clamp(24px, 4vw, 64px); border-radius: var(--r-lg);
  background-color: var(--bg); color: var(--fg);
}
.topic-hero::after { content: ""; position: absolute; right: -8%; top: -30%; width: 45%; aspect-ratio: 1; border-radius: 50%; background: var(--blob); }
.topic-hero__inner { position: relative; z-index: 1; }
.topic-hero .label { opacity: .8; }
.topic-hero__title { font-size: clamp(48px, 7.4vw, 124px); line-height: .95; margin: 20px 0; max-width: 12ch; }
.topic-hero__desc { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; max-width: 44ch; opacity: .9; }
.topic-hero__num { position: absolute; z-index: 1; right: clamp(24px, 4vw, 64px); bottom: -.2em; font: italic 400 clamp(140px, 24vw, 400px)/1 var(--display); color: var(--accent-c); opacity: .85; }
.topic-hero .link-u { color: inherit; }

.watch-page { min-height: 100vh; padding-bottom: var(--section); }
.page-dark { background: var(--brown); }
.watch-page__body { padding: 0 var(--gutter); }
.watch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 48px var(--col-gap); }

.about { padding: calc(var(--mast-h) + clamp(48px, 7vw, 104px)) var(--gutter) var(--section); }
.about__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; align-items: start; }
.about__head { grid-column: 1 / -1; }
.about__head .label { display: inline-flex; padding: 7px 14px 6px; border-radius: 999px; background: var(--peach); color: var(--accent-deep); margin-bottom: 24px; }
.about__media { grid-column: 1 / 6; }
.about__media .photo, .about__media .portrait-img, .about__media .monogram { aspect-ratio: 4 / 5; height: auto; border-radius: var(--r-lg); object-position: 62% 30%; }
.about__media figcaption { margin-top: 14px; color: var(--muted); }
.about__body { grid-column: 7 / 13; }
.about-contact { padding: var(--section) var(--gutter); background: var(--peach); }
.about-contact .label { margin-bottom: 18px; color: var(--accent-deep); }
.about-contact__title { font-size: clamp(52px, 8vw, 136px); line-height: .95; margin-bottom: 20px; }
.about__mail { font-size: clamp(26px, 3.6vw, 56px); color: var(--accent-deep); }
.about__mail:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; }

/* ==========================================================================
   Article
   ========================================================================== */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 150; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; transform-origin: 0 50%; transform: scaleX(0); }
.preview-bar { position: sticky; top: 0; z-index: 120; background: var(--ink); color: var(--cream); text-align: center; padding: 10px var(--gutter); font-size: 14px; }
.preview-bar a { text-decoration: underline; }

.article__head { padding: calc(var(--mast-h) + clamp(40px, 6vw, 96px)) var(--gutter) clamp(32px, 4vw, 56px); max-width: 1180px; }
.article__crumbs { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; color: var(--muted); margin-bottom: clamp(20px, 2.5vw, 36px); }
.article__crumbs a { color: var(--accent-deep); }
.article__title { font-size: clamp(44px, 6.4vw, 104px); line-height: 1; max-width: 16ch; font-style: normal; font-family: var(--display); font-weight: 600; }
.article__title--note { font-style: italic; font-weight: 500; max-width: 18ch; font-size: clamp(42px, 5.4vw, 88px); }
.article__dek { margin-top: clamp(18px, 2vw, 28px); font: italic 400 clamp(20px, 1.9vw, 26px)/1.45 var(--read); color: var(--ink-2); max-width: 46ch; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: clamp(26px, 3vw, 40px); }
.byline__media { width: 52px; height: 52px; flex: none; overflow: hidden; border-radius: 50%; }
.byline__media .portrait-img { object-position: 62% 22%; transform: scale(1.8); transform-origin: 62% 22%; }
.byline__name { font-weight: 700; }
.byline__name a { color: var(--accent-deep); }
.byline__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--muted); }
.byline__meta span + span::before { content: "·"; margin-right: 12px; }

.article__cover { margin: 0 var(--gutter); overflow: hidden; border-radius: var(--r-lg); }
.article__cover > :first-child { display: block; aspect-ratio: 21 / 9; width: 100%; height: auto; }
.article__cover .gcover__word { font-size: 18cqi; }
.article__cover figcaption { padding: 12px 4px 0; color: var(--muted); }

.article__layout { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 700px) minmax(40px, 1fr); column-gap: clamp(24px, 4vw, 72px); padding: clamp(48px, 6vw, 88px) var(--gutter) var(--section); }
.article__rail { grid-column: 1; align-self: start; position: sticky; top: calc(var(--mast-h) + 24px); }
.article__rail .share { margin-top: 32px; }
.article__body { grid-column: 2; min-width: 0; }
.article--note .article__layout { grid-template-columns: 1fr minmax(0, 640px) 1fr; }

.toc { background: var(--paper); border-radius: var(--r); padding: 18px; box-shadow: 0 0 0 1px var(--line); }
.toc summary { cursor: pointer; list-style: none; color: var(--accent-deep); }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { display: grid; gap: 2px; padding-top: 12px; }
.toc a { display: block; padding: 7px 12px; font-size: 14px; line-height: 1.35; color: var(--muted); border-radius: 10px; transition: color .3s, background .3s; }
.toc .toc__l3 a { padding-left: 26px; font-size: 13px; }
.toc a:hover { color: var(--ink); background: var(--cream); }
.toc a.is-active { color: var(--accent-deep); background: var(--peach); font-weight: 700; }

.share ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.share a, .share button { display: inline-block; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; transition: background .3s, color .3s; }
.share a:hover, .share button:hover { background: var(--ink); color: var(--cream); }
.share--inline { display: none; margin-top: 40px; }
.callout { border-radius: var(--r); padding: 20px 24px; margin-bottom: 40px; font-size: 15px; display: grid; gap: 6px; background: var(--butter); }
.callout .label { color: var(--accent-deep); }

.prose { font: 400 21px/1.7 var(--read); color: var(--ink); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2em; font: 600 clamp(28px, 2.5vw, 36px)/1.15 var(--display); font-variation-settings: "SOFT" 100, "opsz" 72; letter-spacing: -.02em; }
.prose h3 { margin-top: 1.7em; font: 600 24px/1.25 var(--display); font-variation-settings: "SOFT" 100, "opsz" 36; }
.prose h4 { margin-top: 1.5em; font: 700 18px/1.3 var(--sans); }
.prose h2 + *, .prose h3 + * { margin-top: .55em; }
.prose a { color: var(--accent-deep); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
.prose a:hover { background: var(--peach); }
.prose strong, .prose b { font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; }
.prose ul > li::before { content: ""; position: absolute; left: -1em; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prose ol { list-style: decimal; }
.prose ol > li::marker { font: 700 .8em var(--sans); color: var(--accent); }
.prose li + li { margin-top: .45em; }
.prose blockquote { padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--accent-soft); font-style: italic; color: var(--ink-2); }
.prose blockquote.pull {
  border: 0; margin: 1.6em 0; padding: 1.1em 1.2em; border-radius: var(--r-lg); background: var(--peach);
  font: italic 400 clamp(28px, 2.8vw, 38px)/1.2 var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -.015em; color: var(--ink);
}
.prose blockquote.pull::before { content: "“"; display: block; height: .5em; font-size: 2em; line-height: 1; color: var(--accent); }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; height: auto; border-radius: var(--r); }
.prose figcaption { margin-top: 10px; font: 400 14px/1.4 var(--sans); color: var(--muted); }
.prose hr { border: 0; text-align: center; margin: 2.4em 0; }
.prose hr::after { content: "✺"; color: var(--accent); font-size: 18px; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); }
.prose code { font: 400 .85em ui-monospace, Menlo, monospace; background: var(--peach); padding: .1em .35em; border-radius: 4px; }
.prose pre { background: var(--brown); color: var(--on-dark); padding: 20px; overflow-x: auto; font-size: 15px; border-radius: var(--r); }
.prose pre code { background: none; padding: 0; }
.article--article .prose > p:first-child::first-letter { float: left; font: 600 4.6em/.8 var(--display); color: var(--accent); padding: .08em .1em 0 0; }
.about__body.prose > p:first-child { font-size: 1.2em; line-height: 1.5; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; font-size: 14px; }
.tags a { padding: 6px 12px; border-radius: 999px; background: var(--peach); color: var(--accent-deep); font-weight: 600; }
.tags a:hover { background: var(--accent-soft); }
.author-card { display: grid; grid-template-columns: 88px 1fr; gap: 22px; margin-top: 56px; padding: 24px; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line); font-size: 16px; }
.author-card__media { width: 88px; height: 88px; overflow: hidden; border-radius: 50%; }
.author-card__media .portrait-img { object-position: 62% 22%; transform: scale(1.8); transform-origin: 62% 22%; }
.author-card > div { display: grid; gap: 8px; justify-items: start; }
.author-card__name { font-size: 28px; line-height: 1; }

.related { padding: 0 var(--gutter) var(--section); }
.related .section-head { align-items: center; }
.related__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.related__item { display: grid; gap: 12px; }
.related__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-lg); }
.related__title { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.15; font-style: normal; font-weight: 600; transition: color .3s; }
.related__item:hover .related__title { color: var(--accent-deep); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article__layout { grid-template-columns: 220px minmax(0, 1fr); }
  .article--note .article__layout { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
  .article--note .article__body { grid-column: 1; }
  .article--note .article__rail { display: none; }
}

@media (max-width: 1024px) {
  .nav, .masthead__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .masthead { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { min-height: 0; aspect-ratio: 4 / 3; max-height: none; }
  .hero__badge { left: 16px; }
  .feature__media { grid-column: 1 / -1; }
  .feature__text { grid-column: 3 / -1; }
  .latest__lead, .latest__list { grid-column: 1 / -1; }
  .guides__intro, .guides__list { grid-column: 1 / -1; }
  .guides__sticky { position: static; }
  .notes__head, .notes__list { grid-column: 1 / -1; }
  .newsletter__grid { grid-template-columns: 1fr; }
  .newsletter__photo { aspect-ratio: 16 / 9; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article__layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
  .article__rail, .article__body { grid-column: 1; }
  .article__rail { position: static; }
  .article__rail .share { display: none; }
  .toc { margin-bottom: 36px; }
  .share--inline { display: block; }
  .arow { grid-template-columns: 110px 1fr 160px; }
  .notes--page .notes__list { grid-template-columns: 1fr 1fr; }
  .about__media { grid-column: 1 / 7; }
  .about__body { grid-column: 7 / 13; }
  .about-intro::before { background: linear-gradient(90deg, rgba(44, 33, 27, .92) 0%, rgba(44, 33, 27, .7) 55%, rgba(44, 33, 27, .25) 100%); }
}

@media (max-width: 767px) {
  :root { --mast-h: 66px; }
  body { font-size: 16px; }
  .hero { padding-top: calc(var(--mast-h) + 20px); gap: 36px; }
  .hero__title { font-size: 15vw; }
  .hero__photo { aspect-ratio: 4 / 5; }
  .hero__photo-inner .photo, .hero__photo-inner .portrait-img { object-position: 60% 30%; }
  .hero__links { width: 100%; }
  .hero__links .btn { flex: 1 1 auto; }
  .ticker { transform: rotate(-2deg); }
  .feature .section-head .muted { display: none; }
  .feature__media { aspect-ratio: 4 / 5; }
  .feature__text { grid-column: 1 / -1; grid-row: 2; margin: -48px 12px 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile a { min-height: 0; }
  .latest__item { padding: 10px 0; }
  .latest__item .meta { padding-left: 0; }
  .latest__link { grid-template-columns: 76px 1fr; }
  .about-intro { min-height: 0; flex-direction: column; align-items: stretch; }
  .about-intro__photo { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .about-intro::before { display: none; }
  .about-intro__text { padding-top: 40px; }
  .guide-row { grid-template-columns: 44px 1fr; }
  .guide-row__num { width: 36px; height: 36px; font-size: 15px; }
  .guide-row__time { grid-column: 2; grid-row: auto; padding-top: 6px; }
  .notes__list, .notes--page .notes__list { grid-template-columns: 1fr; }
  .note:nth-child(even) a { transform: rotate(.7deg); }
  .newsletter__photo { aspect-ratio: 4 / 3; }
  .field__row { flex-direction: column; border-radius: var(--r-lg); }
  .field__row .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__mark { font-size: 15vw; }
  .search { flex-direction: column; border-radius: var(--r-lg); }
  .arow { grid-template-columns: minmax(0, 1fr) 88px; row-gap: 8px; padding: 14px; }
  .arow__date { grid-column: 1; grid-row: 1; padding-top: 0; }
  .arow__main { grid-column: 1; grid-row: 2; }
  .arow__thumb { grid-column: 2; grid-row: 1 / 3; aspect-ratio: 1; }
  .arow .meta { grid-column: 1 / -1; margin-top: 4px; }
  .arow__dek { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .arow__thumb .gcover__word { font-size: 46cqi; }
  .arow__thumb .gcover__num, .arow__thumb .gcover__mark { display: none; }
  .related__list { grid-template-columns: 1fr; gap: 32px; }
  .article__cover > :first-child { aspect-ratio: 4 / 3; }
  .article__cover .gcover__word { font-size: 30cqi; }
  .prose { font-size: 19px; line-height: 1.65; }
  .author-card { grid-template-columns: 64px 1fr; padding: 18px; }
  .author-card__media { width: 64px; height: 64px; }
  .about__media, .about__body { grid-column: 1 / -1; }
  .pager { font-size: 14px; }
  .topic-hero__num { font-size: 48vw; opacity: .5; }
}

@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .w > span, [data-enter] { transform: none; opacity: 1; animation: none; }
  .js [data-reveal], .js [data-reveal="mask"], .js [data-reveal="mask"] > :first-child { opacity: 1; transform: none; clip-path: none; }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker__run + .ticker__run { display: none; }
  .ticker__run { flex-wrap: wrap; padding: 0 var(--gutter); }
  [data-parallax] { transform: none !important; }
  .hero__badge, .hero__dot { animation: none; }
  @view-transition { navigation: none; }
}

@media print {
  .masthead, .menu, .footer, .newsletter, .progress, .article__rail, .share, .related { display: none !important; }
  body { background: #fff; }
}
