/* ==========================================================================
   GTFF – styles
   Dark, understated cinema look. Mobile first: tokens, base, components, sections.
   ========================================================================== */

@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('/assets/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Red Hat Display'; src: url('/assets/fonts/red-hat-display-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Red Hat Display'; src: url('/assets/fonts/red-hat-display-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Red Hat Text'; src: url('/assets/fonts/red-hat-text-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Red Hat Text'; src: url('/assets/fonts/red-hat-text-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #0e0c0b;
  --bg-2: #151210;
  --surface: #1c1815;
  --line: #2f2925;
  --line-strong: #4a423c;
  --text: #f1ebe3;
  --muted: #aea49a;
  --faint: #7f766e;
  --gold: #c9a56b;          /* hairlines, labels, accents */
  --gold-soft: #b38f58;
  --red: #d8382c;           /* brand dot only */
  --error: #ff8f84;
  --success: #8fd3a4;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-display: 'Red Hat Display', system-ui, sans-serif;
  --font-text: 'Red Hat Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--bg); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.4rem;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.04em;
  text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--gold); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-small { min-height: 40px; padding: 0 20px; font-size: 0.875rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-link { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.04em; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.btn-link:hover { color: var(--text); border-color: var(--gold); }

/* ---------- Header (floats over the full-bleed images) ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo { text-decoration: none; }
.logo-mark { position: relative; display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.06em; line-height: 1; }
.logo-dot { position: absolute; right: -0.5em; top: -0.18em; width: 0.32em; height: 0.32em; border-radius: 50%; background: var(--red); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.04em; color: #d4ccc2; text-decoration: none; }
.nav-link:hover, .nav-link[aria-current='page'] { color: var(--text); }
.site-nav .btn-outline { border-color: rgba(241, 235, 227, .35); }
@media (max-width: 480px) { .site-nav { gap: 16px; } .site-nav .btn-small { padding: 0 14px; } }

/* ---------- Hero: cinema hall as full-bleed background ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: #000; }
.hero-bg, .hero-bg img, .page-hero-bg, .page-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 50% 30%; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 50% 40%, rgba(10, 8, 7, .5) 0%, rgba(10, 8, 7, .7) 75%),
    linear-gradient(180deg, rgba(10, 8, 7, .6) 0%, rgba(10, 8, 7, .1) 25%, rgba(10, 8, 7, .1) 65%, var(--bg) 100%);
}
.hero-content { text-align: center; padding-top: 120px; padding-bottom: 96px; max-width: 920px; }
.eyebrow-center { justify-content: center; }
@media (max-width: 600px) { .eyebrow-center::before, .eyebrow-center::after { display: none; } }
.eyebrow-center::after { content: ''; width: 32px; height: 1px; background: currentColor; flex: none; }
.hero-title { font-size: clamp(3rem, 8.4vw, 7rem); line-height: 0.95; margin: 0 0 18px; letter-spacing: -0.015em; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.hero-title span { display: block; }
.hero-title-accent { font-style: italic; color: var(--gold); }
.hero-text { color: #e2dbd2; font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 36em; margin: 0 auto 32px; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; }

/* ---------- Submission ---------- */
.submission-grid { display: grid; gap: 48px; }
.submission-intro h2 { margin-bottom: 0.4em; }
.submission-intro p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; max-width: 30em; }
.notes { list-style: none; padding: 0; margin: 28px 0 0; max-width: 30em; }
.notes li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); color: var(--muted); }
.notes li:last-child { border-bottom: 1px solid var(--line); }
.notes li::before { content: ''; position: absolute; left: 0; top: 1.3em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (min-width: 1000px) {
  .submission-grid { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 112px); }
  .submission-intro { position: sticky; top: 32px; align-self: start; }
}

.submission-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); }
.submission-form { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; margin: 0; min-width: 0; }
.field label, .field legend { font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; letter-spacing: 0.02em; }
fieldset.field { border: 0; padding: 0; }
.field legend { padding: 0; margin-bottom: 8px; }
.req { color: var(--gold); }
.optional { color: var(--faint); }

.submission input[type='text'],
.submission input[type='email'],
.submission input[type='url'],
.submission textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  font: inherit; font-size: 1rem; transition: border-color .2s;
}
.submission textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.submission input::placeholder, .submission textarea::placeholder { color: var(--faint); }
.submission input:hover, .submission textarea:hover { border-color: #6a6058; }
.submission input:focus, .submission textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 165, 107, .22); }
.submission input[aria-invalid='true'], .submission textarea[aria-invalid='true'] { border-color: var(--error); }

.field-hint { margin: 0; font-size: 0.85rem; color: var(--faint); }
.counter { float: right; font-variant-numeric: tabular-nums; }
.field-error { margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--error); }

.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg);
  font-family: var(--font-serif); font-size: 1.3rem; text-align: center; transition: border-color .2s, background-color .2s, color .2s;
}
.choice:hover span { border-color: #6a6058; }
.choice input:checked + span { border-color: var(--gold); color: var(--gold); background: rgba(201, 165, 107, .08); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice input[aria-invalid='true'] + span { border-color: var(--error); }

.field-check { grid-template-columns: 24px 1fr; column-gap: 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--gold); }
.field-check label { font-family: var(--font-text); font-weight: 400; color: var(--muted); font-size: 0.925rem; letter-spacing: 0; }
.field-check .field-error { grid-column: 2; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 8px; }
.form-actions .btn { min-height: 54px; padding: 0 36px; }

.form-status { border-radius: var(--radius); padding: 20px 24px; margin-bottom: 24px; outline: none; border: 1px solid var(--line); }
.form-status p { margin: 0; color: var(--muted); }
.form-status-title { font-family: var(--font-serif); font-size: 1.6rem; color: var(--text) !important; margin-bottom: 4px !important; }
.form-status[data-state='success'] { border-left: 3px solid var(--success); }
.form-status[data-state='error'] { border-left: 3px solid var(--error); }
.form-status:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- About page ---------- */
.page-hero { position: relative; isolation: isolate; min-height: clamp(420px, 70vh, 680px); display: grid; place-items: center; overflow: hidden; background: #000; }
.page-hero-bg img { object-fit: cover; object-position: 50% 50%; }
.page-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 8, 7, .7) 0%, rgba(10, 8, 7, .55) 50%, var(--bg) 100%);
}
.page-hero-content { text-align: center; padding-top: 110px; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 14em; margin: 0 auto; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.about-body { display: grid; gap: 24px; padding-top: clamp(48px, 7vw, 96px); padding-bottom: var(--section); }
.about-lead { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; color: var(--gold); margin: 0; }
.about-text p { color: var(--muted); font-size: 1.1rem; max-width: 36em; }
.about-text .btn { margin-top: 12px; }
@media (min-width: 960px) { .about-body { grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 112px); } }

/* ---------- Legal pages ---------- */
.legal { padding-top: calc(var(--section) + 40px); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; letter-spacing: 0.02em; margin: 2em 0 .5em; }
.legal p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 0; }
.footer-inner { display: grid; gap: 28px; }
.footer-mark { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; font-size: clamp(2.6rem, 8vw, 4.5rem); line-height: 1; margin: 0 0 10px; }
.footer-name { margin: 0; font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--muted); }
.footer-meta { display: grid; gap: 10px; color: var(--faint); font-size: 0.9rem; }
.footer-meta p { margin: 0; }
.footer-meta nav { display: flex; gap: 24px; }
.footer-meta a:hover { color: var(--text); }
@media (min-width: 800px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: end; }
  .footer-meta { text-align: right; justify-items: end; }
}

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