/* Phone composition only. Desktop retains its existing layout and effects. */
@media (max-width:700px) {
  html { scroll-padding-top:90px }
  .wrap { padding-inline:20px }
  .section.wrap { padding:64px 20px }
  .header .nav.wrap { padding-inline:18px; gap:12px }
  .header .nav { height:72px }
  .header .brand { font-size:24px; gap:8px }
  .header .brand small { font-size:6px; letter-spacing:.12em }
  .header .brand-mark { font-size:29px }
  .header .navright { gap:10px }
  .header .navlinks { top:72px; padding:16px 20px 22px }
  .menu-toggle { border-color:#c8f5b94d; background:#b1e8ae0a }

  /* A compact cinematic introduction with the scene still below the copy. */
  .forest-hero { height:1110px; min-height:1110px }
  .forest-hero .hero-grid { padding:100px 22px 0 }
  .forest-hero h1.slime-title { width:min(320px,100%); margin-bottom:10px }
  .forest-hero .hero-copy>p { font-size:14px; line-height:1.65 }
  .forest-hero .actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:20px }
  .forest-hero .actions .button { padding:12px 10px; font-size:12px; min-height:50px; gap:8px }
  .forest-viewport { top:460px; bottom:70px }
  .forest-shade { background:linear-gradient(#030b0b 0%,#030b0b 37%,#030b0b66 46%,transparent 62%,#030b0b 99%) }
  .forest-hero .hero-bottom>a { max-width:95px }
  .forest-rays i:nth-child(n+2) { display:none }
  .forest-hero .hero-copy { transform:none }
  .floating-deck { bottom:22% }
  .deck-hint { bottom:20% }

  /* Type and spacing are made for reading at arm's length. */
  .section-head h2,.edition-copy h2,.faq-heading h2 { font-size:clamp(32px,9vw,42px); line-height:1.08 }
  .section-head>p,.step p,.power p,.faq details p { font-size:14px; line-height:1.7 }
  .eyebrow,.section-head .eyebrow,.edition-copy .eyebrow { font-size:10px; line-height:1.7 }
  .section-head { margin-bottom:28px }
  .lab-result p { font-size:14px }
  .lab-table { padding:14px; gap:18px }
  .answer-choice { min-height:130px }
  .power-strip { gap:24px }
  .power { min-height:240px }
  .power .power-hint { font-size:11px }
  .power-foot,.rules-section .mini-note { font-size:11px; line-height:1.7 }
  .faq summary { font-size:16px; min-height:56px; line-height:1.5 }
  .reveal-ready { transform:translateY(12px); transition:opacity .4s,transform .4s }
  .reveal-ready.is-visible { transform:none }

  /* Two fine frames and a lit plinth, with no fixed-height clipping. */
  .collection-section { padding-block:56px }
  .edition-grid { gap:32px }
  .edition-visual {
    height:auto; min-height:0; max-width:440px; padding:14px;
    display:flex; flex-direction:column; border-radius:24px;
    border:1px solid #c6ebaa66;
    background:radial-gradient(ellipse at 50% 45%,#39512b75,transparent 65%),linear-gradient(145deg,#112a1d,#06130f 80%);
    box-shadow:inset 0 1px 0 #e8ffd44a,0 20px 45px #0005;
  }
  .edition-visual:before {
    inset:7px; width:auto; height:auto; border-radius:18px;
    border:1px solid #c3e9aa25; transform:none; animation:none;
    box-shadow:none; pointer-events:none; z-index:0;
  }
  .edition-expand {
    position:relative; inset:auto; order:2; align-self:stretch;
    min-height:48px; margin:14px 3px 3px; padding:12px;
    font:600 13px/1.4 var(--sans); letter-spacing:0;
    background:linear-gradient(115deg,#d5ff8c24,#69e1bc0f);
    border:1px solid #d5ffa270; border-radius:10px;
    box-shadow:inset 0 1px 0 #edffcf38; backdrop-filter:none;
  }
  .edition-expand span { margin-left:14px; color:#d4ff91 }
  .edition-visual #box-viewer { position:relative; z-index:1; width:100% }
  .edition-visual .box-display { padding:6px 0 0; overflow:visible }
  .edition-visual .box-overline {
    display:block; padding:7px 8px 0; margin:0 auto; max-width:280px;
    font:10px/1.65 monospace; letter-spacing:.08em; color:#d2e7b3;
  }
  .edition-visual .box-stage,.product .box-stage,.box-reveal .box-stage {
    --bw:190px; --bh:256.5px; --bd:88px;
    height:330px; perspective:1100px; perspective-origin:50% 43%;
  }
  .edition-visual .back-print,.product .back-print,.box-reveal .back-print { transform:scale(.3392857) }
  .edition-visual .box-stage:before {
    width:72%; height:44px; bottom:12px; filter:none;
    border:1px solid #d5fba54a; transform:none;
    background:radial-gradient(ellipse,#080f0b99 12%,#b1e77921 48%,transparent 73%);
    box-shadow:0 6px 20px #0006;
  }
  .edition-visual .box-front { box-shadow:inset 0 0 0 2px #e3cb8899,0 14px 24px #0005 }
  .box-display #box-help,.edition-visual .box-display #box-help,.box-reveal .box-display #box-help {
    font-size:12px; line-height:1.5; margin:4px 4px 14px; color:#bccdb8;
  }
  .box-controls {
    display:grid; grid-template-columns:1fr 1fr 1.45fr; gap:6px;
    padding:5px; border:1px solid #c2e5a92b; border-radius:13px; background:#020c0966;
  }
  .box-controls button,.box-reveal .box-controls button {
    min-width:0; min-height:46px; padding:10px 5px; font-size:12px; line-height:1.2;
    border:1px solid transparent; border-radius:8px; background:transparent; color:#c3d2be;
  }
  .box-controls button[aria-pressed=true] {
    background:linear-gradient(135deg,#d3ff9933,#99ebbe13); border-color:#c8ef9966; color:#f3ffe7;
    box-shadow:inset 0 1px 0 #ebffd126;
  }
  .box-controls button:focus-visible,.edition-expand:focus-visible { outline:2px solid #d9ffa1; outline-offset:2px }
  .box-controls button:active,.edition-expand:active { background:#cbf79a38; border-color:#e3ffc2 }
  .box-read,.edition-visual .box-read,.box-reveal .box-read {
    font-size:12px; min-height:44px; padding:12px 4px 6px; margin-top:5px; color:#cee7b4;
  }
  .edition-copy { padding:0 2px }
  .edition-copy h2 { margin:18px 0 20px }
  .edition-copy>p { font-size:15px; line-height:1.7; max-width:none }
  .edition-price { padding-top:20px; border-top:1px solid #c3e9aa2e; margin-top:24px }
  .edition-price>strong { font-size:36px }
  .edition-copy .edition-bonus { font-size:13px; line-height:1.7 }
  .edition-copy .edition-timing,.edition-copy .availability { font-size:12px; line-height:1.6 }
  .edition-copy>.button { display:flex; width:100%; min-height:52px; font-size:14px }
  .product .box-display { padding:20px 14px; border-color:#c6ebaa66 }

  /* The full-screen reveal keeps its close button and all controls reachable. */
  .box-reveal { width:calc(100vw - 16px); height:calc(100dvh - 16px); border-radius:20px }
  .reveal-layout { padding:62px 16px 28px; gap:16px }
  .reveal-close { top:12px; right:12px; min-height:44px; background:#10251df5; backdrop-filter:none }
  .reveal-scene { min-height:0; max-width:400px }
  .reveal-copy { padding:0 4px }
  .reveal-copy>p,.reveal-copy .reveal-gesture { font-size:14px }
  .reveal-copy .eyebrow { font-size:10px }
  .reveal-copy h2 { font-size:38px }
  .reveal-specs span,.reveal-availability { font-size:11px }
  .reveal-portal { bottom:155px; height:100px; opacity:.65 }
  .reveal-particles { bottom:190px }
  .reveal-portal i { animation:none }
  .box-reveal::backdrop { backdrop-filter:none }
  .box-reveal[open] .portal-product { animation:mobile-box-arrive .65s cubic-bezier(.16,1,.3,1) both }
  @keyframes mobile-box-arrive {
    from { opacity:0; transform:translate3d(0,40px,0) scale(.9) }
    to { opacity:1; transform:none }
  }
  /* Keep the global motion preference away from reading and product controls. */
  .motion-control {
    position:static; width:max-content; margin:0 20px 24px auto;
    min-height:44px; padding:12px 14px; font-size:12px; backdrop-filter:none;
  }
  .footer { padding-bottom:28px }
  .toast { bottom:calc(16px + env(safe-area-inset-bottom)); font-size:13px }
}
@media (max-width:360px) {
  .header .nav.wrap { padding-inline:14px }
  .header .brand { font-size:21px }
  .forest-hero .hero-grid { padding-inline:18px }
  .forest-hero .actions .button { font-size:11px }
  .edition-visual .box-stage,.product .box-stage,.box-reveal .box-stage { --bw:170px; --bh:229.5px; --bd:79px; height:300px }
  .edition-visual .back-print,.product .back-print,.box-reveal .back-print { transform:scale(.3035714) }
  .box-controls button,.box-reveal .box-controls button { font-size:11px }
}
@media (max-width:700px) and (prefers-reduced-motion:reduce) {
  .box-reveal[open] .portal-product,.reveal-ready { animation:none; transition:none; transform:none }
}
