/* Pools design tokens. Basel is optional; the system stack needs no CDN. */
:root {
  color-scheme: dark;
  --surface-1: #131313;
  --surface-2: #1b1b1b;
  --line: rgb(255 255 255 / 12%);
  --text: #fff;
  --muted: #9b9b9b;
  --green: #4ade80;
  --deep: #0f2a1e;
  --weight-book: 485;
  --weight-medium: 535;
  --duration-fast: 120ms;
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  font-family: "Basel Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: var(--weight-book);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body { margin: 0; background: var(--surface-1); color: var(--text); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
p, h1, h2 { margin: 0; }
::selection { background: var(--green); color: var(--surface-1); }
.wrap { width: min(100% - 80px, 1280px); margin-inline: auto; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 2rem; font-weight: 650; letter-spacing: -.06em; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
nav { display: flex; gap: 40px; margin-left: 64px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 52px; padding: 16px 24px; border: 1px solid var(--line); border-radius: 999px; font-size: 1rem; font-weight: var(--weight-medium); line-height: 1.2; white-space: nowrap; transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard); }
.button-small { min-height: 44px; padding: 12px 20px; font-size: .875rem; gap: 24px; }
.button-primary { background: var(--green); color: #0b0b0b; border-color: transparent; }
.button:active { transform: scale(.98); }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; font-size: .875rem; white-space: nowrap; }
nav a, .text-link { transition: color var(--duration-fast) var(--ease-standard); }
/* The artwork is part of the hero, not a cropped media card. */
.hero-stage { overflow: clip; }
.hero { display: grid; grid-template-columns: 48% 52%; align-items: center; position: relative; padding-block: 88px 80px; min-height: 700px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: var(--muted); font-size: .875rem; line-height: 1.5; margin-bottom: 28px; }
h1 { font-size: clamp(4rem, 6.7vw, 6.5rem); font-weight: var(--weight-medium); line-height: 1.04; letter-spacing: -.055em; }
.period { color: var(--green); }
.hero-description { margin-top: 32px; font-size: 1.5rem; line-height: 1.4; letter-spacing: -.025em; }
.hero-detail { max-width: 380px; margin-top: 16px; font-size: 1rem; line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 32px; }
.hero-visual { min-width: 0; margin: 0; align-self: center; transform: translateY(24px); }
.mascot-stage { position: relative; width: 148%; margin-left: -24%; aspect-ratio: 16 / 9; background: var(--surface-1); isolation: isolate; }
.mascot-poster, .mascot-video { width: 100%; height: 100%; object-fit: contain; }
.mascot-video {
  position: absolute; inset: 0; opacity: 0;
  /* The prepared black matte vanishes against #131313. Lighten, unlike screen,
     keeps brighter foreground colors unchanged. No global color filter. */
  mix-blend-mode: lighten;
  /* Fade only the outer speed trails. The complete frog stays visible. */
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 92%, transparent);
}
.hero-visual.has-frame .mascot-video { opacity: 1; }
.hero-visual.has-frame .mascot-poster { opacity: 0; }
.mascot-caption { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--muted); font-size: .875rem; }
.motion-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; color: var(--muted); border: 1px solid transparent; border-radius: 999px; background: transparent; font-size: .75rem; }
.motion-toggle .pause-icon { display: none; }
.motion-toggle.is-playing .pause-icon { display: block; }
.motion-toggle.is-playing .play-icon { display: none; }
.identity-strip { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 32px; padding-block: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.identity-strip > div { display: flex; flex-direction: column; gap: 8px; font-size: 1rem; }
.identity-label { color: var(--muted); font-size: .75rem; }
.scroll-link { display: grid; place-items: center; align-self: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 1.25rem; }
.mission { display: grid; grid-template-columns: 48% 52%; gap: 0; padding-block: 112px; }
.section-label { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.section-label > span { font-variant-numeric: tabular-nums; color: #bcbcbc; }
h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: var(--weight-book); line-height: 1.12; letter-spacing: -.045em; }
.mission-content { padding-top: 52px; max-width: 480px; }
.mission-content .large-copy { margin-bottom: 24px; color: var(--text); font-size: 1.75rem; line-height: 1.3; letter-spacing: -.025em; }
.mission-content p { margin-bottom: 20px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.mission-signoff { display: flex; align-items: center; gap: 16px; margin-top: 32px; font-size: .875rem; }
.signoff-line { width: 32px; height: 1px; background: #676767; }
.pond { padding-bottom: 80px; }
.pond-card { display: grid; grid-template-columns: 60% 40%; align-items: center; padding: 56px; position: relative; overflow: hidden; background: var(--deep); border: 1px solid #294b37; border-radius: 24px; }
.pond-copy { position: relative; z-index: 1; }
.pond-card .section-label, .pond-card .section-label > span { color: #adbdaf; }
.pond-card h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.pond-copy > p:not(.section-label) { margin-top: 24px; color: #adbdaf; font-size: 1rem; line-height: 1.65; }
.pond-copy > .button { margin-top: 32px; }
.pond-frog { width: 132%; max-width: none; height: auto; margin-left: -8%; transform: rotate(-8deg) translateY(64px); }
.footer { padding-bottom: 32px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.footer-top > span { color: var(--muted); font-size: .875rem; }
.footer-bottom { margin-top: 24px; color: var(--muted); font-size: .75rem; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 12px 20px; border-radius: 999px; background: var(--green); color: #131313; z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (hover: hover) and (pointer: fine) {
  nav a:hover, .text-link:hover { color: var(--green); }
  .button:hover { background: #292929; }
  .button-primary:hover { background: #68e595; }
  .motion-toggle:hover { color: var(--text); border-color: var(--line); }
  .scroll-link:hover { background: var(--surface-2); }
}
@media (max-width: 1100px) {
  .hero { padding-block: 64px; min-height: 640px; }
  h1 { font-size: clamp(3.6rem, 7.1vw, 5rem); }
  .hero-description { font-size: 1.375rem; }
  .hero-actions { gap: 24px; }
  .hero-detail { max-width: 340px; }
  .mascot-caption { flex-direction: column; gap: 0; }
  .mission { padding-block: 88px; }
  .mission-content { padding-left: 24px; }
  .pond-card { padding: 40px; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 48px); }
  .header { min-height: 88px; }
  nav { margin-left: 0; gap: 24px; }
  .header .button { gap: 12px; }
  .hero { grid-template-columns: 1fr; padding-block: 48px 24px; min-height: 0; }
  .hero-copy { max-width: 560px; }
  h1 { font-size: clamp(3.75rem, 10vw, 5.5rem); }
  .hero-description { margin-top: 24px; }
  .hero-detail { max-width: 420px; }
  .hero-actions { margin-top: 28px; }
  .hero-visual { transform: none; margin-top: 12px; }
  .mascot-stage { width: 118%; margin-left: -9%; }
  .mascot-caption { flex-direction: row; gap: 8px 20px; margin-top: 0; }
  .identity-strip { gap: 24px; grid-template-columns: 1fr 1fr 1.2fr; padding-block: 24px; }
  .identity-strip > div { font-size: .875rem; }
  .scroll-link { display: none; }
  .mission { grid-template-columns: 1fr 1.1fr; gap: 40px; padding-block: 72px; }
  h2 { font-size: 2.5rem; }
  .mission-content { padding: 52px 0 0; }
  .mission-content .large-copy { font-size: 1.5rem; }
  .desktop-break { display: none; }
  .pond-card { grid-template-columns: 1fr; padding: 40px 40px 180px; }
  .pond-copy { max-width: 500px; }
  .pond-frog { position: absolute; width: 300px; right: 0; bottom: -100px; transform: rotate(-8deg); }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 40px); }
  .header { gap: 12px; min-height: 80px; }
  .header .brand { gap: 8px; font-size: 1.75rem; }
  .brand img { width: 32px; height: 32px; }
  nav { display: none; }
  .header .button { font-size: .75rem; padding: 12px 16px; }
  .hero { padding-top: 40px; }
  .eyebrow { font-size: .75rem; margin-bottom: 24px; }
  h1 { font-size: clamp(3.1rem, 11.8vw, 4.25rem); }
  .hero-description { font-size: 1.25rem; }
  .hero-detail { font-size: 1rem; }
  .hero-actions { gap: 20px; flex-wrap: wrap; }
  .hero-actions .button { gap: 24px; padding: 16px 20px; }
  .text-link { gap: 12px; }
  .mascot-stage { width: 132%; margin-left: -16%; }
  .mascot-caption { font-size: .75rem; gap: 4px 12px; }
  .motion-toggle { padding-inline: 8px; }
  .identity-strip { grid-template-columns: 1fr 1.35fr; gap: 24px 16px; }
  .identity-strip > div:last-of-type { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
  .mission { grid-template-columns: 1fr; gap: 32px; padding-block: 64px; }
  .section-label { margin-bottom: 24px; }
  h2 { font-size: 2.5rem; }
  .mission-content { padding: 0; }
  .mission-content .large-copy { font-size: 1.5rem; }
  .mission-signoff { gap: 12px; }
  .pond { padding-bottom: 48px; }
  .pond-card { padding: 32px 24px 220px; }
  .pond-card h2 { font-size: 2rem; }
  .pond-copy .button { padding-inline: 20px; gap: 16px; }
  .pond-frog { width: 280px; right: -8px; bottom: -76px; opacity: 1; }
  .footer-top { flex-wrap: wrap; gap: 16px; padding-top: 24px; }
  .footer-top > span { order: 3; flex-basis: 100%; }
}
@media (max-width: 380px) {
  .header .brand { font-size: 1.5rem; }
  .header .brand img { width: 28px; height: 28px; }
  .header .button { padding-inline: 12px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:active { transform: none; }
}
