.hud .hud-index {
  justify-content: center;
  column-gap: .65em;
  padding-inline: 1.1em;
}
.hud-index__label { letter-spacing: .01em; line-height: 1.2; }

/* Three service cards use the same paper faces, reverse sides and flip poses as the film. */
.index__track {
  --cw: min(22vw, 250px, calc((100dvh - 150px) / 1.52));
  grid-template-columns: repeat(3, var(--cw));
  gap: calc(19 * var(--u));
  align-content: center;
}
/* The original red italic headings use Trace Brush in Chinese translation. */
@font-face {
  font-family: "Service Brush";
  src: url("./assets/service-script-zh.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Service Song";
  src: url("./assets/service-caption-zh.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
.index, .service-page {
  --service-script: "Instrument Serif", "Service Brush", "Trace Brush", "Xingkai SC", STKaiti, KaiTi, serif;
  --service-body: "Bricolage Grotesque Variable", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
/* The flip has four discrete poses. Select the painted side explicitly so the
   Index's circular clip cannot flatten the reversed side over the art in WebKit. */
.index-card__back { display: none; -webkit-backface-visibility: visible; backface-visibility: visible; }
.index-card:is([data-flip="3"], [data-flip="4"]) .index-card__back { display: block; }
.index-card:is([data-flip="3"], [data-flip="4"]) .index-card__face { visibility: hidden; }
.service-motion, .service-motion img { display: block; width: 100%; height: 100%; }
.index-card__n { font-family: var(--service-script); font-weight: 400; }
.index-card__t {
  font-family: "Service Song", "Songti SC", SimSun, serif;
  font-weight: 500;
  letter-spacing: .025em;
  white-space: nowrap;
}
.index-card:focus-visible .index-card__face { outline: 3px solid var(--ink); outline-offset: 3px; }

.service-page {
  position: fixed; inset: 0; z-index: 50; overflow: auto; overscroll-behavior: contain;
  display: grid; align-items: safe center; justify-items: center;
  background: #c7963c url("./assets/hub2-wall-Gd3f23A-.webp") 0 0 / auto 50vh;
  color: var(--ink); font-family: var(--service-body);
  padding: max(104px, 13vh) var(--pad) max(30px, 5vh);
  box-sizing: border-box;
}
.service-page[hidden], .service-page [hidden] { display: none; }
body.service-active .hud-watch, body.service-active .hud-crumb, body.service-active .hud-hint,
body.service-active .dot { visibility: hidden !important; pointer-events: none; }
body.service-active:not(.index-open) .hud { --hud-fg: #201e1f; --hud-bg: #f3ead8; }
.service-sheet { width: min(100%, 880px); min-width: 0; background: #f3ead8; border-radius: 16px; box-sizing: border-box; }
.service-sheet h1, .service-sheet h2, .service-sheet p { margin: 0; }
.service-sheet h1:focus { outline: none; }
/* The two leaves of the lookup dossier fold into one slip on narrow screens. */
.service-page[data-route="query"] {
  background: #9d9d88 url("./assets/query-desk.webp") center / 176px 88px;
  padding: max(110px, 13svh) max(16px, 4vw) max(32px, 6svh);
}
.query-sheet {
  --paper: #eee9e3 url("./assets/query-paper.webp") center / 186px 105px;
  --ticket: #bb412e url("./assets/query-ticket.webp") center / 168px 89px;
  --rule: #bd5946;
  --rim: clamp(7px, .75vw, 13px);
  --gutter: clamp(15px, 1.8vw, 32px);
  position: relative; isolation: isolate; display: grid; grid-template-columns: 46% 54%;
  width: min(84vw, 154svh, 1480px, 100%); padding: var(--rim);
  border-radius: 2px; color: #222120; background: var(--paper);
  box-shadow: 1px 2px 2px #322c254d, 8px 17px 22px -5px #2c2b2570;
}
.query-sheet::before, .query-sheet::after {
  content: ""; position: absolute; inset: 1% .5% -.5%; z-index: -2; pointer-events: none;
  border: 1px solid #c4bbb0; background: var(--paper); box-shadow: 1px 2px 2px #38302840;
  transform: rotate(-1.15deg);
}
.query-sheet::after { inset: -.8% 1% .5%; transform: rotate(1deg); }
.query-tab {
  position: absolute; z-index: -1; left: 46%; right: 11%; bottom: 100%;
  height: clamp(16px, 2.8vw, 40px); background: var(--ticket);
  clip-path: polygon(0 93%, 55% 76%, 58% 71%, 61% 8%, 63% 0, 94% 0, 95% 3%, 100% 100%, 0 100%);
}
.query-pocket-page {
  position: relative; overflow: hidden; margin-right: var(--rim); aspect-ratio: 1 / 1.05;
  border: 1px solid var(--rule); background: var(--paper);
}
.query-pocket {
  position: absolute; left: 0; right: 0; bottom: 0; height: 36%;
  background: #53626f url("./assets/query-pocket.webp") center / 190px 174px;
  box-shadow: inset 0 1px 1px #f0f4ec80, inset 0 -2px 2px #2531388a;
  mask: radial-gradient(ellipse 10% 21% at 50% 0, transparent 97%, #000 100%);
  pointer-events: none;
}
.report-card {
  position: absolute; top: 17%; left: 6%; width: 89%; aspect-ratio: 1.52;
  transform: rotate(3.6deg); perspective: 900px; touch-action: pan-y; user-select: none;
}
.report-metal { position: relative; height: 100%; isolation: isolate; overflow: hidden; border-radius: 24px;
  background: linear-gradient(58deg, #222224 3%, #343435 31%, #828283 48%, #49494a 64%, #363638 90%);
  background-size: 160% 100%; background-position: center;
  box-shadow: 0 8px 13px -4px #1617188c, 0 1px 3px #17171980; }
@media (prefers-reduced-motion: no-preference) { .report-metal { opacity: 0; } }
.report-metal::after { content: ""; pointer-events: none; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #e8e8e773, inset 0 1px 1px #ffffff7a, inset 0 0 0 3px #18171c55; }
.report-metal canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.report-face {
  position: relative; box-sizing: border-box; display: flex; flex-direction: column;
  height: 78%; padding: 5% 7% 0; color: #f2f1ef; text-shadow: 0 1px 1px #1b1c1e80;
}
.report-head, .report-brand, .report-state, .report-foot { display: flex; align-items: center; }
.report-head, .report-foot { justify-content: space-between; gap: 10px; }
.report-head { font-size: clamp(12px, 1.35vw, 22px); line-height: 1.4; }
.report-brand { gap: .45em; font-weight: 600; }
.report-face svg { display: block; width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.report-state { gap: 6px; color: #ecebe9; }
.report-state::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #84d2a5; }
.report-state[data-state="empty"]::before { background: #c7b4a3; }
.report-identity { margin-block: auto; display: grid; gap: 3px; }
.report-identity strong { font: 600 clamp(24px, 2.9vw, 50px)/1.2 var(--service-body); letter-spacing: .045em; }
.report-identity span { color: #dddbd8; font-size: clamp(11px, .9vw, 15px); }
.report-foot { color: #e2e1de; }
.report-foot div { display: flex; align-items: baseline; gap: .65em; flex: 1; min-width: 0; border-top: 1px solid #c8c8c580; padding-top: 4px; }
.report-foot div > span { flex: none; font-size: clamp(10px, .75vw, 12px); }
.report-foot b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 clamp(11px, .95vw, 15px)/1.3 ui-monospace, monospace; }
.report-seal { font-size: clamp(17px, 1.9vw, 32px); }
.query-entry { min-width: 0; display: flex; flex-direction: column; position: relative; border-left: 1px solid #b5a99d; background: var(--paper); }
.query-sheet h1 {
  margin: var(--rim) var(--rim) 0; padding: clamp(12px, 1.7vw, 26px) calc(var(--gutter) - var(--rim));
  border-block: 1px solid var(--rule); font: 750 clamp(32px, 5vw, 84px)/1.2 var(--service-body); letter-spacing: -.045em;
}
.report-query { display: flex; flex-direction: column; flex: 1; }
.query-fields { flex: 1; padding: clamp(16px, 2.65vw, 44px) var(--gutter) 12px; }
.report-query label { display: block; margin-bottom: .58em; font: 650 clamp(17px, 1.85vw, 30px)/1.4 var(--service-body); }
.report-query input {
  display: block; width: 100%; min-width: 0; box-sizing: border-box; height: clamp(46px, 4.95vw, 79px);
  padding-inline: clamp(12px, 1.5vw, 24px); border: 1px solid #45413e; border-radius: 5px; background: transparent;
  color: #211f1d; font: 450 clamp(17px, 1.7vw, 28px)/1.4 var(--service-body);
}
.report-query input::placeholder { color: #716d68; }
.report-query .query-result { min-height: 1.5em; margin-top: 8px; color: #883729; font: 550 clamp(13px, 1vw, 16px)/1.5 var(--service-body); }
.query-ticket {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1em;
  width: 100%; min-height: clamp(64px, 7.55vw, 124px); padding: 9px var(--gutter) 4px;
  border: 0; border-radius: 0; background: var(--ticket); color: #fffaf4;
  font: 700 clamp(24px, 3.15vw, 52px)/1.2 var(--service-body); letter-spacing: .08em; cursor: pointer;
}
.query-ticket::before {
  content: ""; position: absolute; top: -6px; right: 0; left: 0; height: 5px;
  background: radial-gradient(ellipse 2.3px 1.7px at 50% 50%, #9d8c7e 65%, transparent 100%) center / 8px 5px repeat-x;
}
.query-ticket::after {
  content: ""; position: absolute; pointer-events: none; inset: -9px 0 auto; height: 18px;
  background: radial-gradient(circle at left, #b7ae9e 0, #d6cfc3 7px, transparent 8px),
              radial-gradient(circle at right, #b7ae9e 0, #d6cfc3 7px, transparent 8px);
}
.query-ticket span { font-size: 1.35em; font-weight: 400; line-height: 1; }
.query-ticket:hover { filter: brightness(.94); }
.query-ticket:active { filter: brightness(.87); }
.report-query input:focus-visible { outline: 2px solid #a73829; outline-offset: 2px; }
.query-ticket:focus-visible { outline: 2px solid #fff5e4; outline-offset: -6px; }
@media (max-width: 700px) {
  .service-page[data-route="query"] { padding: max(104px, 13svh) 5vw max(25px, 5svh, env(safe-area-inset-bottom)); }
  .query-sheet { --rim: 7px; --gutter: clamp(14px, 4.4vw, 20px); width: min(100%, 444px); grid-template-columns: minmax(0, 1fr); }
  .query-tab { left: 23%; right: 10%; height: 22px; }
  .query-pocket-page { margin: 3px 5px 0; aspect-ratio: 1.22; }
  .query-pocket { inset: auto 1.5% 5%; height: 28%; mask: radial-gradient(ellipse 9% 31% at 50% 0, transparent 97%, #000 100%); }
  .report-card { width: 86%; left: 7%; top: 14%; aspect-ratio: 1.67; }
  .report-face { height: 73%; padding-top: 4.8%; }
  .report-identity strong { font-size: clamp(23px, 7vw, 31px); }
  .query-entry { border-left: 0; margin-top: clamp(16px, 5vw, 23px); }
  .query-sheet h1 { margin-top: 0; font-size: clamp(32px, 11.25vw, 49px); padding-block: clamp(12px, 3.6vw, 17px); }
  .query-fields { padding-top: clamp(20px, 6vw, 28px); padding-bottom: clamp(12px, 5vw, 24px); }
  .report-query input { height: clamp(46px, 13vw, 56px); }
  .query-ticket { min-height: clamp(58px, 17.8vw, 80px); font-size: clamp(25px, 7.8vw, 36px); }
}
@media (max-width: 700px) and (max-height: 700px) {
  .service-page[data-route="query"] { padding-top: 79px; padding-bottom: 16px; }
  .query-pocket-page { aspect-ratio: 1.48; }
  .report-card { top: 6%; left: 11%; width: 79%; }
  .query-entry { margin-top: 13px; }
  .query-sheet h1 { padding-block: 9px; }
  .query-fields { padding-block: 14px 8px; }
  .query-ticket { min-height: 52px; }
}
@media (min-width: 701px) and (max-height: 540px) {
  .service-page[data-route="query"] { padding-block: 76px 18px; }
}
.service-photo { aspect-ratio: 1.04; border: 2px solid #d8402c; display: grid; place-items: end center; overflow: hidden; }
.service-photo img { width: 89%; height: 90%; object-fit: contain; }
.about-photo { background: #aebf76; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.service-copy { padding: 18px clamp(12px, 2vw, 24px) 18px 0; }
.service-copy h1 { color: #af3628; font-size: clamp(15px, 1.5vw, 19px); font-weight: 650; }
.service-copy h2 { margin: 12px 0 18px; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.1; letter-spacing: -.04em; font-family: var(--service-script); font-weight: 400; }
.service-copy p { line-height: 1.65; font-size: clamp(15px, 1.3vw, 18px); }
.service-copy p + p { margin-top: 12px; }
.service-page[data-route="about"] { border-top: max(80px, 11vh) solid transparent; padding-top: max(16px, 2vh); }
.about-sheet { padding: clamp(20px, 3.6vw, 46px); }
.about-intro { display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr); gap: clamp(24px, 3.5vw, 48px); align-items: center; }
.about-intro .service-copy { padding: 0; }
.about-intro .service-copy p, .about-section p, .about-notes dd { font-size: 16px; line-height: 1.8; }
.about-section { margin-top: 32px; padding-top: 25px; border-top: 1px solid #baaf9c; }
.about-section h2 { margin: 0 0 16px; font-size: clamp(22px, 2.2vw, 29px); line-height: 1.35; font-weight: 700; }
.about-notes { margin: 0; display: grid; gap: 14px; }
.about-notes > div { display: grid; grid-template-columns: 9em minmax(0, 1fr); column-gap: 18px; }
.about-notes dt, .about-evidence strong { color: #9d3628; font-size: 16px; line-height: 1.8; font-weight: 700; }
.about-notes dd, .about-evidence figure { margin: 0; }
.about-evidence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 20px 0; }
.about-instrument {
  position: relative; width: 100%; aspect-ratio: 1.9; overflow: hidden;
  box-sizing: border-box; background: #b3c9cf; border: 1px solid #c14e38;
}
.about-instrument img { display: block; box-sizing: border-box; width: 100%; height: 100%; object-fit: contain; padding: 5% 8% 13%; }
.about-evidence figure:nth-child(2) .about-instrument { background: #d9bfa7; }
.about-evidence figure:nth-child(3) .about-instrument { background: #b6c9ba; }
.about-signal { position: absolute; inset: auto 12% 6%; height: 12%; max-height: 16px; color: #28454b; overflow: hidden; }
.signal-replay { display: grid; align-content: space-evenly; }
.signal-replay i { position: relative; width: 100%; height: 1px; background: #71898a; }
.signal-replay i::after {
  content: ""; position: absolute; inset: -2px 0; transform: translateX(12%);
  background: linear-gradient(90deg, currentColor 0 5px, transparent 5px);
}
.signal-replay i:last-child::after { color: #9b392b; transform: translateX(75%); }
.signal-voice { display: flex; align-items: center; justify-content: center; gap: 3%; }
.signal-voice i { height: var(--peak); width: 3.5%; border-radius: 2px; background: #6c443a; }
.signal-turn { background: repeating-linear-gradient(90deg, #61766a 0 1px, transparent 1px 8.33%) center / 100% 45% no-repeat; }
.signal-turn i { display: block; height: 100%; transform: translateX(68%); }
.signal-turn i::before { content: ""; display: block; height: 100%; width: 4px; background: #993e2c; }
.about-evidence figcaption { margin-top: 8px; }
.about-evidence figcaption p { font-size: 15px; line-height: 1.6; }
.about-start p + p { margin-top: 10px; }
/* The perspective origin and both rope ends share the height of the eyelets. */
.service-page[data-route="reserve"] {
  overflow-x: hidden; align-items: start;
  padding-top: max(130px, calc(50svh - 220px));
}
.booking-sheet {
  --drop: clamp(48px, 7vh, 68px);
  --eye-y: 11px;
  --eye-inset: 14%;
  --nail-inset: 21%;
  --column: min(364px, calc(100% - 20px));
  position: relative; width: min(100%, 550px); background: none;
  --board-depth: 1400px;
}
.booking-hangers {
  position: absolute; z-index: 1; inset: calc(var(--eye-y) - var(--drop)) 0 auto;
  height: var(--drop); pointer-events: none;
}
.booking-hangers i {
  position: absolute; top: 0; left: calc(var(--nail-inset) - 2px); width: 4px;
  transform-origin: center top; border-radius: 2px;
  background: repeating-linear-gradient(32deg, #634932 0 1px, #d1b789 1.5px 3px, #a0855d 3.5px 5px);
  box-shadow: inset 1px 0 #f4ddb183, inset -1px 0 #47372685, 2px 2px 2px #3825173b;
}
.booking-hangers i:last-child { left: calc(100% - var(--nail-inset) - 2px); }
.booking-hangers::before, .booking-hangers::after {
  content: ""; position: absolute; z-index: 1; top: -5px; left: calc(var(--nail-inset) - 5px);
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(150deg, #8a8170, #504b42 50%, #39352f 52%, #625b4c 72%);
  box-shadow: inset 0 1px 1px #dbcfb0, 1px 2px 0 #423628, 2px 4px 3px #48341f66;
}
.booking-hangers::after { left: calc(100% - var(--nail-inset) - 5px); }
.booking-board { position: relative; transform-origin: 50% var(--eye-y); transform-style: preserve-3d; }
.booking-board-front, .booking-wood-back {
  box-sizing: border-box; border-radius: 9px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: inset 0 1px 1px #f8d8a2, inset 0 0 0 2px #765333,
    1px 3px 0 #745135, 2px 5px 0 #5b432f, 5px 12px 14px -5px #482e1a66, 10px 26px 40px -19px #5c3e22a6;
}
.booking-board-front {
  position: relative; padding: 22px clamp(13px, 1.7vw, 22px) 20px;
  background: #be9567 url("./assets/sk1-grain-BD7vBGL4.webp") center / 210px;
  background-blend-mode: soft-light;
}
.booking-board-front::before, .booking-board-front::after,
.booking-wood-back::before, .booking-wood-back::after {
  content: ""; position: absolute; top: calc(var(--eye-y) - 6px); left: calc(var(--eye-inset) - 6px);
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle, #413123 0 30%, #806b50 34% 44%, #c7b592 49% 59%, #76654c 68%);
  box-shadow: 0 1px 1px #48372d99;
}
.booking-board-front::after, .booking-wood-back::after { left: calc(100% - var(--eye-inset) - 6px); }
.booking-wood-back {
  position: absolute; inset: 0; transform: rotateY(180deg);
  background: url("./assets/sk1-grain-BD7vBGL4.webp") center / 430px 120px,
    repeating-linear-gradient(0deg, transparent 0 62px, #63452c66 63px, #d6b284 64px, transparent 66px),
    linear-gradient(105deg, #c29a6e, #a88057 58%, #b99268);
  background-blend-mode: soft-light, normal, normal;
}
.booking-wood-back i {
  position: absolute; inset: 17% 3% auto; height: clamp(18px, 3vw, 30px); border-radius: 2px;
  background: radial-gradient(circle at 4% 50%, #554738 0 2px, #c8b18d 2.5px, transparent 4px),
    radial-gradient(circle at 96% 50%, #554738 0 2px, #c8b18d 2.5px, transparent 4px),
    repeating-linear-gradient(2deg, transparent 0 4px, #9d764f44 5px, transparent 6px 12px), #bc966c;
  box-shadow: inset 0 1px 1px #dec29c, 0 2px 0 #7a5b3e, 1px 4px 5px #61442778;
}
.booking-wood-back i:last-child { top: auto; bottom: 17%; }
.booking-board[data-face="back"] .booking-board-front,
.booking-board[data-face="front"] .booking-wood-back { visibility: hidden; }
.booking-card {
  position: relative; margin: 0; padding: 28px clamp(12px, 1.5vw, 20px) 24px;
  border: 0; border-radius: 3px; background: #f3ead8; font-family: var(--service-body);
  outline: 1px solid #c74a35; outline-offset: -8px;
  box-shadow: 0 1px 1px #5b402e80, 1px 3px 4px #70523655;
}
/* A folded metal clip holds the sheet to the board. */
.booking-card::before, .booking-card::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); }
.booking-card::before {
  top: -8px; width: 39px; height: 13px; border-radius: 3px 3px 2px 2px;
  background: linear-gradient(#615c4f, #49483f 48%, #34362f 76%, #8c8772 82%);
  box-shadow: inset 0 1px #aba48b, 0 2px 2px #42342655;
}
.booking-card::after {
  top: -16px; width: 15px; height: 11px; box-sizing: border-box; border: 2px solid #625f50;
  border-radius: 5px 5px 2px 2px; box-shadow: inset 0 1px #e0cda4, 0 -1px #d1bc96;
}
.booking-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.booking-header h1 { margin: 0 0 14px; text-align: center; font: 400 clamp(34px, 4vw, 48px)/1.1 var(--service-script); }
.booking-progress { position: relative; margin: 20px 0 24px; --node-size: 32px; --label-width: 52px; --rest: #dfd7c7; }
.booking-progress ol { display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.booking-progress li { flex: 0 0 var(--label-width); display: grid; justify-items: center; gap: 8px; position: relative; }
.booking-rail { position: absolute; inset-inline: calc(var(--label-width) / 2); top: calc(var(--node-size) / 2 - 2px); height: 4px; background: var(--rest); border-radius: 2px; }
.booking-step, .booking-actions, .booking-card .booking-error { width: var(--column); margin-inline: auto; }
.booking-rail span { display: block; height: 100%; background: var(--mint); border-radius: inherit; transform: scaleX(0); transform-origin: left; }
.booking-node {
  display: grid; place-items: center; width: var(--node-size); height: var(--node-size); border-radius: 50%;
  background: color-mix(in srgb, var(--mint) var(--done, 0%), color-mix(in srgb, var(--ink) var(--active, 0%), var(--rest)));
  color: var(--ink); font: 700 15px/1 var(--service-body);
}
.booking-progress [data-state="current"] .booking-node { color: var(--paper); }
.booking-node b, .booking-node svg { grid-area: 1 / 1; }
.booking-node b { font-weight: inherit; opacity: var(--number-opacity, 1); }
.booking-node svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.booking-node path { stroke-dasharray: 22; stroke-dashoffset: var(--check-offset, 22); }
.booking-node-label { font: 550 12px/1.4 var(--service-body); color: var(--ink); white-space: nowrap; }
.booking-progress [data-state="upcoming"] .booking-node-label { color: #696357; }
.booking-step { margin-top: 22px; animation: booking-ink .25s steps(3, end) both; }
@keyframes booking-ink { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.booking-step > label, .booking-step fieldset { display: grid; gap: 5px; margin: 0 0 13px; }
.booking-step label, .booking-step legend { font-size: 14px; font-weight: 600; }
.booking-step fieldset { padding: 0; border: 0; min-inline-size: 0; }
.booking-step legend { padding: 0 0 5px; }
.booking-step input:not([type=radio]), .booking-step textarea {
  display: block; width: 100%; min-width: 0; min-height: 40px; box-sizing: border-box;
  padding: 8px 10px; border: 1px solid #b9ac98; border-radius: 3px;
  background: #fbf7ed; color: var(--ink); font: 400 16px/1.35 var(--service-body);
}
.booking-step input[type=date] { appearance: none; text-align: left; }
.booking-step textarea { resize: vertical; }
.booking-choices { display: flex; gap: 8px; }
.booking-choices label { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 5px 14px 5px 0; }
.booking-choices input { width: 18px; height: 18px; accent-color: #a33223; margin: 0; }
.booking-step small { color: #655e54; font-size: 13px; line-height: 1.5; }
.booking-actions { margin-top: 24px; }
.booking-actions button { cursor: pointer; font: 650 15px/1.2 var(--service-body); min-height: 44px; }
.booking-primary { position: relative; overflow: hidden; margin-left: auto; border: 0; padding: 10px 23px; border-radius: 25px; background: var(--ink); color: var(--paper); }
.booking-back { background: transparent; color: var(--ink); border: 0; padding: 0 4px; text-decoration: underline; text-underline-offset: 4px; }
.booking-actions button:disabled { opacity: .65; cursor: wait; }
.booking-actions:has(.booking-confirm:not([hidden])) { gap: 6px; }
.booking-confirm {
  position: relative; display: inline-grid; align-items: center; justify-content: center; flex: 0 1 auto; min-width: 0;
  margin-inline-start: auto; width: 5.9em; height: 44px; max-width: 100%; box-sizing: border-box;
  border: 0; padding: 0; border-radius: 24px; background: #e6ddcb; color: var(--ink);
  overflow: hidden; white-space: nowrap; user-select: none; touch-action: manipulation;
  transition: width 220ms cubic-bezier(.23, 1, .32, 1), background-color 150ms ease-out;
}
.booking-confirm[data-phase="undo"] { width: 10.5em; }
.booking-confirm:active { background: #dcd1ba; }
.send-face { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; opacity: 0; pointer-events: none; }
.booking-confirm[data-phase="idle"] [data-face="idle"], .booking-confirm[data-phase="undo"] [data-face="undo"],
.booking-confirm[data-phase="sending"] [data-face="sending"] { opacity: 1; }
.send-face svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.send-status { color: #645c4f; padding-right: 8px; border-right: 1px solid #bbaf99; }
.send-count { display: inline-grid; place-items: center; min-width: 1ch; height: 20px; line-height: 20px; overflow: hidden; color: #645c4f; font-variant-numeric: tabular-nums; }
.send-count span { grid-area: 1 / 1; }
.send-ring { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--ink); pointer-events: none; opacity: 0; transition: opacity 200ms; }
.booking-confirm[data-phase="undo"] .send-ring { opacity: 1; transition-duration: 150ms; }
.send-notice { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .booking-confirm, .send-ring { transition: none; } }
.booking-error { margin-top: 10px !important; color: #982d21; font-size: 14px; }
.booking-summary { display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 0 0 16px; font-size: 15px; }
.booking-summary dt, .booking-summary dd { margin: 0; padding: 8px 0; border-bottom: 1px solid #d7ccba; }
.booking-summary dt { color: #635b51; padding-right: 16px; }
.booking-summary dd { text-align: right; overflow-wrap: anywhere; white-space: pre-line; font-weight: 550; }
.booking-receipt { padding: 0 0 5px; line-height: 1.65; }
.booking-card :focus-visible { outline: 2px solid #ad3425; outline-offset: 2px; }
.booking-card h1:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .booking-step { animation: none; } }
@media (max-width: 700px) {
  .index__track { --cw: min(39vw, 185px, calc((100dvh - 175px) / 3.14)); grid-template-columns: repeat(2, var(--cw)); top: 0; padding: 100px 0 30px; gap: calc(18 * var(--u)); }
  .index-card__t { font-size: clamp(10px, calc(13 * var(--u)), 14px); }
  .index-card:last-child { grid-column: 1 / -1; justify-self: center; }
  .service-page { padding: 84px 16px max(20px, env(safe-area-inset-bottom)); }
  .service-photo { aspect-ratio: 1.55; }
  .service-page[data-route="about"] { border-top-width: 68px; padding-top: 16px; }
  .about-sheet { width: min(100%, 520px); padding: 16px; }
  .about-intro { grid-template-columns: 1fr; gap: 17px; }
  .about-intro .about-photo { aspect-ratio: 1.45; }
  .about-intro .service-copy { padding: 0; }
  .about-section { margin-top: 24px; padding-top: 19px; }
  .about-section h2 { margin-bottom: 12px; }
  .about-notes > div { grid-template-columns: 1fr; gap: 3px; }
  .about-evidence { grid-template-columns: 1fr; gap: 14px; margin: 16px 0; }
  .about-evidence figure { display: grid; grid-template-columns: minmax(74px, 32%) minmax(0, 1fr); gap: 12px; align-items: center; }
  .about-instrument { aspect-ratio: 1.25; }
  .about-evidence figcaption { margin: 0; }
  .service-copy { padding: 18px 10px 12px; }
  .service-copy h2 { margin: 8px 0 12px; }
  .service-page[data-route="reserve"] { padding-top: max(112px, calc(50svh - 238px)); }
}

@media (prefers-reduced-motion: no-preference) {
  .about-prepared .about-cue:not(.about-seen) { opacity: .4; transform: translateY(12px); }
  body:not(.is-loading) .about-seen {
    animation: about-settle 460ms cubic-bezier(.23, 1, .32, 1) var(--about-delay, 0ms) backwards;
  }
  .about-intro .service-copy, .about-notes > div:nth-child(2), .about-evidence figure:nth-child(2) { --about-delay: 60ms; }
  .about-notes > div:nth-child(3), .about-evidence figure:nth-child(3) { --about-delay: 120ms; }
  .about-section h2 { position: relative; }
  .about-section h2.about-seen::before {
    content: ""; position: absolute; left: 0; top: -26px; height: 2px; width: 4.2em;
    background: #ab4231; transform-origin: left; animation: about-ink 500ms steps(6, end) backwards;
  }
  .about-playing .about-in-view .signal-replay i::after { animation: about-sync 3s steps(22, end) infinite; }
  .about-playing .about-in-view .signal-replay i:last-child::after { --start: 75%; }
  .about-playing .about-in-view .signal-voice i {
    animation: about-voice 1.4s steps(8, end) calc(-180ms * var(--beat)) infinite;
  }
  .about-playing .about-in-view .signal-turn i { animation: about-turn 2.8s steps(12, end) infinite; }
}
@keyframes about-settle {
  from { opacity: .4; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes about-ink { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes about-sync {
  0%, 12%, 100% { transform: translateX(var(--start, 12%)); }
  54%, 78% { transform: translateX(49%); }
}
@keyframes about-voice {
  0%, 100% { transform: scaleY(.24); }
  25% { transform: scaleY(.85); }
  45%, 78% { transform: scaleY(.42); }
  62% { transform: scaleY(1); }
}
@keyframes about-turn {
  0%, 25%, 100% { transform: translateX(68%); }
  60%, 82% { transform: translateX(27%); }
}
@media (max-width: 700px) {
  .about-section h2.about-seen::before { top: -20px; }
}
