/* hallmark: v2.0.0 · theme: sticker (adapted to the Appdee brand, by request: option B) · genre: playful · deal: manual · shape: Stage hero, band, sticker row, contact · signature: Dee as a die-cut sticker that hops in, blinks and hops again when tapped */
/* critique: one idea per screen; the brand sun is the whole surface, navy is the ink, coral is the one action; stickers carry the depth with hard offset shadows, never blur */
/* waive 46a: none needed (no metrics, quotes or logos) · waive 54: none (no eyebrows, no tracked labels) */

@font-face {
  font-family: "Baloo 2";
  src: url("/fonts/baloo2.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --color-sun: #FFD447;
  --color-sun-deep: #E0A92A;
  --color-ink: #1B2A4A;
  --color-ink-soft: #DDE3EE;
  --color-coral: #FF5A4E;
  --color-mint: #3DCB98;
  --color-cream: #FFF8EC;
  --color-white: #FFFFFF;
  --color-focus: #FF5A4E;
  --font-display: "Baloo 2", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Baloo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 5vw, 64px);
  --radius: 28px;
  --shadow: 8px 8px 0 var(--color-ink);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--color-sun);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

:focus-visible { outline: 4px solid var(--color-focus); outline-offset: 4px; border-radius: 12px; transition: none; }

/* ------------------------------------------------------------ nav */
.nav { background: var(--color-ink); color: var(--color-white); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { display: block; }
.brand .mini-dee { width: 44px; height: 47px; }
.brand .word { width: 140px; height: 51px; }
.brandword { display: flex; flex-direction: column; align-items: flex-end; }
.brand .studio { font-family: var(--font-display); font-weight: 800; font-size: 12px; line-height: 1; letter-spacing: .4em; margin: -4px -.4em 0 0; color: var(--color-white); opacity: .92; }
.nav ul { display: flex; gap: clamp(14px, 3vw, 30px); list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: 17px; }
.nav ul a { text-decoration: none; display: inline-block; padding: 6px 2px; transition: transform .2s var(--ease-pop); }
.nav ul a:hover { transform: translateY(-2px); }

/* ------------------------------------------------------------ hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 32px; padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(60px, 9vw, 112px); line-height: .88; letter-spacing: -0.02em;
  margin: 0 0 24px; overflow-wrap: break-word; min-width: 0;
}
.hero h1 span { display: block; }
.lead { font-size: clamp(19px, 2vw, 23px); font-weight: 600; max-width: 30ch; margin: 0 0 34px; }

.btn {
  display: inline-block; text-decoration: none;
  background: var(--color-coral); color: var(--color-white);
  font-family: var(--font-display); font-weight: 800; font-size: 23px; line-height: 1;
  padding: 18px 32px 16px; border-radius: 999px; border: 4px solid var(--color-ink);
  box-shadow: 6px 6px 0 var(--color-ink);
  transition: transform .18s var(--ease-pop), box-shadow .18s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--color-ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 1px 1px 0 var(--color-ink); }

/* the sticker pile */
.pile { position: relative; aspect-ratio: 1 / .92; width: 100%; max-width: 560px; justify-self: center; }
.st {
  position: absolute; background: var(--color-white);
  border: 7px solid var(--color-white); border-radius: var(--radius);
  outline: 3px solid var(--color-ink); box-shadow: var(--shadow);
  font-family: var(--font-display); font-weight: 800; line-height: 1;
}
/* Dee's sticker is one vector drawing (edge, shadow and Dee together), so it stays sharp at any size */
.st-dee { position: absolute; left: 12%; top: 3%; width: 70%; aspect-ratio: 1; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; color: inherit; }
.st-dee svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dee-ink { fill: var(--color-ink); }
.dee-ring { fill: var(--color-white); }
.dee-paper { fill: var(--color-cream); }
.st-hi { left: 2%; top: 0; padding: 14px 20px 10px; font-size: clamp(22px, 2.4vw, 28px); background: var(--color-coral); color: var(--color-white); rotate: 8deg; }
.st-love { right: 0; top: 64%; padding: 16px 24px 12px; font-size: clamp(22px, 2.6vw, 30px); background: var(--color-mint); rotate: -6deg; }

/* ------------------------------------------------------------ about band */
.band { background: var(--color-ink); color: var(--color-white); }
.band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 6vw, 68px); line-height: 1; margin: 0; overflow-wrap: break-word; min-width: 0; }
.band p { margin: 0; font-size: clamp(19px, 1.9vw, 22px); line-height: 1.6; color: var(--color-ink-soft); }

/* ------------------------------------------------------------ what we make (sticker row) */
.row .wrap { display: flex; flex-wrap: wrap; gap: 26px; padding-top: clamp(56px, 7vw, 80px); padding-bottom: 24px; }
.row .st { position: relative; padding: 18px 28px 14px; font-size: clamp(24px, 3vw, 32px); transition: rotate .25s var(--ease-pop), transform .25s var(--ease-pop); }
.row .st:nth-child(1) { rotate: -3deg; }
.row .st:nth-child(2) { rotate: 2deg; background: var(--color-mint); }
.row .st:nth-child(3) { rotate: -1.5deg; background: var(--color-coral); color: var(--color-white); }
.row .st:hover { rotate: 0deg; transform: scale(1.06); }

/* ------------------------------------------------------------ contact */
.hello .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; padding-top: 40px; padding-bottom: clamp(64px, 8vw, 96px); }
.hello .mail { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.6vw, 48px); text-decoration: none; overflow-wrap: anywhere; }
.hello .mail:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }

/* ------------------------------------------------------------ footer */
.foot { background: var(--color-ink); color: var(--color-white); font-weight: 700; font-size: 16px; }
.foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 36px; padding-bottom: 36px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ------------------------------------------------------------ motion */
/* Dee: hop in once, blink now and then, hop again on tap */
@keyframes dee-in {
  0% { transform: translateY(-60%) scale(.9); opacity: 0; }
  35% { opacity: 1; }
  55% { transform: translateY(0) scale(1.14, .84); }
  72% { transform: translateY(-12%) scale(.95, 1.06); }
  88% { transform: translateY(0) scale(1.04, .96); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes dee-hop {
  0% { transform: translateY(0) scale(1); }
  18% { transform: translateY(0) scale(1.1, .88); }
  50% { transform: translateY(-18%) scale(.94, 1.07); }
  80% { transform: translateY(0) scale(1.08, .92); }
  100% { transform: translateY(0) scale(1); }
}
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes pop {
  0% { transform: scale(.3); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes wobble { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-6deg); } }

.dee-body { transform-box: fill-box; transform-origin: 50% 100%; animation: dee-in .9s var(--ease-pop) .35s backwards; }
.st-dee.hop .dee-body { animation: dee-hop .6s var(--ease-pop); }
.dee-eye { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 4.2s 1.6s infinite; }

.dee-sticker { transform-box: fill-box; transform-origin: 50% 50%; animation: pop .5s var(--ease-pop) .1s backwards; }
.st-hi { animation: pop .45s var(--ease-pop) .9s backwards; }
.st-hi span { display: inline-block; animation: wobble 2.4s ease-in-out 1.6s infinite; }
.st-love { animation: pop .45s var(--ease-pop) 1.1s backwards; }

/* the page's one reveal: sections lift in as they scroll into view (only when scripting is on) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s var(--ease-pop); }
.js .reveal.in { opacity: 1; transform: none; }
.js .row .reveal:not(.in) .st { opacity: 0; }
.js .row .reveal.in .st { animation: pop .45s var(--ease-pop) backwards; }
.js .row .reveal.in .st:nth-child(2) { animation-delay: .12s; }
.js .row .reveal.in .st:nth-child(3) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .row .reveal .st { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ small screens */
@media (max-width: 760px) {
  .nav .wrap { min-height: 72px; }
  .brand .word { width: 110px; height: 40px; }
  .brand .studio { font-size: 10px; }
  .brand .mini-dee { width: 36px; height: 38px; }
  .nav ul { font-size: 16px; }
  .nav .hide-sm { display: none; }
  .hero .wrap, .band .wrap { grid-template-columns: minmax(0, 1fr); }
  .pile { max-width: 380px; }
  .btn { font-size: 21px; }
}

/* ------------------------------------------------------------ the secret game teaser */
.soon { background: var(--color-ink); color: var(--color-white); }
.soon .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: center; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.soon h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5vw, 56px); line-height: 1; margin: 0 0 14px; overflow-wrap: break-word; min-width: 0; }
.soon p { margin: 0 0 26px; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.6; color: var(--color-ink-soft); max-width: 46ch; }
.peek { position: relative; width: clamp(170px, 22vw, 230px); aspect-ratio: 1; border-radius: 50%; background: #111D36; display: grid; place-items: center; rotate: -6deg; }
.peek svg { display: block; width: 100%; height: 100%; }
.peek .q {
  position: absolute; right: -10%; top: -8%; rotate: 10deg;
  background: var(--color-coral); color: var(--color-white);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.4vw, 40px); line-height: 1;
  padding: 12px 18px 9px; border-radius: 18px; border: 5px solid var(--color-white);
  outline: 3px solid var(--color-ink); box-shadow: 6px 6px 0 rgba(0, 0, 0, .35);
  animation: wobble 2.6s ease-in-out 1.2s infinite;
}
.meter {
  width: min(420px, 100%); height: 34px; border-radius: 999px;
  background: var(--color-cream); border: 4px solid var(--color-white);
  outline: 3px solid var(--color-ink); box-shadow: 6px 6px 0 rgba(0, 0, 0, .35);
  overflow: clip;
}
.meter i {
  display: block; height: 100%; width: 100%; border-radius: 999px 6px 6px 999px;
  background: repeating-linear-gradient(-55deg, var(--color-mint) 0 14px, var(--color-sun) 14px 28px);
  transform: scaleX(var(--p, .7)); transform-origin: left center;
  transition: transform 1.1s var(--ease-pop) .3s;
}
.js .reveal:not(.in) .meter i { transform: scaleX(0); }
.meter-label { margin-top: 12px !important; margin-bottom: 0 !important; font-weight: 700; color: var(--color-sun); font-size: 17px !important; }
@media (max-width: 760px) {
  .soon .wrap { grid-template-columns: minmax(0, 1fr); }
  .peek { margin: 0 auto; }
}
