/* La Muscade — brand carried from the printed menu:
   sand & cream grounds, hairline serif display, geometric sans body. */

:root {
  --sand: #e2c9a8;
  --sand-deep: #d5b68e;
  --cream: #f4ebdd;
  --paper: #fbf7f0;
  --roast: #3e332b;
  --ink: #33291f;
  --gold: #b98f5f;
  --display: 'Italiana', 'Didot', serif;
  --body: 'Jost', 'Century Gothic', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  color: var(--cream);
  transition: background .4s ease, color .4s ease, box-shadow .4s ease;
}

.nav.scrolled {
  background: rgba(251, 247, 240, .92);
  color: var(--ink);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(62, 51, 43, .12);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-leaf { width: 26px; height: 26px; }

.nav-links {
  display: flex;
  gap: clamp(.9rem, 2.5vw, 2rem);
}

.nav-links a {
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}

.nav-links a:hover { border-bottom-color: currentColor; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(62, 51, 43, .55), rgba(62, 51, 43, .72));
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--cream);
  padding: 0 1.5rem;
  animation: rise 1.4s ease backwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.hero-leaf {
  width: clamp(52px, 7vw, 76px);
  height: auto;
  margin: 0 auto 1.2rem;
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 6.5rem);
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.05;
}

.hero-since {
  font-size: .8rem;
  letter-spacing: .55em;
  text-transform: uppercase;
  margin-top: .8rem;
  padding-left: .55em; /* optically recentre the tracked text */
}

.hero-tagline {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: .06em;
  margin-top: 2.4rem;
  opacity: .9;
}

.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 56px;
  background: rgba(244, 235, 221, .7);
  animation: drip 2.4s ease-in-out infinite;
  transform-origin: top;
}

@keyframes drip {
  0%   { transform: scaleY(0); }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Intro ---------- */

.intro {
  background: var(--paper);
  padding: clamp(4rem, 9vw, 7rem) 1.5rem;
}

.intro p {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.9;
}

/* ---------- Menu sections ---------- */

.menu-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}

.ground-sand { background: var(--sand); }
.ground-cream { background: var(--cream); }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  color: var(--ink);
}

.ground-sand .display { color: #7d5f3f; }

/* Italiana has no em-dash glyph; set it in the body face */
.display-dash {
  font-family: var(--body);
  font-weight: 300;
  font-size: .55em;
  vertical-align: .18em;
}

section[id], .split-head { scroll-margin-top: 4.5rem; }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.split-head { margin-top: clamp(4rem, 8vw, 7rem); }

/* Dish cards */

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1.8rem, 3.5vw, 3rem) clamp(2rem, 4vw, 4rem);
  max-width: 68rem;
}

.dish h3 {
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: .04em;
  margin-bottom: .3rem;
}

.dish p {
  font-size: .92rem;
  line-height: 1.65;
  opacity: .8;
}

.dish-stack {
  display: grid;
  gap: 1.6rem;
  margin-top: 2.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(185, 143, 95, .45);
}

/* Simple lists */

.plain-list,
.column-list {
  list-style: none;
}

.plain-list li,
.column-list li {
  font-size: 1rem;
  letter-spacing: .03em;
  padding: .45rem 0;
}

.column-list {
  columns: 3;
  column-gap: clamp(2rem, 5vw, 5rem);
  max-width: 56rem;
}

.column-list.cols-2 { columns: 2; max-width: 46rem; }

/* Side layout — vertical section word, as on the printed menu */

.side-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.vertical-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(4rem, 9vw, 8rem);
  color: var(--sand-deep);
  align-self: start;
  position: sticky;
  top: 5.5rem;
  line-height: .9;
  user-select: none;
}

.side-layout .sr-title {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.side-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.side-photo img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
}

.dessert-list { columns: 2; column-gap: 3rem; }

/* ---------- Full-bleed photo bands ---------- */

.band {
  overflow: hidden;
  max-height: 60vh;
}

.band img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
}

/* ---------- Outro & footer ---------- */

.outro {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.outro-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outro-veil {
  position: absolute;
  inset: 0;
  background: rgba(62, 51, 43, .78);
}

.outro-content {
  position: relative;
  text-align: center;
  color: var(--cream);
  padding: 4rem 1.5rem;
}

.outro-line {
  font-family: var(--display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.25;
  letter-spacing: .04em;
}

.outro-leaf {
  width: 44px;
  height: auto;
  margin: 2.2rem auto 0;
}

.footer {
  background: var(--roast);
  color: var(--cream);
  text-align: center;
  padding: 3.5rem 1.5rem 3rem;
}

.footer-leaf { width: 34px; height: auto; margin: 0 auto .9rem; }

.footer-name {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-since {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-top: .5rem;
  opacity: .75;
}

.footer-legal {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(244, 235, 221, .18);
  font-size: .78rem;
  letter-spacing: .06em;
  opacity: .65;
}

.footer-legal p + p { margin-top: .35rem; }

.footer-legal a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 235, 221, .5);
  transition: border-color .3s ease;
}

.footer-legal a:hover { border-bottom-color: var(--cream); }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.shown {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span { animation: none; }
  .hero-content { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .side-columns { grid-template-columns: 1fr; }
  .side-photo { order: -1; }
  .side-photo img { max-height: 420px; }
  .column-list { columns: 2; }
}

@media (max-width: 640px) {
  .nav { padding: .9rem 1.1rem; }
  .nav-brand { font-size: 1rem; white-space: nowrap; gap: .4rem; }
  .nav-leaf { width: 20px; height: 20px; }
  .nav-links a { font-size: .68rem; letter-spacing: .14em; }
  .nav-links { flex-wrap: wrap; justify-content: flex-end; }
  .side-layout { grid-template-columns: 1fr; }
  .vertical-title {
    writing-mode: horizontal-tb;
    transform: none;
    position: static;
    margin-bottom: 1rem;
  }
  .column-list, .column-list.cols-2, .dessert-list { columns: 1; }
  .band img, .band { height: 42vh; max-height: 42vh; }
}
