/* ==========================================================================
   BOREYES 2026 - closing screen
   One viewport, no scroll, one background, no kicker labels.
   ========================================================================== */

@font-face {
  font-family: 'Helvetica Now Display';
  src: url('../fonts/HelveticaNowDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Now Display';
  src: url('../fonts/HelveticaNowDisplay-Bold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Helvetica Now Display';
  src: url('../fonts/HelveticaNowDisplay-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Marola';
  src: url('../fonts/Marola-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garet';
  src: url('../fonts/Garet-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-deep: #0A3659;
  --navy: #0F4C82;
  --blue: #6F97B6;
  --teal: #8CCDCF;
  --lime: #D3EB9F;
  --mint: #C5E6C9;

  --ink-soft: rgba(255, 255, 255, 0.78);
  --ink-faint: rgba(255, 255, 255, 0.5);
  --hairline: rgba(255, 255, 255, 0.18);

  --font-display: 'Helvetica Now Display', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Marola', var(--font-display);
  --font-body: 'Garet', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --pad-x: clamp(20px, 5vw, 64px);
  --pad-y: clamp(16px, 3.2vh, 40px);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  overscroll-behavior: none;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at 88% 8%, rgba(211, 235, 159, 0.16), transparent 42%),
    radial-gradient(circle at 6% 92%, rgba(140, 205, 207, 0.14), transparent 46%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 62%, #123f72 100%);
  color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}

@media (max-height: 480px) {
  body { overflow-y: auto; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

h1, h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.tnum {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

/* ==========================================================================
   Screen
   ========================================================================== */

.screen {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(14px, 2.4vh, 28px);
  padding: var(--pad-y) var(--pad-x);
}

[data-in] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--in-delay, 0ms);
}

.is-in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-in] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vh, 16px);
}

.brand__mark {
  width: clamp(32px, min(6.5vh, 9vw), 72px);
  height: clamp(32px, min(6.5vh, 9vw), 72px);
  object-fit: contain;
}

.brand__word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, min(4vh, 5.6vw), 2.5rem);
  letter-spacing: 0.005em;
  color: #fff;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 4vw, 48px);
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(8px, 1.6vh, 16px);
  max-width: 46rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 9vh, 4.75rem);
}

.hero__mascot {
  display: none;
  height: clamp(140px, 32vh, 340px);
  width: auto;
  flex-shrink: 0;
  opacity: 0.95;
}

@media (min-width: 860px) {
  .hero__mascot { display: block; }
}

.hero__tagline {
  font-family: var(--font-accent);
  font-weight: 400;
  font-size: clamp(1rem, 3.2vh, 1.5rem);
  color: var(--lime);
}

.hero__lead {
  max-width: 50ch;
  font-size: clamp(0.875rem, 2vh, 1.0625rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ==========================================================================
   Recap strip
   ========================================================================== */

.recap {
  display: flex;
  flex-wrap: wrap;
  row-gap: clamp(8px, 1.4vh, 12px);
}

.recap__item {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  padding: 0 clamp(14px, 1.8vw, 22px);
  border-left: 1px solid var(--hairline);
}

.recap__item:first-child {
  padding-left: 0;
  border-left: none;
}

.recap__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.75rem, 1.6vh, 0.875rem);
  color: var(--teal);
}

.recap__name {
  font-size: clamp(0.75rem, 1.7vh, 0.9375rem);
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ==========================================================================
   Closing line
   ========================================================================== */

.closing h2 {
  font-size: clamp(1.5rem, 6vh, 3rem);
  color: #fff;
}

.closing__line {
  margin-top: clamp(6px, 1.2vh, 12px);
  max-width: 54ch;
  font-size: clamp(0.875rem, 2vh, 1.0625rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.closing__line a {
  color: var(--lime);
  border-bottom: 1px solid rgba(211, 235, 159, 0.4);
  transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out);
}

.closing__line a:hover,
.closing__line a:focus-visible {
  color: #fff;
  border-color: currentColor;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: clamp(0.6875rem, 1.5vh, 0.8125rem);
  color: var(--ink-faint);
}
