:root {
  color-scheme: dark;
  --ink: #f7f1e8;
  --muted: #b8afa3;
  --surface: rgba(49, 43, 37, 0.78);
  --line: rgba(255, 248, 238, 0.16);
  --accent: #d9ad72;
  --backdrop: #171411;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  background: var(--backdrop);
  min-width: 20rem;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% -10%, rgba(155, 111, 65, 0.18), transparent 38rem),
    linear-gradient(180deg, #201c18 0%, var(--backdrop) 50%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

a { color: inherit; }

a:focus-visible,
video:focus-visible {
  outline: 3px solid #f3c98f;
  outline-offset: 4px;
}

.reel-shell,
.home-shell {
  width: min(100%, 68rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.listing-header {
  display: grid;
  gap: 0.4rem;
  padding: clamp(1.4rem, 6vw, 3.5rem) 0 clamp(1.25rem, 4vw, 2rem);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p,
blockquote { margin-block-start: 0; }

h1,
.story-card h2,
.host-note h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  max-width: 17ch;
  margin-block-end: 0;
  font-size: clamp(2.25rem, 8vw, 5.4rem);
  line-height: 0.98;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.7rem 0 0;
  color: #ded5ca;
  font-size: 0.94rem;
}

.rating > span:first-child,
.stars { color: var(--accent); }
.rating-divider { color: #746b62; }

.story {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(1rem, 3vw, 1.75rem);
  background: rgba(35, 30, 26, 0.72);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.32);
}

.media-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090806;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.progress-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
  padding: 1rem clamp(1rem, 3vw, 1.5rem) 0;
}

.progress-segment {
  width: 100%;
  height: 0.22rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: var(--accent);
}

.progress-segment::-webkit-progress-bar { background: rgba(255, 255, 255, 0.13); }
.progress-segment::-webkit-progress-value { background: var(--accent); }
.progress-segment::-moz-progress-bar { background: var(--accent); }

.card-deck {
  min-height: clamp(13.5rem, 30vw, 18rem);
  padding: 0.85rem clamp(1rem, 4vw, 2rem) clamp(1rem, 4vw, 2rem);
}

.story-card {
  min-height: clamp(11.5rem, 27vw, 15rem);
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: var(--surface);
  backdrop-filter: blur(1rem);
}

.story-card[hidden] { display: none; }

.stars {
  margin-bottom: 0.85rem;
  font-size: 0.86rem;
  letter-spacing: 0.15em;
}

blockquote {
  max-width: 31ch;
  margin-bottom: 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 4.7vw, 2.5rem);
  line-height: 1.18;
}

.attribution {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-kicker {
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-card h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(2rem, 7vw, 4.2rem);
  line-height: 1;
}

.host-note {
  display: grid;
  justify-items: start;
  max-width: 43rem;
  padding: clamp(4rem, 11vw, 8rem) 0;
}

.host-note h2 {
  margin: 0.75rem 0 1.25rem;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.02;
}

.host-note > p:not(.eyebrow) {
  max-width: 38rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.2rem);
  line-height: 1.65;
}

.cta {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: #241d17;
  font-weight: 750;
  text-decoration: none;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  color: #8e857c;
  font-size: 0.78rem;
}

.home-page { display: grid; place-items: center; }
.home-shell h1 { margin: 0.8rem 0 1.5rem; }
.home-shell > p:last-child { max-width: 38rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 20rem) {
  .reel-shell,
  .home-shell { padding-inline: 0.75rem; }
  .story { border-radius: 0.8rem; }
  .card-deck { padding-inline: 0.75rem; }
  .story-card { padding-inline: 1rem; }
  footer { flex-direction: column; }
}

@media (forced-colors: active) {
  .story,
  .story-card,
  .cta { border: 1px solid CanvasText; }
}
