/* V1 — Discovery first: the cast is the hero. */

.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 520px; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 40%, rgba(110, 36, 48, 0.35), transparent 70%);
}
.hero-copy { position: relative; text-align: center; max-width: 780px; margin-inline: auto; padding-inline: var(--gutter); }
.hero-copy h1 { font: 600 12.5px/1.5 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.hero-copy .display {
  margin-top: 16px; font: 400 clamp(32px, 4.4vw, 54px)/1.08 var(--serif); letter-spacing: -0.01em; text-wrap: balance;
}
.hero-copy .display em { font-style: italic; color: var(--gold-bright); }
.hero-copy .lede { margin: 16px auto 0; max-width: 560px; color: var(--muted); font-size: 16.5px; }

.moods { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.moods a {
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; color: var(--text);
  background: rgba(236, 227, 217, 0.06); box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.moods a:hover { background: rgba(201, 162, 75, 0.14); box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.6); }
.hero-actions { margin-top: 26px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-copy .trust { justify-content: center; margin-top: 16px; }
@media (max-width: 640px) { .hero-copy .trust span:nth-child(3) { display: none; } }

/* Cast wall: two rows drifting in opposite directions */
.cast { position: relative; margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 14px; padding-bottom: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.cast-row { display: flex; gap: 14px; width: max-content; animation: drift 90s linear infinite; }
.cast-row.reverse { animation-direction: reverse; animation-duration: 110s; }
.cast:hover .cast-row, .cast:focus-within .cast-row { animation-play-state: paused; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .cast-row { animation: none; }
  .cast { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
.cast-card { position: relative; flex: none; width: clamp(132px, 13vw, 188px); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cast-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cast-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(8, 6, 8, 0.92)); }
.cast-card span { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; line-height: 1.25; }
.cast-card strong { display: block; font: 400 15.5px/1.2 var(--serif); }
.cast-card small { display: block; margin-top: 3px; font-size: 11.5px; color: var(--gold-bright); letter-spacing: 0.02em; }
.cast-card:hover img { transform: scale(1.05); }

/* Sticky mood tabs */
.tabs {
  position: sticky; top: 0; z-index: 15; margin-top: clamp(48px, 7vw, 80px);
  background: rgba(11, 10, 12, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-block: 1px solid var(--line);
}
.tabs ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.tabs a:hover { color: var(--text); }
.tabs a[aria-current="true"] { color: #17110a; background: var(--gold); font-weight: 600; }
.tabs .browse-all { margin-left: auto; color: var(--gold-bright); }

/* Shelves */
.shelf { padding-top: clamp(40px, 5vw, 64px); scroll-margin-top: 64px; }
.shelf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.45), 0 18px 40px rgba(0, 0, 0, 0.45); }
.card figure { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; }
.card figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 0.5s ease; }
.card:hover figure img { transform: scale(1.04); }
.card figure figcaption {
  position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.04em; color: var(--text); background: rgba(11, 10, 12, 0.72); backdrop-filter: blur(6px);
}
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.card-body h3 { font-size: 19px; line-height: 1.2; }
.card-body p { color: var(--muted); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-body .link-arrow { margin-top: auto; padding-top: 4px; }
.shelf-more { white-space: nowrap; }

@media (max-width: 960px) { .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .shelf .section-head { align-items: start; flex-direction: column; gap: 6px; margin-bottom: 14px; }
  .shelf-grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .shelf-grid::-webkit-scrollbar { display: none; }
  .shelf-grid .card { flex: 0 0 72%; scroll-snap-align: start; }
  .card-body h3 { font-size: 18px; }
}

/* Feature: try a first line */
.feature { margin-top: clamp(64px, 9vw, 112px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.feature-art { position: relative; min-height: 460px; }
.feature-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.feature-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--surface)); }
.feature-copy { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.feature-copy h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.scene { font-family: var(--serif); font-size: 17px; line-height: 1.65; color: #d9cfc5; }
.scene q { display: block; margin-top: 12px; font-style: italic; font-size: 21px; line-height: 1.4; color: var(--text); quotes: "\201C" "\201D"; }
.prompt { font-size: 13px; color: var(--muted); margin-top: 4px; }
.lines { display: grid; gap: 10px; }
.line {
  text-align: left; cursor: pointer; padding: 13px 16px; border-radius: 12px; border: 0;
  background: rgba(236, 227, 217, 0.05); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px; line-height: 1.45; transition: box-shadow 0.2s ease, background 0.2s ease;
}
.line small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; font-style: italic; }
.line:hover { background: rgba(236, 227, 217, 0.08); }
.line[aria-pressed="true"] { background: rgba(201, 162, 75, 0.12); box-shadow: inset 0 0 0 1.5px var(--gold); }
.feature-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.feature-cta small { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature-art { min-height: 0; aspect-ratio: 4 / 3; }
  .feature-art::after { background: linear-gradient(180deg, transparent 55%, var(--surface)); }
}

/* Steps */
.steps { padding-top: clamp(64px, 9vw, 112px); }
.steps ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; padding: 20px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(201, 162, 75, 0.14); color: var(--gold-bright); font: 600 13px var(--sans); margin-bottom: 14px; }
.steps h3 { font-size: 18px; }
.steps p { margin-top: 6px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .steps ol { grid-template-columns: 1fr; } }

/* Closing */
.closing { text-align: center; padding: clamp(56px, 8vw, 96px) var(--gutter); border-top: 1px solid var(--line); }
.faces { display: flex; justify-content: center; margin-bottom: 22px; }
.faces img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid var(--bg); margin-left: -12px; }
.faces img:first-child { margin-left: 0; }
.closing h2 { font-size: clamp(24px, 2.6vw, 32px); }
.closing p { margin: 10px auto 22px; color: var(--muted); max-width: 460px; }
