/* ==========================================================================
   crestovista.com - cinematic single-accent (light) film-distributor register
   Theme: neon-rated (adapted). Near-monochrome + one oxidized-crimson accent.
   Single family: Gantari. Hairline framing. No shadow language.
   ========================================================================== */

:root {
  --paper: #ffffff;
  --bone: #f3f3f3;
  --silver: #e5e7eb;
  --smoke: #cccccc;
  --ink: #000000;
  --ink-soft: #2a2a2a;
  --ash: #6b6b6b;
  --crimson: #821e1e;   /* the single chromatic accent */
  --cornflower: #9dc1fb; /* focus / hover halo only */

  --font: "Gantari", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --edge: clamp(18px, 5.2vw, 88px);   /* fluid side padding */
  --band: clamp(56px, 9vw, 148px);    /* fluid vertical section rhythm */
}

/* ------- reset-ish ------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  letter-spacing: -0.011em;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 0.92; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--cornflower);
  border-radius: 2px;
}

/* ------- skip link ------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; font-size: 13px;
}
.skip:focus { left: 8px; top: 8px; }

/* ==========================================================================
   Brand bar - the single constant chromatic element
   ========================================================================== */
.brandbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--crimson);
  color: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.25);
}
.brandbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 0 var(--edge);
  min-height: 46px;
}
.wordmark {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(15px, 1.6vw, 18px);
  color: #fff; text-transform: uppercase;
}
.wordmark small {
  font-weight: 500; font-size: 9px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.78);
}
.nav {
  display: flex; align-items: center; gap: clamp(14px, 2vw, 30px);
}
.nav a {
  font-size: 12px; font-weight: 600; letter-spacing: -0.01em;
  text-transform: uppercase; color: rgba(255,255,255,0.86);
  padding: 6px 0; position: relative;
}
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: #fff;
}
.navtoggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  color: #fff;
}
.navtoggle svg { display: block; }

@media (max-width: 860px) {
  .navtoggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--crimson);
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 4px var(--edge) 14px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .nav a[aria-current="page"]::after { display: none; }
}

/* ==========================================================================
   Hero - full-bleed frame with an edge-to-edge display title
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--silver);
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.18) 42%, rgba(0,0,0,0.72) 100%);
}
.hero__body {
  position: relative; z-index: 2;
  padding: 0 var(--edge) clamp(28px, 4vw, 54px);
  width: 100%;
}
.tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--crimson);
  background: #fff; padding: 5px 9px; border-radius: 4px;
  margin-bottom: 16px;
}
.hero .tag { color: #fff; background: var(--crimson); }
.hero__title {
  font-size: clamp(52px, 15vw, 210px);
  line-height: 0.82; letter-spacing: -0.045em;
  font-weight: 800; text-transform: uppercase;
  margin: 0 0 clamp(16px, 2.2vw, 26px);
  /* bleed tight against the left edge */
  margin-left: -0.02em;
  text-wrap: balance;
}
.hero__lead {
  font-size: clamp(15px, 1.6vw, 20px); font-weight: 400;
  max-width: 54ch; color: rgba(255,255,255,0.94);
  line-height: 1.45;
}
.hero__cta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-top: 22px;
}
.hero__trust {
  margin-top: 20px; font-size: 12px; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.82); font-weight: 500;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.01em; text-transform: uppercase;
  padding: 12px 18px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  transition: box-shadow 0.16s ease;
}
.btn:hover { box-shadow: 0 0 0 3px var(--cornflower); }
.btn--ghost {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.7);
}
.btn--ghost:hover { box-shadow: 0 0 0 3px var(--cornflower); }
.btn--onlight {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.btn__play { flex: none; }

/* ==========================================================================
   Generic section scaffolding
   ========================================================================== */
.band { padding: var(--band) var(--edge); }
.band--bone { background: var(--bone); border-top: 1px solid var(--silver); border-bottom: 1px solid var(--silver); }
.band--tight { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--crimson); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(30px, 4.6vw, 60px); text-transform: uppercase;
  letter-spacing: -0.035em; line-height: 0.9; font-weight: 800;
  max-width: 18ch;
}
.section-title--wide { max-width: none; }

.measure { max-width: 66ch; }
.measure p + p { margin-top: 1em; }
.lead { font-size: clamp(17px, 1.8vw, 22px); line-height: 1.4; color: var(--ink-soft); font-weight: 500; }

/* ------- crew intro on home ------- */
.crew {
  display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
@media (min-width: 820px) { .crew { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.crew__members { display: grid; grid-template-columns: 1fr; gap: 0; }
.crew__member {
  border-top: 1px solid var(--silver); padding: 16px 0;
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline;
}
.crew__member:last-child { border-bottom: 1px solid var(--silver); }
.crew__name { font-weight: 800; letter-spacing: -0.02em; font-size: 17px; text-transform: uppercase; }
.crew__role { font-size: 14px; color: var(--ash); }
.crew__no { font-size: 11px; font-weight: 700; color: var(--crimson); letter-spacing: 0.1em; padding-top: 2px; }

/* ==========================================================================
   Game cards - hairline-framed cinematic tiles, varied composition
   ========================================================================== */
.lineup { display: flex; flex-direction: column; gap: 0; }
.game {
  border-top: 1px solid var(--silver);
  padding: clamp(34px, 5vw, 72px) 0;
  display: grid; gap: clamp(22px, 3vw, 46px);
  grid-template-columns: 1fr;
}
.game:last-child { border-bottom: 1px solid var(--silver); }
@media (min-width: 900px) {
  .game { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
  /* alternate the image side for rhythm */
  .game--flip .game__media { order: 2; }
}

.game__media { position: relative; }
.frame {
  position: relative; display: block;
  border: 1px solid var(--silver); border-radius: 8px; overflow: hidden;
  background: var(--bone);
}
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.frame--tall img { aspect-ratio: 4 / 3; }
.frame__tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: var(--crimson); padding: 4px 8px; border-radius: 4px;
}
.frame__cap { font-size: 11px; color: var(--ash); margin-top: 8px; letter-spacing: 0.01em; }

.game__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.game__no { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--crimson); }
.game__title {
  font-size: clamp(34px, 5vw, 62px); text-transform: uppercase;
  letter-spacing: -0.04em; line-height: 0.88; font-weight: 800;
}
.game__hook { font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-soft); font-weight: 500; max-width: 40ch; }

/* metadata */
.meta {
  display: flex; flex-wrap: wrap; gap: 0;
  border: 1px solid var(--silver); border-radius: 8px;
  margin: 20px 0;
}
.meta div {
  padding: 10px 14px; min-width: 50%; flex: 1 1 auto;
  border-right: 1px solid var(--silver); border-bottom: 1px solid var(--silver);
}
.meta div:nth-child(2n) { border-right: 0; }
.meta dt { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ash); font-weight: 700; }
.meta dd { margin: 3px 0 0; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }

.block { margin-top: 20px; }
.block h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 700; color: var(--crimson); margin-bottom: 8px;
}
.block p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; max-width: 60ch; }
.tips { display: flex; flex-direction: column; gap: 8px; }
.tips li {
  font-size: 15px; color: var(--ink-soft); line-height: 1.5;
  padding-left: 20px; position: relative;
}
.tips li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border: 1px solid var(--crimson); border-radius: 1px;
}
.caveat {
  margin-top: 20px; padding: 14px 16px;
  border: 1px solid var(--silver); border-left: 3px solid var(--crimson);
  border-radius: 4px; background: var(--paper);
  font-size: 14px; color: var(--ink-soft); line-height: 1.5;
}
.caveat strong { color: var(--ink); font-weight: 700; }
.game .btn { margin-top: 22px; }

/* ==========================================================================
   Crew pick highlight
   ========================================================================== */
.pick {
  display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
@media (min-width: 860px) { .pick { grid-template-columns: 1.1fr 1fr; } }
.pick__badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; background: var(--crimson);
  padding: 5px 10px; border-radius: 4px; margin-bottom: 16px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--silver); }
.faq__item { border-bottom: 1px solid var(--silver); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 20px 0;
  display: flex; justify-content: space-between; gap: 20px; align-items: baseline;
  font-weight: 700; letter-spacing: -0.02em; font-size: clamp(17px, 2vw, 21px);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--crimson); font-weight: 700; font-size: 22px; line-height: 1; }
.faq__item[open] summary::after { content: "-"; }
.faq__item p { padding: 0 0 22px; max-width: 66ch; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ==========================================================================
   Subscribe / forms
   ========================================================================== */
.subscribe { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
@media (min-width: 820px) { .subscribe { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.field input[type="text"], .field input[type="email"] {
  font-family: var(--font); font-size: 15px; padding: 11px 12px;
  border: 1px solid var(--silver); border-radius: 4px; background: var(--paper); color: var(--ink);
}
.field input::placeholder { color: var(--smoke); }
.field input:focus-visible { box-shadow: 0 0 0 3px var(--cornflower); border-color: var(--cornflower); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 16px; }
.consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--crimson); }
.consent label { font-size: 12.5px; color: var(--ash); line-height: 1.45; font-weight: 400; text-transform: none; letter-spacing: 0; }
.consent a { color: var(--crimson); text-decoration: underline; }
.formnote { font-size: 12px; color: var(--ash); margin-top: 12px; line-height: 1.5; }
.success {
  display: none; margin-top: 14px; padding: 12px 14px;
  border: 1px solid var(--silver); border-left: 3px solid var(--crimson);
  border-radius: 4px; font-size: 14px; color: var(--ink);
}
.success.show { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.82);
  padding: clamp(44px, 6vw, 84px) var(--edge) 30px;
}
.footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.16); padding-bottom: 30px;
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin: 0 0 12px; font-weight: 700; }
.footer a { color: rgba(255,255,255,0.82); font-size: 14px; }
.footer a:hover { color: #fff; box-shadow: 0 0 0 2px var(--cornflower); border-radius: 2px; }
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__brand .wordmark { color: #fff; font-size: 20px; }
.footer__brand p { margin-top: 12px; font-size: 13.5px; line-height: 1.55; max-width: 42ch; color: rgba(255,255,255,0.7); }
.disclaimer { font-size: 11.5px; color: rgba(255,255,255,0.55); line-height: 1.55; margin-top: 24px; max-width: 96ch; }
.copyright { font-size: 11.5px; color: rgba(255,255,255,0.55); margin-top: 16px; }
.footer__support { font-weight: 600; color: #fff; }

/* ==========================================================================
   Cookie banner (Mode B opt-in)
   ========================================================================== */
.cookiebar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150;
  background: var(--paper); border: 1px solid var(--silver); border-top: 3px solid var(--crimson);
  border-radius: 6px; padding: 16px 18px;
  display: none; gap: 14px; align-items: center; flex-wrap: wrap;
  max-width: 720px; margin: 0 auto;
}
.cookiebar.show { display: flex; }
.cookiebar p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; flex: 1 1 260px; }
.cookiebar p a { color: var(--crimson); text-decoration: underline; }
.cookiebar__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookiebar .btn { padding: 9px 14px; font-size: 12px; }
.btn--sm { padding: 9px 14px; font-size: 12px; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--silver); }
.btn--line:hover { box-shadow: 0 0 0 3px var(--cornflower); }

/* ==========================================================================
   Legal / content pages
   ========================================================================== */
.doc { padding: clamp(48px, 6vw, 96px) var(--edge); }
.doc__title {
  font-size: clamp(40px, 9vw, 120px); text-transform: uppercase;
  letter-spacing: -0.045em; line-height: 0.84; font-weight: 800; margin-bottom: 8px;
}
.doc__meta { font-size: 12px; color: var(--ash); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 34px; }
.doc__body { max-width: 74ch; }
.doc__body h2 { font-size: clamp(20px, 2.6vw, 28px); text-transform: uppercase; letter-spacing: -0.02em; margin: 34px 0 10px; }
.doc__body h3 { font-size: 16px; margin: 22px 0 8px; letter-spacing: -0.01em; }
.doc__body p, .doc__body li { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.doc__body p { margin-bottom: 12px; }
.doc__body ul { margin: 0 0 14px; }
.doc__body li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.doc__body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--crimson); border-radius: 1px; }
.doc__body a { color: var(--crimson); text-decoration: underline; }
.doc__body strong { color: var(--ink); }

/* 404 / thank-you center stage */
.stage {
  min-height: 66vh; display: flex; flex-direction: column; justify-content: center;
  padding: var(--band) var(--edge);
}
.stage h1 {
  font-size: clamp(64px, 20vw, 260px); text-transform: uppercase;
  letter-spacing: -0.05em; line-height: 0.8; font-weight: 800;
}
.stage p { margin-top: 18px; font-size: clamp(16px, 2vw, 20px); color: var(--ink-soft); max-width: 52ch; }
.stage .btn { margin-top: 26px; align-self: flex-start; }

.reduced * { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
