/* Café Parisi — Italian theme */
:root {
  --verde: #2F4A2C;
  --verde-deep: #233821;
  --terracotta: #9C4426;
  --limone: #E8C547;      /* decorative only — never text on crema */
  --limone-dark: #8A6D12;
  --crema: #F6EFE3;
  --crema-deep: #EDE2CF;
  --inchiostro: #1E1A16;

  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Josefin Sans', Arial, sans-serif;

  --wrap: 1200px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--inchiostro);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--verde); }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--terracotta);
}
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--verde); line-height: 1.05; margin: 0 0 16px; }
h1 { font-size: clamp(3rem, 7vw, 5.25rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.9rem; }
h1 em, h2 em, .brand em { color: var(--terracotta); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--verde); color: var(--crema); padding: 10px 16px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 26px;
  font: 600 14px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  border: 2px solid var(--verde); background: var(--verde); color: var(--crema);
  border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--crema); }
.btn--ghost { background: transparent; color: var(--verde); }
.btn--ghost:hover { background: var(--verde); border-color: var(--verde); }
.btn--light { background: var(--crema); color: var(--verde); border-color: var(--crema); }
.btn--light:hover { background: var(--limone); border-color: var(--limone); color: var(--inchiostro); }

/* Awning stripe */
.awning { position: relative; z-index: 60; filter: drop-shadow(0 4px 4px rgba(30, 26, 22, .12)); }
.awning-stripes { height: 22px; background: repeating-linear-gradient(90deg, var(--verde) 0 28px, var(--crema) 28px 56px); }
.awning-scallop {
  height: 14px;
  background:
    radial-gradient(circle at 14px 0, var(--verde) 13.5px, transparent 14px) 0 0 / 56px 14px repeat-x,
    radial-gradient(circle at 42px 0, var(--crema) 13.5px, transparent 14px) 0 0 / 56px 14px repeat-x;
}
.awning + .site-header { margin-top: -14px; padding-top: 14px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 227, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1.5px solid var(--terracotta);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 24px; max-width: var(--wrap); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 30px; line-height: 1; color: var(--verde); }
.brand svg { width: 50px; height: 50px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { color: var(--inchiostro); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--terracotta); }
.nav-toggle { display: none; background: none; border: 2px solid var(--verde); color: var(--verde); border-radius: var(--radius); min-height: 44px; padding: 0 14px; font: 600 13px var(--body); letter-spacing: .18em; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--crema); border-bottom: 1.5px solid var(--terracotta); padding: 8px 24px 20px; }
  .nav-links.open { display: flex; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--crema-deep); }
  .nav-links .btn { margin-top: 14px; width: 100%; }
}

/* Hero */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero p.lede { font-size: 20px; max-width: 36ch; margin: 0 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; aspect-ratio: 4 / 5; max-width: 460px; justify-self: center; width: 100%; display: grid; place-items: center; }
.arch {
  position: absolute; inset: 0;
  border-radius: 999px 999px var(--radius) var(--radius);
  border: 10px solid var(--verde);
  box-shadow: 0 0 0 2px var(--crema), 0 0 0 4px var(--limone), 0 30px 60px -20px rgba(30, 26, 22, .35);
}
.medallion {
  position: relative; width: 82%;
  filter: drop-shadow(0 18px 24px rgba(30, 26, 22, .28));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px) rotate(2deg); } }
.sprig { position: absolute; width: 130px; pointer-events: none; }
.sprig--a { top: -18px; left: -40px; transform: rotate(-10deg); }
.sprig--b { bottom: 8%; right: -46px; transform: scaleX(-1) rotate(-20deg); }
.open-badge {
  position: absolute; right: -18px; top: 30%;
  background: var(--terracotta); color: var(--crema);
  font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.1; text-align: center;
  width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; padding: 14px;
  transform: rotate(-10deg); box-shadow: 0 10px 24px rgba(30, 26, 22, .18);
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

/* Majolica tile pattern */
.tiles {
  background-color: var(--crema-deep);
  background-image:
    radial-gradient(circle at 50% 50%, var(--limone) 0 7px, transparent 8px),
    radial-gradient(circle at 50% 50%, transparent 0 22px, var(--terracotta) 23px 25px, transparent 26px),
    linear-gradient(45deg, transparent 47%, rgba(47, 74, 44, .35) 47% 53%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(47, 74, 44, .35) 47% 53%, transparent 53%);
  background-size: 72px 72px;
}

/* Ticker band */
.band { background: var(--verde); color: var(--crema); overflow: hidden; white-space: nowrap; }
.band-track { display: inline-flex; gap: 48px; padding: 16px 0; animation: scroll 38s linear infinite; font-family: var(--display); font-style: italic; font-size: 24px; }
.band-track span::after { content: "✦"; color: var(--limone); margin-left: 48px; font-style: normal; font-size: 16px; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .band-track { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { margin: 0; }

/* Rituals (feature cards) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.card { background: #fff; border: 1px solid var(--crema-deep); border-top: 6px solid var(--terracotta); padding: 32px 28px; border-radius: var(--radius); }
.card:nth-child(2) { border-top-color: var(--verde); }
.card:nth-child(3) { border-top-color: var(--limone); }
.card .time { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); }
.card h3 { margin-top: 8px; }
.card p { margin: 0; }
.card svg { width: 56px; height: 56px; margin-bottom: 16px; }

/* Menu */
.menu-section { background: var(--verde); color: var(--crema); }
.menu-section h2, .menu-section h3 { color: var(--crema); }
.menu-section h2 em { color: var(--limone); }
.menu-section .eyebrow { color: var(--limone); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.menu-col h3 { border-bottom: 1.5px solid var(--limone); padding-bottom: 10px; margin-bottom: 18px; }
.item { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.item .name { font-weight: 600; }
.item .dots { flex: 1; border-bottom: 1px dotted rgba(246, 239, 227, .45); transform: translateY(-4px); }
.item .desc { display: block; font-size: 15px; opacity: .8; font-weight: 400; }
.menu-cta { text-align: center; margin-top: 48px; }

/* Full menu page (light) */
.menu-page .item .dots { border-bottom-color: rgba(30, 26, 22, .3); }
.menu-page .menu-col h3 { border-bottom-color: var(--terracotta); }
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.menu-tabs a { text-decoration: none; padding: 10px 18px; border: 1.5px solid var(--verde); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.menu-tabs a:hover { background: var(--verde); color: var(--crema); }
.menu-block { scroll-margin-top: 110px; margin-bottom: 64px; }
.note { text-align: center; font-size: 15px; opacity: .75; }

/* Story */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.photo-slot {
  aspect-ratio: 4 / 5; border-radius: var(--radius); display: grid; place-items: center; text-align: center;
  padding: 24px; color: var(--verde); font-size: 13px; font-weight: 600; letter-spacing: .2em;
  border: 2px dashed var(--terracotta); position: relative;
}
.photo-slot span { background: var(--crema); padding: 10px 14px; }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; border-left: 2px solid var(--terracotta); }
.timeline li { padding: 0 0 20px 24px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--limone); border: 2px solid var(--terracotta); }
.timeline strong { font-family: var(--display); font-size: 26px; color: var(--verde); display: block; line-height: 1.1; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }

/* Quote */
.quote { text-align: center; padding: 88px 0; }
.quote blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--display); font-style: italic; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; color: var(--verde); }
.quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: .3em; color: var(--terracotta); }

/* Visit */
.visit { background: var(--crema-deep); }
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.panel { background: var(--crema); padding: 32px; border-radius: var(--radius); }
.panel h3 { font-family: var(--body); font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--terracotta); }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--crema-deep); }
.signup label { display: block; margin-bottom: 8px; font-size: 15px; }
.signup .row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input {
  flex: 1; min-width: 180px; min-height: 48px; padding: 0 14px;
  font: 16px var(--body); border: 1.5px solid var(--verde); border-radius: var(--radius); background: #fff;
}
.signup .msg { margin: 12px 0 0; font-size: 15px; color: var(--verde); min-height: 1.5em; }

/* Footer */
.site-footer { background: var(--inchiostro); color: var(--crema); padding: 56px 0 32px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.site-footer .brand { color: var(--crema); }
.site-footer .brand em { color: var(--limone); }
.site-footer a { color: var(--crema); }
.site-footer a:hover { color: var(--limone); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tagline { font-size: 13px; letter-spacing: .26em; opacity: .7; margin-top: 12px; }
.fine { border-top: 1px solid rgba(246, 239, 227, .15); margin-top: 40px; padding-top: 20px; font-size: 14px; opacity: .6; }

/* Page hero (inner pages) */
.page-hero { text-align: center; padding: 72px 0 48px; }
.page-hero p { max-width: 52ch; margin: 0 auto; }

/* ───────── Polish layer ───────── */

/* Warm paper grain */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .3 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--limone); color: var(--inchiostro); }

/* Header gets a soft shadow once you scroll */
.site-header { transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(30, 26, 22, .35); }

/* Hero glow */
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(232, 197, 71, .28), rgba(232, 197, 71, 0) 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { letter-spacing: -.01em; }
.hero h1 em { display: inline-block; }

/* Buttons: a touch of depth */
.btn { box-shadow: 0 2px 0 rgba(30, 26, 22, .18); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(30, 26, 22, .4); }
.btn { transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }

/* Ornamental divider under section headings */
.section-head h2::after, .page-hero h1::after {
  content: ""; display: block; width: 150px; height: 18px; margin: 18px auto 0;
  background:
    radial-gradient(circle, var(--limone) 0 5px, var(--limone-dark) 5px 6px, transparent 6.5px) center / 18px 18px no-repeat,
    linear-gradient(var(--terracotta), var(--terracotta)) left center / 58px 1.5px no-repeat,
    linear-gradient(var(--terracotta), var(--terracotta)) right center / 58px 1.5px no-repeat;
}
.menu-section .section-head h2::after {
  background:
    radial-gradient(circle, var(--limone) 0 5px, var(--limone-dark) 5px 6px, transparent 6.5px) center / 18px 18px no-repeat,
    linear-gradient(var(--limone), var(--limone)) left center / 58px 1.5px no-repeat,
    linear-gradient(var(--limone), var(--limone)) right center / 58px 1.5px no-repeat;
}

/* Cards */
.card {
  background: #FFFCF6; border: 0; border-top: 0; position: relative; overflow: hidden;
  box-shadow: 0 1px 0 rgba(30, 26, 22, .06), 0 18px 40px -26px rgba(30, 26, 22, .45);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--terracotta); }
.card:nth-child(2)::before { background: var(--verde); }
.card:nth-child(3)::before { background: var(--limone); }
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(30, 26, 22, .06), 0 28px 50px -24px rgba(30, 26, 22, .5); }
.card svg { width: 72px; height: 72px; padding: 10px; border-radius: 50%; background: var(--crema); box-shadow: inset 0 0 0 2px var(--crema-deep); }

/* Menu section: faint tile watermark + framed board */
.menu-section { position: relative; overflow: hidden; }
.menu-section::before {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image:
    radial-gradient(circle at 50% 50%, var(--crema) 0 7px, transparent 8px),
    radial-gradient(circle at 50% 50%, transparent 0 22px, var(--crema) 23px 25px, transparent 26px);
  background-size: 72px 72px;
}
.menu-section .wrap { position: relative; }
.menu-section .menu-grid {
  border: 1.5px solid rgba(232, 197, 71, .55); outline: 1px solid rgba(232, 197, 71, .3); outline-offset: 6px;
  padding: 48px 40px; border-radius: 4px; background: rgba(30, 26, 22, .12);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.menu-col h3 { font-style: italic; }
.item { transition: color .2s; }
.menu-section .item:hover .name { color: var(--limone); }

/* Arch photo frame */
.arch-frame { border: 0; border-radius: 999px 999px var(--radius) var(--radius); box-shadow: 0 0 0 10px var(--crema), 0 0 0 12px var(--terracotta), 0 30px 60px -24px rgba(30, 26, 22, .45); }
.arch-frame span { border-radius: var(--radius); box-shadow: 0 6px 18px -8px rgba(30, 26, 22, .35); }

/* Quote */
.quote { position: relative; }
.quote blockquote {
  background: var(--crema); padding: 48px 56px; max-width: 640px; border-radius: 4px; position: relative;
  box-shadow: 0 0 0 1.5px var(--terracotta), 0 0 0 8px var(--crema), 0 24px 50px -24px rgba(30, 26, 22, .5);
}
.quote blockquote::before { content: "“"; position: absolute; top: -34px; left: 50%; transform: translateX(-50%); font-size: 110px; line-height: 1; color: var(--terracotta); }
.quote cite { margin: 28px auto 0; width: fit-content; background: var(--verde); color: var(--crema); padding: 10px 18px; border-radius: 999px; }

/* Visit panels */
.panel { background: #FFFCF6; box-shadow: 0 18px 40px -28px rgba(30, 26, 22, .45); border-top: 4px solid var(--verde); }
.panel h3 { margin-bottom: 18px; }
.signup input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(156, 68, 38, .2); }

/* Footer */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(90deg, var(--terracotta) 0 28px, var(--limone) 28px 56px); }

/* Menu page board */
.menu-page .menu-grid { gap: 40px 56px; }
.menu-page .menu-col { background: #FFFCF6; padding: 32px; border-radius: 4px; box-shadow: 0 18px 40px -30px rgba(30, 26, 22, .45); }
.menu-page .menu-block { margin-bottom: 0; }
.menu-page .note { margin-top: 48px; }
.menu-tabs a { transition: background .2s, color .2s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .sprig--a { left: -10px; } .sprig--b { right: -10px; }
  .open-badge { right: 0; }
  .menu-section .menu-grid { padding: 32px 22px; }
  .quote blockquote { padding: 40px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .medallion { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* ───────── Ordering ───────── */
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 8px; border-radius: 999px; background: var(--limone); color: var(--inchiostro); font-size: 12px; letter-spacing: 0; }
.badge[hidden] { display: none; }

.add-btn {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--verde); background: var(--verde); color: var(--crema);
  font: 600 14px var(--body); letter-spacing: .08em; white-space: nowrap;
  transition: transform .15s, background .2s;
}
.add-btn:hover { background: var(--terracotta); border-color: var(--terracotta); }
.add-btn:active { transform: scale(.95); }
.add-btn.added { background: var(--limone); border-color: var(--limone); color: var(--inchiostro); }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--verde); border-radius: 999px; background: #fff; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; color: var(--verde); font: 600 22px/1 var(--body); cursor: pointer; border-radius: 50%; }
.stepper button:hover { background: var(--crema-deep); }
.stepper span { min-width: 22px; text-align: center; font-weight: 600; }
.price { font-weight: 600; color: var(--terracotta); }
.pill { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 8px; border-radius: 999px; background: var(--limone); color: var(--inchiostro); font: 600 10px var(--body); letter-spacing: .14em; text-transform: uppercase; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 160%);
  display: flex; gap: 18px; align-items: center; padding: 14px 20px; border-radius: 999px;
  background: var(--inchiostro); color: var(--crema); box-shadow: 0 16px 40px -12px rgba(0,0,0,.5);
  transition: transform .35s cubic-bezier(.2,.8,.2,1); font-weight: 600; white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--limone); text-decoration: none; }

/* Order page */
.order-top { padding: 40px 0 28px; background: var(--verde); color: var(--crema); }
.order-top h1 { color: var(--crema); font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.order-top h1 em { color: var(--limone); }
.order-top .eyebrow { color: var(--limone); }
.order-top-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.order-settings { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(0,0,0,.25); }
.seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--crema); font: 600 14px var(--body); letter-spacing: .1em; cursor: pointer; }
.seg button svg { width: 20px; height: 20px; }
.seg button[aria-checked="true"] { background: var(--crema); color: var(--verde); }
.time-pick { display: inline-flex; align-items: center; gap: 10px; background: rgba(0,0,0,.25); border-radius: 999px; padding: 4px 4px 4px 18px; font-weight: 600; font-size: 14px; letter-spacing: .1em; }
.time-pick select { min-height: 44px; border: 0; border-radius: 999px; padding: 0 14px; font: 600 15px var(--body); color: var(--verde); background: var(--crema); cursor: pointer; }

.cat-bar { position: sticky; top: 92px; z-index: 40; background: rgba(246,239,227,.97); border-bottom: 1px solid var(--crema-deep); }
.cat-bar .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.cat-bar a { flex: none; text-decoration: none; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; letter-spacing: .1em; color: var(--verde); border: 1.5px solid var(--crema-deep); background: #fff; }
.cat-bar a.active, .cat-bar a:hover { background: var(--verde); color: var(--crema); border-color: var(--verde); }

.order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; padding-top: 32px; padding-bottom: 80px; }
.order-cat { scroll-margin-top: 170px; margin-bottom: 40px; }
.order-cat h2 { display: flex; align-items: center; gap: 12px; font-size: 2.2rem; margin-bottom: 18px; }
.cat-icon svg { width: 44px; height: 44px; }
.order-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.o-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 18px 18px 20px; background: #FFFCF6; border-radius: 10px; border: 2px solid transparent; box-shadow: 0 10px 28px -22px rgba(30,26,22,.5); transition: border-color .2s; }
.o-item.in-cart { border-color: var(--verde); }
.o-item h3 { font-family: var(--body); font-size: 17px; font-weight: 600; color: var(--inchiostro); margin: 0 0 4px; line-height: 1.3; }
.o-item p { margin: 0 0 6px; font-size: 14px; line-height: 1.4; opacity: .75; }

.cart { position: sticky; top: 170px; background: #FFFCF6; border-radius: 12px; padding: 24px; box-shadow: 0 24px 50px -30px rgba(30,26,22,.55); border-top: 6px solid var(--terracotta); max-height: calc(100vh - 190px); overflow: auto; }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h2 { font-size: 2rem; margin: 0; }
.cart-close { display: none; width: 44px; height: 44px; border: 0; background: var(--crema-deep); border-radius: 50%; font-size: 18px; cursor: pointer; }
.cart-meta { margin: 4px 0 16px; font-size: 14px; font-weight: 600; color: var(--terracotta); letter-spacing: .04em; }
.c-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--crema-deep); }
.c-line div:first-child { display: flex; flex-direction: column; }
.c-line span { font-size: 14px; opacity: .7; }
.c-line .stepper button { width: 34px; height: 34px; font-size: 18px; }
.cart-empty { text-align: center; padding: 18px 0 8px; opacity: .8; }
.cart-empty svg { width: 64px; height: 64px; margin: 0 auto 6px; opacity: .6; }
.checkout { display: grid; gap: 12px; margin-top: 16px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; padding: 6px 0; }
.cart-total strong { font-family: var(--display); font-size: 28px; color: var(--verde); }
.price-note { margin: 0; font-size: 13px; background: var(--crema); padding: 8px 12px; border-radius: 6px; }
.price-note[hidden] { display: none; }
.checkout label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.checkout label[hidden] { display: none; }
.checkout .opt { font-weight: 400; opacity: .6; }
.checkout input { min-height: 46px; padding: 0 14px; font: 16px var(--body); border: 1.5px solid var(--crema-deep); border-radius: 8px; background: #fff; }
.checkout input:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(47,74,44,.18); }
.btn-block { width: 100%; min-height: 54px; font-size: 15px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.form-msg { margin: 0; color: var(--terracotta); font-size: 14px; font-weight: 600; }
.form-msg:empty { display: none; }
.pay-note { margin: 0; text-align: center; font-size: 13px; opacity: .65; }

.cart-bar { display: none; }
.confirm { position: fixed; inset: 0; z-index: 300; background: rgba(30,26,22,.6); display: grid; place-items: center; padding: 24px; }
.confirm[hidden] { display: none; }
.confirm-card { background: var(--crema); border-radius: 16px; padding: 40px 32px; max-width: 440px; text-align: center; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); animation: pop .4s cubic-bezier(.2,.9,.3,1.3); }
.confirm-card img { margin: 0 auto 12px; }
.confirm-num { font-size: 18px; }
.confirm-num strong { font-family: var(--display); font-size: 30px; color: var(--terracotta); }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }

@media (max-width: 999px) {
  .order-layout { grid-template-columns: 1fr; }
  .cat-bar { top: 86px; }
  .cart { position: fixed; inset: auto 0 0 0; top: auto; z-index: 250; max-height: 88vh; border-radius: 18px 18px 0 0; transform: translateY(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
  .cart.open { transform: none; }
  .cart-close { display: block; }
  body.sheet-open::after { content: ""; position: fixed; inset: 0; background: rgba(30,26,22,.45); z-index: 240; }
  .cart-bar:not([hidden]) {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 230; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 58px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--verde); color: var(--crema);
    font: 600 16px var(--body); letter-spacing: .06em; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(30,26,22,.6);
  }
  .cart-bar-count { display: grid; place-items: center; min-width: 30px; height: 30px; border-radius: 8px; background: var(--limone); color: var(--inchiostro); }
  .order-page .site-footer { padding-bottom: 100px; }
  .toast { bottom: 84px; }
}

/* Homepage quick-order */
.quick { padding: 0 0 72px; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.quick-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 14px; text-decoration: none;
  background: #FFFCF6; color: var(--inchiostro); box-shadow: 0 16px 36px -24px rgba(30,26,22,.55); border: 2px solid transparent;
  transition: transform .2s, border-color .2s;
}
.quick-card:hover { transform: translateY(-3px); border-color: var(--verde); color: var(--inchiostro); }
.quick-card svg { flex: none; width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: var(--verde); color: var(--crema); }
.quick-card:nth-child(2) svg { background: var(--terracotta); }
.quick-card:nth-child(3) svg { background: var(--limone); color: var(--inchiostro); }
.quick-card:nth-child(4) svg { background: var(--inchiostro); }
.quick-card strong { display: block; font-size: 17px; }
.quick-card span { font-size: 14px; opacity: .7; }
.quick-card .arrow { margin-left: auto; font-size: 20px; opacity: 1; color: var(--terracotta); }

.favs-section { padding-top: 24px; }
.fav-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 18px; overflow-x: auto; padding: 8px 4px 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.fav { scroll-snap-align: start; background: #FFFCF6; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; box-shadow: 0 16px 36px -26px rgba(30,26,22,.55); }
.fav-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--crema); display: grid; place-items: center; margin-bottom: 12px; }
.fav-icon svg { width: 52px; height: 52px; }
.fav h3 { font-size: 1.6rem; margin: 0 0 4px; }
.fav p { margin: 0 0 16px; font-size: 14px; opacity: .75; flex: 1; }
.fav-foot { display: flex; justify-content: space-between; align-items: center; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.row-head h2 { margin: 0; }
.row-head h2::after { display: none; }

/* Promo strip */
.promo { background: var(--terracotta); color: var(--crema); text-align: center; font-size: 14px; font-weight: 600; letter-spacing: .08em; padding: 9px 16px; }
.promo a { color: var(--limone); margin-left: 8px; text-decoration: none; white-space: nowrap; }

/* Sticky mobile order button (home & menu) */
.m-order { display: none; }
@media (max-width: 860px) {
  .m-order {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; justify-content: center; align-items: center; gap: 10px;
    min-height: 56px; border-radius: 14px; background: var(--verde); color: var(--crema); text-decoration: none;
    font: 600 15px var(--body); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 14px 30px -10px rgba(30,26,22,.6);
  }
  .m-order:hover { color: var(--crema); }
  .has-m-order .site-footer { padding-bottom: 96px; }
  .has-m-order .toast { bottom: 84px; }
}

/* ───────── Family history memory board ───────── */
.memory { background: #2A1F18; color: var(--crema); padding: 110px 0 120px; position: relative; overflow: hidden; }
.memory::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, rgba(232,197,71,.12), transparent 60%);
}
.memory .section-head h2 { color: var(--crema); }
.memory .section-head h2 em { color: var(--limone); }
.memory .section-head .eyebrow { color: var(--limone); }
.memory .section-head p { opacity: .8; }
.memory .section-head h2::after {
  background:
    radial-gradient(circle, var(--limone) 0 5px, var(--limone-dark) 5px 6px, transparent 6.5px) center / 18px 18px no-repeat,
    linear-gradient(var(--limone), var(--limone)) left center / 58px 1.5px no-repeat,
    linear-gradient(var(--limone), var(--limone)) right center / 58px 1.5px no-repeat;
}
.board { position: relative; max-width: 1180px; height: 900px; margin: 0 auto; }
.board-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.board-lines path { fill: none; stroke: rgba(246,239,227,.22); stroke-width: 1.2; stroke-dasharray: 4 6; }
.memo { position: absolute; margin: 0; transform: rotate(var(--r, 0deg)); transition: transform .4s cubic-bezier(.2,.8,.2,1), z-index 0s; z-index: 1; }
.memo:hover, .memo:focus-within { transform: rotate(0deg) scale(1.06); z-index: 5; }
.snap {
  background: #F4EDE0; padding: 12px 12px 44px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.75);
  position: relative;
}
.snap .ph {
  width: 100%; aspect-ratio: var(--ar, 4/3); display: grid; place-items: center; text-align: center; padding: 14px;
  background: linear-gradient(160deg, #8C7A62, #5B4B39); color: #F4EDE0; font-size: 11px; font-weight: 600; letter-spacing: .18em; line-height: 1.6;
  filter: sepia(.4); position: relative; overflow: hidden;
}
.snap .ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.45)); }
.snap .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.35) contrast(1.05); }
.snap figcaption { position: absolute; left: 12px; right: 12px; bottom: 10px; font-family: var(--display); font-style: italic; font-size: 19px; color: var(--inchiostro); text-align: center; }
.snap--deckle { padding: 0; background: none; box-shadow: none; filter: drop-shadow(0 24px 30px rgba(0,0,0,.7)); }
.snap--deckle .ph {
  -webkit-mask: radial-gradient(circle 5px at 50% 50%, #000 98%, transparent) 0 0 / 10px 10px round, linear-gradient(#000, #000) center / calc(100% - 10px) calc(100% - 10px) no-repeat;
          mask: radial-gradient(circle 5px at 50% 50%, #000 98%, transparent) 0 0 / 10px 10px round, linear-gradient(#000, #000) center / calc(100% - 10px) calc(100% - 10px) no-repeat;
  background: linear-gradient(160deg, #A08C70, #4E3F2F);
}
.snap--deckle figcaption { position: static; color: var(--crema); margin-top: 10px; }
.board .memo.snap { position: absolute; }
.tape::before { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(232,197,71,.55); box-shadow: 0 2px 4px rgba(0,0,0,.2); z-index: 2; }
.year {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(246,239,227,.08); border: 1px solid rgba(246,239,227,.18); backdrop-filter: blur(4px);
  font-size: 14px; white-space: nowrap;
}
.year b { display: grid; place-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--terracotta); font-weight: 600; letter-spacing: .08em; }
.artifact { filter: drop-shadow(0 20px 24px rgba(0,0,0,.6)); }
.artifact svg { width: 100%; height: auto; }
.board-story { position: absolute; max-width: 290px; }
.board-story p { font-size: 17px; line-height: 1.65; margin: 0 0 12px; opacity: .9; }
.board-story .sig { font-family: var(--display); font-style: italic; font-size: 26px; color: var(--limone); opacity: 1; }

@media (max-width: 1199px) {
  .board { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; padding: 0 24px; }
  .board-lines { display: none; }
  .memo, .board-story { position: static; width: auto !important; max-width: none; }
  .board .memo.snap { position: relative; }
  .board-story { grid-column: 1 / -1; order: -1; }
  .memo.year { grid-column: 1 / -1; justify-self: center; }
  .artifact { max-width: 160px; justify-self: center; }
  .memo { --r: 0deg !important; }
  .board-story { text-align: center; max-width: min(620px, 100%) !important; justify-self: center; overflow-wrap: anywhere; }
}
@media (max-width: 560px) { .board { grid-template-columns: 1fr; } }

.nav-links .btn[aria-current="page"] { color: var(--crema); background: var(--terracotta); border-color: var(--terracotta); }

/* Menu page quick-add */
.mini-add {
  flex: none; width: 32px; height: 32px; margin-left: 4px; border-radius: 50%; border: 1.5px solid var(--verde);
  background: transparent; color: var(--verde); font: 600 18px/1 var(--body); cursor: pointer; transition: background .2s, color .2s, transform .15s;
}
.mini-add:hover { background: var(--verde); color: var(--crema); }
.mini-add:active { transform: scale(.9); }
.mini-add.added { background: var(--limone); border-color: var(--limone); color: var(--inchiostro); }
.menu-page .item { align-items: center; }
.menu-page .item .dots { transform: translateY(4px); }

/* Hours */
.hours .today { font-weight: 600; color: var(--verde); }
.hours .today span:first-child::after { content: "Today"; display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--terracotta); color: var(--crema); font-weight: 600; font-size: 11px; letter-spacing: .06em; vertical-align: 2px; }
.open-status { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 10px; padding: 6px 14px; border-radius: 999px; background: var(--crema-deep); font-size: 14px; font-weight: 600; }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); }
.open-status.is-open { background: rgba(47, 74, 44, .12); color: var(--verde); }
.open-status.is-open::before { background: #3C9A4A; box-shadow: 0 0 0 4px rgba(60, 154, 74, .2); }
.open-status[hidden] { display: none; }

/* Order again */
.reorder { display: block; width: 100%; margin-top: 14px; padding: 12px 16px; border-radius: 12px; border: 1.5px dashed var(--verde); background: transparent; color: var(--verde); font: 600 15px var(--body); cursor: pointer; text-align: left; }
.reorder span { display: block; font-weight: 400; font-size: 13px; opacity: .75; margin-top: 2px; }
.reorder:hover { background: rgba(47, 74, 44, .07); }

/* ═════════ Modern layer ═════════
   Cleaner surfaces, floating glass nav, pill buttons, rounded section panels.
   Everything above stays as the base; these rules refine it. */
:root { --r-sm: 12px; --r-md: 20px; --r-lg: 32px; --line: rgba(30, 26, 22, .08); }

body { background-image: none; background: var(--crema); }
.awning { display: none; }

/* Promo strip: slimmer */
.promo { font-size: 13px; letter-spacing: .02em; padding: 8px 16px; }

/* Floating glass nav */
.site-header { background: transparent; border: 0; backdrop-filter: none; padding: 12px 16px 0; box-shadow: none !important; }
.nav {
  max-width: 1200px; padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(255, 252, 246, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--line); box-shadow: 0 8px 30px -18px rgba(30, 26, 22, .35);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled .nav { background: rgba(255, 252, 246, .92); box-shadow: 0 14px 40px -18px rgba(30, 26, 22, .45); }
.brand { font-size: 26px; }
.brand img { width: 40px; height: 40px; }
.nav-links { gap: 6px; }
.nav-links a:not(.btn) { text-transform: none; letter-spacing: .01em; font-size: 15px; padding: 10px 14px; border-radius: 999px; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { background: rgba(47, 74, 44, .08); color: var(--verde); }
.nav-toggle { border-radius: 999px; border-width: 1.5px; text-transform: none; letter-spacing: .02em; }
@media (max-width: 860px) {
  .nav-links { top: calc(100% + 8px); left: 16px; right: 16px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; box-shadow: 0 20px 40px -20px rgba(30, 26, 22, .4); }
  .nav-links li a:not(.btn) { border-bottom: 0; }
}

/* Buttons: pills, sentence case */
.btn { border-radius: 999px; text-transform: none; letter-spacing: .01em; font-size: 15px; padding: 14px 24px; box-shadow: none; }
.btn:hover { box-shadow: 0 10px 24px -12px rgba(30, 26, 22, .45); }
.btn--ghost { border-width: 1.5px; }
.add-btn { letter-spacing: .01em; }

/* Type: tighter, bigger display */
h1 { font-size: clamp(3.2rem, 8vw, 6.2rem); line-height: .95; letter-spacing: -.02em; }
h2 { letter-spacing: -.015em; }
.eyebrow { letter-spacing: .18em; font-size: 12px; }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 10px; vertical-align: 1px; }
.section-head h2::after, .page-hero h1::after { display: none; }
.section-head { margin-bottom: 44px; }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero::before { opacity: .8; }
.hero .lede { font-size: 19px; color: rgba(30, 26, 22, .78); }
.arch { border-width: 0; box-shadow: 0 40px 80px -30px rgba(30, 26, 22, .45); }
.open-badge { box-shadow: 0 16px 30px -12px rgba(156, 68, 38, .6); }

/* Quick cards */
.quick-card { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(30,26,22,.04); background: #fff; }
.quick-card:hover { border-color: var(--verde); box-shadow: 0 18px 40px -24px rgba(30, 26, 22, .45); }
.quick-card svg { border-radius: 14px; }

/* Ticker: rounded floating band */
.band { margin: 0 16px; border-radius: 999px; }
.band-track { padding: 14px 0; font-size: 22px; }

/* Cards everywhere */
.card, .fav, .panel, .o-item, .menu-page .menu-col { border-radius: var(--r-md); border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 2px rgba(30,26,22,.04); }
.card::before { inset: 0 auto 0 0; width: 4px; height: auto; border-radius: 4px; }
.card:hover, .fav:hover { box-shadow: 0 24px 50px -28px rgba(30, 26, 22, .45); transform: translateY(-4px); }
.fav { transition: transform .3s, box-shadow .3s; }
.panel { border-top: 1px solid var(--line); }
.card svg, .fav-icon { background: var(--crema); box-shadow: none; border-radius: 16px; }
.o-item.in-cart { border-color: var(--verde); box-shadow: 0 0 0 1px var(--verde); }
.cart { border-radius: var(--r-md); border: 1px solid var(--line); border-top: 1px solid var(--line); background: #fff; }
.checkout input, .signup input { border-radius: var(--r-sm); border: 1px solid rgba(30,26,22,.15); }
.stepper { border-width: 1.5px; }

/* Section panels: rounded, inset from the edges */
.menu-section, .visit, .memory, .order-top { margin: 0 16px; border-radius: var(--r-lg); }
.menu-section .menu-grid { border-radius: var(--r-md); outline: 0; border-color: rgba(232, 197, 71, .35); background: rgba(0, 0, 0, .14); }
.menu-section::before { border-radius: var(--r-lg); }
.memory { margin-top: 24px; }
.visit { margin-bottom: 16px; }
.order-top { margin-top: 12px; padding: 36px 0; }
.seg, .time-pick { background: rgba(0, 0, 0, .22); }

/* Quote: clean statement panel instead of framed tile card */
.quote { background: none; padding: 96px 0; }
.quote blockquote { background: none; box-shadow: none; padding: 0; max-width: 18ch; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -.02em; }
.quote blockquote::before { position: static; display: block; transform: none; font-size: 90px; line-height: .6; margin-bottom: 12px; }
.quote cite { background: var(--crema-deep); color: var(--verde); }

/* Category chips + menu tabs */
.cat-bar { top: 84px; background: rgba(246, 239, 227, .85); backdrop-filter: blur(10px); border-bottom: 0; }
.cat-bar a, .menu-tabs a { border: 1px solid var(--line); background: #fff; letter-spacing: .02em; text-transform: none; font-size: 15px; }
.menu-tabs a { color: var(--verde); }

/* Story board: soften */
.board-lines path { stroke: rgba(246, 239, 227, .16); }
.snap { border-radius: 6px; }
.snap .ph { border-radius: 3px; }

/* Footer */
.site-footer { margin: 16px; border-radius: var(--r-lg); }
.site-footer::before { display: none; }

/* Mobile bars */
.m-order, .cart-bar:not([hidden]) { border-radius: 999px; }
.toast { border-radius: 999px; }
.confirm-card { border-radius: var(--r-lg); }

@media (max-width: 860px) {
  .menu-section, .visit, .memory, .order-top, .band { margin-left: 8px; margin-right: 8px; border-radius: var(--r-md); }
  .site-footer { margin: 8px; border-radius: var(--r-md); }
  .site-header { padding: 8px 8px 0; }
  .cat-bar { top: 76px; }
}

/* Layout fixes */
section.order-cat { padding: 0; }
.menu-page .menu-grid { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
@media (max-width: 420px) { .menu-page .menu-grid { grid-template-columns: 1fr; } }

.hours #hours-list { display: block; padding: 0; border: 0; }

/* ═════════ Menu page: Italian trattoria + a hint of New York ═════════ */
:root { --ny: 'Oswald', 'Arial Narrow', Arial, sans-serif; }

.mhero { text-align: center; padding: 48px 0 32px; }
.mhero h1 { margin-bottom: 12px; }
.mhero p { max-width: 54ch; margin: 0 auto; color: rgba(30,26,22,.78); }
.msearch {
  display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 28px auto 0; padding: 0 8px 0 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px -20px rgba(30,26,22,.45);
}
.msearch svg { width: 20px; height: 20px; color: var(--verde); flex: none; }
.msearch input { flex: 1; min-height: 54px; border: 0; background: none; font: 16px var(--body); outline: none; }
.msearch:focus-within { border-color: var(--verde); box-shadow: 0 0 0 3px rgba(47,74,44,.15); }

/* NYC subway-sign category strip */
.subway { position: sticky; top: 90px; z-index: 40; margin: 0 16px; border-radius: 16px; background: var(--inchiostro); box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); }
.subway::before { content: ""; display: block; height: 4px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, #2F4A2C 0 20%, #9C4426 20% 40%, #5C7A3A 40% 60%, #C99A1E 60% 80%, #F6EFE3 80%); opacity: .9; }
.subway .wrap { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
.subway a {
  flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; text-decoration: none;
  color: var(--crema); font: 500 15px var(--ny); letter-spacing: .1em; text-transform: uppercase; transition: background .2s;
}
.subway a:hover, .subway a.active { background: rgba(246,239,227,.12); color: #fff; }
.bullet { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c, var(--verde)); flex: none; }
.bullet svg { width: 24px; height: 24px; background: var(--crema); border-radius: 50%; padding: 2px; }

.mbody { padding-top: 40px; padding-bottom: 80px; }
.mlabel { font-size: 2rem; margin-bottom: 18px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.mlabel span { font: 500 13px var(--ny); letter-spacing: .2em; text-transform: uppercase; color: var(--terracotta); }
.mfeat { padding: 0 0 24px; }
.mfeat .fav { border-top: 4px solid var(--c); }
.mfeat .fav.in-cart { box-shadow: 0 0 0 2px var(--verde); }
.mcats { padding: 0 0 56px; }

/* Dunkin-style category cards */
.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cat-card {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-md); text-decoration: none; color: var(--inchiostro);
  background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.cat-card:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 18px 36px -24px rgba(30,26,22,.5); color: var(--inchiostro); }
.cat-tile { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 16px; background: color-mix(in srgb, var(--c) 14%, #fff); flex: none; }
.cat-tile svg { width: 50px; height: 50px; }
.cat-card strong { display: block; font: 600 1.6rem/1.1 var(--display); color: var(--verde); }
.cat-card em { display: block; font-style: normal; font-size: 14px; opacity: .75; }
.cat-card small { display: inline-block; margin-top: 6px; font: 500 12px var(--ny); letter-spacing: .14em; text-transform: uppercase; color: var(--c); }

/* Traditional trattoria menu card */
.tmenu { display: grid; gap: 36px; }
.tcat {
  padding: 44px clamp(20px, 4vw, 56px) 36px; background: #FFFCF6; border-radius: 6px; position: relative; scroll-margin-top: 170px;
  border: 1px solid rgba(156, 68, 38, .35); outline: 1px solid rgba(156, 68, 38, .35); outline-offset: -10px;
  box-shadow: 0 30px 60px -40px rgba(30,26,22,.55);
}
section.tcat { padding-top: 44px; padding-bottom: 36px; }
.tcat[hidden] { display: none; }
.tcat-head { text-align: center; margin-bottom: 28px; }
.tcat-head .bullet { width: 56px; height: 56px; margin: 0 auto 10px; }
.tcat-head .bullet svg { width: 40px; height: 40px; }
.tcat-head h2 { font-style: italic; font-size: clamp(2.6rem, 5vw, 3.6rem); margin: 0 0 10px; color: var(--verde); }
.tcat-head h2::after { display: none; }
.ny { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 4px; background: var(--inchiostro); color: var(--crema); font: 500 13px var(--ny); letter-spacing: .22em; text-transform: uppercase; }
.trows { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 4px 48px; }
.titem { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 14px 6px; border-bottom: 1px dashed rgba(30,26,22,.14); border-radius: 8px; transition: background .2s; }
.titem[hidden] { display: none; }
.titem.in-cart { background: rgba(47,74,44,.06); }
.ttext h3 { margin: 0; font: 600 1.45rem/1.15 var(--display); color: var(--inchiostro); }
.ttext h3 .pill { margin-left: 8px; }
.ttext p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: rgba(30,26,22,.7); }
.tdots { align-self: end; margin-bottom: 10px; border-bottom: 2px dotted rgba(30,26,22,.25); min-width: 20px; }
.tprice { font: 600 17px var(--ny); letter-spacing: .04em; color: var(--terracotta); }
.titem .add-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.titem .stepper button { width: 36px; height: 36px; font-size: 20px; }
.act { display: inline-flex; justify-content: flex-end; min-width: 96px; }

/* Floating "View order" pill (desktop) */
.order-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 24px; border-radius: 999px; background: var(--verde); color: var(--crema); text-decoration: none; font-weight: 600;
  box-shadow: 0 18px 40px -16px rgba(30,26,22,.6); transition: transform .2s;
}
.order-float:hover { transform: translateY(-2px); color: var(--crema); background: var(--terracotta); }
.order-float[hidden] { display: none; }
@media (max-width: 860px) {
  .order-float { display: none; }
  .subway { top: 82px; margin: 0 8px; }
  .trows { grid-template-columns: 1fr; }
  .titem { grid-template-columns: 1fr auto; grid-template-areas: "text act" "price act"; row-gap: 2px; }
  .ttext { grid-area: text; } .tprice { grid-area: price; } .act { grid-area: act; min-width: 0; } .tdots { display: none; }
  .tcat { outline-offset: -7px; }
}

/* ═════════ UI round 3 ═════════ */

/* Hero: info chips + calmer art */
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--verde); }
.hero-chips svg { width: 18px; height: 18px; color: var(--terracotta); }
.arch { overflow: hidden; }
.arch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: radial-gradient(circle at 50% 48%, rgba(246,239,227,.95) 0 38%, rgba(246,239,227,.72) 60%, rgba(246,239,227,.55)); }
.hero h1 em { position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: .06em; height: .12em; background: var(--limone); opacity: .55; z-index: -1; border-radius: 4px; }

/* Order page: item thumbnails like a delivery app */
.o-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px; }
.o-thumb { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: color-mix(in srgb, var(--c) 12%, #fff); }
.o-thumb svg { width: 44px; height: 44px; }
.o-item:hover { border-color: rgba(47,74,44,.35); }

/* Cart badge bump */
.badge.bump, .cart-bar-count.bump { animation: bump .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .badge.bump, .cart-bar-count.bump { animation: none; } }

/* Footer */
.site-footer { padding: 0 0 28px; overflow: hidden; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 0 44px; border-bottom: 1px solid rgba(246,239,227,.14); margin-bottom: 44px; }
.footer-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--limone); }
.footer-cta h2 { margin: 0; color: var(--crema); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.footer-cta h2 em { color: var(--limone); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { margin: 0 0 14px; font: 600 12px var(--body); letter-spacing: .2em; text-transform: uppercase; color: rgba(246,239,227,.55); }
.footer-grid ul { gap: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand .brand { gap: 10px; }
.footer-brand .brand img { width: 44px; height: 44px; }
.footer-note { margin: 10px 0 0; font-size: 15px; opacity: .7; max-width: 30ch; }
.fine { margin-top: 44px; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta { padding-top: 40px; }
}

.site-footer .btn--light { color: var(--verde); }
.site-footer .btn--light:hover { color: var(--inchiostro); }
.order-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.hero-art .medallion, .hero-art .sprig, .hero-art .open-badge { z-index: 2; }
@media (max-width: 600px) {
  .o-item { grid-template-columns: 48px 1fr auto; gap: 10px; padding: 12px; }
  .o-thumb { width: 48px; height: 48px; border-radius: 12px; }
  .o-thumb svg { width: 34px; height: 34px; }
  .o-item .pill { display: none; }
}

/* ── Drinks-only launch: coming-soon cards ── */
.msoon { margin: 56px 0 8px; }
.soon-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.soon-card { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px dashed var(--line); border-radius: var(--r-md); background: #FFFCF6; opacity: .85; }
.soon-card .cat-tile { width: 56px; height: 56px; filter: grayscale(.4); }
.soon-card .cat-tile svg { width: 38px; height: 38px; }
.soon-card strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; }
.soon-card em { display: block; font-size: 13px; opacity: .7; }
.soon-card small { display: block; font-size: 12px; opacity: .6; margin-top: 2px; }
.soon-col .item span:last-child { font-style: italic; opacity: .75; }
.menu-grid .item .desc { display: block; font-size: 12px; opacity: .7; font-family: 'Josefin Sans', sans-serif; }

/* ── Round 4: cooler tiles, cart thumbnails, order-again strip ── */
.o-thumb.frost, .c-thumb.frost {
  background:
    radial-gradient(circle at 22% 30%, rgba(255,255,255,.95) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 62%, rgba(255,255,255,.9) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 40% 82%, rgba(255,255,255,.85) 0 1.5px, transparent 2.5px),
    linear-gradient(160deg, color-mix(in srgb, var(--c) 16%, #fff) 0%, #EAF3F8 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 18%, transparent), inset 0 -10px 18px -12px rgba(63,110,140,.35);
}
.o-item:hover .o-thumb svg { transform: rotate(-6deg) scale(1.05); }
.o-thumb svg { transition: transform .25s ease; }
.c-line { display: grid; grid-template-columns: 40px 1fr auto; }
.c-thumb { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, #fff); }
.c-thumb svg { width: 28px; height: 28px; }
.order-main { min-width: 0; }
.reorder-strip { margin: 22px 0 -4px; }
.reorder-strip .reorder { margin: 0; display: flex; align-items: center; gap: 14px; background: #FFFCF6; border-style: solid; border-color: var(--line); }
.reorder-strip .reorder::after { content: 'Add all →'; margin-left: auto; padding: 8px 14px; border-radius: 999px; background: var(--verde); color: var(--crema); font-size: 13px; white-space: nowrap; }
.reorder-strip .reorder span { margin: 0; }
.soon-tag { display: inline-block; margin-left: 6px; padding: 3px 10px; border-radius: 999px; background: var(--limone); color: var(--inchiostro); font: 600 11px var(--body); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
@media (prefers-reduced-motion: reduce) { .o-thumb svg { transition: none; } .o-item:hover .o-thumb svg { transform: none; } }
.c-line > div:not(.stepper) { display: flex; flex-direction: column; min-width: 0; }
.c-line > div strong { line-height: 1.25; }
.reorder-strip { margin: 22px 0 10px; }

/* ── Round 5: filters, tags, upsell, receipt ── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; }
.filters button { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--inchiostro); font: 600 14px var(--body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--verde); }
.filters button[aria-pressed="true"] { background: var(--verde); border-color: var(--verde); color: var(--crema); }
.o-item[hidden] { display: none; }
.tag { display: inline-block; margin: 0 6px 6px 0; padding: 2px 8px; border-radius: 999px; font: 600 11px var(--body); letter-spacing: .03em; }
.tag-zero { background: #E4F0F6; color: #24506B; }
.tag-caffeine { background: #F3E6DC; color: #7A3418; }
.upsell { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; width: 100%; margin: 12px 0 4px; padding: 10px 12px; border-radius: 12px; border: 1.5px dashed var(--line); background: #FFFCF6; color: var(--inchiostro); font: 14px var(--body); text-align: left; cursor: pointer; }
.upsell:hover { border-color: var(--verde); background: #fff; }
.upsell-price { font-weight: 600; color: var(--verde); white-space: nowrap; }
.receipt { list-style: none; margin: 16px auto 8px; padding: 12px 0 0; max-width: 320px; border-top: 1px dashed var(--line); text-align: left; }
.receipt li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15px; }
.receipt .receipt-total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 600; }

/* ── Product photos ── */
.o-thumb, .c-thumb, .fav-icon { overflow: hidden; }
.o-thumb img, .c-thumb img, .fav-icon img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.o-thumb.has-img { background: #fff; }
.fav-icon.has-img { width: 100%; height: 170px; border-radius: 12px; background: #fff; }
.o-item:hover .o-thumb img { transform: scale(1.06); }
.o-thumb img { transition: transform .3s ease; }
@media (prefers-reduced-motion: reduce) { .o-item:hover .o-thumb img { transform: none; } }
.fav-row .fav-icon { width: 100%; height: 170px; border-radius: 12px; }
.fav-row .fav-icon svg { width: 84px; height: 84px; }
.fav-row .fav-icon img { object-fit: contain; padding: 8px; }
.fav-row .fav-icon img { height: 170px; }
.o-thumb img { height: 64px; }
.c-thumb img { height: 40px; }
@media (max-width: 600px) { .o-thumb img { height: 48px; } }

/* ── Round 6: real packshots, cooler shelf, motto ── */
.motto { margin: -6px 0 18px; font: 600 clamp(1.15rem, 2vw, 1.45rem)/1.3 'Cormorant Garamond', Georgia, serif; color: var(--inchiostro); letter-spacing: .01em; }
.motto em { color: var(--terracotta); }
.open-badge em { font-style: italic; }

.shelf { margin: 22px 0 18px; max-width: 560px; }
.shelf-label { margin: 0 0 8px; font: 600 11px var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--terracotta); }
.shelf-row { display: flex; gap: 6px; padding: 10px 12px 0; border-radius: 16px; background: linear-gradient(180deg, #fff 0%, #F3F8FB 100%); border: 1px solid var(--line); box-shadow: inset 0 -6px 0 #E3ECF2, 0 14px 30px -24px rgba(30,26,22,.5); overflow-x: auto; scrollbar-width: none; }
.shelf-row::-webkit-scrollbar { display: none; }
.shelf-row a { flex: none; display: block; border-radius: 10px; transition: transform .25s ease; }
.shelf-row a:hover, .shelf-row a:focus-visible { transform: translateY(-6px); }
.shelf-row img { width: 60px; height: 72px; object-fit: contain; mix-blend-mode: multiply; display: block; }

/* Packshots: whole product on white, never cropped */
.o-thumb.has-img, .c-thumb:has(img), .fav-icon.has-img { background: #fff !important; box-shadow: inset 0 0 0 1px var(--line) !important; }
.o-thumb img, .c-thumb img, .fav-icon img, .fav-row .fav-icon img { object-fit: contain !important; padding: 4px; }
.order-page .o-item { grid-template-columns: 88px 1fr auto; }
.order-page .o-thumb { width: 88px; height: 88px; border-radius: 14px; }
.order-page .o-thumb img { height: 88px; }
.fav-row .fav-icon img { padding: 10px; }
@media (max-width: 600px) {
  .order-page .o-item { grid-template-columns: 64px 1fr auto; }
  .order-page .o-thumb { width: 64px; height: 64px; }
  .order-page .o-thumb img { height: 64px; }
  .shelf-row img { width: 48px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) { .shelf-row a:hover { transform: none; } }
.confirm-status { display: flex; flex-direction: column; gap: 2px; margin: 4px auto 18px; max-width: 320px; padding: 12px 16px; border-radius: 14px; background: #EEF3EC; color: var(--verde); }
.confirm-status strong { font: 600 1.4rem 'Cormorant Garamond', serif; }
.confirm-status span { font-size: 14px; }
.confirm-status[data-status="ready"] { background: var(--limone); color: var(--inchiostro); animation: readyPulse 1.4s ease 2; }
.confirm-status[data-status="cancelled"] { background: #F6E5DC; color: var(--terracotta); }
@keyframes readyPulse { 50% { transform: scale(1.04); } }
.name-card { position: relative; max-width: 620px; margin: 0 auto 56px; padding: 28px 34px 24px; background: var(--crema); color: var(--inchiostro); border-radius: 6px; box-shadow: 0 24px 50px -30px rgba(0,0,0,.6); transform: rotate(-.6deg); text-align: center; }
.name-card::before { content: ''; position: absolute; top: -12px; left: 50%; width: 110px; height: 24px; margin-left: -55px; background: rgba(232,197,71,.75); transform: rotate(2deg); }
.name-word { margin: 0; font: 600 clamp(2.4rem, 5vw, 3.4rem)/1 'Cormorant Garamond', Georgia, serif; color: var(--verde); letter-spacing: .02em; }
.name-pron { margin: 6px 0 14px; font-size: 13px; letter-spacing: .08em; opacity: .7; }
.name-def { margin: 0 0 14px; font-size: 16px; line-height: 1.6; }
.name-def b { font-family: 'Cormorant Garamond', serif; font-size: 1.3em; color: var(--terracotta); }
.name-motto { margin: 0; padding-top: 12px; border-top: 1px dashed var(--line); font: 600 12px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--terracotta); }

/* Menu rows with product photo */
.titem.has-thumb { grid-template-columns: 56px auto 1fr auto auto; }
.tthumb { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 12px; border: 1px solid var(--line); padding: 3px; }
@media (max-width: 860px) {
  .titem.has-thumb { grid-template-columns: 52px 1fr auto; grid-template-areas: "thumb text act" "thumb price act"; }
  .titem.has-thumb .tthumb { grid-area: thumb; width: 52px; height: 52px; }
}
/* Quick cards: 4 across, else a clean 2×2, else 1 column */
.quick-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .quick-grid { grid-template-columns: 1fr; } }

/* ═════════ Villa refresh: Florentine carta, transferware, cotto, emerald ═════════ */
:root {
  --smeraldo: #0F6B4F; --smeraldo-deep: #0A4D3A; --ottanio: #1F7A7A;
  --cobalto: #2E4A9E; --corallo: #E2574C; --ocra: #D9952B;
  --cotto: #C4663F; --cotto-deep: #A9522F; --intonaco: #F3E7D3;
  --florentine: url("img/florentine.svg?v=1");
}
/* sun-warmed plaster: soft ochre light on the page */
body { background:
  radial-gradient(1200px 600px at 85% -10%, rgba(217,149,43,.10), transparent 60%),
  radial-gradient(900px 500px at -10% 30%, rgba(196,102,63,.07), transparent 60%),
  var(--crema); }

/* Hero: transferware plate on an emerald tablecloth */
.hero-art .arch { border: 0; background:
  radial-gradient(120% 80% at 30% 18%, rgba(255,255,255,.18), transparent 45%),
  radial-gradient(ellipse at 50% 55%, #17855F 0%, var(--smeraldo) 55%, var(--smeraldo-deep) 100%);
  box-shadow: 0 0 0 6px var(--crema), 0 0 0 9px var(--ocra), 0 40px 80px -30px rgba(10,77,58,.55); }
.hero-art .arch::after { display: none; }
.plate-set { position: relative; z-index: 2; display: grid; place-items: center; width: 92%; animation: float 7s ease-in-out infinite; }
.plate-set > * { grid-area: 1 / 1; }
.plate { width: 100%; filter: drop-shadow(0 22px 26px rgba(4,40,28,.55)); }
.hero-art .medallion { width: 58%; animation: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .plate-set { animation: none; } }

/* Florentine carta band: a printed-paper strip between sections */
.carta { height: 28px; background: var(--florentine) 0 50% / 112px 112px repeat-x; border-block: 3px solid var(--ocra); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); }
.carta--rounded { margin: 0 16px; border-radius: 10px; border: 3px solid var(--ocra); }
.carta--foot { margin-top: 40px; }

/* Visit: sun-warmed cotto tile floor */
.visit { background-color: var(--cotto); background-image:
  radial-gradient(900px 400px at 20% 0%, rgba(255,214,150,.28), transparent 60%),
  linear-gradient(rgba(243,231,211,.55) 2px, transparent 2px),
  linear-gradient(90deg, rgba(243,231,211,.55) 2px, transparent 2px),
  conic-gradient(rgba(120,50,20,.12) 25%, transparent 0 50%, rgba(120,50,20,.12) 0 75%, transparent 0);
  background-size: auto, 72px 72px, 72px 72px, 144px 144px; }
.visit .section-head h2, .visit .section-head p { color: var(--crema); }
.visit .section-head h2 em { color: #FFE7A8; }
.visit .section-head .eyebrow { color: #FFE7A8; }
.visit .panel { background: #FFFCF6; box-shadow: 0 24px 40px -24px rgba(80,30,10,.6); }

/* Emerald tablecloth: order header + footer */
.order-top { background:
  radial-gradient(80% 140% at 15% 0%, rgba(255,255,255,.14), transparent 50%),
  linear-gradient(160deg, #17855F, var(--smeraldo) 50%, var(--smeraldo-deep)); }
.site-footer { background: linear-gradient(170deg, var(--smeraldo-deep), #073A2C); }

/* Menu card framed in Florentine carta, like an endpaper */
.tcat { border: 14px solid transparent; background: linear-gradient(#FFFCF6, #FFFCF6) padding-box, var(--florentine) 0 0 / 112px 112px border-box; outline: none; }
@media (max-width: 600px) { .tcat { border-width: 9px; } .carta--rounded { margin: 0 8px; } }
@media (max-width: 860px) {
  .hero-art .open-badge { top: -6px; right: -6px; width: 92px; height: 92px; font-size: 1.05rem; }
}

/* ═════════ PORCELLANA: the site as a teal transferware plate ═════════ */
:root {
  --verde: #1D6A73;        /* transferware teal ink */
  --verde-deep: #13505A;
  --inchiostro: #16343A;   /* body text: deep teal-black */
  --crema: #FBFAF6;        /* porcelain */
  --crema-deep: #EAF1EF;   /* celadon wash */
  --tavolo: #0D7068;       /* teal tablecloth */
  --tavolo-deep: #0A5550;
  --smeraldo: var(--tavolo); --smeraldo-deep: var(--tavolo-deep);
  --line: rgba(29,106,115,.22);
  --transferware: url("img/transferware.svg?v=1");
  --rule: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(29,106,115,.28);
}
body { background:
  radial-gradient(1100px 520px at 90% -10%, rgba(29,106,115,.07), transparent 60%),
  radial-gradient(900px 500px at -10% 40%, rgba(196,102,63,.05), transparent 60%),
  var(--crema); }

/* Plate in the hero */
.plate-scene { width: 64.5%; border-radius: 50%; }
.hero-art .arch { background:
  radial-gradient(120% 80% at 30% 18%, rgba(255,255,255,.16), transparent 45%),
  radial-gradient(ellipse at 50% 55%, #148A80 0%, var(--tavolo) 55%, var(--tavolo-deep) 100%);
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--verde), 0 40px 80px -30px rgba(10,85,80,.55); }

/* Engraved flourish under section titles */
.section-head h2::after, .page-hero h1::after, .menu-section .section-head h2::after {
  width: 220px; height: 28px; margin: 16px auto 0;
  background: url("img/flourish.svg?v=1") center / 220px 28px no-repeat; }
.menu-section .section-head h2::after, .memory .section-head h2::after { filter: brightness(0) invert(1); opacity: .85; }

/* Porcelain cards with a double rim rule */
.card, .fav, .panel, .o-item, .quick-card, .menu-page .menu-col, .cart, .soon-card, .confirm-card {
  background: #fff; border: 1px solid rgba(29,106,115,.35);
  box-shadow: var(--rule), 0 16px 32px -26px rgba(19,80,90,.55); }
.o-item.in-cart, .fav.in-cart { border-color: var(--verde); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5.5px var(--verde), 0 16px 32px -26px rgba(19,80,90,.55); }
.quick-card:hover, .o-item:hover { border-color: var(--verde); }

/* Header: a porcelain band with a fine teal rule */
.nav { background: rgba(255,255,255,.88); border: 1px solid rgba(29,106,115,.35); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px rgba(29,106,115,.2), 0 10px 30px -20px rgba(19,80,90,.45); }
.site-header.scrolled .nav { background: rgba(255,255,255,.96); }

/* Teal tablecloth sections */
.band, .menu-section { background: linear-gradient(160deg, #148A80, var(--tavolo) 55%, var(--tavolo-deep)); }
.memory { background:
  radial-gradient(70% 60% at 50% 0%, rgba(255,255,255,.08), transparent 60%),
  linear-gradient(170deg, #0F5E62, #0A4448); }
.order-top { background:
  radial-gradient(80% 140% at 15% 0%, rgba(255,255,255,.14), transparent 50%),
  linear-gradient(160deg, #148A80, var(--tavolo) 50%, var(--tavolo-deep)); }
.site-footer { background: linear-gradient(170deg, var(--tavolo-deep), #073F3B); }

/* Transferware borders replace the multicolor carta */
.carta { background: var(--transferware) 0 50% / 112px 112px repeat-x #fff; border-color: var(--verde); }
.carta--rounded { border: 1px solid var(--verde); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px rgba(29,106,115,.35); height: 34px; }
.tcat { background: linear-gradient(#fff, #fff) padding-box, var(--transferware) 0 0 / 112px 112px border-box; box-shadow: 0 0 0 1px var(--verde); }
.tcat-head .bullet { background: #fff !important; box-shadow: 0 0 0 1px var(--verde), 0 0 0 4px #fff, 0 0 0 5px rgba(29,106,115,.35); }

/* Inputs and pills in teal ink */
input, select, textarea { border-color: rgba(29,106,115,.35) !important; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--verde); outline-offset: 1px; }
.filters button { border-color: rgba(29,106,115,.35); color: var(--verde-deep); }
.shelf-row { background: #fff; border-color: rgba(29,106,115,.35); box-shadow: inset 0 -6px 0 var(--crema-deep), 0 14px 30px -24px rgba(19,80,90,.5); }
.motto { color: var(--verde-deep); }
.plate-scene { position: relative; z-index: 1; }
.hero-art .open-badge { top: -10px; right: -14px; width: 108px; height: 108px; font-size: 1.2rem; z-index: 3; }
@media (max-width: 860px) { .hero-art .open-badge { top: -6px; right: -6px; width: 92px; height: 92px; font-size: 1.05rem; } }

/* ═════════ ENGRAVED: the plate's ornament carried through the UI ═════════ */
:root {
  --rimband: url("img/rim-band.svg?v=1");
  --floral: url("img/floral-field.svg?v=1");
  --swirl: url("img/swirl.svg?v=1");
  --scallop: url("img/scallop.svg?v=1");
}
/* paper: faint engraved hatching across the porcelain */
body { background:
  repeating-linear-gradient(135deg, rgba(29,106,115,.035) 0 1px, transparent 1px 7px),
  radial-gradient(1100px 520px at 90% -10%, rgba(29,106,115,.07), transparent 60%),
  var(--crema); }

/* rim bands replace the thin strips */
.carta, .carta--rounded { height: 64px; border: 0; border-radius: 0; box-shadow: none;
  background: var(--rimband) 0 0 / 320px 64px repeat-x; margin-left: 0; margin-right: 0; }
.carta--foot { margin-top: 48px; }

/* dark sections: white florals reserved out of the teal, like the plate's dark border */
.menu-section, .order-top, .site-footer, .band, .memory {
  background:
    linear-gradient(180deg, rgba(11,84,90,.80), rgba(9,66,71,.88)),
    var(--floral) 0 0 / 140px 140px !important; }
.menu-section::before, .menu-section::after { opacity: 0 !important; }

/* stippled sky behind the hero, fading down like an engraving */
.hero { position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(29,106,115,.22) .7px, transparent 1px) 0 0 / 5px 5px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.hero > .wrap { position: relative; }

/* plate-style frames: a wavy pie-crust line inside each card */
.fav, .quick-card, .panel, .card, .soon-card, .cart, .confirm-card { position: relative; }
.fav::after, .quick-card::after, .panel::after, .card::after, .soon-card::after, .confirm-card::after {
  content: ""; position: absolute; inset: 7px; pointer-events: none; border-radius: 10px;
  border: 7px solid transparent; border-image: var(--scallop) 6 round; opacity: .55; }
.cart::after { content: none; }

/* spiral-textured icon tiles and bullets */
.quick-card svg, .quick-card .icon { background: var(--swirl) 0 0 / 22px 22px #fff !important; color: var(--verde-deep) !important; box-shadow: 0 0 0 1px var(--verde), 0 0 0 3px #fff, 0 0 0 4px rgba(29,106,115,.35); }
.eyebrow::before { background: var(--verde) !important; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--verde); }

/* buttons with an engraved inner rule */
.btn:not(.btn--ghost):not(.btn--light) { background: var(--verde); border-color: var(--verde); box-shadow: inset 0 0 0 2px var(--verde), inset 0 0 0 3px rgba(255,255,255,.55), 0 6px 14px -8px rgba(19,80,90,.6); }
.btn:not(.btn--ghost):not(.btn--light):hover { background: var(--verde-deep); }
.btn--ghost { box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px rgba(29,106,115,.35); }
.add-btn { background: var(--verde) !important; box-shadow: inset 0 0 0 2px var(--verde), inset 0 0 0 3px rgba(255,255,255,.5); }

/* section titles: engraved cartouche wings */
.section-head .eyebrow { letter-spacing: .22em; }
.section-head h2 { text-shadow: 0 1px 0 #fff; }
.quick-card svg { background: #fff !important; }

/* ═════════ Hand-lettered + plated ═════════ */
:root { --script: 'Pinyon Script', 'Cormorant Garamond', cursive; --plate: url("logos/plate-rim.svg?v=2"); }
/* copperplate wordmark */
.brand span { font-family: var(--script); font-size: 1.25em; line-height: 1; color: var(--verde); letter-spacing: 0; padding-top: 4px; }
.brand span em { font-style: normal; color: var(--verde); }
.site-footer .brand span, .site-footer .brand span em { color: #fff; }
.hero h1 em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.12em; letter-spacing: 0; padding-right: .1em; }
.footer-cta h2 em, .order-top h1 em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.15em; }

/* each drink served on a little transferware plate */
.fav-row .fav-icon.has-img { width: 168px; height: 168px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--plate) center / 100% 100% no-repeat !important; box-shadow: 0 14px 22px -14px rgba(19,80,90,.55) !important; border: 0; }
.fav-row .fav-icon.has-img img { width: 100%; height: 100% !important; padding: 26% !important; object-fit: contain; mix-blend-mode: multiply; background: transparent; }
.order-page .o-thumb.has-img { border-radius: 50%; background: var(--plate) center / 100% 100% no-repeat !important; box-shadow: 0 8px 14px -10px rgba(19,80,90,.6) !important; border: 0; }
.order-page .o-thumb.has-img img { padding: 24% !important; mix-blend-mode: multiply; background: transparent; }
.tthumb { border-radius: 50%; background: var(--plate) center / 100% 100% no-repeat; border: 0; padding: 12px; mix-blend-mode: normal; }
.c-thumb { border-radius: 50%; background: #fff !important; box-shadow: 0 0 0 1px var(--verde), 0 0 0 3px #fff, 0 0 0 4px rgba(29,106,115,.35) !important; }

/* prices as little enamel tags */
.price, .tprice, .upsell-price { display: inline-block; padding: 1px 10px; border-radius: 999px; background: #fff; border: 1px solid rgba(156,68,38,.55);
  box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3px rgba(156,68,38,.18); font-family: var(--display); font-weight: 700; font-size: 1.05em; color: var(--terracotta); }
.tprice { font-size: 1.15rem; }

/* order cards get the pie-crust inner line too */
.o-item { position: relative; }
.o-item::after { content: ""; position: absolute; inset: 6px; pointer-events: none; border: 7px solid transparent; border-image: var(--scallop) 6 round; opacity: .4; }

/* hand-drawn ink swash under the script headline */
.hero h1 em::after { left: 0; right: 0; bottom: -.12em; height: .32em; opacity: 1; border-radius: 0;
  background: url("img/swash.svg?v=1") center / 100% 100% no-repeat; z-index: 0; }

/* engraved icons in the quick buttons */
.quick-card svg { width: 58px !important; height: 58px !important; padding: 7px !important; color: var(--verde-deep) !important; }

/* engraved panorama atop the footer */
.panorama { display: block; width: 100%; height: auto; margin: 36px 0 -8px; opacity: .92; }
@media (max-width: 700px) { .panorama { width: 220%; max-width: none; margin-left: -60%; } .site-footer { overflow: hidden; } }

/* rituals cards: engraved icons on a little plate */
.card svg { width: 84px !important; height: 84px !important; padding: 10px; border-radius: 50%; background: #fff !important;
  box-shadow: 0 0 0 1px var(--verde), 0 0 0 4px #fff, 0 0 0 5px rgba(29,106,115,.35) !important; margin-bottom: 14px; }

/* menu title framed by engraved sprays */
.mhero h1 { position: relative; display: inline-block; }
.mhero h1::before, .mhero h1::after { content: ""; position: absolute; top: 50%; width: 110px; height: 60px; margin-top: -26px;
  background: url("img/spray.svg?v=1") center / contain no-repeat; }
.mhero h1::before { right: 100%; margin-right: 18px; transform: scaleX(-1); }
.mhero h1::after { left: 100%; margin-left: 18px; }
@media (max-width: 600px) { .mhero h1::before, .mhero h1::after { width: 64px; height: 36px; margin-top: -14px; } .mhero h1::before { margin-right: 6px; } .mhero h1::after { margin-left: 6px; } }
.nutri { margin: 2px 0 6px !important; font-size: 12.5px !important; letter-spacing: .02em; color: var(--verde-deep); opacity: .85 !important; }
.nutri::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--verde), inset 0 0 0 3px #fff, inset 0 0 0 5px rgba(29,106,115,.4); }
/* sold out (live stock) */
.soldout { display: inline-block; padding: 7px 14px; border-radius: 999px; font: 600 13px var(--body); letter-spacing: .06em; text-transform: uppercase;
  color: var(--terracotta); background: #fff; border: 1px dashed var(--terracotta); white-space: nowrap; }
.o-item.is-soldout .o-thumb, .o-item.is-soldout h3, .o-item.is-soldout p { opacity: .55; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }

/* ── Confirmation: live engraved tracker + receipt on a plate ── */
.confirm-card { max-width: 480px; }
.track { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 4px 0 20px; padding: 0; position: relative; }
.track::before { content: ""; position: absolute; top: 27px; left: 17%; right: 17%; height: 0; border-top: 2px dotted rgba(29,106,115,.4); }
.track li { position: relative; display: grid; justify-items: center; gap: 6px; font: 600 12px var(--body); letter-spacing: .06em; text-transform: uppercase; color: rgba(22,52,58,.45); }
.track-dot { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: rgba(29,106,115,.35);
  box-shadow: 0 0 0 1px rgba(29,106,115,.3), 0 0 0 4px #fff, 0 0 0 5px rgba(29,106,115,.18); transition: all .4s ease; }
.track-dot svg { width: 34px; height: 34px; }
.track li.done { color: var(--verde); } .track li.done .track-dot { color: var(--verde); box-shadow: 0 0 0 1.5px var(--verde), 0 0 0 4px #fff, 0 0 0 5px rgba(29,106,115,.4); }
.track li.now { color: var(--verde-deep); }
.track li.now .track-dot { color: #fff; background: var(--verde); box-shadow: 0 0 0 1.5px var(--verde), 0 0 0 4px #fff, 0 0 0 5.5px var(--verde); animation: trackPulse 1.8s ease-in-out infinite; }
.track li[data-step="ready"].now .track-dot { background: var(--terracotta); box-shadow: 0 0 0 1.5px var(--terracotta), 0 0 0 4px #fff, 0 0 0 5.5px var(--terracotta); }
@keyframes trackPulse { 50% { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .track li.now .track-dot { animation: none; } }
.receipt-plate { margin: 10px auto 14px; padding: 26px 30px 18px; max-width: 360px; border-radius: 28px; background:
  linear-gradient(#fff, #fff) padding-box, var(--transferware) 0 0 / 112px 112px border-box; border: 10px solid transparent; box-shadow: 0 0 0 1px var(--verde), 0 14px 26px -18px rgba(19,80,90,.55); }
.receipt-head { margin: 0 0 4px; font-family: var(--script); font-size: 1.6rem; color: var(--verde); }
.receipt-plate .receipt { border-top: 1px dashed rgba(29,106,115,.35); margin: 0; }
.confirm { overflow-y: auto; align-items: flex-start; padding: 24px 12px; }
.confirm-card { margin: auto; padding: 28px 26px; }
.confirm-card > img { width: 56px; height: 56px; }

/* ═════════ MOTION ═════════ */
.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 200; pointer-events: none; }
.scroll-progress::before { content: ""; position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--verde), #3A8C94); }
.scroll-progress i { position: absolute; top: -4px; left: calc(var(--p, 0) * 100%); width: 11px; height: 11px; margin-left: -6px; border-radius: 50%; background: var(--limone); box-shadow: 0 0 0 2px #fff, 0 1px 4px rgba(0,0,0,.25); }

.motion [data-anim] { transition: opacity .9s ease, transform .9s cubic-bezier(.2,.75,.2,1), clip-path 1.2s cubic-bezier(.6,.05,.25,1); transition-delay: var(--d, 0ms); }
.motion [data-anim="rise"]:not(.in) { opacity: 0; transform: translateY(28px); }
.motion [data-anim="pop"]:not(.in) { opacity: 0; transform: translateY(14px) scale(.8); }
.motion [data-anim="drop"]:not(.in) { opacity: 0; transform: translateY(-34px) rotate(-6deg) scale(1.04); }
.motion [data-anim="spin"] { transition-duration: 1.1s; }
.motion [data-anim="spin"]:not(.in) { opacity: 0; transform: rotate(-120deg) scale(.6); }
.motion [data-anim="unroll"]:not(.in) { clip-path: inset(0 50% 0 50%); }
.motion [data-anim="unroll"].in { clip-path: inset(0 0 0 0); animation: rimDrift 90s linear 1.4s infinite; }
@keyframes rimDrift { to { background-position-x: -640px; } }
.motion [data-anim="draw"] { transition-duration: 2.4s; }
.motion [data-anim="draw"]:not(.in) { clip-path: inset(0 100% 0 0); }
.motion [data-anim="draw"].in { clip-path: inset(0 0 0 0); }
/* engraved flourish under titles draws out from the center */
.motion .section-head h2::after { transition: clip-path 1.1s cubic-bezier(.6,.05,.25,1) .35s; clip-path: inset(0 50% 0 50%); }
.motion .section-head.in h2::after { clip-path: inset(0 0 0 0); }

/* hero entrance */
.motion .hero h1, .motion .hero .motto, .motion .hero .lede, .motion .hero .actions, .motion .hero .shelf, .motion .hero .hero-chips, .motion .hero .eyebrow {
  animation: heroUp 1s cubic-bezier(.2,.75,.2,1) both; }
.motion .hero .eyebrow { animation-delay: .05s; } .motion .hero h1 { animation-delay: .15s; } .motion .hero .motto { animation-delay: .35s; }
.motion .hero .lede { animation-delay: .45s; } .motion .hero .actions { animation-delay: .55s; } .motion .hero .shelf { animation-delay: .65s; } .motion .hero .hero-chips { animation-delay: .75s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } }
.motion .hero .arch { animation: archIn 1.2s cubic-bezier(.2,.75,.2,1) .1s both; }
@keyframes archIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.motion .hero .plate-set { animation: plateIn 1.5s cubic-bezier(.2,.8,.2,1) .35s both, float 7s ease-in-out 2s infinite; }
@keyframes plateIn { from { opacity: 0; transform: rotate(-160deg) scale(.55); } }
.motion .hero .open-badge { animation: badgePop .7s cubic-bezier(.3,1.6,.5,1) 1.3s both; }
@keyframes badgePop { from { opacity: 0; transform: rotate(-30deg) scale(.3); } to { transform: rotate(-10deg); } }
.motion .hero .sprig { animation: heroUp 1.2s ease .9s both; }
/* scroll-linked: plate turns, sprigs drift */
.motion .hero .plate, .motion .hero .plate-scene { transform: rotate(calc(var(--hs, 0) * 50deg)); }
.motion .hero .sprig--a { translate: 0 calc(var(--hs, 0) * -40px); }
.motion .hero .sprig--b { translate: 0 calc(var(--hs, 0) * 50px); }
/* hover life */
.motion .fav:hover .fav-icon.has-img { transform: rotate(14deg); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.motion .quick-card:hover svg { transform: rotate(-6deg) scale(1.06); transition: transform .35s ease; }

/* ═════════ MOBILE POLISH ═════════ */
@media (max-width: 700px) {
  section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 3.4rem); line-height: 1.02; }
  .hero p.lede { font-size: 17px; margin-bottom: 20px; }
  .motto { font-size: 1.08rem; margin-bottom: 14px; }
  .hero .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .actions .btn { width: 100%; justify-content: center; padding-left: 10px; padding-right: 10px; }
  .hero-chips { gap: 6px; } .hero-chips li { font-size: 12.5px; padding: 6px 10px; }
  .hero-art { max-width: 340px; margin-top: 12px; }
  .shelf-row { gap: 2px; padding: 8px 8px 0; }
  .section-head h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .section-head h2::after { width: 170px; background-size: 170px 22px !important; height: 22px; }
  .fav-row { gap: 12px; padding-bottom: 8px; }
  .fav { min-width: 72%; }
  .fav-row .fav-icon.has-img { width: 140px; height: 140px; }
  .carta, .carta--rounded { height: 48px; background-size: 240px 48px; }
  .quick-card { padding: 14px; } .quick-card strong { font-size: 16px; }
  .name-card { padding: 22px 18px 18px; margin-bottom: 36px; }
  .visit .panel { padding: 22px 18px; }
  .footer-cta h2 { font-size: 2.2rem; }
  .o-item { padding: 12px 10px; } .o-item h3 { font-size: 16px; }
  .filters { gap: 6px; } .filters button { padding: 8px 12px; font-size: 13px; }
  .tcat { border-width: 8px; }
  .titem { padding: 12px 4px; }
  .mhero h1 { font-size: clamp(2.6rem, 12vw, 3.2rem); }
}
@media (max-width: 380px) { .hero .actions { grid-template-columns: 1fr; } }

.motion.settled .hero h1, .motion.settled .hero .motto, .motion.settled .hero .lede, .motion.settled .hero .actions, .motion.settled .hero .shelf, .motion.settled .hero .hero-chips, .motion.settled .hero .eyebrow, .motion.settled .hero .arch, .motion.settled .hero .sprig { animation: none !important; opacity: 1 !important; }

/* ═════════ MOBILE: app-style tab bar + porcelain touches ═════════ */
.tabbar { display: none; }
@media (max-width: 860px) {
  .m-order { display: none !important; }
  .tabbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 8px 6px 7px; border-radius: 22px;
    background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border: 1px solid rgba(29,106,115,.35); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px rgba(29,106,115,.18), 0 18px 40px -16px rgba(19,80,90,.55); }
  .tabbar::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 3px; border-radius: 3px;
    background: var(--transferware, none) 0 50% / 56px 56px repeat-x; opacity: .6; }
  .tab { display: grid; justify-items: center; gap: 2px; padding: 4px 0; text-decoration: none; color: rgba(22,52,58,.62); font: 600 10.5px var(--body); letter-spacing: .06em; text-transform: uppercase; -webkit-tap-highlight-color: transparent; }
  .tab svg { width: 24px; height: 24px; transition: transform .25s ease; }
  .tab[aria-current="page"] { color: var(--verde); }
  .tab[aria-current="page"] svg { transform: translateY(-1px); }
  .tab[aria-current="page"]::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--terracotta); margin-top: 1px; }
  .tab:active svg { transform: scale(.88); }
  .tab-order { color: var(--verde-deep); }
  .tab-plate { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin-top: -30px; border-radius: 50%; color: #fff;
    background: radial-gradient(circle at 35% 30%, #2A8790, var(--verde) 60%, var(--verde-deep));
    box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--verde), 0 0 0 8px #fff, 0 10px 22px -6px rgba(19,80,90,.6); }
  .tab-plate svg { width: 28px; height: 28px; }
  .tab-plate .badge { position: absolute; top: -4px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
    background: var(--limone); color: var(--inchiostro); font: 700 12px var(--body); box-shadow: 0 0 0 2px #fff; }
  .motion .tab-plate { animation: platePulse 3.2s ease-in-out 2.2s 2; }
  @keyframes platePulse { 50% { box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--verde), 0 0 0 12px rgba(29,106,115,.15), 0 10px 22px -6px rgba(19,80,90,.6); } }
  body.has-m-order { padding-bottom: 96px; }
  .has-m-order .site-footer { padding-bottom: 110px !important; }
  /* menu page: floating "View order" sits above the tab bar */
  .menu-page .order-float { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }

  /* swipe rows: snap + a peek of the next card */
  .fav-row { scroll-snap-type: x mandatory; scroll-padding-left: 16px; -webkit-overflow-scrolling: touch; }
  .fav { scroll-snap-align: start; }
  /* the mobile menu sheet as a porcelain plate */
  .nav-links.open { border-radius: 22px; background: #fff; border: 1px solid rgba(29,106,115,.35); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px rgba(29,106,115,.2), 0 24px 50px -20px rgba(19,80,90,.5); }
  .nav-links.open a:not(.btn) { font-family: var(--display); font-size: 1.5rem; }
  /* hero touch-ups */
  .hero-art { max-width: 300px !important; }
  .hero .eyebrow { font-size: 11px; }
  .shelf-label { text-align: center; }
  .shelf { margin-left: auto; margin-right: auto; }
  /* bigger tap targets */
  .add-btn, .filters button, .stepper button { min-height: 40px; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) { .tab svg { transition: none; } }
.tab-plate .badge[hidden] { display: none !important; }

/* Pay now / pay at pickup */
.paychoice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 12px; }
.paychoice button { display: grid; gap: 2px; padding: 12px 10px; border-radius: 14px; border: 1.5px solid rgba(29,106,115,.3); background: #fff; color: var(--inchiostro); font: inherit; text-align: left; cursor: pointer; }
.paychoice button strong { font-size: 15px; } .paychoice button span { font-size: 12px; opacity: .7; }
.paychoice button[aria-checked="true"] { border-color: var(--verde); box-shadow: inset 0 0 0 1px var(--verde); background: #F1F7F6; }
.pp-wrap { margin-top: 4px; } #pp-buttons { min-height: 50px; }
.pp-safe { margin: 8px 0 0; font-size: 12px; opacity: .65; text-align: center; }

/* ═════════ The logo, front and centre ═════════ */
.logo-set { width: 94%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 42% 36%, #FFFDF6 0%, #F8F3E6 62%, #EDE5D2 100%);
  box-shadow: 0 0 0 6px #fff, 0 0 0 7.5px rgba(29,106,115,.45), 0 26px 40px -18px rgba(4,40,28,.6); }
.hero-logo { width: 90%; height: auto; }
.motion .hero .logo-set { animation: logoIn 1.4s cubic-bezier(.2,.8,.2,1) .3s both, float 7s ease-in-out 2s infinite; }
@keyframes logoIn { from { opacity: 0; transform: scale(.7) rotate(-12deg); } }
@media (max-width: 860px) { .logo-set { width: 100%; } }
/* engraved stand-ins for family photos */
.snap .ph.ph--art { padding: 0; background: #F7F2E6; color: transparent; }
.snap .ph.ph--art::after { background: radial-gradient(ellipse at center, transparent 62%, rgba(60,40,10,.18)); }
.snap .ph.ph--art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.snap .ph.ph--art img { filter: none !important; position: absolute; inset: 0; }
@media (max-width: 1199px) {
  .board .memo { left: auto !important; top: auto !important; align-self: start; }
  .board .memo.snap { justify-self: center; width: min(100%, 420px) !important; }
}

.motion.settled .hero .logo-set, .motion.settled .hero .open-badge { animation: float 7s ease-in-out infinite !important; opacity: 1 !important; }
.motion.settled .hero .open-badge { animation: none !important; }
