/* GAYA ページ（gelchi.poneria.com/gaya/）
 * 配色はアプリ本体・test.html と同じ: 生成り / 墨 / 朱 / 藍 / 金 / 羅紗の緑。
 * 動きは JS で「クラス付与」だけ行い、JS 無効・reduced-motion では全表示にフォールバックする。 */

:root {
  --bg: #f4f1ea;
  --bg-2: #ebe6da;
  --panel: #fffdf8;
  --ink: #17161a;
  --mute: #5f5a52;
  --dim: #8d877c;
  --line: #e3ded2;
  --line-2: #cbc4b5;
  --shu: #c23c22;
  --shu-soft: #fbe6df;
  --ai: #2c4a6e;
  --ai-soft: #e2e9f2;
  --kin: #f2b632;
  --felt: #2f8f5b;
  --night: #0e1322;
  --night-2: #1a2238;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --sans: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.85;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--shu); outline-offset: 3px; }
::selection { background: var(--shu); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- 上部バー ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px clamp(18px, 4vw, 40px);
  color: #f4f1ea;
}
.top .brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 800; letter-spacing: .14em; font-size: 1.05rem; }
.top .brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 0 rgba(0,0,0,.4); }
.top nav { display: flex; align-items: center; gap: 8px 18px; font-size: .82rem; font-weight: 700; }
.top nav a { opacity: .85; }
.top nav a:hover { opacity: 1; }
.top nav .pill { padding: 7px 14px; border-radius: 99px; background: var(--kin); color: var(--ink); opacity: 1; box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.top nav .back { font-family: "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .06em; font-size: .74rem; }
@media (max-width: 640px) {
  .top nav a:not(.pill) { display: none; }
  .top nav .pill { white-space: nowrap; font-size: .78rem; padding: 6px 12px; }
  .top .brand { font-size: .95rem; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: radial-gradient(120% 80% at 70% 20%, #232c48 0%, var(--night) 60%, #070a14 100%);
  color: #f4f1ea;
  display: grid; align-items: end;
}
.hero-poster {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/title-kv.webp") center 35% / cover no-repeat;
  transition: opacity .9s ease;
}
.hero-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,19,34,.35) 0%, rgba(14,19,34,.55) 55%, rgba(14,19,34,.95) 100%); }
.hero-3d .hero-poster { opacity: 0; }
.hero-stage { position: absolute; top: -4%; bottom: -2%; left: 40%; right: -10%; z-index: 1; }
.hero-copy { position: relative; z-index: 2; }
.hero-seat { z-index: 2; }
.hero-stage canvas { width: 100%; height: 100%; display: block; }
.hero-vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(14,19,34,.85) 0%, rgba(14,19,34,.35) 42%, rgba(14,19,34,0) 62%), linear-gradient(180deg, rgba(14,19,34,.45) 0%, rgba(14,19,34,0) 30%, rgba(14,19,34,0) 70%, rgba(14,19,34,.9) 100%); }

.hero-grid {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px;
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 110px clamp(18px, 4vw, 40px) 64px;
  min-height: 100svh; align-items: end;
}
.hero-copy { max-width: 560px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .22em; color: var(--kin); margin-bottom: 14px; }
.hero h1 { font-family: var(--serif); font-size: clamp(64px, 11vw, 132px); line-height: .95; letter-spacing: .06em; font-weight: 800; text-shadow: 0 4px 30px rgba(0,0,0,.45); }
.hero .catch { font-family: var(--serif); font-size: clamp(22px, 3.2vw, 34px); font-weight: 600; margin: 18px 0 14px; letter-spacing: .04em; }
.hero .catch em { font-style: normal; color: var(--kin); }
.hero .lede { font-size: .98rem; color: rgba(244,241,234,.86); max-width: 46ch; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 18px 0 26px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.hero .facts li { padding: 3px 11px; border: 1px solid rgba(244,241,234,.35); border-radius: 99px; background: rgba(14,19,34,.45); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 1px;
  padding: 13px 22px; border-radius: 12px; border: 2px solid var(--ink);
  background: var(--kin); color: var(--ink); font-weight: 800; font-size: .98rem; line-height: 1.35;
  box-shadow: 0 4px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease;
}
.btn small { font-size: .72rem; font-weight: 700; opacity: .75; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn.ghost { background: rgba(244,241,234,.08); color: #f4f1ea; border-color: rgba(244,241,234,.5); box-shadow: none; cursor: default; }
.btn.ghost:hover { transform: none; }
.btn.ghost .status { display: inline-flex; align-items: center; gap: 6px; }
.btn.ghost .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--kin); box-shadow: 0 0 0 0 rgba(242,182,50,.6); animation: pulse 1.8s infinite; }

/* 実況席（ヒーロー右下） */
.hero-seat { position: relative; display: grid; gap: 10px; align-self: end; padding-bottom: 6px; }
.tally {
  display: inline-flex; align-items: center; gap: 12px; align-self: flex-end;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .8rem; letter-spacing: .08em;
  padding: 6px 12px; border-radius: 8px; background: rgba(14,19,34,.6); border: 1px solid rgba(244,241,234,.2);
}
.tally b { font-size: 1.05rem; }
.bubble {
  position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: start;
  padding: 12px 14px; border-radius: 16px; border: 2px solid var(--ink);
  background: var(--panel); color: var(--ink); box-shadow: 0 4px 0 var(--ink);
  opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.9,.3,1.3);
}
.bubble.on { opacity: 1; transform: none; }
.bubble.maki { background: var(--shu-soft); }
.bubble.ayame { background: var(--ai-soft); grid-template-columns: 1fr 54px; }
.bubble.ayame .face { order: 2; }
.bubble .face { width: 54px; height: 54px; border-radius: 12px; border: 2px solid var(--ink); overflow: hidden; background: #fff; }
.bubble .face img { width: 100%; height: 100%; object-fit: cover; }
.bubble .name { display: inline-block; font-size: .7rem; font-weight: 800; color: #fff; padding: 1px 9px; border-radius: 6px; margin-bottom: 4px; letter-spacing: .06em; }
.bubble.maki .name { background: var(--shu); }
.bubble.ayame .name { background: var(--ai); }
.bubble.ayame .name.fix { background: var(--kin); color: var(--ink); margin-left: 6px; }
.bubble p { font-size: .92rem; line-height: 1.6; min-height: 2.9em; }
.bubble.ayame p { font-family: var(--serif); font-weight: 600; }
.bubble p u { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--shu); font-family: "IBM Plex Mono", ui-monospace, monospace; }
.bubble .caret { display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
.bubble.done .caret { display: none; }

/* 立ち絵 */
.stand { position: absolute; bottom: 0; z-index: 4; width: clamp(200px, 15vw, 320px); pointer-events: none; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); transition: transform .5s ease; }
.stand.maki { left: 0; transform-origin: bottom center; }
.stand.ayame { right: 0; }
/* 立ち絵を出す幅では、文と実況席を 2 人のあいだに寄せる */
@media (min-width: 1360px) {
  .hero-grid { max-width: none; padding-left: clamp(210px, 15.5vw, 330px); padding-right: clamp(200px, 15vw, 320px); }
  .hero-stage { left: 38%; right: 4%; }
}
.stand img { width: 100%; height: auto; }
.stand .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
.stand.show-alt .alt { opacity: 1; }
.stand.show-alt .base { opacity: 0; }
.stand.bounce { animation: bounce .5s ease; }
.stand.shake { animation: shake .5s ease; }
@media (max-width: 1359px) { .stand { display: none; } }

.scroll-hint { position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translateX(-50%); font-size: .7rem; letter-spacing: .2em; color: rgba(244,241,234,.6); }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 26px; margin: 6px auto 0; background: linear-gradient(180deg, rgba(244,241,234,.8), rgba(244,241,234,0)); animation: drop 1.6s ease-in-out infinite; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 88px; padding-bottom: 56px; min-height: auto; gap: 18px; }
  .hero-stage { position: relative; inset: auto; height: min(70vw, 440px); margin: 6px calc(-1 * clamp(18px, 4vw, 40px)) 0; order: 2; }
  .hero-copy { order: 1; }
  .hero-seat { order: 3; }
  .hero-vignette { display: none; }
  .hero-poster { background-position: center 30%; }
  .scroll-hint { display: none; }
}

/* ---------- 共通セクション ---------- */
section.block { padding: clamp(64px, 9vw, 120px) 0; }
.kicker { font-size: .74rem; font-weight: 700; letter-spacing: .24em; color: var(--shu); margin-bottom: 10px; }
h2 { font-family: var(--serif); font-size: clamp(28px, 4.2vw, 44px); font-weight: 700; line-height: 1.3; letter-spacing: .03em; margin-bottom: 18px; }
.lead { color: var(--mute); max-width: 62ch; font-size: 1.02rem; }

/* ---------- 実況席の 2 人 ---------- */
.seats { background: var(--bg); position: relative; }
.seats::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 120px; background: linear-gradient(180deg, var(--night), transparent); opacity: .12; pointer-events: none; }
.seat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.seat {
  position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: start;
  padding: 26px; border-radius: 22px; border: 2px solid var(--ink); background: var(--panel); box-shadow: 0 6px 0 var(--ink);
  overflow: hidden;
}
.seat::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; }
.seat.maki::before { background: var(--shu); }
.seat.ayame::before { background: var(--ai); }
.seat .portrait { position: relative; width: 150px; aspect-ratio: 1; border-radius: 18px; border: 2px solid var(--ink); overflow: hidden; background: #fff; cursor: pointer; }
.seat .portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; }
.seat .portrait img.on { opacity: 1; }
.seat .portrait .tap { position: absolute; right: 6px; bottom: 6px; font-size: .62rem; font-weight: 800; background: rgba(23,22,26,.8); color: #fff; padding: 2px 8px; border-radius: 99px; letter-spacing: .06em; }
.seat h3 { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .06em; line-height: 1.2; }
.seat h3 small { display: inline-block; margin-left: 10px; font-family: var(--sans); font-size: .74rem; font-weight: 800; color: #fff; padding: 2px 10px; border-radius: 99px; vertical-align: middle; letter-spacing: .1em; }
.seat.maki h3 small { background: var(--shu); }
.seat.ayame h3 small { background: var(--ai); }
.seat .role { font-size: .8rem; color: var(--mute); margin: 4px 0 10px; }
.seat p { font-size: .93rem; }
.seat .quote { margin-top: 12px; padding: 10px 14px; border-radius: 12px; font-size: .9rem; line-height: 1.6; position: relative; }
.seat.maki .quote { background: var(--shu-soft); }
.seat.ayame .quote { background: var(--ai-soft); font-family: var(--serif); font-weight: 600; }
.seat .quote::before { content: "“"; position: absolute; left: 8px; top: -8px; font-family: var(--serif); font-size: 2rem; color: var(--dim); }
.seat-note { margin-top: 22px; padding: 16px 20px; border-left: 4px solid var(--kin); background: var(--panel); border-radius: 0 12px 12px 0; font-size: .95rem; }
@media (max-width: 860px) { .seat-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .seat { grid-template-columns: 1fr; } .seat .portrait { width: 120px; } }

/* ---------- 物語（茶屋の帯） ---------- */
.story { position: relative; color: #f4f1ea; overflow: hidden; min-height: 620px; display: grid; align-items: center; }
.story .band-img { position: absolute; inset: -12% 0; z-index: 0; }
.story .band-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transform: translateY(var(--para, 0)); will-change: transform; }
.story::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,19,34,.92) 0%, rgba(14,19,34,.75) 45%, rgba(14,19,34,.25) 100%); }
.story .wrap { position: relative; z-index: 2; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.story .kicker { color: var(--kin); }
.story .lead { color: rgba(244,241,234,.86); }
.story-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.story ul { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.story li { position: relative; padding-left: 22px; font-size: .95rem; }
.story li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 10px; border-radius: 50%; background: var(--kin); }
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.chapters span { font-family: var(--serif); font-size: .82rem; padding: 8px 10px; border: 1px solid rgba(244,241,234,.3); border-radius: 8px; background: rgba(14,19,34,.5); text-align: center; letter-spacing: .06em; }
.chapters span.now { border-color: var(--kin); color: var(--kin); }
@media (max-width: 860px) { .story-cols { grid-template-columns: 1fr; } .story { min-height: auto; } }

/* ---------- 機能 ---------- */
.features { background: var(--bg-2); }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.feat { padding: 26px; border-radius: 20px; background: var(--panel); border: 1.5px solid var(--line-2); transition: transform .3s ease, box-shadow .3s ease; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(23,22,26,.4); }
.feat .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; font-family: var(--serif); font-weight: 800; font-size: 1.1rem; }
.feat:nth-child(1) .ico { background: var(--felt); }
.feat:nth-child(2) .ico { background: var(--ai); }
.feat:nth-child(3) .ico { background: var(--shu); }
.feat:nth-child(4) .ico { background: var(--kin); color: var(--ink); }
.feat h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 8px; letter-spacing: .04em; }
.feat p { font-size: .93rem; color: var(--mute); }
.feat .num { display: block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .74rem; letter-spacing: .1em; color: var(--dim); margin-top: 10px; }
@media (max-width: 720px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- 画面 ---------- */
.screens { overflow: hidden; }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px clamp(18px, 4vw, 40px) 30px; margin: 0 calc(-1 * clamp(18px, 4vw, 40px)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: clamp(200px, 58vw, 250px); scroll-snap-align: center; }
.phone { position: relative; border-radius: 34px; border: 3px solid var(--ink); background: var(--ink); padding: 8px; box-shadow: 0 22px 40px -20px rgba(0,0,0,.55), 0 6px 0 var(--ink); transition: transform .35s ease; }
.shot:hover .phone { transform: translateY(-6px) rotate(-1deg); }
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 1320 / 2868; object-fit: cover; }
.phone::before { content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 80px; height: 20px; border-radius: 99px; background: var(--ink); z-index: 1; }
.shot h3 { font-family: var(--serif); font-size: 1.02rem; margin: 16px 4px 4px; line-height: 1.5; }
.shot h3 em { font-style: normal; color: var(--shu); }
.shot p { font-size: .82rem; color: var(--mute); margin: 0 4px; }
.rail-hint { font-size: .74rem; color: var(--dim); letter-spacing: .1em; }

/* ---------- テスト版に参加 ---------- */
.join { background: var(--night); color: #f4f1ea; position: relative; overflow: hidden; }
.join::before { content: ""; position: absolute; inset: 0; background: url("../img/online-arena.webp") center / cover no-repeat; opacity: .14; }
.join .wrap { position: relative; }
.join .kicker { color: var(--kin); }
.join .lead { color: rgba(244,241,234,.85); }
.join-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; margin-top: 34px; }
.card { padding: 28px; border-radius: 22px; background: var(--panel); color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.card.dim { background: rgba(244,241,234,.06); color: #f4f1ea; border-color: rgba(244,241,234,.3); box-shadow: none; }
.card h3 { font-family: var(--serif); font-size: 1.4rem; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card h3 .os { font-family: var(--sans); font-size: .72rem; font-weight: 800; letter-spacing: .12em; padding: 3px 10px; border-radius: 99px; background: var(--felt); color: #fff; }
.card.dim h3 .os { background: rgba(244,241,234,.2); }
.steps { list-style: none; counter-reset: s; display: grid; gap: 10px; margin: 16px 0 20px; }
.steps li { position: relative; padding-left: 40px; font-size: .95rem; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--kin); font-family: var(--serif); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.card .btn { width: 100%; text-align: center; align-items: center; }
.card .note { font-size: .8rem; color: var(--mute); margin-top: 12px; }
.card.dim p { font-size: .93rem; color: rgba(244,241,234,.85); }
.card.dim .status { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0; padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(244,241,234,.35); font-weight: 800; font-size: .88rem; }
.card.dim .status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--kin); animation: pulse 1.8s infinite; }
@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; } }

/* ---------- 通信と安全 ---------- */
.safety { background: var(--bg); }
.safety ul { list-style: none; display: grid; gap: 8px; margin-top: 14px; max-width: 70ch; font-size: .92rem; color: var(--mute); }
.safety li { padding-left: 18px; position: relative; }
.safety li::before { content: "・"; position: absolute; left: 0; }

/* ---------- フッター ---------- */
footer.foot { border-top: 2px solid var(--ink); padding: 34px 0 44px; font-size: .85rem; color: var(--mute); }
footer.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
footer.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer.foot a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
footer.foot a:hover { color: var(--ink); text-decoration-color: var(--shu); }
footer.foot .back { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .78rem; letter-spacing: .06em; }

/* ---------- 登場アニメーション（JS でクラス付与） ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .hero-copy > * { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js.lp-loaded .hero-copy > * { opacity: 1; transform: none; }
.js.lp-loaded .hero-copy > :nth-child(1) { transition-delay: .05s; }
.js.lp-loaded .hero-copy > :nth-child(2) { transition-delay: .15s; }
.js.lp-loaded .hero-copy > :nth-child(3) { transition-delay: .3s; }
.js.lp-loaded .hero-copy > :nth-child(4) { transition-delay: .42s; }
.js.lp-loaded .hero-copy > :nth-child(5) { transition-delay: .52s; }
.js.lp-loaded .hero-copy > :nth-child(6) { transition-delay: .62s; }
.js .stand { opacity: 0; transform: translateY(40px); transition: opacity .9s ease .5s, transform .9s cubic-bezier(.2,.8,.2,1) .5s; }
.js.lp-loaded .stand { opacity: 1; transform: none; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242,182,50,.55); } 70% { box-shadow: 0 0 0 9px rgba(242,182,50,0); } 100% { box-shadow: 0 0 0 0 rgba(242,182,50,0); } }
@keyframes blink { to { visibility: hidden; } }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes bounce { 0% { transform: translateY(0); } 35% { transform: translateY(-18px) scale(1.02); } 100% { transform: translateY(0); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px) rotate(-1.5deg); } 75% { transform: translateX(8px) rotate(1.5deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .hero-copy > *, .js .stand { opacity: 1; transform: none; transition: none; }
  .bubble { opacity: 1; transform: none; transition: none; }
  .btn.ghost .status::before, .card.dim .status::before, .scroll-hint::after, .bubble .caret { animation: none; }
  .stand.bounce, .stand.shake { animation: none; }
  .feat, .phone, .btn { transition: none; }
}
