@import url("https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@500;600;700;800&display=swap");

/* Ammati — sunlit, friendly, playful studio
   Playpen Sans for the big writing, Plus Jakarta Sans for the rest. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Nunito Sans", sans-serif;
  color: var(--ink);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input { font-family: inherit; }
a { color: var(--cobalt); }
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

:root {
  --bg-white: #FFFFFF;
  --bg-airy: #FAFBFD;
  --wash-sky: #EEF6FA;
  --wash-peach: #FDF2EE;
  --wash-butter: #FEF9E7;
  --wash-mint: #EFFAF5;
  --ink: #1F2D3A;
  --ink-soft: #425466;
  --ink-muted: #6B7C93;
  --line: rgba(31, 45, 58, 0.08);
  --coral: #FF5A36;
  --sun: #FACC15;
  --cobalt: #2563EB;
  --teal: #2A9D8F;
  --leaf: #16A34A;
  --mint: #7DCEA0;
  --serif: "Playpen Sans", cursive, sans-serif;
  --sans: "Plus Jakarta Sans", "Nunito Sans", sans-serif;
  --shadow: 0 18px 40px rgba(31, 45, 58, 0.08);
  --radius: 22px;
  --black: #1F2D3A;
  --text: #1F2D3A;
  --text-mid: #425466;
  --text-dim: #6B7C93;
  --border: rgba(31, 45, 58, 0.08);
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --purple: #2563EB;
  --yellow: #FACC15;
  --mono: "Plus Jakarta Sans", "Nunito Sans", sans-serif;
  --sg-ink: #1F2D3A;
  --sg-muted: #425466;
  --sg-bg: #FFFFFF;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

h1, h2, h3, .wordmark {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  text-wrap: balance;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  z-index: 80;
}
.skip:focus { top: 0.75rem; }

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.7rem;
}
.wordmark i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 16px 0 0 var(--sun), 8px 12px 0 var(--cobalt);
  display: inline-block;
  margin-right: 1.1rem;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  justify-content: flex-end;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}
.nav a:hover { background: var(--wash-sky); color: var(--ink); }
.nav-toggle {
  display: none;
  border: 0;
  background: var(--wash-sky);
  border-radius: 14px;
  width: 46px;
  height: 46px;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--ink);
}

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(250, 204, 21, 0.22), transparent 60%),
    radial-gradient(800px 380px at 100% 0%, rgba(37, 99, 235, 0.1), transparent 55%),
    var(--bg-white);
  padding: 4.5rem 0 7.5rem;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.hero__grid > *,
.cards-3 > *,
.book-grid > *,
.record-grid > *,
.play-grid > *,
.tool-grid > *,
.story-grid > *,
.drawer-grid > *,
.people > * { min-width: 0; }
.easel, .mondrian, .record, .hello { max-width: 100%; }
.hello {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}
.hello img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 10px 24px rgba(31, 45, 58, 0.16);
}
.hello p {
  margin: 0;
  background: var(--wash-peach);
  color: var(--ink);
  border-radius: 18px;
  padding: 0.7rem 0.95rem;
  font-weight: 600;
  font-size: 0.98rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.55rem);
  margin: 0 0 1rem;
  max-width: 16ch;
}
.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 42rem;
  margin: 0 0 1.6rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn, .btn-ghost, .btn-sun {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  background: var(--cobalt);
}
.btn:hover { filter: brightness(1.05); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(31, 45, 58, 0.12);
}
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-coral { background: var(--coral); }

/* Mondrian toy */
.easel {
  background: #fff;
  border-radius: 28px;
  padding: 1rem 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.mondrian {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  grid-template-rows: 1.1fr 0.7fr 1fr;
  gap: 8px;
  background: var(--ink);
  border-radius: 18px;
  padding: 8px;
  min-height: 320px;
  aspect-ratio: 1 / 0.92;
}
.mondrian span {
  border-radius: 6px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.mondrian span:hover { transform: scale(0.985); }
.palette {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.9rem;
}
.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1.5px rgba(31, 45, 58, 0.15);
  cursor: pointer;
  padding: 0;
}
.swatch.is-on { box-shadow: 0 0 0 3px var(--ink); }
.palette .btn, .palette .btn-ghost { padding: 0.55rem 0.9rem; font-size: 0.9rem; }

/* Wavy joins, so one colour doesn't slam into the next */
.hero,
.page-hero,
.band,
.footer,
.sg-band--hero,
.sg-band--warm,
.sg-band--cool,
.sg-band--mist {
  position: relative;
  isolation: isolate;
}
.hero > :not(.tri-bg),
.page-hero > :not(.tri-bg),
.band > :not(.tri-bg),
.footer > :not(.tri-bg),
.sg-band--hero > :not(.tri-bg),
.sg-band--warm > :not(.tri-bg),
.sg-band--cool > :not(.tri-bg),
.sg-band--mist > :not(.tri-bg) {
  position: relative;
  z-index: 3;
}
.tri-bg {
  display: none;
}
@media (min-width: 901px) {
  .tri-bg {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.78) 6%,
      #000 14%,
      #000 86%,
      rgba(0, 0, 0, 0.78) 94%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.78) 6%,
      #000 14%,
      #000 86%,
      rgba(0, 0, 0, 0.78) 94%,
      transparent 100%
    );
  }
  .hero > .tri-bg,
  .page-hero > .tri-bg,
  .sg-band--hero > .tri-bg {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 84%,
      rgba(0, 0, 0, 0.72) 93%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 84%,
      rgba(0, 0, 0, 0.72) 93%,
      transparent 100%
    );
  }
  .footer > .tri-bg {
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.78) 8%,
      #000 18%,
      #000 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.78) 8%,
      #000 18%,
      #000 100%
    );
  }
  .tri-bg svg {
    display: block;
    width: 100%;
    height: 100%;
  }
  .polaroid-table {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
  }
  .play-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
  }
}
.hero::after,
.band::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 96px;
  bottom: -54px;
  z-index: 2;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
.hero::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23EEF6FA' d='M0,72 C180,18 300,112 500,58 C720,4 880,108 1120,48 C1280,16 1380,84 1440,52 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
}
#studios::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M0,36 C200,104 340,8 540,68 C760,124 920,16 1140,78 C1300,112 1380,36 1440,62 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
}
#stories::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23FDF2EE' d='M0,78 Q260,12 520,74 T1040,48 T1440,66 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
}
#novels::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M0,58 C90,8 170,108 260,58 C350,8 430,108 520,58 C610,8 690,108 780,58 C870,8 950,108 1040,58 C1130,8 1210,108 1300,58 C1350,28 1400,80 1440,58 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
}
#plays::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23FEF9E7' d='M0,28 C240,112 420,14 680,78 C960,142 1140,8 1440,56 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
}
#albums::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23EEF6FA' d='M0,64 C220,12 420,108 660,42 C900,0 1100,112 1340,38 C1390,22 1440,48 1440,48 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
}
#talks::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23FDF2EE' d='M0,40 C240,108 480,12 760,70 C1040,124 1240,20 1440,64 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
}
#work::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23FFFFFF' d='M0,72 C200,16 420,112 680,48 C960,0 1180,108 1440,46 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
}
#software::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23EFFAF5' d='M0,48 C280,114 540,8 800,72 C1060,122 1260,16 1440,58 L1440,120 L0,120 Z'/%3E%3C/svg%3E");
}

/* Sections */
.band { padding: 7.2rem 0 7.6rem; scroll-margin-top: 84px; }
.band--sky { background: var(--wash-sky); }
.band--peach { background: var(--wash-peach); }
.band--butter { background: var(--wash-butter); }
.band--mint { background: var(--wash-mint); }
.band--airy { background: var(--bg-airy); }
.kicker {
  display: inline-block;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.45rem;
}
.band h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 0 0 0.6rem;
}
.band .intro {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 40rem;
  margin: 0 0 2rem;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.studio-card, .tool-card, .story-card, .play-card, .book {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.studio-card { padding: 1rem 1rem 1.15rem; }
.studio-card .mondrian { position: relative; min-height: 0; height: 190px; aspect-ratio: auto; }
.poke {
  position: absolute;
  z-index: 5;
  left: 12px;
  bottom: 12px;
  pointer-events: none;
  font-family: "Playpen Sans", cursive;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  color: var(--teal);
  background: #fff;
  border-radius: 999px;
  padding: 0.42rem 0.7rem 0.46rem;
  box-shadow: 0 8px 16px rgba(31, 45, 58, 0.16);
  animation: pokeWiggle 2.6s ease-in-out infinite;
}
@keyframes pokeWiggle {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-3px); }
}
.studio-card h3 { margin: 0.85rem 0 0.3rem; font-size: 1.55rem; }
.studio-card p { margin: 0 0 0.85rem; color: var(--ink-soft); }
.hint { font-size: 0.88rem; color: var(--ink-muted); margin: 0.45rem 0 0; }

.stage {
  position: relative;
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  background: #fffdf8;
}
.stage--k {
  background: linear-gradient(160deg, #fff 0%, #fff6d8 100%);
  cursor: crosshair;
}
.k-shape {
  position: absolute;
  pointer-events: none;
  animation: floaty 2.8s ease-in-out infinite;
}
.k-shape--circle { border-radius: 50%; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.picasso-face {
  height: 210px;
  border-radius: 16px;
  background: #fff7ef;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.p-bit {
  position: absolute;
  transition: all 280ms ease;
}
.p-eye {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 12px var(--ink);
}
.p-nose {
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 36px solid var(--coral);
}
.p-mouth {
  width: 64px;
  height: 18px;
  border-radius: 0 0 40px 40px;
  background: var(--cobalt);
}

.pulse {
  margin-top: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.pulse h3 { margin: 0 0 0.25rem; font-size: 1.6rem; }
.pulse p { margin: 0; color: var(--ink-soft); }

.pulse-showcase {
  margin-top: 1.5rem;
  background: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.15rem 1.4rem;
  padding: 1.35rem;
  align-items: stretch;
}
.pulse-showcase__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.45rem 0.35rem 0.45rem 0.55rem;
  min-width: 0;
}
.pulse-showcase__copy h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 3vw, 2.7rem);
}
.pulse-showcase__copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 38rem;
}
.pw-shapes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 1.05rem;
}
.pw-shape {
  border: 0;
  background: var(--wash-sky);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}
.pw-shape.is-on { background: var(--ink); color: #fff; }
.pw-stage {
  position: relative;
  min-height: 280px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #102033 0%, #1a2744 48%, #2a1d38 100%);
  cursor: crosshair;
  touch-action: none;
}
.pw-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 122, 64, 0.28), transparent 46%),
    radial-gradient(circle at 68% 62%, rgba(72, 132, 255, 0.2), transparent 42%);
  pointer-events: none;
  z-index: 0;
}
.pw-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pw-stage__hint {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 650;
  pointer-events: none;
  z-index: 2;
  background: rgba(16, 32, 51, 0.55);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.pw-hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: center;
}
.pw-page-hero h1 { max-width: 18ch; }
.pw-stage--hero { min-height: 440px; }
.pw-stage--hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(to top, rgba(8, 14, 28, 0.88), rgba(8, 14, 28, 0));
  z-index: 2;
  pointer-events: none;
}
.pw-stage__bar {
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
}
.pw-stage__bar .pw-shapes { margin: 0; }
.pw-stage__bar .pw-shape {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}
.pw-stage__bar .pw-shape.is-on { background: var(--sun); color: var(--ink); }
.pw-stage__launch { padding: 0.55rem 0.95rem; font-size: 0.9rem; }
.band--compact { padding: 2.8rem 0 3.5rem; }
.band--compact h2 { margin-bottom: 1.25rem; }
.band--compact .intro { margin-bottom: 1.25rem; }

.made-line {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  margin: -0.2rem 0 1.15rem;
  max-width: 28ch;
}
.studio-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.wall-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  border-radius: 18px;
  padding: 0.95rem 0.95rem 1.05rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}
.wall-card:hover { transform: translateY(-3px); }
.wall-card strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.wall-card em { font-style: normal; color: var(--ink-soft); font-size: 0.92rem; }
.chip { width: 42px; height: 10px; border-radius: 999px; background: var(--chip); }

.talk-grid, .ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.talk-card, .way {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.2rem 1.2rem;
}
.talk-card h3, .way h3 { margin: 0 0 0.35rem; font-size: 1.35rem; }
.talk-card p, .way p { margin: 0; color: var(--ink-soft); }
.talk-card a { color: var(--cobalt); font-weight: 700; }
.page {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
}
.page h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: 0.3rem 0 0.8rem; }
.form {
  display: grid;
  gap: 0.8rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem;
  margin-top: 1.4rem;
}
.form label { font-weight: 700; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1.5px solid rgba(31, 45, 58, 0.12);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form textarea { min-height: 140px; resize: vertical; }

/* Stories */
.moods { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.mood {
  border: 0;
  background: var(--wash-sky);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.6rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
.mood.is-on { background: var(--ink); color: #fff; }
.spotlight {
  background: #fff;
  border-radius: 28px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  min-height: 9rem;
}
.spotlight.is-spinning h3 { animation: wobble 140ms linear infinite; }
@keyframes wobble {
  50% { transform: translateX(3px) rotate(-0.4deg); }
}
.spotlight .mood-tag {
  display: inline-block;
  background: var(--wash-butter);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}
.spotlight h3 { margin: 0 0 0.4rem; font-size: 2rem; }
.spotlight p { margin: 0 0 1rem; color: var(--ink-soft); font-size: 1.05rem; }
.story-grid, .drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.story-card { padding: 1.15rem 1.2rem 1.2rem; }
.story-card h3 { margin: 0.35rem 0; font-size: 1.4rem; }
.story-card h3 a { color: var(--ink); text-decoration: none; }
.story-card p { margin: 0 0 0.8rem; color: var(--ink-soft); }
.story-card .links { display: flex; gap: 0.7rem; flex-wrap: wrap; align-items: center; }
.story-card .links a { font-weight: 700; text-decoration: none; }
.drawer { display: none; margin-top: 1rem; }
.drawer.is-open { display: block; }
.anthology {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

/* Books */
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.book { padding: 1rem; }
.book__cover {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  perspective: 800px;
}
.book__cover img {
  width: 148px;
  height: 220px;
  object-fit: cover;
  border-radius: 4px 12px 12px 4px;
  box-shadow: 8px 12px 0 rgba(31, 45, 58, 0.06), 2px 0 0 rgba(31, 45, 58, 0.15);
  transform: rotateY(-8deg);
  transition: transform 280ms ease;
  background: var(--wash-peach);
}
.book:hover .book__cover img,
.book.is-open .book__cover img { transform: rotateY(-18deg) translateX(6px); }
.pill {
  display: inline-block;
  background: var(--wash-butter);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.8rem;
}
.book h3 { margin: 0.45rem 0 0.25rem; font-size: 1.45rem; }
.book .blurb { color: var(--ink-soft); margin: 0.4rem 0 0.7rem; display: none; }
.book.is-open .blurb { display: block; }
.peek {
  background: none;
  border: 0;
  color: var(--cobalt);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.7rem;
}

/* Plays */
.play-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.play-card { padding: 1.35rem 1.4rem 1.4rem; background: var(--bg-airy); box-shadow: var(--shadow); }
.play-card h3 { margin: 0.2rem 0 0.4rem; font-size: 2rem; }
.play-card h3 a { color: inherit; text-decoration: none; }
.scene {
  background: #fff;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin: 0.9rem 0;
  min-height: 8.5rem;
}
.scene p { margin: 0.35rem 0; }
.scene .who { font-weight: 800; color: var(--coral); }

/* Music + photos */
.record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.record {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1rem;
  align-items: center;
}
.sleeve {
  position: relative;
  width: 210px;
  height: 168px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.sleeve img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  position: absolute;
  right: 0;
  top: 9px;
  z-index: 1;
}
.disc {
  position: absolute;
  left: 0;
  top: 22px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #f7f1e8 0 14px, #1a1a1a 15px 18px, transparent 19px),
    repeating-radial-gradient(circle at 50% 50%, #2a2a2a 0 2px, #111 3px 5px);
  z-index: 0;
}
.sleeve.is-on .disc { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.now {
  font-weight: 700;
  color: var(--teal);
  min-height: 1.4rem;
}
.track-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0 0.8rem; }
.track-row button {
  border: 0;
  background: var(--wash-butter);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
}
.track-row button.is-on { background: var(--ink); color: #fff; }

.polaroid-table {
  margin-top: 2.4rem;
  background: var(--wash-sky);
  border-radius: 32px;
  padding: 1.6rem 1.2rem 2rem;
}
.fan {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  min-height: 280px;
  align-items: flex-end;
}
.polaroid {
  width: 168px;
  background: #fff;
  padding: 0.55rem 0.55rem 1.7rem;
  border-radius: 4px;
  box-shadow: 0 12px 24px rgba(31, 45, 58, 0.12);
  border: 0;
  cursor: pointer;
  transition: transform 200ms ease;
}
.polaroid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #ddd;
}
.polaroid span {
  display: block;
  text-align: center;
  margin-top: 0.45rem;
  font-family: var(--serif);
  font-size: 0.95rem;
}
.polaroid.is-front { z-index: 2; transform: translateY(-12px) rotate(0deg) scale(1.04) !important; }

/* Tools */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tool-card { padding: 1.25rem 1.3rem; }
.tool-card h3 { margin: 0 0 0.35rem; font-size: 1.45rem; }
.tool-card h3 a { color: inherit; text-decoration: none; }
.tool-card p { margin: 0 0 0.7rem; color: var(--ink-soft); }
.more-tools { display: none; margin-top: 1rem; }
.more-tools.is-open { display: grid; }

/* Footer */
.footer {
  background: var(--wash-mint);
  padding: 7.2rem 0 2.5rem;
}
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.person {
  display: flex;
  gap: 1rem;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.person img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
}
.person h3 { margin: 0; font-size: 1.4rem; }
.person h3 a { color: inherit; text-decoration: none; }
.person p { margin: 0.3rem 0 0; color: var(--ink-soft); }
.person--chat {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(250, 204, 21, 0.28), transparent 70%),
    #fff;
  border: 2px solid rgba(31, 45, 58, 0.08);
}
.person__badge {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--wash-butter);
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}
.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1.6rem;
  color: var(--ink-soft);
}
.footer__copy {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.footer__copy a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.footer__copy a:hover {
  text-decoration: underline;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(31, 45, 58, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 70;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox figure {
  margin: 0;
  background: #fff;
  padding: 0.7rem 0.7rem 1rem;
  border-radius: 12px;
  max-width: min(920px, 100%);
}
.lightbox img { max-height: 74vh; width: auto; margin: 0 auto; }
.lightbox figcaption {
  text-align: center;
  font-family: var(--serif);
  margin-top: 0.45rem;
}
.lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

/* Subpages */
.page-hero {
  background:
    radial-gradient(900px 380px at 8% -20%, rgba(250, 204, 21, 0.22), transparent 60%),
    radial-gradient(700px 320px at 100% 0%, rgba(37, 99, 235, 0.1), transparent 55%),
    var(--bg-white);
  padding: 3.2rem 0 2.6rem;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  margin: 0.15rem 0 0.75rem;
  max-width: 16ch;
}
.page-hero.pw-page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-bottom: 1.3rem; }
.page-hero--center { text-align: center; }
.page-hero--center h1,
.page-hero--center .lede { margin-left: auto; margin-right: auto; }

.steps-grid,
.feature-grid {
  display: grid;
  gap: 1rem;
}
.steps-grid { grid-template-columns: repeat(4, 1fr); }
.feature-grid { grid-template-columns: 1fr 1fr; }
.step-card,
.feature-card,
.prose-card,
.cta-card,
.price-card,
.lab-card,
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step-card,
.feature-card { padding: 1.15rem 1.15rem 1.25rem; }
.step-card h3,
.feature-card h3 { margin: 0.35rem 0 0.35rem; font-size: 1.28rem; }
.step-card p,
.feature-card p { margin: 0; color: var(--ink-soft); }
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--wash-peach);
  color: var(--coral);
  font-weight: 800;
}
.step-card:nth-child(2) .num { background: var(--wash-butter); color: #92700a; }
.step-card:nth-child(3) .num { background: var(--wash-sky); color: var(--cobalt); }
.step-card:nth-child(4) .num { background: var(--wash-mint); color: var(--teal); }

.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.spec-pill,
.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.cta-card {
  padding: 1.6rem 1.5rem;
  text-align: center;
  background:
    radial-gradient(500px 180px at 50% 0%, rgba(250, 204, 21, 0.28), transparent 70%),
    #fff;
}
.cta-card h2 { margin: 0.2rem 0 0.45rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-card p { margin: 0 auto 1rem; max-width: 38rem; color: var(--ink-soft); }
.prose-card {
  padding: 1.4rem 1.5rem 1.6rem;
  margin: 0 0 1rem;
}
.prose-card h2 { margin: 1.2rem 0 0.4rem; font-size: 1.45rem; }
.prose-card h2:first-child { margin-top: 0; }
.prose-card p,
.prose-card li { color: var(--ink-soft); }
.prose-card ul,
.prose-card ol { margin: 0.4rem 0 0.8rem; padding-left: 1.2rem; }
.code-block {
  background: var(--wash-sky);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  overflow-x: auto;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink);
}
.price-grid,
.lab-grid,
.case-list {
  display: grid;
  gap: 1rem;
}
.price-grid { grid-template-columns: repeat(3, 1fr); }
.lab-grid { grid-template-columns: repeat(3, 1fr); }
.price-card,
.lab-card,
.contact-card { padding: 1.2rem 1.25rem 1.3rem; }
.price-card h2,
.lab-card h3,
.contact-card h3 { margin: 0.2rem 0 0.35rem; font-size: 1.4rem; }
.price-card p,
.lab-card p,
.contact-card p { margin: 0 0 0.8rem; color: var(--ink-soft); }
.amount {
  font-family: var(--serif);
  font-size: 2.2rem;
  margin: 0.2rem 0 0.4rem;
}
.lab-card { text-decoration: none; color: inherit; display: block; }
.lab-card:hover { transform: translateY(-3px); }
.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare th,
.compare td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare th { background: var(--wash-sky); font-weight: 700; }
.footer--page { padding: 2.6rem 0 2.2rem; }
.stack { display: grid; gap: 1rem; }
.contact-spotlight {
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(250, 204, 21, 0.35), transparent 65%),
    radial-gradient(400px 220px at 0% 100%, rgba(255, 90, 54, 0.14), transparent 65%),
    #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  border: 2px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink), var(--shadow);
  transform: rotate(0.6deg);
  transition: transform 0.35s var(--spring), box-shadow 0.3s ease;
}
.contact-spotlight:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 12px 0 var(--ink), 0 20px 34px rgba(31, 45, 58, 0.14);
}
.contact-spotlight h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  margin: 0.45rem 0 0.55rem;
}
.contact-spotlight p {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
}
.contact-spotlight__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.contact-spotlight__perks span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--wash-butter);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
}
.contact-card {
  border: 2px solid rgba(31, 45, 58, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.contact-card p { flex: 1; }
.contact-card--sun {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.18) 0%, #fff 55%);
}
.contact-card--sun .num { background: var(--wash-butter); color: #92700a; }
.contact-card--mint {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.14) 0%, #fff 55%);
}
.contact-card--mint .num { background: var(--wash-mint); color: var(--teal); }
.contact-card--peach {
  background: linear-gradient(180deg, rgba(255, 90, 54, 0.14) 0%, #fff 55%);
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.contact-list a,
.contact-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  padding: 0.85rem 1.05rem;
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  color: var(--ink);
  font-weight: 700;
  transition: transform 0.28s var(--spring), box-shadow 0.25s ease, background-color 0.2s ease;
}
.contact-list a:hover,
.contact-list__item:hover {
  transform: translateY(-3px) rotate(-0.6deg);
  box-shadow: 0 7px 0 var(--ink);
  background: var(--wash-butter);
}
.contact-list a:active,
.contact-list__item:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}
.contact-list__item--featured {
  background: var(--wash-butter);
}
.contact-list__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 800;
}
.contact-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  border: 1.5px solid var(--ink);
  flex-shrink: 0;
}
.contact-list span.contact-list__hint { color: var(--ink-soft); font-weight: 700; font-size: 0.92rem; }
.contact-panel__form {
  border: 2px solid var(--ink);
  box-shadow: 0 8px 0 var(--ink), var(--shadow);
  padding: 1.5rem;
}
.contact-form-head h3 {
  font-size: 1.6rem;
  margin: 0.35rem 0 0.25rem;
}
.contact-form-head p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
}
.contact-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.form-status {
  border-radius: 16px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.form-status--ok { background: var(--wash-mint); color: var(--ink); }
.form-status--err { background: var(--wash-peach); color: var(--ink); }

/* PulseWave live canvas controls */
body.pw-app { margin: 0; overflow: hidden; background: #050510; height: 100vh; }
body.pw-app #canvas-container {
  position: absolute; inset: 0;
  touch-action: none;
  background: linear-gradient(160deg, #102033 0%, #1a2744 45%, #2a1d38 100%);
}
body.pw-app video { display: none; }
body.pw-app #loading {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  color: #fff; z-index: 10; font-family: var(--sans); font-weight: 700;
}
body.pw-app #ui-container {
  position: absolute; top: 64px; left: 16px; z-index: 100; pointer-events: none;
  max-width: min(280px, calc(100vw - 2rem));
}
body.pw-app #ui-container > * { pointer-events: auto; }
body.pw-app .pw-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: #fff;
  margin: 0 0 0.7rem;
}
body.pw-app #shape-buttons { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 0.9rem; }
body.pw-app .shape-btn {
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 700;
  display: flex;
  gap: 0.45rem;
  align-items: center;
}
body.pw-app .shape-btn.active { background: var(--sun); }
body.pw-app #speed-control,
body.pw-app #music-control,
body.pw-app #hand-controls {
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border-radius: 18px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.6rem;
  font-family: var(--sans);
}
body.pw-app #speed-slider { width: 100%; accent-color: var(--cobalt); }
body.pw-app .pulsewave-app-footer {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  margin: 0; padding: 0.45rem 1rem; text-align: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.8);
  background: linear-gradient(180deg, transparent, rgba(16, 32, 51, 0.72));
}
body.pw-app .pulsewave-app-footer a { color: #fff; font-weight: 700; }
body.pw-app #pointer-hint {
  position: absolute;
  left: 50%;
  bottom: 2.6rem;
  transform: translateX(-50%);
  z-index: 20;
  margin: 0;
  color: #fff;
  background: rgba(16, 32, 51, 0.78);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.35;
  max-width: min(38rem, calc(100% - 2rem));
  text-align: center;
  pointer-events: none;
}

@media (max-width: 768px) {
  body.pw-app #ui-container {
    top: 54px;
    left: 8px;
    right: 8px;
    bottom: 58px;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    align-content: stretch;
    pointer-events: none;
  }
  body.pw-app #ui-container > * { pointer-events: auto; }
  body.pw-app #ui-container > div:first-child { grid-column: 1 / -1; }
  body.pw-app .pw-title { font-size: 1.35rem; margin: 0 0.2rem 0.35rem; }
  body.pw-app #shape-buttons {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.35rem;
    margin: 0 0 0.35rem;
    scrollbar-width: none;
  }
  body.pw-app #shape-buttons::-webkit-scrollbar { display: none; }
  body.pw-app .shape-btn { flex: 0 0 auto; min-height: 40px; }
  body.pw-app #hand-controls { display: none; }
  body.pw-app #speed-control,
  body.pw-app #music-control {
    align-self: end;
    margin-bottom: 0;
    padding: 0.55rem 0.7rem;
  }
  body.pw-app #pointer-hint {
    bottom: 9.2rem;
    font-size: 0.78rem;
  }
}

/* Product and audit pages that still use older class names */
body:not(.home):not(.contact-page) .hero {
  padding: 2.4rem 0 1.2rem;
  background: transparent;
}
body:not(.home):not(.contact-page) .hero::after { content: none; }
body:not(.home) .hero h1,
body:not(.home) .section-title,
body:not(.home) .final-cta-title,
body:not(.home) .hero-split__title {
  font-family: var(--serif);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  max-width: 20ch;
  line-height: 1.12;
}
.section-label,
.hero-tag-label,
.section-kicker,
.pillar-tag,
.build-eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.95rem;
  color: var(--teal);
  background: transparent;
  padding: 0;
}
.hero-headline,
.hero-sub,
.hero-lead,
.section-body,
.step-text,
.feature-desc,
.final-cta-body,
.hero-split__lead {
  font-family: var(--sans);
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.65;
  text-transform: none;
  letter-spacing: 0;
}
.hero-cta,
.cta,
.cta-btn,
.btn--ai,
.btn--build {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  background: var(--coral);
}
.btn--ghost,
.cta-btn.outline,
.cta.alt {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(31, 45, 58, 0.12);
}
.section { padding: 1.4rem 0; border: 0; }
.steps, .features, .trio, .proof-rail, .steps-row, .about-pillars, .about-founders, .built-around__grid {
  display: grid;
  gap: 1rem;
}
.steps, .steps-row, .proof-rail { grid-template-columns: repeat(4, 1fr); }
.features, .about-founders, .about-pillars, .built-around__grid { grid-template-columns: 1fr 1fr; }
.trio { grid-template-columns: repeat(3, 1fr); }
.step, .feature, .req-item, .final-cta, .trio-card, .proof-rail__item, .mini-card, .signal-card, .case-deep, .founder-card, .about-pillar, .built-around__panel, .sg-band {
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step, .feature, .trio-card, .proof-rail__item, .mini-card, .about-pillar, .built-around__panel { padding: 1.15rem; }
.req-item { padding: 0.85rem 1rem; }
.final-cta { padding: 1.6rem 1.3rem; text-align: center; margin: 1.4rem 0; }
.step-num, .proof-rail__num, .step-card__num {
  font-family: var(--sans);
  font-weight: 800;
  color: var(--coral);
  background: var(--wash-peach);
  border-radius: 999px;
  display: inline-flex;
  min-width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
}
.feature-name, .mini-card h3, .signal-card__title { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 1.25rem; }
.req-row, .spec-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.req-text { font-family: var(--sans); }
.breadcrumb, .labs-backline, .marquee-band { display: none; }
.page-wrap, .swiss-wrap { width: min(1120px, calc(100% - 2.5rem)); margin: 0 auto; }
.sg-band { background: transparent; box-shadow: none; border-radius: 0; padding: 0.4rem 0; }
.hero-split, .case-deep, .contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: start;
}
.case-deep { grid-template-columns: 1.1fr 0.9fr; padding: 1.2rem; margin-bottom: 1rem; }
.compare-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tech-pill, .service-chip, .hero-free {
  display: inline-flex;
  background: var(--wash-butter);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-weight: 700;
  margin: 0.15rem 0.2rem 0.15rem 0;
}
.form-card, .ai-terminal, .mini-dashboard {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.form-input, .form-textarea, .form-card input, .form-card textarea, .form-card select {
  width: 100%;
  border: 1.5px solid rgba(31, 45, 58, 0.12);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form-label { font-weight: 700; display: block; margin: 0.7rem 0 0.3rem; }
button.form-btn, .form-btn {
  border: 0;
  border-radius: 999px;
  background: var(--cobalt);
  color: #fff;
  font-weight: 700;
  padding: 0.78rem 1.15rem;
  cursor: pointer;
}
.hap-gallery img, .browser-frame img, .founder-card__photo img {
  border-radius: 16px;
  width: 100%;
  height: auto;
}
.article-page, main.wrap, main > article {
  width: min(760px, calc(100% - 2.5rem));
  margin: 2rem auto 3rem;
}

.geo-form label, .tool label { font-weight: 700; display: block; margin: 0.75rem 0 0.3rem; }
.geo-form input[type="text"],
.geo-form input[type="email"],
.geo-form input[type="url"],
.tool input[type="text"],
.tool input[type="url"],
.tool input[type="password"] {
  width: 100%;
  border: 1.5px solid rgba(31, 45, 58, 0.12);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  margin-bottom: 0.35rem;
}
.geo-form-newsletter { display: flex; align-items: center; gap: 0.5rem; margin: 0.8rem 0; }
.geo-form-newsletter input { width: auto; }
.btn-submit, .btn-primary {
  border: 0;
  border-radius: 999px;
  background: var(--cobalt);
  color: #fff;
  font-weight: 700;
  padding: 0.8rem 1.15rem;
  cursor: pointer;
  margin-top: 0.6rem;
}
.tool, .audit-right, .audit-form-wrap { min-width: 0; }
.geo-success, .geo-error, .success-screen, .result, .error { display: none; }
.geo-success.visible, .geo-error.visible, .success-screen.visible, .result.show, .error.show { display: block; }
.geo-success, .geo-error.visible, .success-screen.visible {
  background: var(--wash-mint);
  border-radius: 18px;
  padding: 1rem;
  margin-top: 0.8rem;
}
.geo-error.visible { background: var(--wash-peach); }
.hero-grid, .audit-form-row { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.2rem; align-items: start; }
.login-error { color: var(--coral); font-weight: 700; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 0.6rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .hero__grid, .cards-3, .book-grid, .play-grid, .record-grid, .people, .tool-grid, .story-grid, .drawer-grid, .talk-grid, .ways, .steps-grid, .feature-grid, .price-grid, .lab-grid, .pulse-showcase, .pw-hero-grid {
    grid-template-columns: 1fr;
  }
  .studio-wall { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps, .steps-row, .proof-rail, .trio, .features, .about-founders, .about-pillars, .built-around__grid, .hero-split, .case-deep, .contact-panel, .compare-mini, .hero-grid, .audit-form-row {
    grid-template-columns: 1fr;
  }
  .record { grid-template-columns: 1fr; }
  .pulse { flex-direction: column; align-items: flex-start; }
  .pulse-showcase__copy { padding: 0.2rem 0.15rem 0; }
  .pw-stage { min-height: 260px; }
  .pw-stage--hero { min-height: 360px; }
  .hero { padding-top: 2.4rem; }
}

@media (max-width: 560px) {
  body { overflow-x: hidden; }
  .wrap, .topbar__inner, .page-wrap, .swiss-wrap { width: min(1120px, calc(100% - 1.4rem)); }
  .band { padding: 3.6rem 0; }
  .footer { padding: 3.6rem 0 2rem; }
  .hero { padding: 2rem 0 3.6rem; }
  .studio-wall, .steps-grid { grid-template-columns: 1fr; }
  .record { justify-items: center; text-align: center; }
  .sleeve { margin: 0 auto; }
  .fan { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; gap: 0.7rem; min-height: 0; }
  .polaroid { width: min(168px, 100%); }
  .actions { gap: 0.5rem; }
  .btn, .btn-ghost, .btn-sun, .btn-coral { min-height: 44px; }
}

/* Playful motion — buttons, toys, and the way the page arrives */

:root {
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn,
.btn-ghost,
.btn-sun,
.btn-coral,
.mood,
.pw-shape,
.track-row button,
.form-btn,
button.form-btn,
.btn-submit,
.btn-primary,
.hero-cta,
.cta,
.cta-btn,
.btn--ai,
.btn--build,
.btn--ghost,
.cta-btn.outline,
.cta.alt {
  transition: transform 0.28s var(--spring), box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease, color 0.2s ease;
  box-shadow: 0 4px 0 var(--ink);
  transform: translate3d(var(--nudge-x, 0px), var(--nudge-y, 0px), 0);
}
.btn-ghost,
.btn--ghost,
.cta-btn.outline,
.cta.alt {
  box-shadow: inset 0 0 0 1.5px rgba(31, 45, 58, 0.14), 0 4px 0 var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover,
  .btn-ghost:hover,
  .btn-sun:hover,
  .btn-coral:hover,
  .mood:hover,
  .pw-shape:hover,
  .track-row button:hover,
  .form-btn:hover,
  button.form-btn:hover,
  .btn-submit:hover,
  .btn-primary:hover,
  .hero-cta:hover,
  .cta:hover,
  .cta-btn:hover,
  .btn--ai:hover,
  .btn--build:hover,
  .btn--ghost:hover,
  .cta-btn.outline:hover,
  .cta.alt:hover {
    filter: none;
    transform: translate3d(var(--nudge-x, 0px), calc(var(--nudge-y, 0px) - 3px), 0) rotate(-1deg);
    box-shadow: 0 7px 0 var(--ink);
  }
  .btn-ghost:hover,
  .btn--ghost:hover,
  .cta-btn.outline:hover,
  .cta.alt:hover {
    box-shadow: inset 0 0 0 1.5px rgba(31, 45, 58, 0.14), 0 7px 0 var(--ink);
  }
  .nav a {
    transition: transform 0.28s var(--spring), background 0.2s ease, color 0.2s ease;
  }
  .nav a:hover { transform: translateY(-2px) rotate(-1deg); }
  .book:hover { transform: translateY(-6px) rotate(-0.4deg); }
}

.btn:active,
.btn-ghost:active,
.btn-sun:active,
.btn-coral:active,
.mood:active,
.pw-shape:active,
.track-row button:active,
.form-btn:active,
button.form-btn:active,
.btn-submit:active,
.btn-primary:active,
.hero-cta:active,
.cta:active,
.cta-btn:active,
.btn--ai:active,
.btn--build:active,
.btn--ghost:active,
.cta-btn.outline:active,
.cta.alt:active {
  transform: translate3d(var(--nudge-x, 0px), calc(var(--nudge-y, 0px) + 2px), 0);
  box-shadow: 0 1px 0 var(--ink);
}
.btn-ghost:active,
.btn--ghost:active,
.cta-btn.outline:active,
.cta.alt:active {
  box-shadow: inset 0 0 0 1.5px rgba(31, 45, 58, 0.14), 0 1px 0 var(--ink);
}

.wordmark i {
  transition: transform 0.35s var(--spring);
}
.wordmark:hover i { animation: juggle 0.7s var(--spring); }
.wordmark i.is-boing { animation: juggle 0.45s var(--spring); }
@keyframes juggle {
  0% { transform: translateY(0) rotate(0); }
  35% { transform: translateY(-7px) rotate(-12deg) scale(1.15); }
  70% { transform: translateY(2px) rotate(8deg); }
  100% { transform: translateY(0) rotate(0); }
}

.hello img { transition: transform 0.45s var(--spring); }
.hello p {
  position: relative;
  animation: bob 4.8s ease-in-out infinite;
}
.hello p::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 1.15rem;
  border: 8px solid transparent;
  border-right-color: var(--wash-peach);
}
@media (hover: hover) and (pointer: fine) {
  .hello:hover img { transform: rotate(-8deg) scale(1.06); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.kicker,
.pill,
.mood-tag {
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
.book:hover .pill,
.story-card:hover .pill,
.studio-card:hover .pill,
.spotlight:hover .mood-tag { transform: rotate(1.5deg) scale(1.05); }

.hero::after,
.band::after {
  background-size: 145% 100%;
  animation: waveDrift 16s ease-in-out infinite alternate;
}
@keyframes waveDrift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.mondrian span.is-splat { animation: paintSplat 0.42s var(--spring); }
@keyframes paintSplat {
  0% { transform: scale(0.9); }
  55% { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.swatch { transition: transform 0.28s var(--spring), box-shadow 0.2s ease; }
.swatch.is-on { transform: translateY(-4px) scale(1.1); }
@media (hover: hover) and (pointer: fine) {
  .swatch:hover { transform: translateY(-3px) scale(1.08); }
}

.p-eye { transition: transform 0.18s ease, left 0.28s ease, top 0.28s ease; }

.wall-card { transition: transform 0.4s var(--spring), box-shadow 0.35s ease; }
.wall-card:nth-child(odd) { transform: rotate(-0.6deg); }
.wall-card:nth-child(even) { transform: rotate(0.7deg); }
.wall-card .chip { transition: width 0.4s var(--spring), height 0.3s ease, box-shadow 0.3s ease; }
@media (hover: hover) and (pointer: fine) {
  .wall-card:nth-child(odd):hover { transform: translateY(-8px) rotate(-1.6deg); }
  .wall-card:nth-child(even):hover { transform: translateY(-8px) rotate(1.6deg); }
  .wall-card:hover .chip {
    width: 100%;
    height: 12px;
    box-shadow: 0 0 18px var(--chip);
  }
}

.spotlight.is-spinning { animation: jukebox 0.09s linear infinite; }
@keyframes jukebox {
  0% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-7px) rotate(-0.4deg); }
  100% { transform: translateY(2px) rotate(0.3deg); }
}

.book { perspective: 900px; }
.book .blurb {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition: max-height 0.5s var(--spring), opacity 0.35s ease, margin 0.35s ease;
}
.book.is-open .blurb {
  display: block;
  max-height: 16rem;
  opacity: 1;
  margin: 0.4rem 0 0.7rem;
}
.book:hover .book__cover img,
.book.is-open .book__cover img {
  transform: rotateY(-32deg) translateX(12px);
}

.scene { transition: opacity 0.3s ease; }
.scene.is-entering { animation: curtain 0.48s var(--spring); }
@keyframes curtain {
  from { opacity: 0; transform: translateY(12px); clip-path: inset(0 0 100% 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
.scene-count {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.12rem 0.65rem;
  border-radius: 999px;
  background: var(--wash-butter);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.95rem;
  transform: rotate(-2deg);
}

.sleeve .disc { transition: transform 0.35s var(--spring); }
.sleeve:hover .disc { transform: translateX(-16px); }
.sleeve.is-on .disc { animation: spinOut 2.4s linear infinite; }
@keyframes spinOut { to { transform: translateX(-14px) rotate(360deg); } }
.sleeve.is-on::before,
.sleeve.is-on::after {
  position: absolute;
  z-index: 3;
  font-family: var(--serif);
  font-size: 1.35rem;
  pointer-events: none;
  animation: noteFloat 1.5s ease-in infinite;
}
.sleeve.is-on::before {
  content: "♪";
  left: 4px;
  bottom: 16px;
  color: var(--coral);
}
.sleeve.is-on::after {
  content: "♫";
  right: 16px;
  top: -4px;
  color: var(--cobalt);
  animation-delay: 0.45s;
}
@keyframes noteFloat {
  0% { opacity: 0; transform: translateY(6px) rotate(-10deg); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-32px) rotate(14deg); }
}

.polaroid {
  box-shadow: 0 1px 0 rgba(31, 45, 58, 0.04), 0 16px 28px rgba(31, 45, 58, 0.16);
  transition: transform 0.45s var(--spring), box-shadow 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .polaroid:hover {
    z-index: 3;
    transform: translateY(-18px) rotate(-2deg) scale(1.05) !important;
    box-shadow: 0 22px 32px rgba(31, 45, 58, 0.2);
  }
}

.studio-card,
.tool-card,
.story-card,
.play-card,
.talk-card,
.way,
.step-card,
.feature-card,
.price-card,
.person,
.book,
.record,
.contact-card,
.lab-card {
  transition: transform 0.4s var(--spring), box-shadow 0.35s ease;
}
@media (hover: hover) and (pointer: fine) {
  .studio-card:hover,
  .tool-card:hover,
  .story-card:hover,
  .play-card:hover,
  .talk-card:hover,
  .way:hover,
  .step-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .person:hover,
  .contact-card:hover,
  .lab-card:hover,
  .record:hover {
    transform: translateY(-7px) rotate(-0.45deg);
    box-shadow: 0 22px 36px rgba(31, 45, 58, 0.12);
  }
  .cards-3 > :nth-child(even):hover,
  .book-grid > :nth-child(even):hover,
  .tool-grid > :nth-child(even):hover,
  .story-grid > :nth-child(even):hover,
  .play-grid > :nth-child(even):hover,
  .talk-grid > :nth-child(even):hover,
  .ways > :nth-child(even):hover,
  .people > :nth-child(even):hover,
  .steps-grid > :nth-child(even):hover,
  .feature-grid > :nth-child(even):hover,
  .price-grid > :nth-child(even):hover {
    transform: translateY(-7px) rotate(0.5deg);
  }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(36px) rotate(1.6deg); }
  to { opacity: 1; transform: none; }
}
.pop-in {
  animation: popIn 0.8s var(--spring) backwards;
  animation-delay: var(--d, 0ms);
}

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