@font-face {
  font-family: "Fraunces";
  src: url("/Fonts/Fraunces-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/Fonts/Inter-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #fffdf8;
  --warm-background: #f7f1e7;
  --ink: #202722;
  --muted-ink: #556059;
  --forest: #214e3b;
  --forest-dark: #17382b;
  --sage: #b7c9ae;
  --sage-light: #e5ecdf;
  --terracotta: #a94e34;
  --gold: #d8a84e;
  --line: rgba(32, 39, 34, 0.16);
  --shadow-soft: 0 14px 40px rgba(46, 52, 46, 0.1);
  --shadow-card: 0 8px 22px rgba(46, 52, 46, 0.09);
  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 30px;
  --content-width: 1180px;
  --prose-width: 70ch;
  --header-height: 76px;
  --transition: 180ms ease;
  --focus-ring: 3px solid #d8a84e;
  --nav-item-padding: clamp(0.44rem, calc(0.44rem + (100vw - 1025px) * 0.0135), 0.67rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  overflow-x: hidden;
}

@media (pointer: fine) {
  html.site-scrollbar-active {
    scrollbar-width: none;
  }

  html.site-scrollbar-active::-webkit-scrollbar {
    display: none;
  }
}

.site-scrollbar {
  position: fixed;
  z-index: 2800;
  top: 0;
  right: 0;
  bottom: 0;
  width: 14px;
  pointer-events: none;
}

.site-scrollbar-track {
  position: absolute;
  top: 14px;
  right: 0;
  bottom: 14px;
  width: 14px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  touch-action: none;
}

.site-scrollbar-thumb {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  min-height: 44px;
  cursor: pointer;
}

.site-scrollbar-thumb::before {
  position: absolute;
  top: 0;
  right: 4px;
  width: 6px;
  height: 100%;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.site-scrollbar-thumb:hover::before {
  box-shadow: 0 0 0 1px var(--forest-dark);
}

.site-scrollbar-thumb:focus-visible {
  outline-offset: 0;
}

.site-scrollbar-button {
  position: absolute;
  right: 0;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  pointer-events: auto;
}

.site-scrollbar-button::before {
  position: absolute;
  right: 3px;
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
}

.site-scrollbar-button-up {
  top: 0;
}

.site-scrollbar-button-up::before {
  top: 4px;
  border-bottom: 6px solid currentColor;
}

.site-scrollbar-button-down {
  bottom: 0;
}

.site-scrollbar-button-down::before {
  bottom: 4px;
  border-top: 6px solid currentColor;
}

.site-scrollbar-button:focus-visible {
  outline-offset: -2px;
}

.dialog-open .site-scrollbar {
  display: none;
}

@media (pointer: coarse) {
  .site-scrollbar {
    display: none;
  }
}

@media print {
  .site-scrollbar {
    display: none;
  }
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--warm-background);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--forest);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1.5px;
}

a:hover {
  color: var(--terracotta);
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1.2rem;
}

p:last-child {
  margin-bottom: 0;
}

hr {
  width: 100%;
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3000;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-small);
  background: var(--paper);
  color: var(--forest-dark);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1500;
  height: var(--header-height);
  background: rgba(33, 78, 59, 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14);
  color: var(--paper);
}

.navbar,
.navbar-inner {
  height: 100%;
}

.navbar-inner {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-container {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
}

.logo-link {
  position: relative;
  width: 58px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.logo-link img {
  width: 58px;
  height: auto;
}

.brand-name {
  color: var(--paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand-name:hover {
  color: var(--paper);
}

.nav-panel {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.7rem;
}

.nav-links,
.more-menu,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-links > li > a,
.more-toggle {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.6rem var(--nav-item-padding);
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 253, 248, 0.88);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color var(--transition),
    background var(--transition);
}

.nav-links > li > a:hover,
.more-toggle:hover,
.more-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper);
}

.nav-links > li > a[aria-current]::after,
.more-toggle.current::after {
  position: absolute;
  right: 0.65rem;
  bottom: 0.28rem;
  left: 0.65rem;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.nav-more {
  position: relative;
}

.more-toggle::before {
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}

.more-toggle[aria-expanded="true"]::before {
  transform: rotate(225deg) translate(-1px, -1px);
}

.more-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  width: 210px;
  padding: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-medium);
  background: var(--forest-dark);
  box-shadow: var(--shadow-soft);
}

.more-menu[hidden] {
  display: none;
}

.more-menu a {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.more-menu a:hover,
.more-menu a[aria-current] {
  background: rgba(255, 255, 255, 0.1);
}

.contact-nav {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition),
    color var(--transition),
    transform var(--transition);
}

.contact-nav:hover,
.contact-nav[aria-current="page"] {
  background: var(--paper);
  color: var(--forest-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  min-width: 46px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 17px;
  height: 1.5px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform var(--transition);
}

.nav-toggle-lines::before {
  transform: translateY(-5px);
}

.nav-toggle-lines::after {
  transform: translateY(3.5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  transform: translateY(-1.5px) rotate(-45deg);
}

/* Compact mobile header: the menu button swings in from the right as a quarter circle, and pops back into the bar at the top. */
@keyframes nav-quarter-in {
  from {
    transform: rotate(-90deg);
  }
}

@keyframes nav-toggle-return {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

/* Mobile menu opening: the panel slides in from the right, then each row fades in from the right in turn. */
@keyframes nav-panel-in {
  from {
    transform: translateX(calc(100% + 1rem));
  }
}

@keyframes nav-row-in {
  from {
    opacity: 0;
    transform: translateX(1.5rem);
  }
}

.mobile-more-label {
  display: none;
}

/* Priority-plus navigation without JavaScript: fallback items start in More and are promoted at widths known to fit. */
@media (min-width: 1025px) {
  .navbar:not(.nav-measured) .more-menu {
    display: none;
  }

  .navbar:not(.nav-measured) .nav-more:hover .more-menu,
  .navbar:not(.nav-measured) .nav-more:focus-within .more-menu {
    display: block;
  }

  .navbar:not(.nav-measured) .more-menu::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 0.75rem;
    content: "";
  }

  .navbar:not(.nav-measured) .nav-item--fallback,
  .navbar:not(.nav-measured) [data-nav-copy]:not(.nav-copy--fallback) {
    display: none;
  }
}

@media (min-width: 1060px) {
  .navbar:not(.nav-measured) [data-nav-item="sport-music-drama"] {
    display: block;
  }

  .navbar:not(.nav-measured) [data-nav-copy="sport-music-drama"] {
    display: none;
  }
}

@media (min-width: 1140px) {
  .navbar:not(.nav-measured) [data-nav-item="gallery"] {
    display: block;
  }

  .navbar:not(.nav-measured) [data-nav-copy="gallery"] {
    display: none;
  }
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.2rem, 10vw, 7.5rem) 1.25rem;
  background: var(--forest);
  color: var(--paper);
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.page-hero::before {
  top: -11rem;
  right: -5rem;
  width: 29rem;
  height: 29rem;
}

.page-hero::after {
  right: 18rem;
  bottom: -16rem;
  width: 25rem;
  height: 25rem;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.hero-copy {
  max-width: 820px;
}

.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: var(--paper);
}

.page-hero h1 {
  max-width: 950px;
  margin-bottom: 1rem;
}

.hero-lede {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  color: var(--terracotta);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.94rem;
  font-style: italic;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.page-hero .eyebrow {
  color: #f2c96f;
}

.eyebrow::before {
  width: 2rem;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.section {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7.2rem) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section--paper {
  width: 100%;
  max-width: none;
  padding-right: max(1.25rem, calc((100% - var(--content-width)) / 2));
  padding-left: max(1.25rem, calc((100% - var(--content-width)) / 2));
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading p {
  max-width: var(--prose-width);
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.prose {
  max-width: var(--prose-width);
}

.prose p,
.h3-text {
  color: var(--muted-ink);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button,
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  background: var(--forest);
  color: var(--paper);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button::after,
.link-arrow::after {
  content: "↗";
  font-size: 0.95em;
  transition: transform var(--transition);
}

.button[href^="/"]::after,
.button[href^="#"]::after,
.button[href^="mailto:"]::after,
.link-arrow[href^="/"]::after,
.link-arrow[href^="#"]::after {
  content: "→";
}

.link-arrow[target="_blank"]::after {
  content: "↗";
}

.button:hover,
.btn:hover {
  background: var(--forest-dark);
  color: var(--paper);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.button:hover::after,
.link-arrow:hover::after {
  transform: translate(2px, -2px);
}

.button--secondary {
  border-color: rgba(255, 253, 248, 0.58);
  background: transparent;
  color: var(--paper);
}

.button--secondary:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--forest-dark);
}

.button--paper {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--forest-dark);
}

.button--paper:hover {
  background: var(--sage-light);
  color: var(--forest-dark);
}

.button--outline {
  background: transparent;
  color: var(--forest);
}

.button--outline:hover {
  background: var(--forest);
  color: var(--paper);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.new-tab-link {
  color: var(--forest);
  font-weight: 700;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 2px;
}

.new-tab-link-white-gap {
  color: inherit;
}

.editorial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.story-grid,
.about-section,
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.story-grid + .story-grid {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.story-grid--reverse > :first-child {
  order: 2;
}

.story-grid--reverse > :last-child {
  order: 1;
}

.image-frame,
.caption-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--sage-light);
}

.image-frame img,
.caption-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.image-frame--offset {
  overflow: visible;
}

.image-frame--offset::before {
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  z-index: -1;
  border-radius: inherit;
  background: var(--sage);
  content: "";
  transform: rotate(2deg);
}

.image-frame--offset img {
  border-radius: var(--radius-medium);
}

.image-frame--offset:has(figcaption) img {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.image-frame--offset figcaption {
  border-radius: 0 0 var(--radius-medium) var(--radius-medium);
}

.caption,
figcaption {
  padding: 0.9rem 1rem;
  background: var(--paper);
  color: var(--muted-ink);
  font-size: 0.88rem;
  line-height: 1.45;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--forest-dark);
  font-size: 0.82rem;
  font-weight: 750;
}

.related-callout {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--sage-light);
}

.site-footer {
  margin-top: auto;
  padding: clamp(3rem, 7vw, 5rem) 1.25rem 2rem;
  background: var(--forest-dark);
  color: rgba(255, 253, 248, 0.78);
}

.footer-inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.3fr) repeat(2, minmax(160px, 0.7fr));
  gap: 2rem;
}

.footer-title {
  margin: 0 0 0.8rem;
  color: var(--paper);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 650;
}

.footer-heading {
  margin: 0 0 0.8rem;
  color: var(--sage);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-status-separator {
  margin: 0 0.35rem;
  color: rgba(255, 253, 248, 0.55);
}

.footer-status-link {
  color: rgba(255, 253, 248, 0.78);
  text-decoration: underline;
}

.footer-status-link:hover {
  color: var(--paper);
}

.youtube-facade,
.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-medium);
  background: #141916;
}

.youtube-facade {
  display: block;
  padding: 0;
  cursor: pointer;
}

.youtube-facade img,
.youtube-facade iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-facade iframe {
  border: 0;
}

.youtube-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-large);
  background: var(--ink);
}

.youtube-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--paper);
  font-size: 1.45rem;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition:
    transform var(--transition),
    background var(--transition);
}

.youtube-facade:hover .youtube-play-btn {
  background: var(--forest);
  transform: translate(-50%, -50%) scale(1.08);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.15rem;
}

.path-card {
  position: relative;
  grid-column: span 4;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--forest-dark);
  color: var(--paper);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  isolation: isolate;
}

.path-card--wide {
  grid-column: span 8;
}

.path-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.path-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(16, 28, 22, 0.03) 20%,
    rgba(16, 28, 22, 0.92) 100%
  );
  content: "";
}

.path-card-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.35rem, 4vw, 2rem);
}

.path-card h3 {
  margin-bottom: 0.5rem;
  color: var(--paper);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.path-card p {
  margin: 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.96rem;
  line-height: 1.5;
}

.path-card:hover {
  color: var(--paper);
}

.path-card:hover img {
  transform: scale(1.04);
}

.path-card--plain {
  background: var(--forest);
}

.path-card--plain::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/Images/blog-card-texture.svg") right top / clamp(36rem, 200%, 48rem) auto
    no-repeat;
  content: "";
  transition: transform 500ms ease;
}

.path-card--plain:hover::before {
  transform: scale(1.04);
}

.path-grid--three .path-card,
.path-grid--three .path-card--wide {
  grid-column: span 4;
}

/* Proof block: a featured item with what it is, what I did, what was hard and what I took from it. */
.proof-block {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.proof-block + .proof-block {
  margin-top: 1.5rem;
}

.proof-block-media {
  display: grid;
  gap: 1rem;
}

.proof-block-media .image-frame {
  border: 1px solid var(--line);
}

.proof-block-media .image-frame--contain img {
  aspect-ratio: 4 / 3;
  padding: 1.5rem;
  object-fit: contain;
}

.proof-block h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.proof-block h4 {
  margin: 1.4rem 0 0.4rem;
  color: var(--terracotta);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.94rem;
  font-style: italic;
  font-weight: 650;
  line-height: 1.35;
}

.proof-block p,
.proof-block li {
  color: var(--muted-ink);
  font-size: 0.98rem;
  line-height: 1.7;
}

.proof-block ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}

.proof-block .proof-takeaway {
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-weight: 650;
}

.proof-block .button-row {
  margin-top: 1.5rem;
}

.proof-block--solo {
  grid-template-columns: minmax(0, 1fr);
  max-width: 860px;
}

/* Details toggle: real dates and specifics, collapsed once JavaScript runs. */
.details-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--forest-dark);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.details-toggle::after {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
}

.details-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.details-toggle:hover {
  background: var(--sage-light);
}

.details-panel {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-small);
  background: var(--warm-background);
}

.details-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.details-panel li {
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Compact list: one line per item with an eyebrow-style label. */
.compact-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.compact-list > li {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.4rem 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.compact-list-label {
  color: var(--terracotta);
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 650;
}

.compact-list-text {
  color: var(--muted-ink);
}

.compact-list-text strong,
.compact-list-text cite {
  color: var(--ink);
  font-style: normal;
  font-weight: 750;
}

.compact-list .link-arrow {
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Post list: blog rows of date and age, title and a one-line summary. */
.post-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.post-list > li {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.post-list .eyebrow {
  margin-bottom: 0.5rem;
}

.post-list h3 {
  margin-bottom: 0.4rem;
}

.post-list h3 a {
  color: var(--ink);
  text-decoration: none;
}

.post-list h3 a:hover {
  color: var(--terracotta);
  text-decoration: underline;
}

.post-list p:not(.eyebrow) {
  max-width: var(--prose-width);
  color: var(--muted-ink);
}

/* Post layout: long-form writing in the prose column. */
.post-body h2 {
  margin: 2.8rem 0 1rem;
  color: var(--terracotta);
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.post-body h2:first-child {
  margin-top: 0;
}

.post-body ul,
.post-body ol {
  color: var(--muted-ink);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.75;
}

.post-body li + li {
  margin-top: 0.4rem;
}

.post-body figure {
  margin: 2rem 0;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-list a {
  display: block;
  height: 100%;
  padding: 1.25rem;
  text-decoration: none;
}

.related-list strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
}

.related-list span {
  color: var(--muted-ink);
  font-size: 0.92rem;
}

/* Drafts (data-draft) are saved but not published: this preview shows them,
   marked below (data-draft="check" deliberately unmarked: those read as the
   final text); thomaswhite.me's build leaves them out (scripts/drafts.mjs). */

/* Draft note: content Tom still has to write. */
.draft-note {
  margin: 1rem 0;
  padding: 0.9rem 1.1rem;
  border: 2px dashed var(--terracotta);
  border-radius: var(--radius-small);
  background: #fbefe9;
  color: #6f2f1f;
  font-size: 0.92rem;
  line-height: 1.55;
}

.draft-note::before {
  display: block;
  margin-bottom: 0.25rem;
  content: "Draft: Tom to write";
  font-weight: 800;
}

.draft-inline {
  padding: 0 0.3rem;
  border-bottom: 2px dashed var(--terracotta);
  background: #fbefe9;
  color: #6f2f1f;
}

/* New content, and new versions of live content, not published yet. */
[data-draft="new"],
[data-draft="replace"] {
  outline: 2px dashed var(--terracotta);
  outline-offset: 0.3rem;
  background: #fbefe9;
}

:is(p, section, article, div, figure, blockquote)[data-draft="new"]::before,
:is(p, section, article, div, figure, blockquote)[data-draft="replace"]::before {
  display: block;
  margin-bottom: 0.25rem;
  color: #6f2f1f;
  font-size: 0.8rem;
  font-weight: 800;
  content: "Draft: not published yet";
}

:is(p, section, article, div, figure, blockquote)[data-draft="replace"]::before {
  content: "Draft: replaces the live version";
}

span[data-draft="new"] {
  outline: none;
  border-bottom: 2px dashed var(--terracotta);
}

/* On this preview a new version stands in for the live one. The editor's own
   preview marks its frame data-editor, and shows both. */
:root:not([data-editor]) :has(+ [data-draft="replace"]) {
  display: none;
}

/* Content that stays live until its removal is published. */
[data-draft="remove"] {
  opacity: 0.55;
  text-decoration: line-through;
}

.external-link::after {
  margin-left: 0.28em;
  content: "↗";
  font-size: 0.78em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }

  .brand-name {
    display: inline;
  }

  .navbar-inner {
    width: min(calc(100% - 2rem), var(--content-width));
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* The header is fixed here. Once the page scrolls, initialiseNavigation() adds site-header--compact: the bar and brand slide away and the menu button becomes a quarter circle in the corner. */
  .page-container {
    padding-top: var(--header-height);
  }

  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-header::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(33, 78, 59, 0.98);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14);
    content: "";
    transition: transform 350ms ease;
  }

  .logo-container {
    transition:
      transform 350ms ease,
      opacity 350ms ease,
      visibility 0s;
  }

  .site-header--compact {
    pointer-events: none;
  }

  .site-header--compact::before {
    transform: translateY(calc(-100% - 2px));
  }

  .site-header--compact .logo-container {
    visibility: hidden;
    opacity: 0;
    transform: translateX(calc(-100% - 1.5rem));
    transition:
      transform 350ms ease,
      opacity 350ms ease,
      visibility 0s 350ms;
  }

  .site-header--compact .nav-toggle,
  .site-header--compact .nav-panel {
    pointer-events: auto;
  }

  .site-header--compact .nav-toggle {
    position: fixed;
    top: 0;
    right: 0;
    width: 76px;
    height: 76px;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 28px 20px 0 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.32);
    border-left: 1px solid rgba(255, 253, 248, 0.32);
    border-radius: 0 0 0 100%;
    background: var(--forest);
    box-shadow: -2px 3px 14px rgba(20, 30, 25, 0.22);
    transform-origin: 100% 0;
    animation: nav-quarter-in 450ms cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
  }

  .site-header--compact .nav-toggle-label {
    display: none;
  }

  .site-header--animated:not(.site-header--compact) .nav-toggle {
    animation: nav-toggle-return 300ms ease-out both;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 1rem;
    left: 1rem;
    max-height: calc(100vh - var(--header-height) - 1.5rem);
    display: block;
    overflow-y: auto;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-medium);
    background: var(--forest-dark);
    box-shadow: var(--shadow-soft);
  }

  .nav-panel[hidden] {
    display: none;
  }

  .nav-links {
    display: grid;
    gap: 0.15rem;
  }

  .nav-links > li > a,
  .more-toggle,
  .contact-nav {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .nav-links > li > a[aria-current]::after,
  .more-toggle.current::after {
    top: 0.75rem;
    right: auto;
    bottom: 0.75rem;
    left: 0.25rem;
    width: 2px;
    height: auto;
  }

  .contact-nav {
    margin-top: 0.45rem;
    border-radius: 999px;
    justify-content: center;
  }

  .more-toggle {
    display: none;
  }

  .more-menu [data-nav-copy] {
    display: none;
  }

  .more-menu,
  .more-menu[hidden] {
    position: static;
    width: auto;
    display: grid;
    gap: 0.15rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mobile-more-label {
    display: block;
    padding: 1rem 0.9rem 0.25rem;
    color: var(--sage);
    font-family: "Fraunces", Georgia, serif;
    font-size: 0.92rem;
    font-style: italic;
    font-weight: 650;
  }

  .more-menu a {
    min-height: 44px;
    padding: 0.7rem 0.9rem;
  }
}

/* initialiseNavigation() adds nav-panel--open when the menu opens and numbers the visible rows in --nav-row. */
@media (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .nav-panel--open {
    animation: nav-panel-in 380ms cubic-bezier(0.22, 0.9, 0.3, 1) backwards;
  }

  .nav-panel--open .nav-row {
    animation: nav-row-in 320ms ease-out backwards;
    animation-delay: calc(140ms + var(--nav-row, 0) * 40ms);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .page-hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section {
    width: min(calc(100% - 2rem), var(--content-width));
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .section--paper {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .story-grid,
  .about-section,
  .media-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .story-grid--reverse > :first-child,
  .story-grid--reverse > :last-child {
    order: initial;
  }

  .image-frame--offset::before {
    inset: 0.6rem -0.45rem -0.55rem 0.6rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .path-card,
  .path-card--wide,
  .path-grid--three .path-card {
    grid-column: span 6;
  }

  .proof-block {
    grid-template-columns: 1fr;
  }

  .compact-list > li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1rem;
  }

  .nav-toggle-label {
    display: none;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .path-card,
  .path-card--wide,
  .path-grid--three .path-card {
    grid-column: 1 / -1;
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .path-card:hover img,
  .path-card--plain:hover::before {
    transform: none;
  }
}
