/* Jake Tapper theme. Translated from the handoff pages and design/design-tokens.css. */

:root {
  /* Brand */
  --color-green-dark: #0F3D2E;
  --color-green-dark-2: #1F5442;
  --color-green: #00693E;
  --color-brass: #C9A54A;
  --color-brass-light: #E9D9A6;

  /* Neutrals */
  --color-bg: #F4F4F2;
  --color-surface: #FFFFFF;
  --color-tint: #E9E9E6;
  --color-ink: #1C1E1F;
  --color-ink-2: #43484B;
  --color-ink-3: #565B5E;
  --color-rule: #D2D2CE;
  --color-border: #DDDDD9;
  --color-charcoal: #3E4346;

  /* Text on dark green */
  --color-on-dark: #F4F4F2;
  --color-on-dark-2: #DCE6E0;
  --color-on-dark-3: #A9C4B7;
  --color-on-dark-border: #3D6B59;

  /* Type */
  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Public Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --text-body: 17px;
  --text-reading: 19px;
  --text-small: 15px;
  --text-caption: 14px;
  --text-h1: clamp(48px, 7vw, 88px);
  --text-h2: clamp(32px, 4vw, 46px);
  --text-h3: 24px;

  /* Layout */
  --container: 1240px;
  --gutter: 24px;
  --section-gap: 72px;
  --radius: 3px;
  --radius-card: 4px;
  --tap-target: 44px;
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
/* Brand green behind over-scroll so Safari's top/bottom bars read green rather than white. */
html { -webkit-text-size-adjust: 100%; background: var(--color-green-dark); }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--color-green); }
a:hover { color: var(--color-green-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-brass); outline-offset: 3px; }
blockquote { font-style: italic; }
blockquote a, blockquote span, blockquote cite { font-style: normal; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 100000;
  padding: 12px 16px; background: var(--color-brass); color: #13241D; font-weight: 600; text-decoration: none;
}

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 1000px; }
.container--post { max-width: 760px; }

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none;
  border-radius: var(--radius); border: 1.5px solid transparent; cursor: pointer;
  background: transparent;
}
.btn:hover { filter: brightness(1.08); }
.btn--lg { min-height: 48px; padding: 0 24px; }
.btn--brass, .btn--brass:hover { background: var(--color-brass); border-color: var(--color-brass); color: #13241D; }
.btn--outline-light, .btn--outline-light:hover { border-color: #8FB3A3; color: var(--color-on-dark); }
.btn--green, .btn--green:hover { background: var(--color-green); border-color: var(--color-green); color: #FFFFFF; }
.btn--outline-green, .btn--outline-green:hover { border-color: var(--color-green); color: var(--color-green); }
.btn--white, .btn--white:hover { background: #FFFFFF; border-color: var(--color-green); color: var(--color-green); }
.btn[disabled] { opacity: .6; cursor: default; filter: none; }
.inline-link { display: inline-flex; align-items: center; min-height: 46px; padding: 0 8px; font-weight: 600; }

/* -------------------------------------------------------------- Masthead */
.masthead {
  background: var(--masthead-bg, var(--color-green-dark));
  color: var(--color-on-dark);
  position: relative;
  overflow: hidden;
}
.masthead--none .site-header, .masthead--plain .site-header { border-bottom: 1px solid var(--color-green-dark-2); }
.site-header { position: relative; z-index: 2; }
.site-header__inner {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--color-on-dark); text-decoration: none; padding: 6px 0; }
.brand:hover { color: #FFFFFF; }
.brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: var(--color-on-dark); color: var(--color-green-dark);
  font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.03em; border-radius: 2px;
}
.brand__name { font-family: var(--font-display); font-size: 25px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.brand--lg { gap: 14px; padding: 0; }
.brand--lg .brand__mark { width: 52px; height: 52px; font-size: 25px; }
.brand--lg .brand__name { font-size: 30px; }

.nav { display: flex; flex-wrap: wrap; gap: 0 26px; margin: 0; padding: 0; list-style: none; font-size: var(--text-small); font-weight: 500; }
.nav li { margin: 0; }
.nav a { display: inline-block; padding: 12px 0; color: var(--color-on-dark-2); text-decoration: none; }
.nav a:hover { color: #FFFFFF; text-decoration: underline; }
.nav a[aria-current="page"], .nav .current-menu-item > a {
  color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--color-brass);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}

/* Hamburger (tablet and below) */
.nav-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: var(--tap-target); padding: 0 4px 0 8px; margin-right: -4px;
  background: none; border: 0; color: var(--color-on-dark); font: inherit; font-size: var(--text-small); font-weight: 600;
  cursor: pointer; border-radius: var(--radius);
}
.nav-toggle:hover { color: #FFFFFF; }
.nav-toggle__bars { position: relative; width: 22px; height: 16px; display: block; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 1px;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), opacity .2s ease, top .28s cubic-bezier(.4, 0, .2, 1);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 7px; }
.nav-toggle__bars span:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .site-header__inner { gap: 8px 16px; }
  .nav-toggle { display: inline-flex; }
  .nav-wrap {
    flex-basis: 100%; display: none;
    padding: 8px 0 12px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .nav-wrap.is-open { display: block; }
  .js .nav-wrap.is-open { animation: jt-menu-in .26s cubic-bezier(.2, .7, .2, 1) both; }
  .nav { display: block; }
  .nav li + li { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .nav a { display: block; width: 100%; padding: 13px 0; font-size: 17px; }
  .nav a[aria-current="page"], .nav .current-menu-item > a { text-underline-offset: 5px; }
}
@keyframes jt-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- Banners */
.banner__inner { position: relative; z-index: 1; padding-top: 24px; padding-bottom: 88px; }
.banner__copy { max-width: 560px; }
.banner__title { font-weight: 700; font-size: var(--text-h1); line-height: 1; letter-spacing: -0.02em; }
.banner__lede { margin: 24px 0 0; font-size: 20px; color: var(--color-on-dark-2); max-width: 40ch; }
.banner__lede p { margin: 0 0 12px; }
.banner__lede p:last-child { margin-bottom: 0; }
.banner__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Plain title band */
.banner--plain .banner__inner { padding-top: 64px; padding-bottom: 72px; }
.banner--plain .banner__copy { max-width: none; }
.banner--plain .banner__lede { margin-top: 20px; max-width: 52ch; }

/* Photo banners */
.banner--photo .banner__inner { min-height: 560px; display: flex; flex-direction: column; justify-content: center; }
.banner__photo {
  position: absolute; top: 0; right: 0; height: 100%;
  width: var(--photo-width, min(62%, 940px));
  object-fit: cover; object-position: var(--photo-pos, 50% 14%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--photo-fade, 36%));
  mask-image: linear-gradient(to right, transparent 0, #000 var(--photo-fade, 36%));
}
.banner--home { --photo-width: min(64%, 980px); --photo-pos: 50% 18%; --photo-fade: 38%; --photo-pos-m: 50% 12%; --photo-h-m: 420px; }
.banner--home .banner__inner { min-height: 640px; padding-top: 32px; padding-bottom: 96px; }
.banner--home .banner__title { font-size: clamp(56px, 9vw, 120px); line-height: 0.95; letter-spacing: -0.025em; }
.banner--home .banner__lede { margin-top: 28px; font-size: 21px; line-height: 1.45; color: #E6ECE4; max-width: 30ch; }
.banner--home .banner__actions { margin-top: 40px; }
.banner--home .btn--outline-light { border-color: #B9C4B2; }

.banner--broadcast { --photo-width: min(58%, 860px); --photo-pos: 60% 20%; --photo-fade: 40%; --photo-pos-m: 60% 15%; --photo-h-m: 420px; }

.banner--tall .banner__inner { min-height: 600px; }
.banner--tall .banner__copy { max-width: 540px; }
.banner--tall .banner__title { font-size: clamp(56px, 8vw, 104px); line-height: 0.95; letter-spacing: -0.025em; }
.banner--tall .banner__lede { margin-top: 28px; font-family: var(--font-display); font-size: 23px; line-height: 1.5; color: #E8EFEB; max-width: none; }
.banner--bio { --photo-pos: 50% 14%; --photo-pos-m: 50% 10%; --photo-h-m: 440px; }
.banner--desk { --photo-pos: 50% 12%; --photo-pos-m: 50% 10%; --photo-h-m: 440px; }
.banner--desk .banner__lede { color: #EDE4DF; }

@media (max-width: 820px) {
  .banner__photo {
    position: relative; display: block; width: 100%; height: var(--photo-h-m, 420px);
    object-position: var(--photo-pos-m, 50% 12%);
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  }
  .banner--photo .banner__inner, .banner--home .banner__inner, .banner--tall .banner__inner { min-height: 0; margin-top: -80px; }
}

/* Book launch banner (Home, new-book mode) */
.book-launch { padding-top: 48px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.book-launch__cover { flex: 0 1 380px; min-width: 0; width: 100%; height: auto; border: 1px solid var(--color-border); display: block; }
.book-launch__body { flex: 1 1 460px; min-width: 0; }
.book-launch__date { margin: 0 0 16px; font-size: 16px; color: var(--color-brass); font-weight: 600; }
.book-launch__title { font-weight: 700; font-size: clamp(44px, 6.5vw, 84px); line-height: 1; letter-spacing: -0.02em; }
.book-launch__subtitle { margin: 16px 0 0; font-family: var(--font-display); font-size: 24px; color: var(--color-on-dark-2); }
.book-launch__pitch { margin: 28px 0 0; font-size: 18px; color: var(--color-on-dark-2); max-width: 52ch; }
.book-launch__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------- On-air strip */
.on-air { background: var(--color-green); color: #FFFFFF; }
.on-air__inner { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.on-air__item { flex: 1 1 420px; min-width: 0; display: flex; gap: 20px; align-items: flex-start; }
.on-air__time { flex: 0 0 auto; font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1; color: var(--color-brass-light); }
.on-air__title { font-size: 26px; font-weight: 600; line-height: 1.2; }
.on-air__schedule { margin: 6px 0 12px; color: #E3EEE8; }
.on-air__links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 600; font-size: var(--text-small); }
.on-air__links a { color: #FFFFFF; padding: 10px 0; }

/* -------------------------------------------------------------- Sections */
.section { padding-top: 56px; padding-bottom: 56px; }
.section--first { padding-top: 88px; padding-bottom: 40px; }
.section--band { padding-top: 72px; padding-bottom: 24px; }
.section--top { padding-top: 72px; padding-bottom: 0; }
.section--grid-page { padding-top: 64px; }
.section--cartoons { padding-top: 96px; }
.list-page { padding-top: 56px; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
.section__head--sm { margin-bottom: 16px; }
.section__title { font-size: var(--text-h2); font-weight: 700; letter-spacing: -0.015em; }
.section__title--sm { font-size: 34px; letter-spacing: 0; }
.section__title--xs { font-size: 24px; letter-spacing: 0; margin-bottom: 8px; }
.section__title--mb { margin-bottom: 32px; }
.section__title--mb-md { margin-bottom: 28px; }
.section__title--mb-sm { margin-bottom: 16px; }
.section__link { font-weight: 600; padding: 10px 0; }
.section__intro { margin: 14px 0 32px; color: var(--color-ink-2); max-width: 60ch; }
.section__spacer { height: 32px; }
.empty-state { margin: 0; padding: 24px 0; color: var(--color-ink-2); }

.grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 280px), 1fr)); }
.grid--270 { --min: 270px; }
.grid--280 { --min: 280px; }
.grid--300 { --min: 300px; }
.grid--340 { --min: 340px; }
.grid--gap-lg { gap: 40px 32px; }
.grid--gap-xl { gap: 48px 32px; }

.two-col { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.two-col__main { flex: 1 1 480px; min-width: 0; }
.two-col__side { flex: 1 1 380px; min-width: 0; }
.list { border-top: 2px solid var(--color-ink); }
.rule { border-top: 1px solid var(--color-rule); }

/* ----------------------------------------------------------------- Cards */
.card { color: var(--color-ink); text-decoration: none; display: block; }
.card:hover { color: var(--color-ink); }
.card:hover .card__title { text-decoration: underline; }
.card:hover .play { background: var(--color-green); }
.card__media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--color-ink); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__media--placeholder { background: var(--color-green-dark-2); }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(15, 61, 46, 0.88); border: 2px solid #FFFFFF; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.play svg { margin-left: 3px; }
.card__meta { margin: 14px 0 4px; font-size: var(--text-caption); color: var(--color-ink-3); }
.card__title { font-size: 23px; font-weight: 600; line-height: 1.25; }
.card__title--md { font-size: 24px; }
.card__title--sm { font-size: 22px; }
.card__cta { margin: 8px 0 0; font-size: var(--text-small); font-weight: 600; color: var(--color-green); }
.card__excerpt { margin: 8px 0 0; color: var(--color-ink-2); }

/* Documentary parts + text rows */
.parts { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.parts a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: var(--tap-target); min-height: var(--tap-target); padding: 0 14px;
  border: 1.5px solid var(--color-green); border-radius: var(--radius);
  font-weight: 600; font-size: var(--text-small); text-decoration: none;
}
.text-rows { margin-top: 48px; border-top: 2px solid var(--color-ink); }
.text-row { padding: 18px 0; border-bottom: 1px solid var(--color-rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; }
.text-row__title { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.text-row__label, .text-row__pending { font-weight: 600; font-size: var(--text-small); color: var(--color-ink-3); align-self: center; }
.more-on { padding-top: 56px; color: var(--color-ink-2); }
.more-on p { margin: 0; }
.more-on a { font-weight: 600; }

/* Show cards (Broadcast) */
.shows { padding-top: 64px; padding-bottom: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.show-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; }
.show-card__art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.show-card__body { padding: 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.show-card__title { font-size: 34px; font-weight: 700; line-height: 1.1; }
.show-card__schedule { margin: 0; font-weight: 600; color: var(--color-green); }
.show-card__desc { color: var(--color-ink-2); }
.show-card__desc p { margin: 0 0 10px; }
.show-card__desc p:last-child { margin-bottom: 0; }
.show-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; }

/* Home: featured book card */
.eyebrow { margin: 0 0 10px; font-size: var(--text-small); font-weight: 600; color: var(--color-green); }
.book-feature {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.book-feature__cover { flex: 0 1 260px; min-width: 0; width: 100%; height: auto; border: 1px solid var(--color-border); display: block; }
.book-feature__body { flex: 1 1 440px; min-width: 0; }
.book-feature__title { font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.05; letter-spacing: -0.015em; }
.book-feature__subtitle { margin: 10px 0 0; font-family: var(--font-display); font-size: 21px; color: var(--color-ink-2); }
.book-feature__pitch { margin: 22px 0 0; max-width: 60ch; }
.book-feature__quote { margin: 24px 0 0; padding: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.45; max-width: 56ch; }
.book-feature__quote cite { display: block; margin-top: 6px; font-family: var(--font-body); font-size: var(--text-small); color: var(--color-ink-3); }
.book-feature__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Home: about teaser */
.about-teaser { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.about-teaser__img { flex: 0 1 440px; min-width: 0; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%; border-radius: var(--radius); display: block; }
.about-teaser__body { flex: 1 1 440px; min-width: 0; }
.about-teaser__text { margin: 20px 0 0; font-family: var(--font-display); font-size: 20px; line-height: 1.6; max-width: 58ch; }
.about-teaser__link { display: inline-block; margin-top: 20px; font-weight: 600; padding: 10px 0; }

/* Events */
.event-row { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--color-rule); }
.event-row__date { flex: 0 0 120px; font-weight: 700; color: var(--color-green); }
.event-row__body { flex: 1 1 240px; }
.event-row__name { font-weight: 600; }
.event-row__venue { color: var(--color-ink-3); font-size: var(--text-small); }
.event-item { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 24px 0; border-bottom: 1px solid var(--color-rule); }
.event-item__when { flex: 0 0 150px; }
.event-item__date { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--color-green); }
.event-item__time { font-size: var(--text-small); color: var(--color-ink-3); }
.event-item__body { flex: 1 1 340px; min-width: 0; }
.event-item__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.event-item__venue { color: var(--color-ink-3); }
.event-item .btn { flex: 0 0 auto; min-height: var(--tap-target); padding: 0 20px; }

/* Articles: compact rows (Home) */
.article-row { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--color-rule); }
.article-row__logo { flex: 0 0 104px; height: 48px; display: flex; align-items: center; }
.article-row__logo img { max-width: 100px; max-height: var(--logo-h, 44px); width: auto; height: auto; display: block; }
.article-row__body { flex: 1 1 auto; min-width: 0; }
.article-row__title { font-size: 21px; }
.article-row__date { color: var(--color-ink-3); font-size: var(--text-small); }

/* Articles: large rows (Writing, On the News) */
.article-item { display: flex; flex-wrap: wrap; gap: 16px 40px; padding: 36px 0; border-bottom: 1px solid var(--color-rule); }
.article-item__side { flex: 0 0 180px; display: flex; flex-direction: column; gap: 10px; }
.article-item__logo { width: 168px; height: 72px; display: flex; align-items: center; justify-content: flex-start; }
.article-item__logo img { max-width: 160px; max-height: var(--logo-h, 72px); width: auto; height: auto; display: block; }
.outlet-name { font-weight: 600; font-size: 18px; }
.article-row .outlet-name { font-size: var(--text-small); }
.article-item__date { font-size: var(--text-small); color: var(--color-ink-3); }
.article-item__body { flex: 1 1 480px; min-width: 0; }
.article-item__title { font-size: 30px; line-height: 1.2; }
.article-item__dek { margin: 8px 0 0; font-family: var(--font-display); font-size: var(--text-reading); color: var(--color-ink-2); }
.show-more-wrap { margin-top: 40px; display: flex; justify-content: center; }

/* ----------------------------------------------------------------- Books */
.book { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.book__cover { flex: 0 1 340px; min-width: 0; width: 100%; height: auto; border: 1px solid var(--color-border); display: block; }
.book__body { flex: 1 1 520px; min-width: 0; }
.book__title { font-size: clamp(36px, 4.5vw, 56px); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
.book__subtitle { margin: 10px 0 0; font-family: var(--font-display); font-size: 22px; color: var(--color-ink-2); }
.book__accolades { margin: 20px 0 0; padding: 14px 18px; background: var(--color-tint); border-radius: var(--radius); font-size: 16px; font-weight: 500; max-width: 60ch; }
.book__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.book__desc { margin-top: 28px; font-family: var(--font-display); font-size: var(--text-reading); line-height: 1.65; max-width: 64ch; }
.book__desc p { margin: 0 0 16px; }
.book__desc p:last-child { margin-bottom: 0; }
.reviews { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 32px; border-top: 2px solid var(--color-ink); padding-top: 24px; }
.reviews blockquote { margin: 0; }
.reviews cite, .reviews .review-source { display: block; margin-top: 6px; font-size: var(--text-small); font-weight: 600; }
.reviews cite { color: var(--color-ink-2); }

.marder { background: var(--color-tint); }
.marder__inner { padding-top: 72px; padding-bottom: 72px; }
.marder__intro { margin: 12px 0 40px; color: var(--color-ink-2); max-width: 56ch; }
.marder__spacer { height: 40px; }
.marder__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 32px; }
.marder__cover { max-width: 240px; min-width: 0; width: 100%; height: auto; border: 1px solid var(--color-border); display: block; }
.marder__title { margin: 20px 0 2px; font-size: 26px; font-weight: 600; }
.marder__title a { color: var(--color-ink); text-decoration: none; }
.marder__title a:hover { text-decoration: underline; }
.marder__date { margin: 0; font-size: var(--text-small); color: var(--color-ink-3); }
.marder blockquote { margin: 14px 0 0; font-family: var(--font-display); font-size: 18px; }
.marder blockquote cite, .marder blockquote a { display: block; margin-top: 4px; font-family: var(--font-body); font-size: var(--text-small); font-weight: 600; }
.marder blockquote cite { color: var(--color-ink-2); }

.earlier { padding-top: 24px; }
.earlier__inner { border-top: 2px solid var(--color-ink); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 24px 64px; }
.earlier__title { flex: 1 1 260px; font-size: 30px; font-weight: 700; }
.earlier__list { flex: 2 1 480px; display: flex; flex-wrap: wrap; gap: 24px 56px; }
.earlier__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.earlier__meta { color: var(--color-ink-3); }

/* ------------------------------------------------------------------- Bio */
.bio-layout { padding-top: 72px; display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.bio-aside { flex: 1 1 260px; min-width: 0; max-width: 340px; }
.timeline { margin: 0; border-top: 2px solid var(--color-ink); }
.timeline__item { padding: 14px 0; border-bottom: 1px solid var(--color-rule); }
.timeline dt { font-weight: 700; color: var(--color-green); }
.timeline dd { margin: 2px 0 0; }
.bio-aside__link { margin: 20px 0 0; font-size: var(--text-small); }
.bio-aside__link a { font-weight: 600; }
.bio-body { flex: 999 1 560px; min-width: 0; max-width: 720px; font-family: var(--font-display); font-size: var(--text-reading); line-height: 1.7; }
.bio-body p { margin: 0 0 20px; }
.bio-body > p:first-child { font-size: 23px; line-height: 1.55; }
.bio-body > :last-child { margin-bottom: 0; }
.pull-quote {
  margin: 40px 0; padding: 32px 0; border-top: 3px solid var(--color-green); border-bottom: 1px solid var(--color-rule);
  font-size: clamp(28px, 3.4vw, 38px); line-height: 1.3; color: var(--color-green-dark);
}
.pull-quote cite { display: block; margin-top: 14px; font-family: var(--font-body); font-size: var(--text-small); font-weight: 600; color: var(--color-ink-3); }
.bio-body .highlight-line {
  margin: 40px 0; padding: 32px 0; border-top: 3px solid var(--color-green); border-bottom: 1px solid var(--color-rule);
  font-size: clamp(26px, 3vw, 34px); line-height: 1.3; font-weight: 600; color: var(--color-green-dark);
}
.stats { margin: 40px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; font-family: var(--font-body); }
.stat { background: var(--color-charcoal); color: var(--color-on-dark); border-radius: var(--radius-card); padding: 28px; }
.stat__value { font-family: var(--font-display); font-size: 56px; font-weight: 700; line-height: 1; color: var(--color-brass); }
.bio-body .stat__label { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: #D9DCDD; }

/* --------------------------------------------------------- From the Desk */
.featured-post { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); display: flex; flex-wrap: wrap; overflow: hidden; }
.featured-post__media { flex: 1 1 420px; min-height: 280px; background: #E2E2DF; display: flex; }
.featured-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-post__body { flex: 1 1 480px; min-width: 0; padding: clamp(28px, 4vw, 56px); }
.featured-post__title { font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; line-height: 1.1; }
.featured-post__title a { color: inherit; text-decoration: none; }
.featured-post__title a:hover { text-decoration: underline; }
.featured-post__excerpt { margin-top: 20px; font-family: var(--font-display); font-size: 21px; line-height: 1.65; }
.featured-post__excerpt p { margin: 0; }
.featured-post__link { display: inline-flex; align-items: center; min-height: var(--tap-target); margin-top: 20px; font-weight: 600; }

.post-card__media { aspect-ratio: 3 / 2; background: #E2E2DF; border-radius: var(--radius); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__media--empty { border: 1.5px dashed #A3A6A6; }

.cartoons-head { display: flex; flex-wrap: wrap; gap: 16px 64px; align-items: flex-start; padding-top: 28px; border-top: 2px solid var(--color-ink); margin-bottom: 40px; }
.cartoons-head .section__title { flex: 1 1 260px; }
.cartoons-head__text { flex: 3 1 620px; min-width: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.65; }
.cartoons-head__text p { margin: 0 0 14px; }
.cartoons-head__text p:last-child { margin-bottom: 0; }
.cartoon-card__media { aspect-ratio: 16 / 10; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: var(--color-ink); }
.cartoon-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cartoon-card__media--contain { background: var(--color-surface); }
.cartoon-card__media--contain img { object-fit: contain; }
.cartoon-card__caption { margin: 12px 0 0; font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--color-green); }

/* ----------------------------------------------------------- Single post */
.post-single { padding-top: 56px; }
.back-link { display: inline-flex; align-items: center; min-height: var(--tap-target); font-weight: 600; }
.post-single__date { margin: 24px 0 8px; font-size: var(--text-small); color: var(--color-ink-3); }
.post-single__title { font-size: clamp(40px, 5.5vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.post-single__media { margin-top: 36px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #E2E2DF; }
.post-single__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-single__content { margin-top: 36px; }
.post-single__footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--color-rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.share { display: inline-flex; flex-wrap: wrap; gap: 16px; align-items: center; min-height: var(--tap-target); font-size: var(--text-small); font-weight: 600; }
.share__label { color: var(--color-ink-3); }

/* Long-form content (posts, default pages) */
.prose { font-family: var(--font-display); font-size: 21px; line-height: 1.7; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 20px; }
.prose h2 { font-size: 32px; margin: 40px 0 16px; line-height: 1.15; }
.prose h3 { font-size: 26px; margin: 32px 0 12px; line-height: 1.2; }
.prose blockquote { padding-left: 20px; border-left: 3px solid var(--color-green); color: var(--color-ink-2); }
.prose img { height: auto; border-radius: var(--radius); }
.prose figure { margin: 28px 0; }
.prose figcaption { font-family: var(--font-body); font-size: var(--text-caption); color: var(--color-ink-3); margin-top: 8px; }
.prose .wp-block-embed { margin: 28px 0; }
.pagination { margin-top: 48px; font-weight: 600; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap-target); min-height: var(--tap-target); padding: 0 12px; border: 1.5px solid var(--color-green); border-radius: var(--radius); text-decoration: none; }
.pagination .page-numbers.current { background: var(--color-green); color: #FFFFFF; }

/* ---------------------------------------------------------------- Footer */
.site-footer { margin-top: 88px; background: var(--color-green-dark); color: var(--color-on-dark-2); }
.site-footer__inner { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer__brand { flex: 1 1 320px; }
.site-footer p { margin: 8px 0 0; font-size: var(--text-small); }
.site-footer p + p { margin-top: 4px; }
.site-footer a { color: var(--color-on-dark); }
.site-footer__side { flex: 0 1 auto; display: flex; flex-direction: column; gap: 12px; }
.social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a {
  display: inline-flex; width: var(--tap-target); height: var(--tap-target); align-items: center; justify-content: center;
  border: 1px solid var(--color-on-dark-border); border-radius: 50%; color: var(--color-on-dark-2);
}
.social a:hover { color: #FFFFFF; }
.site-footer__copy { margin: 0 !important; font-size: var(--text-caption) !important; color: var(--color-on-dark-3); }

/* Admin bar offset for the skip link */
.admin-bar .skip-link:focus { top: 40px; }

/* iOS safe area: keep the footer's green behind the home indicator. */
.site-footer { padding-bottom: env(safe-area-inset-bottom); }

/* ----------------------------------------------------------- Motion */
/* Banner copy and photo ease in on load (no JS needed). */
.js .banner__copy > * { animation: jt-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.js .banner__copy > :nth-child(2) { animation-delay: .08s; }
.js .banner__copy > :nth-child(3) { animation-delay: .16s; }
.js .banner__photo { animation: jt-fade .9s ease both; }
.js .book-launch__cover { animation: jt-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.js .book-launch__body > * { animation: jt-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.js .book-launch__body > :nth-child(2) { animation-delay: .06s; }
.js .book-launch__body > :nth-child(3) { animation-delay: .12s; }
.js .book-launch__body > :nth-child(4) { animation-delay: .18s; }
.js .book-launch__body > :nth-child(5) { animation-delay: .24s; }
@keyframes jt-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes jt-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-triggered reveal; main.js adds .reveal and later .is-visible. */
.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

/* Crossfade between pages. Native cross-document view transitions where supported… */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: jt-vt-out .22s ease both; }
::view-transition-new(root) { animation: jt-vt-in .3s ease both; }
@keyframes jt-vt-out { to { opacity: 0; } }
@keyframes jt-vt-in { from { opacity: 0; } }
/* …and a JS fallback elsewhere: fade the page out before navigating, in after load. */
.js.jt-fallback-transitions .site { transition: opacity .22s ease; }
.js.jt-fallback-transitions.is-leaving .site { opacity: 0; }
.js.jt-fallback-transitions.is-entering .site { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .js .banner__copy > *, .js .banner__photo, .js .book-launch__cover, .js .book-launch__body > *, .js .nav-wrap.is-open { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .nav-toggle__bars span { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .js.jt-fallback-transitions .site { transition: none; }
  .js.jt-fallback-transitions.is-leaving .site, .js.jt-fallback-transitions.is-entering .site { opacity: 1; }
}
