/* ==========================================================================
   Ampler Restaurant Group — design system
   ========================================================================== */

/* ----- Accessibility primitives (WCAG 2.1 AA) ----- */
/* Visible focus ring that meets 3:1 contrast against the surrounding UI */
:focus-visible {
  outline: 2px solid #1f4ed8;
  outline-offset: 2px;
  border-radius: 3px;
}
/* Skip-to-content link — visible only when focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1rem;
  z-index: 9999;
  text-decoration: underline;
  font-weight: 500;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
/* Honor reduced-motion preference for everything */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ----- Reset & base ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ----- Tokens ----- */
:root {
  /* Palette — warm corporate, lets brand colors shine in their sections */
  --bg: #FAF7F2;
  --bg-alt: #F2EDE4;
  --ink: #0E1A2B;
  --ink-soft: #3F4858;       /* darkened for AA contrast on cream backgrounds */
  --ink-muted: #5B6573;       /* darkened for AA contrast */
  --line: rgba(14, 26, 43, 0.10);
  --line-strong: rgba(14, 26, 43, 0.18);
  --accent: #7CB342;        /* Ampler green — drawn from the logo */
  --accent-deep: #4F7B25;
  --accent-soft: #A7D275;
  --gold: #C29545;          /* secondary accent */
  --white: #FFFFFF;
  --dark: #0A1320;          /* near-black for dark sections */

  /* Brand colors (used only on each brand's section/page) */
  --brand-burgers: #D62300;       /* Burger King red */
  --brand-burgers-deep: #502314;
  --brand-chicken: #C1272D;       /* Church's red */
  --brand-chicken-deep: #4A1112;
  --brand-pizza: #FF6600;         /* Little Caesars orange */
  --brand-pizza-deep: #6A2A00;
  --brand-tacos: #702082;         /* Taco Bell purple */
  --brand-tacos-deep: #2E0A38;
  --brand-coffee: #C8102E;        /* legacy 7 Brew red — kept for compatibility */
  --brand-coffee-deep: #4F0712;
  --brand-brew: #1E66F5;          /* Ampler Brew bright blue */
  --brand-brew-deep: #0B3A99;

  /* Type scale */
  --display-xl: clamp(3rem, 7vw, 6rem);
  --display-lg: clamp(2.5rem, 5.5vw, 4.5rem);
  --display-md: clamp(2rem, 4vw, 3.25rem);
  --display-sm: clamp(1.5rem, 2.8vw, 2.25rem);
  --h2: clamp(1.5rem, 2.4vw, 2rem);
  --h3: 1.375rem;
  --body: 1.0625rem;
  --small: 0.9375rem;
  --eyebrow: 0.75rem;

  /* Spacing */
  --gap-xs: 0.5rem;
  --gap-sm: 1rem;
  --gap: 1.5rem;
  --gap-lg: 2.5rem;
  --gap-xl: 4rem;
  --gap-2xl: 6rem;
  --gap-3xl: 9rem;

  /* Layout */
  --container: 1280px;
  --container-narrow: 920px;
  --radius: 4px;
  --radius-lg: 12px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --transition: 0.4s var(--ease);
}

/* ----- Typography ----- */
.serif { font-family: 'Fraunces', 'Tiempos', 'Times New Roman', serif; font-feature-settings: "ss01", "ss02"; letter-spacing: -0.01em; }
.display-xl, h1.display { font-family: 'Fraunces', serif; font-size: var(--display-xl); font-weight: 400; line-height: 1.02; letter-spacing: -0.025em; font-variation-settings: "SOFT" 30, "WONK" 0; }
.display-lg { font-family: 'Fraunces', serif; font-size: var(--display-lg); font-weight: 400; line-height: 1.04; letter-spacing: -0.02em; }
.display-md { font-family: 'Fraunces', serif; font-size: var(--display-md); font-weight: 400; line-height: 1.08; letter-spacing: -0.015em; }
.display-sm { font-family: 'Fraunces', serif; font-size: var(--display-sm); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
h1, h2, h3, h4 { font-weight: 500; }
h2 { font-family: 'Fraunces', serif; font-size: var(--h2); font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: var(--h3); font-weight: 600; line-height: 1.3; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }

/* ----- Layout primitives ----- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) {
  .container, .container-narrow { padding: 0 2.5rem; }
}
section { padding: var(--gap-2xl) 0; }
section.tight { padding: var(--gap-xl) 0; }
section.airy  { padding: var(--gap-3xl) 0; }
.divider { border-top: 1px solid var(--line); }

/* ----- Header / nav ----- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  /* Above Leaflet panes (marker=600, popup=700) so dropdowns
     are never covered by the map on the About + brand pages. */
  z-index: 1000;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.dark {
  background: rgba(10, 19, 32, 0.85);
  color: var(--bg);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .nav { padding: 0 2.5rem; } }

.brand-mark {
  display: flex;
  align-items: center;
  height: 36px;
  line-height: 1;
}
.brand-mark img {
  height: 32px;
  width: auto;
  display: block;
  transition: opacity var(--transition);
}
.brand-mark .logo-light { display: block; }
.brand-mark .logo-dark  { display: none;  }
.site-header.dark .brand-mark .logo-light { display: none;  }
.site-header.dark .brand-mark .logo-dark  { display: block; }
.brand-mark:hover img { opacity: 0.85; }

.nav-list { display: none; gap: 2rem; align-items: center; }
.nav-list a { font-size: 0.9375rem; font-weight: 500; transition: color var(--transition); position: relative; }
.nav-list > li > a:hover { color: var(--accent); }
.nav-list .dropdown { position: relative; }
.nav-list .dropdown > button {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.9375rem; font-weight: 500;
}
.nav-list .dropdown > button::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transition);
}
.nav-list .dropdown:hover > button::after,
.nav-list .dropdown:focus-within > button::after { transform: translateY(2px) rotate(225deg); }
.nav-list .dropdown-menu {
  position: absolute; top: 100%; left: -1rem;
  /* Above Leaflet's popup pane (700) — needed because the dropdown
     creates its own stacking context that the map could otherwise cover. */
  z-index: 1100;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.6rem;
  min-width: 240px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-list .dropdown:hover .dropdown-menu,
.nav-list .dropdown.open .dropdown-menu,
.nav-list .dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-list .dropdown-menu a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--ink);
  transition: background var(--transition);
}
.nav-list .dropdown-menu a:hover { background: var(--bg-alt); color: var(--accent); }

.nav-cta-group { display: flex; align-items: center; gap: 1rem; }
.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 1024px) {
  .nav-list { display: flex; }
  .nav-toggle { display: none; }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  /* Above Leaflet panes (max ~700) and just under the fixed header. */
  z-index: 999;
  padding: 92px 1.5rem 2rem;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform var(--transition);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 1.1rem 0.25rem; font-size: 1.25rem; font-family: 'Fraunces', serif; }
.mobile-nav .sub { padding-left: 1rem; font-size: 1rem; font-family: 'Inter', sans-serif; color: var(--ink-soft); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--accent); }
.btn-secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: var(--accent); color: var(--bg); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; font-size: 0.9375rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap var(--transition), color var(--transition);
}
.btn-ghost:hover { gap: 0.85rem; color: var(--accent); }
.btn-ghost::after {
  content: '→';
  transition: transform var(--transition);
}
.btn-ghost:hover::after { transform: translateX(4px); }
.btn-sm { padding: 0.65rem 1.25rem; font-size: 0.875rem; }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 110px 0 var(--gap-2xl);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--bg);
  background: var(--dark);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,19,32,0.55) 0%, rgba(10,19,32,0.35) 35%, rgba(10,19,32,0.85) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .hero-inner { padding: 0 2.5rem; } }
.hero h1 { max-width: 18ch; margin-bottom: 1.5rem; }
.hero .lede { color: rgba(250, 247, 242, 0.8); max-width: 50ch; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-top: 2.5rem; }
.hero-eyebrow { color: rgba(250, 247, 242, 0.85); margin-bottom: 1.5rem; }
.hero-eyebrow::before { background: rgba(250, 247, 242, 0.6); opacity: 1; }

/* Light hero variant — used on the home page so the green Ampler logo
   in the (non-dark) site header reads cleanly. The hero video stays for
   energy, but a cream-tinted scrim and ink-on-cream typography replace
   the heavy navy wash. */
.hero.hero-light { color: var(--ink); background: var(--bg); }
.hero.hero-light .hero-media::after {
  background:
    linear-gradient(180deg,
      rgba(250,247,242,0.92) 0%,
      rgba(250,247,242,0.72) 35%,
      rgba(250,247,242,0.55) 100%);
}
.hero.hero-light .lede { color: var(--ink-soft); }
.hero.hero-light .hero-eyebrow { color: var(--ink-soft); }
.hero.hero-light .hero-eyebrow::before { background: var(--ink-soft); }

/* ----- Locations map (Leaflet) ----- */
.locations-map { height: 520px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 24px rgba(14,26,43,.08); }
@media (max-width: 640px) { .locations-map { height: 380px; } }
.locations-map__empty { padding: 2rem; text-align: center; color: var(--ink-soft); }
.leaflet-popup-content {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0.5rem 0.6rem;
}
.loc-popup__brand {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.loc-popup__store {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.4rem;
}
.loc-popup__note {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 0.4rem;
  font-style: italic;
}
.ampler-pin { background: none !important; border: none !important; }
.ampler-pin svg { display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25)); }
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.map-legend li { display: flex; align-items: center; gap: 0.5rem; }
.map-legend__swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(14,26,43,0.4);
}

/* ----- Sections ----- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: var(--gap-xl);
  max-width: 60ch;
}
.section-head.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.section-head.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: none;
  align-items: end;
}
@media (min-width: 768px) {
  .section-head.split {
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
  }
}

/* ----- Stat cluster ----- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.5rem;
}
.stat-num small { font-size: 0.5em; vertical-align: super; opacity: 0.7; margin-left: 0.1em; }
.stat-label {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ----- Brand portfolio grid ----- */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 640px) { .brand-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .brand-grid { grid-template-columns: repeat(5, 1fr); } }

.brand-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: var(--bg);
  padding: 2.25rem 1.75rem 2rem;
  min-height: 320px;
  overflow: hidden;
  transition: background var(--transition);
  text-decoration: none;
  color: var(--ink);
}
.brand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.brand-card:hover { color: white; }
.brand-card:hover::before { transform: translateY(0); }
.brand-card > * { position: relative; z-index: 1; }
.brand-card-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.brand-card:hover .brand-card-eyebrow { color: rgba(255,255,255,0.7); }
.brand-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.brand-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 0;
  transition: color var(--transition);
}
.brand-card:hover p { color: rgba(255,255,255,0.9); }
.brand-card-foot {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}
.brand-card-foot .count {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 400;
}
.brand-card-foot .arrow {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bg);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.brand-card:hover .arrow { background: var(--bg); color: var(--brand); transform: rotate(-45deg); }

/* Brand color tokens for cards (set via class) */
.brand-card.burgers { --brand: var(--brand-burgers); }
.brand-card.chicken { --brand: var(--brand-chicken); }
.brand-card.pizza   { --brand: var(--brand-pizza);   }
.brand-card.tacos   { --brand: var(--brand-tacos);   }
.brand-card.coffee  { --brand: var(--brand-coffee);  }
.brand-card.brew    { --brand: var(--brand-brew);    }

/* ----- Brand page hero & accent ----- */
.brand-hero {
  position: relative;
  padding: 160px 0 var(--gap-2xl);
  color: var(--bg);
  background: var(--brand-deep, var(--dark));
  overflow: hidden;
}
.brand-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0; height: 40%;
  background: linear-gradient(180deg, transparent, var(--brand-deep, var(--dark)));
  z-index: 1;
}
.brand-hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.55;
}
.brand-hero-media video, .brand-hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.brand-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) { .brand-hero-inner { padding: 0 2.5rem; } }
.brand-hero h1 { font-family: 'Fraunces', serif; font-size: var(--display-lg); font-weight: 400; line-height: 1.04; max-width: 14ch; }
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  color: var(--bg);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.brand-burgers-page { --brand: var(--brand-burgers); --brand-deep: var(--brand-burgers-deep); }
.brand-chicken-page { --brand: var(--brand-chicken); --brand-deep: var(--brand-chicken-deep); }
.brand-pizza-page   { --brand: var(--brand-pizza);   --brand-deep: var(--brand-pizza-deep);   }
.brand-tacos-page   { --brand: var(--brand-tacos);   --brand-deep: var(--brand-tacos-deep);   }
.brand-coffee-page  { --brand: var(--brand-coffee);  --brand-deep: var(--brand-coffee-deep);  }
.brand-brew-page    { --brand: var(--brand-brew);    --brand-deep: var(--brand-brew-deep);    }
.brand-burgers-page .btn:hover, .brand-chicken-page .btn:hover, .brand-pizza-page .btn:hover, .brand-tacos-page .btn:hover, .brand-coffee-page .btn:hover, .brand-brew-page .btn:hover { background: var(--brand); }

/* ----- Leadership grid ----- */
.lead-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.25rem;
}
@media (min-width: 640px) { .lead-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .lead-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 1.5rem; } }

.lead {
  display: flex;
  flex-direction: column;
}
.lead-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}
.lead-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.lead:hover .lead-photo img { transform: scale(1.04); }
.lead-name {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  letter-spacing: -0.005em;
}
.lead-title {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ----- News list ----- */
.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: background var(--transition);
}
@media (min-width: 768px) {
  .news-item { grid-template-columns: 110px 1fr 240px; gap: 2rem; align-items: center; }
}
.news-item:hover { background: var(--bg-alt); padding-left: 1rem; padding-right: 1rem; margin-left: -1rem; margin-right: -1rem; }
.news-date { font-size: 0.875rem; color: var(--ink-muted); letter-spacing: 0.04em; }
.news-title { font-family: 'Fraunces', serif; font-size: 1.4rem; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.news-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  display: none;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .news-thumb { display: block; } }

/* ----- Cards (generic) ----- */
.card {
  background: var(--bg);
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.card.dark { background: var(--dark); color: var(--bg); border-color: rgba(255,255,255,0.08); }

/* ----- Values ----- */
.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 768px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value {
  background: var(--bg);
  padding: 2rem 1.75rem;
}
.value-letter {
  font-family: 'Fraunces', serif;
  font-size: 4rem;
  line-height: 1;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 1rem;
}
.value h3 { margin-bottom: 0.5rem; font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 400; }

/* ----- Career path / steps ----- */
.career-path { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
@media (min-width: 768px) { .career-path { grid-template-columns: repeat(7, 1fr); gap: 0; } }
.step {
  position: relative;
  padding: 1.5rem 1rem 1.5rem 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .step { padding: 1.5rem 1rem 1.5rem 0; border-top: none; border-left: 1px solid var(--line); padding-left: 1rem; }
  .step:first-child { border-left: 1px solid var(--line); }
}
.step-num {
  display: inline-block;
  font-family: 'Fraunces', serif;
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.step h4 { font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 500; margin-bottom: 0.4rem; }
.step p { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.45; }

/* ----- Benefits ----- */
.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.benefit h4 { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 500; margin-bottom: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 0.6rem; }
.benefit h4 svg { width: 22px; height: 22px; color: var(--accent); }
.benefit ul li { padding: 0.4rem 0; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.45; }

/* ----- Apply tiles ----- */
.apply-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 640px) { .apply-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .apply-tiles { grid-template-columns: repeat(5, 1fr); } }
.apply-tile {
  background: var(--bg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  position: relative;
  transition: background var(--transition), color var(--transition);
}
.apply-tile:hover { background: var(--brand); color: white; }
.apply-tile-name { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 400; }
.apply-tile-meta { font-size: 0.8125rem; color: var(--ink-muted); transition: color var(--transition); }
.apply-tile:hover .apply-tile-meta { color: rgba(255,255,255,0.85); }
.apply-tile-arrow { margin-top: auto; font-size: 1.5rem; line-height: 1; }
.apply-tile.burgers { --brand: var(--brand-burgers); }
.apply-tile.chicken { --brand: var(--brand-chicken); }
.apply-tile.pizza   { --brand: var(--brand-pizza);   }
.apply-tile.tacos   { --brand: var(--brand-tacos);   }
.apply-tile.coffee  { --brand: var(--brand-coffee);  }
.apply-tile.brew    { --brand: var(--brand-brew);    }

/* ----- Marquee / logo strip ----- */
.brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brand-strip span {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ----- Story columns ----- */
.story-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .story-cols { grid-template-columns: 1.2fr 1fr; gap: 5rem; } }
.story-cols img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* ----- Quote ----- */
.quote {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 32ch;
}
.quote::before { content: '"'; display: inline; }
.quote::after { content: '"'; display: inline; }
.quote-attr { display: block; margin-top: 1.5rem; font-family: 'Inter', sans-serif; font-size: 0.875rem; color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase; font-style: normal; }

/* ----- Image gallery ----- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* ----- Form ----- */
form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 0.4rem; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 0.75rem 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--transition);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.checkbox { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--ink-soft); line-height: 1.45; }
.checkbox input { margin-top: 0.2rem; }

/* ----- Footer ----- */
.site-footer {
  background: var(--dark);
  color: var(--bg);
  padding: 5rem 0 2rem;
}
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .footer-inner { padding: 0 2.5rem; } }

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; } }
.footer-logo { display: block; height: 36px; width: auto; margin-bottom: 2rem; }
.footer-brand { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 400; line-height: 1.05; letter-spacing: -0.015em; max-width: 14ch; margin-bottom: 1.5rem; }
.footer-tagline { font-size: 0.95rem; color: rgba(250,247,242,0.65); margin-bottom: 2rem; max-width: 30ch; }
.footer-col h4 { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(250,247,242,0.55); margin-bottom: 1.25rem; font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.95rem; color: rgba(250,247,242,0.85); transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  color: rgba(250,247,242,0.5);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-legal { display: flex; gap: 1.5rem; }

/* ----- Utilities & motion ----- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-stagger.in-view > * { opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.in-view > *:nth-child(9) { transition-delay: 0.64s; }

.dark-section { background: var(--dark); color: var(--bg); }
.dark-section .eyebrow { color: rgba(250,247,242,0.65); }
.dark-section .lede { color: rgba(250,247,242,0.75); }
.dark-section .stat-num { color: var(--bg); }
.dark-section .stats { border-color: rgba(255,255,255,0.1); }
.dark-section .stat { border-color: rgba(255,255,255,0.1); }
.dark-section .stat-label { color: rgba(250,247,242,0.55); }
.dark-section .btn { background: var(--bg); color: var(--ink); }
.dark-section .btn:hover { background: var(--accent); color: var(--bg); }
.dark-section .btn-secondary { background: transparent; color: var(--bg); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
.dark-section .btn-secondary:hover { background: var(--bg); color: var(--ink); }
.dark-section .btn-ghost:hover { color: var(--accent); }

.muted { color: var(--ink-muted); }
.tight-text { max-width: 60ch; }
.text-center { text-align: center; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* Mobile-only top spacing for non-hero pages */
.page-top {
  padding-top: 140px;
  padding-bottom: var(--gap-xl);
  border-bottom: 1px solid var(--line);
}
.page-top h1 { max-width: 16ch; margin-bottom: 1rem; }
