:root {
  --paper: #f2eee4;
  --paper-deep: #e5dccb;
  --ink: #191613;
  --tea: #3b2a20;
  --tea-soft: #654c3a;
  --gold: #b99a61;
  --line: rgba(25, 22, 19, .18);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: #fff; color: #000; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.hero { position: relative; min-height: 100svh; color: #fff; background: #181511; overflow: hidden; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 49% center; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 7, 5, .18) 0%, rgba(9, 8, 6, .02) 30%, rgba(11, 9, 7, .72) 100%); }
.hero__topline { position: absolute; z-index: 1; top: max(24px, env(safe-area-inset-top)); left: 24px; width: calc(100% - 48px); display: flex; justify-content: space-between; font-size: .75rem; letter-spacing: .18em; text-shadow: 0 1px 8px rgba(0,0,0,.9); }
.hero__content { position: relative; z-index: 1; display: flex; min-height: 100svh; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: 120px 24px calc(110px + env(safe-area-inset-bottom)); }
.eyebrow { margin: 0 0 27px; font-size: .88rem; letter-spacing: .1em; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(6rem, 30vw, 10rem); font-weight: 500; line-height: 1.03; letter-spacing: .035em; }
.hero__motto { margin: 16px 0 24px; font-family: var(--serif); font-size: 1.55rem; letter-spacing: .2em; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .9rem; letter-spacing: .08em; }
.hero__meta i { width: 2px; height: 2px; border-radius: 50%; background: currentColor; opacity: .7; }
.hero__capacity { margin: 0 0 26px; font-size: .9rem; letter-spacing: .1em; }
.hero__capacity strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.hero__scroll { position: absolute; z-index: 2; right: 10px; bottom: calc(92px + env(safe-area-inset-bottom)); min-width: 44px; min-height: 70px; padding: 0 14px; font-size: .72rem; letter-spacing: .12em; writing-mode: vertical-rl; }

.music-toggle { position: fixed; z-index: 60; top: calc(max(18px, env(safe-area-inset-top)) + 4px); right: calc(20px + env(safe-area-inset-right)); display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; padding: 0; background: rgba(20,17,14,.55); color: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.12); backdrop-filter: blur(10px); cursor: pointer; }
.music-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.music-toggle__bars { display: flex; height: 13px; align-items: center; gap: 2px; }
.music-toggle__bars i { display: block; width: 2px; height: 5px; border-radius: 2px; background: currentColor; opacity: .76; transform-origin: center; }
.music-toggle__bars i:nth-child(2) { height: 10px; }
.music-toggle.is-playing .music-toggle__bars i { animation: music-bar 1.2s ease-in-out infinite alternate; }
.music-toggle.is-playing .music-toggle__bars i:nth-child(2) { animation-delay: -.5s; }
.music-toggle.is-playing .music-toggle__bars i:nth-child(3) { animation-delay: -.85s; }

@keyframes music-bar {
  from { transform: scaleY(.55); opacity: .58; }
  to { transform: scaleY(1); opacity: 1; }
}

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 24px; border: 1px solid currentColor; padding: 0 20px; background: transparent; font-size: .9rem; letter-spacing: .08em; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:active:not(:disabled) { transform: scale(.98); }
.button--light { border-color: rgba(255,255,255,.58); background: rgba(255,255,255,.08); color: #fff; backdrop-filter: blur(7px); }
.button--disabled { width: 100%; border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.58); cursor: not-allowed; }
.button--outline { width: 100%; color: var(--ink); opacity: .5; cursor: not-allowed; }

.section { padding: 88px 20px; }
.section__intro { max-width: 560px; }
.section__number { display: block; margin-bottom: 28px; color: var(--tea-soft); font-size: .72rem; letter-spacing: .22em; }
.section h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.25rem, 11vw, 4rem); font-weight: 500; line-height: 1.24; letter-spacing: .03em; }
.section__intro > p { max-width: 100%; margin: 30px 0 0; color: #6e6258; font-family: var(--serif); font-size: 1.05rem; line-height: 1.95; letter-spacing: .06em; overflow-wrap: anywhere; }

.feature-photo { margin: 58px -20px 0; }
.feature-photo img { width: 100%; height: min(95vw, 560px); object-fit: cover; object-position: 57% center; filter: saturate(.9) contrast(1.02); }
figcaption { margin-top: 12px; color: #76695e; font-size: .8rem; letter-spacing: .1em; }
.feature-photo figcaption { padding: 0 20px; }
.photo-pair { display: grid; grid-template-columns: 1.12fr .88fr; gap: 14px; margin-top: 18px; align-items: start; }
.photo-pair--alternate { grid-template-columns: .88fr 1.12fr; margin-top: 28px; }
.portrait-photo { margin: 0; }
.portrait-photo img { width: 100%; height: min(50vw, 340px); object-fit: cover; filter: saturate(.88) contrast(1.01); }
.portrait-photo--entrance img { object-position: 52% center; }
.portrait-photo--detail img { object-position: 57% center; }
.portrait-photo--seat img { object-position: 51% 78%; }
.portrait-photo--table img { object-position: 54% center; }

.scenes { background: var(--ink); color: #f5f0e6; }
.section__intro--dark .section__number { color: var(--gold); }
.scene-grid { display: grid; gap: 46px; margin: 50px 0 0; }
.scene-card { min-width: 0; }
.scene-card__heading { display: flex; align-items: baseline; gap: 18px; margin-bottom: 18px; }
.scene-card__heading span { color: #bfae95; font-size: .78rem; letter-spacing: .18em; }
.scene-card h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: .08em; }
.scene-card img { width: 100%; height: min(78vw, 420px); object-fit: cover; object-position: center 40%; filter: saturate(.8) contrast(1.02); }
.scene-card--gathering img { object-position: center 65%; }
.scene-card p { margin: 18px 0 0; color: #d3c8b9; font-family: var(--serif); font-size: 1.08rem; line-height: 1.85; }

.space { background: var(--paper-deep); }
.space__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.capacity-mark { flex: 0 0 auto; padding-bottom: 6px; text-align: right; }
.capacity-mark strong { display: block; color: var(--tea); font-family: var(--serif); font-size: 4.6rem; font-weight: 400; line-height: .78; }
.capacity-mark span { display: block; margin-top: 18px; color: #65584d; font-size: .72rem; line-height: 1.6; letter-spacing: .08em; }
.capacity-mark b { font-weight: 500; }
.room-photo { margin: 58px -20px 0; }
.room-photo img { width: 100%; height: min(92vw, 560px); object-fit: cover; object-position: center 92%; filter: saturate(.9) contrast(1.03) brightness(1.06); }
.space__copy { margin: 48px 0 72px; }
.space__copy p { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 2; letter-spacing: .08em; }
.space-secondary-photo { width: 66%; margin: 0 0 0 auto; }
.space-secondary-photo img { width: 100%; height: auto; filter: saturate(.85) brightness(.97); }

.booking { padding-bottom: 100px; background: var(--tea); color: #f4eee4; }
.booking__inner { max-width: 620px; }
.booking .section__number { color: var(--gold); }
.booking .section__intro > p { color: #e0d4c5; font-size: 1.1rem; line-height: 2; }
.booking-list { margin: 50px 0 36px; border-top: 1px solid rgba(255,255,255,.22); }
.booking-list > p { margin: 22px 0; font-size: .8rem; letter-spacing: .12em; }
.booking-list ol { margin: 0; padding: 0; list-style: none; }
.booking-list li { display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,.13); padding: 15px 0; font-family: var(--serif); font-size: 1.1rem; letter-spacing: .08em; }
.booking-list li span { width: 48px; color: var(--gold); font-family: var(--sans); font-size: .68rem; }
.booking-list small { display: block; margin-top: 18px; color: #bfae9a; font-size: .82rem; letter-spacing: .08em; }
.booking [data-contact-button]:not(:disabled) { min-width: 240px; min-height: 54px; border-color: #e9dfcf; background: #e9dfcf; color: var(--tea); font-size: 1rem; }
.booking [data-contact-button]:not(:disabled):hover { background: #fff7ea; }
.placeholder-note { margin: 14px 0 0; color: #ad9e8e; font-size: .72rem; line-height: 1.7; }
[hidden] { display: none !important; }

.location { display: grid; gap: 42px; background: var(--paper); }
.location__copy > p { margin: 35px 0 0; font-size: 1rem; line-height: 1.9; }
.location__copy strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.location__copy .map-hint { margin-top: 24px; color: #6f6459; font-size: .95rem; }
.location .button { min-width: 190px; min-height: 52px; margin-top: 24px; font-size: .95rem; }
.location__photo { margin: 0; }
.location__photo img { width: 100%; height: min(90vw, 520px); object-fit: cover; object-position: center 54%; filter: saturate(.88) contrast(1.01); }

.closing { position: relative; display: flex; min-height: 66svh; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 52px 24px calc(90px + env(safe-area-inset-bottom)); background: #12100e; color: #f5efe4; text-align: center; isolation: isolate; }
.closing::before { position: absolute; z-index: -1; inset: 0; background: url('./assets/cover-closing.webp') center / cover; opacity: .2; content: ''; }
.closing__mark p { margin: 0; font-family: var(--serif); font-size: clamp(4.2rem, 20vw, 7rem); letter-spacing: .12em; }
.closing__mark span { display: block; margin-top: 2px; font-family: var(--serif); font-size: 1.12rem; letter-spacing: .25em; }
.closing__scan { margin: 16px 0 0; font-size: .82rem; letter-spacing: .18em; }
.closing__place { display: block; margin-top: 18px; color: #c4b9ab; font-size: .75rem; letter-spacing: .12em; }
.qr-placeholder { display: grid; width: 112px; height: 112px; place-items: center; border: 1px solid #554b42; color: #70665c; font-size: .7rem; line-height: 1.6; letter-spacing: .08em; }
.qr-placeholder.has-image { width: min(210px, 56vw); height: auto; margin-top: 24px; border: 0; padding: 8px; background: #fff; }
.qr-placeholder.has-image img { display: block; width: 100%; height: auto; }
.qr-placeholder.has-image span { display: none; }

.booking-bar { position: fixed; z-index: 50; left: 12px; width: calc(100vw - 24px); bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); padding: 8px 14px 8px 16px; background: rgba(23,19,15,.91); color: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.2); backdrop-filter: blur(16px); }
.booking-bar div { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; }
.booking-bar div > span { font-family: var(--serif); font-size: .95rem; letter-spacing: .08em; }
.booking-bar a { display: inline-flex; min-height: 44px; align-items: center; flex: 0 0 auto; padding: 0 4px; color: #e3d3b8; font-size: .87rem; letter-spacing: .03em; white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 700px) {
  .hero__topline { left: 5vw; right: 5vw; }
  .hero__content { padding-left: 8vw; padding-right: 8vw; }
  .hero__scroll { right: 5vw; }
  .section { padding: 120px max(6vw, 40px); }
  .environment .section__intro { max-width: 840px; }
  .feature-photo { margin-left: 0; margin-right: 0; }
  .feature-photo img { height: min(54vw, 700px); }
  .feature-photo figcaption { padding: 0; }
  .photo-pair { max-width: 760px; margin-left: auto; }
  .photo-pair--alternate { margin-top: 28px; }
  .portrait-photo img { height: 380px; }
  .scene-grid { grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 64px; }
  .scene-card img { height: min(40vw, 480px); }
  .space__heading { max-width: 1000px; }
  .room-photo { width: min(72%, 760px); margin-left: auto; margin-right: 0; }
  .space-secondary-photo { width: min(38%, 420px); }
  .location { grid-template-columns: 1fr 1fr; align-items: center; }
  .location__photo { max-width: 480px; }
  .booking-bar { left: 50%; width: min(520px, calc(100% - 24px)); right: auto; transform: translateX(-50%); }
  .capacity-mark strong { font-size: clamp(5.5rem, 13vw, 8rem); }
}

@media (max-width: 699px) {
  .portrait-photo--entrance img { height: 54vw; }
  .portrait-photo--detail img { height: 39vw; }
  .portrait-photo--seat img { height: 44vw; }
  .portrait-photo--table img { height: 52vw; }
}

@media (min-width: 1100px) {
  .hero__image { object-position: center 52%; }
  .environment, .scenes, .space, .location { padding-left: max(calc((100vw - 1180px) / 2), 60px); padding-right: max(calc((100vw - 1180px) / 2), 60px); }
  .photo-pair { margin-top: 80px; }
  .photo-pair--alternate { margin-top: 28px; }
  .room-photo { width: 74%; }
  .room-photo img { height: min(52vw, 610px); }
  .booking__inner { margin: 0 auto; }
}

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

@supports not (backdrop-filter: blur(1px)) {
  .booking-bar { background: rgba(23,19,15,.98); }
  .music-toggle { background: rgba(20,17,14,.9); }
}
