@charset "UTF-8";

:root {
  --ink: #042b38;
  --deep: #063949;
  --water: #58d9d0;
  --water-light: #c9fff0;
  --lime: #a8ff3e;
  --blue: #1646d8;
  --cream: #f6ebcf;
  --paper: #fff9e9;
  --pointer-x: 0;
  --pointer-y: 0;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html { scroll-behavior: smooth; }

body {
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a { font: inherit; }

button { color: inherit; }

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-shell {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-rows: 88px minmax(0, 1fr) 56px;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background: var(--deep);
}

.scene,
.scene > div {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene { z-index: -2; overflow: hidden; }

.scene__photo {
  inset: -3% !important;
  background: url("assets/pool-background.webp") center / cover no-repeat;
  filter: saturate(0.88) contrast(1.04);
  transform: scale(1.05) translate(calc(var(--pointer-x) * -9px), calc(var(--pointer-y) * -7px));
  transition: transform 400ms cubic-bezier(.2,.8,.2,1);
}

.scene__wash {
  background:
    linear-gradient(90deg, rgba(3, 43, 56, 0.9) 0%, rgba(3, 43, 56, 0.71) 39%, rgba(3, 43, 56, 0.18) 73%, rgba(3, 43, 56, 0.45) 100%),
    linear-gradient(0deg, rgba(3, 43, 56, 0.86) 0%, transparent 34%, rgba(2, 33, 44, 0.28) 100%);
}

.scene__sun {
  inset: auto -12vw -38vw auto !important;
  width: 72vw;
  height: 72vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,255,62,.28), rgba(88,217,208,.08) 42%, transparent 70%);
  animation: breathe 6s ease-in-out infinite;
}

.scene__grid {
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000, transparent 49%);
}

.scene__ripple {
  inset: auto auto -22vw 30vw !important;
  width: 70vw;
  height: 42vw;
  border: 3px solid rgba(201,255,240,.28);
  border-radius: 50%;
  transform: rotate(-7deg);
  box-shadow: 0 0 0 26px rgba(201,255,240,.08), 0 0 0 54px rgba(201,255,240,.05);
  animation: ripple 5s ease-out infinite;
}

.scene__ripple--two {
  left: 52vw !important;
  bottom: -28vw !important;
  animation-delay: -2.4s;
  animation-duration: 6.5s;
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(24px, 4vw, 74px);
  border-bottom: 1px solid rgba(201,255,240,.24);
  background: rgba(3, 43, 56, .36);
  backdrop-filter: blur(15px);
}

.brand,
.social-link {
  text-decoration: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__avatar {
  display: grid;
  place-items: center;
  width: 47px;
  height: 47px;
  overflow: hidden;
  border: 2px solid var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(168,255,62,.12);
}

.brand__avatar img { width: 100%; height: 100%; object-fit: cover; }

.brand__name { font-size: 22px; letter-spacing: .06em; }

.brand__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,249,233,.66);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.brand__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}

.socials { display: flex; align-items: center; gap: 10px; }

.social-link,
.ca-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 45px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .09em;
  background: rgba(3,43,56,.5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.social-link__icon { font-family: Arial, sans-serif; font-size: 18px; line-height: 1; }

.social-link:hover,
.social-link:focus-visible {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-3px) rotate(-1deg);
  outline: none;
  box-shadow: 0 8px 0 rgba(4,43,56,.42);
}

.social-link--blue:hover,
.social-link--blue:focus-visible { color: white; background: var(--blue); border-color: #6181ff; }

.ca-button {
  cursor: pointer;
  color: var(--ink);
  background: var(--lime);
  border: 0;
  min-width: 130px;
}

.ca-button svg { fill: none; stroke: currentColor; stroke-width: 2; }

.ca-button:hover,
.ca-button:focus-visible {
  transform: translateY(-3px) rotate(1deg);
  outline: none;
  box-shadow: 0 8px 0 rgba(4,43,56,.46), 0 0 28px rgba(168,255,62,.36);
}

.ca-button.is-copied { animation: button-pop .8s ease; }

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(460px, .88fr) minmax(540px, 1.12fr);
  grid-template-rows: minmax(0, 1fr) auto;
  column-gap: clamp(28px, 5vw, 100px);
  align-items: center;
  min-height: 0;
  padding: clamp(28px, 4vh, 54px) clamp(26px, 5vw, 96px) clamp(24px, 3.2vh, 40px);
}

.hero-copy {
  align-self: end;
  padding-bottom: clamp(18px, 2vh, 26px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 14px;
  color: rgba(255,249,233,.72);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .19em;
}

.eyebrow span {
  padding: 7px 10px 6px;
  color: var(--ink);
  background: var(--lime);
  transform: rotate(-2deg);
}

.eyebrow b { width: 35px; height: 1px; background: rgba(255,255,255,.48); }

h1 {
  margin: 0;
  font-size: clamp(88px, 9vw, 174px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .72;
  text-transform: uppercase;
}

.title-line { display: block; }

.title-line--solid {
  color: var(--cream);
  text-shadow: 0 9px 0 rgba(2,34,44,.28);
}

.title-line--outline {
  padding-left: .12em;
  color: transparent;
  -webkit-text-stroke: 3px var(--water-light);
  text-shadow: 10px 8px 0 rgba(22,70,216,.66);
}

.title-dot { color: var(--lime); -webkit-text-stroke: 0; }

.hero-copy__lede {
  margin: clamp(24px, 3.2vh, 36px) 0 0;
  color: rgba(255,249,233,.74);
  font-family: Arial, sans-serif;
  font-size: clamp(15px, 1.15vw, 21px);
  line-height: 1.45;
}

.hero-copy__lede strong { color: var(--paper); font-weight: 800; }

.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 24px; }

.primary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  height: 58px;
  padding: 0 13px 0 23px;
  cursor: pointer;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--cream);
  box-shadow: 7px 7px 0 var(--lime);
  font-size: 14px;
  letter-spacing: .08em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button__arrow {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  color: var(--paper);
  border-radius: 50%;
  background: var(--blue);
  font-family: Arial, sans-serif;
  font-size: 22px;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translate(3px, 3px) rotate(-1deg);
  box-shadow: 3px 3px 0 var(--lime);
  outline: none;
}

.micro-note {
  display: grid;
  gap: 3px;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,.26);
}

.micro-note span {
  color: rgba(255,249,233,.5);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.micro-note strong { color: var(--water-light); font-size: 15px; letter-spacing: .08em; }

.character-zone {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  width: min(43vw, 730px);
  aspect-ratio: 1;
  cursor: pointer;
  outline: none;
  transform: translate(calc(var(--pointer-x) * 9px), calc(var(--pointer-y) * 7px));
  transition: transform 300ms cubic-bezier(.2,.8,.2,1);
}

.character-zone:focus-visible .character-card { box-shadow: 0 0 0 6px var(--lime), 22px 26px 0 rgba(4,43,56,.52); }

.character-card {
  position: absolute;
  inset: 8% 8% 10%;
  overflow: hidden;
  border: clamp(7px, .7vw, 12px) solid var(--cream);
  border-radius: 48% 48% 42% 42% / 52% 52% 39% 39%;
  background: var(--cream);
  box-shadow: 22px 26px 0 rgba(4,43,56,.52), 0 0 0 2px rgba(4,43,56,.7);
  animation: float 4.8s ease-in-out infinite;
  transform: rotate(-1.3deg);
}

.character-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(.98) contrast(1.02);
  transition: transform 450ms cubic-bezier(.2,.9,.2,1), filter 300ms ease;
}

.character-zone:hover .character-card img { transform: scale(1.12); filter: saturate(1.12) contrast(1.04); }

.character-card__shine {
  position: absolute;
  z-index: 4;
  top: 25%;
  left: 14%;
  width: 70%;
  height: 14%;
  opacity: .42;
  background: linear-gradient(105deg, transparent 22%, rgba(255,255,255,.9) 42%, transparent 57%);
  mix-blend-mode: screen;
  transform: translateX(-130%) rotate(-4deg);
  animation: goggle-shine 4.7s ease-in-out infinite;
  pointer-events: none;
}

.waterline {
  position: absolute;
  z-index: 5;
  right: -4%;
  bottom: -1%;
  left: -4%;
  height: 22%;
  opacity: .84;
  background: linear-gradient(180deg, rgba(88,217,208,.25), rgba(22,70,216,.82));
  border-top: 5px solid rgba(201,255,240,.86);
  transform-origin: bottom;
  animation: water-sway 3s ease-in-out infinite;
}

.waterline span {
  position: absolute;
  top: -14px;
  width: 24%;
  height: 30px;
  border-radius: 50%;
  border-top: 5px solid rgba(201,255,240,.95);
}

.waterline span:nth-child(1) { left: -4%; transform: rotate(7deg); }
.waterline span:nth-child(2) { left: 18%; transform: rotate(-6deg); }
.waterline span:nth-child(3) { left: 40%; transform: rotate(5deg); }
.waterline span:nth-child(4) { left: 62%; transform: rotate(-7deg); }
.waterline span:nth-child(5) { left: 84%; transform: rotate(4deg); }

.orbit {
  position: absolute;
  inset: 2%;
  border: 2px dashed rgba(201,255,240,.4);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 22px rgba(168,255,62,.8);
}

.orbit::before { top: 6%; left: 23%; }
.orbit::after { right: 8%; bottom: 19%; width: 9px; height: 9px; background: var(--water-light); }

.orbit--two { inset: 0 22% 0 21%; transform: rotate(65deg); animation-duration: 18s; animation-direction: reverse; opacity: .46; }

.character-sticker {
  position: absolute;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 6px 7px 0 rgba(4,43,56,.7);
  font-size: 17px;
  line-height: .85;
  text-align: center;
}

.character-sticker--left { left: 1%; bottom: 14%; transform: rotate(-12deg); }

.character-sticker--right {
  top: 14%;
  right: -1%;
  width: 112px;
  height: 78px;
  color: var(--paper);
  border-radius: 7px;
  background: var(--blue);
  transform: rotate(9deg);
  font-size: 15px;
}

.tap-hint {
  position: absolute;
  right: 0;
  bottom: 1%;
  left: 0;
  margin: 0;
  color: var(--water-light);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
  text-align: center;
  text-transform: uppercase;
  animation: blink 1.7s ease-in-out infinite;
}

.lore-card {
  position: relative;
  align-self: end;
  display: grid;
  grid-template-columns: 104px minmax(190px, 1.05fr) minmax(290px, 1fr);
  gap: clamp(14px, 1.5vw, 28px);
  align-items: center;
  min-height: 150px;
  padding: clamp(16px, 2vh, 24px);
  color: var(--ink);
  border: 2px solid rgba(4,43,56,.75);
  border-radius: 5px;
  background: rgba(246,235,207,.95);
  box-shadow: 10px 11px 0 rgba(22,70,216,.56);
  transform: rotate(.25deg);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.lore-card::after {
  content: "CLASSIFIED: VERY CHILL";
  position: absolute;
  top: 10px;
  right: 14px;
  color: rgba(4,43,56,.34);
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.lore-card.is-highlighted {
  animation: lore-flash 1.2s ease;
  transform: rotate(-.5deg) scale(1.012);
}

.lore-card__heading { display: grid; border-right: 2px solid rgba(4,43,56,.2); }
.lore-card__heading span { font-family: Arial, sans-serif; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.lore-card__heading strong { color: var(--blue); font-size: 46px; line-height: .95; }

.lore-card > p {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(11px, .77vw, 14px);
  font-weight: 600;
  line-height: 1.45;
}

.lore-card em { color: var(--blue); font-style: normal; font-weight: 900; }

.lore-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lore-facts div { min-width: 0; padding-left: 10px; border-left: 1px solid rgba(4,43,56,.24); }
.lore-facts span { display: block; margin-bottom: 7px; color: rgba(4,43,56,.54); font-family: Arial, sans-serif; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.lore-facts strong { font-size: clamp(11px, .72vw, 14px); line-height: 1.05; }

.ticker {
  z-index: 10;
  overflow: hidden;
  color: var(--ink);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--lime);
  transform: rotate(-.35deg) scale(1.01);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  height: 100%;
  padding-left: 30px;
  animation: ticker 24s linear infinite;
}

.ticker span { font-size: 18px; letter-spacing: .08em; white-space: nowrap; }
.ticker i { color: var(--blue); font-style: normal; }

.copy-toast {
  position: fixed;
  z-index: 50;
  right: 30px;
  bottom: 80px;
  padding: 16px 22px;
  color: var(--paper);
  border: 2px solid var(--paper);
  background: var(--blue);
  box-shadow: 7px 7px 0 var(--lime);
  font-size: 13px;
  letter-spacing: .08em;
  opacity: 0;
  transform: translateY(20px) rotate(3deg);
  transition: opacity 180ms ease, transform 240ms cubic-bezier(.2,.9,.2,1);
  pointer-events: none;
}

.copy-toast.is-visible { opacity: 1; transform: translateY(0) rotate(-1deg); }

.bubble-layer { position: fixed; z-index: 40; inset: 0; overflow: hidden; pointer-events: none; }

.bubble {
  position: absolute;
  display: block;
  border: 1.5px solid rgba(201,255,240,.78);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.75), rgba(88,217,208,.12) 40%, transparent 72%);
  box-shadow: inset -2px -3px 6px rgba(22,70,216,.18);
  animation: bubble-rise 1.6s ease-out forwards;
}

.bubble--burst { animation-duration: 1s; }

.character-zone.is-splashing .character-card { animation: cannonball .9s cubic-bezier(.25,.8,.2,1); }
.character-zone.is-splashing .orbit { animation: spin 1s linear infinite, orbit-pop .9s ease; }
.character-zone.is-splashing .waterline { animation: splashline .9s ease; }

@keyframes float {
  0%,100% { transform: translateY(0) rotate(-1.3deg); }
  50% { transform: translateY(-13px) rotate(1deg); }
}

@keyframes goggle-shine {
  0%, 34% { transform: translateX(-140%) rotate(-4deg); }
  58%,100% { transform: translateX(140%) rotate(-4deg); }
}

@keyframes water-sway {
  0%,100% { transform: rotate(-1deg) scaleY(1); }
  50% { transform: rotate(1.2deg) scaleY(1.08); }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes blink { 50% { opacity: .42; } }

@keyframes breathe { 50% { opacity: .55; transform: scale(1.08); } }

@keyframes ripple {
  0% { opacity: 0; transform: rotate(-7deg) scale(.72); }
  36% { opacity: .8; }
  100% { opacity: 0; transform: rotate(-7deg) scale(1.15); }
}

@keyframes ticker { to { transform: translateX(-50%); } }

@keyframes bubble-rise {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  18% { opacity: .88; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--drift)), calc(-50% - var(--rise))) scale(1.2); }
}

@keyframes cannonball {
  0%,100% { transform: translateY(0) rotate(-1.3deg) scale(1); }
  25% { transform: translateY(18px) rotate(-3deg) scale(.94, 1.04); }
  50% { transform: translateY(-24px) rotate(3deg) scale(1.04, .96); }
  76% { transform: translateY(5px) rotate(-1deg) scale(.98, 1.02); }
}

@keyframes splashline {
  0%,100% { transform: scaleY(1); }
  36% { transform: scaleY(1.8) rotate(3deg); }
  70% { transform: scaleY(.82) rotate(-2deg); }
}

@keyframes orbit-pop { 50% { scale: 1.08; opacity: 1; } }

@keyframes button-pop { 50% { transform: translateY(-2px) scale(1.07) rotate(-2deg); } }

@keyframes lore-flash {
  0%,100% { box-shadow: 10px 11px 0 rgba(22,70,216,.56); }
  45% { box-shadow: 10px 11px 0 var(--lime), 0 0 50px rgba(168,255,62,.6); }
}

@media (max-width: 1220px) {
  .site-shell { min-height: 760px; }
  .hero { grid-template-columns: minmax(390px, .95fr) minmax(460px, 1.05fr); column-gap: 20px; padding-inline: 40px; }
  .character-zone { width: min(47vw, 610px); }
  .lore-card { grid-template-columns: 86px 1fr; }
  .lore-facts { display: none; }
  .brand__status { display: none; }
  .social-link span:not(.social-link__icon) { display: none; }
  .social-link { width: 45px; padding: 0; }
}

@media (max-width: 860px) {
  body { overflow: auto; }
  .site-shell { display: block; height: auto; min-height: 100svh; overflow: hidden; }
  .topbar { position: relative; height: auto; padding: 14px 18px; }
  .brand__name { font-size: 18px; }
  .socials { gap: 6px; }
  .social-link { display: none; }
  .ca-button { height: 42px; min-width: 116px; padding-inline: 13px; font-size: 10px; }
  .hero { display: flex; flex-direction: column; gap: 24px; padding: 54px 22px 40px; }
  .hero-copy { align-self: stretch; padding: 0; }
  h1 { font-size: clamp(82px, 25vw, 132px); }
  .title-line--outline { -webkit-text-stroke-width: 2px; }
  .hero-copy__lede { font-size: 16px; }
  .micro-note { display: none; }
  .character-zone { order: 2; width: min(94vw, 620px); }
  .lore-card { order: 3; grid-template-columns: 78px 1fr; min-height: 0; padding: 20px; }
  .character-sticker { width: 84px; height: 84px; font-size: 14px; }
  .character-sticker--right { width: 92px; height: 64px; font-size: 12px; }
  .ticker { height: 54px; }
  .scene__wash { background: linear-gradient(180deg, rgba(3,43,56,.8), rgba(3,43,56,.56) 55%, rgba(3,43,56,.9)); }
  .scene__grid { mask-image: linear-gradient(#000, transparent 75%); }
}

@media (max-width: 520px) {
  .brand__avatar { width: 40px; height: 40px; }
  .brand__name { font-size: 16px; }
  .ca-button svg { display: none; }
  .hero { padding-top: 42px; }
  .eyebrow { gap: 8px; font-size: 8px; }
  .eyebrow b { width: 18px; }
  h1 { font-size: clamp(70px, 27vw, 112px); }
  .hero-actions { align-items: stretch; }
  .primary-button { width: 100%; justify-content: space-between; }
  .lore-card { display: block; transform: none; }
  .lore-card__heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 12px; border: 0; }
  .lore-card__heading strong { font-size: 38px; }
  .lore-card::after { display: none; }
  .character-sticker--right { right: 1%; }
  .copy-toast { right: 18px; bottom: 74px; left: 18px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
