/* guides.css: show guide pages, in the "Screening" system (spec: CLAUDE.md → Design system).
   Same tokens and moves as the app: full-bleed still with the Tanker title over its lower edge,
   ruled sections, numbered points like the profile's observations, square buttons. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }

:root {
  --bg: #070707;
  --ink: #f4f1ea;
  --accent: #ff3d1f;
  --rule: rgba(255, 255, 255, .19);
  --dim: .55;
  --display: 'Tanker', 'Arial Narrow', sans-serif;
  --sans: 'Switzer', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  padding: 0 20px 80px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.show-page { width: 100%; max-width: 520px; margin: 0 auto; }

/* label type: nav, meta, section labels, buttons */
.g-navlink, .show-category, .show-meta, .section-label, .platform-btn, .platform-note,
.cta-btn, .cta-btn-ghost, .guides-group, .guide-card-category, .match-signal {
  font: 500 12px/1.3 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ── Nav ── */
.g-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  position: relative;
  z-index: 2;
}
.g-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 400 26px/1 var(--display);
  letter-spacing: .04em;
  color: var(--ink);
  text-decoration: none;
}
/* the record light: the one round thing in the system */
.g-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  animation: gDotBlink 2.4s ease-in-out infinite;
}
@keyframes gDotBlink { 0%, 40%, 100% { opacity: 1; } 20% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .g-dot { animation: none; } }
.g-navlink { color: var(--ink); opacity: .6; text-decoration: none; }
.g-navlink:hover { opacity: 1; }

/* ── Still + title (a pick, as a page) ── */
.g-still {
  margin: -66px -20px 0;
  height: min(118vw, 560px);
  background-color: var(--bg);
  background-size: cover;
  background-position: center top;
  position: relative;
}
.g-still::before, .g-still::after { content: ""; position: absolute; left: 0; right: 0; }
/* keep the nav readable over bright stills */
.g-still::before { top: 0; height: 90px; background: linear-gradient(180deg, rgba(7, 7, 7, .7), transparent); }
.g-still::after { top: 0; bottom: 0; background: linear-gradient(180deg, transparent 50%, var(--bg) 100%); }

.show-header { position: relative; }
.show-title {
  font: 400 min(124px, 24vw)/.8 var(--display);
  text-transform: uppercase;
  color: var(--accent);
  margin: -.62em 0 0 -3px;
  overflow-wrap: break-word;
}
.show-category { margin-top: 22px; color: var(--ink); }
.show-meta { margin-top: 8px; color: var(--ink); opacity: var(--dim); }

/* ── Sections ── */
.content { margin-top: 40px; }
.section { border-top: 1px solid var(--rule); padding: 22px 0 36px; }
.section-label { color: var(--ink); opacity: .6; margin-bottom: 18px; }

.logline { font: 500 21px/1.35 var(--sans); letter-spacing: -.01em; }
.logline strong, .prose strong, .comp-titles strong, .comp-caveat strong { font-weight: 600; }

.prose, .personalized-read { font: 400 18px/1.45 var(--sans); }

/* "What it's about": numbered like the profile's observations, last one weighted */
.themes-list { list-style: none; counter-reset: point; border-top: 1px solid var(--rule); }
.theme-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  counter-increment: point;
}
.theme-bullet::before { content: counter(point); font: 400 26px/1 var(--display); color: var(--accent); }
.theme-text { font: 400 18px/1.4 var(--sans); }
.theme-text .lead { display: block; font-weight: 500; margin-bottom: 4px; }
.theme-item:last-child .theme-text { font-weight: 500; }
.theme-item:last-child .theme-text .lead { font-weight: 600; }

/* "If you've seen…" */
.comps-list { border-top: 1px solid var(--rule); }
.comp-item { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.comp-titles { font: 500 19px/1.35 var(--sans); }
.comp-caveat { font: 400 17px/1.45 var(--sans); opacity: .8; margin-top: 6px; }

/* ── Where you might land (filled by personalize.js) ── */
.personalized-layer:empty { display: none; }
.match-signal { color: var(--accent); margin: -6px 0 14px; }
.match-signal.verdict-weak, .match-signal.verdict-mixed { color: var(--ink); }
.pr-lead { display: block; font: 500 21px/1.3 var(--sans); letter-spacing: -.01em; margin-bottom: 12px; }
.pr-body { display: block; opacity: .9; }
/* their own titles are the evidence: marked the way a pick marks them */
.personalized-read strong { font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.personalized-basis { font: 400 14px/1.4 var(--sans); opacity: var(--dim); margin-top: 16px; }
.personalized-basis a { text-underline-offset: 3px; }
.personalized-wait { font: 400 16px/1.4 var(--sans); opacity: var(--dim); animation: prWait 1.6s ease-in-out infinite; }
@keyframes prWait { 50% { opacity: .25; } }
.personalized-invite { margin-top: 20px; border-top-width: 1px; }

/* ── Trailer ── */
.trailer-wrap { position: relative; aspect-ratio: 16 / 9; background: #000; margin: 0 -20px; }
.trailer-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Where to watch ── */
.platform-row { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.platform-btn { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-bottom: 3px; }
.platform-btn:hover { border-bottom-color: var(--accent); }
.platform-note { margin-top: 16px; font-size: 11px; letter-spacing: .04em; text-transform: none; opacity: .5; }

/* ── CTA ── */
.cta-section { padding-bottom: 0; }
.cta-actions { display: flex; flex-direction: column; }
.cta-btn, .cta-btn-ghost {
  display: block;
  width: 100%;
  padding: 19px 0;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--ink);
}
.cta-btn { background: var(--ink); color: var(--bg); }
.cta-btn:hover { opacity: .9; }
.cta-btn-ghost { color: var(--ink); border-color: var(--rule); border-top-width: 0; }
.cta-btn-ghost:hover { border-color: var(--ink); }

/* ── Index (/guides/) ── */
.guides-header { padding: 28px 0 8px; }
.guides-heading { font: 400 min(84px, 19vw)/.84 var(--display); text-transform: uppercase; color: var(--accent); }
.guides-subhead { font: 400 18px/1.4 var(--sans); opacity: var(--dim); margin-top: 16px; }
.guides-group { color: var(--ink); opacity: .6; margin: 44px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.guide-card {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
}
.guide-card-category { opacity: .6; }
.guide-card-title { font: 400 34px/.9 var(--display); text-transform: uppercase; margin: 8px 0 10px; }
.guide-card:hover .guide-card-title { color: var(--accent); }
.guide-card-desc { font: 400 16px/1.4 var(--sans); opacity: .8; }
/* the signature sliver */
.guide-card-still { background-size: cover; background-position: center; filter: saturate(.75); min-height: 120px; }
.guides-cta { margin-top: 40px; }
