/* =====================================================================
   THE MET COFFEE HOUSE — Design System
   Warm mountain-cozy rustic  ×  coastal New England refined
   Brand: deep maroon + burnt orange, espresso darks, cream/parchment
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand core */
  --maroon:        #6b1f2a;   /* primary deep burgundy */
  --maroon-deep:   #4d151d;
  --maroon-soft:   #83303c;
  --orange:        #c15a24;   /* burnt / dark orange accent */
  --orange-bright: #db7433;
  --orange-cta:    #a8481a;   /* darker for AA white text on buttons */
  --gold:          #c15a24;   /* brand orange (matches CTA accent) */

  /* Neutrals — warm */
  --espresso:      #2b141a;   /* dark section bg (maroon-tinted) */
  --espresso-900:  #1d0d12;
  --espresso-800:  #38191f;
  --espresso-700:  #4c222b;
  --cream:         #f6efe4;   /* light section bg */
  --cream-2:       #fbf7f0;
  --sand:          #e8dbc6;
  --sand-line:     #d9c7ac;

  /* Text */
  --ink:           #2a1e17;   /* on light */
  --ink-soft:      #5d4a3c;
  --ink-mute:      #8a7666;
  --paper:         #f4e9d9;   /* on dark */
  --paper-mute:    #c6b39d;
  --paper-dim:     #97826d;

  /* Semantic */
  --bg:            var(--cream-2);
  --surface:       #ffffff;
  --text:          var(--ink);
  --text-soft:     var(--ink-soft);
  --accent:        var(--orange);
  --primary:       var(--maroon);

  /* Effects */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(33,23,18,.06), 0 2px 6px rgba(33,23,18,.06);
  --shadow:    0 6px 18px -6px rgba(33,23,18,.18), 0 10px 40px -12px rgba(33,23,18,.14);
  --shadow-lg: 0 20px 60px -18px rgba(33,23,18,.30);
  --ring:      0 0 0 3px rgba(193,90,36,.45);

  /* Type */
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale (marketing density) */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* Layout */
  --maxw: 1200px;
  --maxw-wide: 1360px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(.16,.84,.34,1);
  --ease-soft: cubic-bezier(.22,1,.36,1);
  --dur-1: .18s;
  --dur-2: .32s;
  --dur-3: .5s;

  /* z-index scale */
  --z-base: 1; --z-raise: 10; --z-sticky: 40; --z-header: 100;
  --z-overlay: 500; --z-modal: 1000;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.h-xxl { font-size: clamp(2.6rem, 6.5vw, 5.2rem); font-weight: 800; }
.h-xl  { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.h-lg  { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.h-md  { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 500; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-soft); line-height: 1.7; max-width: 60ch; }
.muted { color: var(--ink-mute); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: var(--maxw-wide); }
.section { padding-block: clamp(64px, 10vw, 128px); position: relative; }
.section-sm { padding-block: clamp(48px, 7vw, 84px); }
/* Offset anchor targets so the fixed header doesn't cover them */
section[id], [id].section, .page-hero[id] { scroll-margin-top: 92px; }
.center { text-align: center; }
.stack > * + * { margin-top: var(--space-4); }
.measure { max-width: 62ch; }
.grid { display: grid; gap: var(--space-6); }
.eyebrow.center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.section-head .eyebrow { margin-bottom: var(--space-4); }
.section-head p { margin-top: var(--space-4); }

/* Section themes */
.theme-dark { background: var(--espresso); color: var(--paper); }
.theme-dark h1, .theme-dark h2, .theme-dark h3, .theme-dark h4 { color: var(--paper); }
.theme-dark .lead, .theme-dark .muted { color: var(--paper-mute); }
.theme-cream { background: var(--cream); }
.theme-sand { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }

/* Decorative grain + top rule */
.rule-top { border-top: 1px solid var(--sand-line); }
.theme-dark.rule-top { border-top-color: rgba(255,255,255,.08); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--maroon);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6em;
  min-height: 50px;
  padding: 0 1.5rem;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform var(--dur-1) var(--ease-out),
              box-shadow var(--dur-2) var(--ease-out),
              background-color var(--dur-2) var(--ease-out),
              color var(--dur-2) var(--ease-out);
  box-shadow: 0 6px 16px -6px rgba(107,31,42,.5);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(107,31,42,.6); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .ico.arrow { transform: translateX(4px); }

.btn-accent { --btn-bg: var(--orange-cta); box-shadow: 0 6px 16px -6px rgba(168,72,26,.55); }
.btn-accent:hover { --btn-bg: #94400f; box-shadow: 0 12px 26px -8px rgba(168,72,26,.6); }

.btn-ghost {
  --btn-fg: var(--ink);
  background: transparent;
  border-color: var(--sand-line);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(107,31,42,.06); border-color: var(--maroon); transform: translateY(-2px); box-shadow: none; }

.btn-outline-light {
  --btn-fg: var(--paper);
  background: transparent;
  border-color: rgba(255,255,255,.35);
  box-shadow: none;
}
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: var(--paper); transform: translateY(-2px); }

.btn-lg { min-height: 56px; padding: 0 1.9rem; font-size: 1.02rem; }
.btn-sm { min-height: 42px; padding: 0 1.1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Text link with underline sweep */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; color: var(--maroon);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-size: 0% 2px; background-repeat: no-repeat; background-position: left bottom;
  transition: background-size var(--dur-2) var(--ease-out), color var(--dur-2);
}
.link-arrow:hover { background-size: 100% 2px; color: var(--orange-cta); }
.theme-dark .link-arrow { color: var(--gold); }
.link-arrow .ico { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color var(--dur-3) var(--ease-out),
              box-shadow var(--dur-3) var(--ease-out),
              height var(--dur-3) var(--ease-out),
              border-color var(--dur-3);
  border-bottom: 1px solid transparent;
}
.site-header .container-wide { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.site-header.scrolled {
  height: 64px;
  background: rgba(29,13,18,.88);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,.5);
}
/* On light (interior) pages the header starts solid */
.site-header.solid {
  position: sticky;
  background: rgba(251,247,240,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--sand-line);
}

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand .emblem { width: 42px; height: 42px; flex: none; transition: transform var(--dur-3) var(--ease-soft); }
.brand:hover .emblem { transform: rotate(-6deg) scale(1.04); }
.brand .wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand .wm-1 { font-family: var(--font-display); font-weight: 800; font-size: 1.28rem; letter-spacing: .02em; color: var(--paper); }
.brand .wm-2 { font-family: var(--font-body); font-size: .58rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.solid .brand .wm-1 { color: var(--ink); }
.solid .brand .wm-2 { color: var(--orange-cta); }

/* Official "the Met" wordmark logo (white, for dark headers/footer) */
.brand-logo { height: 66px; width: auto; display: block; transition: height var(--dur-3) var(--ease-soft); }
.scrolled .brand-logo { height: 57px; }
.footer-brand .brand-logo { height: 60px; margin-bottom: 20px; }
.mobile-nav .brand-logo { height: 40px; width: auto; max-width: 60%; object-fit: contain; align-self: flex-start; margin-bottom: clamp(18px, 4vh, 34px); }

/* Nav */
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav a {
  position: relative;
  font-weight: 500; font-size: .95rem;
  color: var(--paper); opacity: .92;
  padding: .4rem 0;
  transition: opacity var(--dur-2), color var(--dur-2);
}
.solid .nav a { color: var(--ink-soft); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--gold); opacity: 1; }
.solid .nav a.active { color: var(--maroon); }

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

/* Mobile nav */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--paper); border-radius: 2px;
  transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1);
}
.solid .nav-toggle span, .solid .nav-toggle span::before, .solid .nav-toggle span::after { background: var(--ink); }
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: var(--espresso-900);
  background-image:
    linear-gradient(180deg, rgba(20,10,14,.82) 0%, rgba(20,10,14,.9) 100%),
    url("../assets/img/gallery/1.jpg");
  background-size: cover;
  background-position: center;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 8vw, 52px);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform var(--dur-3) var(--ease-soft), visibility var(--dur-3);
}
body.nav-open .mobile-nav { transform: translateY(0); visibility: visible; }
.mobile-nav a {
  font-family: var(--font-display); font-size: clamp(1.55rem, 6.5vw, 2.2rem); line-height: 1.15; color: var(--paper);
  padding: .3em 0; border-bottom: 1px solid rgba(255,255,255,.14);
  text-shadow: 0 1px 10px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), color var(--dur-2);
}
.mobile-nav a:hover { color: var(--gold); }
body.nav-open .mobile-nav a { opacity: 1; transform: none; }
body.nav-open .mobile-nav a:nth-child(1){ transition-delay:.08s; }
body.nav-open .mobile-nav a:nth-child(2){ transition-delay:.14s; }
body.nav-open .mobile-nav a:nth-child(3){ transition-delay:.20s; }
body.nav-open .mobile-nav a:nth-child(4){ transition-delay:.26s; }
body.nav-open .mobile-nav a:nth-child(5){ transition-delay:.32s; }
.mobile-nav .btn {
  margin-top: clamp(22px, 4vh, 36px); align-self: stretch; justify-content: center;
  min-height: 60px; padding: 0 1.5rem; font-size: 1.12rem; line-height: 1;
  border-bottom: none; text-shadow: none;
  opacity: 0; transform: translateY(16px);
  transition: opacity .4s .38s var(--ease-out), transform .4s .38s var(--ease-out);
}
body.nav-open .mobile-nav .btn { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex; align-items: flex-end;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: -8% 0 0 0; z-index: -2; }
.hero__media .media { position: absolute; inset: 0; height: 116%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(107,31,42,.35), transparent 60%),
    linear-gradient(180deg, rgba(23,15,11,.42) 0%, rgba(23,15,11,.3) 32%, rgba(23,15,11,.72) 72%, rgba(23,15,11,.92) 100%);
}
.hero__inner { padding-block: calc(var(--header-h) + 28px) clamp(48px, 7vh, 84px); }
.hero .eyebrow { color: var(--orange-bright); font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,.75), 0 2px 12px rgba(0,0,0,.55); }
.hero .eyebrow::before { background: linear-gradient(90deg, var(--orange), transparent); }
.hero h1 { font-family: "IM Fell English", "Playfair Display", serif; font-weight: 400; font-size: clamp(2.7rem, 6.6vw, 5rem); line-height: 1.12; letter-spacing: .005em; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 3px 26px rgba(0,0,0,.5); max-width: 16ch; }
.hero h1 .text-gold { color: var(--orange-bright); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.hero .lead { color: rgba(244,233,217,.92); margin-top: var(--space-5); }
.hero .btn-row { margin-top: var(--space-7); gap: var(--space-4); }
/* Oversized hero CTAs so the eye lands on them first */
.hero .btn-row .btn { min-height: clamp(60px, 7vw, 70px); padding: 0 clamp(1.9rem, 4vw, 2.8rem); font-size: clamp(1.08rem, 1.7vw, 1.25rem); letter-spacing: .015em; }
.hero .btn-row .btn .ico { width: 22px; height: 22px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-7); margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,.16); }
.hero__meta .item { }
.hero__meta .k { font-family: var(--font-display); font-size: 1.7rem; color: var(--orange-bright); font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.hero__meta .v { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-mute); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 2; display: grid; place-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(244,233,217,.7);
}
.scroll-cue .dot { width: 22px; height: 34px; border: 2px solid rgba(244,233,217,.5); border-radius: 12px; position: relative; }
.scroll-cue .dot::after { content:""; position:absolute; left:50%; top:7px; width:3px; height:7px; border-radius:2px; background: var(--gold); transform: translateX(-50%); animation: scrollDot 1.8s var(--ease-soft) infinite; }
@keyframes scrollDot { 0%{opacity:0; transform:translate(-50%,0);} 30%{opacity:1;} 70%{opacity:1; transform:translate(-50%,10px);} 100%{opacity:0; transform:translate(-50%,10px);} }

/* ---------- Media / image placeholder system ---------- */
.media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(140% 120% at 15% 0%, #4c222b 0%, #38191f 45%, #1d0d12 100%);
  border-radius: inherit;
}
.media::before { /* subtle bean texture placeholder */
  content: "";
  position: absolute; inset: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='none' stroke='%23c79a4b' stroke-width='1.2' opacity='0.22'%3E%3Cellipse cx='30' cy='30' rx='9' ry='13' transform='rotate(28 30 30)'/%3E%3Cpath d='M30 18c-3 6-3 18 0 24' /%3E%3Cellipse cx='86' cy='82' rx='9' ry='13' transform='rotate(-18 86 82)'/%3E%3Cpath d='M86 70c-3 6-3 18 0 24'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.media::after { /* label shown only when no photo */
  content: attr(data-label);
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 1.4em; text-align: center;
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(.9rem, 1.4vw, 1.1rem);
  color: rgba(231,216,198,.72);
  letter-spacing: .01em;
}
.media img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s var(--ease-out);
}
.media img.loaded { opacity: 1; }
.media img.img-missing { opacity: 0 !important; }
/* Gallery marquee scrolls continuously; the opacity fade can get stuck mid-transition
   inside the animated track, so show its (always-loaded) images outright. */
.marquee .media img { opacity: 1 !important; transition: none !important; }

/* aspect helpers */
.ratio-4-3 { aspect-ratio: 4/3; }
.ratio-3-4 { aspect-ratio: 3/4; }
.ratio-1-1 { aspect-ratio: 1/1; }
.ratio-16-9 { aspect-ratio: 16/9; }
.ratio-3-2 { aspect-ratio: 3/2; }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-36px); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].in-view { opacity: 1; transform: none; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(217,199,172,.5);
  transition: transform var(--dur-3) var(--ease-soft), box-shadow var(--dur-3) var(--ease-soft), border-color var(--dur-3);
  will-change: transform;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sand-line); }
.card__body { padding: clamp(20px, 3vw, 30px); }
.card__body h3 { margin-bottom: .4em; }

/* Feature icon cards */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); }
.feature {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform var(--dur-3) var(--ease-soft), background var(--dur-3), border-color var(--dur-3);
}
.theme-cream .feature, .theme-sand .feature { background: #fff; border-color: rgba(217,199,172,.6); box-shadow: var(--shadow-sm); }
.feature:hover { transform: translateY(-6px); }
.theme-dark .feature:hover { background: rgba(255,255,255,.06); border-color: rgba(199,154,75,.4); }
.feature .fi {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: var(--space-4);
  background: linear-gradient(140deg, var(--maroon), var(--maroon-deep));
  color: var(--gold);
  box-shadow: 0 8px 20px -8px rgba(107,31,42,.6);
}
.feature .fi svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.25rem; margin-bottom: .35em; }
.feature p { font-size: .96rem; color: var(--text-soft); }
.theme-dark .feature p { color: var(--paper-mute); }

/* ---------- Location cards ---------- */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-6); }
.loc-card { display: flex; flex-direction: column; }
.loc-card .media { border-radius: 0; }
.loc-card .thumb { position: relative; overflow: hidden; }
.loc-card .thumb .badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: rgba(23,15,11,.72); color: var(--paper);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  padding: .45em .8em; border-radius: 999px; backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.14);
}
.loc-card img { transition: transform 1.1s var(--ease-soft), opacity .6s; }
.loc-card:hover img.loaded { transform: scale(1.06); }
.loc-card .card__body { display: flex; flex-direction: column; flex: 1; gap: var(--space-3); }
.loc-card .addr { display: flex; gap: .6em; color: var(--text-soft); font-size: .95rem; }
.loc-card .addr svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 2px; }
.loc-card .actions { margin-top: auto; padding-top: var(--space-4); display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* ---------- Location detail (locations page) ---------- */
.loc-detail { display: grid; grid-template-columns: 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
@media (min-width: 900px) { .loc-detail { grid-template-columns: 1.05fr .95fr; } .loc-detail.flip .loc-detail__media { order: 2; } }
.loc-detail__media .media { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.loc-detail__media .stack-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.loc-detail__media .stack-imgs .media:first-child { grid-column: 1 / -1; }
/* Portrait storefront leads: keep them from dominating the stack */
.loc-detail__media .stack-imgs .portrait-lead { max-width: 300px; width: 100%; justify-self: center; }
.loc-detail h2 .place { display:block; font-size:.5em; letter-spacing:.2em; text-transform:uppercase; color:var(--orange); font-family:var(--font-body); font-weight:700; margin-bottom:.6em; }
.info-list { display: grid; gap: var(--space-4); margin: var(--space-5) 0; }
.info-row { display: flex; gap: var(--space-4); align-items: flex-start; }
.info-row .ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--cream); border: 1px solid var(--sand-line); color: var(--maroon); }
.theme-dark .info-row .ic { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--gold); }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row .lbl { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 2px; }
.theme-dark .info-row .lbl { color: var(--paper-mute); }
.info-row .val { font-weight: 500; }
.info-row a.val:hover { color: var(--orange-cta); }

.map-frame { border: 0; width: 100%; height: 100%; min-height: 260px; border-radius: var(--radius-xl); filter: saturate(.9) contrast(1.02); }

/* ---------- Menu ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-bottom: var(--space-7); }
.menu-tab {
  min-height: 48px; padding: 0 1.2rem; border-radius: 999px;
  border: 1.5px solid var(--sand-line); background: var(--cream-2);
  font-weight: 600; font-size: .92rem; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: .5em;
  transition: all var(--dur-2) var(--ease-out);
}
.menu-tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.menu-tab:hover { border-color: var(--maroon); color: var(--ink); transform: translateY(-2px); }
.menu-tab[aria-selected="true"] { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.menu-tab[aria-selected="true"] .dot { background: var(--gold); }

.menu-panel { display: none; }
.menu-panel.active { display: block; animation: fadeUp .5s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.menu-loc-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: clamp(18px,2.5vw,26px) clamp(20px,3vw,32px);
  background: linear-gradient(120deg, var(--maroon), var(--maroon-deep));
  color: var(--paper); border-radius: var(--radius-lg); margin-bottom: var(--space-7);
  box-shadow: var(--shadow);
}
.menu-loc-banner h3 { color: #fff; font-size: 1.35rem; }
.menu-loc-banner p { color: var(--paper-mute); font-size: .92rem; margin-top: 2px; }

.menu-cols { columns: 2; column-gap: clamp(32px, 5vw, 72px); }
@media (max-width: 720px) { .menu-cols { columns: 1; } }
.menu-group { break-inside: avoid; margin-bottom: var(--space-7); }
.menu-group h3 {
  font-size: 1.4rem; display: flex; align-items: baseline; gap: .6em; margin-bottom: var(--space-4);
  padding-bottom: .5em; border-bottom: 2px solid var(--sand-line);
}
.menu-group h3 .pill { font-family: var(--font-body); font-size: .62rem; letter-spacing:.14em; text-transform: uppercase; color: var(--orange-cta); background: rgba(193,90,36,.1); padding: .3em .6em; border-radius: 999px; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: .3em 1em; padding: .7em 0; border-bottom: 1px dashed rgba(217,199,172,.7); }
.menu-item:last-child { border-bottom: 0; }
.menu-item .mi-name { font-weight: 600; color: var(--ink); }
.menu-item .mi-price { font-weight: 600; color: var(--maroon); font-variant-numeric: tabular-nums; }
.menu-item .mi-desc { grid-column: 1 / -1; font-size: .9rem; color: var(--ink-mute); line-height: 1.5; }
.menu-item .tag { font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; border: 1px solid var(--gold); border-radius: 4px; padding: 1px 5px; margin-left: .5em; vertical-align: middle; }

.menu-note { text-align: center; margin-top: var(--space-6); color: var(--ink-mute); font-size: .92rem; }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip .split__media { order: 2; } }
.split__media .media { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

/* Decorated portrait frame */
.framed { position: relative; }
.framed::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid var(--gold); border-radius: var(--radius-xl); z-index: -1; opacity: .8; }
@media (max-width: 640px){ .framed::after{ inset: 12px -10px -10px 10px; } }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote-band blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.35;
  max-width: 20ch; margin: 0 auto; color: var(--paper);
}
.quote-band .qmark { font-family: var(--font-display); font-size: 5rem; color: var(--orange); line-height: .4; display: block; margin-bottom: .1em; }
.quote-band cite { display: block; margin-top: var(--space-5); font-style: normal; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ---------- Gallery marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: var(--space-4); width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .media { width: clamp(240px, 30vw, 360px); border-radius: var(--radius-lg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .media-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band .media-bg .media { position:absolute; inset:0; border-radius:0; }
.cta-band .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(77,21,29,.92), rgba(23,15,11,.92)); }
.cta-band .container { position: relative; z-index: 2; }

/* ---------- Careers / callout ---------- */
.callout {
  border: 1px solid var(--sand-line); border-left: 4px solid var(--orange);
  background: var(--cream-2); border-radius: var(--radius); padding: clamp(20px,3vw,30px);
}
.theme-dark .callout { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); border-left-color: var(--gold); }

/* ---------- Values list ---------- */
.values { display: grid; gap: var(--space-5); }
.value-row { display: flex; gap: var(--space-4); align-items: flex-start; padding-bottom: var(--space-5); border-bottom: 1px solid var(--sand-line); }
.value-row:last-child { border-bottom: 0; }
.value-row .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--orange); font-weight: 700; line-height: 1; min-width: 2ch; }
.value-row h3 { font-size: 1.2rem; margin-bottom: .25em; }
.value-row p { color: var(--text-soft); font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso-900); color: var(--paper-mute); padding-top: clamp(56px, 8vw, 96px); }
.footer-grid { display: grid; gap: clamp(32px,4vw,56px); grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand .brand .wm-1 { color: var(--paper); }
.site-footer h4 { color: var(--paper); font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--space-4); }
.site-footer p { font-size: .92rem; line-height: 1.7; }
.footer-links { display: grid; gap: .7em; }
.footer-links a { font-size: .94rem; transition: color var(--dur-2); position: relative; width: fit-content; }
.footer-links a:hover { color: var(--gold); }
.foot-loc { margin-bottom: var(--space-4); }
.foot-loc .n { color: var(--paper); font-weight: 600; font-size: .92rem; }
.foot-loc .a { font-size: .86rem; }
.foot-loc a:hover { color: var(--gold); }
.socials { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); color: var(--paper); transition: all var(--dur-2) var(--ease-out); }
.socials a:hover { background: var(--orange-cta); border-color: var(--orange-cta); color: #fff; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: clamp(40px,6vw,72px); border-top: 1px solid rgba(255,255,255,.08); padding-block: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .82rem; color: var(--paper-dim); }
.footer-bottom .fb-links { display: flex; gap: var(--space-4); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; padding-block: calc(var(--header-h) + clamp(56px,9vw,110px)) clamp(48px,7vw,88px); overflow: hidden; color: var(--paper); isolation: isolate; }
.page-hero .media-bg { position:absolute; inset:0; z-index:-2; }
.page-hero .media-bg .media { position:absolute; inset:0; border-radius:0; }
.page-hero .scrim { position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(23,15,11,.7), rgba(77,21,29,.78)); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .eyebrow::before { background: linear-gradient(90deg,var(--gold),transparent); }
.page-hero h1 { color:#fff; }
.page-hero .lead { color: rgba(244,233,217,.9); margin-top: var(--space-4); }
.breadcrumb { display:flex; gap:.5em; align-items:center; font-size:.82rem; color: var(--paper-mute); margin-bottom: var(--space-4); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity:.5; }

/* ---------- Divider ornament ---------- */
.ornament { display:flex; align-items:center; justify-content:center; gap:14px; color:var(--orange); margin: var(--space-5) 0; }
.ornament::before, .ornament::after { content:""; height:1px; width:60px; background:linear-gradient(90deg,transparent,var(--sand-line)); }
.theme-dark .ornament::before, .theme-dark .ornament::after { background:linear-gradient(90deg,transparent,rgba(255,255,255,.2)); }
.ornament svg { width:22px; height:22px; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: var(--z-sticky); width: 48px; height: 48px; border-radius: 50%; background: var(--maroon); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: all var(--dur-3) var(--ease-soft); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--orange-cta); transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Responsive nav switch ---------- */
@media (max-width: 940px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Utility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: var(--z-modal); background: var(--maroon); color: #fff; padding: 12px 18px; border-radius: 8px; transition: top var(--dur-2); }
.skip-link:focus { top: 12px; }
.text-gold { color: var(--gold); }
.mt-0 { margin-top: 0 !important; }
.hide { display: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; transform: none; }
  .scroll-cue .dot::after { animation: none; }
  .hero__media .media { height: 100% !important; inset: 0 !important; transform: none !important; }
}
