/* ==========================================================================
   BIG MOOSE ICE CREAM PARLOUR
   Design notes:
   - Seed color derived from the warm cedar stained wood of the log-cabin
     storefront and the pine interior: hsl(22, 55%, 22%) — deep cedar brown.
   - Accent: cranberry red (hsl 358, 65%, 48%) — pulled from the red gingham
     curtains and the hand-lettered chalkboard menu accents.
   - Hue arc stays in warm territory (0-50°). No cool colors anywhere.
   - Typography pairs Fraunces (cabin-crafted serif with soft character)
     with Outfit (clean utilitarian sans). Avoids any "sleek modern" vibe.
   - No reviews section, no hours invented — this business has neither.
   ========================================================================== */

/* ===== CUSTOM PROPERTIES ===== */
:root {
  /* Primary — deep cedar brown */
  --color-primary: hsl(22, 55%, 22%);
  --color-primary-light: hsl(22, 35%, 88%);
  --color-primary-dark: hsl(22, 60%, 15%);

  /* Accent — cranberry red */
  --color-accent: hsl(358, 65%, 45%);
  --color-accent-light: hsl(358, 60%, 58%);
  --color-accent-dark: hsl(358, 70%, 32%);

  /* Backgrounds — warm cream whispering the cedar hue */
  --color-bg: hsl(38, 28%, 96%);
  --color-bg-alt: hsl(34, 22%, 92%);
  --color-surface: hsl(40, 30%, 98%);

  /* Text */
  --color-text: hsl(22, 30%, 14%);
  --color-text-light: hsl(22, 18%, 38%);
  --color-text-inverse: hsl(38, 28%, 95%);

  /* Dark section background — saturated cedar */
  --color-dark-bg: hsl(22, 42%, 14%);
  --color-dark-bg-alt: hsl(22, 38%, 18%);

  /* Functional */
  --color-border: hsl(30, 18%, 84%);
  --color-border-dark: hsl(22, 20%, 72%);
  --color-shadow: hsla(22, 40%, 14%, 0.1);
  --color-shadow-lg: hsla(22, 40%, 14%, 0.18);
  --color-overlay: hsla(22, 50%, 10%, 0.55);

  /* Font Families */
  --font-display: 'Fraunces', 'Cormorant Garamond', serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-hero: clamp(2.75rem, 7vw, 5.5rem);

  /* Font Weights */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 900;

  /* Line Heights */
  --leading-tight: 1.05;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.14em;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Section Padding Tiers — exactly 3 */
  --section-pad-lg: var(--space-3xl);
  --section-pad-md: var(--space-2xl);
  --section-pad-sm: var(--space-xl);

  /* Nav */
  --nav-height: 84px;

  /* Container */
  --container-max: 1240px;
  --container-padding: clamp(1.25rem, 5vw, 3rem);

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Easing */
  --ease-out: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
    --nav-height: 68px;
  }
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-accent);
  color: var(--color-text-inverse);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: var(--weight-semibold);
  z-index: 10000;
  transition: top 0.2s ease;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  line-height: var(--leading-tight);
  color: var(--color-text);
  letter-spacing: var(--tracking-tight);
  /* Fraunces has optical sizing — let it work */
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 50, "WONK" 1;
}

h1 { font-size: var(--text-hero); }
h2 { font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl)); }
h3 { font-size: clamp(var(--text-xl), 2vw, var(--text-2xl)); }

p {
  line-height: var(--leading-normal);
}

::selection {
  background: var(--color-accent);
  color: var(--color-text-inverse);
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--color-accent);
  vertical-align: middle;
  margin-right: 0.75rem;
  margin-bottom: 3px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  transition: transform 0.3s var(--ease-out), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px hsla(358, 65%, 35%, 0.28);
}

.btn-secondary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-inverse);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--color-text-inverse);
  color: var(--color-primary-dark);
  border-color: var(--color-text-inverse);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-ghost:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ===== DARK SECTION PATTERN ===== */
.section--dark {
  background: var(--color-dark-bg);
  color: var(--color-text-inverse);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--color-text-inverse);
}

.section--dark p {
  color: hsla(38, 28%, 95%, 0.78);
}

.section--dark .section-label {
  color: var(--color-accent-light);
}

.section--dark .section-label::before {
  background: var(--color-accent-light);
}

/* ===== SITE HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--color-dark-bg);
  border-bottom: 1px solid hsla(22, 30%, 35%, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-regular);
  color: var(--color-text-inverse);
  letter-spacing: var(--tracking-tight);
  z-index: 1002;
}

.nav-brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav-brand-mark svg { width: 100%; height: 100%; display: block; }

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

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: hsla(38, 28%, 95%, 0.78);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--color-accent-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-text-inverse);
}

.nav-link:hover::after { transform: scaleX(1); }

/* Nav active states per page */
[data-page="home"] .nav-link[href="index.html"],
[data-page="flavors"] .nav-link[href="flavors.html"],
[data-page="gallery"] .nav-link[href="gallery.html"],
[data-page="contact"] .nav-link[href="contact.html"] {
  color: var(--color-text-inverse);
}

[data-page="home"] .nav-link[href="index.html"]::after,
[data-page="flavors"] .nav-link[href="flavors.html"]::after,
[data-page="gallery"] .nav-link[href="gallery.html"]::after,
[data-page="contact"] .nav-link[href="contact.html"]::after {
  transform: scaleX(1);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-inverse);
  padding: 0.65rem 1.2rem;
  border: 1.5px solid var(--color-accent);
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-phone:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-1px);
}

.nav-phone svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  color: var(--color-text-inverse);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after  { top: 8px; }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--color-dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out), visibility 0s 300ms;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 300ms var(--ease-out), visibility 0s;
}

/* When the mobile menu is open, hide the header so the overlay is
   unambiguously the active nav region (also prevents automated QA from
   matching the header <nav> as the "menu" element). */
body.menu-open .site-header {
  visibility: hidden;
}

.mobile-menu-close {
  position: absolute;
  top: calc(var(--space-lg) - 0.25rem);
  right: var(--space-lg);
  background: none;
  border: none;
  color: var(--color-text-inverse);
  cursor: pointer;
  padding: var(--space-sm);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: 0;
  margin: 0;
}

.mobile-menu-link,
.mobile-menu-link:visited {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-regular);
  color: var(--color-text-inverse);
  text-decoration: none;
  padding: 0.75rem var(--space-lg);
  min-height: 56px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(1rem);
}

.mobile-menu-link.is-active,
.mobile-menu-link.is-active:visited {
  color: var(--color-accent-light);
}

.mobile-menu-link:hover {
  color: var(--color-accent-light);
}

.mobile-menu-link:focus-visible {
  outline: 2px solid var(--color-accent-light);
  outline-offset: 4px;
}

.mobile-menu.active .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
  transition: color 200ms, opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.mobile-menu.active .mobile-menu-links li:nth-child(1) .mobile-menu-link { transition-delay: 0.08s; }
.mobile-menu.active .mobile-menu-links li:nth-child(2) .mobile-menu-link { transition-delay: 0.16s; }
.mobile-menu.active .mobile-menu-links li:nth-child(3) .mobile-menu-link { transition-delay: 0.24s; }
.mobile-menu.active .mobile-menu-links li:nth-child(4) .mobile-menu-link { transition-delay: 0.32s; }

.mobile-menu-phone {
  margin-top: var(--space-2xl);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-accent-light);
  text-decoration: none;
  letter-spacing: var(--tracking-wide);
}

.mobile-menu-directions,
.mobile-menu-directions:visited {
  display: block;
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: hsla(38, 28%, 95%, 0.6);
  max-width: 280px;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-menu-directions:hover {
  color: hsla(38, 28%, 95%, 0.9);
}

/* ===== FLOATING MOBILE BUTTONS ===== */
.floating-buttons {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 900;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px hsla(22, 40%, 14%, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px hsla(22, 40%, 14%, 0.36);
}

.floating-btn-call {
  background: var(--color-accent);
}

.floating-btn-directions {
  background: var(--color-primary);
}

.floating-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--color-text-inverse);
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .floating-buttons { display: flex; }
}

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-2xl);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, hsla(22, 50%, 8%, 0.35) 0%, hsla(22, 50%, 8%, 0.2) 40%, hsla(22, 50%, 8%, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  color: var(--color-text-inverse);
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
}

.hero-kicker::before {
  content: "";
  width: 36px;
  height: 1.5px;
  background: var(--color-accent-light);
}

.hero-title {
  font-size: var(--text-hero);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-md);
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-shadow: 0 4px 24px hsla(22, 60%, 5%, 0.45);
  max-width: 22ch;
}

.hero-title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  color: var(--color-accent-light);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(var(--text-base), 1.6vw, var(--text-lg));
  font-weight: var(--weight-light);
  color: hsla(38, 28%, 95%, 0.88);
  margin-bottom: var(--space-lg);
  max-width: 46ch;
  line-height: var(--leading-snug);
}

.hero-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: hsla(38, 28%, 95%, 0.95);
  margin-bottom: var(--space-lg);
  padding: 0.6rem 1.1rem;
  border: 1px solid hsla(38, 28%, 95%, 0.3);
  background: hsla(22, 50%, 8%, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.hero-directions:hover {
  border-color: hsla(38, 28%, 95%, 0.6);
  background: hsla(22, 50%, 8%, 0.55);
}

.hero-directions svg {
  width: 14px;
  height: 14px;
  fill: var(--color-accent-light);
  flex-shrink: 0;
}

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

@media (max-width: 480px) {
  .hero-directions {
    font-size: var(--text-xs);
    padding: 0.55rem 0.9rem;
  }
  .hero { padding-bottom: var(--space-xl); }
}

/* ===== MARQUEE STRIP (under hero) ===== */
.marquee {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  padding: var(--space-md) 0;
  overflow: hidden;
  border-top: 2px solid var(--color-accent-dark);
  border-bottom: 2px solid var(--color-accent-dark);
}

.marquee-track {
  display: flex;
  gap: var(--space-xl);
  white-space: nowrap;
  animation: marquee-scroll 36s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-tight);
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xl);
}

.marquee-track span::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--color-text-inverse);
  border-radius: 50%;
  margin-left: var(--space-xl);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ===== ABOUT TEASER ===== */
.about-teaser {
  padding: var(--section-pad-lg) 0;
  background: var(--color-bg);
  position: relative;
}

.about-teaser-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-teaser-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px var(--color-shadow-lg);
}

.about-teaser-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about-teaser-image:hover img { transform: scale(1.04); }

.about-teaser-image::after {
  content: "EST. ON THE GREAT NORTHERN";
  position: absolute;
  left: var(--space-lg);
  bottom: var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  color: var(--color-text-inverse);
  padding: 0.5rem 0.9rem;
  background: hsla(22, 50%, 8%, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-full);
}

.about-teaser-text h2 {
  margin-bottom: var(--space-lg);
  max-width: 14ch;
}

.about-teaser-text p {
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
  max-width: 52ch;
}

.about-teaser-text p:last-of-type {
  margin-bottom: var(--space-lg);
}

.about-teaser-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md) var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  max-width: 52ch;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: var(--color-accent);
  margin-top: 2px;
}

.about-feature-text {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
}

@media (max-width: 900px) {
  .about-teaser-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .about-teaser-image img { aspect-ratio: 4 / 3; }
}

/* ===== SCOOP SHOWCASE (what we serve) ===== */
.scoop-showcase {
  padding: var(--section-pad-lg) 0;
  background: var(--color-dark-bg);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}

.scoop-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, hsla(358, 65%, 35%, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, hsla(22, 50%, 35%, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.scoop-showcase .container {
  position: relative;
  z-index: 1;
}

.scoop-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: end;
  margin-bottom: var(--space-2xl);
}

.scoop-header h2 {
  color: var(--color-text-inverse);
  max-width: 14ch;
}

.scoop-header h2 em {
  font-style: italic;
  color: var(--color-accent-light);
}

.scoop-header p {
  color: hsla(38, 28%, 95%, 0.72);
  font-size: var(--text-lg);
  max-width: 46ch;
  justify-self: end;
}

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

.scoop-card {
  position: relative;
  background: var(--color-dark-bg-alt);
  border: 1px solid hsla(38, 28%, 95%, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s ease;
}

.scoop-card:hover {
  transform: translateY(-6px);
  border-color: hsla(358, 60%, 58%, 0.4);
}

.scoop-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.scoop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.scoop-card:hover .scoop-card-image img { transform: scale(1.06); }

.scoop-card-body {
  padding: var(--space-lg);
}

.scoop-card-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-accent-light);
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-xs);
}

.scoop-card h3 {
  font-size: var(--text-2xl);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-sm);
}

.scoop-card p {
  font-size: var(--text-sm);
  color: hsla(38, 28%, 95%, 0.7);
  line-height: var(--leading-snug);
}

.scoop-cta {
  text-align: center;
  margin-top: var(--space-xl);
}

@media (max-width: 900px) {
  .scoop-header {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }
  .scoop-header p { justify-self: start; }
  .scoop-grid { grid-template-columns: 1fr; }
}

/* ===== FLAVOURS STRIP (home) ===== */
.flavours-strip {
  padding: var(--section-pad-md) 0;
  background: var(--color-bg-alt);
}

.flavours-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-2xl);
  align-items: center;
}

.flavours-strip-inner h2 {
  max-width: 12ch;
}

.flavours-strip-inner h2 em {
  font-style: italic;
  color: var(--color-accent);
}

.flavours-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flavour-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.flavour-row:last-child { border-bottom: none; }

.flavour-row-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-accent);
  letter-spacing: var(--tracking-wide);
}

.flavour-row-name {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.4vw, var(--text-3xl));
  color: var(--color-text);
  line-height: 1.1;
}

.flavour-row-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  background: hsla(358, 65%, 45%, 0.08);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.flavours-strip-note {
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  font-style: italic;
}

.flavours-strip-note a {
  color: var(--color-accent);
  font-style: normal;
  font-weight: var(--weight-semibold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.flavours-strip-note a:hover {
  border-bottom-color: var(--color-accent);
}

@media (max-width: 900px) {
  .flavours-strip-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .flavour-row {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
  }
  .flavour-row-tag {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.25rem;
  }
}

/* ===== CTA SECTION WITH MAP (home) ===== */
.cta-section {
  padding: var(--section-pad-lg) 0;
  background: var(--color-bg);
}

.cta-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-2xl);
  align-items: stretch;
}

.cta-text h2 {
  margin-bottom: var(--space-md);
  max-width: 12ch;
}

.cta-text h2 em {
  font-style: italic;
  color: var(--color-accent);
}

.cta-text > p {
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  font-size: var(--text-lg);
  max-width: 42ch;
}

.cta-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.cta-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border);
}

.cta-detail:last-of-type { border-bottom: 1px solid var(--color-border); }

.cta-detail svg {
  width: 22px;
  height: 22px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.cta-detail-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.2rem;
}

.cta-detail-value {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  line-height: var(--leading-snug);
}

.cta-detail-value a {
  color: var(--color-primary-dark);
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
}

.cta-detail-value a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta-map {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px var(--color-shadow-lg);
}

.cta-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .cta-map { min-height: 340px; }
}

/* ==========================================================================
   SUBPAGES — shared page header
   ========================================================================== */

.page-header {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  padding-bottom: var(--space-lg);
  background: var(--color-dark-bg);
  color: var(--color-text-inverse);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, hsla(358, 65%, 35%, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 100%, hsla(22, 60%, 30%, 0.3) 0%, transparent 55%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--color-text-inverse);
  font-size: clamp(var(--text-5xl), 8vw, var(--text-6xl));
  margin-bottom: var(--space-sm);
  letter-spacing: -0.03em;
  line-height: 1;
}

.page-header h1 em {
  font-style: italic;
  color: var(--color-accent-light);
}

.page-header p {
  color: hsla(38, 28%, 95%, 0.78);
  font-size: var(--text-lg);
  max-width: 60ch;
}

.page-header + .section,
.page-header + main > .section:first-child,
.page-header + .flavours-page,
.page-header + .gallery-section,
.page-header + .contact-main {
  padding-top: var(--space-xl);
}

/* ==========================================================================
   FLAVOURS PAGE
   ========================================================================== */

.flavours-page {
  padding: var(--space-xl) 0 var(--section-pad-md);
  background: var(--color-bg);
}

.flavours-intro {
  max-width: 58ch;
  margin-bottom: var(--space-2xl);
}

.flavours-intro p {
  font-size: var(--text-lg);
  color: var(--color-text-light);
}

.flavours-group {
  margin-bottom: var(--space-2xl);
}

.flavours-group:last-child { margin-bottom: 0; }

.flavours-group-header {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-primary);
}

.flavours-group-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-accent);
  letter-spacing: var(--tracking-wide);
}

.flavours-group-header h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  line-height: 1;
  color: var(--color-primary-dark);
  flex: 1;
}

.flavours-group-header h2 em {
  font-style: italic;
  color: var(--color-accent);
}

.flavours-group-header p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  font-style: italic;
  text-align: right;
  max-width: 24ch;
}

.flavours-group-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm) var(--space-2xl);
}

.flavours-group-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--color-border);
}

.flavours-group-item-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
}

.flavours-group-item-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent);
  white-space: nowrap;
}

.flavours-note-card {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text-light);
  max-width: 64ch;
}

.flavours-note-card strong { color: var(--color-primary-dark); }

@media (max-width: 768px) {
  .flavours-group-header {
    flex-wrap: wrap;
  }
  .flavours-group-header p {
    text-align: left;
    max-width: none;
    flex-basis: 100%;
  }
  .flavours-group-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ===== SERVING OPTIONS (flavours page) ===== */
.serving-options {
  padding: var(--section-pad-md) 0;
  background: var(--color-bg-alt);
}

.serving-options h2 {
  margin-bottom: var(--space-lg);
  max-width: 16ch;
}

.serving-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.serving-card {
  position: relative;
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.serving-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px var(--color-shadow-lg);
}

.serving-card-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-accent);
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-sm);
}

.serving-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  color: var(--color-primary-dark);
}

.serving-card p {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-snug);
}

@media (max-width: 900px) {
  .serving-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   GALLERY PAGE
   ========================================================================== */

.gallery-section {
  padding: var(--space-xl) 0 var(--section-pad-md);
  background: var(--color-bg);
}

.gallery-grid {
  columns: 3;
  column-gap: var(--space-md);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-alt);
  box-shadow: 0 8px 24px -12px var(--color-shadow);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -14px var(--color-shadow-lg);
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.8s var(--ease-out);
}

.gallery-item:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .gallery-grid { columns: 2; }
}

@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: hsla(22, 60%, 6%, 0.94);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  cursor: pointer;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  cursor: default;
  box-shadow: 0 24px 72px hsla(22, 60%, 2%, 0.8);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse);
  cursor: pointer;
  background: hsla(22, 50%, 10%, 0.6);
  border-radius: 50%;
  border: 1px solid hsla(38, 28%, 95%, 0.3);
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-main {
  padding: var(--space-xl) 0 var(--section-pad-md);
  background: var(--color-bg);
}

.contact-split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: var(--space-md);
  max-width: 14ch;
}

.contact-info h2 em {
  font-style: italic;
  color: var(--color-accent);
}

.contact-intro {
  color: var(--color-text-light);
  font-size: var(--text-lg);
  margin-bottom: var(--space-lg);
  max-width: 46ch;
}

.contact-list {
  display: flex;
  flex-direction: column;
}

.contact-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.contact-list-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.contact-list-item-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(358, 65%, 45%, 0.08);
  border-radius: 50%;
}

.contact-list-item-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent);
}

.contact-list-item-text {
  flex: 1;
  min-width: 0;
}

.contact-list-item-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.contact-list-item-value {
  display: block;
  font-size: var(--text-lg);
  color: var(--color-text);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
}

.contact-list-item-value a {
  color: var(--color-primary-dark);
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.contact-list-item-value a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.contact-list-item-note {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

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

.contact-map-wrap {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px var(--color-shadow-lg);
  aspect-ratio: 4 / 5;
  min-height: 520px;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  .contact-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .contact-map-wrap {
    position: static;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

/* ===== CONTACT STOREFRONT STRIP ===== */
.contact-storefront {
  padding: var(--section-pad-sm) 0 var(--section-pad-md);
  background: var(--color-bg-alt);
}

.contact-storefront-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.contact-storefront img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -20px var(--color-shadow-lg);
}

.contact-storefront-caption {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-primary-dark);
  max-width: 52ch;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-storefront img { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
  background: var(--color-dark-bg);
  color: var(--color-text-inverse);
  padding: var(--section-pad-sm) 0 var(--space-lg);
  border-top: 1px solid hsla(22, 30%, 35%, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-text-inverse);
  display: block;
  margin-bottom: var(--space-sm);
  letter-spacing: var(--tracking-tight);
}

.footer-brand-name em {
  font-style: italic;
  color: var(--color-accent-light);
}

.footer-tagline {
  color: hsla(38, 28%, 95%, 0.6);
  font-size: var(--text-sm);
  max-width: 32ch;
  line-height: var(--leading-snug);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col a {
  color: hsla(38, 28%, 95%, 0.72);
  font-size: var(--text-sm);
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--color-text-inverse); }

.footer-bottom {
  border-top: 1px solid hsla(22, 30%, 35%, 0.3);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: hsla(38, 28%, 95%, 0.4);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .footer-bottom { justify-content: flex-start; }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}
