@font-face {
  font-family: 'Big Shoulders Display';
  src: url('/fonts/big-shoulders-display-black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: 'League Gothic';
  src: url('/fonts/league-gothic.woff2') format('woff2');
  font-display: swap;
}

:root {
  --ink: #0d0f0e;
  --ink-2: #151a18;
  --ink-3: #1d2421;
  --bone: #efe6d2;
  --bone-dim: #b9b1a0;
  --yellow: #f2d23c;
  --yellow-ink: #1a1605;
  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --label: 'League Gothic', 'Arial Narrow', Impact, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4.5vw, 72px);
  --logo-h: clamp(50px, 6vw, 96px);
  --header-h: calc(var(--logo-h) + 20px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--bone); font-family: var(--body); line-height: 1.5; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: var(--header-h); } /* anchors land below the sticky header */

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: rgba(13, 15, 14, .92);
  border-bottom: 1px solid rgba(239, 230, 210, .08);
}
.brand { display: flex; flex: none; }
.brand img { width: auto; height: var(--logo-h); }
.site-nav {
  margin-left: auto; display: flex; gap: clamp(16px, 3.6vw, 56px);
  font-family: var(--label); font-size: clamp(16px, 1.25vw, 19px); letter-spacing: .3em; text-transform: uppercase;
}
.site-nav a { text-decoration: none; opacity: .85; }
.site-nav a:hover { opacity: 1; color: var(--yellow); }
.rings {
  width: clamp(40px, 3.9vw, 58px); height: clamp(40px, 3.9vw, 58px); flex: none;
  margin-left: clamp(0px, 5vw, 96px); color: var(--yellow);
}

h1, h2 {
  margin: 0; font-family: var(--display); font-weight: 900; line-height: .95;
  letter-spacing: .01em; text-transform: uppercase;
}
h1 { font-size: clamp(44px, 5vw, 104px); }
h2 { font-size: clamp(34px, 5.5vw, 64px); text-align: center; }
.tagline, .caption, .teaser-label, .welcome, .signoff, .invite label {
  font-family: var(--label); text-transform: uppercase; letter-spacing: .35em;
}

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 28px; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--yellow); color: var(--yellow-ink); text-decoration: none;
  font-family: var(--label); font-size: clamp(20px, 1.9vw, 28px); letter-spacing: .18em; text-transform: uppercase;
}
.button:hover { filter: brightness(1.08); }
.button:focus-visible { outline: 3px solid var(--bone); outline-offset: 3px; }
.button:disabled { opacity: .6; cursor: progress; }

.hero { position: relative; display: grid; align-items: end; min-height: min(88vh, 900px); overflow: hidden; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 15, 14, 0) 40%, rgba(13, 15, 14, .85) 100%);
}
.hero-copy { position: relative; z-index: 1; max-width: 1100px; padding: 0 var(--gutter) clamp(40px, 8vh, 96px); }
.tagline { margin: 14px 0 28px; font-size: clamp(16px, 1.8vw, 26px); letter-spacing: .4em; text-wrap: balance; }

.teaser { padding: clamp(24px, 3.4vw, 56px) var(--gutter); background: var(--ink-2); }
.teaser-frame { position: relative; max-width: 1180px; margin: 0 auto; border: 1px solid rgba(239, 230, 210, .15); }
.teaser-frame video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.play {
  position: absolute; inset: 0; margin: auto; width: clamp(64px, 8vw, 120px); height: clamp(64px, 8vw, 120px);
  padding: 0; border: 0; background: none; color: var(--yellow); cursor: pointer;
}
.play svg { width: 100%; height: 100%; }
.teaser-label {
  position: absolute; left: clamp(12px, 2.4vw, 36px); bottom: clamp(10px, 2.2vw, 32px); margin: 0;
  font-size: clamp(13px, 1.1vw, 16px); text-shadow: 0 1px 8px rgba(0, 0, 0, .7); pointer-events: none;
}
.teaser.playing .play, .teaser.playing .teaser-label { display: none; }

.island { padding: clamp(40px, 6vw, 80px) 0 0; }
.island h2, .caption { padding: 0 var(--gutter); }
.caption { margin: 12px 0 clamp(24px, 3vw, 40px); text-align: center; font-size: clamp(14px, 1.3vw, 18px); }
.panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.panels img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.finale {
  background-color: var(--ink);
  background-image: linear-gradient(180deg, var(--ink) 0%, rgba(13, 15, 14, .25) 45%, rgba(13, 15, 14, .55) 100%),
    url('/img/footer-bg.jpg');
  background-image: linear-gradient(180deg, var(--ink) 0%, rgba(13, 15, 14, .25) 45%, rgba(13, 15, 14, .55) 100%),
    image-set(url('/img/footer-bg.webp') type('image/webp'), url('/img/footer-bg.jpg') type('image/jpeg'));
  background-position: center bottom;
  background-size: 100% max(42vw, 290px), max(100%, 720px) auto; /* the whole panorama: palms frame both sides */
  background-repeat: no-repeat;
}
.alpha { padding: clamp(48px, 7vw, 96px) var(--gutter) 24px; text-align: center; }
.alpha h2 { font-size: clamp(32px, 3.6vw, 52px); }
.welcome { margin: 18px 0 0; color: var(--yellow); font-size: clamp(16px, 1.5vw, 21px); }
.invite { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 28px auto 0; }
.invite label { font-size: 16px; }
.invite input {
  width: 20ch; padding: 10px 12px; border: 1px solid rgba(239, 230, 210, .35); border-radius: 2px;
  background: var(--ink); color: var(--bone);
  font: 600 18px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase;
}
.button-small { padding: 8px 18px; font-size: 20px; }
.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 1.4vw, 20px); margin: 32px auto 0; }
.button-platform {
  flex-direction: column; gap: 2px; min-width: min(100%, 360px); min-height: calc(1.5em + 50px); padding: 14px 28px;
  font-size: clamp(22px, 2vw, 28px);
}
.button-platform small {
  min-height: 1.3em; font-family: var(--body); font-size: 13px; letter-spacing: .02em; text-transform: none;
}
.button-platform small:empty { display: none; } /* label centred until a code is in; min-height keeps the size */
.status { min-height: 1.5em; margin: 16px 0 0; }
.link { border: 0; background: none; color: var(--bone-dim); font: inherit; text-decoration: underline; cursor: pointer; }
.fine-print { max-width: 720px; margin: 32px auto 0; color: var(--bone-dim); font-size: 14px; text-align: left; }
.signoff { margin: 40px 0 0; font-size: 16px; }

.site-footer { display: flex; justify-content: center; align-items: center; gap: 24px; padding: 32px var(--gutter) 48px; color: var(--bone-dim); }
.site-footer::before, .site-footer::after { content: ''; width: min(240px, 22vw); height: 1px; background: currentColor; opacity: .4; }
.palm { width: 64px; height: 40px; }

@media (max-width: 720px) {
  .nav-wide, .rings { display: none; }
  .hero { min-height: min(70vh, 640px); }
  .panels { grid-template-columns: 1fr; }
}
