/* ============================================================
   Tony's Pizza & Pasta — The Colony, TX
   Aesthetic: vintage New York pizzeria, rebuilt as warm,
   editorial, modern minimalism. Cream paper, pizza red,
   charcoal ink, sign-painter display type.
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,900;1,9..144,500&family=Libre+Franklin:wght@400;500;600;700&display=swap');

/* ---- Tokens ---- */
:root {
  --cream:       #F6EEDD;
  --cream-deep:  #EFE4CC;
  --paper:       #FFFCF5;
  --white:       #FFFFFF;
  --red:         #C8102E;
  --red-deep:    #9E0C22;
  --green:       #2F5D38;
  --charcoal:    #1B1916;
  --ink:         #2C2823;
  --muted:       #756B5A;
  --line:        #E2D6BC;
  --gold:        #E0A23B;

  --maxw: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -22px rgba(27,25,22,.35);
  --shadow-sm: 0 8px 20px -14px rgba(27,25,22,.4);

  --font-sign: 'Anton', 'Arial Narrow', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Libre Franklin', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 1.0625rem;
  /* subtle paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---- Layout ---- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.eyebrow {
  font-family: var(--font-sign);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; line-height: 1.04; color: var(--charcoal); letter-spacing: -0.01em; }
h2.section-title { font-size: clamp(2rem, 5vw, 3.2rem); margin: .6rem 0 1rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 52ch; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px; font-weight: 700;
  font-size: 1rem; border: 2px solid transparent; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  min-height: 52px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--charcoal); }
.btn-cream:hover { background: #fff; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,238,221,.92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { height: 64px; width: auto; }
.brand b { font-family: var(--font-sign); font-size: 1.25rem; letter-spacing: .02em; color: var(--charcoal); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a { font-weight: 600; font-size: .98rem; color: var(--ink); transition: color .15s; }
.nav-links a:hover { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }
.nav-phone { font-weight: 700; color: var(--charcoal); white-space: nowrap; }
.nav-toggle { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; padding: 0; overflow: hidden;
  background-color: var(--cream-deep);
  /* layered paper: warm top-left sheen + fine fibre grain so the cream
     reads like a sheet of butcher paper, not a flat fill */
  background-image:
    radial-gradient(135% 120% at 0% 0%, rgba(255,252,245,.85), rgba(255,252,245,0) 46%),
    radial-gradient(120% 120% at 100% 100%, rgba(158,12,34,.05), rgba(158,12,34,0) 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7 0.08' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='0.05'/%3E%3C/svg%3E");
}
/* flour dust dusted into the corners: a soft dusting haze with crisp grains
   scattered on top, like powder flicked off a baker's hand */
.flour {
  position: absolute; z-index: 4; pointer-events: none;
  width: clamp(220px, 34vw, 420px); aspect-ratio: 1; opacity: .85;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle at 24% 24%, rgba(255,255,255,.5), rgba(255,255,255,0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='2' seed='11'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 8 -3.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E") center/170px 170px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' seed='4'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 9 -4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E") center/110px 110px;
}
.flour-tl { top: -18px; left: -18px;
  -webkit-mask-image: radial-gradient(circle at 20% 20%, #000 0%, transparent 64%);
          mask-image: radial-gradient(circle at 20% 20%, #000 0%, transparent 64%);
  animation: flourDrift 14s ease-in-out infinite alternate;
}
.flour-br { right: -18px; bottom: -18px; transform: rotate(180deg);
  -webkit-mask-image: radial-gradient(circle at 20% 20%, #000 0%, transparent 64%);
          mask-image: radial-gradient(circle at 20% 20%, #000 0%, transparent 64%);
  animation: flourDrift 17s ease-in-out infinite alternate-reverse;
}
@keyframes flourDrift {
  from { transform: translate(0,0); } to { transform: translate(7px, 5px); }
}
.flour-br { animation-name: flourDriftB; }
@keyframes flourDriftB {
  from { transform: rotate(180deg) translate(0,0); } to { transform: rotate(180deg) translate(7px, 5px); }
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 0.82fr 1fr; align-items: stretch; min-height: 80vh;
}
.hero-copy { padding: clamp(2.5rem, 6vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
.hero-copy .tag {
  font-family: var(--font-sign); text-transform: uppercase; letter-spacing: .14em;
  color: var(--red); font-size: .82rem; margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: .55rem;
}
/* tiny hand-stamped wheat mark before the kicker */
.tag-mark { width: 16px; height: 16px; flex-shrink: 0; opacity: .9;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8102E' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M12 22V8'/%3E%3Cpath d='M12 8c0-3 2-5 5-5 0 3-2 5-5 5z'/%3E%3Cpath d='M12 8c0-3-2-5-5-5 0 3 2 5 5 5z'/%3E%3Cpath d='M12 14c0-2.4 1.8-4 4.5-4 0 2.4-1.8 4-4.5 4z'/%3E%3Cpath d='M12 14c0-2.4-1.8-4-4.5-4 0 2.4 1.8 4 4.5 4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: .98;
}
.hero h1 .script { position: relative; font-style: italic; font-weight: 500; color: var(--red); display: inline-block; }
/* hand-drawn underline under "Homemade" that draws itself in */
.hero h1 .script::after {
  content: ""; position: absolute; left: -1%; right: -3%; bottom: -.16em; height: .26em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='14' viewBox='0 0 220 14' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 34 3 64 12 104 7 S 176 3 217 8' fill='none' stroke='%23C8102E' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform: scaleX(0); transform-origin: left center;
  animation: underlineDraw .8s cubic-bezier(.6,.1,.2,1) 1s forwards;
}
@keyframes underlineDraw { to { transform: scaleX(1); } }
.hero p.sub { margin-top: 1.4rem; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink); max-width: 44ch; }

/* Social proof */
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 1.5rem 0 0; padding: 0; }
.hero-trust li { font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; display: flex; align-items: center; gap: .5rem; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* staggered entrance for the hero copy */
.hero-in { opacity: 0; animation: heroRise .9s cubic-bezier(.2,.75,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes heroRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero-media { position: relative; overflow: hidden; }
.hero-media > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.07) saturate(1.08) brightness(1.02);
  transform: scale(1.02); transform-origin: 62% 48%;
  animation: heroZoom 30s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.11); } }
/* warm directional light raking across the pizza from the top-left, like
   an oven's glow; sits under the vignette */
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 95% at 16% 6%, rgba(255,216,150,.42), rgba(255,196,120,.12) 30%, transparent 58%),
    linear-gradient(118deg, rgba(255,224,170,.16) 0%, transparent 40%);
  mix-blend-mode: screen;
}
/* edge vignette so the food has depth and the slices stay the focal point */
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 180px 14px rgba(18,16,13,.52);
  background:
    radial-gradient(ellipse at 58% 46%, transparent 50%, rgba(18,16,13,.32) 100%),
    linear-gradient(0deg, rgba(18,16,13,.34) 0%, transparent 30%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-media > img { animation: none; transform: none; }
  .flour-tl, .flour-br { animation: none; }
  .hero-in { animation: none; opacity: 1; }
  .hero h1 .script::after { animation: none; transform: scaleX(1); }
}

/* thin red rule used as section divider */
.rule { height: 4px; background: repeating-linear-gradient(90deg, var(--red) 0 22px, transparent 22px 30px); border: 0; }

/* ============================================================
   Popular items (marquee-ish chips row)
   ============================================================ */
.popular { background: var(--charcoal); color: var(--cream); }
.popular .wrap { display: flex; flex-direction: column; gap: 1.6rem; }
.popular-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.popular-head h2 { color: var(--cream); font-size: clamp(1.6rem, 4vw, 2.4rem); }
.popular-head .eyebrow { color: var(--gold); }
.popular-head .eyebrow::before { background: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
  display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.15rem;
  border: 1px solid rgba(246,238,221,.28); border-radius: 999px; font-weight: 600;
  background: rgba(246,238,221,.04); transition: background .2s, border-color .2s, transform .15s;
}
.chip:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ============================================================
   Story
   ============================================================ */
.story { background: var(--paper); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story-media { position: relative; }
.story-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.story-media .stamp {
  position: absolute; right: -14px; top: -14px;
  background: var(--red); color: #fff; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; font-family: var(--font-sign);
  text-transform: uppercase; letter-spacing: .04em; line-height: 1.05; font-size: .82rem; padding: .5rem;
  transform: rotate(-8deg); box-shadow: var(--shadow-sm); border: 3px solid var(--cream);
}
.story h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.story p { margin-top: 1.1rem; font-size: 1.1rem; color: var(--ink); }
.story .sig { margin-top: 1.5rem; font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.4rem; color: var(--red); }

/* ============================================================
   Menu preview — bento grid
   ============================================================ */
.menu-prev { background: var(--cream); }
.menu-head { text-align: center; max-width: 60ch; margin: 0 auto clamp(2rem,4vw,3rem); }
.menu-head .lead { margin: .5rem auto 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; grid-auto-rows: 1fr; }
.bento-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff;
  min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-sm); isolation: isolate;
}
.bento-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.bento-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,15,0) 30%, rgba(20,18,15,.82) 100%); }
.bento-card:hover img { transform: scale(1.05); }
.bento-card .body { padding: 1.25rem 1.35rem; }
.bento-card h3 { color: #fff; font-size: 1.45rem; }
.bento-card p { color: rgba(255,255,255,.85); font-size: .92rem; margin-top: .25rem; }
.bento-card .pill { position: absolute; top: 1rem; left: 1rem; background: var(--red); color:#fff; font-family: var(--font-sign); text-transform: uppercase; letter-spacing:.08em; font-size:.7rem; padding:.3rem .7rem; border-radius: 999px; }
/* sizing */
.bento-card.lg { grid-column: span 3; min-height: 320px; }
.bento-card.md { grid-column: span 3; }
.bento-card.sm { grid-column: span 2; }
.bento-card.wide { grid-column: span 6; }
.menu-prev .cta-row { text-align: center; margin-top: clamp(1.8rem,4vw,2.6rem); }

/* ============================================================
   Lunch specials
   ============================================================ */
.lunch { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.lunch::before {
  content: "LUNCH"; position: absolute; right: -2%; top: -8%; font-family: var(--font-sign);
  font-size: 22vw; color: rgba(255,255,255,.07); line-height: 1; pointer-events: none; letter-spacing: .02em;
}
.lunch .wrap { position: relative; }
.lunch-head { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:1rem; margin-bottom: 2rem; }
.lunch-head h2 { color:#fff; font-size: clamp(2rem,5vw,3.2rem); }
.lunch-head .when { font-family: var(--font-sign); text-transform: uppercase; letter-spacing:.08em; color: var(--cream); font-size:.95rem; }
.lunch-list { display:grid; grid-template-columns: repeat(2, 1fr); gap: .25rem 2.5rem; }
.lunch-row { display:flex; align-items:baseline; gap:.75rem; padding: .85rem 0; border-bottom: 1px dashed rgba(255,255,255,.3); }
.lunch-row .name { font-weight:600; font-size:1.08rem; }
.lunch-row .leader { flex:1; border-bottom:1px dotted rgba(255,255,255,.45); transform: translateY(-4px); }
.lunch-row .price { font-family: var(--font-sign); font-size:1.2rem; }
.lunch .note { margin-top: 1.6rem; color: var(--cream); font-size: .95rem; }

/* ============================================================
   Catering
   ============================================================ */
.catering { background: var(--charcoal); color: var(--cream); }
.catering-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,5vw,4rem); align-items:center; }
.catering h2 { color: var(--cream); font-size: clamp(2rem,4.5vw,3rem); }
.catering p { color: rgba(246,238,221,.82); margin-top: 1rem; font-size: 1.1rem; max-width: 48ch; }
.catering-list { display:flex; flex-wrap:wrap; gap:.6rem; margin: 1.6rem 0; }
.catering-list span { border:1px solid rgba(246,238,221,.25); border-radius:999px; padding:.45rem .9rem; font-size:.9rem; }
.catering-card {
  background: var(--cream); color: var(--charcoal); border-radius: var(--radius-lg); padding: clamp(1.6rem,3vw,2.4rem);
  box-shadow: var(--shadow); text-align:center;
}
.catering-card .big { font-family: var(--font-display); font-weight:900; font-size: 1.8rem; line-height:1.1; }
.catering-card .ph { font-family: var(--font-sign); font-size: 2rem; color: var(--red); margin: .4rem 0 1.2rem; }

/* ============================================================
   Location
   ============================================================ */
.location { background: var(--paper); }
.loc-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: stretch; }
.loc-info h2 { font-size: clamp(2rem,4.5vw,3rem); }
.loc-info .near { color: var(--muted); margin-top: 1rem; }
.loc-block { margin-top: 1.6rem; }
.loc-block h4 { font-family: var(--font-sign); text-transform: uppercase; letter-spacing:.1em; font-size:.8rem; color: var(--red); margin-bottom:.35rem; }
.loc-block p, .loc-block a { font-size: 1.05rem; }
.hours-table { width:100%; border-collapse: collapse; margin-top:.4rem; }
.hours-table td { padding:.4rem 0; border-bottom:1px solid var(--line); font-size:1rem; }
.hours-table td:last-child { text-align:right; font-weight:600; }
.hours-table tr.closed td { color: var(--muted); }
.map-embed { border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); min-height: 340px; border: 1px solid var(--line); }
.map-embed iframe { width:100%; height:100%; min-height: 340px; border:0; display:block; }

/* ============================================================
   Community / reviews
   ============================================================ */
.community { background: var(--cream); text-align:center; }
.community .lead { margin: .6rem auto 2rem; }
.review-links { display:flex; flex-wrap:wrap; gap: 1rem; justify-content:center; }
.review-card {
  background: var(--paper); border:1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem; min-width: 200px; transition: transform .15s, box-shadow .2s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.review-card .src { font-family: var(--font-sign); text-transform: uppercase; letter-spacing:.08em; font-size:.95rem; color: var(--charcoal); }
.review-card .meta { color: var(--muted); font-size:.9rem; margin-top:.25rem; }
.review-card .go { color: var(--red); font-weight:700; font-size:.9rem; margin-top:.6rem; display:inline-block; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--charcoal); color: var(--cream); padding: clamp(2.5rem,5vw,4rem) 0 6rem; }
.foot-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-brand b { font-family: var(--font-sign); font-size: 1.5rem; text-transform: uppercase; display:block; }
.foot-brand p { color: rgba(246,238,221,.7); margin-top:.6rem; max-width: 34ch; font-size:.95rem; }
.foot-col h5 { font-family: var(--font-sign); text-transform:uppercase; letter-spacing:.1em; font-size:.8rem; color: var(--gold); margin-bottom:.8rem; }
.foot-col a, .foot-col p { display:block; color: rgba(246,238,221,.8); font-size:.95rem; padding:.18rem 0; }
.foot-col a:hover { color:#fff; }
.foot-bottom { border-top:1px solid rgba(246,238,221,.15); margin-top:2.5rem; padding-top:1.4rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:.5rem; font-size:.85rem; color: rgba(246,238,221,.55); }

/* ---- Mobile nav ---- */
.nav-toggle {
  width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper); display: none; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--charcoal); display: block; }
.mobile-nav {
  display: none; flex-direction: column; gap: .25rem; padding: 0 0 1rem;
  border-bottom: 1px solid var(--line); background: rgba(246,238,221,.98);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { display: flex; align-items: center; min-height: 46px; padding: .55rem .2rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--paper); }
.faq-grid { display:grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem,4vw,3rem); align-items:start; }
.faq details { border-bottom: 1px solid var(--line); padding: .3rem 0; }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--charcoal); display:flex; justify-content:space-between; gap:1rem; align-items:center; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content: "+"; font-family: var(--font-sign); color: var(--red); font-size: 1.5rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.1rem; color: var(--muted); max-width: 60ch; }

/* ============================================================
   Sticky mobile order bar
   ============================================================ */
.mobile-order {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(27,25,22,.96); backdrop-filter: blur(6px);
  display: none; gap: .6rem; border-top: 2px solid var(--red);
}
.mobile-order a { flex: 1; }
.mobile-order .btn { width: 100%; }

/* ============================================================
   Full menu page
   ============================================================ */
.menu-page-hero { background: var(--charcoal); color: var(--cream); padding: clamp(3rem,7vw,5rem) 0 clamp(2rem,4vw,3rem); text-align:center; }
.menu-page-hero h1 { color: var(--cream); font-size: clamp(2.4rem,6vw,4rem); }
.menu-page-hero .tag { font-family: var(--font-sign); text-transform:uppercase; letter-spacing:.14em; color: var(--gold); margin-bottom:.8rem; }
.menu-page-hero p { color: rgba(246,238,221,.8); max-width: 52ch; margin: 1rem auto 0; }
.menu-cat { padding: clamp(2.5rem,5vw,4rem) 0; border-bottom: 1px solid var(--line); }
.menu-cat:nth-child(even) { background: var(--paper); }
.menu-cat-head { display:flex; align-items:baseline; gap:1rem; margin-bottom: 1.6rem; flex-wrap:wrap; }
.menu-cat-head h2 { font-size: clamp(1.8rem,4vw,2.6rem); }
.menu-cat-head .blurb { color: var(--muted); }
.menu-items { display:grid; grid-template-columns: repeat(2,1fr); gap: .1rem 3rem; }
.mi-row { display:flex; align-items:baseline; gap:.75rem; padding:.8rem 0; border-bottom:1px dashed var(--line); }
.mi-row .mi-name { font-weight:600; }
.mi-row .mi-desc { display:block; font-weight:400; color: var(--muted); font-size:.9rem; margin-top:.15rem; }
.mi-row .leader { flex:1; border-bottom:1px dotted var(--line); transform: translateY(-4px); }
.mi-row .mi-price { font-family: var(--font-sign); color: var(--red); font-size:1.15rem; white-space:nowrap; }
.menu-note { text-align:center; color: var(--muted); font-size:.92rem; padding: 2rem 0; }

/* ============================================================
   Menu page — NY skyline watermark + premium menu styling
   (scoped to body.menu-page only; never site-wide)
   ============================================================ */
/* Menu content area = warm cream (matches homepage). No NY watermark here —
   NY identity lives ONLY in the hero. Food photography carries the menu. */
body.menu-page { background-color: var(--cream); }

/* Hero */
.menu-hero { position: relative; overflow: hidden; background: var(--charcoal); color: var(--cream); padding: clamp(3rem,7vw,5rem) 0 clamp(2.4rem,5vw,3.4rem); text-align: center; }
.menu-hero-art { position: absolute; inset: 0; background: url("../images/ny-bridge.webp") center 52% / cover no-repeat; opacity: .17; mix-blend-mode: screen; }
.menu-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(27,25,22,.45) 0%, rgba(27,25,22,.15) 45%, rgba(27,25,22,.55) 100%); pointer-events: none; }
.menu-hero-inner { position: relative; z-index: 1; }
.menu-hero .ny-line { font-family: var(--font-sign); text-transform: uppercase; letter-spacing: .16em; color: var(--gold); font-size: .82rem; margin-bottom: .7rem; }
.menu-hero h1 { color: var(--cream); font-size: clamp(2.6rem,7vw,4.6rem); line-height: 1; }
.menu-hero .menu-hero-sub { color: rgba(246,238,221,.82); max-width: 48ch; margin: .9rem auto 0; }
.menu-hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: center; align-items: center; margin-top: 1.4rem; }
.menu-hero-meta .pill-info { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--cream); }
.menu-hero-meta .pill-info b { font-family: var(--font-sign); color: var(--gold); letter-spacing: .04em; }
.menu-hero-meta .sep { width: 1px; height: 16px; background: rgba(246,238,221,.25); }

/* Menu sections become cards floating over the watermark */
.menu-page #order-menu { position: relative; z-index: 1; padding: clamp(1.4rem,3.5vw,2.4rem) 0 clamp(3rem,6vw,4.5rem); }
.menu-page .menu-cat { background: transparent !important; border-bottom: 0; padding: clamp(.6rem,1.6vw,1rem) 0; scroll-margin-top: 100px; }
.menu-page .menu-cat .wrap {
  background: rgba(255,253,248,.9);
  border: 1px solid rgba(226,214,188,.95);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem,3.5vw,2.6rem) clamp(1.2rem,3.5vw,2.4rem);
  box-shadow: 0 26px 60px -40px rgba(27,25,22,.55);
}
.menu-page .menu-cat .wrap { position: relative; overflow: hidden; }
/* large faded food watermark per section */
.cat-watermark {
  position: absolute; right: -1%; bottom: -10%; width: 54%; max-width: 500px; aspect-ratio: 1 / 1;
  background-size: cover; background-position: center; opacity: .42; pointer-events: none; z-index: 0;
  /* bold in the empty bottom-right corner, fades out fast before reaching the menu text */
  -webkit-mask-image: radial-gradient(circle at 82% 80%, #000 26%, rgba(0,0,0,.35) 50%, transparent 66%);
  mask-image: radial-gradient(circle at 82% 80%, #000 26%, rgba(0,0,0,.35) 50%, transparent 66%);
}
.menu-page .menu-cat-head { display: flex; align-items: center; gap: 1.1rem; text-align: left; margin-bottom: 1.3rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.cat-thumb { width: 66px; height: 66px; border-radius: 16px; object-fit: cover; flex-shrink: 0; box-shadow: var(--shadow-sm); border: 2px solid #fff; }
.menu-page .menu-cat-head .cat-head-text { min-width: 0; }
.menu-page .menu-cat-head h2 { font-size: clamp(2rem,5vw,3rem); font-family: var(--font-display); font-weight: 900; letter-spacing: -.01em; line-height: 1.02; }
.menu-page .menu-cat-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--red); border-radius: 2px; margin-top: .55rem; }
.menu-page .menu-cat-head .blurb { color: var(--muted); font-size: 1rem; margin-top: .55rem; display: block; }
.menu-page .menu-items { gap: .15rem 3.2rem; position: relative; z-index: 1; }
.menu-page .mi-row { padding: .9rem 0; }

@media (max-width: 720px) {
  .menu-page .menu-cat .wrap { padding: 1.25rem 1.1rem; }
  .menu-page .menu-cat-head h2 { font-size: 1.9rem; }
  .cat-thumb { width: 52px; height: 52px; border-radius: 13px; }
  .cat-watermark { width: 70%; opacity: .28; }
}

/* ============================================================
   Order page (embedded SpotOn ordering)
   ============================================================ */
.order-band { background: var(--charcoal); color: var(--cream); padding: clamp(2rem,5vw,3.2rem) 0 clamp(1.6rem,3vw,2.2rem); }
.order-band .tag { font-family: var(--font-sign); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: .6rem; }
.order-band h1 { color: var(--cream); font-size: clamp(2.2rem,5.5vw,3.4rem); }
.order-band p { color: rgba(246,238,221,.82); max-width: 60ch; margin-top: .8rem; }
.order-meta { display:flex; flex-wrap:wrap; gap:.6rem 1.4rem; margin-top:1.2rem; align-items:center; }
.order-meta .pill-info { display:inline-flex; align-items:center; gap:.5rem; font-size:.95rem; color: var(--cream); }
.order-meta .pill-info b { font-family: var(--font-sign); color: var(--gold); letter-spacing:.04em; }
.order-meta .sep { width:1px; height:18px; background: rgba(246,238,221,.25); }

.order-hub { background: var(--cream); padding: clamp(2.5rem,6vw,4.5rem) 0 clamp(3rem,7vw,5.5rem); }
.order-frame-wrap { position: relative; background:#fff; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); border:1px solid var(--line); margin-bottom: 1.4rem; }
.order-iframe { width:100%; min-height: 1100px; border:0; display:block; background:#fff; }
.order-start {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: clamp(1.8rem,4vw,3rem); text-align: center; max-width: 720px; margin: 0 auto;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(200,16,46,.05), transparent 38%),
    radial-gradient(circle at 88% 92%, rgba(47,93,56,.05), transparent 40%);
}
.order-start .kicker { font-family: var(--font-sign); text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-size: .85rem; }
.order-start h2 { font-size: clamp(1.7rem,4vw,2.4rem); margin: .5rem 0 .4rem; }
.order-start p.sub { color: var(--muted); max-width: 46ch; margin: 0 auto; }
.order-start .start-btn { margin-top: 1.6rem; font-size: 1.15rem; padding: 1.1rem 2.4rem; }
.order-start .secure { margin-top: 1rem; color: var(--muted); font-size: .85rem; display:flex; gap:.5rem; align-items:center; justify-content:center; flex-wrap:wrap; }
.order-start .secure svg { width: 15px; height: 15px; fill: var(--green); }

.order-modes { display:grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 720px; margin: 1.4rem auto 0; }
.order-mode {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; text-align:left;
  transition: transform .15s, box-shadow .2s, border-color .2s; display:block;
}
.order-mode:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--red); }
.order-mode .ico { font-family: var(--font-sign); text-transform: uppercase; letter-spacing:.06em; color: var(--red); font-size:.78rem; }
.order-mode h3 { font-size: 1.25rem; margin: .2rem 0 .25rem; }
.order-mode p { color: var(--muted); font-size: .92rem; }
.order-mode .go { color: var(--red); font-weight: 700; font-size: .9rem; margin-top: .5rem; display:inline-block; }

.order-aside { max-width: 720px; margin: 1.8rem auto 0; display:flex; flex-wrap:wrap; gap: 1rem; justify-content:center; align-items:center; color: var(--muted); font-size:.95rem; }
.order-aside a { color: var(--charcoal); font-weight: 600; }
.order-aside .dot { width:5px; height:5px; border-radius:50%; background: var(--line); }

/* ============================================================
   Cart link in header + badge
   ============================================================ */
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--charcoal); transition: border-color .2s, transform .15s; }
.cart-link:hover { border-color: var(--red); transform: translateY(-1px); }
.cart-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; display: none; align-items: center; justify-content: center; line-height: 1; }
.cart-count.show { display: inline-flex; }

/* ============================================================
   Add-to-order buttons (menu rows)
   ============================================================ */
.mi-row .mi-add {
  margin-left: .85rem; border: 1.5px solid var(--red); color: var(--red); background: transparent;
  border-radius: 999px; padding: .5rem 1rem; font-weight: 700; font-size: .82rem; white-space: nowrap;
  transition: background .15s, color .15s, transform .1s; min-height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
}
.mi-row .mi-add:hover { background: var(--red); color: #fff; }
.mi-row .mi-add:active { transform: scale(.94); }
.mi-row .mi-add.added { background: var(--green); border-color: var(--green); color: #fff; }

/* ============================================================
   Order app (native on-site ordering)
   ============================================================ */
.order-app { background: var(--cream); padding: clamp(1.6rem,4vw,2.6rem) 0 clamp(4rem,8vw,6rem); }
.order-layout { display: grid; grid-template-columns: 1.55fr .95fr; gap: clamp(1.4rem,3vw,2.4rem); align-items: start; }
.order-menu { min-width: 0; }
.ord-cat { margin-bottom: 2.4rem; scroll-margin-top: 84px; }
.ord-cat h2 { font-size: clamp(1.5rem,3.4vw,2.1rem); }
.ord-cat .blurb { color: var(--muted); font-size: .95rem; margin: .15rem 0 1.1rem; display:block; }

/* Ambient category band (real photo used as atmosphere, not per-item) */
.cat-band {
  position: relative; height: clamp(120px, 22vw, 168px); border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 1.1rem; background: var(--charcoal); display: flex; align-items: flex-end;
}
.cat-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,.25) 0%, rgba(20,18,15,.78) 100%); }
.cat-band.no-photo { background:
  radial-gradient(circle at 22% 30%, rgba(200,16,46,.5), transparent 55%),
  radial-gradient(circle at 80% 70%, rgba(47,93,56,.4), transparent 55%), var(--charcoal); }
.cat-band .cat-band-txt { position: relative; z-index: 1; padding: 1.1rem 1.3rem; }
.cat-band h2 { color: #fff; font-family: var(--font-sign); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1; }
.cat-band .blurb { color: rgba(255,255,255,.82); font-size: .9rem; margin-top: .25rem; display: block; }

/* Uniform clickable item rows */
.ord-list { display: grid; gap: .55rem; margin-bottom: 2.4rem; }
.ord-item {
  display: flex; align-items: center; gap: 1rem; width: 100%; min-width: 0; box-sizing: border-box; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem;
  cursor: pointer; transition: border-color .15s, box-shadow .2s, transform .1s; position: relative;
}
.ord-item:hover { border-color: var(--red); box-shadow: var(--shadow-sm); }
.ord-item:active { transform: scale(.995); }
.ord-item.in-order { border-color: var(--red); box-shadow: inset 3px 0 0 var(--red); }
.ord-item-main { flex: 1; min-width: 0; overflow: hidden; }
.ord-item-name { font-weight: 600; color: var(--charcoal); display: flex; align-items: center; gap: .5rem; min-width: 0; }
.ord-item-name .qbadge { background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px; display: none; align-items: center; justify-content: center; padding: 0 5px; }
.ord-item.in-order .qbadge { display: inline-flex; }
.ord-item-desc { color: var(--muted); font-size: .85rem; margin-top: .15rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ord-item-side { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.ord-item-price { font-family: var(--font-sign); font-size: 1.1rem; color: var(--charcoal); }
.ord-add-btn {
  border: 1.5px solid var(--red); color: var(--red); background: transparent; border-radius: 999px;
  padding: .4rem .9rem; font-weight: 700; font-size: .82rem; min-height: 36px; white-space: nowrap;
  transition: background .15s, color .15s, transform .1s;
}
.ord-add-btn:hover { background: var(--red); color: #fff; }
.ord-add-btn:active { transform: scale(.92); }

/* Item / customizer modal */
.item-hero { position: relative; height: clamp(150px, 32vw, 220px); background: var(--cream-deep); }
.item-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-hero.no-photo { display: grid; place-content: center; background:
  radial-gradient(circle at 28% 24%, rgba(200,16,46,.1), transparent 58%),
  radial-gradient(circle at 78% 82%, rgba(47,93,56,.1), transparent 58%), var(--cream); }
.item-hero.no-photo .ph-ico { width: 64px; height: 64px; opacity: .3; }
.item-hero .x { position: absolute; top: .7rem; right: .7rem; width: 38px; height: 38px; border-radius: 50%; background: rgba(20,18,15,.55); color: #fff; border: 0; font-size: 1.3rem; line-height: 1; display: grid; place-content: center; }
.item-info { padding: 1.3rem 1.5rem 0; }
.item-info h3 { font-size: 1.6rem; }
.item-info .item-ingredients { color: var(--muted); margin-top: .4rem; font-size: .95rem; }
.opt-group { padding: 1.2rem 1.5rem 0; }
.opt-group h4 { font-family: var(--font-sign); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; color: var(--red); margin-bottom: .6rem; }
.opt-group .req { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.opt-choices { display: grid; gap: .45rem; }
.opt-choices.cols { grid-template-columns: 1fr 1fr; }
.opt-choice {
  display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border: 1.5px solid var(--line);
  border-radius: 12px; cursor: pointer; font-size: .92rem; transition: border-color .15s, background .15s; margin: 0;
}
.opt-choice:hover { border-color: var(--red); }
.opt-choice.sel { border-color: var(--red); background: rgba(200,16,46,.05); }
.opt-choice input { accent-color: var(--red); width: 17px; height: 17px; }
.opt-choice .oc-name { flex: 1; }
.opt-choice .oc-price { color: var(--muted); font-size: .85rem; }
.item-foot { padding: 1.4rem 1.5rem 1.6rem; position: sticky; bottom: 0; background: var(--paper); border-top: 1px solid var(--line); margin-top: 1.3rem; }
.item-foot .qty-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.item-foot .qty button { width: 38px; height: 40px; }
.item-foot .qty span { min-width: 34px; }
.item-foot .it-total { font-family: var(--font-sign); font-size: 1.5rem; color: var(--red); }
.item-foot .add-to-order { width: 100%; }
.item-foot .opt-err { color: var(--red); font-size: .85rem; margin-bottom: .6rem; min-height: 0; text-align: center; }

/* Cart drawer (slides in from the right; bottom sheet on phones) */
.cart-panel {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: #fff;
  border-left: 1px solid var(--line); box-shadow: -22px 0 60px -30px rgba(0,0,0,.5);
  display: flex; flex-direction: column; z-index: 130; transform: translateX(100%); transition: transform .3s ease;
}
.cart-panel.open { transform: none; }
.cart-backdrop { position: fixed; inset: 0; background: rgba(20,18,15,.5); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 125; }
.cart-backdrop.show { opacity: 1; pointer-events: auto; }
.floating-order {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90; display: none; align-items: center; gap: .55rem;
  background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: .9rem 1.4rem; font-weight: 700; font-size: 1rem;
  box-shadow: var(--shadow); cursor: pointer; transition: transform .15s, background .2s;
}
.floating-order:hover { background: var(--red-deep); transform: translateY(-2px); }
.floating-order svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.floating-order.show { display: inline-flex; }
@media (max-width: 720px) { .floating-order { display: none !important; } }
.cart-panel .cart-head { background: var(--charcoal); color: var(--cream); padding: 1.1rem 1.3rem; display:flex; align-items:center; justify-content:space-between; }
.cart-panel .cart-head h3 { color: var(--cream); font-family: var(--font-sign); text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }
.cart-panel .cart-head .pos { font-size: .72rem; color: var(--gold); font-family: var(--font-sign); letter-spacing:.08em; }
.cart-close { background:none; border:0; color: var(--cream); font-size:1.6rem; line-height:1; display:block; }
.cart-body { padding: 1rem 1.3rem; overflow-y: auto; flex: 1; }
.cart-empty { text-align: center; color: var(--muted); padding: 2rem 1rem; font-size: .95rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.cart-line .cl-name { font-weight: 600; font-size: .95rem; }
.cart-line .cl-opts { color: var(--muted); font-size: .78rem; margin-top: .12rem; line-height: 1.3; }
.cart-line .cl-price { font-family: var(--font-sign); color: var(--charcoal); }
.cart-line .cl-controls { display:flex; align-items:center; gap:.5rem; }
.qty { display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.qty button { width:28px; height:28px; background:var(--cream); border:0; color:var(--charcoal); font-weight:700; font-size:1rem; line-height:1; }
.qty button:hover { background: var(--red); color:#fff; }
.qty span { min-width: 26px; text-align:center; font-weight:700; font-size:.9rem; }
.cl-remove { background:none; border:0; color:var(--muted); font-size:.8rem; text-decoration:underline; padding:0; }
.cl-remove:hover { color: var(--red); }
.cart-foot { padding: 1.1rem 1.3rem 1.3rem; border-top: 1px solid var(--line); background: var(--paper); }
.cart-foot .row { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:.4rem; }
.cart-foot .row .lbl { color: var(--muted); font-size:.92rem; }
.cart-foot .row.total .lbl { color: var(--charcoal); font-weight:700; }
.cart-foot .row.total .val { font-family: var(--font-sign); font-size:1.5rem; color: var(--red); }
.cart-foot .btn { width: 100%; margin-top:.6rem; }
.cart-foot .btn:disabled { opacity:.45; cursor:not-allowed; }
.cart-foot .fineprint { text-align:center; color: var(--muted); font-size:.78rem; margin-top:.7rem; }

/* Checkout overlay */
.overlay { position: fixed; inset:0; z-index: 200; background: rgba(20,18,15,.55); display:none; align-items:flex-start; justify-content:center; padding: 5vh 1rem; overflow-y:auto; }
.overlay.open { display:flex; }
.sheet { background: var(--paper); width: min(560px, 100%); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow:hidden; }
.sheet-head { background: var(--charcoal); color: var(--cream); padding: 1.2rem 1.5rem; display:flex; justify-content:space-between; align-items:center; }
.sheet-head h3 { color: var(--cream); font-size: 1.4rem; }
.sheet-head .x { background:none; border:0; color: var(--cream); font-size:1.6rem; line-height:1; }
.sheet-body { padding: 1.5rem; }
.field { margin-bottom: 1.05rem; }
.field label { display:block; font-weight:600; font-size:.9rem; margin-bottom:.35rem; }
.field input, .field select, .field textarea {
  width:100%; padding:.8rem .9rem; border:1px solid var(--line); border-radius: 12px; font: inherit; background:#fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline:2px solid var(--red); outline-offset:1px; border-color: var(--red); }
.seg { display:grid; grid-template-columns:1fr 1fr; gap:.5rem; }
.seg label { display:flex; align-items:center; justify-content:center; gap:.4rem; padding:.8rem; border:1.5px solid var(--line); border-radius:12px; cursor:pointer; font-weight:600; margin:0; transition: border-color .15s, background .15s; }
.seg input { position:absolute; opacity:0; pointer-events:none; }
.seg input:checked + label, .seg label.sel { border-color: var(--red); background: rgba(200,16,46,.06); color: var(--red); }
.checkout-summary { background: var(--cream); border-radius:12px; padding: 1rem 1.1rem; margin-bottom:1.2rem; }
.checkout-summary .row { display:flex; justify-content:space-between; font-size:.92rem; padding:.18rem 0; }
.checkout-summary .row.total { font-weight:700; border-top:1px solid var(--line); margin-top:.4rem; padding-top:.5rem; }
.checkout-summary .row.total span:last-child { font-family: var(--font-sign); color: var(--red); font-size:1.15rem; }
.err { color: var(--red); font-size:.85rem; margin-top:.4rem; min-height:1em; }

/* Confirmation */
.confirm { text-align:center; padding: .5rem 0 .5rem; }
.confirm .check { width:74px; height:74px; border-radius:50%; background: var(--green); display:grid; place-content:center; margin:0 auto 1.1rem; }
.confirm .check svg { width:38px; height:38px; stroke:#fff; stroke-width:3; fill:none; }
.confirm h3 { font-size:1.8rem; }
.confirm .ordno { font-family: var(--font-sign); color: var(--red); font-size:1.3rem; letter-spacing:.04em; margin:.3rem 0 .2rem; }
.confirm .pos-line { display:inline-flex; align-items:center; gap:.45rem; background: var(--cream); border:1px solid var(--line); border-radius:999px; padding:.4rem .9rem; font-size:.85rem; color: var(--ink); margin:.6rem 0 1rem; }
.confirm .pos-line b { color: var(--green); }
.confirm .eta { color: var(--muted); }
.confirm .conf-items { text-align:left; background:var(--cream); border-radius:12px; padding:1rem 1.1rem; margin:1.2rem 0; }
.confirm .conf-items .row { display:flex; justify-content:space-between; font-size:.9rem; padding:.2rem 0; }

/* Toast */
.toast { position: fixed; left:50%; bottom: 84px; transform: translateX(-50%) translateY(20px); z-index:300;
  background: var(--charcoal); color: var(--cream); padding:.7rem 1.1rem; border-radius:999px; font-weight:600; font-size:.9rem;
  opacity:0; pointer-events:none; transition: opacity .25s, transform .25s; box-shadow: var(--shadow); border:1px solid rgba(246,238,221,.15); }
.toast.show { opacity:1; transform: translateX(-50%) translateY(0); }

/* Cart becomes a bottom sheet on phones */
@media (max-width: 560px) {
  .cart-panel {
    left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: auto; max-height: 86vh;
    border-left: 0; border-radius: 20px 20px 0 0; transform: translateY(100%);
  }
  .cart-panel.open { transform: none; }
}

/* Compact rows on the order page are clickable */
.mi-row.orderable { cursor: pointer; border-radius: 8px; transition: background .12s; }
.mi-row.orderable:hover { background: rgba(200,16,46,.04); }
.mi-name .qbadge {
  display: none; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px;
  border-radius: 999px; padding: 0 5px; margin-right: .45rem; vertical-align: middle; align-items: center; justify-content: center;
}
.mi-row.in-order .qbadge { display: inline-flex; }
.mi-row.in-order .mi-name { color: var(--red); }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  html { scroll-behavior: auto; }
  .bento-card img { transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 52vh; order: -1; }
  .hero-copy { padding: 2.2rem 1.4rem 2.6rem; }
  .story-grid, .catering-grid, .loc-grid { grid-template-columns: 1fr; }
  .story-media { max-width: 420px; }
  .lunch-list, .menu-items { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .bento-card.lg, .bento-card.md { grid-column: span 6; }
  .bento-card.sm { grid-column: span 3; }
}
@media (max-width: 720px) {
  .nav-links, .nav-phone { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .mobile-order { display: flex; }
  body { padding-bottom: 4.5rem; }
  .flour { width: 150px; opacity: .5; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.lg, .bento-card.md, .bento-card.sm, .bento-card.wide { grid-column: span 1; min-height: 200px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
  .foot-col a { padding: .5rem 0; }
}
