/* ==========================================================================
   FLOCA FENY — Design System
   Tropical Kitchen · Specialty Coffee · Cocktail Bar
   Table of contents:
   1. Reset            6. Header             11. Forms
   2. Root variables    7. Hero               12. Footer
   3. Base typography    8. Editorial sections  13. Animations
   4. Layout utilities   9. Menu components     14. Responsive breakpoints
   5. Components         10. Gallery             15. Reduced motion
   ========================================================================== */

/* ==========================================================================
   1. RESET
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img { height: auto; }

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

button { cursor: pointer; background: none; border: none; }

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

ul, ol { list-style: none; }

table { border-collapse: collapse; }

/* ==========================================================================
   2. ROOT VARIABLES
   ========================================================================== */
:root {
  /* Color palette */
  --c-obsidian: #11100E;
  --c-ivory: #F4EFE7;
  --c-sandstone: #D8C5AE;
  --c-olive: #4C5140;
  --c-terracotta: #A7583D;
  --c-gold: #B8955A;
  --c-soft-white: #FBF9F5;
  --c-charcoal: #27241F;

  /* Semantic tokens */
  --color-bg: var(--c-soft-white);
  --color-bg-alt: var(--c-ivory);
  --color-bg-dark: var(--c-obsidian);
  --color-bg-dark-alt: var(--c-charcoal);
  --color-text: var(--c-charcoal);
  --color-text-muted: #6B655A;
  --color-text-inverse: var(--c-ivory);
  --color-text-inverse-muted: #C9C2B4;
  --color-accent: var(--c-terracotta);
  --color-accent-gold: var(--c-gold);
  --color-line: rgba(39, 36, 31, 0.12);
  --color-line-inverse: rgba(244, 239, 231, 0.16);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-display-xl: clamp(2.75rem, 1.8rem + 4.2vw, 6.25rem);
  --fs-display-lg: clamp(2.25rem, 1.6rem + 3vw, 4.5rem);
  --fs-display-md: clamp(1.9rem, 1.5rem + 1.8vw, 3.15rem);
  --fs-display-sm: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --fs-lg: clamp(1.125rem, 1.05rem + 0.3vw, 1.3rem);
  --fs-md: 1.0625rem;
  --fs-base: 1rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.8rem;
  --fs-eyebrow: 0.8rem;

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 2rem;
  --space-lg: clamp(3rem, 2.2rem + 3.5vw, 6rem);
  --space-xl: clamp(4rem, 3rem + 4.5vw, 8.5rem);
  --space-2xl: clamp(5rem, 3.5rem + 6vw, 11rem);

  /* Layout */
  --container-max: 1320px;
  --container-narrow: 860px;
  --container-pad: clamp(1.25rem, 4vw, 3.5rem);
  --header-height: 96px;
  --header-height-scrolled: 76px;
  --announcement-height: 42px;

  /* Radius — restrained, editorial, not "rounded card" */
  --radius-sm: 2px;
  --radius-md: 3px;

  /* Shadow — soft, natural, never heavy */
  --shadow-sm: 0 1px 2px rgba(17, 16, 14, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(17, 16, 14, 0.22);
  --shadow-lg: 0 24px 64px -20px rgba(17, 16, 14, 0.32);

  /* Motion */
  --ease-editorial: cubic-bezier(0.25, 0.1, 0.15, 1);
  --dur-fast: 200ms;
  --dur-base: 400ms;
  --dur-slow: 650ms;

  /* Z-index scale */
  --z-base: 1;
  --z-reveal: 5;
  --z-back-to-top: 40;
  --z-header: 100;
  --z-mobile-nav: 200;
  --z-lightbox: 300;
  --z-skip-link: 999;
}

/* ==========================================================================
   3. BASE TYPOGRAPHY
   ========================================================================== */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.002em;
  color: currentColor;
}

h1 { font-size: var(--fs-display-xl); }
h2 { font-size: var(--fs-display-md); }
h3 { font-size: var(--fs-display-sm); }
h4 { font-size: var(--fs-xl); font-family: var(--font-body); font-weight: 600; }

p { max-width: 62ch; }
p.no-measure { max-width: none; }

.lede {
  font-size: var(--fs-lg);
  line-height: 1.65;
  color: var(--color-text-muted);
}

strong { font-weight: 600; }
em { font-style: italic; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--inverse { color: var(--c-gold); }

a.text-link {
  position: relative;
  font-weight: 600;
  color: var(--color-accent);
}

a.text-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-editorial);
}

a.text-link:hover::after { transform: scaleX(0); }

.serif-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

::selection { background: var(--c-terracotta); color: var(--c-soft-white); }

/* ==========================================================================
   4. LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--space-xl); position: relative; }
.section--tight { padding-block: var(--space-lg); }
.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
}
.section--charcoal {
  background: var(--color-bg-dark-alt);
  color: var(--color-text-inverse);
}
.section--alt { background: var(--color-bg-alt); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.section-head h2 { margin-top: var(--space-2xs); }

.grid { display: grid; gap: var(--space-md); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: var(--space-sm);
  z-index: var(--z-skip-link);
  background: var(--c-obsidian);
  color: var(--c-ivory);
  padding: 0.9em 1.4em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-fast) ease;
}

.skip-link:focus { top: var(--space-sm); }

.aspect {
  position: relative;
  overflow: hidden;
  background: var(--c-sandstone);
}

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

.aspect--photo { aspect-ratio: 4 / 5; }
.aspect--wide { aspect-ratio: 16 / 10; }
.aspect--square { aspect-ratio: 1 / 1; }
.aspect--panorama { aspect-ratio: 21 / 9; }

.divider {
  border: none;
  border-top: 1px solid var(--color-line);
  margin-block: var(--space-lg);
}

.divider--inverse { border-color: var(--color-line-inverse); }

/* Focus visibility across the site */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--c-terracotta);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   5. COMPONENTS — buttons, tags, cards
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.9em 1.9em;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-base) var(--ease-editorial),
              color var(--dur-base) var(--ease-editorial),
              border-color var(--dur-base) var(--ease-editorial),
              transform var(--dur-fast) ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--c-terracotta);
  color: var(--c-soft-white);
  border-color: var(--c-terracotta);
}
.btn-primary:hover { background: #8c452f; border-color: #8c452f; }

.btn-dark {
  background: var(--c-obsidian);
  color: var(--c-ivory);
  border-color: var(--c-obsidian);
}
.btn-dark:hover { background: var(--c-charcoal); }

.btn-outline {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn-outline:hover { background: currentColor; color: var(--c-obsidian); }

.btn-outline.on-dark:hover { color: var(--c-obsidian); }

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  padding-inline: 0.2em;
  min-height: auto;
}
.btn-ghost svg { transition: transform var(--dur-base) var(--ease-editorial); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-whatsapp {
  background: var(--c-olive);
  color: var(--c-soft-white);
  border-color: var(--c-olive);
}
.btn-whatsapp:hover { background: #3a3e32; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.dietary-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--c-olive);
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
}

.back-to-top {
  position: fixed;
  right: var(--space-sm);
  bottom: var(--space-sm);
  z-index: var(--z-back-to-top);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-obsidian);
  color: var(--c-ivory);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--dur-base) ease, transform var(--dur-base) ease, visibility var(--dur-base);
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--c-terracotta); }

/* ==========================================================================
   6. HEADER
   ========================================================================== */
.announcement-bar {
  background: var(--c-obsidian);
  color: var(--c-ivory);
  font-size: var(--fs-xs);
  letter-spacing: 0.03em;
}

.announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: var(--announcement-height);
  text-align: center;
  flex-wrap: wrap;
}

.announcement-bar a { font-weight: 700; color: var(--c-gold); }
.announcement-bar a:hover { text-decoration: underline; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--dur-base) var(--ease-editorial),
              height var(--dur-base) var(--ease-editorial),
              box-shadow var(--dur-base) var(--ease-editorial),
              border-color var(--dur-base) var(--ease-editorial);
  border-bottom: 1px solid transparent;
}

.site-header[data-transparent="true"] {
  background: linear-gradient(to bottom, rgba(17,16,14,0.55), rgba(17,16,14,0));
  color: var(--c-ivory);
}

.site-header[data-transparent="false"] {
  background: var(--c-soft-white);
  color: var(--color-text);
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow-sm);
  border-color: var(--color-line);
}

.site-header.is-hidden-top { top: 0; }

body:not(.has-transparent-hero) .site-header {
  background: var(--c-soft-white);
  color: var(--color-text);
  height: var(--header-height-scrolled);
  border-color: var(--color-line);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-display);
  line-height: 1;
}

.logo .logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo .logo-mark circle,
.logo .logo-mark path { stroke: currentColor; }

.logo-text { display: flex; flex-direction: column; }
.logo-word {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

.main-nav { display: flex; }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-block: 0.4em;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-base) var(--ease-editorial);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-link[aria-current="page"] { font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: var(--space-sm); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: var(--z-mobile-nav);
}

.menu-toggle-bars {
  position: relative;
  width: 22px;
  height: 14px;
}

.menu-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-base) var(--ease-editorial), opacity var(--dur-fast) ease, top var(--dur-base) var(--ease-editorial);
}

.menu-toggle-bars span:nth-child(1) { top: 0; }
.menu-toggle-bars span:nth-child(2) { top: 6px; }
.menu-toggle-bars span:nth-child(3) { top: 12px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-mobile-nav) - 1);
  background: var(--c-obsidian);
  color: var(--c-ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md) var(--space-md);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-editorial);
}

.mobile-nav.is-open { transform: translateY(0); }

.mobile-nav-list { display: flex; flex-direction: column; gap: var(--space-sm); }

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.3rem + 3vw, 2.8rem);
  font-weight: 500;
}

.mobile-nav-link[aria-current="page"] { color: var(--c-gold); }

.mobile-nav-foot {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-line-inverse);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-inverse-muted);
}

@media (min-width: 1000px) {
  .mobile-nav, .menu-toggle-wrap { display: none; }
}
@media (max-width: 999px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--c-ivory);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(17,16,14,0.85) 0%, rgba(17,16,14,0.25) 55%, rgba(17,16,14,0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: calc(var(--header-height) + var(--space-lg)) var(--space-2xl);
}

.hero-eyebrow {
  color: var(--c-gold);
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-size: var(--fs-display-xl);
  max-width: 16ch;
  text-wrap: balance;
}

.hero-subtitle {
  margin-top: var(--space-sm);
  max-width: 46ch;
  font-size: var(--fs-lg);
  color: var(--color-text-inverse-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.scroll-indicator {
  position: absolute;
  right: var(--space-sm);
  bottom: var(--space-md);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-inverse-muted);
}

.scroll-indicator .line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, currentColor, transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

/* Page hero (interior pages) — shorter, editorial */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: var(--c-ivory);
  overflow: hidden;
}

.page-hero .hero-content { padding-block: calc(var(--header-height) + var(--space-md)) var(--space-lg); }
.page-hero .hero-title { font-size: var(--fs-display-lg); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-inverse-muted);
  margin-bottom: var(--space-sm);
}

.breadcrumb a:hover { color: var(--c-ivory); }
.breadcrumb .sep { opacity: 0.5; }

.breadcrumb--light { color: var(--color-text-muted); margin-bottom: var(--space-md); }
.breadcrumb--light a:hover { color: var(--color-text); }

/* ==========================================================================
   8. EDITORIAL SECTIONS
   ========================================================================== */

/* Introduction / philosophy asymmetric grid */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-md);
  align-items: center;
}

.intro-media { position: relative; }

.intro-media--stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.intro-media--large { grid-column: 1; }
.intro-media--small {
  width: 62%;
  margin-left: auto;
  margin-top: calc(var(--space-lg) * -1);
  position: relative;
  z-index: 1;
  border: 8px solid var(--color-bg);
}

.intro-copy .eyebrow { margin-bottom: var(--space-sm); }
.intro-copy h2 { margin-bottom: var(--space-md); text-wrap: balance; }
.intro-copy p + p { margin-top: var(--space-sm); }

/* Signature experiences */
.experiences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.experience-card { display: flex; flex-direction: column; }
.experience-card .aspect { margin-bottom: var(--space-sm); }
.experience-number {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-accent);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2xs);
}
.experience-card h3 { margin-bottom: var(--space-2xs); }
.experience-card p { color: var(--color-text-muted); }

/* Craft / chef dark section */
.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.craft-composition {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.craft-composition .aspect:nth-child(2) { margin-top: var(--space-lg); }

.craft-copy h2 { margin-bottom: var(--space-md); }
.craft-copy p { color: var(--color-text-inverse-muted); }
.craft-copy p + p { margin-top: var(--space-sm); }

.stat-row {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-line-inverse);
}

.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-display-sm);
  color: var(--c-gold);
  display: block;
}
.stat-item .stat-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-inverse-muted);
}

/* Private events */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.event-type {
  padding: var(--space-md) var(--space-sm);
  border: 1px solid var(--color-line);
  transition: border-color var(--dur-base) ease, background-color var(--dur-base) ease;
}
.event-type:hover { border-color: var(--c-terracotta); background: var(--color-bg-alt); }
.event-type h4 { margin-bottom: var(--space-3xs); }
.event-type p { font-size: var(--fs-sm); color: var(--color-text-muted); }

/* Testimonials */
.testimonials-wrap { position: relative; }
.testimonial-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: var(--space-2xs);
}
.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 min(560px, 85vw);
  scroll-snap-align: start;
  padding: var(--space-md);
  border: 1px solid var(--color-line);
  background: var(--color-bg);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.testimonial-meta { font-size: var(--fs-sm); color: var(--color-text-muted); }
.testimonial-meta strong { color: var(--color-text); display: block; }

.testimonial-controls { display: flex; gap: var(--space-2xs); margin-top: var(--space-md); }
.testimonial-controls button {
  width: 40px; height: 40px;
  border: 1px solid var(--color-line);
  display: flex; align-items: center; justify-content: center;
  transition: background-color var(--dur-fast) ease;
}
.testimonial-controls button:hover { background: var(--color-bg-alt); }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.location-list { display: grid; gap: var(--space-md); margin-top: var(--space-md); }
.location-list dt {
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.3em;
}
.location-list dd { font-size: var(--fs-md); }
.location-list dd a:hover { color: var(--color-accent); }

.map-placeholder {
  position: relative;
  aspect-ratio: 4/3.4;
  background: repeating-linear-gradient(135deg, var(--c-sandstone), var(--c-sandstone) 2px, var(--c-ivory) 2px, var(--c-ivory) 26px);
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.map-placeholder-inner {
  background: var(--color-bg);
  padding: var(--space-md);
  border: 1px solid var(--color-line);
  max-width: 320px;
}

/* Reservation CTA band */
.cta-band {
  position: relative;
  color: var(--c-ivory);
  text-align: center;
  padding-block: var(--space-2xl);
  overflow: hidden;
}

.cta-band-media { position: absolute; inset: 0; z-index: 0; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-media::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(17,16,14,0.72);
}

.cta-band-content { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.cta-band h2 { margin-bottom: var(--space-sm); }
.cta-band-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-md); }
.cta-band-hours { margin-top: var(--space-md); font-size: var(--fs-sm); color: var(--color-text-inverse-muted); }

/* Journal preview */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.journal-card { display: flex; flex-direction: column; }
.journal-card .aspect { margin-bottom: var(--space-sm); }
.journal-meta { display: flex; gap: var(--space-sm); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-bottom: var(--space-2xs); }
.journal-card h3 { font-size: var(--fs-xl); margin-bottom: var(--space-2xs); }
.journal-card p { color: var(--color-text-muted); font-size: var(--fs-sm); }

/* Newsletter */
.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
}
.newsletter-form { display: flex; gap: var(--space-2xs); max-width: 420px; }
.newsletter-form input { flex: 1; }
.newsletter-note { font-size: var(--fs-xs); color: var(--color-text-muted); margin-top: var(--space-2xs); }

/* Philosophy timeline (About) */
.timeline { position: relative; margin-top: var(--space-lg); }
.timeline::before {
  content: '';
  position: absolute;
  left: 90px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--color-line);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-md);
  padding-block: var(--space-md);
}
.timeline-year { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--color-accent); }
.timeline-item::after {
  content: '';
  position: absolute;
  left: 86px; top: calc(var(--space-md) + 0.4em);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-terracotta);
}
.timeline-body h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2xs); }
.timeline-body p { color: var(--color-text-muted); }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.value-card { padding: var(--space-md); border-top: 2px solid var(--c-terracotta); }
.value-card h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2xs); }
.value-card p { color: var(--color-text-muted); font-size: var(--fs-sm); }

/* FAQ Accordion */
.accordion { border-top: 1px solid var(--color-line); }
.accordion-item { border-bottom: 1px solid var(--color-line); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-sm);
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
}
.accordion-trigger .icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.accordion-trigger .icon::before,
.accordion-trigger .icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.accordion-trigger .icon::before { width: 14px; height: 1.5px; }
.accordion-trigger .icon::after { width: 1.5px; height: 14px; transition: transform var(--dur-fast) ease; }
.accordion-trigger[aria-expanded="true"] .icon::after { transform: translate(-50%, -50%) scaleY(0); }

.accordion-panel {
  overflow: hidden;
  height: 0;
  transition: height var(--dur-base) var(--ease-editorial);
}
.accordion-panel-inner { padding-bottom: var(--space-sm); color: var(--color-text-muted); max-width: 68ch; }

/* Pull quote (article) */
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-display-sm);
  line-height: 1.4;
  color: var(--color-accent);
  border-left: 2px solid var(--c-terracotta);
  padding-left: var(--space-md);
  margin-block: var(--space-lg);
  max-width: 46ch;
}

/* Table of contents */
.toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  padding: var(--space-md);
}
.toc-title { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.toc ol { display: grid; gap: var(--space-2xs); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 0.6em; font-size: var(--fs-sm); font-weight: 600; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--color-accent); font-family: var(--font-display); }

/* ==========================================================================
   9. MENU COMPONENTS
   ========================================================================== */
.menu-tabs {
  position: sticky;
  top: var(--header-height-scrolled);
  z-index: 20;
  display: flex;
  gap: var(--space-2xs);
  overflow-x: auto;
  background: var(--color-bg);
  padding-block: var(--space-sm);
  border-bottom: 1px solid var(--color-line);
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  flex-shrink: 0;
  padding: 0.7em 1.2em;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.menu-tab:hover { border-color: var(--c-terracotta); }
.menu-tab[aria-selected="true"] {
  background: var(--c-obsidian);
  color: var(--c-ivory);
  border-color: var(--c-obsidian);
}

.menu-category { padding-block: var(--space-lg); scroll-margin-top: calc(var(--header-height-scrolled) + 70px); }
.menu-category-head { margin-bottom: var(--space-md); }
.menu-category-head .eyebrow { margin-bottom: var(--space-2xs); }

.menu-list { display: grid; gap: var(--space-md); }

@media (min-width: 760px) {
  .menu-list { grid-template-columns: repeat(2, 1fr); column-gap: var(--space-lg); }
}

.menu-item { padding-block: var(--space-sm); border-bottom: 1px dashed var(--color-line); }
.menu-item-header { display: flex; align-items: baseline; gap: var(--space-2xs); }
.menu-item-name { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 600; }
.menu-item-rule { flex: 1; border-bottom: 1px dotted var(--color-line); transform: translateY(-4px); }
.menu-item-price { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--color-accent); white-space: nowrap; }
.menu-item-desc { color: var(--color-text-muted); font-size: var(--fs-sm); margin-top: 0.35em; }
.menu-item-tags { display: flex; gap: 0.35em; margin-top: 0.5em; }

.menu-legend { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-block: var(--space-md); font-size: var(--fs-sm); color: var(--color-text-muted); }
.menu-legend li { display: flex; align-items: center; gap: 0.5em; }

.menu-disclaimer {
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-alt);
  border-left: 2px solid var(--c-gold);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

/* ==========================================================================
   10. GALLERY
   ========================================================================== */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-bottom: var(--space-lg);
}

.gallery-filter {
  padding: 0.6em 1.1em;
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.gallery-filter[aria-pressed="true"] { background: var(--c-obsidian); color: var(--c-ivory); border-color: var(--c-obsidian); }

.gallery-masonry {
  columns: 3 260px;
  column-gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: var(--space-sm);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img { transition: transform var(--dur-slow) var(--ease-editorial); width: 100%; }
.gallery-item:hover img { transform: scale(1.045); }

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-sm);
  background: linear-gradient(to top, rgba(17,16,14,0.82), transparent);
  color: var(--c-ivory);
  font-size: var(--fs-sm);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-base) ease, transform var(--dur-base) ease;
}
.gallery-item:hover figcaption,
.gallery-item:focus-within figcaption { opacity: 1; transform: translateY(0); }

.gallery-item.is-hidden { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: rgba(17, 16, 14, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) ease, visibility var(--dur-base);
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox-figure { max-width: min(1100px, 92vw); max-height: 86vh; text-align: center; }
.lightbox-figure img { max-height: 78vh; width: auto; margin-inline: auto; }
.lightbox-caption { color: var(--color-text-inverse-muted); margin-top: var(--space-sm); font-size: var(--fs-sm); }

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-ivory);
  border: 1px solid var(--color-line-inverse);
  border-radius: 50%;
  transition: background-color var(--dur-fast) ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(244,239,231,0.12); }
.lightbox-close { top: var(--space-md); right: var(--space-md); }
.lightbox-prev { left: var(--space-md); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--space-md); top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
}

/* ==========================================================================
   11. FORMS
   ========================================================================== */
.form-grid { display: grid; gap: var(--space-md); }
.form-row { display: grid; gap: var(--space-md); grid-template-columns: 1fr 1fr; }

.form-group { display: flex; flex-direction: column; gap: 0.5em; }
.form-label { font-size: var(--fs-sm); font-weight: 600; }
.form-label .req { color: var(--c-terracotta); }

.form-input,
.form-textarea,
.form-select {
  min-height: 48px;
  padding: 0.8em 1em;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  transition: border-color var(--dur-fast) ease;
}
.form-textarea { min-height: 140px; resize: vertical; }

.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--c-terracotta); }

.form-input[aria-invalid="true"], .form-textarea[aria-invalid="true"] { border-color: #A33; }

.form-error {
  display: none;
  font-size: var(--fs-xs);
  color: #A33;
}
.form-error.is-visible { display: block; }

.form-checkbox-row { display: flex; align-items: flex-start; gap: 0.7em; }
.form-checkbox-row input { margin-top: 0.3em; width: 18px; height: 18px; accent-color: var(--c-terracotta); flex-shrink: 0; }
.form-checkbox-row label { font-size: var(--fs-sm); color: var(--color-text-muted); }

.form-hint { font-size: var(--fs-xs); color: var(--color-text-muted); }

.form-status {
  display: none;
  padding: var(--space-sm) var(--space-md);
  border-left: 2px solid var(--c-olive);
  background: var(--color-bg-alt);
  font-size: var(--fs-sm);
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: #A33; }

.honeypot-field { position: absolute; left: -9999px; opacity: 0; }

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--c-obsidian);
  color: var(--color-text-inverse-muted);
  padding-block: var(--space-xl) var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-line-inverse);
}

.footer-brand .logo { color: var(--c-ivory); margin-bottom: var(--space-sm); }
.footer-brand p { color: var(--color-text-inverse-muted); font-size: var(--fs-sm); }

.footer-col h5 {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ivory);
  margin-bottom: var(--space-sm);
}
.footer-col ul { display: grid; gap: 0.7em; font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--c-ivory); }

.social-links { display: flex; gap: var(--space-2xs); margin-top: var(--space-sm); }
.social-links a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-line-inverse);
  border-radius: 50%;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.social-links a:hover { background: rgba(244,239,231,0.1); border-color: var(--c-ivory); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  font-size: var(--fs-xs);
}
.footer-legal { display: flex; gap: var(--space-sm); flex-wrap: wrap; }
.footer-legal a:hover { color: var(--c-ivory); }

/* ==========================================================================
   13. ANIMATIONS
   ========================================================================== */
@keyframes scroll-pulse {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-editorial), transform var(--dur-slow) var(--ease-editorial);
  will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-mask { overflow: hidden; }
.reveal-mask > * {
  transform: translateY(105%);
  transition: transform var(--dur-slow) var(--ease-editorial);
}
.reveal-mask.is-visible > * { transform: translateY(0); }

[data-reveal-group] .reveal:nth-child(1) { transition-delay: 0ms; }
[data-reveal-group] .reveal:nth-child(2) { transition-delay: 90ms; }
[data-reveal-group] .reveal:nth-child(3) { transition-delay: 180ms; }
[data-reveal-group] .reveal:nth-child(4) { transition-delay: 270ms; }

.parallax-el { will-change: transform; }

.magnetic-btn { transition: transform var(--dur-fast) ease; }

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-col--visit { grid-column: span 1; }
}

@media (max-width: 999px) {
  .intro-grid,
  .craft-grid,
  .location-grid { grid-template-columns: 1fr; }
  .craft-grid { gap: var(--space-lg); }
  .experiences-grid { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .gallery-masonry { columns: 2 220px; }
  .newsletter { grid-template-columns: 1fr; text-align: left; }
  .intro-media--small { width: 72%; }
}

@media (max-width: 640px) {
  :root { --container-pad: 1.25rem; }
  .experiences-grid,
  .events-grid,
  .journal-grid,
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 10px; }
  .timeline-item { grid-template-columns: 20px 1fr; }
  .timeline-item::after { left: 6px; }
  .timeline-year { font-size: var(--fs-base); }
  .stat-row { flex-wrap: wrap; gap: var(--space-md); }
  .newsletter-form { flex-direction: column; max-width: none; }
  .newsletter-form .btn { width: 100%; }
  .menu-list { grid-template-columns: 1fr; }
  .cta-band-actions { flex-direction: column; align-items: stretch; }
}

/* Ensure minimum touch target on small screens */
@media (max-width: 480px) {
  .btn { width: 100%; }
  .hero-actions .btn,
  .cta-band-actions .btn { width: 100%; }
}

/* ==========================================================================
   15. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-mask > * { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}

/* content-visibility for long off-screen editorial sections */
.journal-preview,
.gallery-masonry { content-visibility: auto; contain-intrinsic-size: 1px 900px; }

/* Print */
@media print {
  .site-header, .announcement-bar, .back-to-top, .mobile-nav, .site-footer { display: none; }
}
