/* 狀態玩家 v1.1「燈下」home page (spec /workspace/plans/healing/spec-design-v1.1-atami.md; mockup atami-v1-1, Bevis 2026-10-21).
   Only the home page loads this file; /privacy, /404 and /admin keep styles.css and tokens.css.
   Hard rules: viewport locked + touch-action: manipulation (Bevis v4.2); every field ≥ 16px; nowrap only on ≤ 8-character
   phrases (hero lines, choice labels; never the budget labels); no overflow-x: hidden on body (iOS ignores it);
   one breakpoint (960px) plus a < 360px tweak. Checked by scripts/layout-v4.mjs in WebKit + Chromium at 320/390/1440. */
:root {
  --bg: #FAFAFA; --ink: #333333; --on: #E6E6E6; --dark: #1A1A1A; --foot: #222222; --muted: #6B6B6B; --muted-d: #A6A6A6;
  --seal: #EA4D10; --amber: #C8783A; --hair: rgba(34, 34, 34, .16); --hair-d: rgba(230, 230, 230, .18);
  --box: rgba(230, 230, 230, .45); --err: #F2A17E;
  --ease: cubic-bezier(.07, .36, .66, .97); --ease2: cubic-bezier(.14, .62, .48, .99);
  --serif: "ZT Num", "ZT Mincho", "Noto Serif TC", "Noto Serif CJK TC", "Songti TC", "PMingLiU", serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { touch-action: manipulation; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--serif); font-weight: 500; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.8;
  font-variant-numeric: lining-nums tabular-nums; }
h1, h2, h3, h4, legend { font-weight: 500; font-size: inherit; }
p { word-break: keep-all; line-break: strict; overflow-wrap: anywhere; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 300; background: #333; color: #fff; padding: 10px 16px; font-size: 16px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

/* opening (spec §4): logo blur-in 700ms, the layer fades at 950ms for 500ms; motion.js removes it at 1500ms */
#opening { display: none; }
.opening #opening { display: flex; position: fixed; inset: 0; z-index: 200; background: var(--bg); align-items: center; justify-content: center;
  animation: op-out 500ms cubic-bezier(.09, .36, .63, 1) 950ms forwards; }
#opening img { width: 108px; height: auto; opacity: 0; filter: blur(5px); animation: op-in 700ms var(--ease) forwards; }
@keyframes op-in { to { opacity: 1; filter: blur(0); } }
@keyframes op-out { to { opacity: 0; visibility: hidden; } }

/* header */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 100; pointer-events: none; }
.logo { position: absolute; top: 16px; left: 8px; width: 72px; pointer-events: auto; transition: opacity .4s; }
.logo img { width: 100%; height: auto; transition: opacity .4s; }
.logo .b { position: absolute; inset: 0; opacity: 0; }
.hd.on-light .logo .b, .nav-open .logo .b { opacity: 1; }
.hd.on-light .logo .w, .nav-open .logo .w { opacity: 0; }
.logo:hover { opacity: .5; }
.menu { position: absolute; top: 18px; right: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-width: 48px; min-height: 48px; background: none; border: 0; color: #fff; font-size: 16px; cursor: pointer; pointer-events: auto; transition: color .4s; }
.hd.on-light .menu, .nav-open .menu { color: var(--ink); }
.menu svg { width: 48px; height: 3px; transition: translate .4s cubic-bezier(.4, .4, 0, 1); }
.menu em { font-style: normal; font-size: 12px; line-height: 1; margin-top: 2px; }
.menu:hover svg:first-child { translate: 0 3px; }
.menu:hover svg:nth-of-type(2) { translate: 0 -3px; }
#menu-panel { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 104px 24px 64px; overflow: auto; }
#menu-panel[hidden] { display: none; }
#menu-panel ul { max-width: 1100px; margin: 0 auto; }
#menu-panel li { border-bottom: 1px solid var(--hair); }
#menu-panel a { display: block; padding: 14px 0; font-size: 16px; }
#menu-panel a:hover { opacity: .5; }

/* 「挑一天」 tab: on screen from the first view; steps aside over the form, with the keyboard up, or under the menu */
.tab { position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; height: 48px; background: #333; color: var(--on);
  display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 16px; transition: background .3s, opacity .3s, visibility .3s; }
@media (hover: hover) { .tab:hover { background: #4a4a4a; } }
.tab svg { width: 16px; height: 16px; }
.tab b { display: block; width: 1px; height: 12px; border-left: 1px dotted rgba(230, 230, 230, .8); }
.nav-open .tab, .in-book .tab, .keyboard-open .tab { opacity: 0; visibility: hidden; }

/* photos and placeholders (a slot waiting for its photo is a dark block of the same size) */
.photo, .photo img, .ph { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.ph { background: linear-gradient(160deg, #2a2a2a, #141414); }

/* hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #000; color: var(--on); }
.hero > .photo, .hero > .ph { position: absolute; inset: 0; }
.hero .photo img { animation: kb 9s var(--ease2) both; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .22) 30%, rgba(0, 0, 0, .22) 60%, rgba(0, 0, 0, .62)); }
.hero h1 { position: absolute; z-index: 2; top: 22%; right: 56px; display: flex; flex-direction: row-reverse; gap: 16px; font-size: 30px; line-height: 1; letter-spacing: .06em; }
.hero h1 span { writing-mode: vertical-rl; white-space: nowrap; }
.hero h1 span + span { margin-top: 3em; }
.hero h1::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 260%; height: 150%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); pointer-events: none; }
.scroll { position: absolute; z-index: 2; right: 11px; bottom: 64px; writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .08em; color: #F2F2ED; line-height: 1; }
.scroll::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 64px; height: 150%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); pointer-events: none; }
.scroll .ar { display: inline-block; animation: ar 2.3s cubic-bezier(.05, .42, .41, .99) 4; }
@keyframes ar { 0% { transform: translateY(-4px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(6px); opacity: 0; } }

/* split: three slides, 「16:00 到 22:00」「先聊聊—再晚餐」「一天—一組」 (spec §2 #4) */
.split { position: relative; background: #fff; }
.stage { position: relative; height: 544px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: #111; color: var(--on); }
.stage .h { position: relative; overflow: hidden; }
.stage .h img { transition: opacity 1200ms var(--ease), transform 1600ms var(--ease2); }
.stage .h:nth-child(2) img { transition-delay: 300ms; }
.stage::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .52); }
.pair { position: absolute; z-index: 2; inset: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; }
.pair .num { font-size: 34px; line-height: 1; }
.pair .c { font-size: 24px; line-height: 1; }
.mark { position: absolute; z-index: 3; top: 40px; left: 50%; transform: translateX(-50%); writing-mode: vertical-rl; font-size: 32px; line-height: 1; letter-spacing: .1em; }
.pair .w { font-size: 32px; line-height: 1; }
/* The 1px line between a word pair; screen readers read the visually-hidden 「—」. */
.pair .rule { display: block; position: relative; font-size: 32px; width: 1px; height: 1.2em; margin: 0 .4em; background: currentColor; opacity: .6; justify-self: center; }
.pager { position: absolute; z-index: 3; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px;
  font-family: "ZT Num", Georgia, serif; font-size: 12px; line-height: 1.2; }
.pager i { display: block; width: 84px; height: 1px; background: var(--on); }
.pager::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 150%; height: 260%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); pointer-events: none; }
.js .rv-img:not(.in) img { opacity: 0; transform: scale(1.04); }

/* 三站 */
.bands { background: #000; }
.band { position: relative; height: calc(100vw * 286 / 390); max-height: 420px; overflow: hidden; color: var(--on); }
.band > .photo, .band > .ph { position: absolute; inset: -40px 0; height: calc(100% + 80px); }
.band .photo img { will-change: transform; filter: brightness(.8); }
.band::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 50%), linear-gradient(90deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .34) 45%, rgba(0, 0, 0, .34) 62%, rgba(0, 0, 0, .66)); }
.band .hd3 { position: absolute; z-index: 2; right: 24px; top: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.band .no { font-size: 13px; line-height: 1; }
.band h2 { writing-mode: vertical-rl; font-size: 24px; line-height: 1; }
.band p { position: absolute; z-index: 2; left: 24px; bottom: 24px; font-size: 15px; line-height: 1.7; max-width: calc(100% - 96px); }
.band p span { display: block; }

/* 導師 */
.mentor { padding: 104px 24px; }
.frame { position: relative; max-width: 1040px; margin: 0 auto; height: 620px; overflow: hidden; color: var(--on); background: #111;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; }
.frame > .photo, .frame > .ph { position: absolute; inset: 0; }
.frame > .photo img { object-position: 50% 40%; }
.frame::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.frame > *:not(.photo):not(.ph) { position: relative; z-index: 2; }
.tag { display: flex; flex-direction: column; align-items: center; font-size: 15px; line-height: 1; }
.tag span { writing-mode: vertical-rl; }
.tag .t { margin: 6px 0; }
.cols { display: flex; flex-direction: row-reverse; justify-content: center; align-items: flex-start; gap: 18px; font-size: 28px; line-height: 1; }
.cols span { writing-mode: vertical-rl; }
.cols .tcy { text-combine-upright: all; -webkit-text-combine: horizontal; } /* 「30」 upright in one cell (Bevis 2026-10-22) */

/* 預約 */
.book { position: relative; color: var(--on); padding: 104px 24px 64px; overflow: hidden; background: var(--dark); color-scheme: dark; }
.book::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 26, 26, .45), rgba(26, 26, 26, .92) 32%, var(--dark)); }
.book > .photo, .book > .ph { position: absolute; inset: 0; opacity: .4;
  -webkit-mask-image: linear-gradient(#000, #000 22%, transparent 48%); mask-image: linear-gradient(#000, #000 22%, transparent 48%); }
.book > *:not(.photo):not(.ph) { position: relative; z-index: 2; }
.book > h2 { display: flex; justify-content: center; font-size: 28px; line-height: 1; }
.book > h2 span { writing-mode: vertical-rl; }
.invite[hidden] { display: none; }
/* Anything the form scrolls to (step change, first error, a field) lands below the fixed logo + 選單 (phone logo ends at 101px). */
.booking > .invite, .booking .field, .booking .step-title, .booking .nav, #success-card { scroll-margin-top: 120px; }
form, .success { max-width: 560px; margin: 56px auto 0; }
.banner { border: 1px solid var(--box); padding: 12px 16px; margin: 0 auto 24px; max-width: 560px; }

/* progress: 4 lines + 「第 N 步，共 4 步」 (step names stay in the visually-hidden text) */
.progress-row { display: flex; align-items: center; gap: 14px; }
.stepper { display: flex; gap: 4px; }
.stepper li { width: 18px; height: 1px; background: rgba(230, 230, 230, .3); }
.stepper li.done, .stepper li[aria-current] { height: 2px; background: var(--on); }
.progress { font-size: 15px; line-height: 1.6; }
.step { display: block; border: 0; margin-top: 28px; min-width: 0; }
.step[hidden] { display: none; }
.step-title { font-size: 22px; line-height: 1.4; padding-bottom: 16px; border-bottom: 1px solid var(--hair-d); margin-bottom: 24px; }
.field { margin-bottom: 28px; border: 0; min-width: 0; }
.field[hidden], .conditional[hidden], .error[hidden], .help[hidden] { display: none; }
.field > legend, .field > label, .field > .label { display: block; font-size: 16px; line-height: 1.6; margin-bottom: 10px; padding: 0; }
.req, .opt { font-size: 13px; color: var(--muted-d); margin-left: 2px; white-space: nowrap; }
.help { font-size: 14px; line-height: 1.7; color: var(--muted-d); margin: -4px 0 12px; }
.error { font-size: 14px; line-height: 1.7; color: var(--err); margin: -4px 0 12px; }
.form-error { border: 1px solid var(--err); color: var(--err); padding: 12px 16px; font-size: 15px; margin-top: 24px; }
.form-error[hidden] { display: none; }
.conditional { margin: 20px 0 0; padding-left: 16px; border-left: 1px solid var(--hair-d); }
.sub-title { font-size: 18px; line-height: 1.4; margin: 8px 0 20px; }

/* choices: 2 columns (3 for 一個人旅行 and 喝酒); 1px boxes, the radio covers the box; picked = --on ground */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.choices[data-name="solo"], .choices[data-name="drink"], .choices[data-name="friendDrink"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px 10px; border: 1px solid var(--box);
  font-size: 16px; line-height: 1.3; text-align: center; white-space: nowrap; transition: background .3s, color .3s; }
[data-name="budgetTier"] .choice span { white-space: normal; }
@media (hover: hover) { .choice:hover span { background: rgba(230, 230, 230, .08); } }
.choice input:checked + span { background: var(--on); color: var(--dark); border-color: var(--on); }
.choice input:focus-visible + span { outline: 2px solid var(--seal); outline-offset: 2px; }
.choices[aria-invalid="true"] .choice span { border-color: var(--err); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea { display: block; width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid var(--box); border-radius: 0; background: transparent; color: var(--on); font-size: 16px; line-height: 1.6; }
select { appearance: none; -webkit-appearance: none; padding-right: 30px; background: no-repeat right 10px center / 14px 14px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%23E6E6E6' stroke-width='1.5'/%3E%3C/svg%3E"); }
select option { color: var(--ink); background: var(--bg); }
textarea { min-height: 84px; resize: vertical; field-sizing: content; }
::placeholder { color: #8C8C8C; opacity: 1; }
[aria-invalid="true"]:is(input, select, textarea) { border-color: var(--err); }
.count { font-size: 13px; color: var(--muted-d); text-align: right; margin-top: 6px; }
.amount { max-width: 240px; }
.date-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.mini { display: block; min-width: 0; }
.mini > span { display: block; font-size: 13px; color: var(--muted-d); line-height: 1.6; margin-bottom: 4px; }
.leap { margin: 16px 0 0; }
.check-label { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 0; font-size: 16px; line-height: 1.5; cursor: pointer; }
.check-label input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--amber); }

/* calendar: circles, an amber dot under open days, the picked day amber with dark digits */
.calendar { border-top: 1px solid var(--hair-d); border-bottom: 1px solid var(--hair-d); padding: 6px 0 14px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-title { font-size: 17px; }
.cal-nav { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--on); cursor: pointer; }
.cal-nav[hidden] { display: flex; visibility: hidden; }
.cal-nav svg { width: 20px; height: 20px; }
.cal-grid { width: 100%; table-layout: fixed; border-collapse: collapse; }
.cal-grid th { font-size: 14px; font-weight: 500; line-height: 34px; color: #C8C8C8; text-align: center; border-bottom: 1px solid rgba(230, 230, 230, .14); padding-bottom: 0; }
.cal-grid thead tr::after { content: none; }
.cal-grid tbody tr:first-child td { padding-top: 8px; }
.cal-grid td { text-align: center; padding: 1px 0; vertical-align: middle; }
.cal-day { cursor: default; }
.cal-day.open { cursor: pointer; }
.cal-day .num { position: relative; display: inline-flex; align-items: center; justify-content: center; width: min(44px, 100%); aspect-ratio: 1; border-radius: 50%;
  font-size: 18px; line-height: 1; color: rgba(230, 230, 230, .38); }
.cal-day.open .num { color: var(--on); }
.cal-day.open .num::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); }
/* hover tint only with a real pointer, never on the selected day (iOS keeps :hover after a tap: design review P1). */
@media (hover: hover) { .cal-day.open:not(.selected):hover .num { background: rgba(230, 230, 230, .1); } }
.cal-day.selected .num { background: var(--amber); color: #1A1A1A; }
.cal-day.selected .num::after { display: none; }
.cal-day:focus { outline: none; }
.cal-day:focus-visible .num { outline: 2px solid var(--seal); outline-offset: 2px; }
.cal-mark { display: block; height: 0; overflow: hidden; font-size: 0; }
.cal-day.booked .cal-mark { width: 12px; height: 1px; margin: -6px auto 5px; background: var(--muted-d); }
.cal-skel { height: 46px; }
.cal-legend { display: flex; gap: 20px; font-size: 13px; color: var(--muted-d); margin-top: 12px; }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.cal-legend .open .swatch { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.cal-legend .booked .swatch { width: 12px; height: 1px; background: var(--muted-d); }
.cal-note, .date-status { font-size: 14px; line-height: 1.7; color: var(--muted-d); margin-top: 10px; }
.cal-note:empty, .date-status:empty { display: none; }

/* 上一步／下一步 */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair-d); }
.link-button { min-height: 48px; padding: 0 4px; border: 0; background: none; font-size: 16px; text-decoration: underline; text-underline-offset: 6px; cursor: pointer; }
.link-button[hidden] { display: block; visibility: hidden; }
.button.primary { display: flex; align-items: center; justify-content: center; gap: 20px; min-width: 200px; height: 52px; padding: 0 28px; margin-left: auto;
  background: #FAFAFA; color: #333; border: 0; border-radius: 0; font-size: 18px; cursor: pointer; transition: opacity .3s; }
.button.primary[hidden] { display: none; }
.button.primary:hover { opacity: .8; }
.button.primary b { display: block; width: 1px; height: 14px; border-left: 1px dotted #333; }
.button.primary svg { width: 16px; height: 16px; }
.button.primary.is-sending { opacity: .7; cursor: progress; }
.submit-slow, .privacy-line { flex-basis: 100%; font-size: .8125rem; line-height: 1.7; color: var(--muted-d); text-align: right; }
.submit-slow[hidden], .privacy-line[hidden] { display: none; }
#field-turnstile { min-height: 0; }

/* 成功頁 */
.success-card { padding: 32px 0 8px; border-top: 1px solid var(--hair-d); }
.success-card h3 { font-size: 22px; line-height: 1.4; margin-bottom: 16px; }
.success-ref { font-size: 15px; margin-bottom: 8px; }
.success-ref[hidden] { display: none; }
.success-mail { font-size: 15px; }
.success-email { display: block; overflow-wrap: anywhere; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button.secondary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px;
  border: 1px solid var(--box); background: transparent; color: var(--on); font-size: 16px; cursor: pointer; transition: background .3s; }
@media (hover: hover) { .button.secondary:hover { background: rgba(230, 230, 230, .08); } }
.button.secondary .icon { width: 18px; height: 18px; }
.success.rising { animation: rise 600ms var(--ease2) both; }
@keyframes rise { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* footer */
/* Footer (designer 2026-10-21 22:52): no logo; a 1px line, then the one link, 44px tall. 下一步 → line: 64px (phone) / 96px (≥960). */
.ft { background: var(--foot); color: var(--on); padding: 32px 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .12); }
.ft .row { font-size: 13px; }
.ft .row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted-d); }
.ft .row a:hover { opacity: .5; }

/* reveal (spec §4): only with JS; without it everything is simply there */
.rv { transition: opacity 1200ms var(--ease2), filter 1200ms var(--ease2), translate 1200ms var(--ease2); }
.js .rv:not(.in) { opacity: 0; filter: blur(5px); translate: 0 10px; }

@media (max-width: 359px) {
  .hero h1 { right: 40px; font-size: 27px; }
  .cols { font-size: 24px; gap: 10px; } /* the seven 引路人 columns fit the photo at 320 */
  [data-name="budgetTier"] .choice span { font-size: 15px; padding: 8px 6px; }
}
@media (min-width: 960px) {
  body { font-size: 18px; }
  .logo { top: 32px; left: 24px; width: 108px; }
  .menu { top: 32px; right: 32px; }
  .menu svg { width: 72px; height: 4px; }
  .menu em { font-size: 16px; margin-top: 4px; }
  .tab { left: auto; right: 0; bottom: 10px; width: 51px; height: auto; flex-direction: column; padding: 24px 16px; gap: 14px; font-size: 18px; }
  .tab span { writing-mode: vertical-rl; line-height: 1; }
  .tab b { width: 12px; height: 1px; border-left: 0; border-top: 1px dotted rgba(230, 230, 230, .8); }
  .hero h1 { top: 24%; right: 22%; font-size: min(44px, 5.2vh); gap: 24px; }
  .scroll { right: 80px; bottom: 32px; font-size: 16px; gap: 16px; }
  .hero h1::before { width: 300%; height: 160%; background: radial-gradient(closest-side, rgba(0, 0, 0, .66), rgba(0, 0, 0, .4) 60%, rgba(0, 0, 0, 0)); }
  .scroll::before { width: 96px; }
  .stage { height: 100vh; min-height: 640px; }
  .pair .num { font-size: 58px; }
  .pair .c { font-size: 40px; }
  .mark { top: 112px; font-size: 56px; }
  .pair .w, .pair .rule { font-size: 56px; }
  .pager { left: 31px; top: 50%; bottom: auto; transform: translateY(-50%); flex-direction: column; font-size: 16px; gap: 12px; }
  .pager i { width: 1px; height: 160px; }
  .pager::before { width: 260px; height: 150%; background: radial-gradient(closest-side, rgba(0, 0, 0, .42), rgba(0, 0, 0, .2) 55%, rgba(0, 0, 0, 0)); }
  .band { height: 384px; max-height: none; }
  .band .hd3 { right: 88px; top: auto; bottom: 56px; }
  .band .no { font-size: 16px; }
  .band h2 { font-size: 32px; }
  .band p { left: 88px; bottom: 56px; font-size: 19px; }
  .tag { font-size: 19px; }
  .cols { font-size: 40px; gap: 24px; }
  .mentor { padding: 180px 24px; }
  .frame { height: 760px; gap: 56px; }
  .book { padding: 160px 24px 96px; }
  .booking > .invite, .booking .field, .booking .step-title, .booking .nav, #success-card { scroll-margin-top: 176px; } /* desktop logo ends at 160px */
  .book > h2 { font-size: 40px; }
  form, .success { margin-top: 72px; }
  .step-title { font-size: 24px; }
  .ft { padding: 32px 84px calc(24px + env(safe-area-inset-bottom)); }
  #menu-panel { padding: 140px 120px; }
  #menu-panel ul { display: flex; flex-direction: row-reverse; justify-content: flex-start; gap: 40px; }
  #menu-panel li { border: 0; }
  #menu-panel a { writing-mode: vertical-rl; font-size: 22px; padding: 0; }
}
/* reduced motion or ?static (spec §4): no animation or transition at all; reveals are shown (motion.js adds .in) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.static { scroll-behavior: auto; }
