/* ==========================================================================
   Dr. Liora Ravid — catalog prototype
   "Museum at night": ink, gold hairlines, parchment type; the paintings are the light.
   ========================================================================== */

:root {
  --ink: #07060a;
  --ink-2: #0d0b11;
  --ink-3: #14111a;
  --ink-4: #1c1823;
  --gold: #c9a227;
  --gold-hi: #dcb944;
  --gold-soft: #e6cd94;
  --parchment: #f2ead9;
  --text: #d8d0c2;
  --muted: rgba(216, 208, 194, 0.66);
  --faint: rgba(216, 208, 194, 0.42);
  --hair: rgba(242, 234, 217, 0.075);
  --hair-2: rgba(242, 234, 217, 0.13);
  --gold-hair: rgba(201, 162, 39, 0.32);

  --serif: "Cormorant Garamond", "Noto Serif KR", "Iowan Old Style", Georgia, serif;
  --read: "Newsreader", "Iowan Old Style", Georgia, serif;   /* long-form reading text */
  --sans: "Geist", "Pretendard Variable", "Pretendard", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.36, 0.64, 1);

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1480px;
  --section: clamp(64px, 8vw, 112px);

  --z-grain: 30;
  --z-nav: 40;
  --z-pop: 45;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1.5px solid var(--gold-soft); outline-offset: 3px; border-radius: 10px; }
::selection { background: rgba(201, 162, 39, 0.35); color: var(--parchment); }
html:lang(ko) { word-break: keep-all; }
/* Hangul reads better in sans at paragraph size */
html:lang(ko) { --read: "Pretendard Variable", "Pretendard", "Geist", system-ui, sans-serif; }

/* Film grain — fixed, non-interactive, never on scrolling layers */
.grain {
  position: fixed; inset: -50%; z-index: var(--z-grain); pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
svg { stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ico-play { fill: currentColor; stroke: none; }

/* ---------------------------------------------------------------- reveal */
[data-reveal] {
  opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(8px);
  transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out), filter 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
[data-reveal][data-stagger] { opacity: 1; transform: none; filter: none; }
[data-stagger] > * {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity 0.8s var(--ease-out), transform 1.05s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 65ms);
}
[data-stagger].is-in > * { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- eyebrow + buttons */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  font: 500 10.5px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-soft); background: rgba(201, 162, 39, 0.07);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.22);
  white-space: nowrap;
}
html:lang(ko) .eyebrow { letter-spacing: 0.08em; font-size: 11.5px; }
.eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.eyebrow--plain::before { display: none; }
.eyebrow--plain { padding-left: 12px; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 7px 7px 7px 22px; border-radius: 999px; min-height: 50px;
  font: 500 14.5px/1 var(--sans); letter-spacing: 0.005em; white-space: nowrap;
  transition: transform 0.55s var(--ease), background-color 0.55s var(--ease), box-shadow 0.55s var(--ease), color .55s var(--ease);
}
.btn:active { transform: scale(0.975); }
.btn__ico {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  transition: transform 0.65s var(--spring), background-color 0.5s var(--ease);
}
.btn__ico svg { width: 15px; height: 15px; }
.btn:hover .btn__ico { transform: translate(3px, -1px) scale(1.06); }
.btn__label { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.btn__sub { font-size: 11.5px; font-weight: 400; opacity: 0.72; letter-spacing: 0.01em; }
.btn--gold {
  color: #17120a;
  background: linear-gradient(180deg, #ddbb4a 0%, #c9a227 100%);
  box-shadow: 0 18px 50px -18px rgba(201, 162, 39, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}
.btn--gold .btn__ico { background: rgba(23, 18, 10, 0.12); }
.btn--gold:hover { box-shadow: 0 22px 60px -16px rgba(201, 162, 39, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(0, 0, 0, 0.18); }
.btn--ghost { color: var(--parchment); background: rgba(242, 234, 217, 0.055); box-shadow: inset 0 0 0 1px rgba(242, 234, 217, 0.14); }
.btn--ghost .btn__ico { background: rgba(242, 234, 217, 0.08); }
.btn--ghost:hover { background: rgba(242, 234, 217, 0.09); }
.btn--sm { min-height: 40px; padding: 5px 5px 5px 16px; font-size: 13px; gap: 10px; }
.btn--sm .btn__ico { width: 30px; height: 30px; }
.btn--sm .btn__ico svg { width: 12px; height: 12px; }
.btn--text { padding: 0; min-height: 0; color: var(--gold-soft); gap: 10px; font-size: 13.5px; }
.btn--text .btn__ico { width: 28px; height: 28px; background: rgba(201, 162, 39, 0.1); box-shadow: inset 0 0 0 1px var(--gold-hair); }
.btn--text .btn__ico svg { width: 11px; height: 11px; }

/* ---------------------------------------------------------------- double bezel */
.bezel {
  position: relative; padding: 5px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(242, 234, 217, 0.055), rgba(242, 234, 217, 0.02));
  box-shadow: inset 0 0 0 1px var(--hair), 0 30px 60px -40px rgba(0, 0, 0, 0.9);
}
.bezel > .core {
  position: relative; overflow: hidden; border-radius: 15px; background: var(--ink-3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  isolation: isolate;
}
.bezel--lg { padding: 7px; border-radius: 30px; }
.bezel--lg > .core { border-radius: 23px; }

/* ---------------------------------------------------------------- masthead (sits on the page, scrolls away) */
.masthead { position: absolute; top: 0; left: 0; right: 0; z-index: var(--z-nav); }
/* name · site links (centred) · search & language */
.masthead__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; padding-top: clamp(18px, 2.6vw, 34px); }
.masthead__inner > .brand { justify-self: start; }
.masthead__inner > .masthead__tools { justify-self: end; }
.mh-nav { display: flex; align-items: center; gap: clamp(22px, 2.8vw, 44px); }
.mh-nav a {
  position: relative; padding: 10px 0; font: 500 11.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: rgba(242, 234, 217, .8); text-shadow: 0 1px 14px rgba(0, 0, 0, .7); white-space: nowrap;
  transition: color .45s var(--ease);
}
html:lang(ko) .mh-nav a { letter-spacing: .06em; font-size: 13px; }
.mh-nav a::after {
  content: ""; position: absolute; left: 0; right: .24em; bottom: 3px; height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform .7s var(--spring);
}
html:lang(ko) .mh-nav a::after { right: 0; }
.mh-nav a:hover { color: var(--parchment); }
.mh-nav a:hover::after, .mh-nav a.is-active::after { transform: scaleX(1); }
.mh-nav a.is-active { color: var(--gold-soft); }

/* Narrower screens: the links move to a second line under the name */
@media (max-width: 900px) {
  .masthead__inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand tools" "nav nav"; row-gap: 0; }
  .masthead__inner > .brand { grid-area: brand; }
  .masthead__inner > .masthead__tools { grid-area: tools; }
  .mh-nav { grid-area: nav; justify-self: start; gap: 24px; }
}
.brand { display: inline-flex; align-items: baseline; gap: 9px; font-family: var(--serif); color: var(--parchment); text-shadow: 0 2px 22px rgba(0, 0, 0, 0.6); }
.brand__dr { font-style: italic; font-size: clamp(19px, 1.6vw, 23px); color: var(--gold-soft); }
.brand__name { font-size: clamp(25px, 2.2vw, 32px); font-weight: 500; letter-spacing: 0.012em; line-height: 1; }
.masthead__tools { display: flex; align-items: center; gap: 4px; }
/* the home link gets the same gold hairline as the page links */
.brand { position: relative; }
.brand::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .7s var(--spring); }
.brand:hover::after, .brand:focus-visible::after { transform: scaleX(1); }

/* language suggestion: a small glass note at the bottom, in the suggested language */
.langnote {
  position: fixed; z-index: var(--z-pop); left: 50%; bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 999px; max-width: calc(100vw - 24px);
  background: rgba(18, 15, 22, .82); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 0 0 1px var(--gold-hair), 0 30px 70px -20px rgba(0, 0, 0, .9);
  transform: translate(-50%, 160%); opacity: 0; transition: transform .8s var(--spring), opacity .5s var(--ease);
}
.langnote.is-on { transform: translate(-50%, 0); opacity: 1; }
.langnote__globe svg { width: 18px; height: 18px; color: var(--gold-soft); display: block; }
.langnote__q { font-family: var(--serif); font-size: 19px; color: var(--parchment); white-space: nowrap; }
.langnote__x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background-color .4s var(--ease), color .4s var(--ease); }
.langnote__x:hover { background: rgba(242, 234, 217, .08); color: var(--parchment); }
.langnote__x svg { width: 14px; height: 14px; }
@media (max-width: 560px) {
  .langnote { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 14px 14px 12px; border-radius: 24px; width: calc(100vw - 24px); }
  .langnote__q { white-space: normal; text-align: center; flex-basis: 100%; }
  .langnote__globe { display: none; }
  .langnote .btn { flex: 1; justify-content: space-between; }
}
.mh-btn {
  height: 42px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; color: var(--parchment); text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
  transition: color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.mh-btn:hover { background: rgba(242, 234, 217, 0.08); }
.mh-btn svg { width: 17px; height: 17px; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.55)); }
.mh-btn.is-active { color: var(--gold-soft); }
.lang { position: relative; }
.lang__btn { font-weight: 500; letter-spacing: 0.1em; font-size: 12.5px; color: var(--gold-soft); }
.lang__btn .lang__chev { width: 13px; height: 13px; margin-left: -3px; transition: transform .5s var(--ease); }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; margin: 0; padding: 6px; list-style: none;
  border-radius: 20px; background: rgba(18, 15, 22, 0.94);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  box-shadow: inset 0 0 0 1px var(--hair-2), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top right; pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
  z-index: var(--z-pop);
}
.lang.is-open .lang__menu { opacity: 1; transform: none; pointer-events: auto; }
.lang__opt {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 11px 14px; border-radius: 14px; font-size: 14px; color: var(--text); text-align: left;
  transition: background-color .3s var(--ease);
}
.lang__opt:hover { background: rgba(242, 234, 217, 0.06); }
.lang__opt small { font-size: 10.5px; letter-spacing: .16em; color: var(--faint); }
.lang__opt[aria-selected="true"] { color: var(--parchment); }
.lang__opt[aria-selected="true"] small { color: var(--gold-soft); }

/* ---------------------------------------------------------------- page transitions */
#app { min-height: 100dvh; outline: none; transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); }
#app.is-leaving { opacity: 0; transform: translateY(10px); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; min-height: min(94dvh, 1040px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
/* Fade + slow zoom-out ("Ken Burns") on the same element; the outgoing slide keeps zooming (.is-out) until it
   has faded away. */
.hero__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 1.4s var(--ease); }
.hero__slide.is-on { opacity: 1; }
.hero__slide.is-on, .hero__slide.is-out { animation: hero-zoom 16s linear forwards; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 32%; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,6,10,0.94) 0%, rgba(7,6,10,0.74) 26%, rgba(7,6,10,0.22) 52%, rgba(7,6,10,0) 70%),
    linear-gradient(0deg, var(--ink) 0%, rgba(7,6,10,0.7) 16%, rgba(7,6,10,0) 42%);
}
.hero__inner { position: relative; width: 100%; padding-bottom: clamp(56px, 9vh, 112px); padding-top: 140px; }
/* All featured series' texts are stacked in one grid cell, so the banner is always as tall as the tallest one.
   Before, swapping in a 3-line title made the banner grow, and the painting (which fills the banner) jumped. */
.hero__copies { display: grid; max-width: 640px; }
.hero__copy {
  grid-area: 1 / 1; align-self: end; max-width: 640px;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s linear .5s;
}
.hero__copy.is-on {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .8s var(--ease) .3s, transform 1s var(--ease) .3s, visibility 0s;
}
.hero__title {
  font-family: var(--serif); font-weight: 500; color: var(--parchment);
  font-size: clamp(54px, 7.2vw, 124px); line-height: 0.9; letter-spacing: -0.018em;
  margin: 26px 0 26px; text-wrap: balance;
}
html:lang(ko) .hero__title { font-size: clamp(44px, 5.6vw, 92px); line-height: 1.08; font-weight: 600; }
.hero__desc { font-family: var(--serif); font-size: clamp(19px, 1.55vw, 23px); line-height: 1.42; color: var(--text); max-width: 34ch; margin: 0 0 22px; font-style: italic; }
html:lang(ko) .hero__desc { font-style: normal; font-size: 18px; line-height: 1.6; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 34px; }
html:lang(ko) .hero__meta { letter-spacing: .04em; font-size: 13px; }
.hero__meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); margin-right: 18px; vertical-align: middle; transform: translateY(-2px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__tabs { display: flex; gap: 28px; margin-top: 56px; flex-wrap: wrap; }
.hero__tab { position: relative; padding: 12px 0 0; text-align: left; color: var(--faint); font-size: 12.5px; letter-spacing: 0.02em; min-width: 120px; transition: color .4s var(--ease); }
.hero__tab b { display: block; font: 500 10px/1 var(--sans); letter-spacing: .2em; color: inherit; margin-bottom: 6px; }
.hero__tab::before, .hero__tab::after { content: ""; position: absolute; top: 0; left: 0; height: 1px; width: 100%; background: var(--hair-2); }
.hero__tab::after { background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero__tab.is-on { color: var(--parchment); }
.hero__tab.is-on::after { animation: tab-fill var(--hero-ms, 9000ms) linear forwards; }
.hero.is-paused .hero__tab.is-on::after { animation-play-state: paused; }
@keyframes tab-fill { to { transform: scaleX(1); } }

/* ---------------------------------------------------------------- shelves */
.section { padding-top: var(--section); }
.shelf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.shelf__title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.1vw, 48px); line-height: 1; color: var(--parchment); margin: 14px 0 0; letter-spacing: -0.005em; }
html:lang(ko) .shelf__title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; line-height: 1.2; }
.shelf__sub { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; max-width: 56ch; }
.shelf__nav { display: flex; gap: 8px; flex: none; align-items: center; }
.arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--parchment);
  transition: background-color .4s var(--ease), transform .5s var(--ease), opacity .4s;
}
.arrow:hover { background: rgba(242, 234, 217, 0.07); }
.arrow:active { transform: scale(.94); }
.arrow:disabled { opacity: .3; cursor: default; }
.arrow svg { width: 16px; height: 16px; }

/* Horizontal rows: overflow-y is explicitly hidden so a vertical wheel/trackpad gesture over a row
   always scrolls the page instead of getting "latched" to the row. */
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--col, 220px); gap: var(--gap, 18px);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 10px var(--gutter) 28px; margin: -10px 0 -28px;
  scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.shelf-outer { max-width: var(--maxw); margin: 0 auto; position: relative; }
.track--series { --col: clamp(208px, 17.5vw, 268px); }
.track--posters { --col: clamp(148px, 12.4vw, 196px); --gap: 16px; }
.track--wide { --col: clamp(272px, 25vw, 392px); }
.track--rank { --col: clamp(250px, 20vw, 300px); --gap: 4px; }

/* series poster card */
.scard { display: block; }
.scard .core { aspect-ratio: 9 / 15; }
.scard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.scard:hover .scard__img { transform: scale(1.045); }
.scard__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,6,10,.94) 0%, rgba(7,6,10,.55) 34%, rgba(7,6,10,0) 62%); }
.scard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.scard__count { font: 500 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
html:lang(ko) .scard__count { letter-spacing: .06em; font-size: 11px; }
.scard__title { font-family: var(--serif); font-weight: 500; font-size: clamp(25px, 2vw, 31px); line-height: 1.02; color: var(--parchment); margin: 0; text-wrap: balance; }
html:lang(ko) .scard__title { font-size: 22px; font-weight: 600; line-height: 1.25; }
.scard__meta { font-size: 12.5px; color: var(--muted); }
.scard__play {
  position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: #17120a; background: var(--gold-soft);
  opacity: 0; transform: scale(.7) translateY(-6px); transition: opacity .45s var(--ease), transform .7s var(--spring);
}
.scard__play svg { width: 13px; height: 13px; transform: translateX(1px); }
.scard:hover .scard__play, .scard:focus-visible .scard__play { opacity: 1; transform: none; }
.segbar { display: flex; gap: 3px; margin-top: 4px; }
.segbar i { flex: 1; height: 2px; border-radius: 2px; background: rgba(242,234,217,.16); }
.segbar i.on { background: var(--gold); }
.segbar i.part { background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgba(242,234,217,.16) var(--p, 50%)); }

/* episode poster card (baked YouTube thumbnail) */
.ecard { display: flex; flex-direction: column; gap: 12px; }
.ecard .bezel { padding: 4px; border-radius: 17px; }
.ecard .core { aspect-ratio: 9 / 16; border-radius: 13px; }
.ecard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ecard:hover .ecard__img { transform: scale(1.05); }
.ecard__fallback { position: absolute; inset: auto 0 0 0; padding: 14px; font-family: var(--serif); font-size: 21px; line-height: 1.05; color: var(--parchment); background: linear-gradient(0deg, rgba(7,6,10,.9), rgba(7,6,10,0)); white-space: pre-line; }
.ecard__info { padding: 0 4px; display: flex; flex-direction: column; gap: 5px; }
.ecard__kicker { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
html:lang(ko) .ecard__kicker { letter-spacing: .04em; font-size: 12px; }
.ecard__title { font-size: 13.5px; line-height: 1.38; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.progress { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(242,234,217,.22); overflow: hidden; z-index: 2; }
.progress i { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .6s var(--ease); }
.badge-done {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(7,6,10,.66); color: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold-hair);
}
.badge-done svg { width: 13px; height: 13px; stroke-width: 1.8; }

/* wide card (continue watching) */
.wcard { display: flex; flex-direction: column; gap: 12px; }
.wcard .core { aspect-ratio: 16 / 9; }
.wcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.wcard:hover .wcard__img { transform: scale(1.04); }
.wcard__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,6,10,.7), rgba(7,6,10,0) 50%); }
.wcard__play {
  position: absolute; left: 14px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px; font-size: 12.5px; color: var(--parchment);
  background: rgba(7,6,10,.62); box-shadow: inset 0 0 0 1px var(--hair-2);
}
.wcard__play span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: #17120a; transition: transform .6s var(--spring); }
.wcard__play svg { width: 10px; height: 10px; transform: translateX(1px); }
.wcard:hover .wcard__play span { transform: scale(1.1); }
.wcard__info { padding: 0 4px; display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.wcard__series { font-family: var(--serif); font-size: 21px; color: var(--parchment); line-height: 1.1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html:lang(ko) .wcard__series { font-size: 17px; font-weight: 600; }
.wcard__ep { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* rank row */
.rank { position: relative; display: flex; align-items: flex-end; }
.rank__n {
  font-family: var(--serif); font-variant-numeric: lining-nums; font-weight: 500; font-size: clamp(150px, 13vw, 200px); line-height: .74;
  color: transparent; -webkit-text-stroke: 1px rgba(230, 205, 148, 0.55);
  margin-right: -26px; letter-spacing: -0.06em; user-select: none; flex: none;
  transition: -webkit-text-stroke-color .5s var(--ease);
}
.rank:hover .rank__n { -webkit-text-stroke-color: var(--gold-soft); }
.rank .ecard { width: 68%; flex: none; position: relative; z-index: 1; }
.rank .ecard__info { display: none; }

/* ---------------------------------------------------------------- bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 112px; gap: 16px; }
.tile { display: block; }
.tile .core { height: 100%; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tile:hover .tile__img { transform: scale(1.04); }
.tile__shade { position: absolute; inset: 0; background: linear-gradient(20deg, rgba(7,6,10,.95) 8%, rgba(7,6,10,.55) 46%, rgba(7,6,10,.1) 100%); }
.tile__body { position: absolute; inset: auto 0 0 0; padding: clamp(18px, 2vw, 30px); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tile__title { font-family: var(--serif); font-weight: 500; color: var(--parchment); font-size: clamp(26px, 2.4vw, 38px); line-height: 1; margin: 0; }
html:lang(ko) .tile__title { font-weight: 600; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
.tile--xl .tile__title { font-size: clamp(36px, 3.8vw, 60px); }
.tile__desc { font-size: 14px; color: var(--muted); max-width: 44ch; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile__go {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7,6,10,.5); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--parchment);
  transition: transform .7s var(--spring), background-color .4s var(--ease), color .4s;
}
.tile__go svg { width: 14px; height: 14px; }
.tile:hover .tile__go { transform: translate(2px, -2px) scale(1.06); background: var(--gold-soft); color: #17120a; }

/* ---------------------------------------------------------------- series / episode page (one page: player + episodes) */
.sp { position: relative; padding-top: clamp(92px, 9vw, 124px); isolation: isolate; }
.sp__ambient { position: absolute; inset: 0 0 auto 0; height: min(92dvh, 940px); z-index: -1; overflow: hidden; pointer-events: none; }
.sp__ambient img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .4; transform: scale(1.04); }
.sp__ambient::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--ink) 2%, rgba(7,6,10,.55) 50%, rgba(7,6,10,0) 100%), linear-gradient(90deg, rgba(7,6,10,0) 30%, rgba(7,6,10,.55) 75%); }
.sp__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 4.5vw, 80px); align-items: start; }
.sp--h .sp__grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.sp--h .s-title { font-size: clamp(40px, 3.6vw, 64px); }
.sp--h .s-desc { font-size: 19px; }
.sp__stage { position: sticky; top: 24px; }

.player { position: relative; }
.player .core { background: #000; }
.player--v .core { height: min(calc(100dvh - 148px), 900px); aspect-ratio: 9 / 16; }
.player--h .core { width: 100%; aspect-ratio: 16 / 9; }
.player__frame, .player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__err { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(7,6,10,.9); z-index: 3; }

/* Before anything plays, the player's place shows the painting and the play button. */
.poster {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px;
  padding: clamp(20px, 2.4vw, 34px); color: var(--parchment);
  transition: opacity .7s var(--ease), visibility 0s linear 0s;
}
.poster.is-off { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.poster__img { position: absolute; inset: 0; z-index: -1; }
.poster__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.poster:hover .poster__img img { transform: scale(1.03); }
.poster__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,6,10,.94) 6%, rgba(7,6,10,.55) 34%, rgba(7,6,10,0) 62%); }
.poster__k { font: 500 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
html:lang(ko) .poster__k { letter-spacing: .06em; font-size: 12px; }
.poster__t { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.4vw, 38px); line-height: 1.02; margin: 0 0 6px; white-space: pre-line; text-wrap: balance; }
html:lang(ko) .poster__t { font-weight: 600; font-size: 24px; line-height: 1.3; }

.sp__side { min-width: 0; display: flex; flex-direction: column; gap: 34px; padding-top: 2px; padding-bottom: 8px; }
.s-title { font-family: var(--serif); font-weight: 500; color: var(--parchment); font-size: clamp(46px, 5vw, 86px); line-height: .92; letter-spacing: -0.018em; margin: 20px 0 18px; text-wrap: balance; }
html:lang(ko) .s-title { font-size: clamp(36px, 3.8vw, 60px); font-weight: 600; line-height: 1.15; }
.s-title--ep { font-size: clamp(34px, 3.2vw, 54px); line-height: 1.02; }
.s-desc { font-family: var(--serif); font-size: 21px; line-height: 1.45; color: var(--text); margin: 0 0 22px; font-style: italic; max-width: 40ch; }
html:lang(ko) .s-desc { font-style: normal; font-size: 17px; line-height: 1.65; }
.s-progress { max-width: 460px; }
.s-progress .segbar i { height: 3px; }
.s-progress p { margin: 12px 0 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.s-body { font-family: var(--read); font-size: 18px; line-height: 1.62; color: var(--text); margin: 0; max-width: 62ch; }
.s-body p { margin: 0 0 12px; }

.elist { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.erow { display: block; transition: transform .7s var(--ease); }
.erow:hover { transform: translateX(4px); }
.erow .core { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 12px 18px 12px 12px; background: var(--ink-2); }
.erow__thumb { position: relative; width: 76px; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--ink-4); flex: none; }
.erow__thumb--wide { width: 150px; aspect-ratio: 16 / 9; }
.erow__thumb img { width: 100%; height: 100%; object-fit: cover; }
.erow__thumb .progress { left: 6px; right: 6px; bottom: 6px; height: 2px; }
.erow__n { display: flex; align-items: center; gap: 10px; max-width: 100%; font: 500 10.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
/* Labels like "Now playing · Episode 1" stay on one line (a wrap reads as two labels); if a column is too narrow they end in "…" */
.erow__nt { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* If "Now playing · Episode 1" doesn't fit, the moving bars already say "playing": keep just "Episode 1" */
.erow__body { min-width: 0; }
.erow__n.is-tight .erow__np { display: none; }
html:lang(ko) .erow__n { letter-spacing: .06em; font-size: 11.5px; }
.erow__title { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.14; color: var(--parchment); margin: 8px 0 6px; text-wrap: pretty; }
html:lang(ko) .erow__title { font-size: 17px; font-weight: 600; line-height: 1.38; }
.erow__meta { font-size: 12.5px; color: var(--faint); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.erow__desc { font-family: var(--read); font-size: 15.5px; line-height: 1.5; color: var(--muted); margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.erow__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.erow__go { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--parchment); box-shadow: inset 0 0 0 1px var(--hair-2); transition: background-color .45s var(--ease), color .45s var(--ease), transform .7s var(--spring); }
.erow__go svg { width: 13px; height: 13px; transform: translateX(1px); }
.erow:hover .erow__go { background: var(--gold-soft); color: #17120a; transform: scale(1.06); box-shadow: none; }
.erow.is-next .bezel { background: linear-gradient(180deg, rgba(201,162,39,.16), rgba(201,162,39,.04)); box-shadow: inset 0 0 0 1px rgba(201,162,39,.22), 0 30px 60px -40px rgba(0,0,0,.9); }
/* The episode on screen: expanded, with its description */
.erow.is-now { cursor: default; }
.erow.is-now:hover { transform: none; }
.erow.is-now .bezel { background: linear-gradient(180deg, rgba(201,162,39,.26), rgba(201,162,39,.06)); box-shadow: inset 0 0 0 1px var(--gold-hair), 0 40px 80px -40px rgba(0,0,0,.9); }
.erow.is-now .core { align-items: start; background: linear-gradient(180deg, #16121a, var(--ink-2)); padding: 16px 20px 18px 16px; }
.erow.is-now .erow__thumb { width: 96px; }
.erow.is-now .erow__thumb--wide { width: 176px; }
.erow.is-now .erow__title { font-size: 27px; }
html:lang(ko) .erow.is-now .erow__title { font-size: 20px; }
.erow__full { font-family: var(--read); font-size: 17px; line-height: 1.58; color: var(--text); margin: 12px 0 0; }
.erow__auto { margin-top: 16px; }
.pill-next { padding: 5px 10px; border-radius: 999px; font: 500 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #17120a; background: var(--gold-soft); white-space: nowrap; }
html:lang(ko) .pill-next { letter-spacing: .04em; font-size: 11px; }
.pill-done { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--gold-soft); white-space: nowrap; }
.pill-done svg { width: 13px; height: 13px; stroke-width: 1.8; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; }
.eq i { width: 2px; background: var(--gold-soft); border-radius: 1px; animation: eq 1.1s var(--ease) infinite alternate; transform-origin: bottom; height: 11px; }
.eq i:nth-child(2) { animation-delay: -.4s; } .eq i:nth-child(3) { animation-delay: -.8s; }
.is-paused .eq i { animation-play-state: paused; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

.toggle { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle__ui { width: 38px; height: 22px; border-radius: 999px; background: rgba(242,234,217,.12); position: relative; transition: background-color .45s var(--ease); flex: none; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--parchment); transition: transform .55s var(--spring); }
.toggle input:checked + .toggle__ui { background: var(--gold); }
.toggle input:checked + .toggle__ui::after { transform: translateX(16px); }
.toggle input:focus-visible + .toggle__ui { outline: 1.5px solid var(--gold-soft); outline-offset: 3px; }

/* Share */
.s-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.art__head .s-actions { margin-top: 18px; }
.erow__share { margin-top: 16px; }
.share-btn .btn__ico svg { width: 15px; height: 15px; }
.share-btn.is-copied { color: var(--gold-soft); background: rgba(201,162,39,.08); box-shadow: inset 0 0 0 1px var(--gold-hair); }
.share-btn.is-copied .btn__ico { background: rgba(201,162,39,.16); }
.share-btn.is-copied .btn__ico svg { stroke-width: 1.9; }
.list-h { font-family: var(--serif); font-size: 28px; font-weight: 500; color: var(--parchment); margin: 0 0 16px; }
html:lang(ko) .list-h { font-size: 21px; font-weight: 600; }

/* end-of-episode card: takes the finished player's place (never drawn over a visible player) */
.endcard {
  position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
  padding: clamp(18px, 3vw, 32px); color: var(--parchment);
  opacity: 0; pointer-events: none; transition: opacity .6s var(--ease);
}
.endcard.is-on { opacity: 1; pointer-events: auto; }
.endcard__bg { position: absolute; inset: 0; z-index: -1; }
.endcard__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s linear; }
.endcard.is-on .endcard__bg img { transform: scale(1); }
.endcard__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,6,10,.97) 12%, rgba(7,6,10,.6) 55%, rgba(7,6,10,.35)); }
.endcard__kicker { display: flex; align-items: center; gap: 14px; }
.ring { width: 46px; height: 46px; flex: none; transform: rotate(-90deg); }
.ring circle { stroke-width: 2; }
.ring .ring__track { stroke: rgba(242,234,217,.2); }
.ring .ring__fill { stroke: var(--gold-soft); stroke-dasharray: 126; stroke-dashoffset: 126; }
.endcard.is-on .ring__fill { animation: ring var(--count, 8s) linear forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.endcard__count { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
html:lang(ko) .endcard__count { letter-spacing: .04em; }
.endcard__title { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.02; margin: 0; text-wrap: balance; }
html:lang(ko) .endcard__title { font-size: 24px; font-weight: 600; line-height: 1.3; }
.endcard__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.endcard__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.endcard__more a { display: block; border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 4 / 5; box-shadow: inset 0 0 0 1px var(--hair-2); }
.endcard__more img { width: 100%; height: 100%; object-fit: cover; }
.endcard__more span { position: absolute; inset: auto 0 0 0; padding: 10px; font-family: var(--serif); font-size: 18px; line-height: 1.05; background: linear-gradient(0deg, rgba(7,6,10,.92), rgba(7,6,10,0)); }

/* ---------------------------------------------------------------- search */
.search { padding-top: clamp(112px, 10vw, 140px); padding-bottom: var(--section); min-height: 100dvh; }
.search__field { position: relative; display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--hair-2); transition: border-color .5s var(--ease); }
.search__field:focus-within { border-color: var(--gold-hair); }
.search__field > svg { width: 30px; height: 30px; color: var(--gold-soft); flex: none; stroke-width: 1.2; }
.search__input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-family: var(--serif); font-size: clamp(38px, 5vw, 76px); line-height: 1.05; color: var(--parchment); padding: 0; }
html:lang(ko) .search__input { font-size: clamp(30px, 3.6vw, 52px); }
.search__input::-webkit-search-cancel-button, .search__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search__input::placeholder { color: rgba(216,208,194,.28); font-style: italic; }
html:lang(ko) .search__input::placeholder { font-style: normal; }
.search__clear { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--muted); flex: none; }
.search__clear svg { width: 14px; height: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; align-items: center; }
.chips__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-right: 8px; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: 13.5px; color: var(--text); box-shadow: inset 0 0 0 1px var(--hair-2); transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s; }
.chip:hover { background: rgba(201,162,39,.1); color: var(--parchment); box-shadow: inset 0 0 0 1px var(--gold-hair); }
.results__summary { margin: 30px 0 0; font-size: 13px; color: var(--muted); }
.results__group { padding-top: 56px; }
.results__h { font-family: var(--serif); font-weight: 500; font-size: 32px; color: var(--parchment); margin: 0 0 22px; display: flex; align-items: baseline; gap: 14px; }
html:lang(ko) .results__h { font-size: 24px; font-weight: 600; }
.results__h small { font-family: var(--sans); font-size: 12px; color: var(--faint); letter-spacing: .1em; }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 18px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; }
.mrow { display: block; }
.mrow .core { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 18px; padding: 12px; background: var(--ink-2); align-items: start; }
.mrow__img { width: 64px; aspect-ratio: 9/16; border-radius: 9px; overflow: hidden; }
.mrow__img img { width: 100%; height: 100%; object-fit: cover; }
.mrow__t { font-family: var(--serif); font-size: 19px; line-height: 1.15; color: var(--parchment); margin: 2px 0 8px; }
html:lang(ko) .mrow__t { font-size: 16px; font-weight: 600; line-height: 1.35; }
.mrow__snip { font-family: var(--read); font-size: 15.5px; line-height: 1.55; color: var(--muted); margin: 0; }
.mrow__snip mark, .mrow__t mark { background: none; color: var(--gold-soft); box-shadow: inset 0 -1px 0 var(--gold-hair); }
.empty { padding: 72px 0; font-family: var(--serif); font-size: 28px; color: var(--muted); font-style: italic; }

/* ---------------------------------------------------------------- list page */
.lpage { padding-top: clamp(112px, 10vw, 140px); padding-bottom: var(--section); }
.lpage__head { max-width: 820px; margin-bottom: 48px; }
.lpage__title { font-family: var(--serif); font-weight: 500; color: var(--parchment); font-size: clamp(48px, 6vw, 96px); line-height: .92; margin: 22px 0 18px; letter-spacing: -0.015em; }
html:lang(ko) .lpage__title { font-weight: 600; line-height: 1.12; font-size: clamp(36px, 4.4vw, 64px); }
.lpage__desc { font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--text); margin: 0; max-width: 46ch; }
html:lang(ko) .lpage__desc { font-style: normal; font-size: 17px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 28px 18px; }

/* ---------------------------------------------------------------- footer */
.footer { margin-top: var(--section); padding: 0 0 calc(40px + env(safe-area-inset-bottom)); }
.footer__card .core { padding: clamp(28px, 5vw, 72px); background: radial-gradient(120% 140% at 0% 0%, rgba(201,162,39,.12), rgba(201,162,39,0) 50%), var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.footer__big { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 5vw, 80px); line-height: .95; color: var(--parchment); margin: 22px 0 0; letter-spacing: -0.015em; text-wrap: balance; }
html:lang(ko) .footer__big { font-weight: 600; line-height: 1.2; font-size: clamp(32px, 3.6vw, 56px); }
.footer__big em { color: var(--gold-soft); }
.footer__form-label { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.footer__cta { display: flex; flex-direction: column; align-items: flex-start; }
.footer__cta .footer__form-label { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--text); margin-bottom: 16px; }
html:lang(ko) .footer__cta .footer__form-label { font-style: normal; font-size: 18px; }
.footer__yt .btn__ico svg { width: 17px; height: 17px; }
.footer__email-toggle { display: inline-block; margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: left; transition: color .4s var(--ease); }
.footer__email-toggle:hover { color: var(--parchment); }
.footer__email-toggle svg { display: inline-block; width: 13px; height: 13px; margin-left: 5px; vertical-align: -2px; transition: transform .5s var(--spring); }
.footer__email-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.footer__form { width: 100%; max-width: 420px; margin-top: 12px; animation: reveal-in .6s var(--ease-out); }
@keyframes reveal-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.field--sm { padding: 4px 4px 4px 16px; }
.field--sm input { height: 38px; font-size: 14px; }
.field { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 20px; border-radius: 999px; background: rgba(242,234,217,.04); box-shadow: inset 0 0 0 1px var(--hair-2); transition: box-shadow .4s var(--ease); }
.field:focus-within { box-shadow: inset 0 0 0 1px var(--gold-hair); }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--parchment); font: 400 15px var(--sans); height: 44px; }
.field input::placeholder { color: var(--faint); }
.footer__note { font-size: 12px; color: var(--faint); margin: 12px 0 0; min-height: 18px; }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hair); font-size: 13.5px; color: var(--muted); }
.footer__links a:hover { color: var(--parchment); }
.footer__links .sp-fill { flex: 1; }
/* The visitor's own-language accounts, as quiet icons on the bottom line */
.footer__icons { display: inline-flex; gap: 2px; margin-right: -8px; }
.footer__icons a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color .4s var(--ease), background-color .4s var(--ease), transform .6s var(--spring); }
.footer__icons a:hover { color: var(--parchment); background: rgba(242,234,217,.07); transform: translateY(-1px); }
.footer__icons svg { width: 18px; height: 18px; }
.footer__proto { margin-top: 18px; padding-top: 18px; font-size: 12px; color: var(--faint); align-items: center; }
.footer__proto button { color: var(--gold-soft); font-size: 12px; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--gold-hair); }
.footer__proto button:hover { background: rgba(201,162,39,.1); }

/* ---------------------------------------------------------------- About */
.ab { padding-top: clamp(112px, 10vw, 148px); }
.ab__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.ab__portrait { margin: 0; position: sticky; top: 32px; }
.ab__portrait .core { aspect-ratio: 4 / 5; }
.ab__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ab__name { font-family: var(--serif); font-weight: 500; color: var(--parchment); font-size: clamp(52px, 6.2vw, 104px); line-height: .92; letter-spacing: -0.018em; margin: 22px 0 30px; }
.ab__dr { font-style: italic; color: var(--gold-soft); font-size: .5em; letter-spacing: 0; }
.ab__lead { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.42; color: var(--parchment); margin: 0 0 30px; max-width: 36ch; }
html:lang(ko) .ab__lead { font-style: normal; font-size: 20px; line-height: 1.7; }
.ab__body p { font-family: var(--read); font-size: 19px; line-height: 1.62; color: var(--text); margin: 0 0 18px; max-width: 62ch; }
.ab__follow { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hair); }
.ab__follow-k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin: 0 0 14px; }
html:lang(ko) .ab__follow-k { letter-spacing: .06em; font-size: 12px; }
.ab__social { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- Books */
.book { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: center; padding: clamp(48px, 7vw, 104px) 0; border-top: 1px solid var(--hair); }
.book--flip .book__cover { order: 2; }
.book__cover { width: 100%; max-width: 420px; justify-self: center; }
.book__cover .bezel { transform: rotate(-2deg); transition: transform 1.1s var(--ease); }
.book--flip .book__cover .bezel { transform: rotate(2deg); }
.book__cover:hover .bezel { transform: rotate(0deg) translateY(-6px); }
.book__cover img { width: 100%; height: auto; }
.book__title { font-family: var(--serif); font-weight: 500; color: var(--parchment); font-size: clamp(38px, 4vw, 64px); line-height: 1; letter-spacing: -0.012em; margin: 16px 0 12px; text-wrap: balance; }
.book__sub { font-family: var(--serif); font-style: italic; font-size: 23px; color: var(--gold-soft); margin: 0 0 24px; }
html:lang(ko) .book__sub { font-style: normal; font-size: 19px; }
.book__p { font-family: var(--read); font-size: 18.5px; line-height: 1.62; color: var(--text); margin: 0 0 16px; max-width: 60ch; }
.book__buy { margin-top: 28px; }
.book__series { margin-top: 40px; }
.book__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-series { display: inline-flex; align-items: center; gap: 12px; padding: 5px 18px 5px 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.chip-series:hover { background: rgba(201,162,39,.08); box-shadow: inset 0 0 0 1px var(--gold-hair); }
.chip-series img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.chip-series span { display: flex; flex-direction: column; line-height: 1.15; }
.chip-series b { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--parchment); }
.chip-series small { font-size: 11.5px; color: var(--faint); }

/* ---------------------------------------------------------------- Articles */
.agrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.acard { display: block; }
.acard .core { height: 100%; background: var(--ink-2); display: flex; flex-direction: column; }
.acard__img { aspect-ratio: 16 / 9; overflow: hidden; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.acard:hover .acard__img img { transform: scale(1.04); }
.acard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; flex: 1; }
.acard__title { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.08; color: var(--parchment); margin: 0; text-wrap: balance; }
.acard__sub { font-family: var(--read); font-size: 16.5px; color: var(--muted); margin: 0 0 6px; }
.acard__body .btn--text { margin-top: auto; }
.acard--lead { grid-column: 1 / -1; }
.acard--lead .core { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.acard--lead .acard__img { aspect-ratio: auto; min-height: 340px; }
.acard--lead .acard__body { padding: clamp(24px, 3vw, 44px); justify-content: center; }
.acard--lead .acard__title { font-size: clamp(32px, 3.2vw, 50px); }

.art { padding-top: clamp(112px, 10vw, 148px); }
/* header, image caption column and prose share one left edge */
.art__head { max-width: calc(820px + 2 * var(--gutter)); }
.art__title { font-family: var(--serif); font-weight: 500; color: var(--parchment); font-size: clamp(44px, 5.6vw, 88px); line-height: .96; letter-spacing: -0.016em; margin: 22px 0 18px; text-wrap: balance; }
.art__sub { font-family: var(--serif); font-style: italic; font-size: 23px; color: var(--text); margin: 0 0 30px; }
.art__cta { display: block; max-width: 560px; transition: transform .7s var(--ease); }
.art__cta:hover { transform: translateY(-2px); }
.art__cta .core { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 10px 16px 10px 10px; background: var(--ink-2); }
.art__cta-img { width: 58px; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; }
.art__cta-img img { width: 100%; height: 100%; object-fit: cover; }
.art__cta-t { display: block; font-family: var(--serif); font-size: 24px; color: var(--parchment); line-height: 1.1; margin-top: 6px; }
.art__cta-m { display: block; font-size: 12.5px; color: var(--faint); margin-top: 4px; }
.art__cta:hover .erow__go { background: var(--gold-soft); color: #17120a; box-shadow: none; }
.art__hero { margin-top: 48px; }
.art__hero .core { aspect-ratio: 16 / 9; }
.art__hero img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 820px; margin: 64px auto 0; padding: 0 var(--gutter); font-family: var(--read); font-size: 20px; line-height: 1.66; color: var(--text); box-sizing: content-box; }
.prose p { margin: 0 0 1.05em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); font-weight: 500; color: var(--parchment); line-height: 1.15; margin: 1.9em 0 .6em; }
.prose h2 { font-size: 36px; } .prose h3 { font-size: 30px; } .prose h4 { font-size: 27px; }
.prose blockquote { margin: 1.6em 0; padding: 2px 0 2px 26px; border-left: 1px solid var(--gold-hair); font-style: italic; color: var(--parchment); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose a { color: var(--gold-soft); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong, .prose b { color: var(--parchment); font-weight: 600; }
.prose hr { border: 0; height: 1px; width: 32%; margin: 2.4em auto; background: var(--hair-2); }
.prose figure { margin: 2.2em 0; }
.prose img { width: 100%; border-radius: 16px; box-shadow: 0 0 0 1px var(--hair); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.05em; }
.art__foot { max-width: 1100px; margin: 80px auto 0; padding: 48px var(--gutter) 0; border-top: 1px solid var(--hair); }
.art__more { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.art__src { font-size: 13.5px; color: var(--muted); margin: 0; }
.art__src a { color: var(--gold-soft); }
.s-article { padding-top: 6px; }
.s-article__k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.s-article__link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 4px; border-top: 1px solid var(--hair); font-family: var(--serif); font-size: 21px; color: var(--parchment); transition: color .4s var(--ease); }
.s-article__link:last-child { border-bottom: 1px solid var(--hair); }
.s-article__link svg { width: 16px; height: 16px; color: var(--gold-soft); flex: none; transition: transform .6s var(--spring); }
.s-article__link:hover { color: var(--gold-soft); }
.s-article__link:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- Podcast */
.pod__head { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.pod__art .core { aspect-ratio: 1; }
.pod__art img { width: 100%; height: 100%; object-fit: cover; }
.pod__title { font-size: clamp(40px, 4.6vw, 76px); }
.pod__desc { font-family: var(--read); font-size: 18px; line-height: 1.6; color: var(--text); margin: 0 0 12px; max-width: 64ch; }
.pod__listen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pod__count { font-family: var(--sans); font-size: 12px; color: var(--faint); letter-spacing: .1em; margin-left: 8px; }
.pod__listen .btn--gold { margin-right: 6px; }
/* Episode rows with their own player */
.pep .core { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 12px 22px 12px 12px; background: var(--ink-2); transition: background-color .5s var(--ease); }
.pep.is-current .bezel, .pep.is-current { box-shadow: inset 0 0 0 1px var(--gold-hair), 0 40px 80px -40px rgba(0,0,0,.9); }
.pep.is-current { background: linear-gradient(180deg, rgba(201,162,39,.22), rgba(201,162,39,.05)); }
.pep.is-current .core { background: linear-gradient(180deg, #16121a, var(--ink-2)); }
.pep__art { position: relative; width: 96px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ink-4); }
.pep__art img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.pep:hover .pep__art img { transform: scale(1.05); }
.pep.is-playing .pep__art img { filter: brightness(.7); }
.pep__play {
  position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: #17120a; background: linear-gradient(180deg, #ddbb4a, #c9a227);
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.38);
  transition: transform .6s var(--spring);
}
.pep__play:hover { transform: scale(1.08); }
.pep__play:active { transform: scale(.96); }
.pep__play svg { width: 16px; height: 16px; }
.pep__play .ico-play:not(.ico-pause) { transform: translateX(1px); }
.pep__play .ico-pause { display: none; }
.pep.is-playing .pep__play .ico-play:not(.ico-pause) { display: none; }
.pep.is-playing .pep__play .ico-pause { display: block; }
.pep__title { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.15; color: var(--parchment); margin: 7px 0 4px; text-wrap: pretty; }
.pep__desc { font-family: var(--read); font-size: 15.5px; line-height: 1.5; color: var(--muted); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pep__bar { display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.pep.is-current .pep__bar { color: var(--gold-soft); }
.pep__range { --p: 0%; flex: 1; min-width: 0; height: 20px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.pep__range:focus-visible { outline: none; }
.pep__range::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p), rgba(242,234,217,.16) var(--p)); }
.pep__range::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(242,234,217,.16); }
.pep__range::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--gold); }
.pep__range::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; margin-top: -5px; border-radius: 50%; background: var(--gold-soft); border: 0; opacity: 0; transition: opacity .3s var(--ease); }
.pep__range::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: var(--gold-soft); border: 0; opacity: 0; transition: opacity .3s var(--ease); }
.pep:hover .pep__range::-webkit-slider-thumb, .pep.is-current .pep__range::-webkit-slider-thumb, .pep__range:focus-visible::-webkit-slider-thumb { opacity: 1; }
.pep:hover .pep__range::-moz-range-thumb, .pep.is-current .pep__range::-moz-range-thumb { opacity: 1; }
.pep__video { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: 999px; font-size: 12.5px; color: var(--muted); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--hair-2); transition: color .4s var(--ease), box-shadow .4s var(--ease); }
.pep__video svg { width: 10px; height: 10px; }
.pep__video:hover { color: var(--parchment); box-shadow: inset 0 0 0 1px var(--gold-hair); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp__grid, .sp--h .sp__grid { grid-template-columns: minmax(0, 1fr); }
  .sp__stage { position: relative; top: 0; display: flex; justify-content: center; }
  .sp--h .sp__stage { display: block; }
  .player--v .core { height: min(calc(100dvh - 130px), 860px); }
  .bento { grid-auto-rows: 96px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  :root { --section: 64px; }
  body { font-size: 14.5px; }
  .mh-btn__label { display: none; }
  .mh-btn { padding: 0 11px; }
  .brand__dr { font-size: 18px; }
  .brand__name { font-size: 24px; }
  .hero { min-height: 100dvh; }
  .hero__slide img { object-position: center 20%; }
  .hero::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(7,6,10,.86) 30%, rgba(7,6,10,.15) 62%, rgba(7,6,10,0) 100%); }
  .hero__inner { padding-bottom: 40px; }
  .hero__title { font-size: clamp(46px, 13vw, 64px); margin: 18px 0 16px; }
  .hero__desc { font-size: 18px; margin-bottom: 18px; }
  .hero__meta { margin-bottom: 24px; font-size: 11px; }
  .hero__meta span:last-child { display: none; }
  .hero__ctas .btn--ghost { display: none; }
  .hero__ctas .btn--gold { width: 100%; justify-content: space-between; }
  .hero__tabs { gap: 14px; margin-top: 30px; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .hero__tabs::-webkit-scrollbar { display: none; }
  .hero__tab { min-width: 110px; flex: none; }
  .shelf__nav { display: none; }
  .shelf__head { margin-bottom: 18px; }
  .track--series { --col: 64vw; }
  .track--posters { --col: 40vw; --gap: 12px; }
  .track--wide { --col: 78vw; }
  .track--rank { --col: 66vw; }
  .rank__n { font-size: 132px; margin-right: -12px; }
  .rank .ecard { width: 64%; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 14px; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .tile .core { aspect-ratio: 16 / 10; height: auto; }
  .tile--xl .core { aspect-ratio: 4 / 5; }
  .sp { padding-top: 112px; }
  .sp .wrap { padding-left: 12px; padding-right: 12px; }
  .sp__grid { gap: 28px; }
  .player--v { width: 100%; display: flex; justify-content: center; }
  .player--v .core { height: auto; width: min(100%, calc((100dvh - 110px) * 9 / 16)); }
  .player.bezel { padding: 4px; border-radius: 22px; }
  .player.bezel > .core { border-radius: 18px; }
  .sp__side { padding: 0 4px; gap: 26px; }
  .s-title { font-size: clamp(44px, 12vw, 60px); margin: 16px 0 14px; }
  .s-title--ep { font-size: clamp(30px, 8.6vw, 40px); }
  .s-desc { font-size: 18.5px; }
  .erow:hover { transform: none; }
  .erow .core { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 10px 14px 10px 10px; }
  .erow__side { display: none; }
  .erow__thumb { width: 64px; }
  .erow__thumb--wide { width: 108px; }
  .erow.is-now .erow__thumb { width: 72px; }
  .erow.is-now .erow__thumb--wide { width: 120px; }
  .erow__title { font-size: 18.5px; margin: 6px 0 4px; }
  .erow__n { letter-spacing: .13em; gap: 8px; }
  .erow.is-now .erow__title { font-size: 21px; }
  .erow__desc { display: none; }
  .endcard__more { display: none; }
  .mgrid { grid-template-columns: minmax(0, 1fr); }
  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .search { padding-top: 128px; }
  .search__field > svg { width: 22px; height: 22px; }
  .lpage { padding-top: 128px; }
  .footer__links { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ab { padding-top: 128px; }
  .ab__grid, .book, .pod__head { grid-template-columns: minmax(0, 1fr); }
  .ab__portrait { position: relative; top: 0; max-width: 420px; }
  .ab__name { font-size: clamp(46px, 13vw, 64px); }
  .book--flip .book__cover { order: 0; }
  .book__cover { max-width: 300px; justify-self: start; }
  .agrid { grid-template-columns: minmax(0, 1fr); }
  .acard--lead .core { display: flex; }
  .acard--lead .acard__img { min-height: 0; aspect-ratio: 16 / 9; }
  .art { padding-top: 128px; }
  .art__title { font-size: clamp(40px, 11vw, 56px); }
  .prose { font-size: 18.5px; margin-top: 40px; }
  .pod__head { align-items: start; }
  .pod__art { max-width: 240px; }
  .pep .core { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 10px 14px 12px 10px; align-items: start; }
  .pep__art { width: 76px; }
  .pep__play { width: 40px; height: 40px; }
  .pep__title { font-size: 19px; }
  .pep__desc { display: none; }
  .pep__bar { grid-column: 1 / -1; }
  .pep__main { display: contents; }
  .pep__main > .ecard__kicker, .pep__main > .pep__title { grid-column: 2; }
  .pep__art { grid-row: span 2; }
  .pep__main > .ecard__kicker { align-self: end; }
  .pep__main > .pep__title { align-self: start; margin-top: 4px; }
  .pep__video { grid-column: 1 / -1; justify-self: start; }
  .pod__listen .btn--gold { width: 100%; justify-content: space-between; margin-right: 0; }
  .footer__icons { margin: 4px 0 0 -11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal], [data-stagger] > * { opacity: 1; transform: none; filter: none; }
}

/* Text written into each page's HTML by export/build_pages.py, there only so Chrome detects the right language
   (it decides before any script runs); the app replaces it on its first draw. Transparent, not hidden: Chrome
   skips display:none and visibility:hidden text, which would bring back the "translate from French?" prompt. */
.prerender { padding-top: clamp(120px, 20vh, 220px); padding-bottom: var(--section); opacity: 0; pointer-events: none; }
.prerender > * { max-width: 72ch; }
.prerender h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; color: var(--parchment); margin: 0 0 16px; }
.prerender p { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.55vw, 23px); line-height: 1.42; color: var(--text); margin: 0 0 28px; }
.prerender ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.prerender strong { font-weight: 500; color: var(--text); margin-right: 6px; }
