/* 莎夏公園 Sandown Park 官網 v2
   配色延續 REN 場租圖卡：森林綠、金、暖白、暖墨 */
:root {
  --forest: #1a2e1c;
  --forest-2: #223a27;
  --forest-3: #2e4a33;
  --gold: #c4a070;
  --gold-hi: #dec99a;
  --paper: #faf8f5;
  --paper-2: #f0ebe3;
  --ink: #2c2420;
  --ink-2: #6b6058;
  --muted: #a89e94;
  --line: #ddd7cf;
  --line-d: rgba(222, 201, 154, .18);
  --f-zh: "Noto Serif TC", serif;
  --f-body: "Noto Sans TC", system-ui, sans-serif;
  --f-en: "Cormorant Garamond", "Noto Serif TC", serif;
  --f-script: "Pinyon Script", cursive;
  --g: clamp(16px, 4.2vw, 64px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; } /* 手機上避免動畫中的元素把整頁撐寬 */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-hi); color: var(--forest); }

/* 紙紋顆粒 */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 共用字級 ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-en); font-size: 13px; letter-spacing: .36em; text-transform: uppercase; color: var(--gold);
}
.kicker::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.kicker.zh { font-family: var(--f-body); letter-spacing: .3em; }
.t-display { font-family: var(--f-zh); font-weight: 500; font-size: clamp(42px, 6.6vw, 104px); line-height: 1.16; letter-spacing: .06em; margin: 0; }
.t-xl { font-family: var(--f-zh); font-weight: 500; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.3; letter-spacing: .06em; margin: 0; }
.t-l { font-family: var(--f-zh); font-weight: 500; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.45; letter-spacing: .04em; margin: 0; }
.t-en { font-family: var(--f-en); font-style: italic; font-weight: 400; }
.lede { font-size: clamp(15px, 1.15vw, 17px); color: var(--ink-2); max-width: 30em; text-wrap: pretty; letter-spacing: .02em; }
.num { font-family: var(--f-en); font-weight: 400; line-height: .9; color: var(--gold); }
.script { font-family: var(--f-script); color: var(--gold-hi); font-weight: 400; }
.wrap { padding: 0 var(--g); max-width: 1560px; margin: 0 auto; }
.dark { background: var(--forest); color: var(--paper); }
.dark .lede { color: rgba(250, 248, 245, .68); }
.line-mask { display: block; overflow: hidden; padding: .04em 0 .1em; margin: -.04em 0 -.1em; }
.ch { display: inline-block; will-change: transform; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 按鈕 ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 30px; border: 1px solid currentColor; background: transparent;
  font-size: 14px; letter-spacing: .22em; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--forest); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover { color: var(--paper); border-color: var(--forest); }
.btn:hover::before { transform: none; }
.btn.gold { color: var(--forest); background: var(--gold); border-color: var(--gold); }
.btn.gold::before { background: var(--gold-hi); }
.btn.gold:hover { color: var(--forest); border-color: var(--gold-hi); }
.dark .btn:not(.gold) { color: var(--gold-hi); }
.dark .btn:not(.gold)::before { background: var(--gold-hi); }
.dark .btn:not(.gold):hover { color: var(--forest); border-color: var(--gold-hi); }
.btn .arr { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.link-u:hover { background-size: 100% 1px; }

/* ---------- 載入畫面 ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--paper); display: grid; place-items: center; animation: loaderOut 0s 5s forwards; }
@keyframes loaderOut { to { visibility: hidden; } } /* 程式沒載到時 5 秒後自動消失 */
.loader-inner { width: min(640px, 84vw); text-align: center; }
.loader-sketch { width: 100%; aspect-ratio: 1800 / 1163; background: url(img/sketch.png) center / contain no-repeat; clip-path: inset(0 100% 0 0); }
.loader-meta { display: flex; justify-content: space-between; margin-top: 22px; font-family: var(--f-en); letter-spacing: .32em; font-size: 12px; color: var(--ink-2); text-transform: uppercase; }
.loader-bar { height: 1px; background: var(--line); margin-top: 12px; position: relative; overflow: hidden; }
.loader-bar i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.no-motion .loader, .loaded .loader { display: none; }

/* ---------- 導覽列 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 36px; padding: 20px var(--g);
  transition: transform .6s var(--ease), background .5s, padding .5s, color .5s;
}
.nav.scrolled, .nav.solid { background: rgba(250, 248, 245, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav.on-dark:not(.scrolled):not(.solid) { color: var(--paper); }
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand b { display: block; font-family: var(--f-zh); font-weight: 500; font-size: 16px; letter-spacing: .2em; line-height: 1.2; }
.brand small { display: block; font-family: var(--f-en); font-size: 11px; letter-spacing: .34em; text-transform: uppercase; opacity: .7; }
.nav-links { display: flex; gap: 30px; font-size: 14px; letter-spacing: .16em; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 11px 22px; font-size: 13px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn i:first-child { top: 18px; } .menu-btn i:last-child { top: 26px; }
.menu-open .menu-btn i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--forest); color: var(--paper); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--g) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
.menu-open .menu { clip-path: inset(0); }
.menu a { font-family: var(--f-zh); font-size: clamp(30px, 8vw, 48px); line-height: 1.6; letter-spacing: .1em; }
.menu a small { font-family: var(--f-en); font-style: italic; font-size: 16px; color: var(--gold); margin-left: 12px; letter-spacing: .05em; }
.menu-open .nav { color: var(--paper); background: transparent; border-color: transparent; backdrop-filter: none; }
@media (max-width: 1000px) {
  .nav-links, .nav .btn { display: none; }
  .nav { gap: 12px; }
  .menu-btn { display: block; color: inherit; }
  .brand small { display: none; }
}

/* ---------- 首頁：開場 ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--g) 80px; overflow: hidden; }
.hero-text { position: relative; z-index: 3; max-width: 620px; }
.hero-text .t-display { margin: 26px 0 30px; font-size: clamp(40px, 5.6vw, 92px); }
.hero-text .line-mask { white-space: nowrap; }
.hero-text .lede { margin: 0 0 40px; max-width: 28em; }
.hero-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 40px; justify-content: start; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); letter-spacing: .08em; }
.hero-meta b { display: block; font-family: var(--f-en); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--ink); letter-spacing: 0; }
/* 線稿當整片底圖：靠右放大，左側文字壓在留白處 */
.hero-visual { position: absolute; inset: 0; pointer-events: none; }
.sk-box { position: absolute; right: -2%; top: 50%; width: min(78vw, 1320px); aspect-ratio: 1800 / 1163; margin-top: calc(min(78vw, 1320px) * -0.31); /* 用 margin 置中，transform 留給滑鼠視差 */ will-change: transform; }
.hero-sketch::before { content: ""; position: absolute; inset: 0; background: url(img/sketch.png) center / contain no-repeat; opacity: .78; }
/* 滑鼠經過的線條變金色：用線稿本身當遮罩，再疊一個跟著游標的圓 */
.sk-ink { position: absolute; inset: 0; background: #a9833f; --mx: -999px; --my: -999px;
  -webkit-mask-image: url(img/sketch.png), radial-gradient(circle 190px at var(--mx) var(--my), #000 0%, #000 30%, transparent 100%);
  -webkit-mask-size: contain, 100% 100%; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center, 0 0; -webkit-mask-composite: source-in;
  mask-image: url(img/sketch.png), radial-gradient(circle 190px at var(--mx) var(--my), #000 0%, #000 30%, transparent 100%);
  mask-size: contain, 100% 100%; mask-repeat: no-repeat; mask-position: center, 0 0; mask-composite: intersect; }
.hero-spots { z-index: 3; pointer-events: none; }
.hs { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; padding: 0; border-radius: 50%; border: 1px solid var(--forest); background: var(--paper); color: var(--forest); font-family: var(--f-en); font-size: 15px; cursor: pointer; pointer-events: auto; transition: background .4s, color .4s, box-shadow .4s; }
.hs i { font-style: italic; }
.hs::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--gold); animation: ping 2.6s ease-out infinite; pointer-events: none; }
.hs:hover, .hs:focus-visible { background: var(--forest); color: var(--gold-hi); box-shadow: 0 0 0 6px rgba(196,160,112,.25); outline: none; }
.hs-card { position: absolute; right: calc(100% + 18px); bottom: 0; width: 220px; padding: 10px 10px 14px; background: var(--paper); box-shadow: 0 24px 60px rgba(26,46,28,.22); text-align: left; color: var(--ink); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .35s, transform .5s var(--ease); }
.hs-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hs-card b { display: block; margin-top: 10px; font-family: var(--f-zh); font-weight: 500; font-size: 18px; letter-spacing: .08em; }
.hs-card small { font-family: var(--f-en); font-style: italic; color: var(--gold); font-size: 14px; }
.hs:hover .hs-card, .hs:focus-visible .hs-card { opacity: 1; transform: none; }
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 52%; z-index: 1; background: linear-gradient(to right, var(--paper) 55%, rgba(250,248,245,0)); pointer-events: none; }
.hero-badge { position: absolute; right: calc(var(--g) + 10px); bottom: 48px; width: 120px; height: 120px; z-index: 3; }
.hero-badge svg { width: 100%; height: 100%; animation: spin 28s linear infinite; }
.hero-badge img { position: absolute; inset: 26%; width: 48%; border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1000px) {
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; padding-top: 52svh; }
  .hero::before { inset: 30svh 0 0 0; width: auto; background: linear-gradient(to bottom, rgba(250,248,245,0), var(--paper) 22%); }
  .sk-box { width: 150vw; right: -32vw; top: 70px; margin-top: 0; }
  .hs { width: 34px; height: 34px; margin: -17px 0 0 -17px; font-size: 13px; }
  .hs-card { display: none; }
  .hero-badge { width: 84px; height: 84px; top: 90px; bottom: auto; right: var(--g); }
}

/* ---------- 全幅照片＋宣言 ---------- */
.manifesto { position: relative; height: 100svh; overflow: hidden; color: var(--paper); background: var(--forest); }
.manifesto-img { position: absolute; inset: 0; will-change: clip-path; }
.motion .manifesto-img { clip-path: inset(14% 18% 14% 18%); }
.manifesto-img img { width: 100%; height: 100%; object-fit: cover; }
.motion .manifesto-img img { transform: scale(1.18); }
.manifesto-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 30, 20, .82), rgba(18, 30, 20, .28) 60%, rgba(18, 30, 20, .4)); }
.manifesto-text { position: absolute; left: var(--g); right: var(--g); bottom: 12vh; z-index: 2; max-width: 1100px; }
.manifesto-text .m-line { font-family: var(--f-zh); font-weight: 500; font-size: clamp(26px, 3.4vw, 50px); line-height: 1.6; letter-spacing: .06em; margin: 24px 0 0; }
.motion .manifesto-text .m-line .ch { opacity: .16; }

/* ---------- 空間導覽（平面圖＋照片） ---------- */
.tour { position: relative; background: var(--paper-2); }
.tour-head { padding: clamp(100px, 12vw, 170px) 0 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.tour-pin { height: 100svh; display: grid; grid-template-columns: minmax(220px, 300px) 1fr minmax(260px, 360px); gap: clamp(24px, 3vw, 56px); align-items: center; padding: 90px var(--g) 40px; }
.plan { height: min(76svh, 760px); justify-self: center; }
.plan svg { height: 100%; width: auto; overflow: visible; }
.plan .lot { stroke: var(--ink); stroke-width: 1.4; }
.plan .lawn { fill: #c9d3bd; }
.plan .gravel { fill: #e6d6b8; }
.plan .bldg { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.2; }
.plan .bldg-hatch { stroke: var(--ink); stroke-width: .5; opacity: .3; }
.plan .road { stroke: var(--ink); stroke-width: 2.4; }
.plan .lbl { font-family: var(--f-body); font-size: 11px; letter-spacing: .2em; fill: var(--ink-2); }
.plan .route { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-dasharray: 4 5; }
.plan .route-done { fill: none; stroke: var(--forest); stroke-width: 2.2; }
.plan .stop circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; transition: fill .4s, r .4s; }
.plan .stop text { font-family: var(--f-en); font-size: 12px; fill: var(--ink); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.plan .stop { cursor: pointer; }
.plan .stop.on circle { fill: var(--forest); stroke: var(--forest); }
.plan .stop.on text { fill: var(--gold-hi); }
.plan .walker { fill: var(--gold); }
.plan .walker-halo { fill: var(--gold); opacity: .25; transform-box: fill-box; transform-origin: center; animation: halo 2s ease-out infinite; }
@keyframes halo { from { transform: scale(.6); opacity: .5; } to { transform: scale(2.2); opacity: 0; } }
.stage { position: relative; height: min(76svh, 760px); overflow: hidden; background: var(--line); }
.stage figure { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); }
.stage figure.on { clip-path: inset(0); z-index: 2; }
.stage figure.prev { clip-path: inset(0); z-index: 1; }
.stage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.stage figure.on img { transform: scale(1); }
.stage-count { position: absolute; right: 18px; top: 14px; z-index: 3; font-family: var(--f-en); color: var(--paper); font-size: 15px; letter-spacing: .2em; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.tour-info { position: relative; min-height: 330px; }
.tour-info article { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.tour-info article.on { opacity: 1; transform: none; pointer-events: auto; }
.tour-info .roman { font-family: var(--f-en); font-style: italic; font-size: 64px; line-height: 1; color: var(--gold); }
.tour-info h3 { font-family: var(--f-zh); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: .08em; margin: 10px 0 4px; }
.tour-info .en { font-family: var(--f-en); letter-spacing: .3em; font-size: 12px; text-transform: uppercase; color: var(--ink-2); }
.tour-info p { color: var(--ink-2); margin: 18px 0 0; }
.tour-info dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.tour-info dt { color: var(--gold); letter-spacing: .1em; }
.tour-info dd { margin: 0; }
.tour-progress { position: absolute; left: var(--g); right: var(--g); bottom: 22px; height: 1px; background: var(--line); }
.tour-progress i { position: absolute; inset: 0; background: var(--forest); transform-origin: left; transform: scaleX(0); }
@media (max-width: 1000px) {
  .tour-head { grid-template-columns: 1fr; padding-bottom: 24px; }
  .tour-pin { height: auto; display: block; padding: 0 var(--g) 80px; }
  .plan { display: none; }
  .stage, .tour-info, .tour-progress { display: none; }
  .tour-list { display: grid; gap: 56px; }
}
.tour-list { display: none; }
.tour-list figure { margin: 0 0 18px; aspect-ratio: 4 / 5; overflow: hidden; }
.tour-list img { width: 100%; height: 100%; object-fit: cover; }
.tour-list h3 { font-family: var(--f-zh); font-weight: 500; font-size: 26px; margin: 0; letter-spacing: .06em; }
.tour-list .roman { font-family: var(--f-en); font-style: italic; color: var(--gold); font-size: 22px; margin-right: 10px; }
.tour-list p { color: var(--ink-2); margin: 8px 0 0; }
@media (max-width: 1000px) { .tour-list { display: grid; } }

/* ---------- 規格數字 ---------- */
.specs { padding: clamp(90px, 11vw, 150px) 0; }
.specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); }
.spec { padding: 34px 28px 0 0; border-right: 1px solid var(--line-d); }
.spec + .spec { padding-left: 28px; }
.spec:last-child { border-right: 0; }
.spec .label { font-size: 13px; letter-spacing: .26em; color: var(--muted); }
.spec .num { font-size: clamp(72px, 8vw, 128px); display: block; margin: 18px 0 6px; }
.spec .num small { font-family: var(--f-body); font-size: 18px; color: var(--gold-hi); margin-left: 6px; letter-spacing: .1em; }
.spec p { margin: 0; font-size: 14px; color: rgba(250, 248, 245, .65); }
@media (max-width: 1000px) {
  .specs-grid { grid-template-columns: 1fr 1fr; }
  .spec { padding: 28px 16px 28px 0 !important; border-right: 0; border-bottom: 1px solid var(--line-d); }
}

/* ---------- 生境花園（熱點） ---------- */
.habitat { padding: clamp(100px, 12vw, 170px) 0; }
.habitat-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.hotspot-img { position: relative; aspect-ratio: 4 / 5; }
.hotspot-img > img { width: 100%; height: 100%; object-fit: cover; }
.spot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 0; background: none; cursor: pointer; padding: 0; z-index: 2; }
.spot::before, .spot::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--paper); box-shadow: 0 2px 12px rgba(0,0,0,.3); transition: transform .4s var(--ease), background .3s; }
.spot::after { inset: 4px; background: none; border: 1px solid var(--paper); animation: ping 2.4s ease-out infinite; box-shadow: none; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.spot span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-en); font-size: 13px; color: var(--forest); z-index: 1; }
.spot.on::before { background: var(--gold); transform: scale(1.3); }
.spot-card { position: absolute; z-index: 3; width: min(280px, 70%); background: var(--paper); padding: 20px 22px; box-shadow: 0 20px 50px rgba(26,46,28,.25); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.spot-card.on { opacity: 1; transform: none; pointer-events: auto; }
.spot-card h4 { font-family: var(--f-zh); font-weight: 500; font-size: 20px; margin: 0 0 6px; letter-spacing: .06em; }
.spot-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.75; }
.habitat-copy .t-xl { margin: 22px 0 26px; }
.habitat-copy blockquote { margin: 40px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); font-family: var(--f-zh); font-size: 20px; line-height: 1.7; letter-spacing: .04em; }
.habitat-copy blockquote small { display: block; font-family: var(--f-body); font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: .1em; }
.inset { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; margin-top: 34px; }
.inset img { aspect-ratio: 1; object-fit: cover; }
.inset p { margin: 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 1000px) { .habitat-grid { grid-template-columns: 1fr; } }

/* ---------- 過去案例 ---------- */
.cases { padding: clamp(100px, 12vw, 170px) 0 clamp(80px, 10vw, 140px); position: relative; }
.cases-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.case-row { position: relative; display: grid; grid-template-columns: 110px 2.4fr 1fr 1fr 60px; gap: 24px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); cursor: pointer; width: 100%; text-align: left; background: none; border-left: 0; border-right: 0; border-bottom: 0; color: inherit; }
.case-row:last-of-type { border-bottom: 1px solid var(--line); }
.case-row .yr { font-family: var(--f-en); font-size: 18px; color: var(--ink-2); letter-spacing: .08em; }
.case-row h3 { font-family: var(--f-zh); font-weight: 500; font-size: clamp(22px, 2.5vw, 38px); letter-spacing: .05em; margin: 0; line-height: 1.25; transition: transform .6s var(--ease), color .4s; }
.case-row h3 em { display: block; font-family: var(--f-en); font-size: .5em; font-style: italic; color: var(--gold); letter-spacing: .02em; }
.case-row .type, .case-row .where { font-size: 14px; color: var(--ink-2); letter-spacing: .08em; }
.case-row .plus { justify-self: end; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .4s, border-color .4s, transform .6s var(--ease); font-family: var(--f-en); font-size: 22px; }
.case-row::before { content: ""; position: absolute; inset: 0 -14px; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.case-row:hover::before, .case-row:focus-visible::before { transform: scaleY(1); }
.case-row:hover h3 { transform: translateX(14px); color: var(--forest); }
.case-row:hover .plus { background: var(--forest); border-color: var(--forest); color: var(--gold-hi); transform: rotate(90deg); }
.case-float { position: fixed; left: 0; top: 0; z-index: 60; width: 260px; height: 330px; pointer-events: none; }
.case-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(.9) rotate(0deg); transition: opacity .35s, transform .6s var(--ease); box-shadow: 0 24px 60px rgba(26,46,28,.25); }
.case-float img.on { opacity: 1; }
.case-float img.on:nth-child(3n+1) { transform: translate(-30px, 10px) rotate(-6deg); }
.case-float img.on:nth-child(3n+2) { transform: translate(0, -10px) rotate(2deg); }
.case-float img.on:nth-child(3n) { transform: translate(34px, 16px) rotate(7deg); }
@media (max-width: 1000px) {
  .cases-head { grid-template-columns: 1fr; }
  .case-row { grid-template-columns: 1fr 44px; gap: 6px 16px; }
  .case-row .yr { grid-column: 1 / -1; font-size: 15px; }
  .case-row .type, .case-row .where { display: none; }
  .case-row .plus { grid-row: 2; grid-column: 2; }
  .case-float { display: none; }
}

/* 案例展開層 */
.case-modal { position: fixed; inset: 0; z-index: 150; background: var(--forest); color: var(--paper); display: grid; grid-template-rows: auto 1fr auto; clip-path: inset(100% 0 0 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s; }
.case-modal.open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease); }
.cm-top { display: flex; justify-content: space-between; align-items: center; padding: 22px var(--g); border-bottom: 1px solid var(--line-d); }
.cm-close { border: 1px solid var(--line-d); background: none; color: var(--gold-hi); padding: 10px 20px; letter-spacing: .2em; font-size: 13px; cursor: pointer; }
.cm-close:hover { background: var(--gold-hi); color: var(--forest); }
.cm-body { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; min-height: 0; }
.cm-text { padding: 40px var(--g); overflow: auto; border-right: 1px solid var(--line-d); }
.cm-text .t-xl { margin: 14px 0 6px; }
.cm-text .en { font-family: var(--f-en); font-style: italic; color: var(--gold); font-size: 20px; }
.cm-text p { color: rgba(250, 248, 245, .75); margin: 26px 0 0; }
.cm-text dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 22px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: 14px; }
.cm-text dt { color: var(--gold); }
.cm-text dd { margin: 0; }
.cm-gallery { display: flex; gap: 18px; align-items: center; padding: 40px var(--g) 40px 40px; overflow-x: auto; cursor: grab; scrollbar-width: none; overscroll-behavior: contain; }
.cm-gallery::-webkit-scrollbar { display: none; }
.cm-gallery.dragging { cursor: grabbing; }
.cm-gallery img { height: min(62svh, 640px); width: auto; flex: none; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.cm-foot { display: flex; justify-content: space-between; padding: 16px var(--g); font-family: var(--f-en); letter-spacing: .3em; font-size: 12px; color: var(--muted); text-transform: uppercase; border-top: 1px solid var(--line-d); }
.cm-foot button { background: none; border: 0; color: var(--gold-hi); font: inherit; letter-spacing: inherit; cursor: pointer; text-transform: uppercase; }
@media (max-width: 1000px) {
  .cm-body { grid-template-columns: 1fr; grid-template-rows: auto auto; overflow: auto; }
  .cm-text { border-right: 0; padding-bottom: 0; overflow: visible; }
  .cm-gallery { padding: 24px var(--g) 40px; }
  .cm-gallery img { height: 52svh; }
}

/* ---------- Cars & Coffee 月聚檔案 ---------- */
.archive { padding: clamp(100px, 12vw, 170px) 0; overflow: hidden; }
.archive-grid { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.archive-head .script { white-space: nowrap; font-size: clamp(48px, 4.8vw, 80px); line-height: 1; display: block; margin: 18px 0 8px; transform: rotate(-4deg); transform-origin: left; }
.archive-head .t-l { margin-bottom: 18px; }
.archive-head .when { display: flex; gap: 18px; margin: 28px 0 34px; padding: 18px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); font-size: 14px; color: rgba(250, 248, 245, .7); }
.archive-head .when b { display: block; font-family: var(--f-en); font-weight: 400; font-size: 26px; color: var(--gold-hi); }
.ep figure video { width: 100%; height: 100%; object-fit: cover; }
.ep-video figure { aspect-ratio: 3 / 4; }
.ep-video button { position: absolute; right: 10px; bottom: 10px; border: 1px solid rgba(250,248,245,.5); background: rgba(26,46,28,.5); color: var(--paper); font-size: 12px; letter-spacing: .14em; padding: 6px 12px; cursor: pointer; }
.strip-wrap { position: relative; min-width: 0; }
.strip { display: flex; gap: 22px; overflow-x: auto; cursor: grab; padding-bottom: 28px; scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; }
.ep { flex: none; width: clamp(240px, 24vw, 340px); user-select: none; }
.ep figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; position: relative; }
.ep img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; -webkit-user-drag: none; }
.ep figure img + img { position: absolute; inset: 0; opacity: 0; }
.ep:hover figure img + img { opacity: 1; }
.ep:hover figure img { transform: scale(1.05); }
.ep .date { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-family: var(--f-en); letter-spacing: .14em; color: var(--muted); font-size: 14px; }
.ep h4 { font-family: var(--f-zh); font-weight: 500; font-size: 24px; letter-spacing: .08em; margin: 2px 0 0; }
.ep h4 em { font-family: var(--f-en); font-size: 18px; color: var(--gold); margin-left: 10px; }
.ep p { margin: 6px 0 0; font-size: 14px; color: rgba(250, 248, 245, .6); }
.yr-mark { flex: none; align-self: stretch; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-en); font-size: 64px; line-height: 1; color: var(--forest-3); letter-spacing: .06em; padding: 0 4px; border-left: 1px solid var(--line-d); user-select: none; }
.strip-bar { height: 1px; background: var(--line-d); position: relative; }
.strip-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 20%; background: var(--gold); }
.strip-hint { display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--f-en); font-size: 12px; letter-spacing: .3em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 1000px) { .archive-grid { grid-template-columns: 1fr; } }

/* ---------- 包場方案（展開欄） ---------- */
.plans { padding: clamp(100px, 12vw, 170px) 0; }
.plans-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { flex: 1 1 200px; padding: 22px 24px 22px 0; display: flex; align-items: baseline; gap: 12px; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts b { font-family: var(--f-en); font-weight: 400; font-size: 44px; line-height: 1; color: var(--forest); }
.facts span { font-size: 14px; color: var(--ink-2); letter-spacing: .08em; }
.panels { display: flex; gap: 14px; height: min(72svh, 680px); }
.panel { position: relative; flex: 1; overflow: hidden; color: var(--paper); transition: flex 1s var(--ease); display: block; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,30,20,.85), rgba(18,30,20,.05) 60%); }
.panel .p-in { position: absolute; left: 30px; right: 30px; bottom: 30px; z-index: 2; }
.panel .en { font-family: var(--f-en); font-style: italic; color: var(--gold-hi); font-size: 20px; }
.panel h3 { font-family: var(--f-zh); font-weight: 500; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: .1em; margin: 4px 0 0; white-space: nowrap; }
.panel .more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .5s; }
.panel .more p { margin: 14px 0 18px; color: rgba(250, 248, 245, .78); font-size: 15px; max-width: 26em; }
.panel .more span { font-size: 13px; letter-spacing: .2em; border-bottom: 1px solid var(--gold-hi); padding-bottom: 4px; color: var(--gold-hi); }
.panels:hover .panel { flex: .7; }
.panels .panel:hover, .panels .panel:focus-visible { flex: 1.8; }
.panel:hover img { transform: scale(1.05); }
.panel:hover .more, .panel:focus-visible .more { max-height: 200px; opacity: 1; }
.big-event { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px; padding: 26px 30px; background: var(--paper-2); }
.big-event p { margin: 0; color: var(--ink-2); }
.big-event b { font-family: var(--f-zh); font-weight: 500; color: var(--ink); font-size: 19px; letter-spacing: .05em; margin-right: 10px; }
@media (max-width: 1000px) {
  .plans-head { grid-template-columns: 1fr; }
  .panels { flex-direction: column; height: auto; }
  .panel { height: 62svh; flex: none !important; }
  .panel .more { max-height: none; opacity: 1; }
  .facts div + div { padding-left: 0; border-left: 0; }
}

/* ---------- 交通與聯絡 ---------- */
.visit { padding: clamp(100px, 12vw, 160px) 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 90px); }
.visit .t-display { margin: 20px 0 34px; }
.visit dl { display: grid; grid-template-columns: 90px 1fr; gap: 14px 22px; margin: 0 0 40px; font-size: 15px; }
.visit dt { color: var(--gold); letter-spacing: .12em; }
.visit dd { margin: 0; }
.visit .row { display: flex; gap: 14px; flex-wrap: wrap; }
.map { position: relative; min-height: 420px; background: var(--forest-2); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.25) contrast(.95); }
@media (max-width: 1000px) { .visit-grid { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* ---------- 頁尾 ---------- */
.foot { padding: 90px 0 36px; font-size: 14px; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line-d); }
.foot .sign { font-family: var(--f-zh); font-size: 24px; line-height: 1.6; letter-spacing: .08em; margin: 20px 0 0; }
.foot h5 { font-family: var(--f-en); font-weight: 500; font-size: 12px; letter-spacing: .34em; color: var(--gold); text-transform: uppercase; margin: 0 0 18px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: rgba(250, 248, 245, .72); }
.foot a:hover { color: var(--gold-hi); }
.foot-word { font-family: var(--f-en); font-weight: 400; font-size: clamp(56px, 13vw, 220px); line-height: .9; letter-spacing: -.01em; color: var(--forest-3); margin: 40px 0 0; white-space: nowrap; overflow: hidden; }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 20px; font-size: 12px; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 1000px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* ---------- 方案頁 ---------- */
.p-hero .facts div { flex: 1 1 0; min-width: 0; }
.p-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.p-hero-text { padding: 160px var(--g) 70px; display: flex; flex-direction: column; justify-content: flex-end; }
.p-hero-text .t-display { margin: 22px 0 26px; }
.p-hero-img { position: relative; overflow: hidden; }
.p-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crumb { font-size: 13px; letter-spacing: .14em; color: var(--ink-2); }
.crumb a { border-bottom: 1px solid var(--line); }
.p-body { display: grid; grid-template-columns: 1fr minmax(300px, 400px); gap: clamp(40px, 7vw, 120px); padding-top: 110px; padding-bottom: 120px; align-items: start; }
.p-sec { margin-bottom: 72px; }
.p-sec h2 { display: flex; align-items: baseline; gap: 18px; font-family: var(--f-zh); font-weight: 500; font-size: 28px; letter-spacing: .08em; margin: 0 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.p-sec h2 small { font-family: var(--f-en); font-style: italic; font-weight: 400; font-size: 18px; color: var(--gold); letter-spacing: .02em; }
.p-sec ul { list-style: none; padding: 0; margin: 0; }
.p-sec li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px dashed var(--line); }
.p-sec li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 12px; height: 1px; background: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 10px 26px; font-family: var(--f-zh); font-size: 21px; letter-spacing: .06em; }
.tags span { display: inline-flex; align-items: center; gap: 26px; }
.tags span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-left: -16px; margin-right: -10px; }
.note { margin: 0; padding: 22px 26px; background: var(--forest); color: var(--paper); }
.note b { color: var(--gold-hi); font-weight: 500; }
/* 封面輪播 */
.slider { background: var(--forest); outline: none; touch-action: pan-y; }
.sl-par { position: absolute; inset: -3%; transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -14px), 0); transition: transform 1.4s var(--ease); }
.sl { position: absolute; inset: 0; margin: 0; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 1.5s cubic-bezier(.77, 0, .18, 1); }
.sl.on, .sl.shown { clip-path: inset(0 0 0 0); }
.sl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.sl.kb img { animation: sl-kb 9s cubic-bezier(.2, .6, .3, 1) forwards; }
@keyframes sl-kb { from { transform: scale(1.18); } to { transform: scale(1.03); } }
.slider::after { content: ""; position: absolute; inset: 0; z-index: 50; pointer-events: none; background: linear-gradient(to top, rgba(18, 30, 20, .72), rgba(18, 30, 20, 0) 38%); }
.sl-zone { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 60; border: 0; background: none; padding: 0; cursor: pointer; }
.sl-zone.prev { left: 0; } .sl-zone.next { right: 0; }
.sl-ui { position: absolute; left: clamp(20px, 3vw, 44px); right: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 40px); z-index: 70; color: var(--paper); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 24px; pointer-events: none; }
.sl-caps { position: relative; height: 64px; overflow: hidden; }
.sl-cap { position: absolute; left: 0; bottom: 0; margin: 0; display: flex; align-items: baseline; gap: 14px; transform: translateY(110%); opacity: 0; transition: transform 1s var(--ease), opacity .6s; }
.sl-cap.on { transform: none; opacity: 1; transition-delay: .35s; }
.sl-cap b { font-family: var(--f-zh); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: .12em; }
.sl-cap em { font-family: var(--f-en); font-size: clamp(16px, 1.4vw, 20px); color: var(--gold-hi); }
.sl-num { font-family: var(--f-en); font-size: 16px; letter-spacing: .14em; color: rgba(250, 248, 245, .7); }
.sl-num b { font-weight: 400; font-size: 30px; color: var(--paper); }
.sl-bars { grid-column: 1 / -1; display: flex; gap: 8px; pointer-events: auto; }
.sl-bars button { flex: 1; height: 22px; border: 0; padding: 10px 0; background: none; cursor: pointer; }
.sl-bars i { display: block; height: 2px; background: rgba(250, 248, 245, .28); position: relative; overflow: hidden; }
.sl-bars i::after { content: ""; position: absolute; inset: 0; background: var(--gold-hi); transform: scaleX(0); transform-origin: left; }
.sl-bars .done i::after { transform: scaleX(1); opacity: .55; }
.sl-bars .run i::after { animation: sl-fill 6s linear forwards; }
.slider:hover .sl-bars .run i::after, .slider:focus-within .sl-bars .run i::after { animation-play-state: paused; }
@keyframes sl-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .sl { transition: none; } .sl.kb img { animation: none; transform: scale(1.03); }
  .sl-bars .run i::after { animation: none; transform: scaleX(1); }
}

/* 秋冬方案：三個空間、不開放日期 */
.past { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 22px; }
.past article { margin: 0; }
.past figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.past img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.past article:hover img { transform: scale(1.05); }
.past .meta { display: flex; gap: 14px; margin: 14px 0 4px; font-family: var(--f-en); font-size: 15px; color: var(--gold); letter-spacing: .06em; }
.past h3 { margin: 0; font-family: var(--f-zh); font-weight: 500; font-size: 20px; letter-spacing: .06em; }
.past p { margin: 8px 0 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.past .where { font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .past { grid-template-columns: 1fr; } }
.price .unit { font-size: .45em; letter-spacing: .1em; margin-left: 6px; white-space: nowrap; }
.p-hero .facts div { flex-wrap: wrap; }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rooms figure { margin: 0; }
.rooms img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.rooms figcaption { padding-top: 14px; }
.rooms b { font-family: var(--f-zh); font-weight: 500; font-size: 20px; letter-spacing: .08em; }
.rooms figcaption span { font-family: var(--f-en); font-size: 18px; color: var(--gold); margin-left: 10px; }
.rooms p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.closed { display: grid; grid-template-columns: max-content 1fr; margin: 0; }
.closed dt, .closed dd { margin: 0; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.closed dt { padding-right: 32px; font-variant-numeric: tabular-nums; }
.closed dd { color: var(--ink-2); }
@media (max-width: 700px) { .rooms { grid-template-columns: 1fr; } .rooms img { aspect-ratio: 3 / 2; } }
.p-strip { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 14px; margin-bottom: 72px; }
.p-strip img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.p-strip img:first-child { grid-row: span 2; aspect-ratio: auto; }
.p-strip img:not(:first-child) { aspect-ratio: 4 / 3; }
.summary { position: sticky; top: 110px; background: var(--forest); color: var(--paper); padding: 40px 34px; }
.summary .price { font-family: var(--f-en); font-size: 54px; line-height: 1; color: var(--gold-hi); margin: 14px 0 4px; }
.summary .price.tbd { font-family: var(--f-zh); font-size: 28px; letter-spacing: .1em; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; margin: 28px 0; padding: 24px 0; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); font-size: 15px; }
.summary dt { color: var(--gold); letter-spacing: .1em; }
.summary dd { margin: 0; }
.summary .btn { width: 100%; justify-content: center; }
.others { display: grid; grid-template-columns: 1fr 1fr; }
.others a { position: relative; height: 46svh; min-height: 320px; overflow: hidden; color: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; padding: 34px var(--g); }
.others img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.others a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,30,20,.85), rgba(18,30,20,.1)); }
.others a > * { position: relative; z-index: 2; }
.others a:hover img { transform: scale(1.05); }
.others h3 { font-family: var(--f-zh); font-weight: 500; font-size: clamp(28px, 3vw, 44px); letter-spacing: .1em; margin: 4px 0 0; }
.others .en { font-family: var(--f-en); font-style: italic; color: var(--gold-hi); font-size: 20px; }
@media (max-width: 1000px) {
  .p-hero { grid-template-columns: 1fr; }
  .p-hero-img { height: 56svh; order: -1; }
  .p-hero-text { padding: 40px var(--g) 50px; }
  .p-body { grid-template-columns: 1fr; padding-top: 50px; }
  .summary { position: static; order: -1; }
  .others { grid-template-columns: 1fr; }
}

/* ---------- 預約頁 ---------- */
.book { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 120px); padding-top: 160px; padding-bottom: 130px; }
.book-aside .t-display { margin: 22px 0 26px; }
.steps { list-style: none; padding: 0; margin: 40px 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.steps li::before { content: counter(s, upper-roman); font-family: var(--f-en); font-style: italic; color: var(--gold); font-size: 22px; line-height: 1.4; }
.form { display: grid; gap: 30px; }
.field { display: grid; gap: 10px; }
.field > label, .field > legend { font-size: 13px; letter-spacing: .2em; color: var(--ink-2); padding: 0; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; color: var(--ink); font-size: 17px; transition: border-color .3s; }
.field textarea { border: 1px solid var(--line); padding: 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 var(--gold); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; border: 1px solid var(--line); background: #fff; padding: 14px 16px; font-size: 15px; transition: border-color .3s, background .3s, color .3s; }
.choice span small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .06em; }
.choice label:hover span { border-color: var(--gold); }
.choice input:checked + span { border-color: var(--forest); background: var(--forest); color: var(--paper); }
.choice input:checked + span small { color: var(--gold-hi); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { margin-top: 6px; accent-color: var(--forest); }
.msg { padding: 18px 20px; font-size: 15px; display: none; }
.msg.show { display: block; }
.msg.err { background: #f3e1d9; color: #6b2216; }
.msg.ok { background: var(--forest); color: var(--paper); }
.slot-hint { font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .book { grid-template-columns: 1fr; padding-top: 110px; } .row2 { grid-template-columns: 1fr; } }

/* ---------- 游標 ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; }
.cursor .dot { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--forest); transition: opacity .3s; }
.cursor .ring { position: absolute; width: 36px; height: 36px; margin: -18px; border-radius: 50%; border: 1px solid rgba(44,36,32,.35); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .4s, border-color .4s; }
.cursor .ring b { font-family: var(--f-en); font-weight: 600; font-size: 11px; letter-spacing: .24em; color: var(--forest); opacity: 0; transition: opacity .3s; }
.cursor.big .ring { width: 48px; height: 48px; margin: -24px; border-color: var(--gold); } /* REN 10-30：大圓加文字太突兀，只輕微放大 */
.cursor.big .ring b { opacity: 0; }
.cursor.big .dot { opacity: 0; }
.cursor.light .dot { background: var(--paper); }
.cursor.light .ring { border-color: rgba(250,248,245,.5); }
@media (pointer: coarse), (max-width: 1000px) { .cursor { display: none; } }

/* ---------- 換頁簾幕 ---------- */
.curtain { position: fixed; inset: 0; z-index: 350; background: var(--forest); transform: translateY(100%); pointer-events: none; }

/* ---------- 進場動態（只有 JS 成功才會隱藏） ---------- */
.motion [data-fade] { opacity: 0; transform: translateY(36px); }
.motion [data-img] { clip-path: inset(100% 0 0 0); }
.motion [data-img] > img { transform: scale(1.25); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 地圖卡（預覽版不能嵌入 Google 地圖時使用） */
.map-card { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 34px; color: var(--paper); background: linear-gradient(to top, rgba(18,30,20,.9), rgba(18,30,20,.25)), url(img/s-facade.webp) center / cover; }
.map-card b { font-family: var(--f-zh); font-weight: 500; font-size: 26px; letter-spacing: .08em; }
.map-card span { font-size: 14px; letter-spacing: .14em; color: var(--gold-hi); }
