/* 落地價 Landed — editorial, typographic luxury. Tokens and contrast ratios: ui-and-real-data-plan.md §4.2
   (tests/contrast.test.mjs checks every text/control pair). No brand logos. Product photos are the brands' own,
   linked from their image hosts and set on a stone plinth (multiply blends the white studio background away). */

:root {
  color-scheme: light;
  --bg: #F7F3EC;
  --surface: #FBF8F3;
  --ink: #14110F;
  --muted: #6B6258;      /* 5.40:1 on bg — secondary text */
  --control: #8F8678;    /* 3.25:1 — input underlines, chevrons, pill borders (non-text) */
  --hairline: #D9D1C4;   /* decorative dividers only */
  --gold: #A8875A;       /* decorative rules, override dot — never text in light mode */
  --gold-text: #7D6340;  /* 5.09:1 — gold text, focus ring */
  --ok: #3F5E44;
  --warn: #7A5A22;
  --bad: #8E3B36;
  --info: #3E5873;
  --veil: rgba(20, 17, 15, 0.04);
  --plinth: #EFE9DF;     /* product-photo ground, light in both themes (studio photos are shot on white) */

  --serif: "Cormorant Garamond", "Songti TC", "Noto Serif TC", Georgia, serif;
  --serif-tc: "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Noto Sans TC", -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 20px; --s5: 32px; --s6: 52px; --s7: 84px;
  --max: 1120px;
  --measure: 640px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0E0D0B; --surface: #161412; --ink: #EFE9DF; --muted: #A39A8C; --control: #6F675C;
    --hairline: #2E2A25; --gold: #C4A274; --gold-text: #C4A274;
    --ok: #9DBFA1; --warn: #D9B36E; --bad: #E0A19B; --info: #9FB6D3; --veil: rgba(239, 233, 223, 0.04);
    --plinth: #E4DDD1;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E0D0B; --surface: #161412; --ink: #EFE9DF; --muted: #A39A8C; --control: #6F675C;
  --hairline: #2E2A25; --gold: #C4A274; --gold-text: #C4A274;
  --ok: #9DBFA1; --warn: #D9B36E; --bad: #E0A19B; --info: #9FB6D3; --veil: rgba(239, 233, 223, 0.04);
  --plinth: #E4DDD1;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
a { color: inherit; text-decoration-color: var(--control); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 1px; }
::selection { background: var(--gold); color: #fff; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.num { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; }
.caps { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.serif { font-family: var(--serif); }
.rule { width: 64px; height: 1px; background: var(--gold); border: 0; margin: var(--s4) 0; }

/* ---------- frame ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
}
.wordmark {
  text-decoration: none; display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--serif); font-size: 15px; letter-spacing: .32em; font-weight: 500;
}
.wordmark .dot { color: var(--gold-text); letter-spacing: 0; }
.wordmark .tc { font-family: var(--serif-tc); letter-spacing: .2em; font-size: 14px; }
.site-nav { display: flex; align-items: center; gap: var(--s4); }
.site-nav a { text-decoration: none; font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.theme-toggle {
  appearance: none; background: none; border: 1px solid var(--control); color: var(--ink);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  font-size: 14px; line-height: 1;
}
.theme-toggle:hover { border-color: var(--gold); }

.scenario-banner {
  border-bottom: 1px solid var(--info); color: var(--info); background: var(--surface);
  text-align: center; padding: 8px 16px; font-size: 13px; letter-spacing: .08em;
}
.scenario-banner strong { font-weight: 500; }

main { max-width: var(--max); margin: 0 auto; padding: var(--s5) 16px var(--s6); min-height: 100vh; min-height: 100svh; }
main.fade-in { animation: fade .2s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.site-footer { border-top: 1px solid var(--hairline); margin-top: var(--s6); }
.site-footer .inner { max-width: var(--max); margin: 0 auto; padding: var(--s5) 16px var(--s6); }
.site-footer .rule { margin-top: 0; }
.site-footer p { font-size: 12px; color: var(--muted); max-width: 760px; margin: 0 0 var(--s3); line-height: 1.8; }
.site-footer .mark { font-family: var(--serif); letter-spacing: .32em; font-size: 13px; color: var(--ink); }

.loading { color: var(--muted); font-family: var(--serif); font-size: 20px; }

/* ---------- home ---------- */
.hero { padding: var(--s6) 0 var(--s5); max-width: 860px; }
.hero h1 {
  font-family: var(--serif-tc); font-weight: 500; font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.28; letter-spacing: .04em; margin: var(--s3) 0 0;
}
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--gold-text); }
.hero .lede { color: var(--muted); font-size: 17px; max-width: var(--measure); margin: 0; }
.status-line { margin-top: var(--s4); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.status-line span { font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.status-line span + span::before { content: "·"; margin-right: 18px; color: var(--gold-text); }
.beta-note {
  margin-top: var(--s4); padding: var(--s3) 0 var(--s3) var(--s4); border-left: 1px solid var(--gold);
  color: var(--muted); font-size: 14px; max-width: var(--measure);
}
.beta-note strong { color: var(--ink); font-weight: 500; }

.finder { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin: var(--s5) 0 var(--s3); }
.search { flex: 1 1 320px; max-width: 520px; }
.search label { display: block; }
.search input {
  width: 100%; border: 0; border-bottom: 1px solid var(--control); background: transparent; color: var(--ink);
  font-family: var(--serif); font-size: 22px; padding: 6px 0 10px; border-radius: 0;
}
.search input::placeholder { color: var(--muted); opacity: 1; font-family: var(--serif-tc); font-size: 17px; }
.search input:focus { outline: none; border-bottom: 2px solid var(--ink); padding-bottom: 9px; }
.search input:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 4px; }
.tabs { display: flex; gap: var(--s4); flex-wrap: wrap; }
.tab {
  appearance: none; background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--muted);
  font: 500 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.tab[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--gold); }

.thumb { display: block; width: 72px; aspect-ratio: 1; background: var(--plinth); overflow: hidden; isolation: isolate; padding: 4px; }
.thumb .shot { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.thumb-empty { background: transparent; border: 1px solid var(--hairline); }
.product-shot { margin: 0; }
.product-shot .plate { display: block; background: var(--plinth); aspect-ratio: 4 / 5; padding: 6%; isolation: isolate; }
.product-shot .shot { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-shot figcaption { margin-top: var(--s2); font-size: 11px; letter-spacing: .08em; color: var(--muted); }
.item-head.has-shot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: var(--s6); align-items: end; }
.empty { padding: var(--s5) 0; color: var(--muted); font-family: var(--serif-tc); }
.candidate-tag { display: inline-block; margin-left: 8px; padding: 2px 7px; border: 1px solid var(--warn); color: var(--warn); font: 12px/1.6 var(--sans); vertical-align: middle; }
.candidate-notice { margin: var(--s4) 0; padding: var(--s3) var(--s4); border-left: 2px solid var(--warn); background: var(--surface); font-size: 14px; line-height: 1.8; }
.candidate-notice p { margin-bottom: 0; }
.candidate-progress { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--s3); margin: var(--s4) 0; }
.candidate-progress div { padding: var(--s3); border: 1px solid var(--hairline); }
.candidate-progress dt { color: var(--muted); font-size: 12px; }
.candidate-progress dd { margin: var(--s2) 0 0; font-size: 15px; }
.browse-status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); font-size: 13px; color: var(--muted); }
.browse-status select { max-width: 100%; padding: 6px 10px; background: var(--surface); color: var(--ink); border: 1px solid var(--control); font: inherit; }
.candidate-amount { font-size: 28px; margin: var(--s3) 0; overflow-wrap: anywhere; }
.candidate-source { font-size: 13px; margin-top: var(--s3); }
.candidate-checks { margin-top: var(--s5); max-width: var(--measure); }
.candidate-checks h2 { font-size: 20px; }
.candidate-checks li { margin: var(--s2) 0; }

/* ---------- item ---------- */
.back { display: inline-block; text-decoration: none; font-size: 12px; letter-spacing: .16em; color: var(--muted); margin-bottom: var(--s5); }
.back:hover { color: var(--ink); }
.item-head .model { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; margin: var(--s2) 0 var(--s3); letter-spacing: .005em; }
.item-head .spec { color: var(--muted); margin: 0; font-size: 15px; }
.item-head .meta-line { margin-top: var(--s2); display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.sources { margin-top: var(--s3); font-size: 12px; color: var(--muted); }
.sources summary { cursor: pointer; letter-spacing: .14em; list-style: none; display: inline-block; border-bottom: 1px solid var(--control); }
.sources summary::-webkit-details-marker { display: none; }
.sources ul { margin: var(--s2) 0 0; padding-left: 18px; }
.sources a { word-break: break-all; }
.demo-tag { font-family: var(--sans); font-size: 11px; letter-spacing: .14em; color: var(--warn); border: 1px solid var(--warn); padding: 2px 8px; vertical-align: middle; }

.verdict { margin: var(--s6) 0 var(--s5); max-width: 900px; }
.verdict .big {
  font-family: var(--serif-tc); font-weight: 500; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.45; margin: var(--s2) 0 0;
}
.verdict .big .num { font-size: 1.12em; }
.verdict .sub { color: var(--muted); font-size: 14px; max-width: var(--measure); margin: 0; }
.verdict .missing { list-style: none; padding: 0; margin: var(--s3) 0 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.verdict .missing li { font-size: 13px; color: var(--muted); border: 1px solid var(--hairline); padding: 2px 10px; }
.verdict.scenario .rule { background: var(--info); }

.markets {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hairline);
}
.market { padding: var(--s5) var(--s4) var(--s4); min-width: 0; }
.market + .market { border-left: 1px solid var(--hairline); }
.market:first-child { padding-left: 0; }
.market:last-child { padding-right: 0; }
.markets .market:nth-child(n+4) { border-top: 1px solid var(--hairline); }
.markets .market:nth-child(3n+1) { border-left: 0; }
.market header { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s2); }
.market .city { font-family: var(--serif); font-size: 13px; letter-spacing: .32em; }
.market .city-tc { font-size: 13px; font-weight: 500; color: var(--muted); margin: 2px 0 0; line-height: 1.6; letter-spacing: .02em; }
.market .flow { font-size: 12px; color: var(--muted); margin-top: 2px; }
.market .list-price { margin-top: var(--s4); font-size: 13px; color: var(--muted); }
.market .list-price .num { font-size: 18px; color: var(--ink); margin-left: 6px; }
.market .landed { margin: var(--s2) 0 0; font-size: clamp(2rem, 3.8vw, 2.8rem); line-height: 1.1; }
.market .landed-label { font-size: 11px; letter-spacing: .16em; color: var(--muted); margin-top: var(--s4); }
.market .withheld { font-family: var(--serif-tc); font-size: 16px; color: var(--muted); margin: var(--s2) 0 0; line-height: 1.6; }
.market .withheld .dash { font-family: var(--serif); font-size: 2.4rem; color: var(--hairline); display: block; line-height: 1; margin-bottom: 6px; }
.market .landed.flash { animation: flash 1.1s var(--ease); }
@keyframes flash { 0% { color: var(--gold-text); } 100% { color: inherit; } }

.ledger { width: 100%; border-collapse: collapse; margin-top: var(--s4); font-size: 13px; }
.ledger td { padding: 7px 0; vertical-align: baseline; }
.ledger td:first-child { color: var(--muted); }
.ledger td:first-child span {
  display: flex; gap: 6px; align-items: baseline;
}
.ledger td:first-child span::after { content: ""; flex: 1; border-bottom: 1px dotted var(--control); transform: translateY(-3px); min-width: 12px; }
.ledger td:last-child { text-align: right; white-space: nowrap; padding-left: 6px; font-family: var(--serif); font-size: 16px; font-variant-numeric: lining-nums tabular-nums; }
.ledger tr.total td { border-top: 1px solid var(--ink); padding-top: 10px; color: var(--ink); }
.ledger tr.total td:last-child { font-size: 18px; }
.ledger tr.secondary td { color: var(--muted); }

.pill {
  display: inline-block; font-size: 10px; letter-spacing: .16em; padding: 3px 9px; border: 1px solid currentColor;
  white-space: nowrap; font-weight: 500; line-height: 1.5;
}
.pill.verified { color: var(--ok); }
.pill.pending, .pill.expired { color: var(--bad); }
.pill.unverified, .pill.stale { color: var(--warn); }
.pill.scenario { color: var(--info); }
.pill.estimated { color: var(--gold-text); }
.pill.unavailable { color: var(--muted); }

.market .range { margin: var(--s1) 0 0; font-size: 13px; color: var(--muted); }
.market .range .num { font-family: var(--serif); font-size: 17px; color: var(--ink); margin-left: 4px; }
.estimates { margin-top: var(--s3); font-size: 12px; color: var(--muted); }
.estimates summary { cursor: pointer; letter-spacing: .14em; display: inline-block; border-bottom: 1px solid var(--control); list-style: none; }
.estimates summary::-webkit-details-marker { display: none; }
.estimates ul { list-style: none; padding: 0; margin: var(--s2) 0 0; }
.estimates li { padding: 4px 0; line-height: 1.6; color: var(--ink); }
.estimates .hint { display: block; color: var(--muted); }

.needs { list-style: none; padding: 0; margin: var(--s4) 0 0; font-size: 13px; color: var(--muted); }
.needs li { padding: 4px 0 4px 14px; position: relative; }
.needs li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 1px; background: var(--bad); }
.notes { list-style: none; padding: 0; margin: var(--s3) 0 0; font-size: 12px; color: var(--muted); }
.notes li { padding: 2px 0; }
.risk { margin-top: var(--s4); padding: 2px 0 2px var(--s3); border-left: 1px solid var(--gold); font-size: 13px; color: var(--ink); }
.be { margin-top: var(--s3); font-size: 13px; }
.be strong { font-family: var(--serif); font-size: 17px; font-weight: 500; }
.market .meta { margin-top: var(--s4); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.rates { font-size: 12px; color: var(--muted); margin: var(--s3) 0 0; }

/* conditions drawer */
.conditions { margin: var(--s5) 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.conditions > summary {
  cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  padding: var(--s4) 0;
}
.conditions > summary::-webkit-details-marker { display: none; }
.conditions > summary::after {
  content: "+"; margin-left: auto; font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--gold-text);
  transition: transform .3s var(--ease);
}
.conditions[open] > summary::after { transform: rotate(45deg); }
.summary-title { font-size: 11px; letter-spacing: .18em; font-weight: 500; }
.summary-text { color: var(--muted); font-size: 13px; }
.drawer { padding: 0 0 var(--s5); animation: fade .25s var(--ease); }
.inputs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s4) var(--s5); }
.inputs label { display: flex; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.inputs input, .inputs select {
  appearance: none; -webkit-appearance: none; border: 0; border-bottom: 1px solid var(--control); border-radius: 0;
  background: transparent; color: var(--ink); font: 400 16px/1.5 var(--sans); letter-spacing: .02em;
  padding: 6px 22px 7px 0; min-width: 0; width: 100%;
}
.inputs input[type="number"] { font-family: var(--serif); font-size: 19px; font-variant-numeric: lining-nums tabular-nums; padding-right: 0; }
.inputs select {
  background-image: linear-gradient(45deg, transparent 50%, var(--control) 50%), linear-gradient(135deg, var(--control) 50%, transparent 50%);
  background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.inputs input:focus, .inputs select:focus { border-bottom: 2px solid var(--ink); padding-bottom: 6px; outline: none; }
.inputs input:focus-visible, .inputs select:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 4px; }
.hint { font-size: 12px; color: var(--muted); margin: var(--s3) 0 0; letter-spacing: .02em; }
.scenario-panel { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--info); }
.scenario-panel h3 { font-family: var(--serif-tc); font-weight: 500; font-size: 17px; color: var(--info); margin: 0 0 var(--s2); }
.sc-note { font-size: 11px; letter-spacing: .02em; font-weight: 400; color: var(--muted); }
.sc-override { color: var(--gold-text); }
.sc-override::before { content: "●"; color: var(--gold); margin-right: 5px; font-size: 8px; vertical-align: 2px; }
.link-btn { appearance: none; background: none; border: 0; padding: 0 0 0 6px; color: var(--ink); font: inherit; text-decoration: underline; text-decoration-color: var(--control); cursor: pointer; }
.field-error { color: var(--bad); font-size: 13px; margin: var(--s3) 0 0; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s5) 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--bg); border-radius: 0;
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--control); }
.btn.ghost:hover { border-color: var(--ink); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn:disabled:hover { background: var(--ink); color: var(--bg); }

.notes-panel { margin-top: var(--s6); display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s5); border-top: 1px solid var(--hairline); padding-top: var(--s5); }
.notes-panel h2 { font-family: var(--serif-tc); font-weight: 500; font-size: 20px; margin: 0; }
.tips { margin: 0; padding: 0; list-style: none; counter-reset: tip; }
.tips li { counter-increment: tip; padding: 0 0 var(--s3) 34px; position: relative; color: var(--muted); font-size: 14px; }
.tips li::before { content: counter(tip, upper-roman); position: absolute; left: 0; font-family: var(--serif); color: var(--gold-text); font-size: 15px; }
.disclaimer { font-size: 12px; color: var(--muted); border-top: 1px solid var(--hairline); padding-top: var(--s4); margin-top: var(--s5); max-width: 860px; line-height: 1.8; }

.sticky-verdict { display: none; }

/* ---------- prose (about, report) ---------- */
.prose { max-width: var(--measure); }
.prose h1 { font-family: var(--serif-tc); font-weight: 500; font-size: clamp(2rem, 5vw, 3rem); margin: var(--s2) 0 0; line-height: 1.3; }
.prose h2 { font-family: var(--serif-tc); font-weight: 500; font-size: 20px; margin: var(--s6) 0 var(--s3); display: flex; gap: 14px; align-items: baseline; }
.prose h2 .numeral { font-family: var(--serif); color: var(--gold-text); font-size: 22px; }
.prose p, .prose li { color: var(--ink); font-size: 16px; }
.prose ul { padding-left: 18px; }
.formula { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--hairline); margin: var(--s4) 0; }
.formula div { display: flex; justify-content: space-between; gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.formula div:last-child { border-bottom: 0; font-weight: 500; }
.formula .op { font-family: var(--serif); color: var(--gold-text); font-size: 20px; min-width: 20px; }
.pull { font-family: var(--serif-tc); font-size: 20px; line-height: 1.6; border-left: 1px solid var(--gold); padding-left: var(--s4); margin: var(--s5) 0; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .markets { grid-template-columns: 1fr; }
  .item-head.has-shot { grid-template-columns: 1fr; gap: var(--s4); }
  .item-head .product-shot { order: -1; max-width: 420px; }
  .item-head .product-shot .plate { aspect-ratio: 1; }
  .market, .market:first-child, .market:last-child { padding: var(--s4) 0; }
  .market + .market { border-left: 0; border-top: 1px solid var(--hairline); }
  .notes-panel { grid-template-columns: 1fr; }
  .sticky-verdict {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    background: var(--ink); color: var(--bg); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    font-size: 13px; letter-spacing: .04em; line-height: 1.5;
    transform: translateY(100%); transition: transform .3s var(--ease);
  }
  .sticky-verdict.show { transform: translateY(0); }
  body.has-sticky { padding-bottom: 64px; }
}
@media (max-width: 480px) {
  main { padding-top: var(--s4); }
  .hero { padding-top: var(--s5); }
  .wordmark { letter-spacing: .22em; font-size: 13px; }
  .site-nav { gap: var(--s3); }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Dated official rules, shared across products. */
.research-panel { margin: 1.5rem 0; padding: 1rem; border: 1px solid var(--hairline); }
.research-panel summary { cursor: pointer; font-weight: 500; }
.research-panel ul { padding-left: 1.4rem; }
.research-panel li { margin: 1rem 0; }
.research-panel p { margin: .4rem 0; line-height: 1.7; }
.research-panel a { text-decoration: underline; }

/* A compact comparison surface; detailed evidence stays available beneath it. */
.comparison-controls { margin: 28px 0 14px; }
.comparison-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:16px; }
.comparison-heading h2, .detail-heading { font:500 24px/1.4 var(--serif-tc); margin:4px 0 12px; }
.comparison-heading label { font-size:12px; color:var(--muted); display:flex; flex-direction:column; gap:6px; }
.comparison-heading select { font:inherit; background:var(--surface); color:var(--ink); border:1px solid var(--control); padding:10px; min-height:44px; }
.market-filters { border:0; padding:0; margin:12px 0; display:flex; flex-wrap:wrap; gap:8px; }
.market-filters legend { font-size:12px; color:var(--muted); margin-bottom:8px; }
.market-filters label { display:flex; align-items:center; gap:6px; min-height:44px; border:1px solid var(--control); padding:7px 12px; background:var(--surface); font-size:13px; cursor:pointer; }
.market-filters label:has(input:checked) { border-color:var(--gold-text); background:var(--veil); }
.market-filters input, .comparable-filter input, .compare-check input { accent-color:var(--gold-text); width:16px; height:16px; }
.destination-presets { display:flex; flex-wrap:wrap; gap:8px; margin:8px 0 16px; }
.destination-presets button { min-height:44px; padding:8px 14px; }
.destination-presets button[aria-pressed="true"] { color:var(--ink); border-color:var(--gold-text); background:var(--veil); }
.market-filters label:has(input:disabled) { cursor:default; }
.comparable-filter { display:inline-flex; gap:8px; align-items:center; min-height:44px; font-size:13px; }
.comparison-scroll { overflow:auto; border:1px solid var(--hairline); background:var(--surface); overscroll-behavior-x:contain; }
.comparison-table { width:100%; min-width:650px; border-collapse:separate; border-spacing:0; font-size:14px; }
.comparison-table th, .comparison-table td { padding:17px 18px; border-bottom:1px solid var(--hairline); text-align:left; vertical-align:middle; }
.comparison-table thead th { background:var(--veil); color:var(--muted); font-size:12px; font-weight:500; }
.comparison-table tbody tr:last-child > * { border-bottom:0; }
.comparison-table tbody th { font-weight:500; }
.comparison-table tr > :first-child { position:sticky; left:0; z-index:1; background:var(--surface); width:118px; min-width:118px; border-right:1px solid var(--hairline); }
.comparison-table .baseline-row > * { background:var(--veil); }
.comparison-table .baseline-row > :first-child { background:var(--bg); }
.comparison-table small { display:block; color:var(--muted); font-size:11px; line-height:1.6; margin-top:4px; font-weight:400; }
.table-total { font:500 25px/1.25 var(--serif); font-variant-numeric:tabular-nums; white-space:nowrap; }
.table-price { white-space:nowrap; font-variant-numeric:tabular-nums; }
.saving-cell { color:var(--ok); }
.missing-cell { color:var(--warn); font-size:13px; }
.detail-button { border:1px solid var(--control); background:transparent; color:var(--ink); font:inherit; font-size:12px; padding:9px 12px; min-height:44px; cursor:pointer; white-space:nowrap; }
.detail-button:hover { border-color:var(--gold-text); }
.detail-heading { margin-top:32px; font-size:20px; }
.market-detail { border-top:1px solid var(--hairline); }
.market-detail > summary { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:18px 0; cursor:pointer; font-size:14px; list-style:none; }
.market-detail > summary > :nth-child(2) { margin-left:auto; font-variant-numeric:tabular-nums; }
.market-detail > summary > :nth-child(3) { font-size:12px; color:var(--muted); }
.market-detail .market { max-width:740px; border:0; padding:16px 0 28px; }
.shortlist-bar { display:flex; align-items:center; flex-wrap:wrap; gap:16px; padding:18px; background:var(--surface); border:1px solid var(--control); margin:20px 0; }
.shortlist-bar > div { flex:1; min-width:220px; }
.shortlist-bar p { font-size:12px; color:var(--muted); margin:5px 0 0; }
.compare-check { display:flex; align-items:center; gap:8px; padding:0 12px 12px; min-height:44px; font-size:12px; color:var(--muted); cursor:pointer; }
.compare-page-head { max-width:780px; margin:20px 0 28px; }
.compare-page-head h1 { font:500 clamp(26px,4vw,40px)/1.4 var(--serif-tc); margin:6px 0 12px; }
.selected-bags { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:12px; margin:24px 0; }
.selected-bags > div { display:flex; align-items:center; gap:12px; padding:14px; border:1px solid var(--hairline); background:var(--surface); }
.selected-bags .thumb { width:56px; flex-shrink:0; }
.selected-bags > div > div { flex:1; min-width:0; }
.selected-bags a { font-size:13px; line-height:1.5; display:block; }
.selected-bags small { display:block; color:var(--muted); font-size:10px; overflow-wrap:anywhere; }
.group-table th:not(:first-child), .group-table td:not(:first-child) { min-width:225px; }
.group-table th span { display:block; margin-top:5px; color:var(--ink); font-size:13px; }
.group-table td > span { display:block; font-size:13px; margin-top:6px; }
@media(max-width:600px) {
  .comparison-table th, .comparison-table td { padding:13px 12px; }
  .comparison-table tr > :first-child { min-width:90px; width:90px; }
  .table-total { font-size:23px; }
  .market-detail > summary > :nth-child(3) { display:none; }
  .shortlist-bar .btn { width:auto; }
}
.comparison-table td.minimum-cell { background:var(--veil); }
.minimum-label { display:block; color:var(--gold-text); font-size:.7rem; letter-spacing:.04em; margin-bottom:.35rem; }
.refund-quotes { margin:20px 0; padding:18px; border:1px solid var(--hairline); background:var(--surface); }
.refund-quotes > summary { cursor:pointer; font-size:14px; line-height:1.7; min-height:44px; }
.refund-quote-form { border-top:1px solid var(--hairline); padding:18px 0; }
.refund-quote-form h3 { font-size:14px; overflow-wrap:anywhere; }
.refund-quote-form .inputs input, .refund-quote-form .inputs select { max-width:100%; min-width:0; }
.saved-quote { border-top:1px solid var(--hairline); padding:15px 0; font-size:13px; overflow-wrap:anywhere; }
.saved-quote small { display:block; color:var(--muted); margin:8px 0; }
.quote-feedback { color:var(--warn); }

/* ---------- article pages (Japan explainer, guide, how we make money, privacy) ---------- */
.article .prose { max-width: 720px; }
.article .lede { color: var(--ink); font-size: 18px; line-height: 1.85; margin: var(--s4) 0 0; }
.article .meta-line { font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-top: var(--s3); }
.prose h3 { font-family: var(--serif-tc); font-weight: 500; font-size: 17px; margin: var(--s5) 0 var(--s2); }
.prose a { text-decoration-color: var(--gold); }
.table-scroll { overflow-x: auto; margin: var(--s4) 0 0; }
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hairline); }
.info-table thead th { font-size: 11px; letter-spacing: .14em; color: var(--muted); font-weight: 500; border-bottom-color: var(--ink); }
.info-table tbody th { font-weight: 500; white-space: nowrap; color: var(--muted); }
.steps { padding-left: 22px; }
.steps li { margin: var(--s3) 0; padding-left: 4px; }
.steps li::marker { font-family: var(--serif); color: var(--gold-text); }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding: 6px 0 6px 26px; border-bottom: 1px solid var(--hairline); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 12px; border: 1px solid var(--control); }
.signup, .offer-status { margin: var(--s6) 0 var(--s5); padding: var(--s4) var(--s4) var(--s3); background: var(--surface); border-left: 2px solid var(--gold); }
.signup h2 { margin-top: 0; }
.offer-status { margin-top: var(--s5); }
.offer-status p:first-child { font-family: var(--serif); font-size: 22px; margin: 0; }
.sources-list { font-size: 13px; }
.sources-list li { margin: var(--s2) 0; color: var(--muted); }
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.article [hidden] { display: none !important; } /* .btn sets display; a hidden LINE button must stay hidden */
.store-list { list-style: none; padding: 0; }
.store-list li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.store-list li span { color: var(--muted); font-size: 14px; }
.store-list li .hint { margin: 0; }

/* ---------- high-end layer (2026-10-08): the pre-trip check leads; quiet, centred, product-first ----------
   Reference points: luxury maisons' and Apple's product pages — one message per screen, generous space,
   large serif headlines, products on a plinth, one dark call to action. Colours stay the tokens above. */

.site-header .inner { padding: 18px 16px; }
.site-nav { gap: var(--s5); }
.site-nav a { font-size: 12px; letter-spacing: .18em; }
.site-nav .nav-offer { color: var(--gold-text); }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; }

.btn { min-height: 52px; padding: 0 34px; letter-spacing: .22em; }
.btn.ghost { border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s5) 0 0; }

.step-n { font-family: var(--serif); font-size: 13px; letter-spacing: .24em; color: var(--gold-text); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto var(--s5); }
.section-head h2, .band > h2 { font-family: var(--serif-tc); font-weight: 500; font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.4; letter-spacing: .04em; margin: var(--s3) 0; }
.section-head h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-text); letter-spacing: 0; }
.section-head .lede { color: var(--muted); font-size: 16px; margin: 0 auto; max-width: var(--measure); }

/* home */
.hero-center { max-width: 880px; margin: 0 auto; padding: var(--s7) 0 var(--s6); text-align: center; }
.hero-center h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.3; }
.hero-center .lede { margin: var(--s4) auto 0; font-size: 17px; }
.hero-center .hero-actions { justify-content: center; }

.featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin: 0 0 var(--s6); }
.feature-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; text-align: center; }
.feature-card .plate { display: block; width: 100%; aspect-ratio: 4 / 5; background: var(--plinth); padding: 12%; isolation: isolate; overflow: hidden; margin-bottom: var(--s3); }
.feature-card .plate-empty { border: 1px solid var(--hairline); background: transparent; }
.feature-card .shot { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.feature-card:hover .shot { transform: scale(1.04); }
.feature-model { font-family: var(--serif); font-size: 22px; line-height: 1.25; }

.steps-strip { list-style: none; margin: 0 0 var(--s7); padding: var(--s5) 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); text-align: center; }
.steps-strip li { display: flex; flex-direction: column; gap: 4px; }
.steps-strip strong { font-family: var(--serif-tc); font-weight: 500; font-size: 17px; letter-spacing: .06em; }
.steps-strip span:last-child { font-size: 13px; color: var(--muted); }

.catalogue { scroll-margin-top: 80px; }
.data-notes { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); margin: 0 0 var(--s4); }
.data-notes > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; padding: var(--s3) 0; font-size: 12px; letter-spacing: .14em; }
.data-notes > summary::-webkit-details-marker { display: none; }
.data-notes > summary::after { content: "+"; margin-left: auto; font-family: var(--serif); font-size: 20px; line-height: 1; color: var(--gold-text); transition: transform .3s var(--ease); }
.data-notes[open] > summary::after { transform: rotate(45deg); }
.data-notes-line { color: var(--muted); letter-spacing: .04em; }
.data-notes > :not(summary) { margin-bottom: var(--s4); }

/* catalogue as a product grid */
.index { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: var(--s6) var(--s4); }
.index > li { display: flex; flex-direction: column; min-width: 0; }
.index > li.empty { grid-column: 1 / -1; }
.index a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; flex: 1; }
.index .thumb { width: 100%; aspect-ratio: 4 / 5; padding: 12%; margin-bottom: var(--s3); }
.index .thumb-empty { background: var(--veil); border: 0; }
.index a:hover .thumb .shot { transform: scale(1.04); }
.index .brand { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.index .model { font-family: var(--serif); font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
.index .model small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }
.index .candidate-tag { margin: 6px 0 0; display: table; }
.index .ref { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; color: var(--muted); letter-spacing: .06em; overflow-wrap: anywhere; }
.index .prices { display: grid; gap: 2px; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--hairline); }
.index .px { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 8px; text-align: left; }
.index .px .caps { font-size: 10px; }
.index .px .num { font-size: 16px; }
.index .price-status { flex-basis: 100%; text-align: right; font: 11px/1.5 var(--sans); color: var(--warn); }
.index .price-status.expired, .index .price-status.pending { color: var(--bad); }
.index .arrow { display: none; }
.index .compare-check { padding: var(--s2) 0 0; }

/* item page: the offer */
.concierge { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s5) var(--s6); align-items: end; margin: var(--s6) 0; padding: var(--s6) var(--s5); background: var(--surface); border-top: 1px solid var(--gold); }
.concierge h2 { font-family: var(--serif-tc); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.45; margin: var(--s2) 0 var(--s3); }
.concierge-text p:last-child { color: var(--muted); margin: 0; max-width: 520px; }
.concierge-form { display: flex; flex-direction: column; gap: var(--s2); }
.concierge-form select, .apply-steps select {
  appearance: none; -webkit-appearance: none; border: 0; border-bottom: 1px solid var(--control); border-radius: 0; background: transparent; color: var(--ink);
  font: 400 20px/1.5 var(--serif-tc); padding: 6px 24px 10px 0; width: 100%;
  background-image: linear-gradient(45deg, transparent 50%, var(--control) 50%), linear-gradient(135deg, var(--control) 50%, transparent 50%);
  background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.concierge-form .btn { margin-top: var(--s3); }
.concierge-form .hint { margin: 0; }

/* pre-trip check page */
.pretrip .page-hero { text-align: center; max-width: 820px; margin: 0 auto; padding: var(--s6) 0 var(--s6); }
.page-hero h1 { font-family: var(--serif-tc); font-weight: 500; font-size: clamp(2.4rem, 6.4vw, 4.6rem); line-height: 1.25; letter-spacing: .04em; margin: var(--s3) 0 0; }
.page-hero h1 em { font-family: var(--serif-tc); font-style: normal; color: var(--gold-text); }
.page-hero .lede { color: var(--muted); max-width: var(--measure); margin: var(--s4) auto 0; }
.page-hero .offer-status { background: none; border: 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: var(--s4) 0; margin: var(--s5) auto 0; max-width: 560px; }
.page-hero .offer-status p:first-child { font-size: 26px; }
.page-hero .offer-status p:last-child { color: var(--muted); font-size: 14px; margin-bottom: 0; }
.page-hero .hero-actions { justify-content: center; }

.band { padding: var(--s7) 0 0; text-align: center; scroll-margin-top: 80px; }
.band > h2 { margin-bottom: var(--s5); }
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); text-align: left; }
.feature-grid li { border-top: 1px solid var(--ink); padding-top: var(--s4); }
.feature-grid .numeral { font-family: var(--serif); color: var(--gold-text); font-size: 22px; }
.feature-grid h3 { font-family: var(--serif-tc); font-weight: 500; font-size: 18px; margin: var(--s2) 0; }
.feature-grid p { color: var(--muted); font-size: 14px; margin: 0; }

.apply { margin: var(--s7) 0 0; padding: var(--s6) var(--s5); background: var(--surface); border-top: 1px solid var(--gold); scroll-margin-top: 80px; }
.apply-head { text-align: center; max-width: 620px; margin: 0 auto var(--s5); }
.apply-head h2 { font-family: var(--serif-tc); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: var(--s2) 0; }
.apply-head p:last-child { color: var(--muted); margin: 0; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s6); align-items: start; }
.apply-steps { display: flex; flex-direction: column; gap: var(--s5); }
.apply-steps .step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step-label { display: block; font-family: var(--serif-tc); font-size: 20px; font-weight: 500; margin: 2px 0 var(--s2); padding: 0; }
.apply-steps .hint { margin-top: var(--s2); }
.city-pills { display: flex; flex-wrap: wrap; gap: var(--s2); }
.city-pills label { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--control); cursor: pointer; font-family: var(--serif-tc); font-size: 16px; letter-spacing: .1em; transition: border-color .2s var(--ease), background .2s var(--ease); }
.city-pills input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.city-pills label:hover { border-color: var(--ink); }
.city-pills label:has(input:checked) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.city-pills label:has(input:focus-visible) { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.apply-summary { background: var(--bg); border: 1px solid var(--hairline); padding: var(--s4); }
.summary-shot { display: none; aspect-ratio: 4 / 3; background: var(--plinth); padding: 8%; margin-bottom: var(--s4); isolation: isolate; }
.summary-shot.has-img { display: block; }
.summary-shot img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.summary-bag { font-family: var(--serif); font-size: 22px; line-height: 1.35; margin: var(--s2) 0 4px; overflow-wrap: anywhere; }
.summary-city { color: var(--muted); margin: 0; }
.summary-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--s4) 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.summary-terms div { padding: var(--s3) 0; }
.summary-terms dt { font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.summary-terms dd { margin: 2px 0 0; font-family: var(--serif-tc); font-size: 15px; }
.summary-action .btn { width: 100%; }

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); text-align: left; max-width: 900px; margin: 0 auto; }
.tier { border: 1px solid var(--ink); padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: var(--s2); }
.tier-soon { border-color: var(--hairline); }
.tier-name { font-family: var(--serif-tc); font-size: 20px; font-weight: 500; margin: 0; }
.tier-price { margin: 0; color: var(--muted); }
.tier-price .num { font-size: 40px; color: var(--ink); }
.tier ul { padding-left: 18px; margin: var(--s2) 0 var(--s3); flex: 1; }
.tier li { margin: 4px 0; }
.soon { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 1px 8px; border: 1px solid var(--warn); color: var(--warn); font: 500 11px/1.6 var(--sans); letter-spacing: .12em; }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); text-align: left; counter-reset: none; }
.timeline li { position: relative; padding-top: var(--s4); border-top: 1px solid var(--hairline); }
.timeline li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.timeline h3 { font-family: var(--serif-tc); font-weight: 500; font-size: 18px; margin: var(--s2) 0; }
.timeline p { color: var(--muted); font-size: 14px; margin: 0; }

.pretrip .prose { margin: var(--s7) auto 0; max-width: 720px; }
.accordion { border-top: 1px solid var(--hairline); }
.accordion:last-of-type { border-bottom: 1px solid var(--hairline); }
.accordion > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: var(--s3) 0; font-family: var(--serif-tc); font-size: 17px; }
.accordion > summary::-webkit-details-marker { display: none; }
.accordion > summary::after { content: "+"; font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--gold-text); transition: transform .3s var(--ease); }
.accordion[open] > summary::after { transform: rotate(45deg); }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply-grid, .concierge { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-nav { gap: var(--s3); }
  .site-nav .nav-secondary, .wordmark .tc, .wordmark .dot { display: none; }
  .hero-center { padding: var(--s6) 0 var(--s5); }
  .featured { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
  .feature-model { font-size: 15px; }
  .feature-card .caps { font-size: 9px; letter-spacing: .12em; }
  .steps-strip, .timeline, .tiers, .feature-grid { grid-template-columns: 1fr; }
  .steps-strip { text-align: left; gap: var(--s3); margin-bottom: var(--s6); }
  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s3); }
  .index .model { font-size: 17px; }
  .index .px .num { font-size: 14px; }
  .band { padding-top: var(--s6); }
  .apply, .concierge { padding: var(--s5) var(--s4); margin-left: -16px; margin-right: -16px; }
  .hero-actions .btn { width: 100%; }
}
/* Chinese headlines: gold emphasis stays upright (a slanted CJK fallback looks synthetic). Product photos fill a
   square tile edge to edge, so photos shot on grey (Celine, Loewe) don't sit as a box inside the plinth. */
.hero-center h1 em, .section-head h2 em { font-family: var(--serif-tc); font-style: normal; font-weight: 500; letter-spacing: inherit; }
.feature-card .plate, .index .thumb { aspect-ratio: 1; padding: 0; }
.feature-card .shot, .index .thumb .shot { object-fit: cover; } /* every photo is square or portrait (≤ 2:3): cover trims only background */
.step-label .step-n { display: block; margin-bottom: 2px; }
@media (max-width: 640px) { .feature-model { display: none; } .featured { margin-bottom: var(--s5); } }
@media (max-width: 640px) { .concierge-form select, .apply-steps select { font-size: 16px; } }

/* Showroom and journey: one product leads; controls stay quiet and easy to reach. */
html { scroll-padding-top: 92px; }
[hidden] { display: none !important; }
.site-header .inner { min-height: 76px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; letter-spacing: .04em; }
.theme-toggle { width: 44px; height: 44px; flex-shrink: 0; }
.skip-link { position: fixed; top: 8px; left: 16px; transform: translateY(-160%); z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 18px; }
.skip-link:focus { transform: none; }
.btn { letter-spacing: .06em; padding: 0 26px; border-radius: 3px; transition: background .2s, color .2s, border-color .2s; }
.btn:disabled { cursor: not-allowed; }
.showroom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; max-width: none; padding: 48px 0 72px; }
.showroom.without-shot { grid-template-columns: 1fr; max-width: 760px; margin: auto; text-align: center; }
.hero-kicker { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.showroom h1 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1.4; letter-spacing: .015em; margin: 0 0 24px; }
.showroom .lede { font-size: 16px; line-height: 1.9; max-width: 430px; }
.showroom .hero-actions { gap: 12px; margin: 32px 0 16px; }
.showroom .hero-actions .btn { font-size: 13px; }
.hero-service-note { color: var(--muted); font-size: 12px; margin: 0; letter-spacing: 0; }
.showroom-product { text-decoration: none; display: block; min-width: 0; }
.showroom-image { display: block; background: var(--plinth); aspect-ratio: 1; overflow: hidden; isolation: isolate; }
.showroom-image .shot { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.showroom-product:hover .shot { transform: scale(1.025); }
.showroom-caption { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding-top: 16px; font-size: 12px; line-height: 1.6; }
.showroom-caption > :first-child { color: var(--muted); }
.showroom-caption > :nth-child(2) { grid-row: 2; font-family: var(--serif); font-size: 22px; }
.showroom-caption > :last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; text-decoration: underline; text-underline-offset: 5px; }
.image-unavailable::after { content: '商品圖片暫時無法載入'; display: grid; height: 100%; place-items: center; color: #14110F; font-size: 14px; }
.steps-strip { margin-bottom: 72px; text-align: left; padding: 28px 0; }
.steps-strip li { position: relative; padding-left: 38px; }
.steps-strip .step-n { position: absolute; left: 0; top: 3px; }
.steps-strip strong { font-size: 16px; }
.section-head { text-align: left; max-width: none; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head .lede { margin: 12px 0 0; max-width: 650px; font-size: 15px; }
.finder { align-items: start; gap: 24px; margin-top: 32px; }
.search { max-width: none; flex-basis: 100%; }
.search label { font-family: var(--sans); font-size: 13px; letter-spacing: .04em; margin-bottom: 8px; }
.search input { font-family: var(--sans); font-size: 16px; background: var(--surface); border: 1px solid var(--control); border-radius: 4px; padding: 14px 16px; min-height: 52px; }
.tabs { gap: 8px; flex-wrap: wrap; }
.tab { min-height: 44px; padding: 10px 16px; letter-spacing: .03em; border-radius: 3px; }
.browse-status { gap: 12px; }
.browse-status select { min-height: 44px; font-size: 14px; }
#reset-filters { min-height: 44px; padding: 8px 0; }
.index { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.index .model { font-size: 24px; line-height: 1.35; }
.index .thumb .shot { object-fit: contain; }
.index .thumb-empty { display: grid; place-items: center; }
.index .thumb-empty::after { content: '款式圖片準備中'; font-size: 12px; color: var(--muted); }
.compare-check { min-height: 44px; display: flex; align-items: center; gap: 8px; }
.compare-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.compare-check:has(input:disabled) { color: var(--muted); }
#shortlist-slot:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 24px max(12px, env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--control); box-shadow: 0 -8px 32px rgba(0,0,0,.06); }
.shortlist-bar { border: 0; margin: 0 auto; padding: 0; max-width: 1088px; gap: 12px 24px; }
.shortlist-bar > div { min-width: 0; }
.shortlist-bar .btn { min-height: 44px; }
.shortlist-bar .link-btn { min-height: 44px; }
body.has-shortlist { padding-bottom: 112px; }
.journey-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; border-bottom: 1px solid var(--hairline); margin: 8px 0 32px; padding-bottom: 12px; }
.journey-nav a { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.journey-nav a:hover { text-decoration: underline; }
#country-comparison, #conditions-slot, #concierge-title { scroll-margin-top: 96px; }
.inputs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.inputs label { font-size: 13px; letter-spacing: .03em; }
.inputs input, .inputs select { min-height: 48px; }
.drawer .hint { font-size: 13px; line-height: 1.8; }
.pretrip .page-hero { padding: 24px 0 32px; }
.pretrip .page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.pretrip .page-hero .offer-status { padding: 16px 0; margin-top: 24px; }
.pretrip .page-hero .offer-status p:first-child { font-size: 20px; }
.pretrip .apply { margin-top: 24px; border-top-color: var(--hairline); padding: 40px; }
.apply-head { text-align: left; max-width: none; }
.apply-head h2 { font-size: 28px; }
.request-progress { color: var(--gold-text); font-size: 13px; margin: 0 0 12px; }
.apply-summary { padding: 24px; border: 0; }
.summary-return { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; }
.summary-shot { aspect-ratio: 1; padding: 0; }
.summary-terms { grid-template-columns: 1fr; }
.summary-terms div { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; }
.summary-terms dt { font-size: 13px; letter-spacing: .04em; }
.summary-terms dd { font-size: 14px; }
.city-pills label { border-radius: 3px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) {
  .showroom { gap: 32px; }
  .showroom .hero-actions { flex-direction: column; align-items: stretch; }
  .showroom .hero-actions .btn { width: 100%; }
  .index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply-grid { gap: 32px; }
}
@media (max-width: 640px) {
  .site-header .inner { min-height: 64px; padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 12px; letter-spacing: 0; }
  .wordmark { font-size: 14px; letter-spacing: .2em; }
  .theme-toggle { width: 44px; height: 44px; }
  .showroom { grid-template-columns: 1fr; padding: 20px 0 40px; gap: 28px; }
  .showroom h1 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); margin-bottom: 20px; }
  .hero-kicker { margin-bottom: 16px; }
  .showroom .hero-actions { margin-top: 24px; }
  .showroom-image { max-height: 420px; }
  .showroom-caption { padding-top: 12px; }
  .showroom-caption > :nth-child(2) { font-size: 20px; }
  .showroom-caption > :last-child { font-size: 11px; }
  .steps-strip { gap: 20px; margin-bottom: 44px; }
  .index { gap: 32px 16px; }
  .index .model { font-size: 18px; }
  .index .brand { font-size: 10px; letter-spacing: .08em; }
  .index .prices { margin-top: 12px; }
  .index .px .num { font-size: 16px; }
  #shortlist-slot:not([hidden]) { padding-left: 16px; padding-right: 16px; }
  .shortlist-bar { gap: 8px 12px; }
  .shortlist-bar > div { flex: 1 1 100%; }
  .shortlist-bar p { display: none; }
  .shortlist-bar .btn { flex: 1; }
  body.has-shortlist { padding-bottom: 128px; }
  .journey-nav { gap: 8px 16px; }
  .journey-nav a { font-size: 12px; }
  .pretrip .apply { padding: 28px 20px; }
  .pretrip .page-hero { padding-top: 16px; }
  .apply-head h2 { font-size: 25px; }
  .apply-summary { padding: 20px; }
  .summary-shot { aspect-ratio: 4 / 3; max-height: 220px; }
  .apply-steps { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .showroom-image .shot, .btn { transition: none; }
  .showroom-product:hover .shot { transform: none; }
}

/* ---------- polish pass (Impeccable "polish", Taste skills where they agree with the brief) ----------
   Refinement only: palette, type families and layout stay as the 2026-10-08 design direction sets them. */
:root { --radius: 3px; --ease-press: cubic-bezier(.16, 1, .3, 1); }

/* Browser surfaces carry the palette too. */
:root { accent-color: var(--ink); caret-color: var(--gold-text); scrollbar-color: var(--control) var(--bg); }
::selection { background: var(--ink); color: var(--bg); }

/* Headings break in balanced lines; paragraphs avoid a lone last character. Chinese reads best at about
   35–45 characters per line, so long running text is capped rather than stretched across the page. */
h1, h2, h3, .big, .summary-bag, .feature-model { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.hint, .disclaimer, .rates, .sub, .candidate-notice p, .research-panel p, .data-notes .beta-note, .notes-panel li { max-width: 44em; }

/* One radius, one press. */
.search input, .browse-status select, .comparison-heading select, .market-filters label, .detail-button { border-radius: var(--radius); }
.btn { transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .18s var(--ease-press); }
.btn:active:not(:disabled) { transform: scale(.98); }
#shortlist-slot:not([hidden]) { box-shadow: 0 -10px 32px rgba(20, 17, 15, .06); }

/* Drawn icons instead of text glyphs. */
.theme-toggle svg { width: 16px; height: 16px; display: block; }
.ext { width: .75em; height: .75em; margin-left: .35em; vertical-align: -.02em; flex-shrink: 0; }
.conditions > summary::after, .data-notes > summary::after, .accordion > summary::after, .market-detail > summary::after {
  content: ""; width: 12px; height: 12px; flex: none; align-self: center; color: var(--gold-text);
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.conditions[open] > summary::after, .data-notes[open] > summary::after, .accordion[open] > summary::after, .market-detail[open] > summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .btn:active:not(:disabled) { transform: none; } }
/* Disclosure panels share one look: no browser marker, the drawn plus, no box inside a box. */
.research-panel { border: 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 0; }
.research-panel > summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: var(--s3) 0; font-weight: 400; }
.research-panel > summary::-webkit-details-marker { display: none; }
.research-panel > summary::after {
  content: ""; width: 12px; height: 12px; flex: none; align-self: center; color: var(--gold-text);
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.research-panel[open] > summary::after { transform: rotate(45deg); }
.data-notes .research-panel { border-bottom: 0; }
/* Side rules stay hairline-thin. */
.candidate-notice { border-left-width: 1px; }
.signup, .offer-status { border-left-width: 1px; }
