/* ============ Tuesday — tokens ============ */
:root {
  color-scheme: dark;
  --black: #0E0B09;        /* warm black, never #000 */
  --black-2: #17120E;
  --bone: #EDE6DA;
  --bone-dim: rgba(237, 230, 218, 0.68);
  --grey: #8A8178;
  --rule: rgba(237, 230, 218, 0.16);
  --orange: #FF6B00;       /* flat, true orange — used huge or tiny */

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --stencil: "Big Shoulders Stencil Display", var(--display);
  --text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --type: "Courier Prime", "Courier New", monospace;   /* call-sheet details only */

  --gutter: clamp(16px, 3.2vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--orange); color: var(--black); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.type { font-family: var(--type); font-size: 0.8rem; letter-spacing: 0.02em; text-transform: uppercase; }
.o { color: var(--orange); }

/* Film grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.5s steps(3) infinite;
}
@keyframes grain { 33% { transform: translate(-2%, 3%); } 66% { transform: translate(3%, -2%); } }

/* ============ Top bar ============ */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 16px var(--gutter);
  color: var(--bone); transition: color 0.25s, background-color 0.25s;
  border-bottom: 1px solid transparent;
}
.bar.scrolled { background: var(--black); border-bottom-color: var(--rule); }
.bar.on-orange { color: var(--black); background: var(--orange); border-bottom-color: rgba(14, 11, 9, 0.2); }
@media (hover: none) { .hover-hint { display: none; } }
.wordmark { font-size: 1.7rem; line-height: 1; text-decoration: none; justify-self: start; }
.wordmark .wm-e { font-size: 0.62em; }
.wordmark .wm-g { font-size: 0.78em; }
.wm-badge {
  position: fixed; left: var(--gutter); bottom: 16px; z-index: 60;
  background: var(--bone); color: var(--black); padding: 8px 12px; text-decoration: none;
}
.bar-clock { justify-self: center; }
.bar nav { justify-self: end; }
.bar ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.bar a:not(.wordmark) { text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.bar a:not(.wordmark):hover { text-decoration: underline; text-underline-offset: 4px; }

/* ============ Hero ============ */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--black); }
.reel { position: absolute; inset: 0; }
.reel video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0;  /* hard cuts, no dissolves */
}
.reel video.on { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(14, 11, 9, 0.92) 0%, rgba(14, 11, 9, 0.35) 42%, rgba(14, 11, 9, 0) 65%),
    linear-gradient(to bottom, rgba(14, 11, 9, 0.55), rgba(14, 11, 9, 0) 22%);
}
.hero-meta {
  position: absolute; top: 72px; right: var(--gutter);
  display: flex; gap: 18px; color: var(--bone);
}
.rec { display: inline-flex; align-items: center; gap: 7px; }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.1; } }

.hero-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter) clamp(20px, 3vw, 40px);
  display: grid; grid-template-columns: 1fr minmax(240px, 340px); gap: 32px; align-items: end;
}
h1 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(4.2rem, 13.2vw, 15.5rem);
  line-height: 0.84; letter-spacing: -0.005em;
}
.hero-side { padding-bottom: 0.6em; display: grid; gap: 16px; }
.hero-side p:first-child { font-size: 1.05rem; line-height: 1.45; color: var(--bone); }
.countdown { color: var(--orange); }

/* ============ Statement ============ */
.statement { padding: clamp(96px, 16vw, 220px) var(--gutter) clamp(80px, 12vw, 160px); max-width: 1500px; }
.statement-text {
  font-size: clamp(1.9rem, 4.4vw, 4.4rem); line-height: 1.06; letter-spacing: -0.02em;
  font-weight: 500; font-variation-settings: "wdth" 88;
}
.statement-sub {
  margin-top: clamp(28px, 4vw, 52px);
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1;
}

/* ============ Call sheet ============ */
.sheet { padding: 0 var(--gutter) clamp(96px, 14vw, 200px); }
.sheet-head {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px;
  border-bottom: 2px solid var(--bone); padding-bottom: 18px;
}
h2 {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.4rem, 9vw, 9.5rem); line-height: 0.86;
}
.sheet-meta { display: grid; grid-template-columns: repeat(4, auto); gap: 4px 28px; margin: 0; }
.sheet-meta dt { color: var(--grey); }
.sheet-meta dd { margin: 0; color: var(--bone); }

.row {
  display: grid; grid-template-columns: 9.5rem minmax(10rem, 1.1fr) 2.4fr 8rem; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.row-head { color: var(--grey); padding: 12px 0; }
.row .t { color: var(--bone-dim); }
.row .s { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; }
.row .d { color: var(--bone-dim); max-width: 46ch; }
.row .w { color: var(--grey); text-align: right; }
.row-tue .t { color: var(--orange); }
.row-last { border-bottom: 2px solid var(--bone); }
.row-last .s { color: var(--orange); }
.sheet-note { margin-top: 20px; color: var(--grey); font-size: 0.92rem; max-width: 60ch; }

/* ============ Slate ============ */
.slate { padding: 0 var(--gutter) clamp(96px, 14vw, 200px); }
.slate-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, 4vw, 48px); }
.slate-head p { color: var(--grey); max-width: 22ch; text-align: right; }
.slate-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.slate-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.slate-list a {
  display: grid; grid-template-columns: 3rem 1fr; column-gap: 12px; align-items: baseline;
  padding: 14px 0 16px; border-bottom: 1px solid var(--rule); text-decoration: none;
}
.slate-list .n { color: var(--grey); }
.slate-list .title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.4rem, 5.2vw, 5rem); line-height: 0.92;
  color: var(--bone-dim); transition: color 0.25s;
}
.slate-list .desc { grid-column: 2; color: var(--grey); font-size: 0.95rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s, opacity 0.3s, margin 0.4s; }
.slate-list li.active .title, .slate-list a:hover .title, .slate-list a:focus-visible .title { color: var(--bone); }
.slate-list li.active .n { color: var(--orange); }
.slate-list li.active .desc { max-height: 3em; opacity: 1; margin-top: 8px; }
.slate-preview { position: sticky; top: 90px; margin: 0; }
.slate-preview video { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--black-2); }
.slate-preview figcaption { margin-top: 10px; color: var(--grey); }

/* ============ House rules ============ */
.rules { padding: 0 var(--gutter) clamp(96px, 14vw, 200px); }
.rules h2 { margin-bottom: clamp(32px, 5vw, 64px); }
.rules-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--bone); }
.rules-list li { padding: 28px 40px 40px 0; border-bottom: 1px solid var(--rule); }
.rules-list li:nth-child(odd) { border-right: 1px solid var(--rule); }
.rules-list li:nth-child(even) { padding-left: 40px; }
.rules-list h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.015em; font-variation-settings: "wdth" 85; }
.rules-list p { margin-top: 14px; color: var(--bone-dim); max-width: 44ch; }

/* ============ Contact — the orange card ============ */
.contact { background: var(--orange); color: var(--black); padding: clamp(72px, 11vw, 150px) var(--gutter) clamp(64px, 8vw, 110px); }
.contact h2 { font-size: clamp(3.6rem, 11vw, 12rem); max-width: 11ch; }
.contact-form { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; max-width: 1100px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea, .contact-form select {
  font: 500 1.3rem var(--text); color: var(--black);
  background: transparent; border: 0; border-bottom: 2px solid var(--black); border-radius: 0;
  padding: 8px 0; appearance: none;
}
.contact-form textarea { resize: vertical; }
.contact-form ::placeholder { color: rgba(14, 11, 9, 0.5); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-bottom-width: 4px; padding-bottom: 6px; }
.contact-form select option { background: var(--bone); }
.contact-form :focus-visible { outline: none; }
.submit-wrap { display: flex; align-items: end; }
.contact-form button {
  width: 100%; padding: 20px 24px; border: 0; border-radius: 0;
  background: var(--black); color: var(--bone);
  font: 900 1.6rem var(--display); text-transform: uppercase; letter-spacing: 0.01em;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.contact-form button:hover, .contact-form button:focus-visible { background: var(--bone); color: var(--black); outline: none; }
.form-status { grid-column: 1 / -1; min-height: 1.4em; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .turnstile:empty { display: none; }
.contact-form button[disabled] { opacity: 0.6; cursor: progress; }
.form-small { font-size: 0.95rem; max-width: 60ch; }
.form-small a, .footer-row a, .footer-legal a { color: inherit; text-underline-offset: 3px; }

/* ============ Footer ============ */
.footer { padding: clamp(32px, 5vw, 64px) var(--gutter) 24px; overflow: hidden; }
.footer-mark { font-size: 30vw; line-height: 1; color: var(--bone); white-space: nowrap; width: max-content; }
.footer-mark .wm { line-height: 0.82; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; color: var(--grey); }
.footer-legal { margin-top: 18px; color: var(--grey); font-size: 0.85rem; max-width: 90ch; }

/* ============ Motion states ============ */
.split-line { overflow: hidden; }
.js-anim .sheet .row, .js-anim .rules-list li { opacity: 0; transform: translateY(24px); }

/* ============ Responsive ============ */
@media (max-width: 1120px) {
  .bar { grid-template-columns: 1fr auto; }
  .bar-clock { display: none; }
}
@media (max-width: 1000px) {
  .row { grid-template-columns: 7.5rem 1fr; gap: 6px 16px; }
  .row .d { grid-column: 2; }
  .row .w { grid-column: 2; text-align: left; }
  .row .w::before { content: "Signed off by "; }
  .row .w.none { display: none; }
  .row-head span:nth-child(n+3) { display: none; }
  .slate-grid { grid-template-columns: 1fr; }
  .slate-preview { display: none; }
  .slate-list .desc { max-height: none; opacity: 1; margin-top: 6px; }
  .slate-list .title { color: var(--bone); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar { grid-template-columns: 1fr auto; }
  .bar-clock { display: none; }
  .bar li:not(:last-child) { display: none; }
  .hero-meta { top: 64px; left: var(--gutter); right: auto; }
  .hero-body { grid-template-columns: 1fr; gap: 18px; }
  .hero-side { padding-bottom: 0; }
  .sheet-head { grid-template-columns: 1fr; }
  .sheet-meta { grid-template-columns: repeat(2, auto); justify-content: start; }
  .slate-head { flex-direction: column; align-items: start; }
  .slate-head p { text-align: left; }
  .rules-list { grid-template-columns: 1fr; }
  .rules-list li, .rules-list li:nth-child(even) { padding: 24px 0 32px; border-right: 0; }
  .contact-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .grain, .rec i { animation: none; }
  .js-anim .sheet .row, .js-anim .rules-list li { opacity: 1; transform: none; }
}

/* ============ Plain pages: privacy notice, 404 ============ */
.doc-bar { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); border-bottom: 1px solid var(--rule); }
.doc-bar .wordmark { font-size: 1.7rem; text-decoration: none; color: var(--bone); }
.doc-bar a.type { color: var(--grey); }
.doc-bar a.type:hover { color: var(--bone); }
.doc { padding: clamp(48px, 8vw, 110px) var(--gutter) clamp(64px, 8vw, 120px); max-width: calc(68ch + 2 * var(--gutter)); }
.doc h1 { font: 900 clamp(3.2rem, 9vw, 7.5rem)/0.86 var(--display); text-transform: uppercase; }
.doc-date { margin-top: 18px; color: var(--grey); }
.doc h2 { font: 800 clamp(1.7rem, 3vw, 2.2rem)/1 var(--display); text-transform: uppercase; margin: 48px 0 12px; padding-top: 14px; border-top: 2px solid var(--bone); }
.doc p, .doc li { color: var(--bone-dim); font-size: 1.05rem; line-height: 1.6; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; display: grid; gap: 8px; }
.doc b { color: var(--bone); font-weight: 600; }
.doc a { color: var(--bone); text-underline-offset: 3px; text-decoration-color: var(--orange); }
.doc-footer { border-top: 1px solid var(--rule); }
.lost { min-height: calc(100vh - 80px); display: flex; flex-direction: column; justify-content: center; padding: 48px var(--gutter); }
.lost h1 { font: 900 clamp(4rem, 16vw, 14rem)/0.86 var(--display); text-transform: uppercase; margin-top: 16px; }
.lost-sub { margin-top: 18px; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--bone-dim); }
.lost-link { margin-top: 32px; color: var(--bone); text-decoration-color: var(--orange); text-underline-offset: 5px; }
