/* World Mandate 2027 — site styles
   Fonts are free stand-ins until brand web fonts are added:
   --font-display (Bebas Neue) · --font-body (Figtree, for Enkel)
   --font-script (Yellowtail) · --font-wide (Zalando Sans Expanded) */

:root {
  --charcoal: #232323;
  --surface: #2E2D2B;
  --surface-2: #3A3836;
  --offwhite: #F9F9F1;
  --red: #E03834;
  --butter: #EED385;
  --muted: #BDB8AE;
  --muted-2: #A39E94;
  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
  --font-script: 'Yellowtail', cursive;
  --font-wide: 'Zalando Sans Expanded', system-ui, sans-serif;
  --radius-panel: 28px;
  --radius-card: 20px;
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--charcoal); color: var(--offwhite); font-family: var(--font-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--offwhite); }
a:hover { color: var(--butter); }
button { font-family: inherit; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--offwhite); color: var(--charcoal); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--butter); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; font-size: 16px; padding: 16px 28px; border-radius: 999px; transition: background .25s, color .25s, border-color .25s; }
.btn-sm { font-size: 14px; padding: 10px 20px; }
.btn-red { background: var(--red); color: var(--offwhite); }
.btn-red:hover { background: #c92e2a; color: var(--offwhite); }
.btn-dark { background: var(--charcoal); color: var(--offwhite); font-size: 17px; padding: 18px 32px; }
.btn-dark:hover { background: #111; color: var(--offwhite); }
.btn-outline { border: 1.5px solid rgba(249,249,241,.55); color: var(--offwhite); }
.btn-outline:hover { border-color: var(--offwhite); color: var(--offwhite); }
.btn-ghost { border: 1.5px solid rgba(249,249,241,.7); color: var(--offwhite); padding: 15px 26px; }
.btn-ghost:hover { background: rgba(249,249,241,.1); color: var(--offwhite); }

/* ---------- Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--charcoal); }
.nav { max-width: var(--max); margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 24px; width: auto; }
.brand span { font-family: var(--font-wide); font-weight: 700; font-size: 13px; letter-spacing: .08em; }
.nav-links { display: flex; gap: 40px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 6px; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; color: var(--offwhite); cursor: pointer; }
.mobile-menu { margin: 0 12px 12px; background: var(--surface); border-radius: 20px; padding: 8px 20px; }
.mobile-menu a { display: block; padding: 12px 0; text-decoration: none; font-family: var(--font-display); font-size: 34px; line-height: 1; border-bottom: 1px solid var(--surface-2); }
.mobile-menu a:last-child { border-bottom: 0; }
.roll { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3em; vertical-align: top; }
.roll span { display: block; transition: transform .45s cubic-bezier(.7,0,.2,1); }
a:hover .roll span, a:focus-visible .roll span { transform: translateY(-100%); }
.roll span + span { color: var(--red); }

/* ---------- Layout ---------- */
.panel-wrap { padding: 0 16px; }
.section { max-width: var(--max); margin: 0 auto; padding: 96px 32px; }
.section + .section { padding-top: 24px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; }
.section-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.section-title p { margin: 0; font-size: 18px; }
.section-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; }
.h-display { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 64px; line-height: .9; }
.eyebrow { margin: 0 0 12px; font-family: var(--font-wide); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--butter); }

/* ---------- Motion helpers ---------- */
@keyframes wm-grain { 0%{transform:translate(0,0)} 20%{transform:translate(-6%,4%)} 40%{transform:translate(5%,-7%)} 60%{transform:translate(-4%,6%)} 80%{transform:translate(7%,3%)} 100%{transform:translate(0,0)} }
.grain { position: absolute; inset: -50%; background: url(/assets/img/grain.png) repeat; opacity: .18; mix-blend-mode: overlay; pointer-events: none; animation: wm-grain 1.2s steps(5) infinite; }
@keyframes wm-letter { from { opacity: 0; transform: translateY(60%) rotate(4deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.ltr { display: inline-block; opacity: 0; animation: wm-letter .8s cubic-bezier(.2,.7,.2,1) forwards; }
.word { display: inline-block; white-space: nowrap; }
@keyframes wm-rise { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) { .reveal { animation: wm-rise linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; } }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: 1408px; margin: 8px auto 64px; min-height: 760px; border-radius: var(--radius-panel); overflow: hidden; background: #111; display: flex; align-items: flex-end; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,.15) 0%, rgba(17,17,17,.25) 45%, rgba(17,17,17,.85) 100%); }
.hero-content { position: relative; width: 100%; padding: 0 56px 56px; }
.hero-title { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 28px; font-weight: 400; }
.hero-eternity { font-family: var(--font-display); font-size: clamp(96px, 15vw, 220px); line-height: .82; }
.hero-inmind { font-family: var(--font-script); font-size: clamp(68px, 10vw, 150px); line-height: .9; color: var(--red); padding: .12em .22em .12em .04em; margin: -.12em -.22em -.12em -.04em; }
.hero-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: 28px; }
.hero-copy { margin: 0; max-width: 480px; font-size: 19px; color: #E8E4DA; }
.hero-copy span { color: #B9B2A3; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Speaker reel ---------- */
.reel { position: relative; max-width: 1408px; margin: 0 auto; height: 820px; border-radius: var(--radius-panel); overflow: hidden; background: #111; }
.reel-slides { position: absolute; inset: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
.slide { position: absolute; inset: 0; }
.slide[hidden] { display: none; }
.slide-photo { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: center 28%; filter: grayscale(1) contrast(1.08) brightness(.8); animation: wm-push 1.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes wm-push { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
.slide-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(17,17,17,.15) 0%, rgba(17,17,17,.55) 70%, rgba(17,17,17,.85) 100%); }
.slide-row { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; gap: 32px; }
@keyframes wm-fade { from { opacity: 0; } to { opacity: 1; } }
.slide-side { opacity: 0; animation: wm-fade .8s ease .5s forwards; margin: 0; flex: 0 0 220px; font-size: 16px; font-weight: 500; transition: color .35s; }
.slide-title { flex: 1 1 auto; min-width: 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; color: var(--offwhite); text-decoration: none; transition: color .35s; }
.slide-title:hover, .slide-title:focus-visible { color: var(--red); }
.slide-name { font-family: var(--font-display); font-weight: 400; font-size: 220px; line-height: .86; }
.slide-name.long { font-size: 112px; }
.watch-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: var(--offwhite); padding: 8px 16px 8px 8px; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.watch-chip i { width: 28px; height: 28px; border-radius: 50%; background: var(--charcoal); display: flex; align-items: center; justify-content: center; }
.reel:hover .watch-chip, .slide-title:focus-visible .watch-chip { opacity: 1; transform: none; }
.reel:hover .slide-side { color: var(--red); }
.reel-label { position: absolute; left: 48px; top: 36px; margin: 0; font-family: var(--font-wide); font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--red); pointer-events: none; }
.reel-tabs { position: absolute; left: 48px; right: 48px; bottom: 32px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.reel-tab { background: transparent; border: 0; padding: 12px 0 0; cursor: pointer; text-align: left; color: rgba(249,249,241,.6); min-height: 44px; }
.reel-tab[aria-selected="true"] { color: var(--offwhite); }
.reel-tab .track { position: relative; display: block; height: 3px; background: rgba(249,249,241,.25); overflow: hidden; border-radius: 2px; margin-bottom: 10px; }
.reel-tab .fill { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.reel-tab .fill.done { transform: scaleX(1); }
.reel-tab .fill.run { animation: wm-fill 7s linear forwards; }
.reel.paused .fill.run { animation-play-state: paused; }
@keyframes wm-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.reel-tab .tab-name { font-size: 13px; font-weight: 600; }

/* ---------- Cards / carousels ---------- */
.cards { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card { background: var(--surface); border-radius: var(--radius-card); padding: 12px 12px 20px; text-decoration: none; color: var(--offwhite); display: flex; flex-direction: column; gap: 12px; border: 0; text-align: left; font: inherit; cursor: pointer; }
.card:hover { color: var(--offwhite); }
.card-media { position: relative; overflow: hidden; border-radius: 12px; }
.card-media img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .6s; }
.card-media.tall img { aspect-ratio: 3/2; }
.card:hover .card-media img, .card:focus-within .card-media img { transform: scale(1.06); filter: brightness(1.05); }
.card h3 { margin: 0 6px; transition: color .35s; }
.card:hover h3 { color: var(--red); }
.play { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--offwhite); display: flex; align-items: center; justify-content: center; }
.meta { margin: 0 6px; font-family: var(--font-wide); font-weight: 700; font-size: 11px; letter-spacing: .06em; color: var(--butter); }
.video-card h3 { font-size: 21px; font-weight: 600; line-height: 1.25; }
.video-card .who { margin: 0 6px; font-size: 14px; color: var(--muted); }
.trip-card { cursor: default; }
.trip-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; margin: 4px 8px 0; }
.trip-card .info { margin: 0 8px; font-size: 15px; color: var(--muted); }
.trip-card .price { margin: 0 8px; font-size: 15px; }
.trip-card .price b { font-weight: 600; }
.trip-card .spots { color: var(--butter); font-weight: 600; font-size: 13px; margin-left: 6px; }
.trip-card .actions { display: flex; align-items: center; gap: 18px; padding: 8px 8px 0; margin-top: auto; }
.trip-card .actions .btn { font-size: 14px; padding: 12px 20px; }
.trip-card .give { font-size: 14px; font-weight: 600; padding: 12px 0; }
.tag { position: absolute; left: 12px; top: 12px; font-family: var(--font-wide); font-weight: 700; font-size: 10px; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; color: var(--charcoal); }
.tag-YOUNG-ADULTS { background: #7B9EDC; }
.tag-COLLEGE { background: var(--butter); }
.tag-WACO { background: var(--red); color: var(--offwhite); }
.carousel-controls { display: flex; align-items: center; gap: 12px; }
.counter { font-size: 14px; color: var(--muted-2); }
.arrow { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--offwhite); color: var(--charcoal); border: 1.5px solid var(--offwhite); cursor: pointer; transition: opacity .2s; }
.arrow:disabled { background: transparent; color: #6F6A62; border-color: #45423F; cursor: default; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; background: transparent; color: var(--offwhite); border: 1.5px solid #55524D; }
.chip[aria-selected="true"] { background: var(--offwhite); color: var(--charcoal); border-color: var(--offwhite); }
.chip span { opacity: .6; margin-left: 4px; }

/* ---------- Engage ---------- */
.engage { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.engage-card { background: var(--surface); border-radius: var(--radius-card); padding: 32px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.engage-card:hover { color: var(--offwhite); background: #353331; }
.engage-title { font-family: var(--font-display); font-size: 44px; line-height: .95; }
.engage-card .muted { flex-grow: 1; }
.engage-link { font-weight: 600; margin-top: auto; }

/* ---------- Closing ---------- */
.closing { max-width: 1408px; margin: 0 auto; background: var(--red); color: var(--offwhite); border-radius: var(--radius-panel); padding: 80px 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.closing-logo { width: 320px; height: auto; filter: brightness(0) invert(.97); }
.closing-line { margin: 24px 0 0; font-family: var(--font-display); font-size: 56px; line-height: .9; }

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 40px 32px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--muted-2); }
.footer-links { display: flex; gap: 28px; }

/* ---------- Video player ---------- */
.player { position: fixed; inset: 0; z-index: 50; background: rgba(10,10,10,.9); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.player-frame, .player-meta p { cursor: default; }
.player[hidden] { display: none; }
.player-inner { position: relative; display: flex; flex-direction: column; gap: 14px; max-width: 100%; }
.player-close { position: absolute; right: 0; top: -56px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(249,249,241,.5); background: transparent; color: var(--offwhite); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.player-frame { width: min(1100px, 90vw); aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; }
.player.vertical .player-frame { width: auto; height: min(76vh, 720px); aspect-ratio: 9/16; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.player-title { margin: 0; font-size: 20px; font-weight: 600; }
.player-who { margin: 2px 0 0; font-size: 14px; }
.player-yt { font-size: 14px; font-weight: 600; padding: 12px 0; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .slide-name { font-size: 150px; }
  .slide-name.long { font-size: 84px; }
  .slide-side { flex-basis: 160px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding: 10px 12px 10px 20px; }
  .brand span, .nav-links { display: none; }
  .menu-btn { display: flex; }
  .panel-wrap { padding: 0 8px; }
  .section { padding: 56px 20px; }
  .section + .section { padding-top: 16px; }
  .h-display { font-size: 44px; }
  .section-title p { font-size: 16px; }

  .hero { min-height: 640px; border-radius: 24px; margin: 0 auto 40px; }
  .hero-video { object-position: 55% center; }
  .hero-content { padding: 0 18px 22px; }
  .eyebrow { font-size: 11px; }
  .hero-title { display: block; }
  .hero-eternity { display: block; font-size: 104px; line-height: .84; }
  .hero-inmind { display: block; font-size: 76px; text-align: right; }
  .hero-copy { font-size: 16px; }
  .hero-ctas, .hero-ctas .btn { width: 100%; }
  .hero-ctas .btn-ghost { display: none; }

  .reel { height: 620px; border-radius: 24px; }
  .slide-vignette { background: linear-gradient(180deg, rgba(17,17,17,.55) 0%, rgba(17,17,17,.1) 35%, rgba(17,17,17,.85) 100%); }
  .slide-row { flex-direction: column; justify-content: flex-end; padding: 0 18px 30px; gap: 10px; text-align: center; }
  .slide-row .slide-side { flex: none; font-size: 14px; order: -1; }
  .slide-row .slide-side.right { display: none; }
  .slide-title { flex: none; gap: 14px; }
  .slide-name { font-size: 96px; }
  .slide-name.long { font-size: 52px; }
  .watch-chip { opacity: 1; transform: none; }
  .reel-label { left: 18px; top: 56px; font-size: 11px; }
  .reel-tabs { top: 10px; bottom: auto; left: 14px; right: 14px; gap: 6px; }
  .reel-tab { padding: 20px 0; }
  .reel-tab .track { margin: 0; height: 3px; }
  .reel-tab .tab-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  /* carousels become swipe rows */
  .cards-4, .cards-3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 4px 20px 8px; scrollbar-width: none; }
  .cards-4::-webkit-scrollbar, .cards-3::-webkit-scrollbar { display: none; }
  .cards .card { flex: 0 0 280px; scroll-snap-align: start; }
  .section-head .carousel-controls .arrow, .section-head .carousel-controls .counter, .section-foot .arrow, .section-foot .counter { display: none; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px; width: calc(100% + 40px); }
  .chip { flex: 0 0 auto; }

  .engage { grid-template-columns: 1fr; gap: 12px; }
  .engage-card { padding: 22px; min-height: 0; }
  .engage-title { font-size: 34px; }

  .closing { border-radius: 24px; padding: 44px 20px; }
  .closing-logo { width: 220px; }
  .closing-line { font-size: 44px; margin-bottom: 4px; }
  .closing .btn { width: 100%; }
  .footer { flex-direction: column-reverse; align-items: flex-start; padding: 28px 20px; }
}

/* ---------- Custom cursor: red circle (mouse only) ---------- */
@media (pointer: fine) {
  html, body, .reel-slides, .player, .player-frame, .player-meta p { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='8' fill='%23E03834' stroke='%23F9F9F1' stroke-width='1.5'/%3E%3C/svg%3E") 10 10, auto; }
  a, button, [role="tab"], .chip, label, summary { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='13' fill='%23E03834' fill-opacity='.85' stroke='%23F9F9F1' stroke-width='1.5'/%3E%3C/svg%3E") 16 16, pointer; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .ltr, .slide-photo, .slide-side, .reveal { animation: none !important; opacity: 1 !important; transform: none !important; filter: none; }
  .slide-photo { filter: grayscale(1) contrast(1.08) brightness(.8); }
  .reel-tab .fill.run { animation: none; transform: scaleX(1); }
  .card-media img, .roll span { transition: none; }
}
