/* =====================================================================
   Mora — Café & Juice Bar
   Photo-led, editorial system. Palette pulled from the @moracafenyc feed:
   warm paper, espresso near-black ink, one muted mulberry accent used
   sparingly. The "two sides" idea reads through photography, not color.
   ===================================================================== */

:root {
  --bg:#f4f0e9;          /* warm paper, off the white-cup product shots */
  --bg-deep:#ebe4d8;
  --surface:#fffdf9;
  --espresso:#16100e;    /* near-black, the dark cappuccino */
  --espresso-2:#211814;
  --ink:#1c1512;
  --ink-soft:#4a3c34;
  --muted:#6d625a;
  --accent:#6e2545;      /* muted mulberry — used once, not everywhere */
  --accent-deep:#4f1730;
  --leaf:#3f7a50;        /* deep leaf-green — used only on the bakery banner label */
  --line:#e3dccf;
  --line-soft:#ece5d8;
  --cream-line:rgba(255,253,249,.18);

  --font-display:"Fraunces",Georgia,"Times New Roman",serif;
  --font-body:"Hanken Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;

  --header-h:122px;
  --pad:clamp(1.15rem,5vw,3.25rem);
  --space:clamp(3.5rem,9vw,7.5rem);
  --maxw:1200px;
  --maxw-text:760px;
  --r:2px;          /* one corner-radius token, governs every surface */
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:var(--font-body);font-size:1.02rem;line-height:1.65;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
body:not(.home){padding-top:var(--header-h)}
img{max-width:100%;display:block}
a{color:var(--accent);text-decoration-thickness:1px;text-underline-offset:2px}
h1,h2,h3,h4{text-wrap:balance;margin:0}
p{text-wrap:pretty}
::selection{background:var(--accent);color:#fff}

.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}
.measure{max-width:var(--maxw-text)}

/* ---------- reveal-on-scroll (subtle, motion-safe) ---------- */
[data-reveal]{opacity:0;transform:translateY(18px);transition:opacity .8s cubic-bezier(.2,.6,.2,1),transform .8s cubic-bezier(.2,.6,.2,1)}
[data-reveal].in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  [data-reveal]{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
  .ig-tile:hover img{transform:none}
}

/* ===================== SKIP LINK ===================== */
.skip-link{position:absolute;left:8px;top:-56px;z-index:1000;background:var(--accent);color:#fdf8f2;padding:.6rem 1rem;border-radius:var(--r);font-weight:600;text-decoration:none;transition:top .2s ease}
.skip-link:focus{top:8px}
#main-content:focus{outline:none}

/* ===================== HEADER / NAV ===================== */
.site-header{
  position:fixed;inset:0 0 auto 0;z-index:50;
  height:var(--header-h);
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding-inline:var(--pad);
  background:color-mix(in srgb,var(--bg) 86%,transparent);
  backdrop-filter:blur(14px) saturate(1.05);
  border-bottom:1px solid var(--line);
  color:var(--ink);
  transition:background .4s ease,border-color .4s ease,color .4s ease;
}
/* on the home page the header floats over the dark hero until scrolled */
body.home .site-header{background:transparent;border-color:transparent;color:#fdf8f2;backdrop-filter:none}
body.home .site-header.solid{
  background:color-mix(in srgb,var(--bg) 88%,transparent);
  border-color:var(--line);color:var(--ink);backdrop-filter:blur(14px) saturate(1.05);
}
/* mobile drawer open → always solid for legibility */
.site-header:has(.site-nav.open){background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}

.brand{display:inline-flex;align-items:center;gap:.66rem;text-decoration:none;color:inherit}
.brand-mark{flex:none;width:64px;height:64px;align-self:center;position:relative}
.brand-mark img{display:block;width:100%;height:100%;object-fit:contain}
.brand-mark .mark-light{display:none}
/* over the dark hero the deep mulberry goes muddy — swap to the off-white berry */
body.home .site-header:not(.solid) .brand-mark .mark-dark{display:none}
body.home .site-header:not(.solid) .brand-mark .mark-light{display:block}
.brand-word{font-family:var(--font-display);font-weight:500;font-size:2.3rem;letter-spacing:-.01em;line-height:1}
.brand-sub{font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.28em;opacity:.72;white-space:nowrap}
/* temper the scaled-up lockup + bar on phones so it doesn't dominate the small viewport */
@media (max-width:560px){
  :root{--header-h:90px}
  .brand-sub{display:none}
  .brand-mark{width:48px;height:48px}
  .brand-word{font-size:1.85rem}
}

.site-nav{display:flex;align-items:center;gap:2.1rem}
.site-nav a{text-decoration:none;color:inherit;font-size:1.16rem;font-weight:500;letter-spacing:.04em;opacity:.86;transition:opacity .2s ease}
.site-nav a:hover{opacity:1}
.site-nav a[aria-current="page"]{opacity:1;font-weight:600;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:5px}
.nav-cta{position:relative;padding:.64rem 1.4rem;border:1px solid currentColor;border-radius:var(--r);font-size:1.08rem;opacity:1!important;font-weight:600!important}
/* solid-header CTA reads as the accent button */
body:not(.home) .nav-cta,body.home .site-header.solid .nav-cta{border-color:var(--accent);color:var(--accent)}
body:not(.home) .nav-cta:hover,body.home .site-header.solid .nav-cta:hover{background:var(--accent);color:#fff}
/* cart count badge injected into the nav "Order" button */
.nav-cart-badge{position:absolute;top:-.5rem;right:-.55rem;min-width:1.2rem;height:1.2rem;padding:0 .32rem;display:inline-flex;align-items:center;justify-content:center;background:var(--accent);color:#fff;font-size:.72rem;font-weight:700;line-height:1;border-radius:999px;font-variant-numeric:tabular-nums;box-shadow:0 0 0 2px var(--bg)}

.nav-toggle{display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:none;border:0;cursor:pointer;padding:0;width:44px;height:44px;color:inherit}
.nav-toggle span{width:24px;height:2px;background:currentColor;border-radius:2px;transition:transform .25s ease,opacity .25s ease}

/* ===================== BUTTONS (calm, no bounce) ===================== */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.82rem 1.6rem;border-radius:var(--r);text-decoration:none;
  font-weight:600;font-size:.95rem;border:1px solid transparent;cursor:pointer;
  transition:background .25s ease,color .25s ease,border-color .25s ease;
}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-deep)}
.btn-dark{background:var(--espresso);color:#fdf8f2}
.btn-dark:hover{background:#000}
.btn-ghost{border-color:var(--line);color:var(--ink);background:transparent}
.btn-ghost:hover{border-color:var(--ink);background:var(--surface)}
.btn-light{border:1px solid rgba(255,253,249,.55);color:#fdf8f2;background:transparent}
.btn-light:hover{background:#fdf8f2;color:var(--espresso);border-color:#fdf8f2}

/* ===================== TYPE PRIMITIVES ===================== */
.eyebrow{text-transform:uppercase;letter-spacing:.24em;font-size:.72rem;font-weight:600;margin:0 0 1.2rem;color:var(--accent)}
.kicker{text-transform:uppercase;letter-spacing:.22em;font-size:.72rem;font-weight:600;margin:0 0 .9rem;color:var(--muted)}
.section{padding-block:var(--space)}
.section-title{font-family:var(--font-display);font-weight:400;font-size:clamp(2rem,5.2vw,3.4rem);letter-spacing:-.015em;line-height:1.03}
.section-lede{max-width:54ch;color:var(--muted);font-size:1.14rem;margin:1.3rem 0 0}

/* ===================== HERO (full-bleed photo) ===================== */
.hero{
  position:relative;min-height:100svh;display:flex;align-items:flex-end;
  padding:0;color:#fdf8f2;overflow:hidden;isolation:isolate;
}
.hero-photo{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:76% 50%}
.hero::after{ /* legibility scrim — left-weighted so the type rests on the dark ground, off the bright cup; bottom-weighted so the lowered block stays legible */
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(to right,rgba(8,5,4,.9) 0%,rgba(8,5,4,.72) 26%,rgba(8,5,4,.34) 52%,rgba(8,5,4,.04) 76%,transparent 100%),
    linear-gradient(to top,rgba(8,5,4,.78) 0%,rgba(8,5,4,.42) 28%,rgba(8,5,4,.08) 60%,transparent 88%);
}
.hero-inner{width:100%;max-width:none;margin-inline:0;text-align:left;
  padding:calc(var(--header-h) + clamp(1rem,4vh,2.5rem)) var(--pad) clamp(4rem,9vh,6rem) calc(var(--pad) + clamp(1.25rem,6vw,6.5rem))}
.hero-inner>*{max-width:33rem}
.hero .eyebrow{color:#e9c9b8;opacity:.95}
.hero h1{
  font-family:var(--font-display);font-weight:400;
  font-size:clamp(2.9rem,9vw,6.4rem);line-height:.97;letter-spacing:-.025em;
  margin:0 0 1.4rem;max-width:14ch;
}
.hero h1 .bright{font-style:italic;color:#f2d9c9}
.hero .lede{max-width:42ch;font-size:clamp(1.05rem,2.2vw,1.25rem);color:rgba(253,248,242,.9);margin:0 0 2rem}
.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap}
.scroll-cue{position:absolute;left:var(--pad);bottom:1.2rem;font-size:.66rem;letter-spacing:.26em;text-transform:uppercase;color:rgba(253,248,242,.6);z-index:1}
/* mobile: drop the desktop art-direction left indent so the headline gets the full column */
@media (max-width:560px){
  .hero-inner{padding-left:var(--pad);padding-right:var(--pad)}
}

/* ===================== FEATURED CAROUSEL (8 signature drinks) ===================== */
.section:has(.featured-carousel){max-width:min(1120px,92vw)}
.section:has(.featured-carousel) .kicker{margin-bottom:.5rem}
/* align-items:start pins the text column to the row top — centering would re-offset the whole
   block when the thumb-strip height changes between tabs. See .featured-thumbs min-height. */
.featured-carousel{display:grid;grid-template-columns:3fr 2fr;gap:clamp(1.8rem,5vw,4rem);align-items:start;margin-top:clamp(1.4rem,3vw,2.4rem)}
/* left column (~60%): the big crossfading photo — one clickable button, 8 images stacked */
.featured-photo{position:relative;display:block;width:100%;aspect-ratio:4/5;margin:0;padding:0;border:0;border-radius:var(--r);overflow:hidden;background:var(--bg-deep);cursor:pointer;isolation:isolate}
.featured-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s ease}
.featured-img.is-active{opacity:1}
/* coffee.jpeg is a wide overhead shot with the cup center-right; shift the crop right so the
   crema stays centered (not clipped) in the portrait 4:5 card, the modal media, and the thumb */
.featured-img[src$="/coffee.jpeg"],.item-modal__photo[src$="/coffee.jpeg"],.featured-thumb img[src$="/coffee.jpeg"]{object-position:80% 50%}
.featured-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(8,5,4,.3),transparent 42%);opacity:0;transition:opacity .3s ease;pointer-events:none}
.featured-photo:hover::after,.featured-photo:focus-visible::after{opacity:1}
.featured-photo:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* right column (~40%): info panel — text swapped per slide by JS */
.featured-info{display:flex;flex-direction:column;align-items:flex-start}
/* fixed-row grid: each slot is an EXACT height (not min-height) so every element sits at a
   constant Y and the Buy Now button never moves, regardless of title/desc length or the size
   note. Rows sized for the worst case — name 2 lines @2.7rem (5.67rem), desc 3 lines (4.74rem),
   price dual "$reg / $lg" + note (3.98rem); shorter content top-aligns with empty space below. */
.featured-text{display:grid;grid-template-rows:1.3rem 5.7rem 4.8rem 4.1rem;row-gap:.9rem;align-items:start;margin-bottom:1.4rem;transition:opacity .3s ease}
.featured-tag{font-size:.72rem;text-transform:uppercase;letter-spacing:.18em;font-weight:600;color:var(--accent);margin:0}
.featured-name{font-family:var(--font-display);font-weight:400;font-size:clamp(1.9rem,3.8vw,2.7rem);line-height:1.05;letter-spacing:-.01em;margin:0;color:var(--ink)}
.featured-desc{font-size:1.02rem;color:var(--ink-soft);line-height:1.55;margin:0;max-width:34ch}
.featured-price{font-family:var(--font-display);font-size:1.5rem;font-weight:600;color:var(--accent);font-variant-numeric:tabular-nums;margin:0}
.featured-size-note{display:block;font-family:var(--font-body);font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin-top:.35rem}
/* outlined button in the "Order online" nav-cta family: 1px accent border, --r radius,
   transparent → accent-fill + white text on hover */
.featured-order{align-self:flex-start;padding:.64rem 1.5rem;border:1px solid var(--accent);border-radius:var(--r);background:transparent;font:inherit;font-weight:600;font-size:1rem;color:var(--accent);cursor:pointer;transition:background .2s ease,color .2s ease}
.featured-order:hover{background:var(--accent);color:#fff}
.featured-order:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.featured-tabs{display:flex;gap:.5rem;margin-top:1.6rem}
.featured-tab{background:none;border:0;border-bottom:2px solid transparent;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 8px;font:inherit;font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;color:#6b6b6b;cursor:pointer;transition:color .2s ease,border-color .2s ease}
.featured-tab:hover{color:var(--ink-soft)}
.featured-tab.is-active{color:var(--accent);font-weight:600;border-bottom-color:var(--accent)}
.featured-tab:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* min-height = 3 rows (3×48 + 2×6 gap) so the strip is a constant height across tabs;
   short tabs (1–2 rows) keep invisible whitespace below, so the column never changes height */
.featured-thumbs{display:grid;grid-template-columns:repeat(4,48px);gap:6px;margin-top:.9rem;min-height:156px;align-content:start}
.featured-thumb[hidden]{display:none}
.featured-thumb{width:48px;height:48px;padding:0;border:2px solid transparent;border-radius:var(--r);overflow:hidden;background:none;cursor:pointer;opacity:.4;transition:opacity .3s ease,border-color .3s ease}
.featured-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.featured-thumb:hover{opacity:.75}
.featured-thumb.is-active{opacity:1;border-color:var(--accent)}
.featured-thumb:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.qty-btn:focus-visible,.order-modal__close:focus-visible,.item-modal__close:focus-visible,.size-pill:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.featured-menu-link{display:inline-block;margin-top:1.5rem;font-weight:600;font-size:.98rem;color:var(--accent);text-decoration:none}
.featured-menu-link:hover{text-decoration:underline;text-underline-offset:3px}
@media (max-width:680px){
  .section:has(.featured-carousel){padding-block:1.75rem}
  .featured-carousel{grid-template-columns:minmax(0,1fr);gap:.9rem;margin-top:.75rem}
  .featured-info{min-width:0}
  .featured-photo{aspect-ratio:4/3}
  .featured-text{grid-template-rows:1.3rem 4.2rem 4.8rem 4.1rem;margin-bottom:.9rem}
  .featured-tabs{margin-top:1.1rem}
  .featured-thumbs{display:flex;gap:6px;align-self:stretch;width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;overflow-y:hidden;min-height:0;padding-bottom:4px;-webkit-mask-image:linear-gradient(to right,#000 90%,transparent);mask-image:linear-gradient(to right,#000 90%,transparent)}
  .featured-thumb{flex-shrink:0;scroll-snap-align:start}
  .featured-menu-link{margin-top:.9rem}
}
.side-link{display:inline-block;font-weight:600;font-size:.95rem;text-decoration:none;color:var(--accent);transition:transform .2s ease;transform-origin:left center}
.side-link:hover{text-decoration:underline;transform:scale(1.02)}

/* ---------- accent kicker (feature-section labels) ---------- */
.kicker--accent{color:var(--accent)}

/* ===================== BRAND STATEMENT BAND (light, matches sections) ===================== */
.band{background:var(--bg);color:var(--ink);text-align:center}
.band .wrap{padding-block:clamp(4rem,11vw,8rem)}
.band p.kicker{color:var(--muted)}
.band blockquote{
  margin:0 auto;max-width:18ch;font-family:var(--font-display);font-weight:400;
  font-size:clamp(2.1rem,6.5vw,4.4rem);line-height:1.04;letter-spacing:-.02em;
}
.band blockquote em{font-style:italic;color:var(--accent)}
.band .band-sub{margin:1.6rem auto 0;max-width:48ch;color:var(--muted);font-size:1.05rem}

/* ===================== ABOUT ===================== */
.about-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,6vw,5rem);align-items:center}
.about-copy p{color:var(--ink-soft);font-size:1.08rem;margin:0 0 1.1rem;max-width:46ch}
.about-copy p:first-of-type{margin-top:1.3rem}
.em-berry{color:var(--accent);font-style:italic;font-family:var(--font-display)}
.about-figure{position:relative;border-radius:var(--r);overflow:hidden;aspect-ratio:4/5;margin:0}
.about-figure img{width:100%;height:100%;object-fit:cover}
.about-figure figcaption{position:absolute;left:0;right:0;bottom:0;padding:1.1rem 1.3rem;color:#fdf8f2;font-size:.8rem;letter-spacing:.04em;background:linear-gradient(to top,rgba(8,5,4,.66),transparent)}

/* ===================== PRESS QUOTE ===================== */
.quote{text-align:center}
.quote blockquote{font-family:var(--font-display);font-weight:400;font-size:clamp(1.6rem,4.4vw,2.8rem);line-height:1.18;letter-spacing:-.01em;max-width:20ch;margin:1rem auto 1.4rem}
.quote blockquote .mk{color:var(--accent);font-style:italic}
.quote .cite{color:var(--muted);font-size:.95rem;max-width:50ch;margin-inline:auto}
.quote .cite b{color:var(--ink-soft);font-weight:600}

/* ===================== LATELY (real feed grid) ===================== */
.ig-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;margin-bottom:clamp(1.6rem,4vw,2.6rem)}
.ig-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(.5rem,1.4vw,1rem)}
.ig-tile{position:relative;display:block;aspect-ratio:1/1;border-radius:var(--r);overflow:hidden;text-decoration:none;isolation:isolate;background:var(--bg-deep)}
.ig-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1s cubic-bezier(.2,.6,.2,1)}
.ig-tile:hover img{transform:scale(1.06)}
.ig-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(8,5,4,.6),transparent 55%);opacity:0;transition:opacity .3s ease}
.ig-tile:hover::after{opacity:1}
.ig-cap{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:.85rem .9rem;color:#fdf8f2;font-size:.78rem;line-height:1.25;opacity:0;transform:translateY(6px);transition:opacity .3s ease,transform .3s ease}
.ig-tile:hover .ig-cap{opacity:1;transform:none}

/* ===================== PAGE HERO (menu / visit) ===================== */
.page-hero{position:relative;min-height:46svh;display:flex;align-items:flex-end;color:#fdf8f2;overflow:hidden;isolation:isolate}
.page-hero img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:50% 55%}
.page-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(8,5,4,.82),rgba(8,5,4,.28) 60%,rgba(8,5,4,.12))}
.page-hero-inner{width:100%;max-width:var(--maxw);margin-inline:auto;padding:0 var(--pad) clamp(2rem,5vw,3.2rem)}
.page-hero .eyebrow{color:#e9c9b8}
.page-hero h1{font-family:var(--font-display);font-weight:400;font-size:clamp(2.4rem,7vw,4.6rem);line-height:1;letter-spacing:-.02em;max-width:16ch}
.page-hero .page-lede{max-width:48ch;color:rgba(253,248,242,.86);font-size:1.1rem;margin:1.1rem 0 0}

/* ===================== MENU ===================== */
.menu-cols{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,5rem)}
.menu-cols--three{grid-template-columns:repeat(3,1fr);gap:clamp(1.6rem,4vw,3.2rem)}
.menu-cols + .menu-cols{margin-top:clamp(2.5rem,6vw,4.5rem)}
.menu-actions{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}
.menu-actions--top{margin-bottom:clamp(2rem,5vw,3rem)}
.menu-dual{font-size:.7rem;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);font-weight:600;margin:0 0 .4rem}
.menu-figure{position:relative;border-radius:var(--r);overflow:hidden;aspect-ratio:16/7;margin:0 0 1.8rem;isolation:isolate}
.menu-figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.menu-figure::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(8,5,4,.72),rgba(8,5,4,.12) 70%)}
.menu-figure figcaption{position:absolute;z-index:1;left:0;bottom:0;padding:1.1rem 1.3rem;color:#fdf8f2}
.menu-figure .side-note{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.2em;opacity:.82;margin-bottom:.25rem}
.menu-figure h2{font-family:var(--font-display);font-weight:400;font-size:clamp(1.6rem,3.5vw,2.2rem);line-height:1}
.menu-sub{font-size:.74rem;text-transform:uppercase;letter-spacing:.18em;font-weight:600;color:var(--accent);margin:1.9rem 0 .6rem}
.menu-col.juice .menu-sub{color:var(--ink-soft)}
.menu-list{list-style:none;margin:0;padding:0}
.menu-list li{border-bottom:1px solid var(--line-soft)}
.menu-list li:last-child{border-bottom:0}
.menu-item{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;width:100%;padding:.6rem 0;background:none;border:0;font:inherit;text-align:left;color:inherit;cursor:pointer;transition:transform .2s ease,color .2s ease;transform-origin:center}
.menu-item:hover{transform:scale(1.02);color:var(--accent)}
.menu-item:hover span:not(.price){text-decoration:underline;text-underline-offset:3px}
/* no-photo rows are plain text — no pointer, no hover affordance */
.menu-item:not([data-item-open]){cursor:default}
.menu-item:not([data-item-open]):hover{transform:none;color:inherit}
.menu-item:not([data-item-open]):hover span:not(.price){text-decoration:none}
.menu-item>span:first-child{font-weight:500}
.menu-list em{font-style:normal;color:var(--muted);font-size:.86em;display:block;margin-top:.1rem}
.menu-list .price{font-variant-numeric:tabular-nums;color:var(--ink-soft);font-weight:600;white-space:nowrap}
.menu-list .price::before{content:"$";opacity:.5;margin-right:1px}
.menu-note{color:var(--muted);font-size:.9rem;margin-top:2.2rem;max-width:62ch}
.menu-cols--two{grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,4.5rem)}
.menu-section-head{font-family:var(--font-display);font-weight:500;font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.01em;margin:clamp(2.8rem,6vw,4.5rem) 0 1.6rem;padding-top:clamp(1.6rem,3vw,2.4rem);border-top:1px solid var(--line)}
.menu-orderbar{display:flex;align-items:center;justify-content:space-between;gap:1.2rem 1.8rem;flex-wrap:wrap;margin-top:clamp(1.4rem,3vw,2.2rem)}
.menu-orderbar-note{font-family:var(--font-display);font-style:italic;font-size:clamp(1.15rem,2.4vw,1.5rem);color:var(--ink-soft);margin:0}
.menu-orderbar-actions{display:flex;gap:.75rem;flex-wrap:wrap}
.menu-orderbar--bottom{margin-top:clamp(2.6rem,6vw,4rem);padding-top:clamp(1.8rem,3.5vw,2.6rem);border-top:1px solid var(--line)}

/* ===================== VISIT ===================== */
.visit-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.4rem,3.5vw,2.4rem)}
.visit-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:clamp(1.5rem,3.5vw,2.3rem)}
.visit-card h2{font-family:var(--font-display);font-weight:500;font-size:1.5rem;display:flex;align-items:center;gap:.7rem;margin-bottom:1rem}
.hours{list-style:none;margin:0;padding:0}
.hours li{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px solid var(--line-soft);font-size:.98rem}
.hours li:last-child{border-bottom:0}
.hours li.today{font-weight:700;color:var(--accent)}
.hours li.today span:last-child{color:var(--accent)}
.open-pill{font-family:var(--font-body);font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;padding:.22rem .6rem;border-radius:var(--r);background:var(--accent);color:#fff}
.visit-contact{margin-top:1.2rem;line-height:1.9}
.visit-contact a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line)}
.visit-contact a:hover{border-color:var(--accent);color:var(--accent)}
.map{grid-column:1 / -1;min-height:300px;border-radius:var(--r);border:1px solid var(--line);background:
  repeating-linear-gradient(45deg,var(--bg-deep),var(--bg-deep) 14px,var(--bg) 14px,var(--bg) 28px);
  display:grid;place-items:center;text-align:center;color:var(--muted)}
.map .pin{display:inline-block;width:16px;height:16px;border-radius:50% 50% 50% 0;background:var(--accent);transform:rotate(-45deg);margin-bottom:.6rem}
.getting-here{list-style:none;margin:1.4rem 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:.4rem 2rem}
.getting-here li{padding:.6rem 0;border-bottom:1px solid var(--line-soft);color:var(--ink-soft);font-size:.96rem}
.getting-here b{color:var(--ink);font-weight:600;margin-right:.3rem}

/* ===================== FOOTER ===================== */
.site-footer{background:var(--espresso);color:rgba(253,248,242,.82);margin-top:var(--space)}
.site-footer .wrap{padding-block:clamp(3rem,7vw,4.5rem)}
.footer-grid{display:flex;justify-content:space-between;gap:2.5rem;flex-wrap:wrap}
.footer-brand .brand-word{color:#fdf8f2;font-size:2rem}
.footer-brand .brand-sub{color:rgba(253,248,242,.6);display:block;margin-top:.3rem}
.footer-brand p{margin:1rem 0 0;max-width:30ch;font-size:.92rem;color:rgba(253,248,242,.6)}
.footer-cols{display:flex;gap:clamp(2rem,6vw,4.5rem);flex-wrap:wrap}
.footer-col h4{font-size:.72rem;text-transform:uppercase;letter-spacing:.2em;color:#c79a86;margin:0 0 .9rem;font-weight:600}
.footer-col a{display:block;color:rgba(253,248,242,.82);text-decoration:none;font-size:.95rem;padding:.2rem 0}
.footer-col a:hover{color:#fff}
.footer-base{display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;margin-top:clamp(2.2rem,5vw,3.2rem);padding-top:1.4rem;border-top:1px solid var(--cream-line);font-size:.82rem;color:rgba(253,248,242,.5)}

/* ===================== ABOUT PAGE EXTRAS ===================== */
.about-grid--rev .about-figure{order:-1}
.about-lede{max-width:40ch;font-family:var(--font-display);font-weight:400;font-size:clamp(1.3rem,3vw,1.9rem);line-height:1.3;letter-spacing:-.01em;color:var(--ink);margin:1.2rem 0 0}
.about-points{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.6rem,4vw,3.2rem);margin-top:clamp(2.6rem,6vw,4.2rem)}
.about-point .num{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.2em;color:var(--accent);font-weight:600;margin-bottom:.85rem}
.about-point h3{font-family:var(--font-display);font-weight:500;font-size:1.32rem;line-height:1.1;margin-bottom:.55rem}
.about-point p{color:var(--ink-soft);font-size:1rem;margin:0;max-width:32ch}

/* ===================== ORDER MODAL ===================== */
body.modal-open{overflow:hidden}
.order-modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:clamp(.8rem,4vw,2.5rem);opacity:0;transition:opacity .28s ease}
.order-modal.is-open{opacity:1}
.order-modal[hidden]{display:none}
.order-modal__backdrop{position:absolute;inset:0;background:rgba(8,5,4,.55);backdrop-filter:blur(3px)}
.order-modal__panel{position:relative;width:100%;max-width:480px;max-height:min(88vh,780px);max-height:min(88dvh,780px);display:flex;flex-direction:column;background:var(--bg);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 30px 80px -20px rgba(8,5,4,.5);transform:translateY(14px) scale(.985);transition:transform .3s cubic-bezier(.2,.7,.2,1);overflow:hidden}
.order-modal.is-open .order-modal__panel{transform:none}
.order-modal__close{position:absolute;top:.55rem;right:.7rem;z-index:2;width:44px;height:44px;display:grid;place-items:center;font-size:1.6rem;line-height:1;background:transparent;border:0;border-radius:var(--r);color:var(--ink-soft);cursor:pointer;transition:background .2s ease,color .2s ease}
.order-modal__close:hover{background:var(--bg-deep);color:var(--ink)}
.order-modal__head{padding:clamp(1.4rem,4vw,2rem) clamp(1.4rem,4vw,2rem) 1rem;border-bottom:1px solid var(--line)}
.order-modal__eyebrow{margin:0 0 .5rem;font-size:.68rem;text-transform:uppercase;letter-spacing:.2em;font-weight:600;color:var(--accent)}
.order-modal__head h2{font-family:var(--font-display);font-weight:400;font-size:clamp(1.6rem,4vw,2.1rem);line-height:1}
.order-modal__scroll{flex:1;overflow-y:auto;padding:0 clamp(1.4rem,4vw,2rem)}
.order-empty{padding:2.6rem 0 3rem;text-align:center;color:var(--muted);font-size:.95rem;line-height:1.55}
.order-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem 0}
.order-row__info{display:flex;flex-direction:column;gap:.05rem;min-width:0}
.order-row__name{font-weight:500;font-size:1rem;transition:color .2s ease}
.order-row__price{font-size:.85rem;color:var(--muted);font-variant-numeric:tabular-nums}
.order-row.has-qty .order-row__name{color:var(--accent)}
.order-row__qty{display:flex;align-items:center;gap:.25rem;flex:none}
.qty-btn{width:44px;height:44px;display:grid;place-items:center;font-size:1.1rem;line-height:1;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);color:var(--ink);cursor:pointer;transition:border-color .2s ease,color .2s ease}
.qty-btn:hover:not(:disabled){border-color:var(--accent);color:var(--accent)}
.qty-btn:disabled{opacity:.35;cursor:default}
.qty-val{min-width:1.7rem;text-align:center;font-variant-numeric:tabular-nums;font-weight:600}
.order-modal__foot{padding:clamp(1rem,3vw,1.35rem) clamp(1.4rem,4vw,2rem) clamp(1.2rem,3vw,1.5rem);border-top:1px solid var(--line);background:var(--surface)}
.order-modal__sum{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.85rem}
.order-modal__count{font-size:.9rem;color:var(--muted)}
.order-modal__total{font-family:var(--font-display);font-size:1.5rem;font-variant-numeric:tabular-nums;color:var(--ink)}
.order-modal__place{width:100%;justify-content:center}
.order-modal__fine{margin:.75rem 0 0;font-size:.72rem;color:var(--muted);text-align:center}
.is-confirmed .order-modal__foot{display:none}
.order-done{text-align:center;padding:clamp(2.4rem,7vw,4rem) 0}
.order-done__mark{width:54px;height:54px;margin:0 auto 1.1rem;display:grid;place-items:center;font-size:1.6rem;color:#fff;background:var(--accent);border-radius:50%}
/* closed-panel + banner: calm/neutral, deliberately NOT the red decline error nor the accent success */
.order-closed__mark{background:var(--muted)}
.order-closed-banner{margin:.2rem 0 .8rem;padding:.6rem .8rem;font-size:.82rem;line-height:1.4;color:var(--ink-soft);background:var(--surface);border:1px solid var(--line);border-radius:var(--r);text-align:center}
.order-closed-banner[hidden]{display:none}
.order-done h3{font-family:var(--font-display);font-weight:400;font-size:1.8rem;margin-bottom:.6rem}
.order-done p{color:var(--ink-soft);max-width:36ch;margin:0 auto 1.6rem;line-height:1.55}

/* ---------- payment step (card + Apple Pay) — one clean checkout area ---------- */
/* during payment the cart footer ("Place order" bar) is hidden — single submit action */
.is-paying .order-modal__foot{display:none}
.order-pay{display:flex;flex-direction:column;padding-bottom:1.4rem}
.order-pay__summary{margin:.4rem 0 1.5rem}
.order-pay__row{display:flex;justify-content:space-between;align-items:baseline;gap:1.5rem;padding:.55rem 0;font-size:.98rem;color:var(--ink-soft);border-bottom:1px solid var(--line-soft)}
.order-pay__row span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink)}
.order-pay__row--total{margin-top:.5rem;padding-top:.95rem;border-bottom:0;border-top:1px solid var(--line);font-family:var(--font-display);font-size:1.35rem;line-height:1}
.order-pay__row--total span:first-child{font-weight:500;color:var(--ink)}
.order-pay__row--total span:last-child{font-weight:600;color:var(--accent)}
.order-pay__card-wrap{margin-bottom:.9rem}
.order-pay__label{font-size:.72rem;text-transform:uppercase;letter-spacing:.18em;font-weight:600;color:var(--muted);margin:0 0 .7rem}
/* optional first-name field (card path only; Apple Pay renders above it) */
.order-pay__name-wrap{margin-bottom:1rem}
.order-pay__opt{text-transform:none;letter-spacing:normal;font-weight:400;opacity:.7}
.order-pay__name{width:100%;min-height:46px;padding:.7rem .85rem;font:inherit;font-size:1rem;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-sizing:border-box}
.order-pay__name:focus{outline:none;border-color:var(--accent)}
/* Apple Pay native button — MUST be a stylesheet rule; -apple-pay-button-* is ignored when set inline */
.apple-pay-button{display:block;width:100%;height:48px;margin-bottom:14px;border:0;border-radius:2px;cursor:pointer;-webkit-appearance:-apple-pay-button;appearance:-apple-pay-button;-apple-pay-button-type:buy;-apple-pay-button-style:black}
.order-pay__or{text-align:center;color:var(--muted);font-size:.82rem;letter-spacing:.02em;margin:0 0 14px}
.order-pay__errors{white-space:pre-line;color:var(--accent-deep);font-size:.82rem;line-height:1.5;margin:.55rem 0 0}
.order-pay__errors:empty{margin:0}
.order-pay__submit{width:100%;justify-content:center}
.order-pay__back{display:block;width:100%;margin-top:.7rem;padding:.35rem;background:none;border:0;font:inherit;font-size:.9rem;font-weight:500;color:var(--muted);text-align:center;cursor:pointer;transition:color .2s ease}
.order-pay__back:hover{color:var(--accent)}
.order-pay .order-modal__fine{margin-top:.85rem}

/* ---------- checkout modal — mobile responsiveness ---------- */
.order-modal__scroll{overscroll-behavior:contain}
@media (max-width:560px){
  .order-modal{align-items:flex-end}                         /* bottom-sheet: keyboard pushes content up, doesn't hide Pay */
  .order-modal__panel{max-height:92dvh;border-radius:12px 12px 0 0}
  .order-modal__head{padding:1.2rem 1.4rem .8rem}
  .order-modal__scroll{padding:0 1.4rem}
  .order-modal__foot{padding:1rem 1.4rem}
  .order-pay{padding-bottom:1rem}
  .order-pay__back{padding:.6rem}
}
/* safe-area LAST so it wins the bottom padding — keeps content clear of the iPhone home indicator (incl. the mobile sheet) */
.order-modal__foot,
.order-pay{padding-bottom:max(1.2rem, env(safe-area-inset-bottom))}

/* ---------- item detail modal (product pop-out — separate from the order/cart modal) ---------- */
.item-modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:clamp(.8rem,4vw,2.5rem);opacity:0;pointer-events:none;transition:opacity .2s ease}
.item-modal.is-open{opacity:1;pointer-events:auto}
.item-modal[hidden]{display:none}
.item-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.5);backdrop-filter:blur(3px)}
.item-modal__panel{position:relative;width:100%;max-width:700px;max-height:min(88vh,640px);display:flex;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 30px 80px -20px rgba(8,5,4,.5);overflow:hidden;transform:translateY(14px) scale(.985);transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.item-modal.is-open .item-modal__panel{transform:none}
.item-modal__close{position:absolute;top:.55rem;right:.7rem;z-index:2;width:44px;height:44px;display:grid;place-items:center;font-size:1.6rem;line-height:1;background:color-mix(in srgb,var(--surface) 72%,transparent);border:0;border-radius:var(--r);color:var(--ink-soft);cursor:pointer;transition:background .2s ease,color .2s ease}
.item-modal__close:hover{background:var(--bg-deep);color:var(--ink)}
.item-modal__media{flex:0 0 50%;width:50%;background:var(--bg)}
.item-modal__photo{width:100%;height:100%;object-fit:cover;display:block;border-radius:var(--r) 0 0 var(--r)}
.item-modal__panel.is-nomedia .item-modal__media{display:none}
.item-modal__body{flex:1;display:flex;flex-direction:column;justify-content:center;padding:clamp(1.6rem,4vw,2.4rem)}
.item-modal__name{font-family:var(--font-display);font-weight:500;font-size:clamp(1.7rem,4vw,2.3rem);line-height:1.05;margin:0 0 .7rem;color:var(--ink)}
.item-modal__desc{font-size:.95rem;color:var(--muted);line-height:1.5;margin:0 0 .55rem;max-width:34ch}
.item-modal__desc[hidden]{display:none}
.item-modal__price{font-family:var(--font-display);font-size:1.7rem;font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums;margin:0 0 1.3rem}
.item-modal__add{width:100%;justify-content:center}
.item-modal__note{margin:.85rem 0 0;font-size:.74rem;color:var(--muted);text-align:center}
@media (max-width:680px){
  .item-modal__panel{flex-direction:column;max-width:95vw;max-height:90vh;overflow-y:auto}
  .item-modal__media{flex:none;width:100%}
  .item-modal__photo{height:240px;border-radius:var(--r) var(--r) 0 0}
}

/* ===================== RESPONSIVE ===================== */
@media (max-width:900px){
  .about-grid{grid-template-columns:1fr;gap:2rem}
  .about-figure{aspect-ratio:16/10}
  .menu-cols{grid-template-columns:1fr;gap:3rem}
  .visit-grid{grid-template-columns:1fr}
}
@media (max-width:760px){
  .nav-toggle{display:flex}
  .site-nav{
    position:fixed;top:var(--header-h);left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--surface);border-bottom:1px solid var(--line);
    padding:.5rem var(--pad) 1.1rem;
    transform:translateY(-12px);opacity:0;pointer-events:none;
    transition:transform .25s ease,opacity .25s ease;
  }
  .site-nav.open{transform:none;opacity:1;pointer-events:auto}
  .site-nav a{color:var(--ink);padding:.85rem 0;border-bottom:1px solid var(--line-soft);opacity:1}
  .nav-cta{margin-top:.7rem;text-align:center;justify-content:center;border:1px solid var(--accent)!important;color:var(--accent)!important}
  .getting-here{grid-template-columns:1fr}
  .order{flex-direction:column;align-items:flex-start}
  .about-points{grid-template-columns:1fr;gap:1.8rem}
}
@media (max-width:440px){
  .ig-grid{grid-template-columns:repeat(2,1fr)}
  .hero h1{font-size:clamp(2rem,8.5vw,3rem);overflow-wrap:break-word}
  .btn{padding:.8rem 1.3rem}
  .footer-base{flex-direction:column;gap:.5rem}
}
