/* =========================================================
   嘉爵大曜｜一頁式銷售網站
   色彩取自建商提供之品牌素材：水彩紙、墨藍書法、湖水綠水彩
   ========================================================= */

:root {
  --paper: #f3f2ee;
  --paper-deep: #e8e6df;
  --white: #fff;
  --navy: #1d2a4f;
  --navy-deep: #141c36;
  --night: #161d31;
  --ink: #2f333b;
  --muted: #6f737b;
  --stone: #8f9196;
  --aqua: #63b6c0;
  --sea: #2d8494;
  --seal: #a8282e;
  --line: rgba(29, 42, 79, .14);
  --line-light: rgba(255, 255, 255, .18);
  --error: #b3261e;

  --serif: "Noto Serif TC", "Songti TC", "Noto Serif CJK TC", "PMingLiU", serif;
  --display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 84px;
  --section-y: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 1px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.paper {
  background-color: var(--paper);
  background-image: url("../img/paper.jpg");
  background-size: 1210px auto;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 8px 16px; background: var(--navy); color: #fff;
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.br-sm { display: none; }
@media (max-width: 640px) { .br-sm { display: inline; } }

/* ---------- Section heading（仿建商 DM 的英文大標＋小字） ---------- */
.section-head__en {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .04em;
  color: var(--stone);
}
.section-head__line {
  margin-top: 14px;
  font-family: var(--latin);
  font-size: clamp(15px, 1.3vw, 18px);
  letter-spacing: .12em;
  color: var(--stone);
}
.section-head__title {
  margin-top: clamp(22px, 2.6vw, 34px);
  font-size: clamp(24px, 2.7vw, 36px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .14em;
  color: var(--navy);
}
.section-head--center { text-align: center; }
@media (max-width: 640px) {
  .section-head__title { font-size: 22px; letter-spacing: .08em; }
}

.prose p + p { margin-top: 1.2em; }
.prose { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 12px 36px;
  border: 1px solid transparent;
  font-family: var(--serif); font-size: 15px; letter-spacing: .32em;
  text-indent: .32em; /* 平衡字距造成的右側空白 */
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--light { background: var(--paper); color: var(--navy); }
.btn--light:hover { background: #fff; }
.btn--line-light { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn--line-light:hover { background: rgba(255, 255, 255, .14); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--navy[disabled] { opacity: .6; cursor: progress; }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header__inner {
  height: 100%;
  width: min(100% - 2 * var(--gutter), 1360px);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand__logo {
  height: 40px; width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(0, 0, 0, .25));
  transition: filter .4s var(--ease);
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a {
  position: relative; padding: 6px 0;
  font-size: 15px; letter-spacing: .18em; color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .25);
  transition: color .3s;
}
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: .18em; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav .nav__cta {
  padding: 8px 20px; border: 1px solid rgba(255, 255, 255, .7);
  text-shadow: none; transition: background-color .3s, color .3s, border-color .3s;
}
.nav .nav__cta:hover { background: #fff; color: var(--navy); }

.site-header.is-solid {
  height: 72px;
  background: rgba(243, 242, 238, .94);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header.is-solid .brand__logo { filter: none; height: 36px; }
.site-header.is-solid .nav a { color: var(--navy); text-shadow: none; }
.site-header.is-solid .nav .nav__cta { border-color: var(--navy); }
.site-header.is-solid .nav .nav__cta:hover { background: var(--navy); color: #fff; }

.menu-toggle {
  display: none; position: relative; z-index: 2;
  width: 44px; height: 44px; padding: 0; border: 0; background: none;
}
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff;
  transition: transform .35s var(--ease), top .35s var(--ease), background-color .3s;
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.site-header.is-solid .menu-toggle span,
.menu-open .menu-toggle span { background: var(--navy); }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .site-header, .site-header.is-solid { height: var(--header-h); }
  .brand__logo, .site-header.is-solid .brand__logo { height: 32px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 6px;
    background: var(--paper) url("../img/paper.jpg") center / cover;
    opacity: 0; visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a, .site-header.is-solid .nav a {
    color: var(--navy); text-shadow: none; font-size: 20px; letter-spacing: .3em; padding: 12px 0;
  }
  .nav .nav__cta, .site-header.is-solid .nav .nav__cta { margin-top: 18px; padding: 12px 36px 12px 42px; border-color: var(--navy); }
  .menu-open .nav { opacity: 1; visibility: visible; }
  /* backdrop-filter 會讓 fixed 子元素被限制在頁首內，選單打開時先移除 */
  .menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-open .brand__logo { filter: none; position: relative; z-index: 2; }
  .menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden; color: #fff; background: #6c9bc4;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%;
  animation: hero-zoom 14s var(--ease) both;
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 32, 64, .5) 0%, rgba(16, 32, 64, .18) 34%, rgba(16, 32, 64, 0) 52%),
    linear-gradient(0deg, rgba(14, 20, 36, .42) 0%, rgba(14, 20, 36, 0) 22%);
}
.hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--header-h) + clamp(12px, 4vh, 48px)) var(--gutter) 0;
}
.hero__content > *, .hero__actions { animation: rise 1.2s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .15s; }
.hero__content > :nth-child(3) { animation-delay: .35s; }
.hero__actions { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero__eyebrow {
  font-size: clamp(13px, 1.1vw, 15px); letter-spacing: .5em; text-indent: .5em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}
.hero__eyebrow span { margin-inline: .3em; opacity: .7; }
.hero__title { margin-top: clamp(14px, 2.2vh, 24px); }
.hero__title img {
  width: clamp(220px, 24vw, 360px);
  filter: brightness(0) invert(1) drop-shadow(0 4px 22px rgba(10, 20, 45, .45));
}
.hero__tagline {
  margin-top: clamp(18px, 3vh, 30px);
  font-size: clamp(20px, 2.3vw, 30px); font-weight: 700;
  letter-spacing: .38em; text-indent: .38em;
  text-shadow: 0 2px 14px rgba(10, 20, 45, .45);
}
.hero__actions {
  position: absolute; left: 0; right: 0; z-index: 1; bottom: clamp(28px, 6vh, 56px);
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

.hero__note {
  position: absolute; right: clamp(14px, 2vw, 28px); bottom: 28px; z-index: 1;
  writing-mode: vertical-rl; font-size: 12px; letter-spacing: .3em; opacity: .85;
}
.hero__scroll {
  position: absolute; left: clamp(14px, 2vw, 28px); bottom: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--display); font-size: 11px; letter-spacing: .4em;
}
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll::after {
  content: ""; width: 1px; height: 64px;
  background: linear-gradient(#fff, rgba(255, 255, 255, 0));
  animation: scroll-line 2.4s var(--ease) infinite; transform-origin: top;
}
@keyframes scroll-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 640px) {
  .hero__media img { object-position: 54% 50%; }
  .hero__content { padding-top: calc(var(--header-h) + 5vh); }
  .hero__eyebrow { letter-spacing: .32em; text-indent: .32em; }
  .hero__tagline { letter-spacing: .24em; text-indent: .24em; }
  .hero__actions {
    left: var(--gutter); right: var(--gutter);
    bottom: calc(28px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  }
  .hero__actions .btn { padding-inline: 12px; letter-spacing: .2em; text-indent: .2em; }
  .hero__scroll { display: none; }
  .hero__note { bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- Concept ---------- */
.concept__wash {
  position: absolute; left: 0; top: 0; height: 100%; width: clamp(28px, 12vw, 210px);
  object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent), linear-gradient(180deg, #000 70%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 60%, transparent), linear-gradient(180deg, #000 70%, transparent);
  mask-composite: intersect;
  pointer-events: none;
}
.concept__grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: center;
}
.concept__text { display: flex; gap: clamp(28px, 4vw, 64px); align-items: flex-start; }
.vertical-copy {
  writing-mode: vertical-rl;
  font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .6em; line-height: 2.4;
  color: var(--stone); flex: none; padding-top: 6px;
}
.concept__body .prose { margin-top: clamp(26px, 3vw, 40px); max-width: 30em; }
.concept__figure { position: relative; }
.concept__figure img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(20, 30, 60, .45); }

figcaption, .figure-note {
  margin-top: 10px; font-size: 12px; letter-spacing: .24em; color: var(--stone); text-align: right;
}

.highlights {
  position: relative;
  margin-top: clamp(64px, 8vw, 120px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.highlight { padding: 32px clamp(16px, 2vw, 28px) 8px; border-right: 1px solid var(--line); }
.highlight:last-child { border-right: 0; }
.highlight__num {
  font-family: var(--display); font-size: clamp(34px, 3.4vw, 48px); line-height: 1; color: var(--navy);
}
.highlight__unit { margin-left: 8px; font-size: 13px; letter-spacing: .3em; color: var(--stone); }
.highlight strong {
  display: block; margin-top: 18px;
  font-size: 19px; font-weight: 700; letter-spacing: .2em; color: var(--navy);
}
.highlight p { margin-top: 8px; font-size: 14px; line-height: 1.9; color: var(--muted); }

@media (max-width: 960px) {
  .concept__grid { grid-template-columns: 1fr; }
  .concept__figure { width: min(100%, 460px); justify-self: end; }
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(2) { border-right: 0; }
  .highlight:nth-child(-n + 2) { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
}
@media (max-width: 640px) {
  .concept__wash { opacity: .7; }
  .concept__grid, .highlights { padding-left: 18px; }
  .vertical-copy { display: none; }
  .highlight { padding-inline: 12px; }
  .highlight:nth-child(odd) { padding-left: 0; }
  .highlight strong { font-size: 17px; letter-spacing: .06em; }
}

/* ---------- Location ---------- */
.location__wash {
  position: absolute; top: 0; right: 0; width: min(70%, 1000px); height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
  mask-image: linear-gradient(90deg, transparent, #000 35%);
  pointer-events: none;
}
.location .container { position: relative; }

.rail { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 860px; }
.rail__line { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.rail__line::before {
  content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--navy) 0 14px, transparent 14px 22px);
  opacity: .35;
}
.rail__stop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.rail__stop::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--navy);
}
.rail__city { margin-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: .3em; text-indent: .3em; color: var(--navy); }
.rail__time { font-size: 14px; color: var(--muted); letter-spacing: .12em; }
.rail__stop--home::before {
  width: 28px; height: 28px; margin-top: -4px; margin-bottom: -4px;
  background: var(--navy); border-color: var(--navy);
  box-shadow: 0 0 0 6px rgba(99, 182, 192, .35);
}
.rail__stop--home .rail__time { color: var(--sea); font-weight: 500; }
.rail__note { margin-top: 20px; text-align: center; font-size: 12px; color: var(--stone); letter-spacing: .16em; }

.location__grid {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start;
}
.location__map img { width: 100%; box-shadow: 0 30px 60px -34px rgba(20, 30, 60, .5); }

.poi + .poi { border-top: 1px solid var(--line); }
.poi { padding: 20px 0; }
.poi:first-child { padding-top: 0; }
.poi__tag {
  display: inline-block; padding: 0 10px; margin-bottom: 8px;
  font-size: 12px; letter-spacing: .3em; text-indent: .3em; color: #fff; background: var(--sea);
}
.poi h3 { font-size: 18px; font-weight: 700; letter-spacing: .1em; color: var(--navy); line-height: 1.6; }
.poi p { margin-top: 4px; font-size: 14px; color: var(--muted); }

.spots { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); }
.spot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.spot p { margin-top: 12px; font-size: 15px; letter-spacing: .2em; color: var(--navy); }

@media (max-width: 960px) {
  .location__grid { grid-template-columns: 1fr; }
  .spots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rail__city { font-size: 16px; letter-spacing: .14em; text-indent: .14em; }
  .rail__time { font-size: 12px; letter-spacing: 0; }
}

/* ---------- Zoomable images / lightbox ---------- */
.zoomable {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: none;
  overflow: hidden; cursor: zoom-in;
}
.zoomable img { transition: transform .8s var(--ease); }
.zoomable:hover img { transform: scale(1.03); }
.zoomable__hint {
  position: absolute; right: 12px; bottom: 12px;
  padding: 4px 12px; font-size: 12px; letter-spacing: .2em;
  background: rgba(29, 42, 79, .82); color: #fff;
}

.lightbox {
  width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0;
  border: 0; background: rgba(12, 16, 28, .94); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(12, 16, 28, .6); }
.lightbox figure { max-width: 94vw; }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; margin: auto; object-fit: contain; }
.lightbox figcaption { color: rgba(255, 255, 255, .75); text-align: center; }
.lightbox__close {
  position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; padding: 12px;
  border: 0; background: none; color: #fff;
}
.lightbox__close svg { fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---------- Architecture banner ---------- */
/* 照片右半部是淡色天空，文字用墨藍色壓在天空上 */
.banner {
  position: relative; min-height: clamp(520px, 84vh, 880px);
  display: flex; align-items: center; overflow: hidden; background: #dfe7ee;
}
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.banner__content { position: relative; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.banner__en {
  font-family: var(--display); font-size: clamp(36px, 4.6vw, 68px); line-height: 1.1; letter-spacing: .04em;
  color: var(--navy);
}
.banner__title {
  margin-top: 22px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: .3em; color: var(--navy);
}
.banner__line { margin-top: 10px; font-family: var(--latin); font-size: clamp(15px, 1.3vw, 18px); letter-spacing: .1em; color: var(--muted); }
.banner__note { position: absolute; right: clamp(14px, 2vw, 28px); bottom: 24px; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .3em; color: var(--muted); }

@media (max-width: 760px) {
  .banner { display: block; min-height: 0; background: var(--paper); }
  .banner__img { position: static; height: 62vh; min-height: 360px; object-position: 22% 50%; }
  .banner__content { align-items: flex-start; text-align: left; padding-block: 48px 8px; }
  .banner__note { top: calc(62vh - 120px); bottom: auto; color: #fff; }
}

/* ---------- Architecture details ---------- */
.architecture__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.architecture__title {
  margin-top: 26px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; line-height: 1.7; letter-spacing: .12em; color: var(--navy);
}
.architecture__text .prose { margin-top: 26px; }
.mosaic { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(10px, 1.4vw, 18px); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic__item .zoomable { height: 100%; }
.mosaic__item--tall { grid-row: span 2; }
.mosaic__item--wide { grid-column: 1 / -1; }
.mosaic__item:not(.mosaic__item--tall):not(.mosaic__item--wide) img { aspect-ratio: 3 / 2; }
.mosaic__item--wide img { aspect-ratio: 21 / 9; }

@media (max-width: 960px) {
  .architecture__grid { grid-template-columns: 1fr; }
}

/* ---------- Interior gallery ---------- */
.interior { background: var(--night); color: rgba(255, 255, 255, .86); }
.interior .section-head__en, .interior .section-head__line { color: rgba(255, 255, 255, .5); }
.interior .section-head__title { color: #fff; }

.gallery { margin-top: clamp(48px, 6vw, 80px); }
.gallery__track {
  --inset: max(var(--gutter), (100vw - var(--container)) / 2);
  display: flex; gap: clamp(14px, 2vw, 28px);
  padding-inline: var(--inset); scroll-padding-inline: var(--inset);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 min(78vw, 860px); scroll-snap-align: start; }
.gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery__item figcaption {
  margin-top: 16px; text-align: left; font-size: 14px; letter-spacing: .14em; color: rgba(255, 255, 255, .62);
}
.gallery__item figcaption strong {
  display: inline-block; margin-right: 14px; font-size: 18px; letter-spacing: .24em; color: #fff;
}
.gallery__controls { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gallery__note { font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .45); }
.gallery__buttons { display: flex; gap: 10px; flex: none; }
.round-btn {
  width: 52px; height: 52px; padding: 15px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff;
  transition: background-color .3s, border-color .3s, opacity .3s;
}
.round-btn svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.round-btn:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.round-btn[disabled] { opacity: .3; cursor: default; }

/* ---------- Details ---------- */
.details__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.details__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(20, 30, 60, .45); }
.feature-list { margin-top: clamp(32px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 40px); }
.feature { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.feature__icon { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--sea); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 17px; font-weight: 700; letter-spacing: .14em; color: var(--navy); line-height: 1.6; }
.feature p { margin-top: 4px; font-size: 14px; color: var(--muted); line-height: 1.85; }

@media (max-width: 960px) {
  .details__grid { grid-template-columns: 1fr; }
  .details__figure img { aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Info ---------- */
.info { padding-top: 0; }
.info__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; padding-top: var(--section-y); border-top: 1px solid var(--line); }
.info__aerial { margin-top: clamp(28px, 4vw, 48px); }
.info__aerial img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.info-table > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-table > div:first-child { border-top: 1px solid var(--navy); }
.info-table dt { font-size: 14px; letter-spacing: .3em; color: var(--stone); padding-top: 2px; }
.info-table dd { font-size: 16px; letter-spacing: .1em; color: var(--navy); }
.info-table a { border-bottom: 1px solid currentColor; }

@media (max-width: 960px) { .info__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .info-table > div { grid-template-columns: 6.2em 1fr; gap: 10px; }
  .info-table dt { letter-spacing: .14em; }
}

/* ---------- Booking ---------- */
.booking { padding-bottom: calc(var(--section-y) + 110px); border-top: 1px solid var(--line); }
.booking__grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.booking__lead { margin-top: 22px; color: var(--ink); }
.contact-list { margin: 36px 0 34px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list__label { font-size: 14px; letter-spacing: .2em; color: var(--stone); }
.contact-list__value { color: var(--navy); letter-spacing: .08em; }
a.contact-list__value { border-bottom: 1px solid transparent; justify-self: start; transition: border-color .3s; }
a.contact-list__value:hover { border-color: currentColor; }
.booking__wash {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 150px; object-fit: cover; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%);
  mask-image: linear-gradient(180deg, transparent, #000 45%);
  pointer-events: none;
}

.booking-form {
  padding: clamp(28px, 4vw, 52px);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 40px 80px -40px rgba(20, 30, 60, .35);
  font-family: var(--sans);
}
.field { margin-bottom: 22px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: 14px; letter-spacing: .14em; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 2px;
  font: inherit; font-size: 16px; letter-spacing: .06em; color: var(--navy);
  background: transparent; border: 0; border-bottom: 1px solid rgba(29, 42, 79, .3); border-radius: 0;
  -webkit-appearance: none; appearance: none;
  transition: border-color .25s;
}
.field input[type="date"] { min-height: 46px; }
.field select {
  padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%231d2a4f' stroke-width='1.5'/%3E%3C/svg%3E") right 2px center / 18px no-repeat;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--navy); box-shadow: 0 1px 0 var(--navy); }
.field input::placeholder, .field textarea::placeholder { color: #a3a6ad; }
.field.is-invalid input { border-bottom-color: var(--error); }
.field__error { min-height: 0; font-size: 13px; color: var(--error); margin-top: 6px; }
.field__error:empty { display: none; }
.req { color: var(--seal); }

.field--inline { display: flex; align-items: center; gap: 22px; }
.field--inline legend { float: left; margin-right: 22px; }
.choice { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); cursor: pointer; letter-spacing: .1em; }
.field .choice { color: var(--ink); }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field--consent { margin-top: 6px; }
.privacy { margin-top: 8px; font-size: 13px; color: var(--muted); }
.privacy summary { cursor: pointer; color: var(--sea); letter-spacing: .08em; }
.privacy p { margin-top: 8px; line-height: 1.9; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 16px; font-size: 15px; line-height: 1.8; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--sea); }
.form-status.is-error { color: var(--error); }
.form-status a { text-decoration: underline; }

@media (max-width: 960px) { .booking__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 64px 0 40px; font-size: 14px; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.site-footer__brand img { height: 52px; width: auto; filter: brightness(0) invert(1); }
.site-footer__brand p { margin-top: 14px; letter-spacing: .24em; }
.site-footer__contact p { letter-spacing: .12em; line-height: 2.1; }
.site-footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 12px; line-height: 2; color: rgba(255, 255, 255, .5); }
.site-footer__legal p + p { margin-top: 8px; }

/* ---------- Mobile quick bar ---------- */
.quickbar { display: none; }
@media (max-width: 1080px) {
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr 1.4fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--navy); box-shadow: 0 -8px 24px rgba(20, 30, 60, .2);
    transform: translateY(100%); transition: transform .4s var(--ease);
  }
  .quickbar.is-visible { transform: none; }
  .quickbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: 58px;
    color: #fff; font-size: 15px; letter-spacing: .16em;
  }
  .quickbar a + a { border-left: 1px solid var(--line-light); }
  .quickbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
  .quickbar .quickbar__main { background: var(--paper); color: var(--navy); font-weight: 700; }
  .site-footer { padding-bottom: calc(40px + 58px + env(safe-area-inset-bottom)); }
}

/* ---------- Scroll reveal（僅在 JS 啟用時隱藏，避免無 JS 時看不到內容） ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { transform: none; }
}
