/* SugarArk 台灣站視覺系統
 * 與香港站刻意分開的兩項以上差異：
 *   1. 色彩比例 —— 台灣站以「墨 + 玉 + 茶褐」三段輔助色構成四層色帶，香港站只有單一金／紙對比；
 *   2. 版面節奏 —— 台灣站用非對稱雙欄（正文欄較寬）＋金玉雙色標線＋帶框圖版，香港站為等寬雙欄；
 *   3. 字體搭配 —— 標題採 Iowan Old Style／思源宋體，內文採系統無襯線，與香港站的 Noto Serif 主導不同。
 */
:root {
  --ink: #171512;
  --ink-soft: #25211c;
  --paper: #f8f4eb;
  --paper-deep: #eee6d8;
  --jade: #7f5930;
  --jade-deep: #4a392a;
  --tea: #7a5c3e;
  --gold: #d2a24c;
  --gold-soft: #efd29a;
  --text: #28231d;
  --muted: #6e655b;
  --line: rgba(55, 45, 34, .16);
  --shell: 1180px;
  --header-h: 86px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --serif: "Iowan Old Style", "Noto Serif TC", "Songti TC", serif;
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); background: var(--paper); font: 16px/1.78 var(--sans); }
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, summary { font: inherit; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 16px; padding: 10px 14px; background: var(--gold); color: var(--ink); font-weight: 800; text-decoration: none; }
.skip-link:focus { top: 12px; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
/* Eyebrows are 11.8px, so they are normal-size text under WCAG and need 4.5:1.
   --gold only reaches 2.12:1 on paper and 6.16:1 on the tobacco band, so each surface gets
   the accent that actually passes: tea on light bands, soft gold on dark ones. */
.eyebrow { margin: 0 0 14px; color: var(--tea); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { display: inline-block; width: 32px; height: 1px; margin: 0 10px 4px 0; background: currentColor; content: ""; }

.site-header { position: sticky; z-index: 50; top: 0; min-height: var(--header-h); color: #fffaf1; background: rgba(23, 21, 18, .97); border-bottom: 1px solid rgba(210, 162, 76, .28); backdrop-filter: blur(15px); }
.header-row { min-height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { flex: 0 0 auto; display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand-word { color: #edb957; font: 700 clamp(1.8rem, 3vw, 2.65rem)/.92 var(--serif); letter-spacing: .12em; }
.brand-tagline { margin-top: 9px; color: rgba(255, 250, 241, .72); font-size: .7rem; letter-spacing: .18em; }
.site-menu { margin-left: auto; }
/* Chrome 131+ gives <details> a ::details-content pseudo whose UA rule is
   `content-visibility: hidden` while closed. That skips rendering of the whole subtree, so
   the desktop navigation collapsed to zero width no matter what `display` the nav carried.
   Opting the pseudo back in hands visibility control to the display rules below:
   desktop shows the row, the 860px block hides it until the drawer is open. */
.site-menu::details-content { content-visibility: visible; }
.site-menu summary { display: none; }
.site-menu:not([open]) > .site-nav { display: flex; }
.site-nav { display: flex; align-items: center; gap: clamp(13px, 1.7vw, 24px); }
.site-nav a { color: rgba(255, 250, 241, .72); font-size: .88rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-soft); }
.auth-actions { display: flex; align-items: center; gap: 11px; }
.auth-actions a { color: rgba(255,250,241,.86); font-size: .84rem; text-decoration: none; white-space: nowrap; }
.auth-actions .register { padding: 9px 14px; color: var(--ink); background: var(--gold); font-weight: 800; }

.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: grid; align-items: end; overflow: hidden; color: #fffaf1; background: radial-gradient(circle at 78% 18%, rgba(138,97,52,.42), transparent 33%), linear-gradient(125deg, #171512 10%, #4a392a 105%); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .68; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,15,13,.92) 0%, rgba(17,15,13,.65) 48%, rgba(17,15,13,.3) 100%), linear-gradient(0deg, rgba(17,15,13,.62), transparent 52%); content: ""; }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(78px, 12vh, 130px) clamp(66px, 10vh, 108px); }
.hero h1, .page-hero h1 { margin: 0; max-width: 18ch; font: 700 clamp(2.7rem, 6.3vw, 5.25rem)/1.12 var(--serif); letter-spacing: .01em; }
.hero h1 span, .page-hero h1 span { white-space: nowrap; }
.hero-lead { max-width: 55ch; margin: 24px 0 0; color: rgba(255,250,241,.8); font-size: clamp(1rem, 1.5vw, 1.14rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 21px; border: 1px solid var(--gold); color: #f6cf88; font-weight: 800; text-decoration: none; }
.button:hover { background: rgba(210,162,76,.13); }
.button-primary { color: var(--ink); background: var(--gold); }
.button-primary:hover { background: #e5b65f; }
.band-paper .button, .band-sand .button { color: var(--tea); }
.band-paper .button-primary, .band-sand .button-primary { color: var(--ink); }

.trust-strip { color: #fffaf1; background: var(--ink-soft); border-bottom: 1px solid rgba(255,255,255,.1); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 22px 28px; border-left: 1px solid rgba(255,255,255,.1); }
.trust-item:last-child { border-right: 1px solid rgba(255,255,255,.1); }
.trust-item strong { display: block; color: var(--gold-soft); font-family: var(--serif); font-size: 1.1rem; }
.trust-item span { color: rgba(255,250,241,.62); font-size: .86rem; }

.page-hero { position: relative; overflow: hidden; color: #fffaf1; background: linear-gradient(128deg, #171512, #4a392a); }
/* 一級頁 page-hero 背景圖：與首頁 hero 同一套層序——圖在漸變之上、遮罩之下、文字最上。
   遮罩左重右輕，文字全部靠左，右側留給畫面。無圖的頁（法務/城市子頁）不受影響：
   ::after 只在 .page-hero--photo 出現，漸變底色保持原樣 */
.page-hero-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; z-index: 0; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(17,15,13,.9) 0%, rgba(17,15,13,.62) 48%, rgba(17,15,13,.32) 100%),
              linear-gradient(0deg, rgba(17,15,13,.55), transparent 55%); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-inner { padding-block: clamp(78px, 10vw, 128px); }
.page-hero h1 { max-width: 21ch; font-size: clamp(2.45rem, 5.5vw, 4.65rem); }
.page-hero p { max-width: 61ch; margin: 22px 0 0; color: rgba(255,250,241,.76); font-size: 1.06rem; }

.band { padding-block: clamp(70px, 9vw, 112px); background: var(--paper); }
.band-paper { background: var(--paper); }
.band-sand { background: var(--paper-deep); }
.band-jade { color: #fffaf1; background: var(--jade-deep); }
.band-ink { color: #fffaf1; background: var(--ink); }
.band-heading { max-width: 68ch; }
.band-heading h2, .split-copy h2 { margin: 0; font: 700 clamp(2rem, 4.3vw, 3.65rem)/1.18 var(--serif); }
.band-heading h2 span, .split-copy h2 span { white-space: nowrap; }
.band-heading > p, .split-copy > p { margin: 18px 0 0; color: var(--muted); }
.band-jade .band-heading > p, .band-ink .band-heading > p, .band-jade .split-copy > p, .band-ink .split-copy > p { color: rgba(255,250,241,.7); }
/* The eyebrow is a <p>, so the lead-paragraph rules above outrank the base .eyebrow colour.
   These two rules restore the intended accent and must stay in this order: the dark-band
   rule ties on specificity with the light one and wins by coming last.
   Eyebrows are 11.8px normal-size text, so both surfaces are held to WCAG AA 4.5:1 —
   tea on paper 5.58 / on sand 4.94; soft gold on tobacco 7.52 / on ink 12.46;
   mid-brown #7f5930 on paper 5.67 / on sand 5.02（皆過 AA 4.5，2026-08 實測）。 */
.band-heading > .eyebrow, .split-copy > .eyebrow { color: var(--tea); }
.hero .eyebrow, .page-hero .eyebrow, .band-jade .eyebrow, .band-ink .eyebrow,
.band-jade .band-heading > .eyebrow, .band-ink .band-heading > .eyebrow,
.band-jade .split-copy > .eyebrow, .band-ink .split-copy > .eyebrow { color: var(--gold-soft); }
/* 金玉雙色標線是台灣站的節奏記號，不與其它站共用 */
.rule { width: 68px; height: 2px; margin-top: 21px; background: linear-gradient(90deg, var(--gold) 0 62%, var(--jade) 62% 100%); }
.band-jade .rule, .band-ink .rule { background: linear-gradient(90deg, var(--gold) 0 62%, var(--gold-soft) 62% 100%); }
/* 非對稱雙欄：論述欄比引言欄寬，中間留一道細金線 */
.split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(44px, 7vw, 92px); align-items: start; }
.split-copy { position: relative; }

/* 圖文並排：配圖進雙欄的一側，與文案垂直對中。四段的欄比與圖側刻意各不相同——
   同一種版式連用四次正是「湊數」的來源，節奏要靠版式本身變化，不是靠多加圖。
   欄比也刻意避開母站與港站既有的組合，維持台灣站自有的節奏記號。 */
.split-media { align-items: center; }
.split-text > .prose { margin-top: 24px; }
.split-figure { margin: 0; }
/* height:auto 不可省——<img> 帶 width/height 屬性時會架空 aspect-ratio，圖會被拉成原始比例 */
.split-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.split.split-media--figure-right { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); }
.split.split-media--figure-left { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.band-ink .split.split-media--figure-left { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); }
/* 抽象光弧不是人物照，視覺重量本就輕——欄比拉開成「大段文字＋窄圖」，
   與 s2 的近均分並排拉開差異，避免兩段同為圖在右而顯得重複 */
.split.split-media--figure-narrow { grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr); }
/* 直式長方形：圖左｜三張卡右 這種配置，橫圖只有卡片欄的一半高，左下必然空一大塊；
   直式讓兩欄接近等高。窄欄同理——414px 寬配橫圖太小，直式才立得住。 */
.split-figure--tall img { aspect-ratio: 3 / 4; }
/* 三張編號卡進右欄後只剩一半寬度，橫排會擠成細條——並排脈絡下改為單欄堆疊 */
.split-media .cards { grid-template-columns: 1fr; }
.prose { max-width: 70ch; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.18em; color: var(--muted); }
.band-jade .prose p, .band-ink .prose p { color: rgba(255,250,241,.72); }
.prose h2, .prose h3 { font-family: var(--serif); line-height: 1.3; }
.prose h2 { margin: 0 0 18px; font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
.prose h3 { position: relative; margin: 28px 0 8px; padding-left: 16px; font-size: 1.28rem; }
.prose h3::before { position: absolute; top: .42em; left: 0; width: 6px; height: 6px; background: var(--jade); content: ""; }
.band-jade .prose h3::before, .band-ink .prose h3::before { background: var(--gold); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 42px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-top: 2px solid var(--tea); background: rgba(255,255,255,.48); }
.card-number { color: var(--jade); font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.card h3 { margin: 15px 0 9px; font: 700 1.28rem/1.35 var(--serif); }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.band-jade .card, .band-ink .card { border-color: rgba(255,255,255,.14); border-top-color: var(--gold); background: rgba(255,255,255,.045); }
.band-jade .card-number, .band-ink .card-number { color: var(--gold-soft); }
.band-jade .card p, .band-ink .card p { color: rgba(255,250,241,.68); }

/* 圖版：茶褐細框 + 玉色底襯，是台灣站專用的圖片處理 */
.figure { margin: 44px 0 0; padding: 10px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(86,111,101,.12), rgba(122,92,62,.1)); }
.figure img { width: 100%; height: auto; }
.band-jade .figure, .band-ink .figure { border-color: rgba(255,255,255,.16); background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(210,162,76,.08)); }

.steps { margin: 38px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: steps; content: counter(steps, decimal-leading-zero); color: var(--jade); font: 700 1.35rem/1 var(--serif); }
.steps h3 { margin: 0 0 6px; font: 700 1.27rem/1.3 var(--serif); }
.steps p { margin: 0; color: var(--muted); }

.city-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 38px; }
.city-link, .contact-card { display: block; padding: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.42); text-decoration: none; }
.city-link:hover, .contact-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.city-link h3, .contact-card h3 { margin: 0 0 8px; font: 700 1.45rem/1.3 var(--serif); }
.city-link p, .contact-card p { margin: 0; color: var(--muted); }
.city-link span, .contact-card span { display: inline-block; margin-top: 16px; color: var(--jade-deep); font-weight: 800; }
.contact-card-primary { grid-column: 1 / -1; color: #fffaf1; background: var(--jade-deep); }
.contact-card-primary p { color: rgba(255,250,241,.7); }
.contact-card-primary span { color: var(--gold-soft); }

/* 聯絡頁先讓使用者看見可行動的官方入口，再補充服務說明。
   桌面把說明與入口並排，讓聯絡方式在首屏之後立即進入視線。 */
.contact-hero .page-hero-inner { padding-block: clamp(62px, 7.5vw, 96px); }
.contact-hero .actions { margin-top: 28px; }
.contact-channels { padding-block: clamp(58px, 7vw, 82px); }
.contact-channels .shell { display: grid; grid-template-columns: minmax(300px, .84fr) minmax(0, 1.66fr); gap: clamp(48px, 6vw, 92px); align-items: start; }
/* 標題行是 nowrap 的 7 字（選擇方便的管道），全站 h2 的 4.3vw 上限在這個窄欄會壓進卡片欄——
   本段單獨封頂，讓標題安住左欄，欄距才真正成立 */
.contact-channels .band-heading h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
/* 標題行 nowrap 十字（再匹配值得認識糖戀對象），全站 4.3vw 上限在 1.1fr 文欄剛好溢 6px——同法封頂 */
.contact-understand .split-copy h2 { font-size: clamp(1.9rem, 3.9vw, 3.3rem); }
.contact-channels .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.contact-channels .contact-card { min-height: 212px; display: flex; flex-direction: column; }
.contact-channels .contact-card span { margin-top: auto; padding-top: 20px; }
.contact-channels .contact-card-primary { grid-column: auto; }
.contact-brief { padding-block: clamp(62px, 7.5vw, 92px); }
.contact-brief .card { min-height: 205px; }
.contact-assurance { padding-block: clamp(58px, 7vw, 84px); }

.faq-list { margin-top: 38px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; font: 700 1.1rem/1.45 var(--serif); list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 22px; right: 4px; content: "+"; color: var(--jade); font: 700 1.4rem/1 var(--sans); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 72ch; margin: -4px 0 22px; color: var(--muted); }
.faq-list a { color: var(--tea); font-weight: 700; }

.source-list { margin: 31px 0 0; padding: 0; list-style: none; }
.source-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.source-list li:last-child { border-bottom: 1px solid var(--line); }
.source-list a { color: var(--jade-deep); font-weight: 800; text-underline-offset: 4px; }
.source-list span { display: block; color: var(--muted); font-size: .9rem; }
.band-ink .source-list li { border-color: rgba(255,255,255,.14); }
.band-ink .source-list a { color: var(--gold-soft); }
.band-ink .source-list span { color: rgba(255,250,241,.62); }
.legal-list { margin: 31px 0 0; padding-left: 1.2em; color: var(--muted); }
.legal-list li { margin-bottom: .7em; }
.band-jade .legal-list, .band-ink .legal-list { color: rgba(255,250,241,.72); }
.prose a, .legal-list a, .note a { color: var(--tea); font-weight: 700; text-underline-offset: 3px; }
.band-jade .prose a, .band-ink .prose a, .band-ink .note a { color: var(--gold-soft); }
.note { margin-top: 40px; padding: 25px 27px; border-left: 3px solid var(--gold); background: rgba(210,162,76,.1); }
.note h3 { margin: 0 0 8px; font: 700 1.2rem/1.3 var(--serif); }
.note p { margin: 0; color: var(--muted); }
.band-ink .note p { color: rgba(255,250,241,.72); }

.site-footer { color: #fffaf1; background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding-block: 62px 34px; }
.footer-brand { display: inline-flex; flex-direction: column; }
.footer-brand .brand-word { font-size: 2rem; }
.footer-copy { max-width: 54ch; color: rgba(255,250,241,.58); font-size: .88rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; align-content: start; }
.footer-nav a { color: rgba(255,250,241,.7); font-size: .88rem; text-decoration: none; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-fine { grid-column: 1 / -1; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,250,241,.48); font-size: .78rem; }

@media (max-width: 1020px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-channels .shell { display: block; }
  .contact-channels .contact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-channels .contact-grid { margin-top: 38px; }
  .auth-actions .login { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .shell { width: min(calc(100% - 34px), var(--shell)); }
  .header-row { min-height: var(--header-h); gap: 13px; }
  .brand-word { font-size: 1.75rem; }
  .brand-tagline { margin-top: 6px; font-size: .58rem; }
  .auth-actions { margin-left: auto; }
  .auth-actions .register { padding: 8px 10px; font-size: .76rem; }
  .site-menu { order: 3; margin-left: 0; }
  .site-menu summary { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; list-style: none; color: transparent; overflow: hidden; }
  .site-menu summary::-webkit-details-marker { display: none; }
  .site-menu summary::before, .site-menu summary::after { position: absolute; width: 22px; height: 1px; background: var(--gold-soft); content: ""; transition: transform .18s ease; }
  .site-menu summary::before { transform: translateY(-4px); }
  .site-menu summary::after { transform: translateY(4px); }
  .site-menu[open] summary::before { transform: rotate(45deg); }
  .site-menu[open] summary::after { transform: rotate(-45deg); }
  .site-menu:not([open]) > .site-nav { display: none; }
  .site-menu[open] > .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; display: grid; gap: 0; padding: 12px 17px 18px; background: #1d1a16; border-bottom: 1px solid rgba(210,162,76,.35); box-shadow: 0 22px 38px rgba(0,0,0,.28); }
  .site-nav a { min-height: 46px; display: flex; align-items: center; padding-inline: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .hero h1, .page-hero h1 { font-size: clamp(2.45rem, 10.5vw, 4rem); }
  .hero::after { background: linear-gradient(0deg, rgba(17,15,13,.91) 0%, rgba(17,15,13,.48) 78%, rgba(17,15,13,.28) 100%); }
  .trust-grid, .cards, .split { grid-template-columns: 1fr; }
  /* 並排欄比的特異性高於上一行，行動版必須以同等特異性顯式塌回單欄 */
  .split.split-media--figure-right, .split.split-media--figure-left,
  .split.split-media--figure-narrow,
  .band-ink .split.split-media--figure-left { grid-template-columns: 1fr; }
  .trust-item, .trust-item:last-child { border: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .city-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-channels .contact-grid { grid-template-columns: 1fr; }
  .contact-card-primary { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-fine { grid-column: auto; }
  .figure { margin-top: 34px; }
}

/* 中文標題以整段語義單元不換行呈現，字級必須小到讓最長一行在窄視口內完整放下。 */
@media (max-width: 480px) {
  .brand-word { font-size: 1.55rem; }
  .brand-tagline { letter-spacing: .12em; }
  .hero h1, .page-hero h1 { font-size: 2.05rem; }
  .band-heading h2, .split-copy h2 { font-size: 1.62rem; }
  .prose h2 { font-size: 1.62rem; }
  .cards-4 { grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
}

@media (max-width: 360px) {
  .hero h1, .page-hero h1 { font-size: 1.9rem; }
  .band-heading h2, .split-copy h2 { font-size: 1.48rem; }
  .prose h2 { font-size: 1.48rem; }
  .card { padding: 22px; }
  .city-link, .contact-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  /* 影片元素保留在版面內，讓 hero-video.js 的 poster 回落仍然看得見；
     零影片位元組由該檔的 heroDecision 決定，不靠隱藏元素達成。 */
  .city-link:hover, .contact-card:hover { transform: none; }
}

/* ─────────────────────────────────────────────────────────────
   CR-171 原型：配圖 + 視覺調性（年輕 · 高端）
   借美國站的「色帶 + 組件自動適配」機制，但保留台灣站的玉色身份；
   不複製任何美國站樣式碼。
   ───────────────────────────────────────────────────────────── */

/* 首屏靜態圖 —— 影片門控仍為 false 時撐住第一屏，
   構圖左三分之一為暗部，與 .hero::after 的左暗右亮遮罩對齊。 */
.hero-still {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 50%;
  opacity: .92; z-index: 0;
}
.hero-media { z-index: 0; }
/* 影片層是 .68 半透明——底下的靜態圖必須在影片取得片源後退場，否則影片一切換鏡頭，
   不動的首幀圖就會從 32% 的縫隙裡透出來（雙重曝光鬼影）。反向同樣成立：
   reduce-motion 或未授權時 hero-video.js 會撤掉 src，底圖自動回場，回落語義不變。 */
.hero:has(.hero-media[src]) .hero-still { visibility: hidden; }
/* 影片門控未開時，空的 <video> 會被瀏覽器畫成不透明黑框，正好蓋掉靜態圖。
   門控語義本來就是「還沒有影片」——那就不該佔畫面。門控翻 true 時由 hero-video.js 顯示。 */
.hero-media[data-media-ready="false"] { display: none; }
.hero-inner { z-index: 2; }
.hero::after { z-index: 1; }

/* 首屏字級放大、行距收緊 —— 年輕感來自尺度對比，不是加裝飾 */
.hero h1 { font-size: clamp(3rem, 7.2vw, 6rem); line-height: 1.06; letter-spacing: -.005em; }
.hero-lead { font-size: clamp(1.02rem, 1.55vw, 1.2rem); line-height: 1.85; }

/* 色帶配圖 —— 滿版寬幅，四角切直角，與站內帶框圖版一致 */
.band-figure {
  width: min(calc(100% - 48px), var(--shell));
  margin: clamp(38px, 5.2vw, 64px) auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
}
.band-figure img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.band-jade .band-figure, .band-ink .band-figure { border-color: rgba(255,250,241,.18); }

@media (prefers-reduced-motion: no-preference) {
  .band-figure:hover img { transform: scale(1.022); }
}

/* 有了真實照片之後，原本為純漸變底調的遮罩過重（左 92%／底 62%），會把畫面壓死。
   重新分配：左側維持壓字所需的暗度，右側讓出人物與台北 101。 */
.hero::after {
  background:
    linear-gradient(90deg, rgba(17,15,13,.90) 0%, rgba(17,15,13,.62) 38%, rgba(17,15,13,.18) 72%, rgba(17,15,13,.06) 100%),
    linear-gradient(0deg, rgba(17,15,13,.55), transparent 46%);
}
