:root {
  --bone: #ECECE4;
  --ink: #000000;
  --butter: #F4E6A2;
  --grey: #6B6B64;
  --line: #D4D4CA;
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --ease: cubic-bezier(.77, 0, .18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; background: var(--bone); }
body {
  font-family: var(--font); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--bone);
  overflow: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 300; background: var(--ink); color: var(--bone); display: flex; align-items: flex-end; justify-content: space-between; padding: var(--gutter); }
.loader-word { font-weight: 900; font-size: clamp(80px, 22vw, 320px); line-height: .78; letter-spacing: -0.05em; }
.loader-pct { font-weight: 700; font-size: clamp(18px, 2.4vw, 32px); font-variant-numeric: tabular-nums; }
html:not(.js) .loader { display: none; }

/* ---------- Stage ---------- */
.stage { position: fixed; inset: 0; overflow: hidden; height: 100vh; height: 100svh; }

.labels { position: absolute; left: var(--gutter); top: calc(var(--gutter) + env(safe-area-inset-top)); z-index: 4; }
.label { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; white-space: nowrap; }
.label .lt { display: flex; flex-direction: column; font-weight: 800; font-size: clamp(22px, 2.6vw, 38px); line-height: .9; letter-spacing: -0.03em; }
.label .lt > span, .label .ls { display: block; overflow: hidden; }
.label .ls { margin-top: 8px; font-size: clamp(13px, 1.1vw, 16px); font-weight: 500; }
.label:not(.is-active) { visibility: hidden; }
html.anim .label { visibility: visible; }

.frames { position: absolute; inset: 0; z-index: 1; }
/* .frame is a still mask; .fi slides inside it and the photo counter-slides (curtain reveal) */
.frame { position: absolute; margin: 0; overflow: hidden; }
.fi { width: 100%; height: 100%; overflow: hidden; will-change: transform; }
.frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.shutter { position: absolute; inset: 0; z-index: 2; pointer-events: none; visibility: hidden; will-change: transform; }
html.anim .shutter { visibility: visible; }
.shutter.butter { background: var(--butter); }
.shutter.black { background: var(--ink); }
html:not(.anim) .shutter { display: none; }
/* Compositions, phone first */
.l-a { right: 0; top: 14svh; width: 80vw; height: 40svh; }
.l-b { left: 15vw; top: 15svh; width: 58vw; height: 44svh; }
.l-c { left: 0; top: 18svh; width: 84vw; height: 34svh; }
.l-d { right: 8vw; top: 21svh; width: 64vw; height: 32svh; }
html.js .frame { visibility: hidden; }
html.js .frame:first-child, html.anim .frame { visibility: visible; }

.word {
  position: absolute; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 3;
  display: flex; justify-content: center; padding: 0 var(--gutter);
  font-weight: 900; font-size: 33vw; line-height: .74; letter-spacing: -0.055em; white-space: nowrap;
  pointer-events: none;
}
.word .w { display: inline-block; overflow: hidden; padding: 0 .01em; margin: 0 -.01em; perspective: 900px; }
.word .wi { display: inline-block; will-change: transform; transform-origin: 50% 50% -0.3em; backface-visibility: hidden; }

.meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 4;
  display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .01em;
}
.meta-place { display: none; }
.meta-count { font-variant-numeric: tabular-nums; font-weight: 700; }
.sound {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 12px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: transparent;
  font-size: 13px; font-weight: 700;
}
.sound[aria-pressed="true"] { background: var(--ink); color: var(--bone); }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.bars i { width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.sound[aria-pressed="true"] .bars i { height: 12px; transform-origin: bottom; }
@media (prefers-reduced-motion: no-preference) {
  .sound[aria-pressed="true"] .bars i { animation: eq 1.1s ease-in-out infinite; }
  .sound[aria-pressed="true"] .bars i:nth-child(2) { animation-delay: -.4s; }
  .sound[aria-pressed="true"] .bars i:nth-child(3) { animation-delay: -.7s; }
  .sound[aria-pressed="true"] .bars i:nth-child(4) { animation-delay: -.2s; }
  @keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
}
html:not(.anim) .sound { display: inline-flex; }
.pause { width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; }
.pause svg { fill: var(--ink); }
.pause .pl { display: none; }
.pause[aria-pressed="true"] .p1, .pause[aria-pressed="true"] .p2 { display: none; }
.pause[aria-pressed="true"] .pl { display: block; }
html:not(.anim) .pause, html:not(.anim) .meta-count { display: none; }

/* ---------- Menu button ---------- */
.menu-btn {
  position: fixed; top: calc(var(--gutter) + env(safe-area-inset-top)); right: var(--gutter); z-index: 250;
  width: 72px; height: 50px; border: 0; border-radius: 10px; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  transition: transform .2s;
}
.menu-btn:active { transform: scale(.95); }
.menu-btn span { width: 34px; height: 3px; border-radius: 2px; background: var(--butter); transition: transform .45s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
.menu-btn:focus-visible { outline-color: var(--butter); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--bone); isolation: isolate;
  display: flex; flex-direction: column; padding: calc(96px + env(safe-area-inset-top)) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu[hidden] { display: none; }
html.anim .menu { background: transparent; }
.blinds { position: fixed; inset: 0; z-index: -1; display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
.blinds i { background: var(--ink); transform-origin: 50% 0; }
html:not(.anim) .blinds { display: none; }
.preview {
  position: fixed; left: 0; top: 0; z-index: 1; width: 300px; aspect-ratio: 4 / 5; overflow: hidden;
  pointer-events: none; opacity: 0; border-radius: 4px;
}
.preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 1023px) { .preview { display: none; } }
.sl { display: inline-block; overflow: hidden; vertical-align: top; }
.si { display: inline-block; will-change: transform; }
.menu-links .si { text-shadow: 0 .86em 0 var(--butter); }
.menu-links a:hover, .menu-links a:focus-visible { color: var(--bone); }
.menu-links { list-style: none; padding: 0; }
.menu-links a {
  display: flex; align-items: baseline; gap: 14px; text-decoration: none;
  font-weight: 900; font-size: clamp(64px, 19vw, 220px); line-height: .86; letter-spacing: -0.05em;
  transition: color .25s;
}
.menu-links a:hover, .menu-links a:focus-visible { color: var(--butter); }
.menu-links a:focus-visible { outline-color: var(--butter); }
.menu-links li { overflow: hidden; }
.menu-info { margin-top: auto; padding-top: 40px; display: grid; gap: 18px; font-size: 15px; color: #B9B9B0; }
.menu-info strong { color: var(--bone); font-weight: 700; }
.menu-info a { color: var(--butter); text-underline-offset: 3px; }
.menu-note { margin-top: 28px; font-size: 12px; color: #7D7D75; }
.menu-note a { color: #B9B9B0; }

/* ---------- Pages ---------- */
.page {
  position: fixed; inset: 0; z-index: 150; background: var(--bone);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.page[hidden] { display: none; }
.page-inner { padding: calc(110px + env(safe-area-inset-top)) var(--gutter) 120px; max-width: 1440px; margin: 0 auto; }
.page-title { font-weight: 900; font-size: clamp(76px, 22vw, 300px); line-height: .8; letter-spacing: -0.055em; outline: none; }
.page-lead { margin-top: 24px; max-width: 36ch; font-size: 18px; font-weight: 500; }
.page-statement { margin-top: 28px; max-width: 18ch; font-weight: 800; font-size: clamp(30px, 6vw, 72px); line-height: .98; letter-spacing: -0.035em; }
.page-img { margin: 44px calc(var(--gutter) * -1); overflow: hidden; aspect-ratio: 16 / 10; background: #DADAD0; }
.page-img { position: relative; }
.pi { width: 100%; height: 100%; overflow: hidden; }
.page-img img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.page-title .sl { line-height: .8; }
.reveal { will-change: transform, opacity; }
.page-close {
  position: fixed; left: var(--gutter); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 160;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--ink); color: var(--bone);
  font-weight: 700; font-size: 15px;
}

.menu-groups { display: grid; gap: 40px; }
.mg h3 { font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.mg ul { list-style: none; padding: 0; }
.mg li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mg li span { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.mg li em { grid-column: 1; font-style: normal; color: var(--grey); font-size: 15px; }
.mg li b { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.story-cols { display: grid; gap: 20px; font-size: 18px; max-width: 70ch; }
.facts { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border-top: 2px solid var(--ink); padding-top: 20px; }
.facts div { display: flex; flex-direction: column-reverse; gap: 6px; }
.facts dt { font-size: 13px; color: var(--grey); }
.facts dd { font-weight: 900; font-size: clamp(30px, 7vw, 80px); line-height: .9; letter-spacing: -0.04em; }

.visit-grid { margin-top: 44px; display: grid; gap: 28px; font-size: 17px; }
.visit-grid h3 { font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.visit-grid a { text-underline-offset: 3px; }
.pill { display: inline-flex; align-items: center; min-height: 48px; margin-top: 14px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--bone); text-decoration: none; font-weight: 700; font-size: 15px; }
.amenities { list-style: none; padding: 0; display: grid; gap: 0; }
.amenities li { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid var(--line); }
.amenities strong { font-weight: 800; }
.amenities span { color: var(--grey); }

/* ---------- Tablet ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .meta { grid-template-columns: 1fr 1fr auto auto auto; }
  .meta-place { display: block; }
  .menu-groups { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .visit-grid { grid-template-columns: repeat(3, 1fr); }
  .story-cols { grid-template-columns: 1fr 1fr; gap: 48px; }
  .amenities { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  :root { --gutter: 40px; }
  .menu-btn { width: 88px; height: 58px; }
  .l-a { right: 0; top: 0; width: 46vw; height: 60svh; }
  .l-b { left: 38vw; top: 9svh; width: 24vw; height: 52svh; }
  .l-c { left: 0; top: 16svh; width: 40vw; height: 42svh; }
  .l-d { right: 6vw; top: 8svh; width: 34vw; height: 46svh; }
  .word { font-size: min(30vw, 50svh); bottom: calc(56px + env(safe-area-inset-bottom)); justify-content: flex-start; }
  .menu { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 40px; padding-top: 120px; }
  .menu-links { flex: 1 1 60%; }
  .menu-info { flex: 0 0 300px; margin: 0; }
  .menu-note { flex: 1 1 100%; }
  .page-img { margin: 64px 0; border-radius: 0; }
  .page-close { left: auto; right: var(--gutter); }
}

@media (prefers-reduced-motion: reduce) {
  .menu-btn span { transition: none; }
}
