:root {
  --ink: #173f35;
  --paper: #fbfaf6;
  --white: #ffffff;
  --purple: #173f35;
  --deep-purple: #10352d;
  --coral: #d86d51;
  --yellow: #d9e7ab;
  --aqua: #a9c7b5;
  --blue: #cfe1de;
  --muted: #68756f;
  --line: rgba(23, 63, 53, .13);
  --shadow: 0 24px 70px rgba(23, 63, 53, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input { font: inherit; }
button { color: inherit; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.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;
}

.page-shell { position: relative; z-index: 2; }
.site-header, .hero, .clues, footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font: 400 42px/.85 "Cookie", cursive;
  letter-spacing: .2px;
  text-decoration: none;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  color: #5d6c66;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(12px);
}
.status > span {
  width: 8px;
  height: 8px;
  background: #3d8b62;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(61,139,98,.13);
  animation: pulse 2s infinite;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 60px;
  min-height: calc(100svh - 96px);
  padding: 70px 0 110px;
}
.hero-copy { max-width: 650px; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.eyebrow span {
  display: inline-block;
  padding: 8px 13px;
  background: #f1e4dc;
  border-radius: 8px;
  transform: rotate(-1.5deg);
  animation: label-float 4s ease-in-out infinite;
}
h1, h2 { font-family: "Manrope", sans-serif; letter-spacing: -3px; }
h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(54px, 6.15vw, 92px);
  line-height: .98;
}
h1 em {
  position: relative;
  display: inline-block;
  color: var(--coral);
  font-style: normal;
}
h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 11px;
  background: var(--yellow);
  border-radius: 50%;
  transform: rotate(-1deg);
  transform-origin: left center;
  animation: underline-breathe 3.6s ease-in-out infinite;
  z-index: -1;
}
.intro {
  max-width: 570px;
  margin: 30px 0 32px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}
.notify-form {
  display: flex;
  gap: 10px;
  max-width: 600px;
  padding: 7px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 46px rgba(23, 63, 53, .11);
  animation: form-breathe 5s ease-in-out infinite;
}
.input-wrap {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
}
.input-wrap > span { color: var(--coral); }
.notify-form input {
  width: 100%;
  padding: 14px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}
.notify-form input::placeholder { color: #97a09b; }
.notify-form button {
  position: relative;
  overflow: hidden;
  padding: 15px 20px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.notify-form button::after {
  content: "";
  position: absolute;
  inset: -70% auto -70% -45%;
  width: 28%;
  background: rgba(255,255,255,.24);
  transform: rotate(18deg);
  animation: button-shine 4.8s ease-in-out infinite;
}
.notify-form button:hover { background: var(--deep-purple); transform: translateY(-2px); }
.notify-form button:focus-visible, .clue-card:focus-visible { outline: 4px solid rgba(216,109,81,.3); outline-offset: 3px; }
.form-note { margin: 12px 0 0 10px; color: #7a8781; font-size: 12px; }
.form-note.success { color: #3d8b62; font-weight: 700; }
.domain-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
}
.domain-note strong { color: var(--ink); }
.domain-dot {
  width: 22px;
  height: 22px;
  background: var(--aqua);
  border: 5px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  animation: soft-bob 2.8s ease-in-out infinite;
}

.hero-art {
  position: relative;
  min-height: 580px;
  isolation: isolate;
  --parallax-x: 0px;
  --parallax-y: 0px;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform .2s ease-out;
}
.hero-art::before {
  content: "";
  position: absolute;
  top: 7%;
  right: 0;
  width: 92%;
  aspect-ratio: 1;
  background: var(--purple);
  border-radius: 52% 48% 58% 42% / 45% 58% 42% 55%;
  transform: rotate(6deg);
  box-shadow: var(--shadow);
  animation: blob 9s ease-in-out infinite;
  z-index: -2;
}
.hero-art::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: 30%;
  height: 24%;
  background: var(--aqua);
  border-radius: 50%;
  transform: rotate(-18deg);
  animation: satellite-breathe 5.5s ease-in-out infinite;
  z-index: -3;
}
.mystery-card {
  position: absolute;
  top: 16%;
  left: 16%;
  width: 68%;
  padding: 26px 25px 32px;
  text-align: center;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 120px 120px 36px 36px;
  box-shadow: 0 26px 70px rgba(16,53,45,.28);
  transform: rotate(-3deg);
  backdrop-filter: blur(10px);
  animation: hover 5s ease-in-out infinite;
}
.card-label {
  display: inline-block;
  color: #77837d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sun-face {
  position: relative;
  width: 122px;
  height: 122px;
  margin: 19px auto;
  background: var(--yellow);
  border-radius: 46% 54% 49% 51%;
  box-shadow: 0 0 0 12px rgba(255,216,77,.22);
  transform: rotate(3deg);
  animation: sun-breathe 4s ease-in-out infinite;
}
.sun-face span {
  position: absolute;
  top: 47px;
  left: 34px;
  width: 9px;
  height: 12px;
  background: var(--ink);
  border-radius: 50%;
  animation: blink 4.7s ease-in-out infinite;
}
.sun-face span:nth-child(2) { left: auto; right: 34px; }
.sun-face i {
  position: absolute;
  bottom: 32px;
  left: 49px;
  width: 25px;
  height: 13px;
  border-bottom: 4px solid var(--ink);
  border-radius: 50%;
  animation: smile 3.8s ease-in-out infinite;
}
.mystery-card p { margin: 5px 0 0; color: #53635d; font-size: 17px; line-height: 1.45; }
.mystery-card strong { color: var(--ink); font-size: 22px; }
.nest {
  position: absolute;
  right: 12%;
  bottom: 10%;
  width: 190px;
  height: 70px;
  background: var(--coral);
  border-radius: 20% 20% 50% 50%;
  transform: rotate(-4deg);
  box-shadow: 0 18px 28px rgba(16,53,45,.22);
  animation: nest-sway 5s ease-in-out infinite;
}
.nest i {
  position: absolute;
  top: -8px;
  left: 5px;
  width: 180px;
  height: 24px;
  border-top: 5px solid var(--ink);
  border-radius: 50%;
  transform: rotate(4deg);
}
.nest i:nth-child(2) { top: 8px; transform: rotate(-3deg); opacity: .7; }
.nest i:nth-child(3) { top: 23px; transform: rotate(7deg); opacity: .5; }
.float-tag {
  position: absolute;
  padding: 9px 13px;
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 4px 5px 0 var(--ink);
}
.tag-one { top: 19%; right: -1%; transform: rotate(8deg); animation: tag-one-float 3.4s ease-in-out infinite; }
.tag-two { bottom: 24%; left: 3%; background: var(--aqua); transform: rotate(-8deg); animation: tag-two-float 4.2s ease-in-out infinite; }
.spark { position: absolute; color: var(--yellow); font-size: 40px; animation: twinkle 2.5s ease-in-out infinite; }
.spark-one { top: 5%; left: 6%; }
.spark-two { right: 3%; bottom: 8%; color: var(--coral); font-size: 28px; animation-delay: .7s; }
.mini-orb { position: absolute; border-radius: 50%; }
.orb-one { top: 3%; right: 16%; width: 24px; height: 24px; background: var(--coral); animation: orb-drift-one 4.5s ease-in-out infinite; }
.orb-two { bottom: 6%; left: 20%; width: 17px; height: 17px; background: var(--yellow); animation: orb-drift-two 3.8s ease-in-out infinite; }
.orbit {
  position: absolute;
  top: 10%;
  right: 2%;
  width: 90%;
  height: 76%;
  border: 2px dashed rgba(255,255,255,.32);
  border-radius: 50%;
  transform: rotate(-16deg);
  animation: orbit-turn 24s linear infinite;
  z-index: -1;
}
.orbit-dot {
  position: absolute;
  top: 9%;
  left: 9%;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border-radius: 50%;
}

.clues {
  padding: 100px 0 115px;
  border-top: 1px solid var(--line);
}
.clues-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}
.clues-heading .eyebrow { margin-bottom: 14px; }
.clues-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 64px); line-height: 1; }
.clues-heading > p { max-width: 330px; margin: 0 0 4px; color: var(--muted); line-height: 1.6; }
.clue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.clue-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 27px;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 0;
  border-radius: 26px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.clue-card:hover { transform: translateY(-7px) rotate(-.4deg); box-shadow: 0 20px 42px rgba(23,63,53,.16); }
.clue-coral { color: var(--white); background: var(--coral); }
.clue-yellow { background: var(--yellow); }
.clue-purple { color: var(--white); background: var(--purple); }
.clue-number { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; opacity: .65; }
.clue-icon { margin: 30px 0 32px; font-size: 48px; font-weight: 400; line-height: 1; }
.clue-card:hover .clue-icon { animation: clue-icon-dance .8s ease-in-out; }
.clue-question { max-width: 250px; font: 800 25px/1.2 "Manrope", sans-serif; letter-spacing: -1px; }
.clue-answer {
  position: absolute;
  top: 96px;
  right: 27px;
  left: 27px;
  font: 700 23px/1.35 "Manrope", sans-serif;
  letter-spacing: -1px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .25s, transform .25s;
}
.clue-action {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(25,22,50,.16);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.clue-coral .clue-action, .clue-purple .clue-action { border-color: rgba(255,255,255,.25); }
.clue-action b { font-size: 25px; line-height: 1; transition: transform .25s; }
.opened { display: none; }
.clue-card[aria-expanded="true"] .clue-icon,
.clue-card[aria-expanded="true"] .clue-question { opacity: 0; }
.clue-card[aria-expanded="true"] .clue-answer { opacity: 1; transform: translateY(0); }
.clue-card[aria-expanded="true"] .closed { display: none; }
.clue-card[aria-expanded="true"] .opened { display: inline; }
.clue-card[aria-expanded="true"] .clue-action b { transform: rotate(45deg); }
.motion-ready .clue-card {
  opacity: 0;
  transform: translateY(34px) scale(.97);
}
.motion-ready .clue-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.motion-ready .clue-card.is-visible:nth-child(2) { transition-delay: .12s; }
.motion-ready .clue-card.is-visible:nth-child(3) { transition-delay: .24s; }
.motion-ready .clue-card.is-visible:hover { transform: translateY(-7px) rotate(-.4deg); }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 35px 0 45px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.brand-small { font-size: 32px; }

.background-shape { position: fixed; z-index: 0; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.shape-coral { top: 28%; left: -100px; width: 170px; height: 170px; background: rgba(216,109,81,.14); animation: background-drift-one 12s ease-in-out infinite; }
.shape-blue { right: -100px; bottom: 16%; width: 220px; height: 220px; background: rgba(169,199,181,.2); animation: background-drift-two 15s ease-in-out infinite; }

@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61,139,98,0); } }
@keyframes blob { 0%,100% { border-radius: 52% 48% 58% 42% / 45% 58% 42% 55%; } 50% { border-radius: 43% 57% 44% 56% / 54% 45% 55% 46%; transform: rotate(2deg) scale(1.02); } }
@keyframes hover { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes twinkle { 0%,100% { opacity: .4; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(18deg); } }
@keyframes label-float { 0%,100% { translate: 0 0; rotate: -1.5deg; } 50% { translate: 0 -4px; rotate: .8deg; } }
@keyframes underline-breathe { 0%,100% { scale: .92 1; opacity: .72; } 50% { scale: 1.05 1.12; opacity: 1; } }
@keyframes form-breathe { 0%,100% { box-shadow: 0 16px 46px rgba(23,63,53,.11); } 50% { box-shadow: 0 22px 58px rgba(23,63,53,.18); } }
@keyframes button-shine { 0%,60% { left: -45%; } 82%,100% { left: 125%; } }
@keyframes soft-bob { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.08); } }
@keyframes satellite-breathe { 0%,100% { transform: rotate(-18deg) scale(1); } 50% { transform: rotate(-10deg) scale(1.12); } }
@keyframes sun-breathe { 0%,100% { transform: rotate(3deg) scale(1); border-radius: 46% 54% 49% 51%; } 50% { transform: rotate(-3deg) scale(1.06); border-radius: 54% 46% 53% 47%; } }
@keyframes blink { 0%,43%,47%,100% { transform: scaleY(1); } 45% { transform: scaleY(.08); } }
@keyframes smile { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(1.15) translateY(2px); } }
@keyframes nest-sway { 0%,100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-7px); } }
@keyframes tag-one-float { 0%,100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-11px); } }
@keyframes tag-two-float { 0%,100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(9px); } }
@keyframes orb-drift-one { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-14px,10px) scale(.78); } }
@keyframes orb-drift-two { 0%,100% { transform: translate(0,0); } 50% { transform: translate(11px,-14px); } }
@keyframes orbit-turn { to { transform: rotate(344deg); } }
@keyframes clue-icon-dance { 0%,100% { transform: rotate(0) scale(1); } 35% { transform: rotate(-10deg) scale(1.12); } 70% { transform: rotate(8deg) scale(.98); } }
@keyframes background-drift-one { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(55px,-30px) scale(1.18); } }
@keyframes background-drift-two { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,35px) scale(.86); } }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 55px; }
  .hero-copy { max-width: 720px; }
  .hero-art { width: min(620px, 100%); min-height: 590px; margin: 0 auto; }
  .clue-grid { grid-template-columns: 1fr 1fr; }
  .clue-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-header, .hero, .clues, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 78px; }
  .status { padding: 9px 11px; font-size: 11px; }
  .brand { font-size: 35px; }
  .hero { min-height: auto; padding: 50px 0 80px; }
  h1 { font-size: clamp(49px, 15vw, 70px); }
  .intro { margin-top: 24px; font-size: 17px; }
  .notify-form { flex-direction: column; padding: 8px; }
  .input-wrap { min-height: 54px; }
  .notify-form button { width: 100%; }
  .hero-art { min-height: 460px; margin-top: 25px; }
  .mystery-card { top: 17%; left: 13%; width: 73%; padding-top: 22px; }
  .sun-face { width: 100px; height: 100px; }
  .sun-face span { top: 38px; left: 27px; }
  .sun-face span:nth-child(2) { right: 27px; }
  .sun-face i { bottom: 25px; left: 39px; width: 23px; }
  .nest { right: 7%; width: 150px; height: 55px; }
  .nest i { width: 140px; }
  .tag-one { right: 0; }
  .clues { padding: 78px 0; }
  .clues-heading { display: block; }
  .clues-heading > p { margin-top: 20px; }
  .clue-grid { grid-template-columns: 1fr; }
  .clue-card:last-child { grid-column: auto; }
  .clue-card { min-height: 300px; }
  footer { flex-direction: column; align-items: flex-start; }
  footer p { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-art { transform: none !important; }
  .motion-ready .clue-card { opacity: 1; transform: none; }
}
