/* ---------- Tokens ---------- */
:root {
  --maroon: #691815;
  --maroon-dark: #4a1110;
  --maroon-soft: #b6675e;
  --blush: #f2e6d8;
  --blush-soft: #f8efe5;
  --cream: #fffbf6;
  --ink: #2b1712;
  --ink-soft: #6b5347;
  --line: rgba(105, 24, 21, 0.16);

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Jost', sans-serif;

  --wrap: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--blush-soft);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Faint woven-linen grain, echoing the logo's fabric backdrop */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--maroon-dark);
  margin: 0;
}

p { line-height: 1.7; color: var(--ink-soft); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--maroon);
  color: var(--cream);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-weight: 500;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--maroon);
  color: var(--cream);
  box-shadow: 0 8px 20px -8px rgba(125, 21, 29, 0.55);
}
.btn-primary:hover { background: var(--maroon-dark); transform: translateY(-2px); }
.btn-ghost {
  border-color: var(--maroon);
  color: var(--maroon-dark);
  background: transparent;
}
.btn-ghost:hover { background: var(--maroon); color: var(--cream); transform: translateY(-2px); }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-img--large { height: 64px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  background: rgba(248, 239, 229, 0.85);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 2px 24px -8px rgba(125, 21, 29, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.main-nav {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
}
.main-nav a {
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 16px; }

/* ---------- Splash ---------- */
.splash {
  height: 100vh;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--blush-soft);
  position: relative;
  overflow: hidden;
}

/* Shader canvas (mounted by js/splash-shader.js) fills the splash behind the logo */
.splash-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--blush-soft);
}
.splash::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 44%, var(--blush-soft) 0%, transparent 42%);
  pointer-events: none;
}

.splash-logo {
  position: relative;
  z-index: 2;
  width: min(46vw, 380px);
  height: auto;
}
.splash-rule {
  position: relative;
  z-index: 2;
  width: 0;
  height: 1px;
  background: var(--maroon);
  margin-top: 22px;
}
.splash-scroll {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--maroon);
  animation: splash-bounce 2.2s ease-in-out infinite;
}
.splash-scroll span {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 500;
}
.splash-arrow { width: 14px; height: auto; }
@keyframes splash-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Mobile-only intro: logo resolves into focus, a rule draws out, then the
   scroll hint appears — the page auto-advances to the hero right after. */
@media (max-width: 760px) {
  .splash-logo {
    opacity: 0;
    transform: scale(0.86);
    filter: blur(18px);
    animation: splash-logo-in 1.3s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  }
  .splash-rule {
    animation: splash-rule-in 0.6s ease-out 0.95s forwards;
  }
  .splash-scroll {
    opacity: 0;
    animation:
      splash-hint-in 0.6s ease-out 1.55s forwards,
      splash-bounce 2.2s ease-in-out 2.15s infinite;
  }
}
@keyframes splash-logo-in {
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}
@keyframes splash-rule-in {
  to { width: 64px; }
}
@keyframes splash-hint-in {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .splash-scroll { animation: none; }
  .splash-logo { opacity: 1; transform: none; filter: none; animation: none; }
  .splash-rule { animation: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 190px 0 140px;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.6;
  z-index: 0;
}
.hero-blob--one {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 30% 30%, var(--blush), transparent 70%);
  top: -180px; right: -160px;
}
.hero-blob--two {
  width: 320px; height: 320px;
  background: radial-gradient(circle at 60% 40%, rgba(125,21,29,0.12), transparent 70%);
  bottom: -140px; left: -100px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--maroon);
  font-weight: 500;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Section shared ---------- */
section { padding: 110px 0; }
.section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--maroon);
  font-weight: 500;
  margin: 0 0 14px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-sub { max-width: 520px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { max-width: 460px; margin: 0 0 18px; }
.about-visual {
  position: relative;
  height: 360px;
}
.about-swatch {
  position: absolute;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
}
.about-swatch--a {
  width: 300px; height: 300px;
  background: var(--blush);
  top: 0; right: 20px;
}
.about-swatch--b {
  width: 190px; height: 190px;
  background: var(--maroon);
  opacity: 0.9;
  bottom: 0; left: 0;
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
}
.about-heart {
  position: absolute;
  width: 46px;
  top: 44%;
  left: 46%;
  fill: var(--cream);
  transform: translate(-50%, -50%) rotate(-8deg);
}

/* ---------- Services ---------- */
.services { background: var(--blush-soft); }

.menu {
  margin-top: 56px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.menu-category {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 38px;
}
.menu-category-title {
  font-size: 1.3rem;
  margin: 0 0 6px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.menu-category-note {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  font-weight: 500;
}
.menu-list { margin-top: 18px; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-left { min-width: 0; }
.menu-item-name {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}
.menu-item-desc {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.menu-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.menu-item-price {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--maroon);
  font-size: 0.95rem;
  white-space: nowrap;
}
.menu-item-time {
  font-size: 0.78rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.menu-category-footnote {
  margin: 18px 0 0;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-soft);
}

.services-note { margin-top: 44px; font-size: 0.95rem; }
.services-note a { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); }
.gallery-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-tile {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blush), var(--blush-soft));
  position: relative;
  overflow: hidden;
}
.gallery-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath fill='%237d151d' fill-opacity='0.18' d='M16 27 C 6 20, 1 14, 1 8.5 C 1 3.8, 4.6 1, 8.6 1 C 11.7 1, 14.3 2.9, 16 5.8 C 17.7 2.9, 20.3 1, 23.4 1 C 27.4 1, 31 3.8, 31 8.5 C 31 14, 26 20, 16 27 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px;
}
.gt-a { background: linear-gradient(135deg, #f3d3ce, var(--blush-soft)); }
.gt-b { background: linear-gradient(135deg, var(--maroon), #a5333f); }
.gt-b::after { filter: invert(1) brightness(2); opacity: 0.9; }
.gt-c { background: linear-gradient(135deg, var(--blush-soft), #f3d3ce); }
.gt-d { background: linear-gradient(135deg, #f3d3ce, var(--blush)); }
.gt-e { background: linear-gradient(135deg, var(--blush), #f7eceb); }
.gt-f { background: linear-gradient(135deg, var(--maroon-dark), var(--maroon)); }
.gt-f::after { filter: invert(1) brightness(2); opacity: 0.9; }

/* ---------- Contact ---------- */
.contact { background: var(--blush-soft); }
.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.contact-copy h2 { margin: 8px 0 20px; font-size: clamp(2rem, 4vw, 2.6rem); }
.contact-copy > p { max-width: 460px; margin-bottom: 30px; }
.contact-details {
  display: grid;
  gap: 18px;
  margin: 0 0 34px;
}
.contact-details dt {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--maroon);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-details dd { margin: 0; color: var(--ink); }
.contact-details a { text-decoration: underline; text-underline-offset: 3px; }

.contact-visual { display: flex; justify-content: center; }
.contact-card {
  background: var(--cream);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
  box-shadow: 0 30px 60px -30px rgba(125, 21, 29, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.contact-card .logo-img { margin-bottom: 4px; }
.contact-card p {
  margin-top: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--maroon-dark);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-copy {
  color: rgba(248, 239, 229, 0.75);
  font-size: 0.85rem;
  margin: 0;
}
.footer-social {
  color: var(--blush);
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-visual { order: -1; height: 260px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .header-actions { display: none; }
  .hero { padding: 150px 0 100px; }
  .menu-category { padding: 28px 22px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .menu-category { transition: none; }
}
