/* The Wandering Chile — Version 3 (multi-page)
   Pages: index (hero · doors · how-it-works · CTA) · menu (menu · heat guide) · visit (location gold ·
   directions cream · good-to-know charcoal · CTA) · about (Rojo · timeline · quote green) · catering (intro · packages red ·
   steps charcoal · inquiry form) · faq (FAQ · CTA). Every page: header, footer, ordering drawer.
   Contrast (WCAG): charcoal/cream 13.6 · white/red 5.7 · red/cream 5.2 · cream/green 5.5 · charcoal/gold 7.4 ·
   cream/charcoal 13.6. Never gold, red or green text on gold; never gold text on cream or green. */

:root {
  --red: #B83A2D;
  --red-deep: #9C2F24;
  --cream: #FFF2DC;
  --cream-deep: #F8E3C1;
  --paper: #FFF9EE;
  --green: #496B45;
  --gold: #E9AA38;
  --ink: #292620;
  --ink-soft: #4A443A;
  --line: rgba(41, 38, 32, 0.18);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 80px;
  --gutter: 16px;
  --focus: var(--ink);
}
@media (max-width: 899px) { :root { --header-h: 64px; } }
@media (min-width: 640px) { :root { --gutter: 28px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
html.drawer-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
h1, h2, .display { font-family: var(--serif); font-weight: 700; letter-spacing: -0.015em; }
h2, .display { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0.7em 1.35em;
  border: 2px solid transparent; border-radius: 12px;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn--lg { min-height: 54px; font-size: 1.0625rem; padding-inline: 1.6em; }
.btn--sm { min-height: 44px; padding: 0.55em 1.05em; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 3px 0 var(--ink); }
.btn--red:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); }
.btn--red:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--red); border-color: var(--cream); box-shadow: 0 3px 0 var(--ink); }
.btn--cream:hover { background: #fff; color: var(--red-deep); transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-btn {
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--red); }
.link-btn--danger { color: var(--red); }

/* ---------- section headings: plain-language H2 + display line ---------- */
.section-head { max-width: 680px; margin-bottom: 28px; }
.kicker {
  font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.section-head .display { margin-bottom: 14px; }
.section-head p:not(.display) { color: var(--ink-soft); font-size: 1.1rem; }
.section-head--light .kicker, .section-head--light p:not(.display) { color: var(--cream); }
.kicker--dark { color: var(--ink); }
.mini-head { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--ink); color: var(--cream);
  border-bottom: 2px solid var(--ink);
  --focus: var(--gold);
}
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); transition: min-height .2s ease; }
.brand {
  display: inline-flex; align-items: center; gap: 12px; margin-right: auto; min-width: 0;
  font-family: var(--serif); font-weight: 700; font-size: 1.35rem; text-decoration: none; white-space: nowrap;
}
.brand img { width: 64px; height: 64px; flex: none; transition: width .2s ease, height .2s ease; }
.brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.site-header.is-scrolled .site-header__inner { min-height: 64px; }
.site-header.is-scrolled .brand img { width: 48px; height: 48px; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  font-weight: 500; text-decoration: none; padding: 8px 0;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat;
  transition: background-size .2s ease;
}
.site-nav ul a:hover { background-size: 100% 2px; }
.site-nav ul a[aria-current="page"] { color: var(--gold); font-weight: 700; background-size: 100% 2px; }

.site-nav__order, .site-nav__order:hover { box-shadow: 0 3px 0 rgba(255, 242, 220, .35); }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px;
  font-weight: 700; cursor: pointer; white-space: nowrap; flex: none;
}
.cart-btn:hover { background: var(--gold); }
.cart-btn__bubble { display: none; }
.cart-btn[data-empty] .cart-btn__bubble { visibility: hidden; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 12px;
  background: var(--paper); cursor: pointer; place-items: center; flex: none;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .2s ease, background-color .2s ease;
}
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav ul a { white-space: nowrap; }
@media (max-width: 1060px) and (min-width: 900px) {
  .brand { font-size: 1.15rem; }
  .site-nav ul { gap: 14px; }
  .site-nav { gap: 16px; }
  /* Five links + the button don't fit here; the Menu link goes to the same place. */
  .site-nav__order { display: none; }
}
@media (max-width: 899px) {
  .menu-toggle { display: grid; }
  .site-header__inner, .site-header.is-scrolled .site-header__inner { min-height: var(--header-h); }
  .brand { font-size: 1.05rem; gap: 9px; }
  .brand img, .site-header.is-scrolled .brand img { width: 44px; height: 44px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--gutter) 20px; background: var(--ink);
    border-bottom: 2px solid var(--ink); box-shadow: 0 12px 24px rgba(41, 38, 32, .3);
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li + li { border-top: 1px dotted rgba(255, 242, 220, .25); }
  .site-nav ul a { display: block; padding: 12px 0; font-size: 1.125rem; background: none; }
}
@media (max-width: 560px) {
  /* Cart becomes a 44px bag icon with a count bubble. */
  .cart-btn { width: 44px; padding: 0; justify-content: center; }
  .cart-btn__label { display: none; }
  .cart-btn__bubble {
    display: grid; place-items: center; position: absolute; top: -7px; right: -7px;
    min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px;
    background: var(--red); color: #fff; border: 2px solid var(--ink);
    font-size: .75rem; font-weight: 700; line-height: 1;
  }
}
@media (max-width: 360px) {
  .brand { font-size: .95rem; }
  .brand img, .site-header.is-scrolled .brand img { width: 40px; height: 40px; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .hero__copy { order: 1; }
  .hero__art { order: 2; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  color: var(--red); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--red); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1; margin-bottom: 20px; }
.hero__body { font-size: 1.15rem; max-width: 33em; color: var(--ink-soft); margin-bottom: 26px; }

.hero__art { position: relative; justify-self: center; width: min(480px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.hero__sun {
  position: absolute; inset: 4%; border-radius: 50%; background: var(--red);
  border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--gold);
}
.hero__mascot {
  position: relative; width: 92%; height: auto; margin-top: -4%;
  animation: wander 5.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 0 rgba(41, 38, 32, .18));
}
@keyframes wander { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.hero__trail {
  position: absolute; left: -45%; right: -30%; bottom: -2%; width: 175%; height: 34%;
  color: var(--gold); pointer-events: none;
}

@media (max-width: 899px) {
  .hero__art { width: min(260px, 72vw); margin-bottom: 4px; }
  .hero__copy { text-align: left; }
  .hero__ctas { flex-wrap: nowrap; gap: 10px; }
  .hero__ctas .btn { flex: 1 1 0; min-height: 50px; padding-inline: .8em; font-size: 1rem; }
  .hero__body { font-size: 1.05rem; margin-bottom: 20px; }
}

/* The header already draws a bottom rule, so a page's first section skips its own top rule. */
main > section:first-child { border-top: 0; }

/* ---------- home: page doors (cream) ---------- */
.doors { padding: 0 0 clamp(56px, 8vw, 96px); }
.door-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 600px) { .door-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .door-grid { grid-template-columns: repeat(4, 1fr); } }
.door {
  display: flex; flex-direction: column; height: 100%; text-decoration: none; overflow: hidden;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 0 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.door:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.door img, .door__map { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 2px solid var(--ink); }
.door__map { display: block; }
.door__map svg { display: block; width: 100%; height: 100%; }
.door__body { display: grid; gap: 6px; padding: 18px 20px 20px; }
.door__kicker { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.door__title { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.door__more { margin-top: 4px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.door:hover .door__more { color: var(--red); }

/* ---------- menu ---------- */
.menu { padding: clamp(56px, 8vw, 104px) 0; background: var(--cream); border-top: 2px solid var(--ink); }
.menu-tools { margin-bottom: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--paper); font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.chip:hover { background: var(--cream-deep); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); }

@media (max-width: 899px) {
  /* Filter chips stick under the header and scroll sideways inside their own row. */
  .menu-tools {
    position: sticky; top: var(--header-h); z-index: 20;
    margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter);
    background: var(--cream); border-bottom: 2px dotted rgba(41, 38, 32, .3);
  }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
}

.heat-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 4px 0 36px;
  font-size: .95rem; font-weight: 500; text-decoration: none;
}
.heat-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.heat-legend__label { font-weight: 700; }
.heat-legend__more { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.heat-legend:hover .heat-legend__more { color: var(--red-deep); }

.pips { display: inline-flex; gap: 3px; }
.pips i {
  width: 10px; height: 15px; background: var(--gold); border: 2px solid var(--ink);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; transform: rotate(18deg);
}
.pips--lg i { width: 16px; height: 24px; }

.menu-groups { display: grid; gap: 56px; }
.menu-group > h3 {
  font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 20px;
}
.menu-group__note { margin: -8px 0 20px; font-weight: 500; color: var(--ink-soft); }

.card-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 0 var(--ink); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--cream-deep); border-bottom: 2px solid var(--ink); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.card__media--art { display: grid; place-items: center; background: var(--cream-deep); }
.card__media--art::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: var(--paper); border: 2px dashed rgba(73, 107, 69, .45);
}
.card__media--art svg { position: relative; width: 52%; height: auto; }
.card__media--bowl, .card__media--churro { background: #F6DCC4; }
.card__media--drink { background: #E3E7D3; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h4 { font-family: var(--serif); font-size: 1.25rem; }
.card__price, .deal__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card__price { color: var(--red); font-size: 1.15rem; }
.card p { font-size: .96rem; color: var(--ink-soft); margin: 0; flex: 1; }
.card p.card__note, .deal p.card__note { flex: 0; font-weight: 700; color: var(--ink); font-size: .92rem; }
.card .btn { align-self: flex-start; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tag-pill {
  padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.5;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
}
.tag-pill--veggie, .tag-pill--plant { background: var(--green); border-color: var(--green); color: var(--cream); }
.tag-pill--value { background: var(--ink); color: var(--cream); }

@media (max-width: 559px) {
  /* Compact card: square thumb + name/price/tags, description and button full width below. */
  .card-grid { gap: 14px; }
  .card { display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; align-items: center; padding: 12px; }
  .card__body { display: contents; }
  .card__media { width: 96px; border: 2px solid var(--ink); border-radius: var(--radius-sm); grid-row: span 1; }
  .card__top { flex-direction: column; align-items: flex-start; gap: 4px; }
  .card .tags, .card p, .card .btn { grid-column: 1 / -1; }
  .card .btn { align-self: stretch; }
  .card h4 { font-size: 1.15rem; }
  .card p { font-size: .95rem; }
  .card__media--art::before { width: 78%; }
  .card__media--art svg { width: 62%; }
}

/* Meal deals: a charcoal band at the top of the menu. */
.menu-group--deals {
  background: var(--ink); color: var(--cream); border-radius: 22px;
  padding: clamp(22px, 4vw, 40px);
  --focus: var(--cream);
}
.menu-group--deals > h3 { color: var(--cream); }
.deal-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .deal-grid { grid-template-columns: repeat(3, 1fr); } }
.deal {
  display: flex; flex-direction: column; gap: 8px; padding: 22px;
  background: var(--gold); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--red);
  --focus: var(--ink);
}
.deal__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.deal h4 { font-family: var(--serif); font-size: 1.4rem; }
.deal__price { font-family: var(--serif); font-size: 1.9rem; }
.deal__label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 4px 0 0; }
.deal p:not(.deal__label):not(.card__note) { margin: 0; flex: 1; }
.deal .tag-pill { border-color: var(--ink); }
.deal .tag-pill--value, .deal .tag-pill--kids { background: var(--ink); color: var(--cream); }
.deal .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 559px) { .deal .btn { align-self: stretch; } }

/* ---------- heat guide (green) ---------- */
.heat { background: var(--green); color: var(--cream); padding: clamp(56px, 8vw, 96px) 0; border-top: 2px solid var(--ink); --focus: var(--cream); }
.heat-levels { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 16px; }
@media (min-width: 820px) { .heat-levels { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.heat-level {
  padding: 22px; border-radius: var(--radius); border: 2px solid var(--cream);
  background: rgba(41, 38, 32, .18);
}
.heat-level .pips { margin-bottom: 14px; }
.heat-level .pips i { border-color: var(--cream); }
.heat-level h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.heat-level h3 span { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-left: 6px; }
.heat-level p { margin: 0 0 6px; }
.heat-level__who { font-style: italic; }
.heat__extras { display: grid; gap: 16px; }
@media (min-width: 820px) { .heat__extras { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.heat__note { font-weight: 700; font-size: 1.05rem; margin: 0; }
.extras-list { list-style: none; margin: 0; padding: 0; }
.extras-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 2px dotted rgba(255, 242, 220, .45); }
.extras-list li span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- how it works (charcoal) ---------- */
.how { background: var(--ink); color: var(--cream); padding: clamp(56px, 8vw, 104px) 0; --focus: var(--cream); }
.how h2 { margin-bottom: 36px; max-width: 14em; }
.steps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 28px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.steps li { position: relative; }
.steps__num {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px;
  border-radius: 50%; background: var(--red); color: var(--cream); border: 2px solid var(--cream);
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
}
@media (min-width: 820px) {
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 26px; left: 66px; right: -24px;
    border-top: 3px dashed rgba(233, 170, 56, .7);
  }
}
.steps h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 8px; }
.steps p { color: #E9DFCB; }

/* ---------- find us (gold) ---------- */
.find { background: var(--gold); color: var(--ink); padding: clamp(56px, 8vw, 96px) 0; border-block: 2px solid var(--ink); }
.find__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .find__grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.tag {
  display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.find .display { margin-bottom: 18px; }
.find address { font-style: normal; font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.find__phone { font-weight: 500; }
.find__directions { display: inline-block; margin-bottom: 12px; font-weight: 700; }
.find__card { background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; padding: clamp(20px, 4vw, 32px); box-shadow: 8px 8px 0 var(--ink); }
.find__card .mini-head:not(:first-child) { margin-top: 24px; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 2px dotted var(--line); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- visit: directions (cream) ---------- */
.directions { padding: clamp(56px, 8vw, 96px) 0; }
.directions__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .directions__grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.directions__map { margin: 0; }
.directions__map svg {
  display: block; width: 100%; aspect-ratio: 8 / 5; height: auto;
  border: 3px solid var(--ink); border-radius: 20px; box-shadow: 10px 10px 0 var(--red);
}
.directions__map figcaption { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); }
.directions .display { margin-bottom: 20px; }
.arrive { margin: 0 0 28px; padding: 0; list-style: none; counter-reset: arrive; display: grid; gap: 16px; }
.arrive li { counter-increment: arrive; position: relative; padding-left: 48px; }
.arrive li::before {
  content: counter(arrive); position: absolute; left: 0; top: -2px;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 700; border: 2px solid var(--ink);
}

/* ---------- home: fan favorites (cream) ---------- */
.favs { padding: clamp(56px, 8vw, 96px) 0; border-top: 2px solid var(--ink); background: var(--cream-deep); }
.favs__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.fav-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 760px) { .fav-grid { grid-template-columns: repeat(3, 1fr); } }
.fav { background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 6px 6px 0 var(--red); }
.fav img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 2px solid var(--ink); }
.fav__body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.fav__body h3 { font-family: var(--serif); font-size: 1.3rem; }
.fav__body p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.fav__price { font-weight: 700; color: var(--red); font-size: 1.1rem; }

/* ---------- about: Rojo (cream) + quote (green) ---------- */
.rojo { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 104px); }
.rojo__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .rojo__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.rojo__art { position: relative; margin: 0; justify-self: center; width: min(440px, 100%); display: grid; justify-items: center; }
.rojo__sun {
  position: absolute; top: 4%; left: 4%; right: 4%; aspect-ratio: 1; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--red);
}
/* Square, transparent PNG: shown at its own ratio, never cropped or recolored. */
.rojo__art img { position: relative; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.rojo__art figcaption { margin-top: 18px; font-size: .9rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; text-align: center; }
.rojo__art .tag { margin: 0; }
.rojo h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 22px; }
.rojo__copy { max-width: 38em; }
.rojo__copy p:not(.kicker) { font-size: 1.08rem; }
.rojo__copy p.lead { font-size: 1.25rem; font-weight: 500; }
.rojo__copy p.rojo__beat { font-family: var(--serif); font-weight: 700; color: var(--red); font-size: 1.5rem; }
@media (max-width: 899px) { .rojo__art { width: min(300px, 78vw); } }

.rojo-quote { background: var(--green); color: var(--cream); padding: clamp(64px, 10vw, 128px) 0; border-top: 2px solid var(--ink); --focus: var(--cream); }
.rojo-quote__inner { display: grid; justify-items: center; text-align: center; gap: 22px; }
.rojo-quote figure { margin: 0; width: 100%; max-width: 920px; }
.rojo-quote blockquote { margin: 0 0 28px; }
.rojo-quote blockquote p { font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 4.4vw, 3.2rem); line-height: 1.15; letter-spacing: -0.01em; }
.rojo-quote figcaption { display: grid; gap: 2px; }
.rojo-quote__name { font-weight: 700; font-size: 1.2rem; }
.rojo-quote__title { font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
.rojo-quote__tagline { margin: 16px 0 0; padding-top: 28px; border-top: 2px dashed rgba(255, 242, 220, .4); font-weight: 700; font-size: 1.2rem; }

/* ---------- visit: good to know (charcoal) ---------- */
.know-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.know-grid li { border: 2px solid rgba(255, 242, 220, .4); border-radius: var(--radius); padding: 24px; }
.know-grid h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 10px; }
.know-grid p { margin: 0; color: #E9DFCB; }
.know { background: var(--ink); color: var(--cream); padding: clamp(56px, 8vw, 96px) 0; --focus: var(--cream); }
@media (min-width: 640px) { .know-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .know-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ: ask card ---------- */
.ask-card {
  margin-top: 28px; padding: 24px; background: var(--gold); border: 2px solid var(--ink); border-radius: 20px;
  box-shadow: 8px 8px 0 var(--ink);
}
.ask-card__title { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.section-head .ask-card p { color: var(--ink); font-size: 1rem; }
.section-head .ask-card .ask-card__phone { font-size: 1.35rem; font-weight: 700; margin-bottom: 4px; }
.section-head .ask-card .ask-card__hours { font-size: .92rem; margin-bottom: 16px; }

/* ---------- about: timeline (cream) ---------- */
.trail { padding: clamp(56px, 8vw, 104px) 0; border-top: 2px dashed rgba(41, 38, 32, .3); }
.trail__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 640px) { .trail__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .trail__list { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .trail__list li { position: relative; }
  .trail__list li:not(:last-child)::after {
    content: ""; position: absolute; top: 22px; left: 100px; right: -16px; border-top: 3px dashed var(--gold);
  }
}
.trail__year {
  display: inline-grid; place-items: center; min-width: 84px; height: 44px; padding: 0 14px; margin-bottom: 14px;
  border-radius: 999px; background: var(--red); color: #fff; border: 2px solid var(--ink); font-weight: 700;
}
.trail__list h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 6px; }
.trail__list p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- visit: neighborhood (cream-deep) ---------- */
.hood { padding: clamp(56px, 8vw, 96px) 0; background: var(--cream-deep); border-top: 2px solid var(--ink); }
.hood-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .hood-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hood-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.hood-card { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 0 4px 0 var(--ink); }
.hood-card__dist {
  display: inline-block; margin-bottom: 12px; padding: 3px 12px; border-radius: 999px;
  background: var(--green); color: var(--cream); font-size: .8rem; font-weight: 700;
}
.hood-card h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 8px; }
.hood-card p { margin: 0; color: var(--ink-soft); }
.hood__demo { margin: 24px 0 0; font-size: .9rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hood__demo .tag { margin: 0; }

/* ---------- catering ---------- */
.cater-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 96px); }
.cater-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cater-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.cater-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.03; margin-bottom: 18px; }
.cater-hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 32em; margin-bottom: 24px; }
.cater-hero__note { margin-top: 18px; font-weight: 700; font-size: .95rem; }
.cater-hero__photo {
  margin: 0; justify-self: center; width: 100%; max-width: 500px; aspect-ratio: 3 / 2; overflow: hidden;
  border: 3px solid var(--ink); border-radius: 20px; box-shadow: 10px 10px 0 var(--gold);
}
.cater-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.packages { background: var(--red); color: var(--cream); padding: clamp(56px, 8vw, 104px) 0; border-top: 2px solid var(--ink); --focus: var(--cream); }
.package-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 860px) { .package-grid { grid-template-columns: repeat(3, 1fr); } }
.package {
  position: relative; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 20px;
  padding: 28px 24px; box-shadow: 0 6px 0 var(--ink);
}
.package--featured { background: var(--gold); }
.package__badge {
  position: absolute; top: -14px; left: 24px; padding: 4px 12px; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.package h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 4px; }
.package__size { font-weight: 700; margin-bottom: 14px; }
.package__price { font-family: var(--serif); font-weight: 700; font-size: 2.2rem; line-height: 1; margin-bottom: 18px; }
.package__price span { font-family: var(--sans); font-size: .95rem; font-weight: 500; }
.package__list { margin: 0; padding: 16px 0 0; list-style: none; border-top: 2px dotted rgba(41, 38, 32, .3); display: grid; gap: 8px; }
.package__list li { padding-left: 24px; position: relative; }
.package__list li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; color: var(--green); }
.package--featured .package__list li::before { color: var(--ink); }
.packages__note { margin: 28px 0 0; font-weight: 500; }

.cater-form { padding: clamp(56px, 8vw, 104px) 0; }
.cater-form__grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .cater-form__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; } }
.cater-form__demo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .95rem !important; }
.cater-form__demo .tag { margin: 0; }
.cater-form__card { background: var(--paper); border: 2px solid var(--ink); border-radius: 20px; padding: clamp(20px, 4vw, 36px); box-shadow: 8px 8px 0 var(--green); }
.cf-row { display: grid; gap: 0 18px; }
@media (min-width: 600px) { .cf-row { grid-template-columns: 1fr 1fr; } }
.cf-field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.cf-field label:not(.opt), .cf-field legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.cf-optional { font-weight: 400; color: var(--ink-soft); }
.cf-field input:not([type="radio"]), .cf-field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-sm);
}
.cf-field textarea { resize: vertical; min-height: 110px; }
.cf-field--short { max-width: 220px; }
.cf-choices { display: grid; gap: 8px; }
.cf-choices--inline { grid-template-columns: 1fr 1fr; }
.cf-field.is-invalid input:not([type="radio"]) { border-color: var(--red); box-shadow: 0 0 0 2px rgba(184, 58, 45, .25); }
.cf-field.is-invalid .opt { border-color: var(--red); }
.cf-field .field-error { margin: 8px 0 0; }
.catering-done h3 { font-family: var(--serif); font-size: 1.8rem; margin-bottom: 10px; }
.catering-done h3:focus { outline: none; }
.catering-done__summary { margin: 20px 0; border-top: 2px dotted var(--line); }
.catering-done__summary div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 2px dotted var(--line); }
.catering-done__summary dt { font-weight: 500; }
.catering-done__summary dd { margin: 0; font-weight: 700; text-align: right; }
.catering-done__demo { font-size: .95rem; color: var(--ink-soft); }

/* ---------- FAQ (cream) ---------- */
.faq { padding: clamp(56px, 8vw, 104px) 0; }
.faq__grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } }
.faq__list { display: grid; gap: 10px; }
.faq__item { border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--paper); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 14px 48px 14px 18px; min-height: 52px; position: relative;
  font-weight: 700; font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%;
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 1.1rem; line-height: 1;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p { padding: 0 18px 16px; margin: 0; color: var(--ink-soft); }

/* ---------- final CTA (red) ---------- */
.final-cta { background: var(--red); color: var(--cream); padding: clamp(64px, 9vw, 104px) 0; border-top: 2px solid var(--ink); }
.final-cta__inner { text-align: center; display: grid; justify-items: center; gap: 18px; --focus: var(--cream); }
.final-cta h2 { max-width: 14em; }
.final-cta p { font-size: 1.2rem; margin: 0 0 8px; }

/* ---------- footer (charcoal) ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding: 48px 0 40px; --focus: var(--cream); }
.site-footer__inner { display: grid; gap: 28px; }
@media (min-width: 760px) { .site-footer__inner { grid-template-columns: 1fr auto; align-items: center; } }
.site-footer__brand-row { display: flex; align-items: center; gap: 14px; }
.site-footer__brand-row img { width: 60px; height: 60px; }
.site-footer__brand { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; margin-bottom: 2px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-footer a, .site-footer .link-btn {
  display: inline-block; padding: 11px 0; color: var(--cream); font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 242, 220, .4);
}
.site-footer .link-btn { font-size: inherit; }
.site-footer a:hover, .site-footer .link-btn:hover { color: var(--gold); text-decoration-color: currentColor; }
.site-footer__demo {
  grid-column: 1 / -1; font-size: .9rem; color: #E6D9C2; margin: 0;
  padding-top: 20px; border-top: 1px dotted rgba(255, 242, 220, .3);
}

/* ---------- page toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50; translate: -50% 0;
  display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 18px; border-radius: 14px;
  background: var(--ink); color: var(--cream); border: 2px solid var(--cream);
  box-shadow: 0 10px 30px rgba(41, 38, 32, .35); font-weight: 700;
  animation: toast-in .22s ease-out;
  --focus: var(--cream);
}
.toast__btn {
  min-height: 44px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 10px;
  background: var(--gold); color: var(--ink); font-weight: 700; cursor: pointer; white-space: nowrap;
}
.toast__btn:hover { background: var(--cream); }
@keyframes toast-in { from { translate: -50% 16px; opacity: 0; } }

/* ---------- ordering drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(41, 38, 32, .55); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: min(460px, 100%); height: 100%; height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--cream); border-left: 3px solid var(--ink);
  box-shadow: -12px 0 32px rgba(41, 38, 32, .2);
  animation: slide-in .26s ease-out;
}
.drawer-backdrop:not([hidden]) { animation: fade-in .2s ease-out; }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

.drawer__head {
  display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 10px 12px 10px 20px;
  border-bottom: 2px dotted rgba(41, 38, 32, .35); background: var(--cream);
}
.drawer__head h2 { flex: 1; font-size: 1.35rem; letter-spacing: 0; line-height: 1.2; }
/* The title is a programmatic focus target (tabindex=-1), not a control: a light underline instead of a heavy box. */
.drawer__head h2:focus { outline: none; }
.drawer__head h2:focus-visible { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.drawer__back {
  display: inline-flex; align-items: center; gap: 2px; min-height: 44px; padding: 0 10px 0 4px; margin-left: -10px;
  background: none; border: 0; border-radius: 10px; font-weight: 700; cursor: pointer;
}
.drawer__back:hover { background: var(--cream-deep); }
.drawer__close {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 2px solid var(--ink); border-radius: 12px; background: var(--paper); cursor: pointer;
}
.drawer__close:hover { background: var(--gold); }
.drawer__main { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 20px 28px; }
.drawer-toast {
  position: absolute; top: 10px; left: 16px; right: 16px; z-index: 2; margin: 0;
  padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--green); color: var(--cream); font-weight: 700;
  box-shadow: 0 8px 20px rgba(41, 38, 32, .25); pointer-events: none;
  animation: fade-in .18s ease-out;
}
.drawer__foot { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: var(--paper); }
.drawer__foot:empty { display: none; }
.drawer__intro { color: var(--ink-soft); }
.drawer__fine { font-size: .9rem; color: var(--ink-soft); }
.drawer__empty-note { margin: 0; text-align: center; color: var(--ink-soft); font-weight: 500; }

.pick-group { margin-top: 22px; }
.pick-group h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 8px; }
.pick-group ul { list-style: none; margin: 0; padding: 0; border: 2px solid var(--ink); border-radius: var(--radius-sm); overflow: hidden; background: var(--paper); }
.pick-group li + li { border-top: 1px dotted var(--line); }
.pick {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 14px;
  background: none; border: 0; text-align: left; cursor: pointer; font-weight: 500;
}
.pick:hover { background: var(--cream-deep); }
.pick:focus-visible { outline-offset: -3px; }
.pick__name { flex: 1; }
.pick__thumb, .drawer__photo { display: grid; place-items: center; overflow: hidden; background: var(--cream-deep); border: 2px solid var(--ink); }
.pick__thumb, .drawer__photo { position: relative; }
.pick__thumb img, .drawer__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pick__thumb { flex: none; width: 48px; height: 48px; border-radius: 10px; }
.pick__thumb--art svg { width: 78%; height: auto; }
.drawer__photo { width: 100%; aspect-ratio: 16 / 9; margin-bottom: 16px; border-radius: var(--radius); }
.drawer__photo--art svg { width: 34%; height: auto; }
.pick__price { font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.pick__action {
  flex: none; min-width: 74px; text-align: center; padding: 3px 8px; border-radius: 999px;
  border: 1.5px solid var(--ink); font-size: .8rem; font-weight: 700;
}

.opt-group { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.opt-group legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.req {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px;
  background: var(--cream-deep); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; vertical-align: 2px;
}
.opts { display: grid; gap: 8px; }
.opt {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
  background: var(--paper); border: 2px solid rgba(41, 38, 32, .35); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.opt:hover { border-color: var(--ink); }
.opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--red); flex: none; }
.opt input:focus-visible { outline-offset: 2px; }
.opt:has(input:checked) { border-color: var(--red); background: #FBE4CF; }
.opt__label { flex: 1; }
.opt__note { font-weight: 400; color: var(--ink-soft); }
.opt__detail { display: block; font-size: .875rem; color: var(--ink-soft); line-height: 1.4; margin-top: 2px; }
.opt__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.opt-group.is-invalid .opt { border-color: var(--red); }
.field-error { color: var(--red); font-weight: 700; font-size: .92rem; margin: 0 0 8px; }
.form-alert {
  margin-bottom: 16px; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 2px solid var(--red); background: #FBE4CF; color: var(--ink); font-weight: 700;
}

.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 20px; }
.qty-row__label { font-weight: 700; }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper);
  font-size: 1.3rem; font-weight: 700; line-height: 1; cursor: pointer;
}
.qty__btn:hover:not(:disabled) { background: var(--gold); }
.qty__btn:disabled { opacity: .35; cursor: not-allowed; }
.qty__val { min-width: 2.2ch; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.selection { padding: 16px; border-radius: var(--radius-sm); background: var(--paper); border: 2px dashed rgba(73, 107, 69, .6); }
.selection h3 { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.selection ul { margin: 0 0 10px; padding-left: 18px; font-size: .95rem; }
.selection__price { display: flex; justify-content: space-between; margin: 0; padding-top: 10px; border-top: 1px dotted var(--line); }

.lines { list-style: none; margin: 0 0 12px; padding: 0; }
.line { padding: 14px 0; border-bottom: 2px dotted var(--line); }
.line__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.line__top h3 { font-family: var(--serif); font-size: 1.12rem; }
.line__total { font-weight: 700; font-variant-numeric: tabular-nums; }
.line__details { list-style: none; margin: 6px 0 4px; padding: 0; font-size: .9rem; color: var(--ink-soft); }
.line__unit { font-size: .85rem; color: var(--ink-soft); margin: 0 0 8px; }
.line__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.line__actions .qty { margin-right: auto; }
.line__actions .link-btn { min-height: 44px; }

.upsell { margin: 6px 0 16px; padding: 14px; border-radius: var(--radius-sm); background: var(--cream-deep); }
.upsell h3 { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.upsell__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.upsell__btn {
  display: grid; gap: 2px; min-height: 56px; padding: 8px; border-radius: var(--radius-sm);
  border: 2px solid var(--ink); background: var(--paper); cursor: pointer; font-size: .85rem; text-align: center;
}
.upsell__btn strong { color: var(--red); font-variant-numeric: tabular-nums; }
.upsell__btn:hover { background: var(--gold); }
.upsell__btn:hover strong { color: var(--ink); }

.totals { margin: 8px 0 0; }
.totals div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.totals dt { font-weight: 500; }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.totals__tax dd { font-size: .9rem; color: var(--ink-soft); }
.totals__grand { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px !important; font-weight: 700; font-size: 1.1rem; }
.totals__grand dt { font-weight: 700; }

.empty { text-align: center; padding: 24px 0; display: grid; justify-items: center; gap: 4px; }
.empty img { margin-bottom: 8px; }
.empty .btn { margin-top: 12px; }

.demo-banner {
  padding: 12px 14px; margin-bottom: 20px; border-radius: var(--radius-sm);
  background: var(--gold); color: var(--ink); border: 2px solid var(--ink); font-size: .95rem;
}
.estimate {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 12px 0 0;
  padding: 10px 14px; border-radius: var(--radius-sm); background: var(--cream-deep); font-size: .95rem;
}
.field { margin-bottom: 24px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-sm);
}
.field.is-invalid input { border-color: var(--red); box-shadow: 0 0 0 2px rgba(184, 58, 45, .25); }
.field .field-error { margin: 8px 0 0; }

.review { padding: 16px; border: 2px solid var(--ink); border-radius: var(--radius-sm); background: var(--paper); }
.review h3 { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.review ul { list-style: none; margin: 0 0 6px; padding: 0; }
.review li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: .95rem; }

.confirm { display: grid; gap: 8px; }
.confirm__mascot { justify-self: center; }
.confirm__thanks { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; text-align: center; margin: 0 0 4px; }
.confirm__pickup { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--cream-deep); font-weight: 500; }
.confirm .demo-banner { margin: 8px 0 0; text-align: center; }
.lines--static { margin-bottom: 0; }
.btn-row--split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.btn-row--split .btn { padding-inline: .8em; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .btn--red:hover, .btn--cream:hover { transform: none; }
}
