/* ============================================================
   Taste Suite — landing page (index.html only)
   Framed cream sheet on a peach grid, ultra-wide display type,
   tri-colour stripes, floating work tiles; dark bento for the work.
   ============================================================ */

.home {
  background-color: var(--page);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 26px 26px;
  padding: clamp(10px, 2.2vw, 32px);
}

.frame {
  max-width: 1480px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: clamp(24px, 3.4vw, 48px);
  overflow: hidden;
  position: relative;
}

.home .wide, .mega, .display-2, .display-3, .finale-title, .stat-slab-num,
.numcard span, .ribbon span, .sticker span, .wordmark {
  font-family: var(--display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
}

/* ---------------- STAGE (hero) ---------------- */

.stage {
  --stripe: clamp(12px, 1.7vw, 26px);
  position: relative;
  min-height: min(calc(100svh - 64px), 1000px);
  padding: 0 clamp(18px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.stripes {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
  display: flex;
  z-index: -1;
  pointer-events: none;
}
.stripes i { width: var(--stripe, 22px); display: block; transform-origin: top; }
.stripes i:nth-child(1) { background: var(--yellow); }
.stripes i:nth-child(2) { background: var(--salmon); }
.stripes i:nth-child(3) { background: var(--sky); }

.rings {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(1100px, 95%);
  translate: -50% -50%;
  color: #ece5d3;
  z-index: -2;
  pointer-events: none;
}

.hero-nav {
  display: grid;
  grid-template-columns: 1fr auto calc(var(--stripe) * 3 + 8vw) auto 1fr;
  align-items: center;
  padding: clamp(18px, 2.6vw, 34px) 0;
  font-weight: 500;
}
.hero-nav .wordmark {
  justify-self: start;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero-nav .wordmark::before { display: none; }
.hero-links { display: flex; gap: clamp(18px, 2.4vw, 40px); font-size: 0.98rem; }
.hero-links-left { grid-column: 2; }
.hero-links-right { grid-column: 4; }
.hero-links a { position: relative; }
.hero-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.hero-links a:hover { color: var(--text); }
.hero-links a:hover::after { transform: scaleX(1); }

.round-btn {
  grid-column: 5;
  justify-self: end;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--yellow);
  display: grid;
  place-items: center;
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1.4), background 0.2s;
}
.round-btn svg { width: 26px; height: 26px; }
.round-btn:hover { transform: rotate(-45deg) scale(1.06); color: var(--yellow); }

.hero-core {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(10px, 2vw, 30px) 0 clamp(230px, 20vw, 290px);
  position: relative;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(18px, 2.4vw, 30px);
  padding: 10px 22px;
  border: 2px solid var(--text);
  border-radius: 999px;
  background: var(--bg);
  font-weight: 700;
  font-size: clamp(0.78rem, 1.2vw, 1.08rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); }

.mega {
  margin: 0;
  font-weight: 900;
  font-size: clamp(2.3rem, 7.3vw, 7.9rem);
  line-height: 0.88;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text);
}
.mega .line { display: block; overflow: hidden; padding: 0.02em 0.04em; }
.mega .line > span { display: inline-block; }

.inline-pic {
  display: inline-block;
  width: 1.55em;
  height: 0.74em;
  border-radius: 999px;
  overflow: hidden;
  vertical-align: 0.02em;
  border: 0.045em solid var(--text);
  background: var(--salmon);
}
.inline-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.mega:hover .inline-pic img { transform: scale(1.15); }

.hero-sub {
  margin: clamp(20px, 2.4vw, 32px) auto 0;
  max-width: 64ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  line-height: 1.6;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-radius: 14px;
  padding: 4px 10px;
}

/* floating tiles */
.tile {
  position: absolute;
  margin: 0;
  width: clamp(96px, 10.5vw, 160px);
  z-index: 1;
  transition: translate 0.25s ease-out;
}
.tile img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: clamp(16px, 1.8vw, 26px);
  display: block;
  box-shadow: 0 18px 40px -18px rgba(23, 17, 74, 0.45);
}
.tile-plate {
  position: absolute;
  inset: 22% -10% -8% -10%;
  border-radius: clamp(16px, 1.8vw, 26px);
}
.tile figcaption {
  position: absolute;
  left: 50%;
  bottom: -14px;
  translate: -50% 0;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.7rem;
  background: var(--text);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 999px;
}
.tile-a { left: 3.6%; top: 20%; rotate: -5deg; }
.tile-a .tile-plate { background: var(--salmon); }
.tile-b { left: 8%; bottom: 27%; rotate: 4deg; }
.tile-b .tile-plate { background: var(--yellow); }
.tile-c { right: 7%; bottom: 27%; rotate: -3deg; }
.tile-c .tile-plate { background: var(--text); }

.squiggle {
  position: absolute;
  width: clamp(60px, 7vw, 110px);
  fill: none;
  stroke: var(--salmon);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  z-index: 0;
  pointer-events: none;
}
.squiggle-l { left: 5.5%; top: 42%; }
.squiggle-r { right: 6%; top: 38%; }

.sticker {
  position: absolute;
  right: 4%;
  top: 14%;
  width: clamp(108px, 12vw, 190px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--yellow);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  text-align: center;
  z-index: 3;
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1.4);
}
.sticker span {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(0.72rem, 1.15vw, 1.15rem);
  line-height: 1.12;
  color: var(--text);
}
.sticker:hover { transform: rotate(14deg) scale(1.06); color: var(--text); }

.hero-foot {
  position: absolute;
  left: clamp(18px, 5vw, 80px);
  right: clamp(18px, 5vw, 80px);
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 430px) 1fr;
  align-items: end;
  gap: clamp(16px, 3vw, 48px);
  z-index: 2;
}

.hero-quote { margin: 0 0 clamp(26px, 3vw, 44px); text-align: center; justify-self: center; max-width: 30ch; }
.hero-quote p { margin: 0 0 12px; font-size: clamp(0.95rem, 1.2vw, 1.1rem); line-height: 1.5; }
.hero-quote cite { font-style: normal; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.stat-slab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: clamp(26px, 3vw, 42px) clamp(20px, 3vw, 44px) clamp(30px, 3.4vw, 48px);
  background: var(--accent);
  color: #fff;
  border-radius: clamp(26px, 3vw, 44px) clamp(26px, 3vw, 44px) 0 0;
  text-align: center;
  transition: padding 0.35s ease;
}
.stat-slab:hover { color: #fff; padding-bottom: clamp(44px, 4.4vw, 64px); }
.stat-slab-num {
  font-weight: 900;
  font-size: clamp(3.4rem, 7.4vw, 7.2rem);
  line-height: 0.9;
  color: var(--yellow);
  letter-spacing: -0.02em;
}
.stat-slab-num::after { content: "+"; }
.stat-slab-label { max-width: 30ch; font-size: clamp(0.88rem, 1.1vw, 1.02rem); line-height: 1.5; }

.hero-proof { margin: 0 0 clamp(26px, 3vw, 44px); text-align: center; justify-self: center; }
.hero-proof p { margin: 12px 0 12px; font-size: clamp(0.95rem, 1.2vw, 1.08rem); }
.swatches { display: inline-flex; }
.swatches i {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c);
  border: 2px solid var(--bg);
  margin-left: -6px;
  transition: transform 0.25s ease;
}
.swatches:hover i { transform: translateY(-4px); }
.swatches:hover i:nth-child(even) { transform: translateY(3px); }
.text-link {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--salmon);
  border-bottom: 2px solid var(--salmon);
  font-size: 0.95rem;
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------------- RIBBONS ---------------- */

.ribbons {
  position: relative;
  height: clamp(150px, 16vw, 230px);
  overflow: hidden;
  margin: clamp(10px, 2vw, 30px) 0;
}
.ribbon {
  position: absolute;
  left: -5%;
  width: 110%;
  top: 50%;
  padding: clamp(12px, 1.4vw, 20px) 0;
  overflow: hidden;
}
.ribbon-blue { background: var(--accent); color: #fff; rotate: -3deg; translate: 0 -62%; z-index: 2; }
.ribbon-yellow { background: var(--yellow); color: var(--text); rotate: 2.4deg; translate: 0 -38%; }
.ribbon-track { display: flex; width: max-content; animation: ribbon 38s linear infinite; }
.ribbon-yellow .ribbon-track { animation-direction: reverse; animation-duration: 46s; }
.ribbon span {
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.6vw, 2.4rem);
  white-space: nowrap;
  padding: 0 0.6em;
  display: inline-flex;
  align-items: center;
  gap: 1.2em;
}
.ribbon span::after { content: "✦"; font-size: 0.7em; color: var(--yellow); }
.ribbon-yellow span::after { color: var(--salmon); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------------- NIGHT (dark bento) ---------------- */

.night {
  position: relative;
  margin: 0 clamp(10px, 1.6vw, 24px);
  padding: clamp(56px, 7vw, 110px) clamp(18px, 4vw, 64px) clamp(48px, 6vw, 90px);
  background: var(--navy);
  color: #f3f0ff;
  border-radius: clamp(24px, 3vw, 40px);
  overflow: hidden;
  isolation: isolate;
}
.night-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  background:
    radial-gradient(closest-side at 50% 40%, rgba(96, 72, 255, 0.45), transparent 70%),
    radial-gradient(closest-side at 80% 10%, rgba(245, 164, 140, 0.25), transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.night-glow::after {
  content: "";
  position: absolute;
  left: 50%; top: 14%;
  width: min(1100px, 120vw); aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  border: 1px solid rgba(160, 150, 255, 0.28);
}
.night-head { text-align: center; max-width: 1000px; margin: 0 auto clamp(40px, 5vw, 72px); }
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.night .eyebrow { color: #a9a2ff; }
.display-2 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.display-3 {
  margin: 0 0 28px;
  font-weight: 900;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  text-transform: uppercase;
}
.night-sub { margin: 22px auto 0; max-width: 56ch; color: #bdb7dc; font-size: 1.05rem; }

.bento {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.3vw, 20px);
  margin-bottom: clamp(48px, 6vw, 88px);
}
.bento-col { display: flex; flex-direction: column; gap: clamp(10px, 1.3vw, 20px); }
.bento-col-low { padding-top: clamp(30px, 5vw, 70px); }
.shot {
  position: relative;
  margin: 0;
  border-radius: clamp(16px, 1.8vw, 26px);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #221d55;
}
.shot-tall { aspect-ratio: 9 / 15; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.07); }
.shot figcaption {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(18, 14, 56, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.75rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shot figcaption b { font-family: var(--mono); font-weight: 500; margin-right: 6px; color: var(--yellow); }

.numcard {
  border-radius: clamp(16px, 1.8vw, 26px);
  padding: clamp(16px, 1.8vw, 26px);
  min-height: clamp(150px, 15vw, 230px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}
.numcard span { font-weight: 900; font-size: clamp(2.1rem, 4.4vw, 4.2rem); line-height: 0.9; letter-spacing: -0.02em; }
.numcard p { margin: 0; font-weight: 600; font-size: clamp(0.85rem, 1.1vw, 1.05rem); line-height: 1.3; }
.numcard-blue { background: linear-gradient(165deg, #6aa8ff 0%, #2b2bea 100%); }
.numcard-salmon { background: linear-gradient(165deg, #ffb59a 0%, #f2635d 100%); }
.numcard-yellow { background: linear-gradient(165deg, #fff0b0 0%, #f5c84a 100%); color: var(--text); }

/* sample cards (rendered by app.js) */
.home .samples { gap: clamp(14px, 2vw, 28px); }
.home .sample-card {
  background: color-mix(in srgb, var(--entry-accent, var(--yellow)) 26%, #fffdf6);
  color: var(--text);
  border: none;
  border-radius: clamp(22px, 2.4vw, 34px);
  padding: clamp(24px, 3vw, 44px);
  position: relative;
  overflow: hidden;
}
.home .sample-card::before {
  content: "“";
  position: absolute;
  right: 24px; top: -10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 9rem;
  line-height: 1;
  color: color-mix(in srgb, var(--entry-accent, var(--yellow)) 70%, var(--text));
  opacity: 0.35;
}
.home .sample-card .card-discipline { color: var(--text); opacity: 0.7; font-family: var(--mono); }
.home .sample-card > * { position: relative; }
.home .sample-name {
  font-family: var(--display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
  line-height: 0.95;
  margin: 6px 0 12px;
}
.home .sample-meta { color: var(--muted); font-family: var(--mono); font-size: 0.78rem; margin: 0 0 16px; }
.home .sample-essence { color: var(--text); font-size: 1.05rem; max-width: 52ch; }
.home .sample-card .stat-row { border-color: color-mix(in srgb, var(--text) 14%, transparent); }
.home .sample-card .stat-value { color: var(--text); font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; }
.home .sample-card .stat-label { color: var(--muted); }
.home .sample-card .btn-primary { background: var(--text); border-color: var(--text); color: #fff; border-radius: 999px; }
.home .sample-card .btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.home .sample-card .btn-ghost { border-color: var(--text); color: var(--text); border-radius: 999px; }
.home .sample-card .btn-ghost:hover { background: var(--text); color: #fff; }

/* ---------------- HOW + DIRECTORY ---------------- */

.block-h { padding: clamp(64px, 8vw, 120px) clamp(18px, 5vw, 80px) 0; }
.split-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px 48px;
  flex-wrap: wrap;
  margin-bottom: clamp(30px, 4vw, 56px);
}
.split-sub { margin: 0; max-width: 40ch; color: var(--muted); font-size: 1.05rem; }

.track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}
.track-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px 24px 28px;
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1.3), box-shadow 0.35s ease;
}
.track-step:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 24px 48px -28px rgba(23, 17, 74, 0.35); }
.track-step h3 { margin: 18px 0 10px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.track-step p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.track-num {
  position: absolute;
  right: 22px; top: 22px;
  font-family: var(--display);
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  font-weight: 900;
  font-size: 2rem;
  color: color-mix(in srgb, var(--chip) 85%, var(--text));
}
.chip-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--chip);
  display: grid;
  place-items: center;
}
.chip-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.anatomy-h {
  margin-top: clamp(28px, 4vw, 56px);
  background: var(--text);
  color: #f3f0ff;
  border-radius: clamp(24px, 3vw, 40px);
  padding: clamp(28px, 4vw, 56px);
}
.features { margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.features dt { margin: 16px 0 8px; font-weight: 700; font-size: 1.05rem; }
.features dd { margin: 0; color: #bdb7dc; font-size: 0.92rem; line-height: 1.55; }

/* directory */
.home .controls { margin-bottom: 26px; }
.home .search-wrap input {
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--text);
  padding: 14px 22px;
}
.home .chip { border-radius: 999px; border: 2px solid var(--text); background: transparent; color: var(--text); font-weight: 600; }
.home .chip:hover { background: var(--yellow); color: var(--text); border-color: var(--text); }
.home .chip.active { background: var(--text); color: #fff; border-color: var(--text); }
.home .grid { gap: clamp(14px, 1.8vw, 24px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.home .card {
  background: color-mix(in srgb, var(--entry-accent, var(--yellow)) 22%, #fffdf6);
  border: none;
  border-radius: 30px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1.3), box-shadow 0.35s ease;
}
.home .card:hover { transform: translateY(-6px) rotate(-0.5deg); box-shadow: 0 26px 50px -30px rgba(23, 17, 74, 0.45); }
.home .card-name { font-family: var(--display); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase; line-height: 0.95; }
.home .card-discipline, .home .card-index { color: var(--text); opacity: 0.7; }
.home .tag { border-color: color-mix(in srgb, var(--text) 25%, transparent); color: var(--text); border-radius: 999px; }
.home .card-filed {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  color: var(--text);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
}
.home .card-filed::after { content: "↗"; }

/* ---------------- FINALE ---------------- */

.finale {
  position: relative;
  margin: clamp(64px, 8vw, 120px) clamp(10px, 1.6vw, 24px) 0;
  padding: clamp(64px, 9vw, 140px) clamp(18px, 4vw, 64px);
  background: var(--accent);
  color: #fff;
  border-radius: clamp(24px, 3vw, 40px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.finale-tile { width: clamp(80px, 8.5vw, 132px); }
.finale-tile-l { left: 4%; top: 7%; rotate: -8deg; }
.finale-tile-l .tile-plate { background: var(--yellow); }
.finale-tile-r { right: 4%; bottom: 8%; rotate: 7deg; }
.finale-tile-r .tile-plate { background: var(--salmon); }
.finale-title {
  margin: 0;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7.6vw, 7.4rem);
  line-height: 0.88;
  color: var(--yellow);
  letter-spacing: -0.015em;
}
.finale-sub { margin: 26px auto 34px; max-width: 46ch; font-size: 1.1rem; color: #e4e3ff; }
.finale-title, .finale-sub, .btn-pill { position: relative; z-index: 2; }
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1.4), background 0.2s;
}
.btn-pill svg { width: 22px; height: 22px; transition: transform 0.3s ease; }
.btn-pill:hover { background: var(--yellow); color: var(--text); transform: scale(1.04); }
.btn-pill:hover svg { transform: translateX(4px); }

.home .footer { border-top: none; margin-top: 0; }

/* ---------------- MOTION ---------------- */

@media (prefers-reduced-motion: no-preference) {
  .play .stripes i { animation: stripe-grow 1.1s cubic-bezier(.7,0,.2,1) both; }
  .play .stripes i:nth-child(2) { animation-delay: 0.08s; }
  .play .stripes i:nth-child(3) { animation-delay: 0.16s; }
  .play .mega .line > span { animation: rise 1s cubic-bezier(.2,.8,.2,1) both; }
  .play .mega .line:nth-child(1) > span { animation-delay: 0.25s; }
  .play .mega .line:nth-child(2) > span { animation-delay: 0.37s; }
  .play .mega .line:nth-child(3) > span { animation-delay: 0.49s; }
  .play .pill, .play .hero-sub { animation: fade-up 0.8s ease both 0.7s; }
  .play .pill { animation-delay: 0.15s; }
  .play .tile { animation: pop 0.9s cubic-bezier(.2,.9,.3,1.35) both; }
  .play .tile img { animation: bob 6s ease-in-out infinite; }
  .play .tile-a { animation-delay: 0.7s; }
  .play .tile-b { animation-delay: 0.85s; }
  .play .tile-b img { animation-delay: -2s; }
  .play .tile-c { animation-delay: 1s; }
  .play .tile-c img { animation-delay: -4s; }
  .play .sticker { animation: spin-in 1s cubic-bezier(.2,.9,.3,1.3) both 0.9s; }
  .play .sticker span { display: inline-block; animation: wobble 7s ease-in-out infinite 2s; }
  .play .squiggle path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.6s ease forwards 1.1s; }
  .play .stat-slab { animation: slab-up 0.9s cubic-bezier(.2,.8,.2,1) both 0.6s; }
  .play .hero-quote, .play .hero-proof { animation: fade-up 0.8s ease both 1s; }

  .play .reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(.2,.8,.2,1); }
  .play .reveal.in { opacity: 1; transform: none; }
}

@keyframes stripe-grow { from { transform: scaleY(0); } }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes pop { from { opacity: 0; scale: 0.4; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes spin-in { from { opacity: 0; transform: rotate(-120deg) scale(0.3); } }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes slab-up { from { transform: translateY(100%); } }

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .track { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento-col:nth-child(n+4) { display: none; }
}

@media (max-width: 820px) {
  .hero-nav { grid-template-columns: 1fr auto; }
  .hero-links { display: none; }
  .round-btn { grid-column: 2; width: 48px; height: 48px; }
  .stage { min-height: 0; }
  .hero-core { padding: 120px 0 36px; }
  .tile { width: 84px; }
  .tile figcaption { display: none; }
  .tile-a { left: 4%; top: 86px; }
  .tile-b { left: auto; right: 30%; bottom: auto; top: 96px; width: 64px; }
  .tile-c { display: none; }
  .squiggle { display: none; }
  .finale-tile { display: none; }
  .sticker { right: 4%; top: 78px; width: 96px; }
  .sticker span { font-size: 0.66rem; }
  .hero-foot { position: static; grid-template-columns: 1fr; gap: 26px; padding: 0; }
  .hero-quote, .hero-proof { margin: 0 auto; background: var(--bg); border-radius: 20px; padding: 14px 16px; position: relative; z-index: 1; }
  .home .sample-card::before { font-size: 5.5rem; right: 14px; top: -4px; }
  .stat-slab { order: 3; margin: 0 calc(-1 * clamp(18px, 5vw, 80px)); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-col:nth-child(n+3) { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .track { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .pill { font-size: 0.7rem; padding: 8px 14px; }
}
