/* ==========================================================
   OUT OF REACH — The Struggle for the American Dream
   Emergency relaunch site · static HTML/CSS/JS
   Brand: navy #131568 · red #E81E26 · Anton + Work Sans
   ========================================================== */

:root {
  --navy: #131568;
  --navy-deep: #0b0c3a;
  --navy-ink: #07082b;
  --red: #e81e26;
  --paper: #f5f4ef;
  --white: #ffffff;
  --ink: #1b1c22;
  --ink-soft: #4a4b57;
  --line: rgba(19, 21, 104, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --wrap: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
  transform: skewX(-24deg);
  flex: none;
}

/* Signature stripe motif — echoes the flag logo */
.stripes {
  display: block;
  width: 92px;
  height: 16px;
  background:
    linear-gradient(var(--red), var(--red)) 0 0 / 100% 4px no-repeat,
    linear-gradient(var(--red), var(--red)) 12px 6px / 100% 4px no-repeat,
    linear-gradient(var(--red), var(--red)) 24px 12px / 100% 4px no-repeat;
  transform: skewX(-24deg);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 8, 43, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-light);
  transition: background 0.3s ease;
}

.site-header.scrolled { background: rgba(7, 8, 43, 0.96); }

.site-header .bar {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 6px; }

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}

.site-nav a:hover { color: #fff; }

.site-nav a.active {
  color: #fff;
  border-bottom-color: var(--red);
}

.site-nav .nav-cta {
  margin-left: 10px;
  background: var(--red);
  color: #fff;
  border-bottom: none;
  padding: 11px 18px;
  border-radius: 3px;
}

.site-nav .nav-cta:hover { background: #c8141c; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy-ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 20px;
    border-bottom: 3px solid var(--red);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 14px 28px; border-bottom: none; }
  .site-nav a.active { color: #fff; border-left: 3px solid var(--red); }
  .site-nav .nav-cta { margin: 12px 28px 0; text-align: center; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/milwaukee-skyline.jpg") center / cover no-repeat;
  animation: kenburns 28s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.14) translateY(-2%); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 43, 0.72) 0%, rgba(7, 8, 43, 0.45) 40%, rgba(7, 8, 43, 0.88) 100%),
    radial-gradient(ellipse at center, rgba(7, 8, 43, 0.1), rgba(7, 8, 43, 0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 24px 90px;
  max-width: 1000px;
}

.hero .eyebrow { color: rgba(255, 255, 255, 0.85); justify-content: center; }
.hero .eyebrow::after {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
  transform: skewX(-24deg);
}

.hero-title {
  font-size: clamp(64px, 13vw, 176px);
  margin: 18px 0 6px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero-sub {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(17px, 2.6vw, 30px);
  letter-spacing: 0.32em;
  color: var(--red);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
  margin-bottom: 26px;
}

.hero-credit {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 44px;
}

.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-body);
}

.play-ring {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 12px 34px rgba(232, 30, 38, 0.45);
  transition: transform 0.25s ease;
}

.play-ring::before,
.play-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(232, 30, 38, 0.8);
  animation: pulse 2.4s ease-out infinite;
}

.play-ring::after { animation-delay: 1.2s; }

@keyframes pulse {
  from { transform: scale(1); opacity: 0.9; }
  to   { transform: scale(1.9); opacity: 0; }
}

.play-ring svg { width: 26px; height: 26px; margin-left: 4px; fill: #fff; }

.hero:hover .play-ring, .play-btn:focus-visible .play-ring { transform: scale(1.08); }

.play-label {
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.play-label small {
  display: block;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  font-size: 12px;
}

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Trailer modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 5, 24, 0.92);
  padding: 24px;
}

.modal.open { display: flex; }

.modal-frame {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: none;
  border: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px;
}

.modal-close:hover { color: var(--red); }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }

.section-dark {
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.88);
}

.section-dark .eyebrow { color: rgba(255, 255, 255, 0.75); }

.section-navy {
  background: var(--navy);
  color: #fff;
}

/* Big pull-quote */
.pullquote {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.pullquote .display {
  font-size: clamp(30px, 5vw, 58px);
  color: var(--navy);
  margin-top: 22px;
}

.pullquote .display em {
  font-style: normal;
  color: var(--red);
}

.section-dark .pullquote .display { color: #fff; }

/* Statement + copy split */
.statement-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
}

.statement-grid .display {
  font-size: clamp(38px, 5vw, 66px);
  color: var(--navy);
}

.statement-grid .display .accent { color: var(--red); }

.statement-copy p + p { margin-top: 18px; }
.statement-copy { color: var(--ink-soft); }

.statement-copy .lede {
  font-size: 19px;
  color: var(--ink);
  font-weight: 500;
}

@media (max-width: 880px) {
  .statement-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Stats band */
.stats-band { border-top: 4px solid var(--red); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 92px);
  line-height: 1;
  color: #fff;
}

.stat .num sup {
  font-size: 0.45em;
  color: var(--red);
  vertical-align: super;
}

.stat .label {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.card {
  background: var(--white);
  border-top: 4px solid var(--navy);
  padding: 34px 30px 38px;
  box-shadow: 0 14px 34px rgba(19, 21, 104, 0.08);
}

.card:nth-child(2) { border-top-color: var(--red); }

.card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 14px;
}

.card p { color: var(--ink-soft); font-size: 16px; }

@media (max-width: 880px) {
  .cards { grid-template-columns: 1fr; }
}

/* Full-bleed characters strip */
.strip {
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  background: var(--navy-ink);
}

.strip img {
  width: 100%;
  height: clamp(320px, 46vw, 560px);
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.strip:hover img { transform: scale(1.03); opacity: 0.65; }

.strip-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(7, 8, 43, 0.25), rgba(7, 8, 43, 0.72));
  padding: 24px;
}

.strip-overlay .display { font-size: clamp(36px, 6vw, 72px); text-shadow: 0 6px 30px rgba(0,0,0,0.5); }

.strip-overlay .go {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--red);
  padding-bottom: 6px;
}

/* CTA band */
.cta-band { text-align: center; }

.cta-band .display { font-size: clamp(34px, 5vw, 60px); }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 17px 34px;
  border-radius: 3px;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover { background: #c8141c; transform: translateY(-2px); }

.btn.ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  background:
    linear-gradient(180deg, rgba(7, 8, 43, 0.86), rgba(11, 12, 58, 0.94)),
    var(--navy-ink) url("../assets/milwaukee-skyline.jpg") center / cover no-repeat;
  color: #fff;
  padding: calc(var(--header-h) + 84px) 0 72px;
}

.page-hero.photo-characters {
  background:
    linear-gradient(180deg, rgba(7, 8, 43, 0.78), rgba(11, 12, 58, 0.92)),
    var(--navy-ink) url("../assets/characters.jpg") center 30% / cover no-repeat;
}

.page-hero .display { font-size: clamp(44px, 7vw, 88px); margin-top: 16px; }

.page-hero .lede {
  max-width: 720px;
  margin-top: 20px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Prose / about ---------- */

.prose { max-width: 780px; }
.prose p + p { margin-top: 20px; }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  margin: 54px 0 18px;
}
.prose h2:first-child { margin-top: 0; }
.prose .credit { font-size: 13px; color: var(--ink-soft); font-style: italic; }

.callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 56px 0 0;
}

.callout {
  background: var(--navy);
  color: #fff;
  padding: 34px 30px;
  border-left: 5px solid var(--red);
}

.callout .big {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  text-transform: uppercase;
}

.callout h4 {
  margin: 10px 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.callout p { font-size: 15px; color: rgba(255,255,255,0.85); }

@media (max-width: 720px) { .callouts { grid-template-columns: 1fr; } }

/* ---------- Characters ---------- */

.gen-block { margin-top: 72px; }
.gen-block:first-child { margin-top: 0; }

.gen-head { max-width: 760px; }

.gen-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(32px, 4.5vw, 52px);
  color: var(--navy);
  line-height: 1.02;
  margin-top: 14px;
}

.gen-head p { margin-top: 14px; color: var(--ink-soft); font-size: 18px; }

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.person {
  background: var(--white);
  padding: 30px 28px 34px;
  box-shadow: 0 14px 34px rgba(19, 21, 104, 0.08);
  border-top: 4px solid var(--red);
  display: flex;
  flex-direction: column;
}

.person h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 25px;
  color: var(--navy);
  line-height: 1.05;
}

.person .age {
  color: var(--red);
  font-size: 0.8em;
  margin-left: 6px;
}

.person .role {
  margin: 10px 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.7;
}

.person p { font-size: 15.5px; color: var(--ink-soft); }

@media (max-width: 980px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .people { grid-template-columns: 1fr; } }

/* ---------- Crew ---------- */

.crew-list { display: grid; gap: 26px; margin-top: 10px; }

.crew-member {
  background: var(--white);
  padding: 36px 36px 38px;
  box-shadow: 0 14px 34px rgba(19, 21, 104, 0.08);
  border-left: 5px solid var(--navy);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
}

.crew-member:nth-child(even) { border-left-color: var(--red); }

.crew-member h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 26px;
  color: var(--navy);
  line-height: 1.08;
}

.crew-member .role {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.crew-member p { color: var(--ink-soft); font-size: 15.5px; }

@media (max-width: 820px) {
  .crew-member { grid-template-columns: 1fr; gap: 12px; padding: 30px 26px; }
}

/* ---------- Behind the Scenes timeline ---------- */

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 46px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(var(--navy) 0%, var(--red) 100%);
}

.tl-year {
  position: relative;
  margin: 64px 0 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 46px;
  color: var(--navy);
  line-height: 1;
}

.tl-year:first-child { margin-top: 0; }

.tl-year::before {
  content: "";
  position: absolute;
  left: -44px;
  top: 12px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--red);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 3px var(--red);
}

.tl-post {
  position: relative;
  background: var(--white);
  margin-top: 30px;
  padding: 30px 32px 32px;
  box-shadow: 0 14px 34px rgba(19, 21, 104, 0.08);
}

.tl-post::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 36px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--paper);
}

.tl-post .date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.tl-post h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.1;
  margin: 8px 0 12px;
}

.tl-post p { color: var(--ink-soft); font-size: 15.5px; }
.tl-post p + p { margin-top: 12px; }

.tl-post .source {
  margin-top: 14px;
  font-size: 13px;
  font-style: italic;
  color: #7a7b88;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

@media (max-width: 640px) {
  .timeline { padding-left: 34px; }
  .tl-year::before { left: -32px; width: 15px; height: 15px; }
  .tl-post::before { left: -30px; }
  .tl-post { padding: 24px 22px 26px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--white);
  border-top: 5px solid var(--red);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
}

.footer-logo img { width: 190px; height: auto; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  justify-content: center;
}

.footer-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-nav a:hover { color: var(--red); }

.footer-social { display: flex; gap: 14px; }

.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover { background: var(--red); transform: translateY(-2px); }

.footer-social svg { width: 18px; height: 18px; fill: #fff; }

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 30px; }
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- Motion / a11y ---------- */

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  z-index: 300;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus { left: 12px; top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg, .hero-scroll, .play-ring::before, .play-ring::after { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
