/* 木白咖啡馆 · 静态站点样式 */
:root {
  --paper: #f6f2e9;
  --paper-light: #fcfaf5;
  --ink: #1d2b25;
  --ink-soft: #4d5c53;
  --muted: #79867d;
  --green: #174a3f;
  --green-deep: #10372f;
  --green-soft: #e2ece4;
  --clay: #b56a43;
  --line: rgba(29, 43, 37, 0.16);
  --line-light: rgba(252, 250, 245, 0.2);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 74px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open, body.lightbox-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--green); color: var(--paper-light); }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--green); color: #fff; padding: 10px 16px;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(246, 242, 233, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(16, 55, 47, .08); background: rgba(246, 242, 233, .96); }
.header-inner {
  height: 100%; max-width: 1440px; margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 72px);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0; }
.brand-mark { font-family: var(--serif); font-size: 1.65rem; font-weight: 700; letter-spacing: .08em; color: var(--green); }
.brand-sub { font-size: .62rem; letter-spacing: .18em; font-weight: 700; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); margin-left: auto; }
.main-nav a {
  position: relative; font-size: .89rem; font-weight: 600; color: var(--ink-soft);
  padding: 6px 0; transition: color .2s ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--green); transition: right .25s ease;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--green); }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: var(--green); color: var(--paper-light);
  font-size: .82rem; font-weight: 600; padding: 9px 15px;
  transition: background .25s ease, transform .25s ease;
}
.header-cta svg { width: 15px; height: 15px; }
.header-cta:hover { background: var(--green-deep); transform: translateY(-1px); }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--green); transition: transform .25s ease; }
.menu-open .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1440px; margin: 0 auto;
  padding: clamp(48px, 7vw, 104px) clamp(20px, 4.5vw, 72px) clamp(48px, 6vw, 88px);
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 100px); align-items: center;
  min-height: min(760px, calc(100vh - var(--header-h)));
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--green);
  margin-bottom: clamp(18px, 3vw, 32px);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(4.4rem, 10vw, 9rem); line-height: .95; letter-spacing: .06em;
  color: var(--green); margin-bottom: 18px;
}
.hero h1 span {
  display: block; color: transparent;
  -webkit-text-stroke: 1.6px var(--green);
  padding-left: .42em;
}
@supports not (-webkit-text-stroke: 1px #000) {
  .hero h1 span { color: var(--green); }
}
.hero-en {
  font-size: .75rem; font-weight: 800; letter-spacing: .3em;
  color: var(--clay); margin-bottom: clamp(22px, 3vw, 36px);
}
.hero-desc { font-size: 1rem; line-height: 2; color: var(--ink-soft); max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 4vw, 42px); }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 22px; font-size: .88rem; font-weight: 700;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--paper-light); }
.btn-primary:hover { background: var(--green-deep); }
.btn-ghost { border: 1px solid var(--line); color: var(--green); }
.btn-ghost:hover { border-color: var(--green); background: rgba(23,74,63,.05); }
.hero-note { margin-top: 26px; font-family: var(--serif); font-size: .92rem; color: var(--muted); letter-spacing: .05em; }
.hero-visual { position: relative; padding: 0 34px 26px 0; }
.hero-visual::before {
  content: ""; position: absolute; inset: 18px 16px 8px 18px;
  border: 1px solid var(--line); z-index: 0;
}
.hero-image-wrap { position: relative; z-index: 1; overflow: hidden; background: var(--paper-light); }
.hero-image-wrap img { width: 100%; aspect-ratio: 4 / 3.35; object-fit: cover; }
.hero-badge {
  position: absolute; z-index: 2; left: -22px; bottom: 64px;
  background: var(--green); color: var(--paper-light);
  padding: 16px 22px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 16px 36px rgba(16,55,47,.18);
}
.badge-top, .badge-bottom { font-size: .7rem; letter-spacing: .12em; opacity: .75; }
.badge-main { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .04em; white-space: nowrap; }
.hero-caption { position: relative; z-index: 1; margin-top: 12px; font-size: .72rem; color: var(--muted); text-align: right; }

/* ---------- Facts ---------- */
.facts {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 1440px; margin: 0 auto;
}
.fact {
  padding: clamp(24px, 3.5vw, 44px) clamp(20px, 4.5vw, 72px);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
}
.fact:last-child { border-right: 0; }
.fact-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.fact strong { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-weight: 700; color: var(--green); }
.fact-extra { font-size: .8rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { max-width: 1440px; margin: 0 auto; padding: clamp(72px, 10vw, 148px) clamp(20px, 4.5vw, 72px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 72px); }
.section-index {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em;
  color: var(--clay); margin-bottom: 22px;
}
.section-index::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .5; }
.section-head h2, .contact h2 {
  font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 4.1rem);
  line-height: 1.24; font-weight: 700; letter-spacing: .03em; color: var(--green);
}
.section-intro { margin-top: 22px; color: var(--ink-soft); font-size: .98rem; line-height: 1.95; max-width: 620px; }
.inverted .section-head h2, .inverted h2 { color: var(--paper-light); }
.section-head.inverted .section-intro { color: rgba(252,250,245,.68); }

/* ---------- Space / floors ---------- */
.floor-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.floor-tabs { border-top: 1px solid var(--line); }
.floor-tab {
  width: 100%; display: grid; grid-template-columns: 74px 1fr 20px; gap: 18px;
  align-items: center; text-align: left; cursor: pointer;
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: clamp(20px, 2.6vw, 32px) 4px;
  position: relative; transition: background .25s ease, padding-left .25s ease;
}
.floor-tab::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform .3s ease;
}
.floor-tab:hover { background: rgba(23,74,63,.035); }
.floor-tab.is-active { padding-left: 16px; background: rgba(23,74,63,.055); }
.floor-tab.is-active::before { transform: scaleY(1); }
.floor-num { font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: var(--clay); line-height: 1; }
.floor-text { display: flex; flex-direction: column; gap: 6px; }
.floor-text strong { font-family: var(--serif); font-size: 1.2rem; color: var(--green); }
.floor-text span { font-size: .84rem; color: var(--muted); line-height: 1.7; }
.floor-arrow { font-size: 1.1rem; color: var(--muted); transition: transform .25s ease, color .25s ease; }
.floor-tab.is-active .floor-arrow { color: var(--green); transform: translate(2px, -2px); }
.floor-stage { position: relative; }
.floor-panel { position: relative; }
.floor-panel[hidden] { display: none; }
.floor-panel.is-active { animation: fade-in .5s ease both; }
.floor-panel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #ddd; }
.floor-panel figcaption {
  position: absolute; left: 0; bottom: 0; background: var(--paper-light);
  padding: 12px 20px; font-size: .82rem; font-weight: 600; color: var(--green);
  display: flex; align-items: center; gap: 12px;
}
.floor-panel figcaption span { font-family: var(--mono); font-size: .72rem; color: var(--clay); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Facilities ---------- */
.facilities {
  max-width: none; background: var(--green-deep); color: var(--paper-light);
  background-image: radial-gradient(circle at 82% 12%, rgba(181,106,67,.18), transparent 42%),
                    radial-gradient(circle at 8% 88%, rgba(255,255,255,.05), transparent 38%);
}
.facilities > .section-head, .facilities > .facility-grid { max-width: 1440px; margin-left: auto; margin-right: auto; }
.facilities .section-index { color: #d8a17e; }
.facilities .section-head h2 { color: var(--paper-light); }
.facilities .section-intro { color: rgba(252,250,245,.66); }
.facility-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.facility-card { background: rgba(255,255,255,.025); padding: clamp(28px, 3.5vw, 46px); position: relative; transition: background .3s ease; min-height: 330px; }
.facility-card:hover { background: rgba(255,255,255,.07); }
.facility-icon svg { width: 42px; height: 42px; stroke: #cfdfd1; stroke-width: 1.3; }
.facility-no { position: absolute; right: 24px; top: 20px; font-family: var(--serif); font-size: 3rem; color: rgba(252,250,245,.09); line-height: 1; }
.facility-card h3 { font-family: var(--serif); font-size: 1.5rem; margin: 30px 0 18px; letter-spacing: .05em; }
.facility-card ul { display: flex; flex-direction: column; gap: 11px; }
.facility-card li { position: relative; padding-left: 18px; font-size: .9rem; color: rgba(252,250,245,.75); }
.facility-card li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 1px; background: #d8a17e; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.location-info { background: var(--paper-light); border: 1px solid var(--line); padding: clamp(26px, 3.5vw, 46px); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.location-info dl { display: flex; flex-direction: column; }
.location-info dl > div { border-bottom: 1px solid var(--line); padding: 16px 0; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: start; }
.location-info dl > div:first-child { padding-top: 0; }
.location-info dl > div:last-child { border-bottom: 0; }
.location-info dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); padding-top: 4px; }
.location-info dd { font-size: .92rem; color: var(--ink); line-height: 1.7; }
.mono { font-family: var(--mono); font-size: .88rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .88rem; font-weight: 700; color: var(--green); }
.text-link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.text-link:hover svg { transform: translateX(4px); }
.text-link-number { font-family: var(--mono); font-size: .8rem; color: var(--muted); font-weight: 400; }
.map-card { position: relative; min-height: 400px; overflow: hidden; border: 1px solid var(--line); background: #e7e8dd; }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-card-body {
  position: absolute; left: 28px; bottom: 28px; z-index: 2;
  background: var(--paper-light); border: 1px solid var(--line);
  padding: 22px 26px; display: flex; flex-direction: column; gap: 4px; min-width: 260px;
  box-shadow: 0 10px 28px rgba(16,55,47,.12);
  transition: transform .3s ease, box-shadow .3s ease;
}
.map-card:hover .map-card-body { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16,55,47,.18); }
.map-provider { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; color: var(--clay); margin-bottom: 4px; }
.map-card-body strong { font-family: var(--serif); font-size: 1.5rem; color: var(--green); }
.map-coords { color: var(--muted); }
.map-open { margin-top: 12px; font-size: .82rem; font-weight: 700; color: var(--green); display: inline-flex; gap: 8px; align-items: center; }
.map-open:hover { color: var(--clay); }
.map-open span { transition: transform .25s ease; }
.map-open:hover span { transform: translate(2px, -2px); }

/* ---------- Around ---------- */
.around-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.around-img { overflow: hidden; background: #ddd; }
.around-img img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.around-card:hover .around-img img { transform: scale(1.045); }
.around-card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 2px 0; border-top: 1px solid var(--line); margin-top: 14px; }
.around-tag { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--green); }
.around-date { font-family: var(--mono); font-size: .7rem; color: var(--muted); text-align: right; }

/* ---------- Photos ---------- */
.photos { max-width: none; background: #17231f; color: var(--paper-light); overflow: hidden; }
.photos > .section-head, .photos > .photo-scroll, .photos > .photos-hint { max-width: 1440px; margin-left: auto; margin-right: auto; }
.photos .section-index { color: #d8a17e; }
.photos .section-head h2 { color: var(--paper-light); }
.photos .section-intro { color: rgba(252,250,245,.64); }
.photo-scroll { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; padding: 4px 0 22px; scroll-snap-type: x mandatory; scrollbar-color: rgba(252,250,245,.35) transparent; }
.photo-item { flex: 0 0 clamp(260px, 30vw, 400px); scroll-snap-align: start; }
.photo-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; overflow: hidden; }
.photo-open img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.photo-open:hover img { transform: scale(1.04); filter: brightness(.9); }
.photo-item figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid rgba(252,250,245,.16); margin-top: 12px; }
.photo-item strong { font-size: .92rem; font-weight: 600; }
.photo-item figcaption span { font-family: var(--mono); font-size: .69rem; color: rgba(252,250,245,.55); }
.photos-hint { margin-top: 10px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; color: rgba(252,250,245,.45); }

/* ---------- Contact ---------- */
.contact {
  background: var(--green-soft); border-top: 1px solid var(--line);
  padding: clamp(72px, 10vw, 140px) clamp(20px, 4.5vw, 72px);
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(36px, 6vw, 96px); align-items: end;
}
.contact .section-index { color: var(--clay); }
.contact-desc { margin-top: 24px; max-width: 580px; color: var(--ink-soft); line-height: 1.95; font-size: .96rem; }
.email-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--serif); font-size: clamp(1.2rem, 2.5vw, 2rem); color: var(--green);
  border-bottom: 1px solid var(--green); padding-bottom: 12px; word-break: break-all;
}
.email-link svg { width: 24px; height: 24px; flex-shrink: 0; transition: transform .25s ease; }
.email-link:hover svg { transform: translate(4px, -4px); }
.contact-action p { margin-top: 14px; font-size: .8rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(252,250,245,.7); padding: clamp(56px, 7vw, 96px) clamp(20px, 4.5vw, 72px) 28px; }
.footer-top, .footer-bottom { max-width: 1440px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-bottom: clamp(48px, 6vw, 80px); }
.footer-brand a { font-family: var(--serif); font-size: 2.2rem; color: var(--paper-light); letter-spacing: .06em; }
.footer-brand a span { color: #9fbfb1; }
.footer-brand p { margin-top: 16px; font-size: .88rem; line-height: 1.8; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; justify-self: end; width: 100%; max-width: 520px; }
.footer-nav > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-nav h2 { font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; color: #9fbfb1; margin-bottom: 8px; font-weight: 700; }
.footer-nav a { font-size: .9rem; transition: color .2s ease; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(252,250,245,.14); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: .7rem; color: rgba(252,250,245,.45); }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--paper-light); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(9,18,15,.96); display: flex; align-items: center; justify-content: center; padding: 60px 80px; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1100px, 100%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: 78vh; max-width: 100%; object-fit: contain; }
.lightbox figcaption { font-family: var(--mono); font-size: .74rem; color: rgba(252,250,245,.7); }
.lightbox-close, .lightbox-nav { position: absolute; background: transparent; border: 1px solid rgba(252,250,245,.3); color: var(--paper-light); cursor: pointer; transition: background .2s ease; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(252,250,245,.12); }
.lightbox-close { top: 22px; right: 26px; width: 42px; height: 42px; font-size: 1.6rem; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 56px; font-size: 2rem; line-height: 1; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 48px; min-height: 0; }
  .hero-copy { max-width: 700px; }
  .hero-visual { max-width: 760px; width: 100%; }
  .floor-layout, .location-grid, .contact, .footer-top { grid-template-columns: 1fr; }
  .footer-nav { justify-self: start; max-width: none; }
  .facility-grid { grid-template-columns: 1fr; }
  .facility-card { min-height: 0; }
  .map-card { min-height: 340px; }
}

@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: flex; margin-left: auto; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper-light); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(16,55,47,.09); margin: 0; padding: 8px clamp(20px, 4.5vw, 72px) 18px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .around-grid { grid-template-columns: 1fr 1fr; }
  .around-card:last-child { grid-column: 1 / -1; }
  .around-card:last-child .around-img img { aspect-ratio: 16 / 9; }
}

@media (max-width: 640px) {
  .brand-sub { display: none; }
  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(3.8rem, 18vw, 6rem); }
  .hero-badge { left: -8px; bottom: 52px; padding: 12px 16px; }
  .badge-main { font-size: 1.15rem; }
  .hero-visual { padding: 0 16px 14px 0; }
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px clamp(20px, 5vw, 32px); }
  .fact:last-child { border-bottom: 0; }
  .floor-layout { gap: 28px; }
  .floor-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-top: 0; }
  .floor-tab { grid-template-columns: 1fr; gap: 8px; border: 1px solid var(--line); padding: 14px 12px; }
  .floor-tab.is-active { padding-left: 12px; background: rgba(23,74,63,.07); }
  .floor-num { font-size: 1.5rem; }
  .floor-text strong { font-size: .92rem; }
  .floor-text span, .floor-arrow { display: none; }
  .map-card { min-height: 320px; }
  .map-card-body { left: 16px; right: 16px; bottom: 16px; min-width: 0; padding: 16px 18px; }
  .map-card-body strong { font-size: 1.25rem; }
  .around-grid { grid-template-columns: 1fr; }
  .around-card:last-child { grid-column: auto; }
  .around-card:last-child .around-img img { aspect-ratio: 4 / 4.6; }
  .section-head h2, .contact h2 { font-size: clamp(2rem, 8.5vw, 3rem); }
  .contact { align-items: start; }
  .footer-bottom { flex-direction: column; }
  .lightbox { padding: 70px 16px; }
  .lightbox-nav { width: 38px; height: 46px; font-size: 1.6rem; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}

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