/* ==========================================================================
   El Cevichon Mariscos — Shared stylesheet
   Premium dark editorial seafood restaurant site.
   Organization:
     1. Tokens        5. Buttons        9.  Specialties
     2. Reset/base    6. Header/nav     10. Feature / About
     3. Layout        7. Footer         11. Hours & Location
     4. Typography    8. Hero           12. Contact page / Utilities
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  /* Brand */
  --brand-red: #fc080e;
  --brand-blue: #02a8f5;
  --brand-orange: #fc6006;

  /* Surfaces (dark-only design) */
  --bg: #090b10;
  --bg-alt: #10141b;
  --surface: #151a22;
  --surface-hi: #1b212b;

  /* Text */
  --text: #f6f7fb;
  --text-dim: #bcc4d0;
  --text-on-accent: #0a0603; /* near-black for use on orange/red panels */

  /* Lines */
  --line: #303744;
  --line-soft: rgba(246, 247, 251, 0.08);

  /* Accents tuned for AA contrast on dark surfaces */
  --accent-blue: #3fc0ff;   /* ~9:1 on --bg, used for small text */
  --accent-orange: #ff7a2a; /* ~7:1 on --bg */
  --focus: #ffffff;

  --grad-fire: linear-gradient(103deg, var(--brand-red) 0%, var(--brand-orange) 100%);
  --grad-tide: linear-gradient(103deg, var(--brand-blue) 0%, #0b63d6 100%);

  /* Type */
  --font-display: "Barlow Condensed", "Haettenschweiler", "Arial Narrow",
    ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.4vw, 4.6rem);
  --step-5: clamp(3.1rem, 2rem + 5.2vw, 6.4rem);

  /* Space */
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8.5rem);
  --maxw: 1280px;
  --radius: 14px;
  --radius-lg: 22px;

  --header-h: 88px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Keep anchor targets clear of the sticky header */
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.68;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* <picture> must carry the height through, or an img with height:100% inside
   it resolves against an auto-height box and ignores object-fit. */
picture { height: 100%; }

a { color: inherit; }

/* Long words break rather than overflow when text is scaled up to 200%. */
h1, h2, h3, h4 { margin: 0; text-wrap: balance; overflow-wrap: break-word; }
p { margin: 0; text-wrap: pretty; overflow-wrap: break-word; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--brand-orange); color: var(--text-on-accent); }

.skip-link {
  position: absolute;
  left: 12px;
  top: -200px;
  z-index: 200;
  padding: 0.85rem 1.3rem;
  background: var(--text);
  color: #0a0d12;
  font-weight: 700;
  border-radius: 8px;
  transition: top 0.18s var(--ease);
}
.skip-link:focus-visible { top: 12px; outline-offset: 3px; }

.icon-sprite { position: absolute; }

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

/* 3. LAYOUT ================================================================ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 920px; }

.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }

/* Grid/flex children default to min-width:auto, which lets wide content push
   a track past the viewport. Zeroing it keeps every layout inside the page,
   including at 200% text size. */
.split > *,
.feature-grid > *,
.hours-grid > *,
.map-block > *,
.cards > *,
.contact-cards > *,
.social-grid > *,
.footer-grid > *,
.hero-inner > * { min-width: 0; }

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

/* 4. TYPOGRAPHY ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--grad-fire);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.display--xl { font-size: var(--step-5); }
.display--lg { font-size: var(--step-4); }
.display--md { font-size: var(--step-3); }
.display--sm { font-size: var(--step-2); line-height: 1; }

.lede {
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 56ch;
}
.body-dim { color: var(--text-dim); max-width: 62ch; }
.body-dim + .body-dim { margin-top: 1.1rem; }

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lede { margin-top: 1.4rem; }

/* 5. BUTTONS =============================================================== */
.btn {
  --btn-bg: var(--grad-fire);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  max-width: 100%;
  padding: 0.9rem 1.7rem;
  text-align: center;
  overflow-wrap: break-word;
  background: var(--btn-bg);
  color: var(--text-on-accent);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background-color 0.22s var(--ease), color 0.22s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(252, 96, 6, 0.9); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(246, 247, 251, 0.45);
}
.btn--ghost:hover {
  border-color: var(--text);
  background: rgba(246, 247, 251, 0.07);
  box-shadow: none;
}

.btn--blue { --btn-bg: var(--grad-tide); color: #ffffff; }
.btn--blue:hover { box-shadow: 0 12px 30px -14px rgba(2, 168, 245, 0.9); }

.btn--dark {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid transparent;
}
.btn--dark:hover { box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.95); }

.btn--lg { min-height: 60px; padding: 1.05rem 2.3rem; font-size: var(--step-0); }
.btn--full { width: 100%; }

.btn .ext-icon { width: 15px; height: 15px; flex: none; }

/* Text link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-orange);
  text-decoration: none;
  padding-block: 0.4rem;
}
.link-arrow span { border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* 6. HEADER / NAV ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 11, 16, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-stuck { background: rgba(9, 11, 16, 0.97); border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
  transition: height 0.3s var(--ease);
}
.site-header.is-stuck .header-inner { height: calc(var(--header-h) - 16px); }

.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img {
  width: auto;
  height: 64px;
  transition: height 0.3s var(--ease);
}
.site-header.is-stuck .brand img { height: 52px; }

@media (max-width: 860px) {
  .brand img { height: 50px; }
  .site-header.is-stuck .brand img { height: 44px; }
  .site-header.is-stuck .header-inner { height: calc(var(--header-h) - 8px); }
}

.nav { margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(0.4rem, 1.4vw, 1.3rem); }
.nav-list a {
  display: block;
  padding: 0.65rem 0.55rem;
  white-space: nowrap;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--grad-fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.26s var(--ease);
}
.nav-list a:hover { color: var(--text); }
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after,
.nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a[aria-current="page"],
.nav-list a.is-active { color: var(--text); }

.header-cta { flex: none; }

/* The in-panel CTA stack belongs to the mobile nav only */
.nav-mobile-cta { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-inline-start: auto;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1240px) {
  .nav-list a { letter-spacing: 0.04em; padding-inline: 0.4rem; }
}

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .header-cta--desktop { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 2rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: block; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line-soft); }
  .nav-list a {
    padding: 1.05rem 0.2rem;
    font-size: var(--step-0);
    color: var(--text);
  }
  .nav-list a::after { left: 0.2rem; right: auto; width: 32px; bottom: 0.7rem; }
  .nav-mobile-cta { margin-top: 1.6rem; display: grid; gap: 0.75rem; }
}

/* 7. HERO ================================================================== */
.hero { position: relative; overflow: hidden; background: var(--bg); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Stacked layouts crop a wide band out of a portrait photo, so sit a little
     higher to keep the garnish in frame. */
  object-position: center 32%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Solid at the base so the overlapping headline keeps full contrast no
     matter how bright the photograph is there. */
  background: linear-gradient(to top,
    var(--bg) 0%,
    rgba(9, 11, 16, 0.98) 9%,
    rgba(9, 11, 16, 0.82) 20%,
    rgba(9, 11, 16, 0.42) 44%,
    rgba(9, 11, 16, 0.14) 74%,
    rgba(9, 11, 16, 0.04) 100%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 1.1rem;
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .fire {
  background: var(--grad-fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Fallback for engines without background-clip:text */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .fire { color: var(--accent-orange); }
}

.hero-copy { max-width: 46ch; margin-bottom: 2.2rem; }

.hero-meta {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 2.4rem;
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.hero-meta svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--accent-blue); }
.hero-meta a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.hero-meta a:hover { color: var(--text); border-bottom-color: var(--accent-blue); }

/* Mobile-first hero: photo on top, type below. The source order puts the
   headline first for assistive tech; flex order moves the photo above it. */
.hero-inner { display: flex; flex-direction: column; }
/* A definite height here is what lets the image's height:100% + object-fit
   resolve; without it the photo renders at natural size and spills past the
   gradient. */
.hero-media {
  order: -1;
  height: min(112vw, 56vh);
  min-height: 260px;
  overflow: hidden;
}
.hero-content {
  order: 1;
  padding-block: clamp(1.5rem, 5vw, 2.5rem) var(--section-y);
  margin-top: -2rem;
}

@media (min-width: 900px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: stretch;
    gap: clamp(2rem, 4vw, 4.5rem);
    width: 100%;
    /* Content column aligns with the site container; the photo bleeds to the
       right edge of the viewport. */
    padding-inline-start: max(var(--gutter), calc((100vw - var(--maxw)) / 2));
  }
  .hero-content {
    order: 0;
    margin-top: 0;
    /* .wrap supplies the gutter on mobile; on desktop .hero-inner owns it. */
    padding-inline: 0 clamp(1rem, 2.5vw, 2.5rem);
    padding-block: clamp(4.5rem, 8vw, 8rem);
    align-self: center;
    max-width: 46rem;
  }
  .hero-media img { object-position: center 42%; }
  .hero-media {
    order: 0;
    height: auto;
    min-height: min(84vh, 820px);
    border-start-start-radius: var(--radius-lg);
    border-end-start-radius: var(--radius-lg);
    overflow: hidden;
  }
  .hero-media::after {
    background: linear-gradient(to right, var(--bg) 0%, rgba(9, 11, 16, 0.42) 18%, rgba(9, 11, 16, 0) 52%);
  }
  /* Thin brand rule anchoring the type column */
  .hero-content::before {
    content: "";
    position: absolute;
    left: calc(var(--gutter) * -0.55);
    top: clamp(4.5rem, 8vw, 8rem);
    bottom: clamp(4.5rem, 8vw, 8rem);
    width: 3px;
    background: linear-gradient(to bottom, var(--brand-blue), var(--brand-orange) 55%, transparent);
    border-radius: 3px;
  }
}

.scroll-cue {
  display: none;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
}
.scroll-cue svg { width: 16px; height: 16px; animation: nudge 2.4s var(--ease) infinite; }
.scroll-cue:hover { color: var(--text); }
@media (min-width: 900px) { .scroll-cue { display: inline-flex; } }

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* 8. SPLIT EDITORIAL BLOCKS ================================================ */
.split {
  display: grid;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--media-first .split-media { order: -1; }
  .split--wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.split-media--tall img { aspect-ratio: 4 / 5; }
.split-media--wide img { aspect-ratio: 3 / 2; }

/* Restrained brand accent bar beside editorial imagery */
.split-media::before {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  inset-inline-start: -14px;
  width: 4px;
  border-radius: 4px;
  background: var(--grad-fire);
}
@media (max-width: 879px) { .split-media::before { inset-inline-start: -8px; top: 1.2rem; bottom: 1.2rem; } }

.split-body .eyebrow { margin-bottom: 1.2rem; }
.split-body .display { margin-bottom: 1.6rem; }
.split-body .cta-row { margin-top: 2.2rem; }

/* 9. SPECIALTIES =========================================================== */
.cards {
  display: grid;
  gap: clamp(1.1rem, 2.2vw, 1.8rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--grad-fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  z-index: 3;
}
.card:hover, .card:focus-within { transform: translateY(-6px); border-color: rgba(246, 247, 251, 0.2); }
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }

.card-media { position: relative; overflow: hidden; }
.card-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.card:hover .card-media img, .card:focus-within .card-media img { transform: scale(1.05); }
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 11, 16, 0.78) 0%, rgba(9, 11, 16, 0) 55%);
}

.card-body { padding: clamp(1.3rem, 2.4vw, 1.7rem); display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: var(--step-2); margin-bottom: 0.75rem; }
.card-body p { color: var(--text-dim); font-size: 0.97rem; line-height: 1.6; }
.card-body .link-arrow { margin-top: auto; padding-top: 1.3rem; }

/* Card link covers the whole card without trapping inner text selection */
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* This frame's subject sits low in the original photo. */
.card-media img.focus-low { object-position: center 64%; }

.card-index {
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 1rem;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(246, 247, 251, 0.55);
  letter-spacing: 0.04em;
}

/* Gentle asymmetry on wide screens */
@media (min-width: 1100px) {
  .cards--stagger { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
  .cards--stagger > :nth-child(even) { margin-top: 3.2rem; }
}

.cards-footer {
  margin-top: clamp(2.5rem, 5vw, 3.6rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  align-items: center;
  justify-content: space-between;
}
.cards-footer p { color: var(--text-dim); font-size: var(--step--1); max-width: 44ch; }

/* 10. SIGNATURE FEATURE ==================================================== */
.feature { position: relative; }
.feature-grid {
  display: grid;
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.feature-panel {
  background: var(--grad-fire);
  color: var(--text-on-accent);
  padding: clamp(2.2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature-panel .eyebrow { color: rgba(10, 6, 3, 0.82); }
.feature-panel .eyebrow::before { background: rgba(10, 6, 3, 0.82); }
.feature-panel h2 { margin-bottom: 1.4rem; }
.feature-panel p { color: rgba(10, 6, 3, 0.9); max-width: 44ch; font-weight: 500; }
.feature-panel .btn { margin-top: 2.2rem; align-self: flex-start; }

@media (min-width: 880px) {
  .feature-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .feature-media img { aspect-ratio: auto; min-height: 520px; }
}

/* 11. HOURS & LOCATION ===================================================== */
.hours-grid {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .hours-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: min(clamp(1.5rem, 3vw, 2.4rem), 7vw);
}
.panel--flush { padding: 0; overflow: hidden; }
.panel-body { padding: min(clamp(1.5rem, 3vw, 2.4rem), 7vw); }

/* Extra separation when a CTA row follows a block of details. */
.cta-row--spaced { margin-top: clamp(1.5rem, 3.5vw, 2.2rem); }

.panel-title {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

/* Live open/closed status */
.status {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 1.4rem;
}
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
  flex: none;
}
/* Status is communicated by text as well as colour and icon */
.status[data-state="open"] { border-color: #2fd36b; }
.status[data-state="open"] .status-dot { background: #2fd36b; }
.status[data-state="closed"] { border-color: var(--accent-orange); }
.status[data-state="closed"] .status-dot { background: var(--accent-orange); }
.status-icon { width: 15px; height: 15px; flex: none; }

.hours-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding: 0.78rem 0.85rem;
  border-radius: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.98rem;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li > * { min-width: 0; }
.hours-list .day { color: var(--text-dim); letter-spacing: 0.04em; overflow-wrap: break-word; }
.hours-list .time { font-variant-numeric: tabular-nums; font-weight: 500; }
.hours-list .time.is-closed { color: var(--text-dim); }

.hours-list li.is-today {
  background: rgba(2, 168, 245, 0.1);
  border-bottom-color: transparent;
  box-shadow: inset 2px 0 0 var(--brand-blue);
}
.hours-list li.is-today .day { color: var(--text); font-weight: 700; }
.today-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-inline-start: 0.5rem;
}

.hours-note {
  margin-top: 1.4rem;
  font-size: var(--step--1);
  color: var(--text-dim);
  line-height: 1.55;
}

.info-block + .info-block { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); }
.info-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.6rem;
}
.info-block address { font-style: normal; line-height: 1.65; }
.info-block a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.info-block a:hover { border-bottom-color: var(--accent-orange); }
.info-block .tel { font-size: var(--step-1); font-weight: 700; letter-spacing: 0.02em; }

.location-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* 12. FINAL CTA ============================================================ */
.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: var(--grad-fire);
}
.final-cta::after {
  content: "";
  position: absolute;
  width: min(760px, 110%);
  aspect-ratio: 1;
  left: 50%;
  top: -42%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(252, 96, 6, 0.17) 0%, rgba(252, 96, 6, 0) 62%);
  pointer-events: none;
}
.final-cta .wrap { position: relative; z-index: 1; }
.final-cta h2 { margin-bottom: 1.4rem; }
.final-cta p { color: var(--text-dim); max-width: 52ch; margin-inline: auto; font-size: var(--step-1); }
.final-cta .cta-row { justify-content: center; margin-top: 2.6rem; }
.final-cta .fineprint { margin-top: 1.8rem; font-size: var(--step--1); color: var(--text-dim); }

/* 13. FOOTER =============================================================== */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem) 0;
}
.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.footer-brand { grid-column: 1 / -1; max-width: 34rem; }
@media (min-width: 900px) { .footer-brand { grid-column: span 1; max-width: none; } }

.footer-brand img { height: 112px; width: auto; margin-bottom: 1.3rem; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.footer-brand p { color: var(--text-dim); font-size: 0.95rem; }

.footer-col h2 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 1.2rem;
}
.footer-col li + li { margin-top: 0.1rem; }
/* :not(.btn) so the column's link styling never overrides a button. */
.footer-col a:not(.btn) {
  display: inline-block;
  padding: 0.42rem 0;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.footer-col a:not(.btn):hover { color: var(--text); }
.footer-col address { font-style: normal; color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; }
.footer-col .footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  padding: 0.22rem 0;
}
.footer-col .footer-hours .time { font-variant-numeric: tabular-nums; }

.footer-order { margin-top: 1.5rem; }

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.4rem;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--text-dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.social a:hover { color: var(--text); border-color: var(--text); background: rgba(246, 247, 251, 0.06); }
.social svg { width: 20px; height: 20px; }

/* Compact pill rows at the foot of every page (delivery areas, marketplaces) */
.footer-linkrow {
  margin-top: clamp(2.2rem, 4.5vw, 3.2rem);
  padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 880px) {
  .footer-linkrow { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); }
}
.footer-linkrow > * { min-width: 0; }
.footer-linkrow h2 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.6rem;
}
.footer-linkrow p { color: var(--text-dim); font-size: 0.9rem; max-width: 46ch; }
.footer-linkrow ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-linkrow a {
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-linkrow a:hover { color: var(--text); border-color: var(--text); }
.footer-linkrow a[aria-current="page"] { color: var(--text); border-color: var(--accent-blue); }

.footer-linkrow + .footer-linkrow {
  margin-top: clamp(1.2rem, 2.5vw, 1.8rem);
  padding-top: clamp(1.2rem, 2.5vw, 1.8rem);
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line-soft);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--step--1);
  color: var(--text-dim);
}
.footer-bottom p { margin: 0; }

/* Breathing room above the mobile order bar */
@media (max-width: 760px) { .site-footer { padding-bottom: 4.6rem; } }

/* 14. MOBILE STICKY ORDER BAR ============================================== */
.order-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(9, 11, 16, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .order-bar { display: block; } }
.order-bar .btn { min-height: 50px; }

/* 15. CONTACT PAGE ========================================================= */
.page-hero { position: relative; overflow: hidden; background: var(--bg-alt); }
.page-hero-media { position: absolute; inset: 0; overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9, 11, 16, 0.98) 0%, rgba(9, 11, 16, 0.94) 46%, rgba(9, 11, 16, 0.78) 100%),
    linear-gradient(to bottom, rgba(9, 11, 16, 0.5) 0%, rgba(9, 11, 16, 0) 35%, rgba(9, 11, 16, 0.75) 100%);
}
/* These photos carry signage and menu text of their own; a light blur turns
   them into texture so nothing competes with the headline. */
.page-hero--deep .page-hero-media img {
  filter: blur(3px) saturate(1.08);
  transform: scale(1.05);
}
.page-hero--deep .page-hero-media::after {
  background:
    linear-gradient(100deg, rgba(9, 11, 16, 0.99) 0%, rgba(9, 11, 16, 0.97) 48%, rgba(9, 11, 16, 0.9) 100%),
    linear-gradient(to bottom, rgba(9, 11, 16, 0.6) 0%, rgba(9, 11, 16, 0.2) 40%, rgba(9, 11, 16, 0.92) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero-inner { padding-block: clamp(3rem, 7vw, 6rem); max-width: 60rem; }
.page-hero h1 { margin-bottom: 1.4rem; }

.breadcrumb { margin-bottom: 1.8rem; font-size: var(--step--1); color: var(--text-dim); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem; }
.breadcrumb a { color: var(--text-dim); text-decoration: none; border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--text); border-bottom-color: var(--accent-blue); }
.breadcrumb .sep { color: var(--line); }
.breadcrumb [aria-current="page"] { color: var(--text); }

.contact-cards {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.7rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.contact-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: min(clamp(1.5rem, 3vw, 2.1rem), 7vw);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(246, 247, 251, 0.22); }
.contact-card .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--accent-blue);
  margin-bottom: 1.3rem;
}
.contact-card .icon-badge svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: var(--step-2); margin-bottom: 0.85rem; }
.contact-card address, .contact-card p { font-style: normal; color: var(--text-dim); font-size: 0.97rem; }
.contact-card .tel-lg {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  line-height: 1.05;
}
.contact-card .tel-lg:hover { color: var(--accent-orange); }
.contact-card .btn, .contact-card .link-arrow { margin-top: auto; padding-top: 0; }
.contact-card .btn { margin-top: 1.8rem; align-self: flex-start; }

.map-block { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: center; }
@media (min-width: 900px) { .map-block { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
/* Portrait source: frame the menu board and service window, not the shelf. */
.map-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 38%;
  border-radius: var(--radius-lg);
}

.social-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  margin-top: 2.5rem;
}
.social-tile {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.social-tile:hover { transform: translateY(-3px); border-color: rgba(246, 247, 251, 0.25); }
.social-tile svg { width: 22px; height: 22px; flex: none; color: var(--accent-blue); }
.social-tile .label { font-weight: 600; font-size: 0.97rem; }
.social-tile > span { min-width: 0; }
/* Handles are a single unbreakable token — let them break at large text sizes. */
.social-tile .handle {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 400;
  overflow-wrap: anywhere;
}

/* 16. DIRECT-ORDER / MARKETPLACE PAGES ===================================== */
.lead-block { max-width: 62ch; }
.lead-block .eyebrow { margin-bottom: 1.2rem; }
.lead-block .display { margin-bottom: 1.6rem; }
.lead-block p + p { margin-top: 1.2rem; }
.lead-block .cta-row { margin-top: 2.2rem; }
.lead-block + .statement { margin-top: clamp(2.2rem, 5vw, 3.5rem); }

/* Side-by-side "where the money goes" comparison */
.compare {
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
  align-items: stretch;
}
@media (min-width: 880px) { .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.compare > * { min-width: 0; }

.money-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: min(clamp(1.5rem, 3vw, 2.2rem), 7vw);
}
.money-card--direct { border-color: rgba(2, 168, 245, 0.55); background: var(--surface-hi); }

.money-card .kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.9rem;
}
.money-card--direct .kicker { color: var(--accent-blue); }

.money-card h3 { font-size: var(--step-2); margin-bottom: 0.5rem; }

.money-total {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 0.3rem;
}
.money-card--market .money-total { color: var(--accent-orange); }
.money-card--direct .money-total { color: var(--accent-blue); }
.money-total-note { font-size: var(--step--1); color: var(--text-dim); margin-bottom: 1.6rem; }

/* Proportional bar. Decorative only — the numbers live in the list below. */
.fee-bar {
  display: flex;
  height: 16px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  margin-bottom: 1.4rem;
}
.fee-seg { height: 100%; }
.fee-seg--restaurant { flex: 30; background: var(--brand-red); }
.fee-seg--processing { flex: 3; background: var(--brand-orange); }
.fee-seg--customer { flex: 15; background: #ffb03a; }
.fee-seg--small { flex: 4; background: var(--brand-blue); }
.fee-seg--rest { flex: 52; background: transparent; }
.fee-seg--rest-direct { flex: 96; background: transparent; }

.fee-list { margin-bottom: 1.6rem; }
.fee-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.97rem;
}
.fee-list li:last-child { border-bottom: 0; }
.fee-list li > * { min-width: 0; }
.fee-list .fee-what { color: var(--text-dim); display: flex; align-items: baseline; gap: 0.6rem; }
.fee-list .fee-amount { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Small square keyed to the bar, so the bar is never the only cue. */
.fee-key {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  flex: none;
  transform: translateY(-1px);
}
.fee-key--restaurant { background: var(--brand-red); }
.fee-key--processing { background: var(--brand-orange); }
.fee-key--customer { background: #ffb03a; }
.fee-key--small { background: var(--brand-blue); }

.money-card .outcome {
  margin-top: auto;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.97rem;
  color: var(--text-dim);
}
.money-card--direct .outcome { color: var(--text); }

/* Three short "what your order does" points */
.benefits {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.benefits > * { min-width: 0; }
.benefit {
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: min(clamp(1.3rem, 2.6vw, 1.8rem), 7vw);
}
.section--alt .benefit { background: var(--surface); }
.benefit .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--accent-blue);
  margin-bottom: 1.1rem;
}
.benefit .icon-badge svg { width: 20px; height: 20px; }
.benefit h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.benefit p { color: var(--text-dim); font-size: 0.95rem; }

/* Pull-quote style statement panel */
.statement {
  border-inline-start: 4px solid transparent;
  border-image: var(--grad-fire) 1;
  padding: clamp(1rem, 2.5vw, 1.6rem) 0 clamp(1rem, 2.5vw, 1.6rem) clamp(1.2rem, 3vw, 2rem);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
  max-width: 34ch;
}

/* Links across to the sibling marketplace pages */
.sibling-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}
.sibling-grid > * { min-width: 0; }
.sibling-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.sibling-link:hover { transform: translateY(-3px); border-color: rgba(246, 247, 251, 0.25); }
.sibling-link svg { width: 16px; height: 16px; flex: none; color: var(--accent-blue); }

/* Trademark / fee-range fine print */
.disclaimer {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 78ch;
}
.disclaimer + .disclaimer { margin-top: 0.8rem; padding-top: 0; border-top: 0; }

/* 17. SCROLL REVEAL (progressive enhancement only) ========================= */
.js-reveal { opacity: 1; }
html.js .js-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
html.js .js-reveal.is-visible { opacity: 1; transform: none; }

/* 18. MOTION & FORCED COLORS =============================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html.js .js-reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .contact-card:hover, .social-tile:hover { transform: none; }
}

@media (forced-colors: active) {
  .btn, .social a, .nav-toggle, .status { border: 1px solid ButtonText; }
  .card::before, .eyebrow::before { forced-color-adjust: none; }
}
