@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700;800&family=Fraunces:opsz,wght@9..144,700;9..144,800&display=swap");
:root { color-scheme: light; --ink:#123b45; --deep:#173f4e; --cream:#f8f3e8; --orange:#e66b3f; --line:#c9d7d2; }
* { box-sizing:border-box; }
html { background:var(--cream); }
body { margin:0; min-height:100vh; color:var(--ink); font-family:"DM Sans",system-ui,sans-serif; background:radial-gradient(circle at 88% 12%,#f7c77c88,transparent 27%),linear-gradient(160deg,#f4e9ce,#dbebdf 70%); }
button,a { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible { outline:3px solid var(--orange); outline-offset:3px; }
.shell { max-width:1060px; margin:auto; padding:26px 30px 48px; }
.masthead { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:30px 0 28px; }
.brand { color:var(--deep); font-size:1.15rem; font-weight:800; letter-spacing:.08em; text-decoration:none; white-space:nowrap; }
.brand span { color:var(--orange); }
.top-nav { display:flex; gap:8px; }
.top-nav a,.bottom-nav a { color:var(--deep); text-decoration:none; font-weight:800; padding:10px 16px; border-radius:100px; }
.top-nav a[aria-current] { background:var(--deep); color:#fff; }
.experience { display:grid; grid-template-columns:minmax(0,1fr) 190px; gap:22px; align-items:center; }
.scene-card { display:flex; flex-direction:column; min-height:560px; padding:32px clamp(24px,5vw,60px); border:1px solid #ffffffad; border-radius:30px; background:#fffaf0; box-shadow:0 22px 65px #173f4e20; }
.card-top { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.eyebrow,.progress { font-weight:800; font-size:.74rem; letter-spacing:.12em; color:#746758; text-transform:uppercase; }
.progress { letter-spacing:.03em; white-space:nowrap; }
.card-content { flex:1; display:flex; flex-direction:column; justify-content:center; min-height:250px; padding:16px 0; }
h1,p { margin:0; }
h1 { font-family:Fraunces,Georgia,serif; line-height:1.06; letter-spacing:-.03em; }
/* Fraunces lacks several Hawaiian uppercase/macron glyphs. Keep it for
   English scene headings; never split a Hawaiian display word across fonts. */
.bite,.punchline,.retrieval,.full-phrase {
  font-family:"DM Sans",system-ui,sans-serif;
  font-weight:800;
  line-height:1.16;
  letter-spacing:-.035em;
}
.hero { max-width:640px; font-size:clamp(2.6rem,5vw,5rem); }
.lead { max-width:520px; margin-top:24px; font-size:clamp(1.12rem,2vw,1.4rem); line-height:1.5; }
.setup { max-width:680px; font-size:clamp(2.2rem,4.4vw,4.5rem); text-transform:uppercase; }
.bite { font-size:clamp(3.6rem,7vw,7rem); color:var(--orange); }
.gloss { margin-top:14px; font-size:1.18rem; font-weight:700; }
.quiet { font-size:1.1rem; color:#665e54; margin-bottom:30px; }
.punchline { font-size:clamp(2.5rem,5vw,5rem); }
.situation { font-size:1.25rem; font-weight:700; line-height:1.45; max-width:570px; }
.retrieval { font-size:clamp(2.2rem,5vw,4rem); margin-top:36px; color:var(--orange); }
.answer-caption { font-size:1.05rem; margin-top:18px; font-weight:700; }
.result-title { font-size:clamp(2.4rem,4vw,4rem); margin-bottom:20px; }
.shape-note { color:#655d54; line-height:1.45; margin-top:22px; max-width:560px; }
.full-phrase { font-size:clamp(2.3rem,5vw,4.4rem); }
.seally { height:30px; font-size:.95rem; color:#6d5545; font-weight:700; }
.pivot-line { font-size:clamp(1.1rem,2vw,1.35rem); line-height:1.45; margin-top:13px; }
.inline-help { align-self:flex-start; border:0; background:transparent; color:var(--deep); font-weight:800; text-decoration:underline; padding:10px 0; cursor:pointer; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding-top:8px; }
.actions button,.text-link { min-height:48px; padding:12px 20px; border-radius:13px; font:800 .95rem "DM Sans",system-ui,sans-serif; cursor:pointer; }
.actions .primary { border:2px solid var(--deep); background:var(--deep); color:#fff; }
.actions .secondary { border:2px solid var(--deep); background:transparent; color:var(--deep); }
.actions .subtle { border:1px solid var(--line); background:#f4f0e7; color:var(--deep); font-size:.86rem; }
.text-link { display:inline-flex; align-items:center; color:var(--deep); text-decoration:underline; }
.coach { align-self:end; color:var(--deep); font-weight:800; text-align:center; }
.coach img { display:block; width:100%; max-height:230px; object-fit:contain; }
.coach small { display:block; font-weight:600; }
.bottom-nav { display:none; }
@media(max-width:700px) {
  .shell { padding:8px 12px 75px; }
  .masthead { margin:7px 4px 10px; }
  .brand { font-size:.92rem; }
  .top-nav { display:none; }
  .experience { display:block; }
  .scene-card { height:calc(100dvh - 142px); min-height:485px; max-height:760px; padding:18px 20px 16px; border-radius:22px; }
  .card-content { min-height:0; overflow:auto; padding:12px 0; }
  .hero { font-size:clamp(2.5rem,10vw,4.5rem); }
  .setup { font-size:clamp(2rem,8.5vw,3.5rem); }
  .bite { font-size:clamp(3.5rem,16vw,6rem); }
  .punchline { font-size:clamp(2.2rem,9vw,4rem); }
  .retrieval { margin-top:24px; font-size:clamp(2.2rem,8.5vw,3.7rem); }
  .situation { font-size:1.08rem; }
  .shape-note { font-size:.91rem; margin-top:12px; }
  .seally { height:24px; flex:none; }
  .actions { flex:none; gap:7px; max-height:34vh; overflow-y:auto; }
  .actions button,.text-link { min-height:46px; padding:10px 13px; }
  .actions .primary { flex:1 0 100%; }
  .actions .secondary { flex:1 0 100%; }
  .actions .subtle { flex:1; }
  .actions .subtle { font-size:.75rem; }
  .coach { display:none; }
  .bottom-nav { position:fixed; bottom:0; left:0; right:0; z-index:10; display:grid; grid-template-columns:repeat(3,1fr); gap:2px; padding:6px 8px max(6px,env(safe-area-inset-bottom)); background:#fffaf0; border-top:1px solid var(--line); text-align:center; box-shadow:0 -8px 22px #173f4e12; }
  .bottom-nav a { min-height:48px; display:grid; place-items:center; padding:7px 3px; font-size:.82rem; }
  .bottom-nav a[aria-current] { color:#fff; background:var(--deep); }
}
@media(max-width:360px), (max-height:620px) {
  .scene-card { min-height:0; height:calc(100dvh - 136px); padding:12px 16px; }
  .card-content { padding:7px 0; }
  .eyebrow,.progress { font-size:.66rem; }
  .hero,.setup { font-size:clamp(1.9rem,8vw,3.3rem); }
  .punchline,.retrieval { font-size:clamp(1.95rem,8vw,3.2rem); }
  .quiet { margin-bottom:14px; }
  .seally { height:18px; font-size:.8rem; }
  .actions button,.text-link { min-height:44px; padding:7px 10px; font-size:.8rem; }
}
