/* ==========================================================================
   花筑·樱坂温泉酒店 — Floral Sakurazaka Hotel
   Warm & elegant: ivory paper, espresso timber, logo gold, a touch of rose
   ========================================================================== */

:root {
  --ivory: #F8F3EA;
  --paper: #FFFCF6;
  --sand: #F0E7D9;
  --line: #E3D6C3;
  --ink: #3A2C22;
  --ink-soft: #6F5D4F;
  --ink-mute: #9A8877;
  --gold: #B48A2E;
  --gold-bright: #E9B92B;
  --gold-soft: #D9BE7C;
  --logo: #C2A271;            /* colour of the official logo artwork */
  --rose: #9C3359;
  --rose-soft: #F4E3E6;
  --night: #2A221D;
  --night-2: #1F1A16;
  --cream-on-dark: #F3EADB;

  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Source Han Serif SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
  --ja: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --zh: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;

  --radius: 6px;
  --shadow: 0 18px 50px -28px rgba(58, 44, 34, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.35; margin: 0; letter-spacing: .04em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
[lang="ja"] { font-family: var(--ja); }
[lang|="zh"] { font-family: var(--zh); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 15px; letter-spacing: .12em; text-decoration: none;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 20px; font-size: 14px; }
.btn-gold { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--night-2); font-weight: 500; }
.btn-gold:hover { background: var(--paper); border-color: var(--paper); color: var(--night-2); }
.btn-outline-light { background: transparent; border-color: rgba(243, 234, 219, .5); color: var(--cream-on-dark); }
.btn-outline-light:hover { background: var(--cream-on-dark); border-color: var(--cream-on-dark); color: var(--night-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 243, 234, .88);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -24px rgba(58, 44, 34, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; color: var(--logo); flex: none; filter: drop-shadow(0 1px 0 rgba(58,44,34,.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .12em; }
.brand-en { font-family: var(--latin); font-size: 12px; letter-spacing: .24em; color: var(--ink-soft); margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: 15px; letter-spacing: .14em; color: var(--ink-soft); white-space: nowrap;
  padding: 6px 0; transition: color .25s;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 1px; background: var(--gold);
  transition: width .3s var(--ease), left .3s var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a:not(.btn):hover::after { left: 0; width: 100%; }
.nav-cta { margin-left: 6px; }

.lang-switch { display: flex; align-items: center; flex: none; font-size: 13px; letter-spacing: .04em; }
.lang-switch a {
  font-family: var(--sans); text-decoration: none; color: var(--ink-mute);
  padding: 4px 9px; line-height: 1.4; position: relative; transition: color .25s;
}
.lang-switch a + a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 11px; margin-top: -5.5px; background: var(--line); }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { color: var(--ink); }
.lang-switch a[aria-current] span { border-bottom: 1px solid var(--gold); }
.lang-switch .l-short { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Photo slots (graceful placeholder when a file is missing) ---------- */
.photo { position: relative; overflow: hidden; background: linear-gradient(150deg, #EADFCF 0%, #E2D2BC 55%, #D9C6AD 100%); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo.is-missing img, .photo.is-missing .photo-credit { display: none; }
.photo-credit {
  position: absolute; right: 8px; bottom: 8px; z-index: 1;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(31, 26, 22, .55); color: rgba(255, 252, 246, .9);
  font-size: 11px; letter-spacing: .02em; line-height: 1.6; text-decoration: none;
}
.photo-credit:hover { background: rgba(31, 26, 22, .8); }
.photo.is-missing::before {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; letter-spacing: .3em; color: rgba(58, 44, 34, .55);
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.55) 0, rgba(255,255,255,0) 46%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 2px, transparent 2px 14px);
}
.photo.is-missing::after {
  content: attr(data-file);
  position: absolute; left: 0; right: 0; bottom: 14px; text-align: center;
  font-size: 12px; letter-spacing: .08em; color: rgba(58, 44, 34, .5);
}

/* ---------- Section scaffolding ---------- */
.section { padding: 120px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  display: inline-flex; align-items: baseline; gap: 14px;
  font-size: 14px; letter-spacing: .3em; color: var(--gold); margin-bottom: 18px;
}
.section-kicker span { font-family: var(--latin); font-style: italic; font-size: 22px; letter-spacing: .04em; color: var(--rose); }
.section-kicker.light { color: var(--gold-soft); }
.section-kicker.light span { color: var(--gold-bright); }
.section-title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.section-lead { color: var(--ink-soft); font-size: 17px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 96px; position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; right: 0; top: 0; width: 46%; height: 88%;
  background: var(--sand); border-bottom-left-radius: 240px; z-index: -1;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.eyebrow { font-size: 14px; letter-spacing: .4em; color: var(--gold); margin-bottom: 26px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero-title { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.32; letter-spacing: .06em; margin-bottom: 28px; }
.hero-title em { font-style: normal; color: var(--rose); position: relative; white-space: nowrap; }
.hero-title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .22em;
  background: var(--rose-soft); z-index: -1; border-radius: 2px;
}
.hero-lead { font-size: 17px; color: var(--ink-soft); max-width: 30em; }
.hero-ja { font-size: 14px; color: var(--ink-mute); letter-spacing: .14em; margin-top: 4px; }
.hero-ja[lang="en"] { font-family: var(--latin); font-style: italic; font-size: 19px; letter-spacing: .02em; }
.kicker-ja { font-family: var(--ja); font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-visual { position: relative; padding: 0 44px 0 0; }
.arch { margin: 0; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-photo { aspect-ratio: 4 / 5; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.hero-vertical {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: var(--ja); font-size: 15px; letter-spacing: .6em; color: var(--ink-soft); margin: 0;
  white-space: nowrap;
}

/* ---------- Facts ---------- */
.facts { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; align-items: center; gap: 16px; padding: 34px 24px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact-num { font-family: var(--latin); font-size: 54px; line-height: 1; color: var(--gold); font-weight: 500; font-variant-numeric: lining-nums; white-space: nowrap; flex: none; }
.fact-num small { font-family: var(--serif); font-size: 15px; margin-left: 4px; color: var(--ink-soft); }
.fact-icon {
  font-family: var(--ja); font-size: 24px; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--gold-soft); display: grid; place-items: center; color: var(--gold);
}
.fact-label { font-size: 15px; line-height: 1.6; }
.fact-label small { font-size: 12.5px; color: var(--ink-mute); letter-spacing: .04em; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 88px; align-items: center; }
.about-copy > p { color: var(--ink-soft); }
.about-names { margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.about-names div { display: grid; grid-template-columns: 76px 1fr; gap: 12px; font-size: 14px; }
.about-names dt { color: var(--gold); letter-spacing: .1em; font-family: "Cormorant Garamond", var(--serif); font-size: 15px; }
.about-names dt[lang="ja"] { font-family: var(--ja); font-size: 13px; }
.about-names dt[lang|="zh"] { font-family: var(--zh); font-size: 13px; }
.about-names dd { margin: 0; color: var(--ink-soft); }
.about-photo { margin: 0; }
.about-photo .photo { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo .photo.is-fallback { aspect-ratio: 964 / 453; }
.about-photo figcaption { font-size: 13px; color: var(--ink-mute); margin-top: 14px; padding-left: 16px; border-left: 1px solid var(--gold-soft); }

/* ---------- Onsen (night) ---------- */
.onsen {
  background: radial-gradient(ellipse at 50% -10%, #43352B 0%, var(--night) 55%, var(--night-2) 100%);
  color: var(--cream-on-dark);
}
.onsen .section-kicker { color: var(--gold-soft); }
.onsen .section-kicker span { color: var(--gold-bright); }
.onsen .section-lead { color: rgba(243, 234, 219, .72); }
.onsen .photo { background: linear-gradient(150deg, #4A3C31, #3A2F27 60%, #2F2620); }
.onsen .photo.is-missing::before { color: rgba(243, 234, 219, .55);
  background: radial-gradient(circle at 50% 42%, rgba(233,185,43,.12) 0, transparent 50%), repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px); }
.onsen .photo.is-missing::after { color: rgba(243, 234, 219, .45); }
.photo[data-note].is-missing::after { content: attr(data-note); }
.onsen-hours {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 16px;
  margin: 26px 0 0; padding: 10px 28px; border: 1px solid rgba(217, 190, 124, .45); border-radius: 999px;
  color: var(--gold-bright); font-size: 15px; letter-spacing: .12em;
}
.onsen-hours strong { font-family: var(--latin); font-size: 24px; font-weight: 500; letter-spacing: .04em; font-variant-numeric: lining-nums; line-height: 1.2; }
.onsen-hours span { color: rgba(243, 234, 219, .65); font-size: 13px; letter-spacing: .1em; }

.onsen-tag { font-size: 13px; letter-spacing: .3em; color: var(--gold-bright); margin-bottom: 12px; }
.onsen-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.onsen-card .photo { aspect-ratio: 4 / 3; border-radius: var(--radius); margin-bottom: 24px; }
.onsen-card h3 { font-size: 22px; margin-bottom: 10px; }
.onsen-card p:not(.onsen-tag) { color: rgba(243, 234, 219, .75); font-size: 15px; }

/* ---------- Rooms ---------- */
.room-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.room-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), var(--shadow); }
.room-card .photo { aspect-ratio: 3 / 2; }
.room-card:hover .photo img { transform: scale(1.04); }
.room-body { padding: 28px 32px 34px; }
.room-en { font-family: var(--latin); font-style: italic; font-size: 18px; color: var(--rose); margin-bottom: 4px; letter-spacing: .02em; }
.room-body h3 { font-size: 24px; margin-bottom: 6px; }
.room-meta { font-size: 14px; color: var(--gold); letter-spacing: .08em; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.room-body p:last-child { color: var(--ink-soft); font-size: 15px; }
.room-feature { grid-column: 1 / -1; }
.room-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--paper); }
.room-feature .room-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 56px; padding: 36px 44px 40px; }
.room-feature .room-body > * { grid-column: 1; }
.room-feature .room-body > p:last-child { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; }
.room-feature .room-meta { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.amenities { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; color: var(--ink-soft); font-size: 15px; }
.amenities li { display: flex; align-items: center; gap: 10px; }
.amenities li::before { content: ""; width: 7px; height: 12px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--gold-soft); transform: rotate(35deg); }

/* ---------- Spaces ---------- */
.spaces { background: var(--sand); }
.spaces-grid { display: grid; grid-template-columns: .82fr 1.18fr; grid-template-rows: auto auto; gap: 40px 48px; }
.space { margin: 0; }
.space-tall { grid-row: span 2; }
.space-tall .photo { aspect-ratio: 2 / 3; border-radius: 999px 999px var(--radius) var(--radius); }
.space-wide .photo { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.space figcaption { margin-top: 18px; color: var(--ink-soft); font-size: 15px; }
.space figcaption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; color: var(--ink); margin-bottom: 4px; letter-spacing: .06em; }
.space-note {
  align-self: start; background: var(--paper); border-radius: var(--radius); padding: 26px 30px;
  border-left: 3px solid var(--rose); font-size: 15px; color: var(--ink-soft);
}
.note-title { font-family: var(--serif); color: var(--rose); letter-spacing: .2em; margin-bottom: 6px; }
.spaces-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; margin-top: 64px; }
.space-mini .photo { aspect-ratio: 3 / 4; border-radius: var(--radius); }
.space-mini figcaption strong { font-size: 19px; }

/* ---------- Sakurazaka story ---------- */
.sakura { position: relative; padding: 120px 0; background: linear-gradient(180deg, var(--rose-soft) 0%, #F8ECEB 100%); overflow: hidden; }
.sakura-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sakura-bg { width: 100%; max-width: 440px; justify-self: end; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow); background: linear-gradient(160deg, #F6D8DF, #EDC3CE); }
.sakura-bg.is-missing::before { color: rgba(156, 51, 89, .55); }
.sakura-bg.is-missing::after { color: rgba(156, 51, 89, .5); }
.sakura-card { grid-column: 1; }
.sakura-card .section-kicker { color: var(--rose); }
.sakura-card .section-kicker span { color: var(--rose); }
.sakura-card p:not(.section-kicker) { color: var(--ink-soft); max-width: 30em; }

/* ---------- Around ---------- */
.around-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.spot { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; }
.spot .photo { aspect-ratio: 3 / 2; }
.spot:hover .photo img { transform: scale(1.04); }
.spot-body { padding: 24px 28px 30px; }
.spot-dist { font-size: 13px; letter-spacing: .14em; color: var(--gold); margin-bottom: 6px; }
.spot-body h3 { font-size: 21px; margin-bottom: 10px; }
.spot-body p:last-child { color: var(--ink-soft); font-size: 15px; }
.spot-large { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; }
.spot-large .photo { aspect-ratio: auto; min-height: 380px; }
.spot-large .spot-body { padding: 48px; align-self: center; }
.spot-large h3 { font-size: 30px; }
.spot-text { background: transparent; border: 1px solid var(--line); box-shadow: none; justify-content: center; }
.spot-text .spot-body { padding: 36px 32px; }

/* ---------- Access ---------- */
.access { background: var(--paper); border-top: 1px solid var(--line); }
.access-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: start; }
.address { font-style: normal; font-family: var(--serif); font-size: 20px; line-height: 1.7; margin: 8px 0 28px; letter-spacing: .06em; }
.address span { display: block; font-size: 14px; color: var(--ink-mute); margin-top: 6px; }
.access-hint { font-size: 14px; color: var(--ink-mute); margin-top: 18px; }
.access-car { margin: 36px 0 0; max-width: 440px; }
.access-car .photo { aspect-ratio: 5 / 4; border-radius: var(--radius); box-shadow: var(--shadow); }
.access-car figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-mute); letter-spacing: .04em; }
.routes { list-style: none; margin: 0; padding: 0; counter-reset: route; }
.routes li { position: relative; padding: 0 0 30px 72px; counter-increment: route; }
.routes li::before {
  content: counter(route, decimal-leading-zero);
  position: absolute; left: 0; top: -4px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--gold-soft); display: grid; place-items: center;
  font-family: var(--latin); font-size: 19px; color: var(--gold);
}
.routes li:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: 50px; bottom: 6px; width: 1px; background: var(--line); }
.route-mode { font-family: var(--serif); font-size: 19px; margin-bottom: 4px; letter-spacing: .08em; }
.routes li p:last-child { color: var(--ink-soft); font-size: 15px; }
.routes strong { color: var(--ink); font-weight: 500; }

/* ---------- Guide ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; margin: 0; max-width: 960px; margin-inline: auto; }
.guide-grid div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.guide-grid dt { font-family: var(--serif); color: var(--gold); letter-spacing: .1em; }
.guide-grid dd { margin: 0; color: var(--ink-soft); font-size: 15px; }
.guide-grid strong { color: var(--rose); font-weight: 500; }

/* ---------- Booking ---------- */
.booking {
  background: radial-gradient(ellipse at 50% 0%, #4A3A2E 0%, var(--night) 60%);
  color: var(--cream-on-dark); text-align: center; padding: 120px 0;
}
.booking-inner { max-width: 760px; }
.booking-mark { width: 76px; height: 76px; color: var(--logo); margin: 0 auto 28px; display: block; }
.booking .section-title { font-size: clamp(30px, 3.6vw, 44px); }
.booking-lead { color: rgba(243, 234, 219, .75); font-size: 17px; }
.booking-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 40px 0 34px; }
.booking-contact { font-size: 14px; color: rgba(243, 234, 219, .6); letter-spacing: .06em; line-height: 2; }
.booking-contact a { color: inherit; text-decoration: none; white-space: nowrap; }
.booking-contact a:hover { color: rgba(243, 234, 219, .9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night-2); color: rgba(243, 234, 219, .7); font-size: 14px; padding: 64px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(243, 234, 219, .12); }
.footer-brand { display: flex; gap: 18px; align-items: center; }
.footer-mark { width: 56px; height: 56px; color: var(--logo); flex: none; }
.footer-name { font-family: var(--serif); font-size: 19px; color: var(--cream-on-dark); letter-spacing: .14em; margin-bottom: 4px; }
.footer-sub { margin: 0; font-size: 13px; letter-spacing: .1em; }
.footer-info p { margin: 0 0 6px; }
.footer-info a, .footer-bottom a { text-decoration: none; color: var(--gold-soft); }
.footer-info a:hover, .footer-bottom a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; }
.footer-bottom { align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-family: var(--latin); letter-spacing: .1em; font-size: 14px; }
.footer-bottom .techneko-credit {
  display: inline-flex; align-items: center; gap: 6px; margin-right: auto;
  font-family: var(--sans); font-size: 12px; letter-spacing: .02em; color: rgba(243, 234, 219, .45);
  text-decoration: none; transition: color .25s;
}
.footer-bottom .techneko-credit img { width: 16px; height: 16px; border-radius: 4px; }
.footer-bottom .techneko-credit:hover { color: rgba(243, 234, 219, .8); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .photo img { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .site-nav { gap: 24px; }
  .lang-switch .l-full { display: none; }
  .lang-switch .l-short { display: inline; }
}

/* Header switches to the menu button earlier than the rest of the layout:
   brand + 7 nav items + language switch need ~1140px in Chinese / Japanese */
@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .lang-switch { margin-left: auto; margin-right: -8px; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: 8px 40px 24px; box-shadow: 0 20px 40px -30px rgba(58,44,34,.5);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin: 18px 0 0; }
}

@media (max-width: 960px) {
  .container { padding: 0 28px; }
  .section { padding: 88px 0; }

  .site-nav { padding: 8px 28px 24px; }

  .hero { padding: 32px 0 72px; }
  .hero::before { width: 100%; height: 56%; top: auto; bottom: 0; border-radius: 160px 0 0 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; padding-right: 36px; }

  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about-grid, .access-grid { grid-template-columns: 1fr; gap: 48px; }
  .onsen-trio { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .onsen-trio .onsen-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: center; }
  .onsen-trio .onsen-card:last-child { grid-template-rows: 1fr auto auto auto 1fr; }
  .onsen-trio .onsen-card:last-child .photo { grid-row: 1 / -1; grid-column: 1; margin-bottom: 0; }
  .onsen-trio .onsen-card:last-child .onsen-tag { grid-row: 2; grid-column: 2; }
  .onsen-trio .onsen-card:last-child h3 { grid-row: 3; grid-column: 2; }
  .onsen-trio .onsen-card:last-child p:last-child { grid-row: 4; grid-column: 2; }
  .room-grid { gap: 28px; }
  .spaces-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .space-tall { grid-row: span 2; }

  .sakura { padding: 88px 0; }
  .sakura-inner { grid-template-columns: 1fr; gap: 40px; }
  .sakura-bg { max-width: 400px; justify-self: center; }

  .around-grid { grid-template-columns: 1fr 1fr; }
  .spot-large { grid-template-columns: 1fr; }
  .spot-large .photo { min-height: 0; aspect-ratio: 16 / 10; }
  .spot-large .spot-body { padding: 32px 28px 36px; }
  .guide-grid { grid-template-columns: 1fr; }
  .room-feature .room-body { display: block; padding: 28px 32px 34px; }
  .room-feature .room-meta { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .header-inner { height: 64px; }
  .site-nav { top: 64px; padding: 4px 16px 20px; }
  html { scroll-padding-top: 72px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 16px; letter-spacing: .08em; }
  .brand-en { font-size: 10px; letter-spacing: .18em; }
  .header-inner { gap: 10px; }
  .lang-switch { margin-right: -10px; }
  .lang-switch a { padding: 4px 7px; }

  .hero-title { font-size: 32px; }
  .hero-lead { font-size: 15.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-visual { padding-right: 28px; }
  .hero-vertical { font-size: 13px; letter-spacing: .45em; }
  .onsen-hours { border-radius: 22px; padding: 10px 22px; }

  .fact { padding: 22px 12px; gap: 12px; flex-direction: column; align-items: flex-start; }
  .fact-num { font-size: 42px; }
  .fact-icon { width: 42px; height: 42px; font-size: 20px; }
  .fact-label { font-size: 14px; }

  .onsen-trio, .room-grid, .around-grid { grid-template-columns: 1fr; }
  .onsen-trio .onsen-card:last-child { display: block; }
  .onsen-trio .onsen-card:last-child .photo { margin-bottom: 24px; }
  .room-body, .room-feature .room-body { padding: 22px 22px 26px; }
  .room-photos { grid-template-columns: 1fr; }
  .spaces-grid { grid-template-columns: 1fr; }
  .spaces-more { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .space-mini { display: grid; grid-template-columns: 116px 1fr; gap: 18px; align-items: center; }
  .space-mini figcaption { margin-top: 0; font-size: 14px; }
  .space-tall { grid-row: auto; }
  .space-tall .photo { aspect-ratio: 3 / 4; }
  .sakura-bg { max-width: 320px; }
  .spot-large .spot-body { padding: 24px 22px 28px; }
  .spot-large h3 { font-size: 24px; }
  .guide-grid div { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .booking { padding: 88px 0; }
  .booking-actions .btn { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Narrow phones: keep logo, name, language switch and menu button on one row */
@media (max-width: 430px) {
  .header-inner { gap: 6px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 15px; letter-spacing: .03em; }
  .brand-en { font-size: 9px; letter-spacing: .12em; }
  .lang-switch a { padding: 4px 5px; }
}

/* ==========================================================================
   Languages — the same layout serves /zh/, /ja/ and /en/
   ========================================================================== */
/* 日本語 */
:root:lang(ja) {
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}
:root:lang(ja) body { line-break: strict; }
:root:lang(ja) h1, :root:lang(ja) h2, :root:lang(ja) h3,
:root:lang(ja) .room-meta, :root:lang(ja) .section-lead, :root:lang(ja) .fact-label,
:root:lang(ja) .hero-lead, :root:lang(ja) .booking-lead { word-break: auto-phrase; }
:root:lang(ja) .hero-title { letter-spacing: .04em; }
:root:lang(ja) .site-nav a:not(.btn) { letter-spacing: .1em; }

/* English */
:root:lang(en) {
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Noto Sans", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans", "Microsoft YaHei", sans-serif;
}
:root:lang(en) body { letter-spacing: .005em; line-height: 1.75; }
:root:lang(en) h1, :root:lang(en) h2, :root:lang(en) h3 { letter-spacing: .005em; font-weight: 500; text-wrap: balance; }
:root:lang(en) .hero-title { font-size: clamp(40px, 4.6vw, 60px); line-height: 1.08; letter-spacing: 0; }
:root:lang(en) .section-title { font-size: clamp(34px, 4vw, 50px); line-height: 1.1; }
:root:lang(en) .booking .section-title { font-size: clamp(34px, 4.2vw, 52px); }
:root:lang(en) .eyebrow { font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; }
:root:lang(en) .site-nav a:not(.btn) { letter-spacing: .05em; }
:root:lang(en) .btn { letter-spacing: .06em; }
:root:lang(en) .brand-name { font-family: var(--latin); font-size: 22px; font-weight: 600; letter-spacing: .02em; }
:root:lang(en) .fact-label { line-height: 1.45; }
:root:lang(en) .fact-num small { font-family: var(--latin); font-size: 18px; }
:root:lang(en) .onsen-tag, :root:lang(en) .spot-dist, :root:lang(en) .room-meta { letter-spacing: .1em; }
:root:lang(en) .onsen-tag { text-transform: uppercase; font-size: 12px; }
:root:lang(en) .onsen-card h3 { font-size: 27px; }
:root:lang(en) .room-body h3 { font-size: 29px; }
:root:lang(en) .spot-body h3 { font-size: 26px; }
:root:lang(en) .spot-large h3 { font-size: 36px; }
:root:lang(en) .space figcaption strong { font-size: 25px; letter-spacing: .01em; }
:root:lang(en) .route-mode { font-size: 23px; letter-spacing: .01em; }
:root:lang(en) .note-title { font-size: 19px; letter-spacing: .04em; }
:root:lang(en) .guide-grid dt { font-size: 19px; letter-spacing: .02em; line-height: 1.5; }
:root:lang(en) .guide-grid div { grid-template-columns: 150px 1fr; }
:root:lang(en) .address { font-family: var(--latin); font-size: 24px; letter-spacing: .01em; line-height: 1.45; }
:root:lang(en) .footer-name { font-family: var(--latin); font-size: 24px; letter-spacing: .02em; }
@media (max-width: 640px) {
  :root:lang(en) .brand-name { font-size: 18px; }
  :root:lang(en) .hero-title { font-size: 38px; }
  :root:lang(en) .guide-grid div { grid-template-columns: 1fr; }
  :root:lang(ja) .brand-name { font-size: 15px; letter-spacing: .04em; }
  :root:lang(ja) .hero-title { font-size: 30px; }
}
@media (max-width: 430px) {
  :root:lang(ja) .brand-name { font-size: 14px; letter-spacing: 0; }
  :root:lang(en) .brand-name { font-size: 17px; }
}
