/* Cafe Anh — site styles */
:root {
  --bg: #0C1A12;          /* deep forest */
  --bg-2: #112219;
  --bg-3: #172C20;
  --ivory: #F2EBDD;
  --paper: #EFE7D8;
  --ink: #0C1A12;
  --muted: #A7B1A4;       /* on dark */
  --muted-ink: #4D5E52;   /* on paper */
  --gold: #C9A46A;
  --gold-hi: #E4C892;
  --gold-ink: #8A6630;    /* gold text on paper */
  --line: rgba(242, 235, 221, .14);
  --line-ink: rgba(12, 26, 18, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --wrap: 1280px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; overflow-x: clip; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ivory); font: 300 1.0625rem/1.75 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
h1, h2, h3 { margin: 0; font-weight: 300; }
p { margin: 0 0 1.1em; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--ink); padding: 10px 14px; z-index: 1000; }
.skip:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* Type */
.display { font-family: var(--serif); font-weight: 300; font-size: clamp(3.6rem, 10vw, 9.5rem); line-height: .9; letter-spacing: -.025em; }
.display-2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 5.6vw, 5.2rem); line-height: .98; letter-spacing: -.02em; margin-bottom: .45em; }
.display em, .display-2 em { color: var(--gold); font-weight: 300; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: .7rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 2em; }
.eyebrow.center { justify-content: center; }
.eyebrow .line { display: inline-block; width: 40px; height: 1px; background: currentColor; opacity: .7; }
.label { font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 2.4em 0 .9em; }
.small { font-size: .875rem; color: var(--muted); }
.big { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.3; font-weight: 300; color: var(--ivory); }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 32px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 500 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0; }
.btn:hover::before { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold::before { background: var(--ivory); }
.btn-outline { border-color: rgba(242, 235, 221, .35); color: var(--ivory); }
.btn-outline::before { background: var(--ivory); }
.btn-outline:hover { color: var(--ink); border-color: var(--ivory); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark::before { background: var(--gold); }
.btn-dark:hover { color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .5s var(--ease), backdrop-filter .5s, transform .5s var(--ease); }
.site-header.scrolled { background: rgba(12, 26, 18, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.site-header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { position: relative; z-index: 2; font-family: var(--serif); font-size: 1.85rem; font-weight: 400; text-decoration: none; letter-spacing: -.01em; }
.logo em, .loader-mark em, .footer-word em { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a:not(.btn) { position: relative; font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: 6px 0; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav .num { color: var(--gold); font-size: .6rem; margin-right: 8px; vertical-align: top; }
.site-nav .btn { min-height: 44px; padding: 0 24px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; color: inherit; cursor: pointer; z-index: 2; }
  .bars, .bars::before, .bars::after { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .4s var(--ease), background .3s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -7px; } .bars::after { top: 7px; }
  .open .bars { background: transparent; }
  .open .bars::before { transform: translateY(7px) rotate(45deg); }
  .open .bars::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px;
    padding: 96px clamp(20px, 6vw, 48px) 48px; background: var(--bg);
    clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .site-header.open .site-nav { clip-path: inset(0 0 0 0); visibility: visible; }
  .site-nav a:not(.btn) { font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 3.6rem); font-weight: 300; letter-spacing: -.01em; text-transform: none; padding: 4px 0; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .num { font-family: var(--sans); font-size: .7rem; margin-right: 14px; vertical-align: middle; }
  .site-nav .btn { margin-top: 28px; }
  .site-header.open { background: transparent; backdrop-filter: none; box-shadow: none; }
}

/* Preloader */
.loader { display: none; }
.js .loader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 900; background: var(--bg); }
.loader-inner { text-align: center; }
.loader-mark { font-family: var(--serif); font-size: clamp(2.8rem, 7vw, 4.5rem); font-weight: 300; margin: 0; }
.loader-line { display: block; width: 180px; height: 1px; margin: 18px auto; background: var(--line); overflow: hidden; }
.loader-line span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: load 1.4s var(--ease) forwards; }
.loader-sub { font-size: .66rem; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); margin: 0; }
@keyframes load { to { transform: scaleX(1); } }
.loader-count { position: absolute; right: clamp(20px, 4vw, 48px); bottom: clamp(16px, 3vw, 32px); font-family: var(--serif); font-weight: 300; font-size: clamp(4rem, 12vw, 9rem); line-height: 1; color: var(--ivory); font-variant-numeric: tabular-nums; }
.loader-count small { font-size: .3em; color: var(--gold); margin-left: 4px; vertical-align: top; }
.loader-corner { position: absolute; left: clamp(20px, 4vw, 48px); bottom: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 4px; font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }

/* The ritual */
.ritual { background: var(--bg); border-top: 1px solid var(--line); }
.ritual-head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 96px); }
.ritual-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 860px) { .ritual-steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 40px 0 48px; border-top: 1px solid var(--line); }
@media (min-width: 860px) {
  .step { padding: 48px 40px 56px; border-top: 0; border-left: 1px solid var(--line); }
  .step:first-child { padding-left: 0; border-left: 0; }
}
.step-num { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(5.5rem, 10vw, 8.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 106, .55); margin-bottom: 28px; }
.step h3 { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(2rem, 3vw, 2.6rem); color: var(--gold); margin-bottom: 12px; }
.step p { color: rgba(242, 235, 221, .72); max-width: 22em; margin: 0; }
.step::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--gold); transition: width 1.4s var(--ease); }
.step.in::after { width: 100%; }
@media (min-width: 860px) { .step::after { display: none; } }

/* Photos: one warm grade so phone shots read as a single shoot */
.frame img, .card img, .g-item img { filter: saturate(.86) contrast(1.07) sepia(.07) brightness(.97); }
.card:hover img, .g-item:hover img { filter: saturate(1) contrast(1.05) sepia(0) brightness(1); }
.card img, .g-item img { transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.frame, .card-media, .g-item picture { position: relative; }
.frame::after, .card-media::before, .g-item picture::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(12, 26, 18, .38)); z-index: 1; }

/* Gold foil shimmer on the accent words */
.display em, .display-2 em, .display em .w > span, .display-2 em .w > span {
  background: linear-gradient(100deg, #B8904F 0%, #E9CF97 22%, #C9A46A 40%, #F3E0B5 52%, #B8904F 70%, #D9B97C 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: foil 7s ease-in-out infinite;
}
.js .display em, .js .display-2 em { background: none; animation: none; }
html:not(.js) .menu .display-2 em, html:not(.js) .visit .display-2 em, .menu .display-2 em .w > span, .visit .display-2 em .w > span {
  background-image: linear-gradient(100deg, #7A5626 0%, #A97E3E 30%, #6E4C20 55%, #9A7035 80%, #7A5626 100%);
}
@keyframes foil { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Paper sections slide over the dark ones with rounded tops */
.menu, .visit { border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0; margin-top: calc(-1 * clamp(24px, 3vw, 44px)); position: relative; z-index: 2; }
.signature { padding-bottom: calc(clamp(96px, 13vw, 180px) + clamp(24px, 3vw, 44px)); }

/* Grain + cursor */
.grain { position: fixed; inset: -50%; z-index: 800; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 8s steps(10) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-4%); } 60% { transform: translate(-2%,-2%); } 80% { transform: translate(4%,2%); } }
.cursor { display: none; }
@media (pointer: fine) {
  .js .cursor { display: block; position: fixed; inset: 0; z-index: 950; pointer-events: none; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; }
  .cursor-dot { width: 6px; height: 6px; background: var(--gold); }
  .cursor-ring { width: 40px; height: 40px; border: 1px solid rgba(201, 164, 106, .5); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), background .4s, border-color .4s; }
  .cursor.is-link .cursor-ring { width: 64px; height: 64px; border-color: var(--gold); }
  .cursor.is-label .cursor-ring { width: 92px; height: 92px; background: var(--gold); border-color: var(--gold); }
  .cursor-label { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
  .cursor.is-label .cursor-label { opacity: 1; }
  .cursor.hidden { opacity: 0; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--bg); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(12,26,18,.7) 0%, rgba(12,26,18,0) 55%), linear-gradient(0deg, rgba(12,26,18,.9) 0%, rgba(12,26,18,0) 30%); }
.hero-stage { position: absolute; inset: 0; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.is-3d .hero-canvas { opacity: 1; }
.hero-fallback { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; }
.hero-fallback img { width: 100%; height: 100%; object-fit: cover; opacity: .55; mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); }
.is-3d .hero-fallback { display: none; }
.hero-content { position: relative; z-index: 2; padding-top: 140px; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.hero h1 { max-width: 9ch; margin-bottom: .35em; }
.lede { max-width: 30em; color: rgba(242, 235, 221, .82); font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 56px; padding-bottom: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 36px; list-style: none; padding: 0; margin: 0; font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: rgba(242, 235, 221, .7); }
.hero-facts strong { color: var(--gold); font-weight: 500; }
.open-status.is-open::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7BC48F; margin-right: 10px; box-shadow: 0 0 0 4px rgba(123, 196, 143, .18); vertical-align: 1px; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.scroll-cue span { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (min-width: 900px) {
  .hero-content { padding-top: 22vh; }
}
@media (max-width: 899px) {
  /* Phones: headline first, then the 3D glass on its own stage, then the facts */
  .hero { justify-content: flex-start; min-height: 0; }
  .hero::before { display: none; }
  .hero-content { order: 1; padding-top: 116px; }
  .hero-stage { position: relative; order: 2; height: min(70svh, 560px); margin-top: -8px; }
  .hero-canvas { mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%, #000 82%, transparent 100%); }
  .hero-fallback { width: 100%; }
  .hero-fallback img { mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
  .hero-foot { order: 3; padding-top: 8px; }
  .scroll-cue { display: none; }
}

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--bg); }
.marquee-track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); font-style: italic; font-weight: 300; white-space: nowrap; }
.marquee-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 106, .8); }
.marquee-track i { color: var(--gold); font-style: normal; font-size: .4em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head > p:last-child { color: var(--muted); }

.about-grid, .signature-grid, .visit-grid, .contact-grid { display: grid; gap: 56px; }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1.1fr 1fr; gap: 96px; align-items: start; }
  .signature-grid { grid-template-columns: 1.05fr 1fr; gap: 110px; align-items: center; }
  .visit-grid, .contact-grid { grid-template-columns: 1fr 1fr; gap: 96px; }
}
.about-text p:not(.big) { color: rgba(242, 235, 221, .75); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 48px 0 0; border-top: 1px solid var(--line); }
.facts > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.facts > div:nth-child(even) { padding-left: 24px; }
.facts dt { font-size: .64rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* Signature */
.signature { background: var(--bg-2); }
.signature-media { position: relative; padding: 0 12% 18% 0; }
.frame { overflow: hidden; border-radius: 4px; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.12); }
.frame-small { position: absolute; right: 0; bottom: 0; width: 46%; border: 8px solid var(--bg-2); border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.frame-small img { aspect-ratio: 1; }
.badge-price { position: absolute; left: -18px; top: 8%; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: var(--gold); color: var(--ink); font-family: var(--serif); font-size: 1.9rem; font-style: italic; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); }
.signature-text p:not(.eyebrow) { color: rgba(242, 235, 221, .78); max-width: 32em; }
.signature-text .btn { margin-top: 18px; }

/* Menu (paper section) */
.menu { background: var(--paper); color: var(--ink); }
.menu .eyebrow, .menu .vn, .menu .price { color: var(--gold-ink); }
.menu .display-2 em { color: var(--gold-ink); }
.menu .section-head > p:last-child { color: var(--muted-ink); }
.featured { display: grid; gap: clamp(20px, 2.4vw, 32px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: clamp(80px, 10vw, 140px); perspective: 1200px; }
.card { margin: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
.card-media { position: relative; overflow: hidden; border-radius: 4px; box-shadow: 0 40px 80px -40px rgba(12, 26, 18, .55); transform: translateZ(0); }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover img { transform: scale(1.05); }
.glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 245, 225, .35), transparent 55%); mix-blend-mode: soft-light; }
.card:hover .glare { opacity: 1; }
.card figcaption { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 22px 4px 0; transform: translateZ(40px); }
.card .vn { grid-column: 1 / -1; font-size: .64rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.card .name { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; }
.card .price { font-family: var(--serif); font-size: 1.5rem; font-style: italic; align-self: end; white-space: nowrap; }

.menu-cols { display: grid; gap: 72px; }
@media (min-width: 960px) { .menu-cols { grid-template-columns: 1fr 1fr; gap: 110px; } }
.menu-list h3 { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 300; padding-bottom: 18px; border-bottom: 1px solid var(--ink); margin-bottom: 8px; }
.menu-list h3 small { font-family: var(--sans); font-size: .64rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--muted-ink); }
.menu-list ul { list-style: none; margin: 0; padding: 0; }
.menu-list li { padding: 24px 0; border-bottom: 1px solid var(--line-ink); }
.menu-list .row { display: flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; }
.menu-list .dots { flex: 1; border-bottom: 1px dotted rgba(12, 26, 18, .35); transform: translateY(-6px); }
.menu-list .price { font-style: italic; }
.menu-list p { margin: 8px 0 0; font-size: .95rem; color: var(--muted-ink); }
.menu-list .vn { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 2px; }
.note { margin-top: 28px; font-size: .92rem; color: var(--muted-ink); }

/* Reviews */
.reviews { text-align: center; background: radial-gradient(60% 70% at 50% 50%, var(--bg-3), var(--bg)); overflow: hidden; }
.reviews-inner { max-width: 680px; }
.big-rating { font-family: var(--serif); font-weight: 300; font-size: clamp(7rem, 22vw, 15rem); line-height: .85; margin: 0; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #8C6A3A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-rating small { font-size: .3em; -webkit-text-fill-color: rgba(242, 235, 221, .4); }
.stars { color: var(--gold); letter-spacing: .5em; font-size: 1.1rem; margin: 26px 0 30px; padding-left: .5em; }
.reviews-inner > p.fade { color: rgba(242, 235, 221, .8); font-size: 1.15rem; margin-bottom: 40px; }

/* Gallery — horizontal 3D track on large screens */
.gallery { background: var(--bg); padding: clamp(96px, 12vw, 160px) 0; overflow: hidden; }
.gallery-head { margin-bottom: 56px; }
.gallery-track { display: flex; gap: clamp(16px, 2.4vw, 36px); padding: 0 clamp(20px, 4vw, 48px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; perspective: 1400px; }
.gallery-track::-webkit-scrollbar { display: none; }
.g-item { flex: 0 0 auto; width: min(78vw, 440px); margin: 0; scroll-snap-align: center; transform-style: preserve-3d; }
.g-item picture { overflow: hidden; border-radius: 4px; }
.g-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption { display: flex; gap: 14px; align-items: baseline; padding-top: 16px; font-family: var(--serif); font-size: 1.3rem; font-style: italic; }
.g-item figcaption span { font-family: var(--sans); font-style: normal; font-size: .64rem; letter-spacing: .24em; color: var(--gold); }
.is-pinned-gallery .gallery { padding: 0; }
.is-pinned-gallery .gallery-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.is-pinned-gallery .gallery-track { overflow: visible; scroll-snap-type: none; width: max-content; }
.is-pinned-gallery .g-item { width: min(30vw, 460px); }

/* Visit (paper) */
.visit { background: var(--paper); color: var(--ink); }
.visit .eyebrow, .visit .label { color: var(--gold-ink); }
.visit .display-2 em { color: var(--gold-ink); }
.visit .small { color: var(--muted-ink); }
.hours { border-collapse: collapse; width: 100%; max-width: 480px; }
.hours th, .hours td { padding: 16px 0; border-bottom: 1px solid var(--line-ink); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-family: var(--serif); font-size: 1.45rem; }
.visit-row { display: flex; flex-wrap: wrap; gap: 8px 72px; margin-bottom: 32px; }
address { font-style: normal; font-family: var(--serif); font-size: 1.8rem; line-height: 1.25; }
.phone { font-family: var(--serif); font-size: 1.8rem; text-decoration: none; }
.phone:hover { color: var(--gold-ink); }
.map { min-height: 520px; background: var(--bg); color: var(--ivory); position: relative; border-radius: 4px; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; background: radial-gradient(70% 60% at 50% 40%, var(--bg-3), var(--bg)); }
.map-placeholder::before { content: ""; position: absolute; inset: 24px; border: 1px solid var(--line); border-radius: 2px; pointer-events: none; }
.map-title { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; font-weight: 300; }
.map-title em { color: var(--gold); }
.map-placeholder .small { max-width: 24em; margin-bottom: 28px; }

/* Contact */
.contact { background: var(--bg-2); }
.contact p:not(.eyebrow):not(.small):not(.form-status) { color: rgba(242, 235, 221, .78); }
.contact-form { display: grid; gap: 28px; align-content: start; }
.field-row { display: grid; gap: 28px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; display: block; }
.field input, .field textarea {
  width: 100%; padding: 26px 0 12px; border: 0; border-bottom: 1px solid rgba(242, 235, 221, .25); background: transparent; border-radius: 0;
  font: 300 1.1rem/1.5 var(--sans); color: var(--ivory); transition: border-color .4s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field span { position: absolute; left: 0; top: 26px; font-size: 1rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .45s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input:focus + span, .field textarea:focus + span,
.field input:not(:placeholder-shown) + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-24px) scale(.72); color: var(--gold); letter-spacing: .08em; }
.field [aria-invalid="true"] { border-bottom-color: #E07A62; }
.contact-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-size: .95rem; min-height: 1.5em; }
.form-status.ok { color: #9ED3AC; }
.form-status.err { color: #F0A08C; }

/* Footer */
.site-footer { background: var(--bg); color: rgba(242, 235, 221, .72); padding: clamp(80px, 10vw, 120px) 0 28px; font-size: .95rem; border-top: 1px solid var(--line); overflow: hidden; }
.site-footer .label { margin-top: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-word { font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 22vw, 20rem); line-height: .8; letter-spacing: -.04em; text-align: center; margin: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 48px); color: var(--ivory); white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .78rem; letter-spacing: .08em; }
.footer-bottom p { margin: 0; }

/* Simple page (privacy, 404) */
.page { padding: 170px 0 110px; }
.page .wrap { max-width: 780px; }
.page h1 { font-family: var(--serif); font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1; margin-bottom: .4em; }
.page h1 em { color: var(--gold); }
.page h2 { font-family: var(--serif); font-size: 1.9rem; margin: 1.6em 0 .5em; }
.page p { color: rgba(242, 235, 221, .8); }
.page a:not(.btn) { color: var(--gold); }
.page .btn { margin-top: 12px; }

/* Motion: hidden states only when JS is running, and never for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .js .fade { opacity: 0; transform: translateY(28px); }
  .js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  .js .split .w > span { display: inline-block; transform: translateY(105%); }
  .js .reveal-img { clip-path: inset(100% 0 0 0); }
  .js .eyebrow .line { transform: scaleX(0); transform-origin: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .grain { display: none; }
  .frame img { transform: none; }
}
