/* ============================================================
   Pastaphony — site design system
   Editorial Italian fast-casual. Warm, energetic, premium.
   ============================================================ */

:root {
  /* Brand */
  --orange:       #F0510A;  /* primary brand orange */
  --orange-deep:  #C8341A;  /* tomato red, used for high-contrast text/CTA */
  --orange-soft:  #FFE4D4;  /* hover wash */
  --cream:        #FAF6EE;  /* page bg */
  --cream-deep:   #EEE8DD;  /* section bg variant */
  --espresso:     #2B1810;  /* primary text */
  --charcoal:     #4A3A30;
  --muted:        #6B5E4F;  /* secondary text, AA on cream */
  --border:       #E1D7C4;
  --basil:        #4A6B2B;  /* fresh, AA on cream (6.8:1) */
  --basil-soft:   #DCE6CC;
  --mustard:      #D4A21A;  /* accent highlight */
  --card:         #FFFFFF;
  --shadow-sm:    0 1px 2px rgba(43, 24, 16, 0.06), 0 2px 6px rgba(43, 24, 16, 0.04);
  --shadow-md:    0 6px 20px rgba(43, 24, 16, 0.08), 0 2px 4px rgba(43, 24, 16, 0.04);
  --shadow-lg:    0 20px 50px rgba(43, 24, 16, 0.14), 0 4px 12px rgba(43, 24, 16, 0.06);

  /* Type — Fraunces for display, Inter for UI */
  --font-display: 'Fraunces', 'Times New Roman', 'Georgia', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing rhythm — generous */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --maxw: 1240px;
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;

  /* Strong easing curves (Emil Kowalski / animations.dev) */
  --ease-out-strong:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer:        cubic-bezier(0.32, 0.72, 0, 1);
}

/* Cross-page view transitions (Chrome/Edge — graceful fallback elsewhere) */
@view-transition { navigation: auto; }
::view-transition-old(root) {
  animation: vt-out 240ms var(--ease-out-strong) both;
}
::view-transition-new(root) {
  animation: vt-in 280ms var(--ease-out-strong) both;
}
@keyframes vt-out {
  to { opacity: 0; filter: blur(3px); transform: scale(0.992); }
}
@keyframes vt-in {
  from { opacity: 0; filter: blur(3px); transform: scale(1.008); }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* ----------- Reset / base ----------- */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--espresso);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* subtle paper grain — premium feel without weight */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .35;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.17  0 0 0 0 0.09  0 0 0 0 0.06  0 0 0 .04 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: var(--orange-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }

:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
  border-radius: 6px;
}

/* skip link */
.skip-link {
  position: absolute; top: -100px; left: 8px;
  background: var(--espresso); color: var(--cream);
  padding: 10px 14px; border-radius: 8px; z-index: 999;
  font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ----------- Type ----------- */

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: var(--espresso); }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.015em; }
h4 { font-size: 1.15rem; letter-spacing: -0.01em; }

.display-italic { font-style: italic; }
.display-italic em { font-style: italic; color: var(--orange-deep); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1.5px;
  background: var(--orange-deep);
  vertical-align: middle;
  margin-right: 10px;
}

.lede { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.lede-lg { font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--charcoal); max-width: 60ch; line-height: 1.55; }

/* ----------- Layout helpers ----------- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-5); position: relative; z-index: 1; }
@media (min-width: 768px) { .wrap { padding: 0 var(--space-6); } }
.section { padding: var(--space-9) 0; position: relative; }
@media (min-width: 768px) { .section { padding: var(--space-10) 0; } }
.section--tight { padding: var(--space-8) 0; }

/* ----------- Nav ----------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(250, 246, 238, 0.96); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: var(--space-5);
}
.nav__brand {
  display: inline-flex; align-items: center;
  text-decoration: none; color: var(--espresso);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.nav__brand img.nav__logo {
  height: 46px; width: auto; display: block;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.nav__brand:hover img.nav__logo { transform: rotate(-3deg) scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .nav__brand:hover img.nav__logo { transform: none; }
}
.footer__logo {
  height: 64px; width: auto; display: block; margin-bottom: 12px;
}
.nav__links { display: none; gap: var(--space-6); list-style: none; padding: 0; margin: 0; }
.nav__links a {
  color: var(--espresso); text-decoration: none; font-weight: 500;
  font-size: 0.95rem; padding: 8px 2px; position: relative;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform 240ms var(--ease-out-strong);
}
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__cta { display: none; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
}
.nav__menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--espresso); color: var(--cream);
  border: none; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem;
}
@media (min-width: 900px) { .nav__menu-btn { display: none; } }
.nav__menu-btn:hover { background: #1a0e08; }

/* mobile drawer */
.mobile-drawer {
  position: fixed; inset: 76px 0 0 0; z-index: 49;
  background: var(--cream);
  padding: var(--space-6) var(--space-5);
  transform: translateY(-100%);
  transition: transform 280ms var(--ease-drawer);
  border-top: 1px solid var(--border);
}
.mobile-drawer.is-open { transform: translateY(0); }
.mobile-drawer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.mobile-drawer a {
  display: block; padding: 14px 16px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--espresso); text-decoration: none;
  border: 1px solid var(--border); background: var(--card);
}
.mobile-drawer a[aria-current="page"] { border-color: var(--orange); color: var(--orange-deep); }
@media (prefers-reduced-motion: reduce) {
  .mobile-drawer { transition: none; }
}

/* ----------- Buttons ----------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    transform   160ms var(--ease-out-strong),
    box-shadow  180ms var(--ease-out-strong),
    background  180ms var(--ease-out-strong),
    border-color 180ms var(--ease-out-strong),
    color       180ms var(--ease-out-strong);
  white-space: nowrap;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }
/* Press feedback — instant tactile response (Emil signature) */
.btn:active { transform: scale(0.97); transition-duration: 80ms; }
/* btn--primary uses --orange-deep (#C8341A) not --orange — contrast 5.30:1 passes WCAG AA */
.btn--primary {
  background: var(--orange-deep);
  color: #fff;
  box-shadow: 0 6px 18px rgba(200, 52, 26, 0.32);
}
.btn--primary:hover { background: #a82b15; color: #fff; box-shadow: 0 10px 28px rgba(168, 43, 21, 0.38); }
.btn--ghost {
  background: transparent;
  color: var(--espresso);
  border-color: var(--espresso);
}
.btn--ghost:hover { background: var(--espresso); color: var(--cream); }
.btn--dark {
  background: var(--espresso);
  color: var(--cream);
}
.btn--dark:hover { background: #1a0e08; color: var(--cream); }
.btn--lg { padding: 18px 28px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
/* disabled state: both aria-disabled (legacy) and native disabled */
.btn[aria-disabled="true"],
.btn:disabled {
  opacity: .5; pointer-events: none; cursor: not-allowed;
}
.btn .arrow { transition: transform .25s cubic-bezier(.4, 0, .2, 1); }
.btn:hover .arrow { transform: translateX(4px); }

/* ----------- Hero ----------- */

.hero {
  position: relative;
  padding: var(--space-8) 0 var(--space-9);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: var(--space-9) 0 var(--space-10); } }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-8); }
}

.hero__copy h1 {
  font-style: italic;
}
.hero__copy h1 .accent { color: var(--orange-deep); font-style: normal; font-weight: 800; }
.hero__copy h1 .accent--basil { color: var(--basil); }
.hero__lede { margin-top: var(--space-5); max-width: 52ch; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--border);
  padding: 8px 14px 8px 8px; border-radius: 999px;
  font-size: 0.85rem; color: var(--charcoal);
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
}
.hero__chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5C8A3A;
  box-shadow: 0 0 0 3px rgba(92, 138, 58, 0.18);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(92, 138, 58, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(92, 138, 58, 0.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__chip .dot { animation: none; }
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__meta {
  margin-top: var(--space-6);
  display: flex; flex-wrap: wrap; gap: var(--space-5);
  color: var(--muted); font-size: 0.95rem;
}
.hero__meta strong { color: var(--espresso); font-weight: 700; font-family: var(--font-display); font-size: 1.4rem; }
.hero__meta-item { display: flex; flex-direction: column; gap: 2px; }

/* Hero collage — asymmetric */
.hero__media { position: relative; aspect-ratio: 1 / 1.05; }
@media (min-width: 980px) { .hero__media { aspect-ratio: 1 / 1.15; } }
.hero__photo {
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-deep);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { z-index: 2; box-shadow: var(--shadow-lg); }
.hero__photo--alt {
  inset: auto -8% -6% auto;
  width: 46%; height: 46%;
  z-index: 3;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
  border-radius: var(--radius);
}
.hero__photo--frame {
  inset: -3% auto auto -5%;
  width: 28%; height: 28%;
  z-index: 1;
  background: var(--orange);
  box-shadow: var(--shadow-md);
}
.hero__photo--frame::after {
  content: "";
  position: absolute; inset: 14%;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18) 1px, transparent 1.5px);
  background-size: 12px 12px;
  border-radius: 50%;
}

/* squiggle */
.squiggle {
  position: absolute;
  pointer-events: none;
  color: var(--orange-deep);
  opacity: .8;
}
.squiggle--hero-tl { top: 40px; right: 10%; width: 100px; }

/* ----------- Marquee ----------- */

.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-5) 0;
  overflow: hidden;
  background: var(--cream);
}
.marquee__track {
  display: flex; gap: var(--space-7);
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--espresso);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: var(--space-7);
}
.marquee__track span::after {
  content: ""; display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--orange);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}

/* ----------- Cards (menu / loc / generic) ----------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 700px)  { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px)  { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 700px)  { .cards--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition:
    transform   260ms var(--ease-out-strong),
    box-shadow  240ms var(--ease-out-strong),
    border-color 240ms var(--ease-out-strong);
  position: relative;
  text-decoration: none;
  color: inherit;
}
a.card:active { transform: scale(0.985); transition-duration: 80ms; }
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}
@media (prefers-reduced-motion: reduce) {
  .card:hover { transform: none; }
}

.card__media {
  aspect-ratio: 5 / 4;
  background: var(--cream-deep);
  position: relative;
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.card:hover .card__media img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .card:hover .card__media img { transform: none; }
}
.card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--card); color: var(--espresso);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.card__badge--basil { background: var(--basil); color: #fff; }
.card__badge--orange { background: var(--orange); color: #fff; }
.card__body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card__kicker { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.card__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.card__desc { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card__foot {
  margin-top: var(--space-4); padding-top: var(--space-4);
  border-top: 1px dashed var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.9rem; color: var(--charcoal);
}
.card__foot .arrow {
  width: 28px; height: 28px;
  border-radius: 50%; background: var(--cream-deep);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .25s ease, color .2s ease;
  color: var(--espresso);
}
.card:hover .card__foot .arrow {
  background: var(--orange); color: #fff;
  transform: translateX(4px);
}

/* Location card variant — bigger, more info */
.loc-card .card__media { aspect-ratio: 16 / 10; }
.loc-card .loc-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; line-height: 1.1; margin: 0; color: var(--charcoal); }
.loc-card h2.loc-name { letter-spacing: -0.005em; }
.loc-card .loc-venue { color: var(--orange-deep); font-weight: 600; font-size: 0.95rem; }
.loc-card .loc-addr { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.loc-card .loc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--space-3); }
.loc-card .loc-actions .btn { padding: 10px 16px; font-size: 0.88rem; }
.loc-card.is-coming-soon .card__media { background: linear-gradient(135deg, var(--cream-deep), #E8DEC8); }
.loc-card.is-coming-soon .card__badge { background: var(--mustard); color: #1a0e08; }

/* ----------- Brand intro / split sections ----------- */

.split {
  display: grid; grid-template-columns: 1fr; gap: var(--space-7); align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .split--reverse > *:first-child { order: 2; }
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--cream-deep);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.split__media img,
.split__media video { width: 100%; height: 100%; object-fit: cover; display: block; }

.pillars { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
@media (min-width: 600px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar { display: flex; gap: var(--space-3); }
.pillar__num {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
  color: var(--orange-deep); line-height: 1; min-width: 38px;
}
.pillar__title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.pillar__body { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }

/* ----------- Big CTA banner ----------- */

.cta-banner {
  background: var(--espresso);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute; top: -40%; right: -10%;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,81,10,.35), transparent 65%);
  filter: blur(10px);
}
.cta-banner::after {
  content: "";
  position: absolute; bottom: -50%; left: -10%;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,162,26,.18), transparent 65%);
  filter: blur(10px);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--cream); }
.cta-banner h2 em { font-style: italic; color: var(--orange); }
.cta-banner .lede { color: rgba(250,246,238,0.78); max-width: 56ch; margin: var(--space-4) auto var(--space-6); }

/* ----------- Footer ----------- */

footer.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--border);
  padding: var(--space-8) 0 var(--space-6);
  margin-top: var(--space-9);
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
@media (min-width: 720px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__brand .nav__brand-wordmark { display: block; margin-bottom: 8px; font-size: 1.7rem; }
.footer__brand p { color: var(--muted); font-size: 0.95rem; max-width: 36ch; }
.footer__col h3, .footer__col .footer__h, .footer__col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--charcoal); font-weight: 700; margin: 0 0 var(--space-3); }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: var(--espresso); text-decoration: none; font-size: 0.95rem; }
.footer__col a:hover { color: var(--orange-deep); text-decoration: underline; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between;
  padding-top: var(--space-5); border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.85rem;
}
.footer__socials { display: flex; gap: 10px; }
.footer__socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--espresso);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer__socials a:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }

/* ----------- Reveal-on-scroll ----------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----------- Section headers ----------- */

.section-head {
  display: grid; gap: var(--space-4); margin-bottom: var(--space-7);
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: var(--space-6);
  }
}
.section-head h2 { max-width: 18ch; }
.section-head__intro { color: var(--muted); font-size: 1.05rem; max-width: 48ch; }

/* ----------- Utility ----------- */

.text-center { text-align: center; }
.muted { color: var(--muted); }
.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;
}
.divider-noodle {
  display: block; margin: 0 auto;
  color: var(--orange); opacity: .65; width: 120px;
}

/* ----------- Order-page specific ----------- */

.order-grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .order-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .order-grid { grid-template-columns: repeat(3, 1fr); } }

.order-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-5);
  display: flex; flex-direction: column; gap: var(--space-3);
  transition:
    border-color 220ms var(--ease-out-strong),
    transform    240ms var(--ease-out-strong),
    box-shadow   240ms var(--ease-out-strong);
}
.order-card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.order-card:active { transform: scale(0.985); transition-duration: 80ms; }
@media (prefers-reduced-motion: reduce) { .order-card:hover { transform: none; } }
.order-card .order-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; line-height: 1.1; margin: 0; color: var(--charcoal); }
.order-card h2.order-name { letter-spacing: -0.005em; }
.order-card .order-venue { color: var(--orange-deep); font-weight: 600; font-size: 0.92rem; }
.order-card .order-addr { color: var(--muted); font-size: 0.92rem; }
.order-card .order-hours { color: var(--charcoal); font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.order-card .order-cta-row { display: flex; gap: 8px; margin-top: auto; padding-top: var(--space-3); flex-wrap: wrap; }
.order-card .order-cta-row .btn { flex: 1; padding: 11px 14px; font-size: 0.9rem; }
.order-card.is-soon { background: linear-gradient(135deg, var(--cream-deep), var(--card)); }
.order-card.is-soon .order-cta-row .btn { background: var(--cream); color: var(--muted); border-color: var(--border); pointer-events: none; }

/* ----------- Menu page categories ----------- */

.menu-category { padding: var(--space-7) 0; border-top: 1px solid var(--border); }
.menu-category:first-of-type { border-top: 0; }
.menu-category__head { display: grid; gap: var(--space-2); margin-bottom: var(--space-6); }
.menu-category__items { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 720px) { .menu-category__items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .menu-category__items { grid-template-columns: repeat(3, 1fr); } }

.menu-item { display: grid; grid-template-columns: 1fr; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.menu-item h3 { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; }
.menu-item p { color: var(--muted); font-size: 0.94rem; }
.menu-item .price { color: var(--orange-deep); font-weight: 700; font-family: var(--font-display); font-size: 1.1rem; }

/* =================================================================
   Richer interactivity layer
   ================================================================= */

/* Word-by-word H1 reveal */
.h-reveal { display: inline; }
.h-reveal .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.18em;
}
.h-reveal .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.85s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--i, 0) * 65ms);
}
.h-reveal.is-in .word > span { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .h-reveal .word > span { transform: none; transition: none; }
}

/* Animated number counters in hero meta */
.counter { display: inline-block; font-variant-numeric: tabular-nums; }
.counter[data-target] { will-change: contents; }

/* Magnetic CTA button — JS sets --mx/--my translation */
.btn.magnetic {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn.magnetic:hover { transition-duration: 0.05s; }
.btn.magnetic:not(:hover) { --mx: 0; --my: 0; }
@media (prefers-reduced-motion: reduce) {
  .btn.magnetic { transform: none !important; --mx: 0 !important; --my: 0 !important; }
}

/* Card 3D tilt — JS sets --rx/--ry rotation */
.tilt {
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.tilt:hover { transition-duration: 0.08s; }
.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateZ(0); }
.tilt:hover .card__media img { transform: scale(1.06) translateZ(20px); }
@media (prefers-reduced-motion: reduce) {
  .tilt:hover { transform: none !important; }
  .tilt:hover .card__media img { transform: none !important; }
}

/* SVG path draw-on-view */
.draw {
  stroke-dasharray: var(--path-len, 1000);
  stroke-dashoffset: var(--path-len, 1000);
  transition: stroke-dashoffset 1.4s cubic-bezier(.22, 1, .36, 1);
}
.draw.is-in { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .draw { stroke-dashoffset: 0; transition: none; }
}

/* Sticky brand-intro left column */
@media (min-width: 980px) {
  .split--sticky > *:first-child {
    position: sticky;
    top: 110px;
    align-self: start;
  }
}

/* Pulse "live" dot — already used in hero chip — add second variant */
.live-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #5C8A3A;
  box-shadow: 0 0 0 0 rgba(92, 138, 58, 0.55);
  animation: live-pulse 2s infinite cubic-bezier(.66, .33, 0, 1);
  display: inline-block;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(92, 138, 58, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(92, 138, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 138, 58, 0); }
}
@media (prefers-reduced-motion: reduce) { .live-pulse { animation: none; } }

/* Logo entrance bounce */
.logo-enter {
  animation: logo-enter .9s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes logo-enter {
  from { opacity: 0; transform: translateY(-8px) scale(.92); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}
@media (prefers-reduced-motion: reduce) { .logo-enter { animation: none; } }

/* Floating ambient blobs in CTA banner — already styled. Add subtle drift. */
.cta-banner::before { animation: drift 14s ease-in-out infinite alternate; }
.cta-banner::after  { animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(6%, -6%); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-banner::before, .cta-banner::after { animation: none; }
}

/* Underline-grow on inline links inside .doc + .lede-lg */
.lede-lg a, .doc p a {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .35s cubic-bezier(.22, 1, .36, 1);
}
.lede-lg a:hover, .doc p a:hover {
  background-size: 100% 2px;
}

/* Soft float on hero alt photo, gentle independent of parallax */
@keyframes hover-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero__photo--alt {
  animation: hover-float 5.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero__photo--alt { animation: none; }
}

/* Section eyebrow line draws on enter */
.eyebrow {
  position: relative;
  overflow: hidden;
}
.eyebrow.is-in::before {
  animation: eyebrow-extend .9s cubic-bezier(.22,1,.36,1) both;
}
@keyframes eyebrow-extend {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}
@media (prefers-reduced-motion: reduce) {
  .eyebrow.is-in::before { animation: none; }
}

/* Catering: location phone chips */
.phone-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.phone-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--border);
  padding: 9px 14px; border-radius: 999px;
  font-size: 0.88rem; color: var(--charcoal);
  text-decoration: none;
  transition:
    border-color 200ms var(--ease-out-strong),
    transform    200ms var(--ease-out-strong),
    background   200ms var(--ease-out-strong);
}
.phone-chip:hover { border-color: var(--orange); transform: translateY(-2px); background: var(--orange-soft); color: var(--espresso); }
.phone-chip:active { transform: scale(0.96); transition-duration: 80ms; }
.phone-chip strong { color: var(--espresso); font-weight: 700; }
.phone-chip .num { color: var(--orange-deep); font-weight: 600; }

/* Refined hero meta — count-up emphasis */
.hero__meta-item strong { display: inline-block; transition: transform 320ms var(--ease-out-strong); }
.hero__meta-item:hover strong { transform: translateY(-2px) scale(1.05); }
@media (prefers-reduced-motion: reduce) { .hero__meta-item:hover strong { transform: none; } }

/* =================================================================
   Video feature module (Pasta in motion)
   ================================================================= */
.video-feature {
  background: var(--espresso);
  color: var(--cream);
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}
.video-feature::before {
  content: '';
  position: absolute; top: -30%; right: -20%;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,81,10,.22), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  animation: drift 16s ease-in-out infinite alternate;
}
.video-feature::after {
  content: '';
  position: absolute; bottom: -40%; left: -10%;
  width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,162,26,.14), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
@media (prefers-reduced-motion: reduce) {
  .video-feature::before, .video-feature::after { animation: none; }
}
.video-feature > * { position: relative; z-index: 1; }

.video-feature__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (min-width: 980px) {
  .video-feature__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}
.video-feature__copy h2 {
  color: var(--cream);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
.video-feature__copy h2 em {
  font-style: italic;
  color: var(--orange);
}
.video-feature__copy .eyebrow { color: var(--orange); }
.video-feature__copy .eyebrow::before { background: var(--orange); }
.video-feature__copy .lede {
  color: rgba(250, 246, 238, 0.78);
  margin-top: var(--space-5);
  margin-bottom: var(--space-6);
  max-width: 48ch;
}

.video-feature__player {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.45),
    0 10px 22px rgba(240, 81, 10, 0.20),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  /* Subtle phone-frame device feel */
  border: 6px solid #1a0e08;
}
.video-feature__player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-feature__player::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

/* Floating badge over the video */
.video-feature__badge {
  position: absolute;
  bottom: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 2;
}
.video-feature__badge .live-pulse { background: var(--orange); box-shadow: 0 0 0 0 rgba(240, 81, 10, 0.55); }
@keyframes live-pulse-orange {
  0%   { box-shadow: 0 0 0 0 rgba(240, 81, 10, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(240, 81, 10, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 81, 10, 0); }
}
.video-feature__badge .live-pulse { animation: live-pulse-orange 2s infinite cubic-bezier(.66,.33,0,1); }
@media (prefers-reduced-motion: reduce) {
  .video-feature__badge .live-pulse { animation: none; }
}

/* CTA inside dark section needs adjusted ghost btn */
.video-feature .btn--ghost {
  color: var(--cream);
  border-color: rgba(250, 246, 238, 0.35);
}
.video-feature .btn--ghost:hover {
  background: var(--cream);
  color: var(--espresso);
  border-color: var(--cream);
}

/* ============================================================
   WCAG 2.5.8 — Target Size (Minimum) AA: 24x24 CSS px
   WCAG 2.5.5 — Target Size (Enhanced) AAA: 44x44 CSS px
   ============================================================ */

/* Ensure every interactive element on the site has at least a
   24x24 hit area. Visual size can stay smaller; we expand the
   tap-target via padding-derived sizing. */
a, button, input[type="submit"], input[type="button"], input[type="checkbox"], input[type="radio"], [role="button"] {
  min-height: 24px;
}

/* Footer social icons are visually small (~36px); ensure the link
   itself is at least 44x44 for the AAA tier. */
.footer__socials a {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Footer column links — extend hit area without altering visuals */
.footer__col a {
  display: inline-block;
  padding: 4px 0;
  min-height: 24px;
}

/* Nav links — same approach */
.nav__links a {
  padding: 8px 4px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

/* Inline body links (location anchors, hour links, etc.) — give
   them breathing room so adjacent tap targets aren't <24px apart */
.loc-addr a {
  padding: 2px 0;
  display: inline-block;
  min-height: 24px;
}

/* WCAG 4.1.3 Status Messages — screen-reader-only live region.
   Components can set .textContent on #sr-status to announce
   updates (cart adds, form submits, etc.) without visual noise. */
.sr-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Heading hierarchy aid — keep semantic h3 in footer while
   preserving the visual h4 styling already defined above. */

/* H1 line-break read-aloud fix: insert a space before <br> in H1s
   so screen readers don't merge "menu," and "done" into "menu,done".
   We attach a zero-width-safe space via CSS content. (Visual
   unchanged because the <br> already provides the visual line break.) */
.h-reveal br::before {
  content: " ";
  white-space: pre;
}

