:root {
  color-scheme: light; --ink: #202431; --blue: #72d7f2; --mint: #bff4d2;
  --cream: #fff8dd; --coral: #ff8b6b; --gold: #ffd75d;
  --shadow: rgba(32, 36, 49, 0.18);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100dvh; margin: 0; display: flex; flex-direction: column;
  overflow-x: hidden; color: var(--ink);
  font-family: ui-rounded, "Avenir Next", Avenir, system-ui, sans-serif;
  background: linear-gradient(180deg, #9fe9ff 0%, #e8fbff 42%, var(--cream) 70%, #ffe6ec 100%);
  animation: sky-shift 14s ease-in-out infinite alternate;
}

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.38) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.38) 2px, transparent 2px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black 0%, transparent 72%);
}

.sky-clouds {
  position: fixed; inset: 70px 0 auto; height: min(42vh, 330px);
  overflow: hidden; pointer-events: none; z-index: 0;
}

.cloud {
  --size: 1; position: absolute; left: var(--left); top: var(--top);
  width: calc(112px * var(--size)); height: calc(48px * var(--size));
  background: linear-gradient(180deg, #ffffff 0%, #eefbff 100%); opacity: 0.72;
  clip-path: polygon(0 56%, 14% 56%, 14% 38%, 27% 38%, 27% 18%, 48% 18%, 48% 0, 66% 0, 66% 24%, 82% 24%, 82% 44%, 100% 44%, 100% 84%, 88% 84%, 88% 100%, 7% 100%, 7% 84%, 0 84%);
  filter: drop-shadow(calc(5px * var(--size)) calc(5px * var(--size)) 0 rgba(63, 119, 158, 0.16));
  animation: cloud-drift var(--speed) ease-in-out infinite alternate;
}

.cloud-one { --left: 4vw; --top: 12%; --size: 0.76; --speed: 46s; animation-delay: -24s; }
.cloud-two { --left: 42vw; --top: 44%; --size: 1.08; --speed: 58s; animation-delay: -42s; opacity: 0.62; }
.cloud-three { --left: 74vw; --top: 68%; --size: 0.58; --speed: 52s; animation-delay: -12s; opacity: 0.55; }

.site-header, .site-footer { position: relative; z-index: 1; padding: 20px; }
.wordmark {
  width: max-content; margin: 0 auto; font-weight: 900;
  font-size: clamp(2rem, 8vw, 3.6rem); line-height: 1; letter-spacing: 0.04em;
  display: inline-flex; align-items: baseline;
}
.wm-letter {
  display: inline-block;
  color: var(--gold);
  -webkit-text-stroke: 4px var(--ink);
  text-shadow: 0 6px 0 var(--ink), 0 8px 0 var(--shadow);
  transform-origin: bottom center;
  animation: wm-bounce 2.4s ease-in-out infinite;
}
.wm-letter:nth-child(2) { animation-delay: 0.08s; color: var(--coral); }
.wm-letter:nth-child(3) { animation-delay: 0.16s; color: var(--mint); }
.wm-letter:nth-child(4) { animation-delay: 0.24s; color: var(--blue); }
.wm-letter:nth-child(5) { animation-delay: 0.32s; color: var(--gold); }
.wm-letter:nth-child(6) { animation-delay: 0.4s; color: var(--coral); }
.wm-letter:nth-child(8) { animation-delay: 0.56s; color: var(--mint); }
.wm-letter:nth-child(9) { animation-delay: 0.64s; color: var(--blue); }
.wm-space { display: inline-block; width: 0.4em; }
.hero {
  position: relative; z-index: 1; width: min(100%, 720px); margin: auto;
  padding: 34px 22px 48px; text-align: center;
}

.site-art {
  position: relative; width: 150px; height: 104px; margin: 0 auto 26px;
  animation: float 4s ease-in-out infinite;
}

.sign {
  position: absolute; left: 20px; top: 12px; width: 110px; height: 56px;
  border: 4px solid var(--ink);
  background: repeating-linear-gradient(135deg, var(--gold) 0 16px, var(--coral) 16px 32px);
  box-shadow: 0 8px 0 var(--shadow);
}

.sign::before, .sign::after {
  content: ""; position: absolute; top: 52px; width: 10px; height: 34px;
  background: var(--ink);
}

.sign::before { left: 18px; }
.sign::after { right: 18px; }
.ice {
  position: absolute; bottom: 0; display: block; border: 4px solid var(--ink);
  background: var(--mint); box-shadow: 0 6px 0 var(--shadow);
}

.ice-one { left: 5px; width: 58px; height: 24px; }
.ice-two { right: 7px; width: 74px; height: 30px; background: var(--blue); }
.eyebrow {
  margin: 0 0 10px; font-weight: 900; text-transform: uppercase; font-size: 0.78rem;
}

h1 { margin: 0; font-size: 3.2rem; line-height: 0.95; }
.subline {
  max-width: 34rem; margin: 18px auto 18px; font-size: 1.08rem; line-height: 1.6;
}

.cta-row {
  display: inline-flex; align-items: flex-end; justify-content: center;
  flex-wrap: wrap; gap: 10px;
}

.beaky-icon {
  width: clamp(96px, 22vw, 132px); height: auto; flex: 0 0 auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 5px 0 rgba(32, 36, 49, 0.18));
}

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 26px; border: 4px solid var(--ink);
  border-radius: 8px; background: var(--gold); color: var(--ink);
  box-shadow: 0 7px 0 var(--ink); font-weight: 900; text-decoration: none;
  animation: cta-bounce 2.8s ease-in-out infinite;
}

.cta:hover, .cta:focus-visible {
  background: #fff07a; outline: 4px solid rgba(114, 215, 242, 0.8); outline-offset: 4px;
}

.cta:active { transform: translateY(5px); box-shadow: 0 2px 0 var(--ink); }
.site-footer {
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center;
  align-items: center; font-size: 0.82rem;
}

.site-footer p { margin: 0; }
.social-links { display: flex; gap: 14px; font-weight: 900; }
.social-links a {
  color: var(--ink); text-decoration: none; padding: 6px 12px;
  border: 3px solid var(--ink); border-radius: 6px; background: var(--blue);
  box-shadow: 0 4px 0 var(--ink); transition: transform 0.1s;
}
.social-links a:hover, .social-links a:focus-visible {
  background: #a3e6f8; outline: none;
}
.social-links a:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
@media (min-width: 720px) {
  .site-header, .site-footer { padding: 28px 42px; }
  h1 { font-size: 5rem; }
  .subline { font-size: 1.18rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}

@keyframes sky-shift { to { background-position: 0 26px; } }
@keyframes cloud-drift { to { transform: translateX(calc(28px * var(--size))); } }
@keyframes float { 50% { transform: translateY(-7px); } }
@keyframes cta-bounce { 50% { transform: translateY(-4px); } }
@keyframes wm-bounce { 50% { transform: translateY(-6px) scale(1.04); } }
