/* =========================================================
   I HAVE SEEN BIGFOOT — film landing page
   Palette: cold pine-black + fog-green, one warm amber accent
   ========================================================= */

:root {
  --bg:        #0A0E0C;
  --forest-1:  #121A16;
  --forest-2:  #0C1310;
  --forest-3:  #070B09;
  --fog:       #9FB0A6;
  --fog-dim:   #5C6B62;
  --bone:      #E9E5D9;
  --amber:     #D69A4C;
  --amber-dim: #8A6A3A;

  --display: 'Anton', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --serif: 'Spectral', Georgia, serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fog);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; }

::selection { background: var(--amber); color: #14100A; }

/* ---------- Global overlays: grain + vignette ---------- */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .06; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 6s steps(6) infinite;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -2%); }
  60% { transform: translate(-2%, -3%); }
  80% { transform: translate(2%, 4%); }
}
.vignette {
  position: fixed; inset: 0; z-index: 55; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 35%, transparent 40%, rgba(0,0,0,.55) 100%);
}

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(18px, 3vw, 34px) var(--gutter);
}
.wordmark { display: flex; flex-direction: column; gap: 5px; }
.wordmark__line {
  font-family: var(--mono); font-size: 10px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--fog-dim);
}
.wordmark__big {
  font-family: var(--display); font-size: 26px; letter-spacing: .02em;
  color: var(--bone); text-transform: uppercase; line-height: .9;
}
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fog);
  transition: color .25s ease;
}
.nav a:hover { color: var(--bone); }
.nav__cta {
  border: 1px solid var(--amber-dim); color: var(--amber) !important;
  padding: 9px 16px; border-radius: 2px;
  transition: background .25s ease, color .25s ease;
}
.nav__cta:hover { background: var(--amber); color: #14100A !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(130px, 20vh, 200px) var(--gutter) clamp(70px, 12vh, 130px);
  overflow: hidden;
  background:
    radial-gradient(140% 80% at 50% 8%, #1a2620 0%, var(--forest-2) 42%, var(--bg) 78%);
}
.hero__scene { position: absolute; inset: 0; z-index: 0; }

.fog {
  position: absolute; left: -20%; right: -20%; height: 70%;
  filter: blur(40px); opacity: .5;
  background: radial-gradient(60% 100% at 50% 60%, rgba(159,176,166,.35), transparent 70%);
}
.fog--far  { top: 24%; animation: drift 34s ease-in-out infinite alternate; }
.fog--near { top: 46%; opacity: .32; animation: drift 26s ease-in-out -8s infinite alternate-reverse; }
@keyframes drift {
  from { transform: translateX(-6%) translateY(0); }
  to   { transform: translateX(6%) translateY(-3%); }
}

/* The figure — deliberately low-contrast; it "breathes" so you doubt it */
.figure {
  position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);
  width: clamp(70px, 8vw, 120px); z-index: 1;
  opacity: .13; filter: blur(1.5px);
  animation: breathe 9s ease-in-out infinite;
}
.figure svg { width: 100%; height: auto; }
.figure svg path { fill: #05070600; fill: rgba(4,7,6,.92); }
@keyframes breathe {
  0%,100% { opacity: .10; }
  50%     { opacity: .20; }
}

.treeline { position: absolute; left: 0; right: 0; width: 100%; }
.treeline path { fill: var(--forest-3); }
.treeline--3 { bottom: 0; height: 34%; opacity: .55; }
.treeline--3 path { fill: var(--forest-1); }
.treeline--2 { bottom: 0; height: 46%; opacity: .8; }
.treeline--2 path { fill: var(--forest-2); }
.treeline--1 { bottom: 0; height: 58%; }
.treeline--1 path { fill: var(--forest-3); }

.hero__content { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--amber); margin: 0 0 18px;
}
.title {
  font-family: var(--display); color: var(--bone);
  font-size: clamp(52px, 10.5vw, 132px); line-height: .88;
  letter-spacing: .01em; text-transform: uppercase;
  margin: 0; text-shadow: 0 6px 40px rgba(0,0,0,.6);
}
.title span { display: block; }
.title__accent { color: var(--amber); }
.tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 2.1vw, 23px); color: var(--fog);
  max-width: 30ch; margin: 26px 0 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fog-dim); margin: 30px 0 0;
}
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--fog-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; padding: 15px 30px; border-radius: 2px;
  transition: transform .2s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--primary { background: var(--amber); color: #14100A; }
.btn--primary:hover { background: #E7AE5E; transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--fog-dim); color: var(--fog); }
.btn--ghost:hover { border-color: var(--fog); color: var(--bone); transform: translateY(-2px); }

/* ---------- Scroll cue ---------- */
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; width: 22px; height: 34px; border: 1px solid var(--fog-dim);
  border-radius: 12px; display: flex; justify-content: center; padding-top: 6px;
}
.scroll-cue span {
  width: 3px; height: 7px; border-radius: 2px; background: var(--amber);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: .2; } }

/* ---------- Section label (dossier vernacular) ---------- */
.section-label { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.section-label__tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--amber);
  border: 1px solid var(--amber-dim); padding: 5px 11px; border-radius: 2px;
  white-space: nowrap;
}
.section-label__rule { height: 1px; background: linear-gradient(90deg, var(--fog-dim), transparent); flex: 1; }
.section-label__note {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fog-dim); white-space: nowrap;
}

/* ---------- Trailer ---------- */
.trailer { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--gutter) 0; }
.player {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px;
  aspect-ratio: 16 / 9; width: 100%; border: 1px solid #1e2a24; border-radius: 4px;
  background:
    radial-gradient(80% 120% at 50% 120%, #16211b 0%, transparent 60%),
    linear-gradient(180deg, #0c1310, #070b09);
  overflow: hidden; transition: border-color .3s ease;
}
.player:hover { border-color: var(--amber-dim); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__glow {
  position: absolute; width: 60%; height: 60%; border-radius: 50%;
  background: radial-gradient(circle, rgba(214,154,76,.16), transparent 70%);
  filter: blur(20px);
}
.player__play {
  position: relative; width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--amber); display: grid; place-items: center;
  transition: transform .3s ease, background .3s ease;
}
.player:hover .player__play { transform: scale(1.08); background: rgba(214,154,76,.12); }
.player__play svg { width: 30px; height: 30px; fill: var(--amber); margin-left: 3px; }
.player__caption {
  position: relative; font-family: var(--mono); font-size: 12px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--fog);
}

/* ---------- Story ---------- */
.story { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px, 14vh, 160px) var(--gutter); }
.story__grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.field-note {
  border: 1px solid #1e2a24; border-radius: 4px; padding: 8px 20px;
  position: sticky; top: 40px; background: rgba(18,26,22,.4);
}
.field-note__row {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 0; border-bottom: 1px solid #1a241f;
}
.field-note__row:last-child { border-bottom: 0; }
.field-note__row span:first-child {
  font-family: var(--mono); font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--fog-dim);
}
.field-note__row span:last-child { font-family: var(--serif); color: var(--bone); font-size: 16px; }

.story__head {
  font-family: var(--serif); font-weight: 500; color: var(--bone);
  font-size: clamp(28px, 4.2vw, 46px); line-height: 1.1; margin: 0 0 28px; letter-spacing: -.01em;
}
.story__body p { margin: 0 0 22px; max-width: 60ch; }
.story__pull {
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 28px);
  color: var(--amber); line-height: 1.35; border-left: 2px solid var(--amber-dim);
  padding-left: 24px; margin-top: 40px !important;
}

/* ---------- Watch ---------- */
.watch { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(90px, 14vh, 160px); }
.watch__card {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  border: 1px solid #1e2a24; border-radius: 6px; padding: clamp(30px, 5vw, 64px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(214,154,76,.08), transparent 55%),
    linear-gradient(180deg, #101713, #0a0f0c);
}
.watch__head { font-family: var(--serif); font-weight: 500; color: var(--bone); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; margin: 12px 0 16px; }
.watch__sub { margin: 0 0 30px; max-width: 44ch; }
.watch__sub em { color: var(--fog); font-style: italic; }
.watch__right { display: grid; place-items: center; }
.watch__badge {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 1px solid var(--amber-dim); border-radius: 4px;
  padding: 34px 44px; background: rgba(0,0,0,.25);
}
.watch__badge-mono { font-family: var(--display); font-size: 34px; letter-spacing: .04em; color: var(--bone); }
.watch__badge-word { font-family: var(--mono); font-size: 12px; letter-spacing: .34em; color: var(--amber); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #16201b;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(40px, 6vw, 64px) var(--gutter);
  max-width: var(--maxw); margin: 0 auto;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 5px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 26px; }
.site-footer__links a {
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--fog); transition: color .25s ease;
}
.site-footer__links a:hover { color: var(--amber); }
.site-footer__fine { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--fog-dim); width: 100%; margin: 0; }

/* ---------- Focus states ---------- */
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav a:not(.nav__cta) { display: none; }
  .story__grid { grid-template-columns: 1fr; }
  .field-note { position: static; }
  .watch__card { grid-template-columns: 1fr; }
  .watch__right { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 90px; }
  .hero__meta { flex-wrap: wrap; gap: 8px 12px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .fog { opacity: .4; }
  .figure { opacity: .16; }
}
