/* Freedom Weekend 2027 "STAND", option B: dark and cinematic.
   Ink first, red as the accent, white type. A dark hero, then a full-width
   video band (wavecon.cc) with Freedom Conference-style big condensed type,
   ticker and price list. No script font (Student team, 2026-10-27). Red text on ink is 4.8:1, so red is fine for
   large text and labels; body copy stays white/grey. */

:root {
  --red: #e94232;
  --ink: #0d0c0c;
  --ink-2: #161414;
  --ink-3: #201d1c;
  --line: rgba(255, 255, 255, .14);
  --text: #f4efe8;
  --muted: rgba(244, 239, 232, .66);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.fwb {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.leaders :focus-visible { outline-color: var(--ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--red); color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.fine { font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.label { font-weight: 800; text-transform: uppercase; letter-spacing: .2em; font-size: 13px; color: var(--red); margin: 0 0 18px; }
.display {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(48px, 8vw, 120px); line-height: .9; margin: 0;
}
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.head__note { margin: 0 0 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 800 15px/1 var(--body); text-transform: uppercase; letter-spacing: .12em; text-decoration: none;
  padding: 18px 32px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: var(--ink); }
.btn--red:hover { background: #fff; }
.btn--ink { background: var(--ink); color: var(--red); }
.btn--ink:hover { background: #000; color: #fff; }
.btn--big { font-size: 17px; padding: 22px 40px; }
.pill {
  font: 800 13px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; text-decoration: none;
  padding: 13px 20px; border-radius: 999px; background: var(--red); color: var(--ink); white-space: nowrap;
  transition: background-color .2s;
}
.pill:hover { background: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  background: linear-gradient(rgba(0, 0, 0, .55), transparent);
  transition: background-color .25s ease, padding .25s ease;
}
.nav__logo img { width: 128px; height: auto; filter: invert(1); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; text-decoration: none; color: var(--text); }
.nav__links a:hover { color: var(--red); }
.nav--solid { background: rgba(13, 12, 12, .94); backdrop-filter: blur(8px); padding-top: 11px; padding-bottom: 11px; }

.nav__toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--red); cursor: pointer; position: relative; }
.nav__bars, .nav__bars::before, .nav__bars::after { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--ink); content: ""; }
.nav__bars { top: 22px; }
.nav__bars::before { top: -6px; left: 0; }
.nav__bars::after { top: 6px; left: 0; }
@media (max-width: 900px) {
  .nav__links, .nav .pill { display: none; }
  .nav__toggle { display: block; }
}

.menu {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 30px;
  padding: 90px var(--gutter) 40px; background: var(--ink);
}
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; gap: 2px; }
.menu nav a { font-family: var(--display); text-transform: uppercase; text-decoration: none; font-size: clamp(42px, 12vw, 70px); line-height: 1.04; color: var(--text); }
.menu nav a:hover, .menu nav a:focus-visible { color: var(--red); outline: none; }
.menu__close { position: absolute; top: 16px; right: var(--gutter); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--red); color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
body.menu-open { overflow: hidden; }
body.menu-open .pill--float { display: none; }

.pill--float { display: none; }
@media (max-width: 900px) {
  .pill--float {
    display: block; position: fixed; z-index: 40; left: 16px; right: 16px; bottom: 16px;
    text-align: center; padding: 18px; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .3s ease;
  }
  .pill--float.is-on { transform: none; }
  .foot { padding-bottom: 100px !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--ink);
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  padding: 92px var(--gutter) 72px; text-align: center;
}
/* Red glow behind the logo plus faint copy-scan grain. */
.hero__grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 45%, rgba(233, 66, 50, .22), transparent 70%);
}
.hero__grain::after {
  content: ""; position: absolute; inset: 0;
  background: url("/img/students/events/FW/fw27/copyscan.webp?v=2") center / cover;
  mix-blend-mode: screen; opacity: .22;
}

/* ---------- Video band (wavecon.cc style) ----------
   Full width, edge to edge, nothing on top. 16:9 on wide screens (never
   taller than the screen); on phones it's cropped taller so it doesn't
   shrink to a strip. */
.reel { position: relative; overflow: hidden; background: #000; width: 100%; aspect-ratio: 16 / 9; max-height: 100vh; max-height: 100svh; }
@media (max-width: 700px) { .reel { aspect-ratio: auto; height: 62vh; height: 62svh; } }
.reel__media { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
/* Fallback until vid/fw-promo.mp4 exists: the promo's YouTube thumbnail. It has a
   dark rounded frame baked in (the photo spans x 15.6-87.6%, y 5.8-94.3%), so
   it's scaled up around the photo's own center to fill the band, with a slow
   zoom-and-drift so the band reads as "press play", not as a frozen video.
   Remeasure the scale/origin if $PROMO_YT changes to a thumbnail without the frame. */
.reel__media--still { transform-origin: 51.6% 50%; transform: scale(1.55); animation: fwb-drift 24s ease-in-out infinite alternate; }
@keyframes fwb-drift {
  from { transform: scale(1.55) translate(0, 0); }
  to   { transform: scale(1.7) translate(-1.6%, -1.2%); }
}
@media (prefers-reduced-motion: reduce) { .reel__media--still { animation: none; } }

/* The whole band is the button that opens the promo with sound. */
.reel__play {
  position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .15), rgba(0, 0, 0, .55));
  color: var(--text); font: inherit; transition: background-color .25s;
}
.reel__circle {
  width: clamp(84px, 9vw, 120px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: var(--ink); box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.reel__circle svg { margin-left: 5px; }
.reel__label { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 4.4vw, 64px); line-height: 1; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.reel__sub { font-weight: 800; text-transform: uppercase; letter-spacing: .22em; font-size: 13px; color: var(--muted); }
.reel__play:hover .reel__circle, .reel__play:focus-visible .reel__circle { transform: scale(1.08); }
.reel__play:focus-visible { outline: 3px solid var(--red); outline-offset: -6px; }
.hero__inner { width: 100%; }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .34em; font-size: clamp(12px, 1.3vw, 15px); margin: 0 0 clamp(14px, 2vw, 26px); color: var(--text); }
.hero__title { margin: 0; line-height: 0; }
/* The Student team asked for STAND to fill ~80% of the screen width (2026-10-27).
   Capped by height too, so on short screens the dates and Register stay near the fold. */
.hero__title img { width: min(80vw, 1.85 * 72vh); width: min(80vw, 1.85 * 72svh); height: auto; max-width: none; margin: 0 auto; transform: translateX(7%); }
/* Optical centering (Student team, 2026-11-02): the letters fill the left ~75% of
   the artwork and the star's long point the rest, so its visual weight sits at
   ~41% across. Nudging it right by 7% of its own width centers it by eye; the
   star tip still clears the screen edge at 80vw and at 90vw on phones. */
@media (max-width: 700px) { .hero__title img { width: 90vw; } }
.hero__meta { margin: clamp(14px, 2.2vw, 26px) 0 24px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; font-size: clamp(12px, 1.4vw, 15px); }
.hero__meta span { color: var(--red); margin: 0 .5em; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; }
.hero__deal { font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: clamp(13px, 1.3vw, 15px); color: var(--red); }
.hero__cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: var(--text); opacity: .7; animation: fwb-bob 2.2s ease-in-out infinite; }
@keyframes fwb-bob { 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .hero__cue { animation: none; } }
@media (max-width: 520px) { .hero__meta span { display: block; height: 0; overflow: hidden; } .hero__meta { line-height: 2; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--red); color: var(--ink); overflow: hidden; }
.ticker__track {
  display: flex; width: max-content; align-items: center; gap: 26px; padding: 14px 0;
  font-family: var(--display); font-size: clamp(24px, 3vw, 36px); text-transform: uppercase; white-space: nowrap;
  animation: fwb-ticker 36s linear infinite;
}
.ticker__track img { width: 26px; height: auto; }
@keyframes fwb-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- About ---------- */
.about { padding: clamp(90px, 13vw, 170px) 0; }
.statement { font-family: var(--display); text-transform: uppercase; font-size: clamp(40px, 6.4vw, 92px); line-height: .98; margin: 0 0 clamp(40px, 6vw, 70px); max-width: 15ch; }
.statement em { font-style: normal; color: var(--red); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts > div { padding: 22px 24px 4px 0; }
.facts > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.facts__k { margin: 0 0 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--red); }
.facts__v { margin: 0; font-size: 19px; font-weight: 600; }
.facts__v span { font-size: 14px; font-weight: 400; color: var(--muted); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Theme ---------- */
.theme { background: var(--ink-2); padding: clamp(90px, 13vw, 170px) 0; }
.theme__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 110px); }
.theme__side { position: sticky; top: 110px; align-self: start; }
.theme__word { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(100px, 16vw, 230px); line-height: .82; margin: 0; color: transparent; -webkit-text-stroke: 2px var(--red); }
.theme__ref { font-family: var(--display); text-transform: uppercase; font-size: clamp(30px, 3.2vw, 44px); color: var(--text); margin: 14px 0 24px; line-height: 1; }
.theme__prayer { color: var(--muted); max-width: 40ch; margin: 0; }
/* Scripture in the STAND LED art's style: condensed bold caps that look
   photocopied. The SVG filter #fwb-rough (in index.php) roughens the edges, the
   grime mask knocks small holes and streaks out of the letters, and a soft
   shadow gives the ink bleed. Bold lines are full white, the rest is dimmer. */
.verse { margin: 0; }
.verse p, .verse cite {
  -webkit-mask: url("/img/students/events/FW/fw27/grime-mask.png?v=2") 0 0 / 220px 220px repeat;
          mask: url("/img/students/events/FW/fw27/grime-mask.png?v=2") 0 0 / 220px 220px repeat;
}
.verse p {
  font-stretch: 72%; font-weight: 700; text-transform: uppercase; letter-spacing: .005em;
  font-size: clamp(19px, 1.9vw, 27px); line-height: 1.16; color: rgba(244, 239, 232, .46);
  margin: 0 0 22px; filter: url(#fwb-rough);
  text-shadow: 0 0 .6px currentColor, 0 0 8px rgba(244, 239, 232, .10);
}
.verse b { color: var(--text); font-weight: 800; }
.verse p:nth-child(2) { opacity: .82; }
/* 1 Corinthians 16:13–14 (2026-11-17) is two short lines, so it sets larger. */
.verse--short p { font-size: clamp(30px, 3.8vw, 56px); line-height: 1.04; }
.verse--short p:nth-child(2) { opacity: 1; }
.verse cite { font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; font-size: 13px; color: var(--red); }
@media (max-width: 900px) {
  .theme__grid { grid-template-columns: 1fr; }
  .theme__side { position: static; }
}

/* ---------- Pricing: price list ---------- */
.pricing { padding: clamp(90px, 13vw, 170px) 0; }
.prices { list-style: none; margin: 0 0 44px; padding: 0; }
.price {
  display: grid; grid-template-columns: minmax(150px, 220px) 1fr 1.2fr; align-items: baseline; gap: 10px 30px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.price__num { font-family: var(--display); font-size: clamp(64px, 8vw, 110px); line-height: .9; }
.price__name { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; }
.price__note { color: var(--muted); }
.price--hot .price__num, .price--hot .price__name { color: var(--red); }
/* Free T-shirt for the first 500 (2026-11-17). Outlined like the theme's STAND so it reads as a perk, not a price. */
.price--perk .price__num { color: transparent; -webkit-text-stroke: 2px var(--red); }
@media (max-width: 760px) { .price { grid-template-columns: auto 1fr; } .price__note { grid-column: 1 / -1; } }

/* ---------- Lineup ---------- */
.lineup { background: var(--ink-2); padding: clamp(90px, 13vw, 170px) 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card__art { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line); }
.card__art img { width: 46%; height: auto; filter: invert(36%) sepia(80%) saturate(2400%) hue-rotate(345deg) brightness(95%); opacity: .9; }
/* Real photos: fill the card, black and white like the photo grid, colour on hover. */
.card__art--photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); opacity: 1; transition: filter .4s; }
.card:hover .card__art--photo img { filter: none; }
.card__name { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 18px 0 6px; }
.card__role { margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--red); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; max-width: 420px; } }
/* Four across: two speakers, then two worship leaders. 2×2 on tablets and phones. */
.cards--4 { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards--4 .card__role { margin: 16px 0 6px; }
.cards--4 .card__name { font-size: 26px; margin: 0; }
.card--soon .card__name { color: var(--muted); }
.card__bio { margin-top: 12px; color: var(--muted); font-size: 15px; }
.card__bio summary { cursor: pointer; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--text); }
.card__bio p { margin: 10px 0 0; }
@media (max-width: 1000px) { .cards--4 { grid-template-columns: repeat(2, 1fr); max-width: none; } }
@media (max-width: 480px) { .cards--4 { gap: 26px 12px; } .cards--4 .card__name { font-size: 20px; } .cards--4 .card__role { font-size: 11px; margin-top: 12px; } }

/* ---------- Schedule ---------- */
.schedule { padding: clamp(90px, 13vw, 170px) 0; }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.day { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 30px; }
.day__short { font-family: var(--display); font-size: 64px; line-height: .9; color: var(--red); text-transform: uppercase; margin: 0; }
.day__name { font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; margin: 8px 0 20px; }
.day__rows { list-style: none; margin: 0; padding: 0; }
.day__rows li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.day__rows span { display: inline-block; width: 70px; font-weight: 800; color: var(--text); }
@media (max-width: 760px) { .days { grid-template-columns: 1fr; } }

/* ---------- What to expect: numbered ---------- */
.expect { background: var(--ink-2); padding: clamp(90px, 13vw, 170px) 0; }
.expect__list { list-style: none; counter-reset: fx; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 60px; }
.expect__list li { counter-increment: fx; display: grid; grid-template-columns: 64px 1fr; gap: 4px 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.expect__list li::before { content: counter(fx, decimal-leading-zero); grid-row: span 2; font-family: var(--display); font-size: 34px; line-height: 1; color: var(--red); }
.expect__list h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0; }
.expect__list p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 860px) { .expect__list { grid-template-columns: 1fr; } }

/* ---------- Leaders: red band ---------- */
.leaders { background: var(--red); color: var(--ink); padding: clamp(80px, 11vw, 140px) 0; }
.leaders__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.leaders p { font-size: 19px; margin: 0 0 24px; }
.leaders .leaders__q { font-size: 15px; margin: 20px 0 0; }
@media (max-width: 860px) { .leaders__grid { grid-template-columns: 1fr; } }

/* ---------- Photos ---------- */
.photos { padding: clamp(90px, 13vw, 170px) 0 clamp(60px, 9vw, 110px); }
.photos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photos__grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; filter: grayscale(1) contrast(1.1); transition: filter .4s; }
.photos__grid img:hover { filter: none; }
@media (max-width: 700px) { .photos__grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
@media (hover: none) { .photos__grid img { filter: grayscale(.4) contrast(1.05); } }

/* ---------- Footer ---------- */
.foot { background: #000; padding: clamp(70px, 10vw, 120px) 0 50px; text-align: center; }
.foot__logo { width: min(100%, 680px); height: auto; margin: clamp(50px, 7vw, 90px) auto 40px; }
.foot__row { display: flex; flex-direction: column; gap: 14px; align-items: center; color: var(--muted); }
.foot__row p { margin: 0; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; }
.foot__links a { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--text); text-decoration: none; }
.foot__links a:hover { color: var(--red); }

/* ---------- Promo dialog ---------- */
.promo { width: min(1100px, 94vw); padding: 0; border: 0; background: #000; border-radius: 14px; overflow: visible; }
.promo::backdrop { background: rgba(0, 0, 0, .9); }
.promo__frame { aspect-ratio: 16 / 9; }
.promo__frame iframe { width: 100%; height: 100%; border: 0; border-radius: 14px; display: block; }
.promo__close { position: absolute; top: -50px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--red); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Before registration opens (Nov 22, 2026) the Register buttons are calendar reminders;
   this is the small "Google Calendar instead" link under them. */
.cal-alt { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cal-alt:hover { color: var(--red); }
.pricing .cal-alt, .foot .cal-alt { display: block; margin-top: 14px; }
