/* Farmers Family Restaurant — site styles */
:root {
  --bg: #110f0d; --bg-2: #0b0908; --surface: #1b1815; --surface-2: #25211d; --line: rgba(244, 235, 221, .1);
  --cream: #f4ebdd; --muted: #b9ad9c; --gold: #d9a441; --gold-soft: #ebc679; --ember: #e0702b; --ok: #8fd46b; --bad: #e07a5f;
  --radius: 20px; --radius-sm: 12px; --wrap: min(1180px, 100% - 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: 'Fraunces', Georgia, serif; --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--cream); font: 17px/1.65 var(--sans); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -60px; left: 16px; z-index: 200; background: var(--gold); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 16px; }
[hidden] { display: none !important; }

/* Typography */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 0; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.02em; margin: 14px 0 16px; text-wrap: balance; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -.02em; margin: 14px 0 18px; text-wrap: balance; }
.h2 em, .h1 em { font-style: italic; color: var(--gold-soft); }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 18.5px); max-width: 62ch; margin: 0; text-wrap: pretty; }
.small { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .3s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--bg); box-shadow: 0 12px 34px -12px rgba(217, 164, 65, .7); }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: rgba(244, 235, 221, .45); background: rgba(17, 15, 13, .3); color: var(--cream); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 12.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(244, 235, 221, .05); transition: background-color .2s, border-color .2s; }
.icon-btn:hover { border-color: var(--gold); }
.icon-btn svg { width: 22px; height: 22px; }

/* Header */
.announce { background: var(--gold); color: var(--bg); text-align: center; font-size: 14px; font-weight: 600; padding: 8px 16px; position: relative; z-index: 51; }
.announce a { font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 9, 8, .78); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transition: background-color .3s; }
.header-in { width: var(--wrap); margin-inline: auto; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 22px; height: 22px; }
.brand b { display: block; font-family: var(--serif); font-size: 20px; line-height: 1; }
.brand small { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.link { padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.nav a.link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a.link:hover::after, .nav a.link[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ember); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: rgba(11, 9, 8, .98); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a.link { font-family: var(--serif); font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.link::after { display: none; }
  .header-actions .call-btn { display: none; }
}

/* Hero */
.hero { position: relative; min-height: calc(100svh - 76px); display: grid; place-items: center; overflow: hidden; background: #0a0807; isolation: isolate; }
.hero-media, .hero-media .slide, .hero-video, .hero-shade, .hero canvas { position: absolute; inset: 0; }
.hero-media .slide { opacity: 0; transition: opacity 1.8s ease; }
.hero-media .slide.on { opacity: 1; }
.hero-media .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 9s linear; }
.hero-media .slide.on img { transform: scale(1.03); }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s; }
.hero-video.ready { opacity: 1; }
.hero-shade { background: linear-gradient(180deg, rgba(10, 8, 7, .78), rgba(10, 8, 7, .35) 40%, rgba(10, 8, 7, .62) 75%, var(--bg)), radial-gradient(70% 60% at 50% 55%, rgba(217, 164, 65, .16), transparent 70%); }
.hero canvas { pointer-events: none; mix-blend-mode: screen; }
.hero-in { position: relative; z-index: 2; width: var(--wrap); text-align: center; padding: 110px 0 140px; }
.hero .eyebrow { justify-content: center; }
.hero .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(50px, 10vw, 140px); line-height: .92; letter-spacing: -.035em; margin: 22px 0; text-shadow: 0 10px 50px rgba(0, 0, 0, .5); }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero h1 .word > span { display: inline-block; transform: translateY(105%); animation: rise-in 1.2s var(--ease) forwards; }
.hero h1 .accent { color: var(--gold-soft); font-style: italic; font-weight: 500; }
.hero .sub { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.4vw, 26px); color: #efe4d3; max-width: 38ch; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 14px 30px; justify-content: center; flex-wrap: wrap; margin-top: 40px; font-size: 14.5px; color: #eadfcf; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--gold); }
.fade-up { opacity: 0; animation: fade-up 1s var(--ease) forwards; }
.d1 { animation-delay: .5s; } .d2 { animation-delay: .8s; } .d3 { animation-delay: 1s; } .d4 { animation-delay: 1.2s; }
@keyframes rise-in { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #d4c6b2; text-decoration: none; }
.scroll-cue i { width: 2px; height: 44px; background: rgba(244, 235, 221, .2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; background: var(--gold); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { to { transform: translateY(60px); } }
.open-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(143, 212, 107, .6); animation: pulse 2s infinite; flex: none; }
.open-dot.closed { background: var(--bad); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(143, 212, 107, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 212, 107, 0); } }

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-head > div { max-width: 680px; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

/* About */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.about-media { position: relative; aspect-ratio: 5 / 5.4; }
.about-media img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media .a1 { inset: 0 18% 16% 0; width: 82%; height: 84%; }
.about-media .a2 { right: 0; bottom: 0; width: 56%; height: 46%; border: 6px solid var(--bg); }
.badge-year { position: absolute; left: -12px; bottom: 8%; z-index: 2; background: var(--gold); color: var(--bg); padding: 16px 20px; border-radius: 16px; box-shadow: var(--shadow); }
.badge-year b { display: block; font-family: var(--serif); font-size: 38px; line-height: 1; }
.badge-year span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.highlights div { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.highlights svg { width: 26px; height: 26px; color: var(--gold); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .highlights { grid-template-columns: 1fr; } .highlights div { flex-direction: row; align-items: center; } }

/* Dish cards */
.dish { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); text-align: left; padding: 0; color: inherit; }
.dish:hover { transform: translateY(-6px); border-color: rgba(217, 164, 65, .55); box-shadow: var(--shadow); }
.dish .ph { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: radial-gradient(120% 90% at 20% 0%, rgba(217, 164, 65, .3), transparent 60%), linear-gradient(135deg, #2b241d, #171411); }
.dish .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dish:hover .ph img { transform: scale(1.08); }
.dish .ph .noimg { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(217, 164, 65, .45); }
.dish .ph .noimg svg { width: 42px; height: 42px; }
.dish .tag { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; background: rgba(17, 15, 13, .75); backdrop-filter: blur(8px); color: var(--gold-soft); border: 1px solid rgba(217, 164, 65, .4); }
.dish .tag.out { color: #f3b3a3; border-color: rgba(224, 122, 95, .5); }
.dish-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dish-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.dish h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; margin: 0; }
.price { font-family: var(--serif); font-size: 22px; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-note { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-soft); }
.dish p { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dish-actions { margin-top: auto; padding-top: 12px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.dish-actions .more { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: none; border: 0; padding: 8px 0; }
.dish-link { position: absolute; inset: 0; z-index: 1; border: 0; background: none; padding: 0; }
.dish .add { position: relative; z-index: 2; }

/* Feature (tall) cards */
.feature { position: relative; height: 460px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; padding: 26px; text-decoration: none; isolation: isolate; border: 1px solid var(--line); }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(10, 8, 7, .92)); }
.feature:hover img { transform: scale(1.08); }
.feature small { color: var(--gold); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.feature h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.05; margin: 6px 0 6px; }
.feature p { margin: 0; color: rgba(244, 235, 221, .8); font-size: 14.5px; }

/* Promotions */
.promo { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); border: 1px solid rgba(217, 164, 65, .25); min-height: 300px; }
.promo img { width: 100%; height: 100%; object-fit: cover; }
.promo-body { padding: 34px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.promo .badge { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--bg); }
.promo h3 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 0; line-height: 1.1; }
.promo p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .promo { grid-template-columns: 1fr; } .promo img { aspect-ratio: 16 / 9; } }

/* Testimonials */
.rating-card { display: flex; align-items: center; gap: 20px; padding: 22px 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid rgba(217, 164, 65, .35); }
.rating-card b { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--gold); font-weight: 500; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 20px; padding: 32px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); transition: transform .5s var(--ease); }
.quote:hover { transform: translateY(-6px); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.55; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.quote figcaption b { color: var(--cream); display: block; font-size: 15px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid rgba(217, 164, 65, .4); color: var(--gold); font-family: var(--serif); font-weight: 600; flex: none; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3.5vw, 36px); }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:first-child { padding-top: 0; }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(217, 164, 65, .12); color: var(--gold); display: grid; place-items: center; flex: none; }
.info-row .ic svg { width: 21px; height: 21px; }
.info-row h3 { margin: 0 0 4px; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.info-row p, .info-row address { margin: 0; font-style: normal; }
.info-row a { text-underline-offset: 4px; text-decoration-color: rgba(217, 164, 65, .5); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td + td { text-align: right; color: var(--muted); padding-left: 12px; white-space: nowrap; }
.hours tr.today td { color: var(--gold); font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px; }
.map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); min-height: 460px; background: var(--surface); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map { min-height: 340px; } }

/* Footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 72px 0 calc(32px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--muted); }
.site-footer a { text-decoration: none; color: var(--muted); transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8b8073; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Menu page */
.page-hero { padding: 80px 0 40px; position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 80% 0%, rgba(217, 164, 65, .16), transparent 60%); }
.toolbar { position: sticky; top: 76px; z-index: 20; background: rgba(17, 15, 13, .92); backdrop-filter: blur(14px); border-block: 1px solid var(--line); padding: 14px 0; }
.toolbar-in { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.search { flex: 1 1 260px; position: relative; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input { width: 100%; height: 48px; padding: 0 16px 0 46px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.search input:focus { border-color: var(--gold); outline: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-weight: 600; font-size: 14px; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--cream); color: var(--bg); border-color: var(--cream); }
.cat-block { padding: 48px 0 8px; scroll-margin-top: 160px; }
.cat-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.cat-head h2 { font-family: var(--serif); font-weight: 500; font-size: 36px; margin: 0; }
.cat-head p { margin: 0; color: var(--muted); }
.cat-head .sched { color: var(--gold-soft); font-weight: 600; font-size: 14px; }
.empty { text-align: center; padding: 80px 20px; color: var(--muted); }

/* Modal + drawer */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(6, 5, 4, .72); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.overlay.on { opacity: 1; }
.modal { position: fixed; z-index: 100; left: 50%; top: 50%; width: min(760px, calc(100% - 32px)); max-height: calc(100svh - 48px); overflow: auto; transform: translate(-50%, -46%) scale(.98); opacity: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; transition: opacity .3s, transform .4s var(--ease); }
.modal.on { opacity: 1; transform: translate(-50%, -50%); }
.modal .close { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(17, 15, 13, .7); }
.modal-img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #2b241d, #171411); }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.modal-body h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; margin: 0; line-height: 1.1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 42px; height: 42px; border: 0; background: none; font-size: 20px; }
.qty output { min-width: 28px; text-align: center; font-weight: 700; }
.drawer { position: fixed; z-index: 100; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); }
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; }
.drawer-body { flex: 1; overflow: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 18px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-line b { font-weight: 600; }
.cart-line .small { grid-column: 1; }
.cart-line .remove { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 4px 0; justify-self: start; }
.notice { font-size: 14px; color: var(--cream); background: rgba(217, 164, 65, .1); border: 1px solid rgba(217, 164, 65, .35); border-radius: 14px; padding: 12px 14px; }
.notice.ok { background: rgba(143, 212, 107, .1); border-color: rgba(143, 212, 107, .4); }
.notice.err { background: rgba(224, 122, 95, .12); border-color: rgba(224, 122, 95, .5); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid rgba(244, 235, 221, .16); }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field .err { color: #f3b3a3; font-size: 13px; }
.field [aria-invalid="true"] { border-color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: var(--cream); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 600; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--radius); min-height: 340px; }
@keyframes sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
.mt { margin-top: 10px; }
.flex1 { flex: 1; }
.pt40 { padding-top: 40px; }
.pt20 { padding-top: 20px !important; }
.pb100 { padding-bottom: 100px; }
.small svg, .sched svg, .notice svg { width: 16px; height: 16px; vertical-align: -3px; display: inline-block; }
img.img-failed { opacity: 0; }
@media (max-width: 480px) { .hide-xs { display: none; } .brand b { font-size: 18px; } }
