/* ===================== Tokens ===================== */
:root {
  --background: 24 25% 96%;
  --foreground: 20 45% 8%;
  --card: 24 25% 96%;
  --primary: 20 45% 8%;
  --primary-foreground: 24 25% 96%;
  --secondary: 30 25% 91%;
  --secondary-foreground: 20 45% 8%;
  --muted: 30 25% 91%;
  --muted-foreground: 20 20% 35%;
  --accent: 32 42% 68%;
  --accent-foreground: 20 45% 8%;
  --border: 30 22% 82%;

  --font-heading: "Cormorant Garamond", ui-serif, Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

/* ===================== Reset ===================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
svg { display: block; }

.serif { font-family: var(--font-heading); }
.italic { font-style: italic; }
.accent { color: hsl(var(--accent-foreground)); }
.dim { color: hsl(var(--muted-foreground)); }
.closed { color: hsl(var(--muted-foreground) / 0.6); }

h1, h2, h3 { font-family: var(--font-heading); font-weight: 300; letter-spacing: -0.01em; }

.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }

.eyebrow {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: hsl(var(--accent-foreground));
  margin-bottom: 1.25rem;
}

.h2 {
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h3 { font-size: 2.25rem; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 2rem; }

.lead { margin-top: 1.5rem; color: hsl(var(--muted-foreground)); max-width: 32rem; }
.center .lead { margin-left: auto; margin-right: auto; }

.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 2rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-light { background: hsl(var(--background)); color: hsl(var(--foreground)); }
.btn-light:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.btn-outline-light { border: 1px solid hsl(var(--background) / 0.7); color: hsl(var(--background)); }
.btn-outline-light:hover { background: hsl(var(--background)); color: hsl(var(--foreground)); }
.btn-accent { background: hsl(var(--accent-foreground)); color: hsl(var(--background)); padding: 0 2rem; font-size: 0.6875rem; }
.btn-accent:hover { background: hsl(var(--foreground)); }
.btn-dark { background: hsl(var(--foreground)); color: hsl(var(--background)); padding: 0 2.25rem; }
.btn-dark:hover { background: hsl(var(--accent-foreground)); }
.btn-outline-dark { border: 1px solid hsl(var(--foreground) / 0.3); color: hsl(var(--foreground)); padding: 0 2.25rem; }
.btn-outline-dark:hover { background: hsl(var(--foreground)); color: hsl(var(--background)); }
.btn-footer { background: hsl(var(--background) / 0.1); border: 1px solid hsl(var(--background) / 0.3); color: hsl(var(--background)); }
.btn-footer:hover { background: hsl(var(--background)); color: hsl(var(--foreground)); }

/* ===================== Header ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  background: transparent;
  padding: 1.5rem 0;
}
.site-header.scrolled {
  background: hsl(var(--background) / 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  padding: 1rem 0;
}
.nav-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-links { display: none; align-items: center; gap: 2.5rem; }
.nav-links a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: hsl(var(--muted-foreground));
  transition: color 0.3s ease;
}
.nav-links a:hover { color: hsl(var(--foreground)); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--foreground)) !important;
}
.nav-phone:hover { color: hsl(var(--accent-foreground)) !important; }
.menu-toggle { color: hsl(var(--foreground)); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border) / 0.6);
  padding: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.18em; color: hsl(var(--muted-foreground)); }
.mobile-menu .mobile-phone { color: hsl(var(--foreground)); letter-spacing: 0.02em; text-transform: none; font-size: 0.875rem; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-grain { position: relative; }
.hero-grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero-media { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, hsl(var(--foreground) / 0.85), hsl(var(--foreground) / 0.35), hsl(var(--foreground) / 0.3));
}
.hero-badge {
  position: absolute;
  top: 7rem; right: 2rem;
  z-index: 20;
  width: 7rem; height: 7rem;
  display: none;
}
.badge-svg { width: 100%; height: 100%; color: hsl(var(--background)); }
.spin-slow { animation: spin-slow 26s linear infinite; }
@keyframes spin-slow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.badge-text { fill: currentColor; font-size: 11px; text-transform: uppercase; letter-spacing: 0.32em; }
.badge-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  color: hsl(var(--background));
  font-size: 1.5rem;
}
.hero-content { position: relative; z-index: 10; max-width: 80rem; margin: 0 auto; width: 100%; padding: 0 1.5rem 5rem; color: hsl(var(--background)); }
.hero-eyebrow { color: hsl(var(--background) / 0.8); letter-spacing: 0.4em; margin-bottom: 1.5rem; }
.hero-title { font-weight: 300; line-height: 0.92; letter-spacing: -0.01em; font-size: 16vw; text-wrap: balance; }
.hero-bottom { margin-top: 2rem; display: flex; flex-direction: column; gap: 2rem; }
.hero-sub { font-family: var(--font-heading); font-style: italic; font-size: 1.5rem; color: hsl(var(--background) / 0.9); max-width: 28rem; line-height: 1.3; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.scroll-indicator {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: hsl(var(--background) / 0.7);
}
.scroll-indicator span { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.3em; }
.bounce { animation: bounce 1.2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (min-width: 640px) {
  .hero-badge { display: block; }
  .hero-title { font-size: 13vw; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 9.5rem; }
  .hero-bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* ===================== About ===================== */
.about { background: hsl(var(--background)); padding: 7rem 0; }
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-copy { order: 2; }
.about-image-wrap { order: 1; position: relative; }
.about-text { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; font-size: 1.125rem; line-height: 1.7; color: hsl(var(--muted-foreground)); max-width: 36rem; }
.about-tag { margin-top: 2.5rem; display: flex; align-items: center; gap: 1rem; }
.rule { height: 1px; width: 4rem; background: hsl(var(--accent-foreground)); }
.about-tag span { font-size: 1.25rem; }
.about-image { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.rating-card {
  display: none;
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: hsl(var(--background));
  padding: 1.25rem 1.5rem;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.rating-num { font-family: var(--font-heading); font-size: 2.25rem; line-height: 1; }
.rating-label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--muted-foreground)); margin-top: 0.5rem; }

@media (min-width: 640px) {
  .rating-card { display: block; }
}
@media (min-width: 1024px) {
  .about { padding: 10rem 0; }
  .about-grid { grid-template-columns: repeat(12, 1fr); gap: 5rem; }
  .about-copy { grid-column: span 7; order: 1; }
  .about-image-wrap { grid-column: span 5; order: 2; }
  .h2 { font-size: 3.75rem; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .h2 { font-size: 3rem; }
}

/* ===================== Menu ===================== */
.menu-section { background: hsl(var(--secondary) / 0.4); padding: 7rem 0; border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.section-head { max-width: 42rem; margin: 0 auto 5rem; }
.section-head .h2 { font-size: 3rem; }
.menu-rows { display: flex; flex-direction: column; gap: 5rem; }
.menu-row { display: grid; gap: 2.5rem; align-items: center; }
.menu-img { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.menu-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease-out; }
.menu-row:hover .menu-img img { transform: scale(1.05); }
.menu-list { border-top: 1px solid hsl(var(--border)); }
.menu-list li { display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0.75rem; border-bottom: 1px solid hsl(var(--border)); margin: 0 -0.75rem; transition: background 0.3s ease; flex-wrap: wrap; }
.menu-list li:hover { background: hsl(var(--secondary) / 0.4); }
.item-name { font-family: var(--font-heading); font-size: 1.25rem; }
.item-note { display: block; width: 100%; font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-top: 0.25rem; }
.menu-footnote { margin-top: 1.5rem; font-size: 0.875rem; font-style: italic; color: hsl(var(--accent-foreground)); }

@media (min-width: 1024px) {
  .menu-section { padding: 10rem 0; }
  .section-head { text-align: center; }
  .section-head .h2 { font-size: 4.5rem; }
  .menu-row { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .menu-row.reverse .menu-img { order: 2; }
  .menu-row.reverse .menu-info { order: 1; }
  .menu-info { padding: 0 1rem; }
  .h3 { font-size: 3rem; }
}

/* ===================== Gallery ===================== */
.gallery { background: hsl(var(--background)); padding: 7rem 0; }
.gallery-head { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 4rem; }
.gallery-lead { max-width: 20rem; }
.gallery-grid { display: grid; gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s ease-out; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; bottom: 0; left: 0;
  background: hsl(var(--foreground) / 0.8);
  color: hsl(var(--background));
  font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.28em;
  padding: 0.5rem 1rem;
}
.item-ritual, .item-corner { aspect-ratio: 4 / 3; }

@media (min-width: 1024px) {
  .gallery { padding: 10rem 0; }
  .gallery-head { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 6rem; }
  .gallery-grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 300px; gap: 1.5rem; }
  .item-room { grid-column: span 7; grid-row: span 2; aspect-ratio: auto; height: 100%; }
  .item-ritual, .item-corner { grid-column: span 5; aspect-ratio: auto; height: 100%; }
}

/* ===================== Testimonials ===================== */
.testimonials { background: hsl(var(--foreground)); color: hsl(var(--background)); padding: 7rem 0; }
.stars { display: flex; align-items: center; justify-content: center; gap: 0.25rem; margin-bottom: 2rem; }
.icon-star { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent-foreground)); fill: hsl(var(--accent-foreground)); }
.rating-big { font-family: var(--font-heading); font-weight: 300; font-size: 4.5rem; line-height: 1; margin-bottom: 0.5rem; }
.rating-caption { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.32em; color: hsl(var(--background) / 0.6); margin-bottom: 5rem; }
.quote-grid { display: grid; gap: 2.5rem; text-align: left; }
.quote-block { border-top: 1px solid hsl(var(--background) / 0.15); padding-top: 2rem; }
.icon-quote { width: 1.75rem; height: 1.75rem; color: hsl(var(--accent-foreground)); opacity: 0.8; margin-bottom: 1.25rem; }
.quote-block blockquote { font-family: var(--font-heading); font-style: italic; font-size: 1.5rem; line-height: 1.35; text-wrap: balance; }
.quote-block figcaption { margin-top: 1.5rem; font-size: 0.875rem; }
.quote-block .who { color: hsl(var(--background)); }
.quote-block .dim { color: hsl(var(--background) / 0.5); }

@media (min-width: 768px) {
  .quote-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
@media (min-width: 1024px) {
  .testimonials { padding: 10rem 0; }
  .rating-big { font-size: 6rem; }
  .quote-block blockquote { font-size: 1.875rem; }
}

/* ===================== Visit ===================== */
.visit { background: hsl(var(--background)); padding: 7rem 0; border-top: 1px solid hsl(var(--border)); }
.visit-head { margin-bottom: 4rem; }
.visit-head .h2 { max-width: 48rem; }
.visit-grid { display: grid; gap: 3rem; align-items: start; }
.visit-info { display: flex; flex-direction: column; gap: 2.5rem; }
.info-block { display: flex; align-items: flex-start; gap: 1rem; }
.icon-md.accent { color: hsl(var(--accent-foreground)); margin-top: 0.25rem; flex-shrink: 0; }
.addr-line { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.2; }
.hours-wrap { width: 100%; }
.hours-title { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 1rem; }
.hours-list { display: flex; flex-direction: column; gap: 0.5rem; }
.hours-list li { display: flex; justify-content: space-between; font-size: 0.875rem; border-bottom: 1px solid hsl(var(--border) / 0.6); padding-bottom: 0.5rem; }
.note-block { border-left: 2px solid hsl(var(--accent-foreground)); padding-left: 1.25rem; }
.note-label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.28em; color: hsl(var(--accent-foreground)); margin-bottom: 0.5rem; }
.note-quote { font-family: var(--font-heading); font-style: italic; font-size: 1.25rem; line-height: 1.35; }
.note-sub { margin-top: 0.75rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.visit-map { position: relative; aspect-ratio: 4 / 5; width: 100%; overflow: hidden; border: 1px solid hsl(var(--border)); background: hsl(var(--secondary)); }
.visit-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) sepia(0.15); }
.map-link {
  position: absolute; bottom: 1rem; left: 1rem;
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 1.25rem;
  background: hsl(var(--foreground)); color: hsl(var(--background));
  font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em;
  transition: background 0.3s ease;
}
.map-link:hover { background: hsl(var(--accent-foreground)); }

@media (min-width: 1024px) {
  .visit { padding: 10rem 0; }
  .visit-head .h2 { font-size: 4.5rem; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .visit-map { aspect-ratio: 1 / 1; }
}

/* ===================== CTA ===================== */
.cta { background: hsl(var(--accent-foreground) / 0.15); padding: 7rem 0; border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.cta .h2 { text-wrap: balance; }
.cta .lead { margin-left: auto; margin-right: auto; font-size: 1.125rem; }
.cta-actions { margin-top: 3rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem; }

@media (min-width: 640px) {
  .cta-actions { flex-direction: row; }
}
@media (min-width: 1024px) {
  .cta { padding: 10rem 0; }
  .cta .h2 { font-size: 4.5rem; }
}

/* ===================== Footer ===================== */
.site-footer { background: hsl(var(--foreground)); color: hsl(var(--background)); }
.footer-grid { display: grid; gap: 3rem; padding: 5rem 1.5rem; }
.footer-logo { font-family: var(--font-heading); font-size: 1.875rem; line-height: 1.2; }
.footer-blurb { margin-top: 1rem; font-size: 0.875rem; color: hsl(var(--background) / 0.6); max-width: 20rem; }
.footer-label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.28em; color: hsl(var(--background) / 0.5); margin-bottom: 1rem; }
.footer-text { font-size: 0.875rem; color: hsl(var(--background) / 0.8); line-height: 1.6; }
.footer-social { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.footer-social a { color: hsl(var(--background) / 0.7); transition: color 0.3s ease; }
.footer-social a:hover { color: hsl(var(--accent-foreground)); }
.footer-tel { font-size: 0.875rem; margin-left: 0.5rem; }
.footer-order { margin-top: 1.25rem; }
.footer-bottom {
  margin-top: 0; padding: 2rem 1.5rem;
  border-top: 1px solid hsl(var(--background) / 0.15);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem;
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--background) / 0.4);
}

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===================== Reveal-on-scroll ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .spin-slow, .bounce { animation: none; }
}
