/* ==================================================================
   The Raven Bistro — editorial design system
   Palette: warm ivory / charcoal / stone / olive / terracotta
   Type: Fraunces (display serif) + Manrope (sans UI/body)
   ================================================================== */

:root {
  --paper: #f6f2e9;
  --paper-2: #ede7d9;
  --ink: #211d19;
  --ink-soft: #453f38;
  --stone: #6e675c;
  --stone-light: #a9a296;
  --olive: #63623f;
  --olive-deep: #3d3d2d;
  --clay: #9c4f31;
  --clay-soft: #a6603f;
  --brown: #5b4637;
  --line: rgba(33, 29, 25, 0.14);
  --line-light: rgba(246, 242, 233, 0.18);

  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--alt {
  background: var(--paper-2);
}

.hairline {
  border: 0;
  height: 1px;
  background: var(--line);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.015em;
}

.display {
  font-size: clamp(2.6rem, 6.4vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 16ch;
}

.display--sm {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1.02;
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.12;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 1.25rem;
}

.section--dark .eyebrow {
  color: var(--stone-light);
}

.lede {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 0;
}

.section--dark .lede {
  color: #d9d3c7;
}

.measure {
  max-width: 60ch;
}

.u-muted {
  color: var(--stone);
}

.u-serif {
  font-family: var(--font-serif);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
  min-height: 46px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn--primary {
  background: var(--clay);
  color: #fff;
}

.btn--primary:hover {
  background: var(--clay-soft);
}

.btn--dark {
  background: var(--ink);
  color: var(--paper);
}

.btn--dark:hover {
  background: var(--ink-soft);
}

.btn--ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(33, 29, 25, 0.06);
}

.section--dark .btn--ghost {
  border-color: var(--line-light);
}

.section--dark .btn--ghost:hover {
  background: rgba(246, 242, 233, 0.08);
}

.btn--sm {
  padding: 0.6rem 1rem;
  min-height: 40px;
  font-size: 0.75rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.35rem;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.text-link:hover {
  gap: 0.75rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--paper);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(246, 242, 233, 0.92);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  backdrop-filter: saturate(1.1) blur(10px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand .brand-mark {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  background: var(--clay);
  border-radius: 50%;
  margin-right: 0.35em;
  vertical-align: 0.02em;
}

.nav {
  display: none;
  align-items: center;
  gap: clamp(0.5rem, 1.4vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  position: relative;
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.15rem;
  color: inherit;
}

.nav .is-active {
  color: var(--clay);
}

.nav .has-dropdown > button.is-active {
  color: var(--clay);
}

.nav .has-dropdown > button {
  background: none;
  border: 0;
  padding: 0.5rem 0.15rem;
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  min-width: 180px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(33, 29, 25, 0.12);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}

.nav li:hover .dropdown,
.nav li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.75rem;
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.dropdown a:hover {
  background: var(--paper-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-reserve {
  display: none;
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}

.drawer-close {
  position: absolute;
  top: 16px;
  right: var(--gutter);
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-light);
  color: var(--paper);
  font-size: 1rem;
  cursor: pointer;
  z-index: 1;
}

.drawer-close:hover {
  background: rgba(246, 242, 233, 0.1);
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.drawer-nav li {
  border-bottom: 1px solid var(--line-light);
}

.drawer-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.05rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  letter-spacing: -0.01em;
}

.drawer-nav a small {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-light);
}

.drawer .btn {
  width: 100%;
  margin-top: 1.75rem;
}

.drawer-meta {
  margin-top: 2.5rem;
  color: var(--stone-light);
  font-size: 0.9rem;
  line-height: 1.9;
}

.drawer-meta a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.no-scroll {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero .display {
  max-width: 15ch;
}

.hero .lede {
  color: #d9d3c7;
  margin: 1.75rem 0 2.25rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-meta {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--stone-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}

.hero-figure {
  margin: 0;
  aspect-ratio: 3 / 2;
}

/* ---------- Responsive imagery ---------- */
.img-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #e7e0d2;
}

[data-image-status="temporary"] {
  object-position: center;
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding-top: calc(var(--header-h) + clamp(2.25rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.page-hero .eyebrow {
  color: var(--stone-light);
}

.page-hero .display--sm {
  margin: 0.5rem 0 1.25rem;
}

.page-hero .lede {
  color: #d9d3c7;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.85rem;
  color: var(--stone-light);
}

/* ---------- Story / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-media {
  margin: 0;
  aspect-ratio: 4 / 3;
}

.split-media--portrait {
  aspect-ratio: 4 / 5;
}

.split-copy .h2 {
  margin: 0 0 1.5rem;
}

.split-copy p {
  color: var(--ink-soft);
  max-width: 56ch;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1;
}

.stat span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- Tagline reveal ---------- */
.tagline {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0;
}

.tagline .word {
  display: inline-block;
  color: rgba(33, 29, 25, 0.3);
  transition: color 0.6s var(--ease-spring);
  will-change: color;
}

.tagline .word.is-in {
  color: var(--ink);
}

.section--dark .tagline .word {
  color: rgba(246, 242, 233, 0.28);
}

.section--dark .tagline .word.is-in {
  color: var(--paper);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Menu ---------- */
.menu-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(246, 242, 233, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.menu-nav {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scrollbar-width: none;
}

.menu-nav::-webkit-scrollbar {
  display: none;
}

.menu-nav a {
  flex: 0 0 auto;
  padding: 0.55rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}

.menu-nav a.is-active {
  color: var(--paper);
  background: var(--ink);
}

.menu-section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  scroll-margin-top: calc(var(--header-h) + 62px);
}

.menu-section + .menu-section {
  border-top: 1px solid var(--line);
}

.menu-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.menu-section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

.menu-section-note {
  font-size: 0.85rem;
  color: var(--stone);
  max-width: 56ch;
  margin: 0 0 2rem;
}

.menu-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.menu-item {
  break-inside: avoid;
  page-break-inside: avoid;
}

.menu-item-top {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  flex: 0 1 auto;
}

.menu-dots {
  flex: 1 1 auto;
  min-width: 1.5rem;
  height: 1px;
  border-bottom: 1px dotted rgba(33, 29, 25, 0.35);
  transform: translateY(-0.22em);
}

.menu-item-price {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  white-space: nowrap;
  color: var(--ink-soft);
}

.menu-item-meta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0.15rem 0 0.45rem;
}

.menu-item-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--stone);
  max-width: 62ch;
  margin: 0;
}

.dietary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.dietary span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--olive);
  border: 1px solid rgba(99, 98, 63, 0.35);
  padding: 0.18rem 0.5rem;
}

/* ---------- Cards / feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.feature h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0 0.6rem;
}

.feature p {
  color: var(--stone);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  column-count: 2;
  column-gap: 0.85rem;
}

.gallery-figure {
  margin: 0;
  margin-bottom: 0.85rem;
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
}

.gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--paper-2);
  cursor: pointer;
  overflow: hidden;
}

.gallery-trigger .img-cover {
  transition: transform 0.35s var(--ease);
}

.gallery-trigger:hover .img-cover {
  transform: translateY(-3px);
}

.gallery-caption {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 17, 15, 0.94);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  max-width: 980px;
  width: 100%;
}

.lightbox .lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background-color: #211d19;
}

.lightbox-caption {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--stone-light);
}

.lightbox-controls {
  display: flex;
  gap: 0.5rem;
}

.lightbox button {
  background: none;
  border: 1px solid var(--line-light);
  color: var(--paper);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1.1rem;
}

.lightbox button:hover {
  background: rgba(246, 242, 233, 0.1);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border-radius: 0;
  transition: border-color 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.9rem;
  color: var(--stone);
}

.form-status.is-error {
  color: var(--clay);
}

.form-status.is-success {
  color: var(--olive);
}

.form-grid .form-status {
  grid-column: 1 / -1;
}

/* ---------- Contact info ---------- */
.info-list {
  display: grid;
  gap: 1.75rem;
}

.info-block {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.info-block h3 {
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.65rem;
}

.info-block p,
.info-block a {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.4;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 5rem) 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand .brand {
  font-size: 1.7rem;
}

.footer-about {
  color: var(--stone-light);
  max-width: 34ch;
  font-size: 0.95rem;
  margin: 1.25rem 0 0;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-light);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: var(--paper);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--clay-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  color: var(--stone-light);
  font-size: 0.8rem;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  background: rgba(246, 242, 233, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom);
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sticky-cta .view-menu {
  color: var(--ink);
}

.sticky-cta .reserve {
  background: var(--clay);
  color: #fff;
}

body.has-sticky-cta {
  padding-bottom: 58px;
}

@media (min-width: 860px) {
  .sticky-cta {
    display: none;
  }
  body.has-sticky-cta {
    padding-bottom: 0;
  }
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  .tagline .word {
    opacity: 1 !important;
    transform: none !important;
    color: inherit !important;
  }
}

/* ---------- Responsive: small ---------- */
@media (min-width: 560px) {
  .menu-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Responsive: medium ---------- */
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
  .split--reverse .split-media {
    order: 2;
  }
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-grid {
    column-count: 3;
    column-gap: 1rem;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid .field--full {
    grid-column: 1 / -1;
  }
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1080px) {
  .nav {
    display: flex;
  }
  .header-reserve {
    display: inline-flex;
  }
  .hamburger {
    display: none;
  }
}

/* ---------- Responsive: large ---------- */
@media (min-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
    gap: clamp(3rem, 6vw, 7rem);
  }
  .hero-figure {
    aspect-ratio: 3 / 2;
  }
  .gallery-grid {
    column-count: 4;
    column-gap: 1.1rem;
  }
  .menu-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Utilities ---------- */
.grid-2 {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 1.5rem; }
.align-end { align-self: end; }
.nowrap { white-space: nowrap; }
