:root {
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --header: 4.6rem;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080808;
  --bg-elev: #111111;
  --text: #f4f0e8;
  --muted: #a39c90;
  --line: rgba(244, 240, 232, 0.14);
  --gold: #c4a46a;
  --gold-2: #e6d3a4;
  --on-gold: #1a140c;
  --glow: rgba(196, 164, 106, 0.18);
  --danger: #d7b4a8;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f3ee;
  --bg-elev: #fffdf9;
  --text: #161513;
  --muted: #5e584f;
  --line: rgba(22, 21, 19, 0.14);
  --gold: #8a6830;
  --gold-2: #6d5224;
  --on-gold: #fffdf8;
  --glow: rgba(138, 104, 48, 0.16);
  --danger: #8d3b32;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--on-gold); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--on-gold);
  padding: 0.6rem 1rem;
  z-index: 80;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header);
  padding: 0 1.4rem;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
}
.brand-name {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-name em {
  font-style: normal;
  color: var(--gold);
}
.brand img { height: 32px; width: auto; }

.nav-desktop {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.72rem;
  min-width: 0;
}
.nav-desktop a {
  text-decoration: none;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.nav-desktop a[aria-current="page"],
.nav-desktop a:hover { color: var(--text); }

.header-tools { display: flex; align-items: center; gap: 0.4rem; }

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.45rem 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--gold); color: var(--gold); }

.theme-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  padding: 2px;
}
.theme-switch button {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 0.38rem 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.68rem;
  cursor: pointer;
}
.theme-switch button:hover { color: var(--text); }
[data-theme="light"] .theme-switch [data-theme-set="light"],
[data-theme="dark"] .theme-switch [data-theme-set="dark"] {
  background: var(--text);
  color: var(--bg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg);
  display: none;
  padding: calc(var(--header) + 1.5rem) 1.5rem 2rem;
}
.nav-overlay.is-open { display: block; }
.overlay-nav {
  display: grid;
  gap: 0.35rem;
  max-width: 36rem;
}
.overlay-nav a {
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
  font-weight: 500;
}
.overlay-nav a:hover,
.overlay-nav a[aria-current="page"] { color: var(--gold); }

.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header) + 1.2rem) 0 2.6rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  right: -8vw;
  top: -6vw;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.7fr);
  gap: 3rem;
  align-items: end;
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}
.kicker {
  margin: 0 0 1rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { color: var(--text); }
.hero-name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-title {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.hero-sign {
  margin: 1.3rem 0 0;
  padding-left: 0.9rem;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.2;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--text);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--on-gold);
}
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--on-gold); }
.btn-line {
  border-color: color-mix(in srgb, var(--text) 72%, transparent);
  color: var(--text);
}
.btn-line:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.portrait {
  margin: 0;
  aspect-ratio: 4 / 5;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  position: relative;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-fallback {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
}
.portrait-fallback strong {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 500;
  line-height: 0.9;
  color: var(--gold);
}
.portrait-fallback small {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.68rem;
}

.hero-grid > * { animation: rise 0.9s ease both; }
.hero-grid > :nth-child(2) { animation-delay: 0.12s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.wordband {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem 1.2rem;
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 1rem 0 1.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.wordband a {
  color: inherit;
  text-decoration: none;
}
.wordband a:hover,
.wordband a:focus-visible { color: var(--text); }

.section { padding: 5.5rem 0; }
.section-tight { padding-top: 0; }
.stack { margin-top: 1.2rem; }
.about-sections { margin-top: 3rem; }
.about-block { padding: 2rem 0; border-top: 1px solid var(--line); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head h2,
.page-hero h1,
.block-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.section-link {
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.section-link:hover { color: var(--text); }

.spots {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}
.spots .section-head { margin-bottom: 0.4rem; }
.spots .section-head h2 { font-size: clamp(2.2rem, 3.4vw, 3.15rem); }
.spot-list { display: grid; }
.spot-row {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.spot-list .spot-row:last-child { border-bottom: 1px solid var(--line); }
.spot-row:hover strong { color: var(--gold); }
.spot-mark {
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
}
.spot-row strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.spot-row p {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.spot-video { grid-template-columns: 7.4rem 1fr; }
.spot-video .video-thumb { width: 7.4rem; }

.intro-grid,
.book-grid,
.contact-grid,
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.quote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}
.prose { max-width: 68ch; line-height: 1.7; }
.prose p { margin: 0 0 1rem; line-height: 1.7; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.15rem; }
.prose li { margin: 0.3rem 0; }
.prose a { color: inherit; }
.prose h2, .prose h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.prose h2 { margin: 1.8rem 0 0.75rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.prose h3 { margin: 1.4rem 0 0.55rem; font-size: 1.35rem; }
.prose-serif h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.prose-serif {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.65;
}
.prose blockquote {
  margin: 1.4rem 0;
  padding-left: 1rem;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  line-height: 1.25;
}
.ph, .demo {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-style: normal;
  font-family: var(--sans);
}
.demo {
  display: inline-block;
  border: 1px solid var(--gold);
  padding: 0.15rem 0.4rem;
  margin-bottom: 0.45rem;
}

.vision-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.vision-band .wrap { padding: 4.5rem 0; }

.project-list, .entry-list { display: grid; }
.project-row, .entry {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.entry-list .entry:last-child,
.project-list .project-row:last-child { border-bottom: 1px solid var(--line); }
.project-row:hover, .entry:hover { background: color-mix(in srgb, var(--bg-elev) 80%, transparent); }
.index {
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
}
.project-main strong, .entry strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.project-main em, .meta-line {
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
}
.project-main p, .entry p { margin: 0.45rem 0 0; color: var(--muted); max-width: 46rem; }
.project-go {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--gold);
}

.book-cover {
  aspect-ratio: 3 / 4;
  background: #0d0d0d;
  color: #f4f0e8;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  max-width: 360px;
}
[data-theme="light"] .book-cover { background: #161513; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-cover .cover-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 0.95;
  margin: 0;
}
.book-cover small { letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-size: 0.68rem; }
.figure-frame { margin: 0; }
.figure-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }

.info {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.45rem 1rem;
  margin: 1.5rem 0 0;
}
.info dt { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.info dd { margin: 0; }

.page-hero { padding: calc(var(--header) + 3.2rem) 0 1rem; }
.lede { max-width: 40rem; color: var(--muted); font-size: 1.15rem; line-height: 1.65; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.video-group { margin-top: 2.8rem; }
.video-group:first-child { margin-top: 0; }
.video-group h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.video-item {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.video-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.video-item.has-thumb summary {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  justify-content: stretch;
}
.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb::after {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
}
.video-item summary::-webkit-details-marker { display: none; }
.video-item summary strong {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
}
.embed {
  margin-top: 1rem;
  aspect-ratio: 16 / 9;
  background: #000;
}
.embed iframe { width: 100%; height: 100%; border: 0; }

.cta-band {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--line);
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.7rem, 4.4vw, 4.2rem);
  line-height: 1;
  margin: 0 0 1rem;
  white-space: nowrap;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 7rem 0 2rem;
}
.footer-sign {
  margin: 0 0 3.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.8vw, 2.75rem);
  line-height: 1.05;
  white-space: nowrap;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 1.25fr) minmax(16rem, 1.15fr) minmax(10rem, 0.7fr);
  column-gap: 3rem;
  row-gap: 2.5rem;
  align-items: start;
}
.footer-col { min-width: 0; }
.footer-label {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-col strong {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.footer-grid p, .footer-grid a { color: var(--muted); }
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1.75rem;
  row-gap: 0.55rem;
  align-content: start;
}
.socials { display: grid; gap: 0.55rem; }
.socials span { color: var(--muted); }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-form { display: grid; gap: 0.2rem; }
.form-field { display: grid; gap: 0.25rem; }
.form-field span, .field label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  outline: none;
}
.form-field select {
  color: inherit;
  border-radius: 0;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-bottom-color: var(--gold); }
.hp {
  position: absolute;
  left: -10000px;
  height: 0;
  overflow: hidden;
}
.flash {
  margin: 0 0 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.flash-error { color: var(--danger); }
.alert { margin: 0 0 1rem; }
.alert p { margin: 0.2rem 0; }
.alert-error { color: var(--danger); }

.pager { display: flex; gap: 1rem; margin-top: 1.5rem; }
.pager a { color: var(--gold); text-decoration: none; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }

.article-hero { padding-bottom: 0.5rem; }
.article-cover { margin: 1.5rem 0; }
.article-cover img { width: 100%; max-height: 68vh; object-fit: cover; }

.empty-note { color: var(--muted); }

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.article-nav a {
  display: grid;
  gap: 0.35rem;
  text-decoration: none;
}
.article-nav a:nth-child(2) { text-align: right; }
.article-nav span {
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.article-nav strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
}
.video-item,
.media-section,
.page-hero { scroll-margin-top: calc(var(--header) + 0.75rem); }

@media (max-width: 1360px) {
  .nav-desktop { display: none; }
}
@media (min-width: 1361px) {
  .nav-toggle { display: none; }
}

@media (max-width: 900px) {
  .hero-grid,
  .intro-grid,
  .book-grid,
  .contact-grid,
  .split,
  .footer-grid,
  .spots { grid-template-columns: 1fr; }
  .portrait, .book-cover { max-width: 320px; }
  .project-row, .entry { grid-template-columns: 2.5rem 1fr; }
  .project-go { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; align-items: flex-start; }
  .hero-name { white-space: normal; }
}

@media (max-width: 700px) {
  .cta-band h2,
  .footer-sign { white-space: normal; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a,
  .article-nav a:nth-child(2) { text-align: left; }
}

@media (max-width: 640px) {
  .wrap, .hero-grid, .wordband { width: min(1120px, calc(100% - 1.5rem)); }
  .site-header { padding: 0 0.8rem; }
  .theme-switch button { padding: 0.38rem 0.42rem; letter-spacing: 0.06em; }
  .section { padding: 3.6rem 0; }
  .info { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.media-page {
  --navy: #0c2340;
  --media-card: #101820;
  --media-muted: #ddd4c6;
  --media-line: rgba(224, 201, 138, 0.34);
  --media-ink: #f6f1e6;
}
[data-theme="light"] .media-page {
  --media-card: #fffdf9;
  --media-muted: #3a4150;
  --media-line: rgba(12, 35, 64, 0.16);
  --media-ink: #12263f;
}
.media-page.section { padding-top: 1.4rem; }
.media-page [hidden] { display: none !important; }

.media-hero,
.media-card,
.media-chip,
.media-modal-close {
  font: inherit;
  cursor: pointer;
}

.media-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  width: 100%;
  margin: 0 0 2.2rem;
  padding: 0;
  text-align: left;
  color: #f6f1e6;
  background: var(--navy);
  border: 1px solid rgba(230, 211, 164, 0.5);
}
.media-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  min-width: 0;
  padding: 2rem 1.7rem 2rem 2rem;
}
.media-hero .kicker { color: #e6d3a4; }
.media-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e6d3a4;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.media-hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}
.media-hero-sub {
  max-width: 36rem;
  color: #e7e0d4;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.5;
}
.media-hero-meta,
.media-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
}
.media-hero .media-lang,
.media-hero .media-card-action { color: #e6d3a4; }

.media-visual {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 16 / 9;
  background: #071526;
  overflow: hidden;
}
.media-visual-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #e6d3a4;
}
.media-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(230, 211, 164, 0.9);
  border-radius: 50%;
  background: rgba(7, 16, 32, 0.72);
  transform: translate(-50%, -50%);
}
.media-play::before {
  content: "";
  position: absolute;
  left: 1.08rem;
  top: 0.78rem;
  border-style: solid;
  border-width: 0.52rem 0 0.52rem 0.82rem;
  border-color: transparent transparent transparent #f6f1e6;
}

.media-select-block { margin-bottom: 2.2rem; }
.media-section { margin-top: 2.5rem; }
.media-section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.media-section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.media-section-head p {
  margin: 0.4rem 0 0;
  max-width: 40rem;
  color: var(--media-muted);
  font-weight: 300;
}
.media-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  display: grid;
  place-items: center;
  color: #e6d3a4;
  background: var(--navy);
  border: 1px solid rgba(230, 211, 164, 0.55);
}
.media-icon svg,
.media-chip svg,
.media-visual-mark svg,
.media-hero-kicker svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.media-visual-mark svg { width: 2rem; height: 2rem; }
.media-hero-kicker svg,
.media-chip svg { width: 1rem; height: 1rem; }

.media-select,
.media-grid {
  display: grid;
  gap: 0.9rem;
}
.media-select { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.media-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
  color: inherit;
  background: var(--media-card);
  border: 1px solid var(--media-line);
}
.media-card.is-pending { cursor: default; }
.media-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.38rem;
  min-width: 0;
  padding: 0.9rem 0.95rem 1.05rem;
}
.media-card-title {
  color: var(--media-ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}
.media-card-lg .media-card-title { font-size: 1.28rem; }
.media-card-sub {
  color: var(--media-muted);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.45;
}
.media-card-topic {
  color: var(--media-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.media-lang,
.media-trans,
.media-card-action {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.media-lang,
.media-trans { color: #e0c98a; }
.media-card-action { color: #e6d3a4; }
[data-theme="light"] .media-card .media-lang,
[data-theme="light"] .media-card .media-trans,
[data-theme="light"] .media-card .media-card-action {
  color: #7a5e2e;
}
.media-hero:hover,
.media-card:hover { border-color: #e0c98a; }
.media-card:hover .media-card-title { color: #e6d3a4; }
[data-theme="light"] .media-card:hover .media-card-title { color: #6d5224; }

.media-page.section { padding-top: 1.4rem; }
.media-toolbar {
  display: grid;
  gap: 1rem;
  margin: 0 0 2.6rem;
}
.media-filter { display: grid; gap: 0.45rem; }
.media-filter-label {
  margin: 0;
  color: #e0c98a;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
[data-theme="light"] .media-filter-label { color: #7a5e2e; }
.media-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.media-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0.35rem 0.8rem;
  color: var(--media-ink);
  background: transparent;
  border: 1px solid var(--media-line);
  font-size: 0.92rem;
  font-weight: 500;
}
.media-chip svg { color: #c4a46a; }
.media-chip[aria-pressed="true"] {
  color: #f6f1e6;
  background: var(--navy);
  border-color: #e0c98a;
}
.media-chip[aria-pressed="true"] svg { color: #e6d3a4; }
.media-chip:hover { border-color: #e0c98a; }
.media-count,
.media-caption-note {
  margin: 0;
  max-width: 44rem;
  color: var(--media-muted);
  font-weight: 300;
}
.media-caption-note { font-size: 0.95rem; }

.media-modal {
  width: min(920px, calc(100vw - 1.5rem));
  max-height: min(92vh, 880px);
  overflow: auto;
  padding: 1rem 1rem 1.25rem;
  color: #f6f1e6;
  background: #0c2340;
  border: 1px solid rgba(230, 211, 164, 0.55);
}
.media-modal::backdrop { background: rgba(5, 10, 18, 0.82); }
.media-modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.media-modal .kicker,
.media-modal .media-trans { color: #e6d3a4; }
.media-modal h2 {
  margin: 0.15rem 0 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.media-modal-close {
  flex: none;
  min-height: 2.4rem;
  padding: 0.4rem 0.75rem;
  color: #f6f1e6;
  background: transparent;
  border: 1px solid rgba(230, 211, 164, 0.75);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.media-modal-close:hover { color: #1a140c; background: #e6d3a4; }
.media-modal .embed { margin-top: 0; background: #000; }
.media-modal .media-caption-note,
.media-modal .prose { color: #e7e0d4; }
.media-modal .prose { max-width: none; margin-top: 0.35rem; }
.media-modal .prose a { color: #e6d3a4; }
.media-modal .media-trans { margin: 0.9rem 0 0; }

@media (max-width: 900px) {
  .media-hero { grid-template-columns: 1fr; }
  .media-hero .media-visual { order: -1; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .media-grid,
  .media-select { grid-template-columns: 1fr; }
  .media-filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .media-chip { width: 100%; justify-content: flex-start; }
  .media-hero-copy { padding: 1.25rem 1.05rem 1.4rem; }
  .media-modal-top { flex-direction: column-reverse; }
  .media-modal-close { align-self: flex-end; }
}
