/* District 607 Cantina. Mobile-first. */

:root {
  --ink: #111111;
  --ink-2: #181818;
  --ink-3: #222222;
  --orange: #F05A00;
  --orange-2: #FF6B14;
  --cream: #F5E9D7;
  --cream-2: #EDE0CB;
  --cream-3: #E2D2B6;
  --agave: #556B5F;
  --line: rgba(17, 17, 17, .14);
  --line-strong: rgba(17, 17, 17, .5);
  --fg: var(--ink);
  --bg: var(--cream);
  --muted: rgba(17, 17, 17, .62);
  --font-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --font-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --radius: 4px;
  --wrap: 1360px;
  --gutter: clamp(18px, 4.5vw, 64px);
  --nav-h: 68px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--orange); color: var(--cream); }

.dark {
  --fg: var(--cream);
  --bg: var(--ink);
  --line: rgba(245, 233, 215, .16);
  --line-strong: rgba(245, 233, 215, .5);
  --muted: rgba(245, 233, 215, .62);
  background: var(--bg);
  color: var(--fg);
}

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.grid-2 { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* Type */
.eyebrow {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow .sep { width: 28px; height: 1px; background: currentColor; opacity: .6; display: inline-block; }
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.2vw, 5rem);
  line-height: 1.04;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.lead { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.65; max-width: 56ch; margin: 0 0 28px; color: var(--muted); }
.small { font-size: .85rem; color: var(--muted); }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn-primary { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.btn-primary:hover, .btn-primary:focus-visible { color: var(--cream); border-color: var(--ink); }
.dark .btn-primary::before { background: var(--cream); }
.dark .btn-primary:hover, .dark .btn-primary:focus-visible { color: var(--ink); border-color: var(--cream); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost::before { background: var(--fg); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--bg); border-color: var(--fg); }
.btn-sm { padding: 12px 18px; font-size: .92rem; }
.btn-lg { padding: 20px 36px; font-size: 1.15rem; }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); transition: background .3s, color .3s;
}
.icon-btn:hover { background: var(--fg); color: var(--bg); }
.icon-btn svg { width: 20px; height: 20px; }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 1000; pointer-events: none; display: grid; place-items: center; }
.loader-panel { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--ink); }
.loader-panel-l { left: 0; }
.loader-panel-r { right: 0; }
.loader-mark { position: relative; z-index: 2; color: var(--cream); display: grid; gap: 14px; justify-items: center; }
.loader-word { font-family: var(--font-display); font-size: clamp(2.6rem, 9vw, 5.5rem); letter-spacing: .02em; line-height: 1; overflow: hidden; display: block; }
.loader-word em { font-style: normal; color: var(--orange); }
.loader-line { width: 160px; height: 2px; background: rgba(245, 233, 215, .2); display: block; overflow: hidden; }
.loader-line i { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }

/* Cursor */
.cursor {
  position: fixed; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange); pointer-events: none; z-index: 999; mix-blend-mode: difference;
  display: none; transition: width .3s var(--ease), height .3s var(--ease), opacity .3s;
}
.cursor.is-hover { width: 56px; height: 56px; }
.cursor.is-hidden { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* Logo */
.logo { display: inline-flex; flex-direction: column; align-items: center; padding: 6px 10px; border: 2px solid currentColor; line-height: 1; gap: 2px; }
.logo-word { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .03em; }
.logo-word em { font-style: normal; color: var(--orange); }
.logo-sub { font-family: var(--font-cond); font-weight: 600; font-size: .62rem; letter-spacing: .34em; padding-left: .34em; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--nav-h);
  color: var(--cream);
  transition: transform .5s var(--ease), background .4s, color .4s, box-shadow .4s;
}
.nav-inner { height: 100%; width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav.is-scrolled { background: rgba(17, 17, 17, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(245, 233, 215, .08); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-links { display: none; gap: 30px; }
.nav-links a { font-family: var(--font-cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { display: none; }
.cart-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(245, 233, 215, .25); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--orange); color: var(--ink); font-family: var(--font-cond); font-weight: 700; font-size: .78rem; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.cart-count.on { transform: scale(1); }
.burger { width: 44px; height: 44px; display: grid; place-items: center; gap: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-actions .btn { display: inline-flex; }
  .burger { display: none; }
}

/* Mobile nav */
.mnav { position: fixed; inset: 0; z-index: 85; background: var(--ink); color: var(--cream); clip-path: circle(0 at calc(100% - 44px) 34px); transition: clip-path .7s var(--ease); }
.mnav.is-open { clip-path: circle(150% at calc(100% - 44px) 34px); }
.mnav-inner { height: 100%; padding: calc(var(--nav-h) + 24px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px; }
.mnav-inner a { font-family: var(--font-display); font-size: clamp(2.6rem, 11vw, 4rem); line-height: 1.05; text-transform: uppercase; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.mnav.is-open a { opacity: 1; transform: none; }
.mnav-inner .btn { margin-top: auto; align-self: flex-start; }
.mnav-foot { color: var(--muted); font-size: .85rem; margin: 20px 0 0; }

/* Hero */
.hero { position: relative; min-height: 100svh; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: var(--nav-h) 0 0; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg picture, .hero-bg img { display: block; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 70% 50%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 17, 17, .85) 0%, rgba(17, 17, 17, .62) 45%, rgba(17, 17, 17, .1) 78%), linear-gradient(180deg, rgba(17, 17, 17, .55) 0%, rgba(17, 17, 17, 0) 25%, rgba(17, 17, 17, 0) 60%, rgba(17, 17, 17, .9) 100%); }
.hero-inner { position: relative; z-index: 2; width: min(100% - var(--gutter) * 2, var(--wrap)); margin: 0 auto; padding: 40px 0 28px; }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(4rem, 12vw, 10.5rem); line-height: .86; letter-spacing: -.005em; text-transform: uppercase; margin: 0; display: flex; flex-wrap: wrap; column-gap: .22em; row-gap: .1em; }
.hero-title .accent { color: var(--orange); }
.hero-sub { font-family: var(--font-cond); font-weight: 500; font-size: clamp(1.2rem, 3vw, 2.2rem); letter-spacing: .5em; text-transform: uppercase; margin: 10px 0 24px; padding-left: .5em; opacity: .9; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn-ghost { color: var(--cream); border-color: rgba(245, 233, 215, .35); }
.hero-cta .btn-ghost::before { background: var(--cream); }
.hero-cta .btn-ghost:hover { color: var(--ink); border-color: var(--cream); }
.hero-foot { position: relative; z-index: 2; width: min(100% - var(--gutter) * 2, var(--wrap)); margin: 0 auto; border-top: 1px solid rgba(245, 233, 215, .14); padding: 18px 0 calc(22px + var(--safe-b)); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.opening { display: grid; gap: 4px; line-height: 1.15; }
.opening .label { font-family: var(--font-cond); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.opening .big { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; }
.hours-pill { font-family: var(--font-cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; padding: 10px 14px; border: 1px solid rgba(245, 233, 215, .25); border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; }
.hours-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5FD37A; box-shadow: 0 0 0 0 rgba(95, 211, 122, .6); animation: pulse 2s infinite; }
.hours-pill.closed::before { background: var(--orange); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 211, 122, .6); } 100% { box-shadow: 0 0 0 10px rgba(95, 211, 122, 0); } }
@media (max-width: 640px) {
  .hero-cta .btn { width: 100%; }
}
@media (min-width: 900px) {
  .hero-inner { padding: 60px 0; margin-block: auto; }
  
  .hours-pill { justify-self: end; }
}

/* Split text */
.split { display: inline-block; }
.split .ch { display: inline-block; will-change: transform; }
[data-split] { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }

/* Marquee */
.foodstrip { background: var(--ink); overflow: hidden; padding: 14px 0 0; }
.foodstrip-track { display: flex; width: max-content; will-change: transform; }
.strip-tile { position: relative; flex: none; width: clamp(220px, 26vw, 380px); aspect-ratio: 4 / 3; margin-right: 14px; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); color: var(--cream); text-align: left; }
.strip-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.strip-tile:hover img { transform: scale(1.06); }
.strip-tile span { position: absolute; inset: auto 0 0; padding: 36px 14px 12px; font-family: var(--font-display); font-size: 1.1rem; line-height: 1.1; text-transform: uppercase; background: linear-gradient(180deg, transparent, rgba(17, 17, 17, .8)); }
.no-anim .foodstrip { overflow-x: auto; }

/* Sections */
section { padding: clamp(72px, 10vw, 150px) 0; }

.space { padding-top: 0; }
figure.space-lead { aspect-ratio: 21 / 9; border-radius: 0; width: 100%; }
.space-title { margin: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.space-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.space-grid figure { aspect-ratio: 4 / 3; }
.space-grid .tall { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.img-reveal figcaption { position: absolute; z-index: 1; left: 16px; bottom: 12px; font-family: var(--font-display); font-size: clamp(1rem, 1.8vw, 1.5rem); text-transform: uppercase; color: var(--cream); }
@media (max-width: 699px) { figure.space-lead { aspect-ratio: 4 / 3; } }
@media (min-width: 900px) {
  .space-grid { grid-template-columns: 1fr 1.25fr; grid-template-rows: 1fr 1fr; }
  .space-grid .tall { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; }
}
figure.catering-photo { aspect-ratio: 16 / 9; margin-bottom: 14px; }
figure.gift-photo { aspect-ratio: 4 / 3; }
.visit { padding-top: 0; }
figure.visit-photo { aspect-ratio: 21 / 9; border-radius: 0; width: 100%; margin-bottom: clamp(48px, 7vw, 90px); }
@media (max-width: 699px) { figure.visit-photo { aspect-ratio: 4 / 3; } }
.img-reveal { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); clip-path: inset(0 100% 0 0); aspect-ratio: 4 / 3; position: relative; }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.img-reveal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(17, 17, 17, .55)); pointer-events: none; }
.img-reveal.wide { aspect-ratio: 16 / 10; }

/* The line */
.line { padding: 0; }
.line-pin { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 10vw, 120px) 0; overflow: hidden; }
.line-head { margin-bottom: 36px; }
.line-track { display: grid; gap: 14px; width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.step { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--ink-2); display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 22px; overflow: hidden; }
.step img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.step:hover img { transform: scale(1.05); }
.step::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(17, 17, 17, .85)); }
.step .num, .step h3 { position: relative; z-index: 1; }
.step .num { font-family: var(--font-cond); font-weight: 600; letter-spacing: .2em; color: var(--orange); }
.step h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.8rem); text-transform: uppercase; margin: 0; line-height: 1; }
.step-cta { aspect-ratio: auto; justify-content: center; align-items: center; background: transparent; }
.step-cta::after { display: none; }
@media (min-width: 900px) {
  .line-track { display: flex; gap: 20px; width: auto; margin: 0; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: var(--gutter); will-change: transform; }
  .step { flex: none; width: clamp(420px, 42vw, 680px); padding: 32px; }
  .step-cta { width: clamp(300px, 26vw, 400px); }
}

/* The Board */
.board { padding-bottom: clamp(60px, 8vw, 120px); }
.board-head { display: grid; gap: 22px; margin-bottom: 26px; }
.board-tools { display: grid; gap: 12px; }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 16px; height: 46px; background: rgba(255, 255, 255, .25); }
.search svg { width: 18px; height: 18px; flex: none; opacity: .7; }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; height: 100%; font-size: 16px; }
.search input::placeholder { color: var(--muted); }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
.filters button, .amounts button {
  flex: none; font-family: var(--font-cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); transition: background .3s, color .3s, border-color .3s;
}
.filters button.on, .amounts button.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
#boardModeBtn { justify-self: start; }
.board-title .h2 { max-width: 14ch; }
@media (min-width: 900px) {
  .board-tools { grid-template-columns: 260px auto auto; align-items: center; }
}
@media (min-width: 1200px) {
  .board-head { grid-template-columns: 1fr auto; align-items: end; }
}

.cats { position: sticky; top: 0; z-index: 40; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; background: var(--cream); padding: 12px 0; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.cats::-webkit-scrollbar { display: none; }
.cats button { flex: none; position: relative; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; padding: 10px 16px; border-radius: var(--radius); color: var(--muted); transition: color .3s; }
.cats button.on { color: var(--ink); }
.cats button::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.cats button.on::after { transform: scaleX(1); }
@media (min-width: 900px) { .cats { margin: 0; padding-inline: 0; } }

.items { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; gap: 14px 12px; margin-top: 18px; }
.item { position: relative; display: block; width: 100%; padding: 0 0 12px; text-align: left; will-change: transform; transform-style: preserve-3d; }
/* WebKit gives an aspect-ratio box inside a button no height, so hold the shape with padding */
.item-photo { position: relative; display: block; padding-top: 75%; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); margin-bottom: 8px; }
.item-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.item:hover .item-photo img { transform: scale(1.06); }
.item-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.item-name { font-family: var(--font-display); font-size: clamp(1.02rem, 1.7vw, 1.35rem); line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; }
.item-price { font-family: var(--font-cond); font-weight: 600; font-size: 1.1rem; letter-spacing: .04em; white-space: nowrap; }
.item-price small { font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-right: 4px; }
.item-badge { position: absolute; top: 10px; left: 10px; font-family: var(--font-cond); font-weight: 700; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--orange); color: var(--ink); }
.item-add { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.item-add svg { width: 18px; height: 18px; }
.item:hover .item-add { background: var(--orange); color: var(--ink); transform: rotate(90deg); }
.items-empty { text-align: center; color: var(--muted); padding: 40px 0; }
@media (min-width: 700px) { .items { grid-template-columns: repeat(3, 1fr); gap: 22px 18px; } }
@media (min-width: 1100px) { .items { grid-template-columns: repeat(4, 1fr); } }

/* Build your own (inline) */
.byo { margin-top: 18px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--cream); overflow: clip; }
.byo-inner { display: grid; }
.byo-steps { padding: 22px var(--gutter) 22px; display: grid; gap: 30px; }
.byo-preview { background: var(--ink-2); border-top: 1px solid rgba(245, 233, 215, .12); padding: 22px var(--gutter) calc(22px + var(--safe-b)); }
@media (min-width: 900px) {
  .byo-inner { grid-template-columns: 1.4fr 1fr; }
  .byo-steps { padding: 32px 36px; }
  .byo-preview { border-top: 0; border-left: 1px solid rgba(245, 233, 215, .12); padding: 32px 36px; }
  .byo-summary { position: sticky; top: 84px; }
}
.byo-bases { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.base { display: grid; gap: 2px; text-align: left; border-radius: var(--radius); }
.base img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .25s; margin-bottom: 6px; }
.base.on img { outline-color: var(--orange); }
.base-name { font-family: var(--font-cond); font-weight: 600; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.base.on .base-name { color: var(--orange); }
.base-price { font-family: var(--font-cond); font-size: .85rem; color: rgba(245, 233, 215, .6); }
.byo-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }
.byo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.byo-head h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; margin: 0; line-height: 1; }
.byo-head .small { color: rgba(245, 233, 215, .6); }

.sheet-groups, .byo-groups { display: grid; gap: 30px; }
.sheet-groups:empty { display: none; }
.mgroup { display: grid; gap: 12px; }
.mgroup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mgroup-head strong { font-family: var(--font-cond); font-weight: 600; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; }
.mgroup-head span { font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.mgroup-head .req { color: var(--orange); font-family: var(--font-cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }
.mgroup-head .req.done { color: #5FD37A; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 14px; min-height: 50px; border: 1px solid var(--line); border-radius: var(--radius); text-align: left;
  font-family: var(--font-cond); font-weight: 500; font-size: 1.02rem; letter-spacing: .03em; line-height: 1.1;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.opt:active { transform: scale(.97); }
.opt .up { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.opt.on { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.opt.on .up { color: rgba(17, 17, 17, .7); }
.opt[disabled] { opacity: .35; }
.light .opt.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.light .opt.on .up { color: rgba(245, 233, 215, .7); }
@media (min-width: 640px) { .opts { grid-template-columns: repeat(3, 1fr); } }

.preview-title { font-family: var(--font-cond); font-weight: 600; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin: 0; }
.byo-summary { display: grid; gap: 22px; }
.sum { display: grid; gap: 16px; }
.sum-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: baseline; }
.sum-label { font-family: var(--font-cond); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sum-vals { display: grid; gap: 8px; }
.sum-val { display: flex; justify-content: space-between; gap: 14px; font-family: var(--font-cond); font-weight: 500; font-size: 1.08rem; letter-spacing: .03em; line-height: 1.2; }
.sum-val em { font-style: normal; color: var(--muted); font-size: .9rem; white-space: nowrap; }
.sum-val.empty { color: var(--muted); }
.mgroup.need .mgroup-head strong { color: var(--orange); }
.mgroup.need .opt { border-color: var(--orange); }
.preview-total { display: flex; align-items: baseline; justify-content: space-between; }
.preview-total span { font-family: var(--font-cond); letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--muted); }
.preview-total b { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 42px; height: 42px; display: grid; place-items: center; font-size: 1.3rem; font-family: var(--font-cond); }
.qty output { min-width: 28px; text-align: center; font-family: var(--font-cond); font-weight: 600; font-size: 1.1rem; }
.preview-actions { display: flex; align-items: center; gap: 12px; }
.preview-actions .btn { flex: 1; }
.note-input { width: 100%; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); padding: 12px 14px; outline: none; font-size: 16px; }
.note-input:focus { border-color: var(--orange); }
.note-input::placeholder { color: var(--muted); }

/* Favorites */
.fav-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.fav-grid li:first-child { grid-column: 1 / -1; }
.tile-photo { position: relative; display: block; width: 100%; height: 100%; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); text-align: left; }
.fav-grid li:first-child .tile-photo { aspect-ratio: 16 / 10; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile-photo:hover img { transform: scale(1.06); }
.tile-text { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 44px 14px 12px; background: linear-gradient(180deg, transparent, rgba(17, 17, 17, .85)); }
.tile-text .name { font-family: var(--font-display); font-size: clamp(1rem, 1.9vw, 1.5rem); line-height: 1.1; text-transform: uppercase; }
.tile-text .price { font-family: var(--font-cond); font-weight: 600; font-size: 1.1rem; color: var(--orange); }
@media (min-width: 700px) {
  .fav-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .fav-grid li:first-child { grid-column: span 2; grid-row: span 2; }
  .fav-grid li:first-child .tile-photo { aspect-ratio: auto; }
  .fav-grid li:first-child .tile-text .name { font-size: clamp(1.6rem, 3vw, 2.6rem); }
}
@media (min-width: 1100px) { .fav-grid { grid-template-columns: repeat(4, 1fr); } }

/* Events */
.events-head { display: grid; gap: 28px; margin-bottom: 40px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div { display: grid; justify-items: center; gap: 2px; padding: 14px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .25); }
.countdown b { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-family: var(--font-cond); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .68rem; color: var(--muted); }
.event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.event { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--cream); }
.event img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.event:hover img { transform: scale(1.05); }
.event::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(17, 17, 17, .88)); }
.event-text { position: absolute; z-index: 1; inset: auto 16px 16px; display: grid; gap: 4px; }
.event .date { font-family: var(--font-cond); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--orange); }
.event h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 2.6vw, 2.2rem); text-transform: uppercase; margin: 0; line-height: 1; }
.event .tag { position: absolute; z-index: 1; top: 12px; left: 12px; font-family: var(--font-cond); font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; padding: 3px 9px; background: var(--orange); color: var(--ink); border-radius: 999px; }
@media (min-width: 900px) { .events-head { grid-template-columns: 1fr auto; align-items: end; } .countdown div { min-width: 92px; } }
@media (min-width: 1100px) { .event-grid { grid-template-columns: repeat(4, 1fr); } }

/* Forms */
.form { display: grid; gap: 14px; padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .3); }
.form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } .form { padding: 32px; } }
.form label, .gift-form label, .co-field { display: grid; gap: 6px; }
.form label span, .gift-form label span, .co-field > span { font-family: var(--font-cond); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; color: var(--muted); }
.form input, .form select, .form textarea, .gift-form input, .co-field input, .co-field select {
  width: 100%; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--radius); padding: 13px 14px; outline: none; font-size: 16px; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
.form input:focus, .form select:focus, .form textarea:focus, .gift-form input:focus, .co-field input:focus, .co-field select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240, 90, 0, .18); }
.form textarea { resize: vertical; }
.form input.err, .gift-form input.err, .co-field input.err { border-color: #C8321E; }
.form-error { margin: 0; color: #C8321E; font-size: .88rem; font-weight: 500; }
.form-success { padding: 14px 16px; background: var(--agave); color: var(--cream); border-radius: var(--radius); font-size: .95rem; }
.form-success strong { font-family: var(--font-cond); letter-spacing: .12em; text-transform: uppercase; }

.bundle { display: grid; grid-template-columns: 42% 1fr; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--cream); overflow: hidden; }
.bundle > img { width: 100%; height: 100%; object-fit: cover; min-height: 170px; }
.bundle-body { padding: 18px; display: grid; gap: 6px; align-content: center; }
.bundle-head { display: grid; gap: 2px; }
.bundle-price { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--orange); }
.bundle h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 2.4vw, 2rem); text-transform: uppercase; margin: 0; line-height: 1; }
.bundle p { margin: 0 0 8px; color: rgba(245, 233, 215, .7); font-size: .92rem; }
.bundle .btn { justify-self: start; }

/* Gift cards */
.gift { background: var(--cream-2); }
.gift-card-wrap { display: grid; gap: 22px; }
.gift-card { aspect-ratio: 1.586; border-radius: 14px; background: linear-gradient(180deg, rgba(17, 17, 17, .62), rgba(17, 17, 17, .3) 45%, rgba(17, 17, 17, .78)), url("assets/photos/hero-wide.jpg") center / cover, #111; color: var(--cream); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 40px 80px -40px rgba(17, 17, 17, .7); position: relative; overflow: hidden; transform-style: preserve-3d; will-change: transform; }
.gift-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.gift-card .logo { transform: scale(.85); transform-origin: left top; }
.gift-card-amt { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1; color: var(--orange); }
.gift-card-bottom { display: flex; justify-content: space-between; font-family: var(--font-cond); letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; color: rgba(245, 233, 215, .7); }
.gift-form { display: grid; gap: 14px; }
.amounts { display: flex; gap: 8px; flex-wrap: wrap; }
.gift-custom { width: 100%; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--radius); padding: 13px 14px; font-size: 16px; outline: none; }
.gift-form .form-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .gift-form .form-row { grid-template-columns: 1fr 1fr; } }

/* Visit */
.visit-grid { display: grid; gap: 36px; }
.visit address { font-size: 1.05rem; line-height: 1.7; margin: 0 0 24px; color: var(--muted); }
.visit-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hours h3 { font-family: var(--font-cond); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; color: var(--orange); margin: 0 0 12px; }
.hours table { width: 100%; border-collapse: collapse; }
.hours td { padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--font-cond); font-size: 1.05rem; letter-spacing: .04em; }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.today td { color: var(--orange); font-weight: 600; }
.hours .small { margin: 12px 0 0; }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.85); }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.2fr .8fr 1fr; align-items: start; } }

/* Merch */
.merch { background: var(--cream-2); }

/* Footer */
.footer { padding: clamp(60px, 8vw, 110px) 0 calc(28px + var(--safe-b)); overflow: hidden; }
.footer-big { font-family: var(--font-display); font-size: clamp(3.4rem, 13.5vw, 12.5rem); line-height: .88; text-transform: uppercase; display: grid; gap: .1em; margin-bottom: clamp(40px, 6vw, 80px); color: transparent; -webkit-text-stroke: 1.5px rgba(245, 233, 215, .5); }
.footer-big span { transition: color .5s var(--ease); }
.footer-big span:hover { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.footer-grid { display: grid; gap: 32px; padding-top: 36px; border-top: 1px solid var(--line); }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 30ch; margin: 18px 0 0; }
.footer-col { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer-col .eyebrow { margin-bottom: 4px; }
.footer-col a, .footer-col button { font-family: var(--font-cond); font-size: 1.05rem; letter-spacing: .06em; color: var(--muted); transition: color .3s, padding-left .3s var(--ease); }
.footer-col a:hover, .footer-col button:hover { color: var(--fg); padding-left: 6px; }
.footer-sms { justify-items: stretch; }
.sms-form { display: flex; gap: 8px; }
.sms-form input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--radius); padding: 11px 12px; font-size: 16px; outline: none; color: var(--fg); }
.sms-form input:focus { border-color: var(--orange); }
.consent { font-size: .72rem; line-height: 1.5; color: var(--muted); margin: 0; }
.footer-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.footer-foot a { margin-left: 14px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr 1fr; } }

/* Floating order bar */
.cart-bar {
  position: fixed; left: 50%; bottom: calc(16px + var(--safe-b)); transform: translate(-50%, 140%); z-index: 80;
  display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; background: var(--ink); color: var(--cream);
  border: 1px solid rgba(245, 233, 215, .28); border-radius: 999px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .6); width: min(100% - 32px, 420px);
  transition: transform .6s var(--ease);
}
.cart-bar.on { transform: translate(-50%, 0); }
body.has-cart .footer { padding-bottom: calc(104px + var(--safe-b)); }
body.has-cart .hero-foot { padding-bottom: calc(96px + var(--safe-b)); }
.cart-bar-count { width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: var(--ink); font-family: var(--font-cond); font-weight: 700; display: grid; place-items: center; font-size: 1rem; }
.cart-bar-text { font-family: var(--font-cond); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; flex: 1; text-align: left; }
.cart-bar-total { font-family: var(--font-display); font-size: 1.2rem; }

/* Drawer */
.scrim { position: fixed; inset: 0; z-index: 94; background: rgba(17, 17, 17, .55); opacity: 0; transition: opacity .4s; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.scrim.on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95; width: min(100%, 460px); background: var(--cream); color: var(--ink);
  display: flex; flex-direction: column; transform: translateX(104%); transition: transform .6s var(--ease); box-shadow: -30px 0 80px -40px rgba(0, 0, 0, .6);
}
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 12px; }
.drawer-head .eyebrow { margin: 0 0 6px; }
.drawer-head h3 { font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; margin: 0; line-height: 1; }
.drawer-steps { display: flex; gap: 0; padding: 0 20px 14px; border-bottom: 1px solid var(--line); }
.drawer-steps span { flex: 1; font-family: var(--font-cond); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; color: var(--muted); padding: 8px 0; border-bottom: 2px solid var(--line); transition: color .3s, border-color .3s; }
.drawer-steps span.on { color: var(--ink); border-color: var(--orange); }
.drawer-steps span.done { color: var(--agave); border-color: var(--agave); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.drawer-foot { padding: 14px 20px calc(16px + var(--safe-b)); border-top: 1px solid var(--line); background: var(--cream); display: grid; gap: 10px; }
.drawer-foot .btn { width: 100%; }
.cart-empty { text-align: center; padding: 50px 10px; display: grid; gap: 10px; justify-items: center; }
.cart-empty strong { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; }
.cart-empty p { color: var(--muted); margin: 0; font-size: .92rem; }
.cline { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cline.has-photo { grid-template-columns: 56px 1fr auto; }
.cline-photo { grid-row: span 1; width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); }
.cline-name { font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; line-height: 1.1; }
.cline-price { font-family: var(--font-cond); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.cline-mods { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.cline-ctl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cline-ctl .qty button { width: 36px; height: 36px; }
.cline-remove { font-family: var(--font-cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; color: var(--muted); }
.cline-remove:hover { color: #C8321E; }
.totals { display: grid; gap: 6px; padding-top: 14px; font-family: var(--font-cond); font-size: 1rem; letter-spacing: .04em; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--font-display); font-size: 1.5rem; padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--line); }
.totals .disc { color: var(--agave); }
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 14px 0 4px; }
.tips button { padding: 11px 6px; border: 1px solid var(--line-strong); border-radius: var(--radius); font-family: var(--font-cond); font-weight: 600; letter-spacing: .08em; font-size: .9rem; transition: background .25s, color .25s; }
.tips button.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.co { display: grid; gap: 18px; }
.co-group { display: grid; gap: 10px; }
.co-group > strong { font-family: var(--font-cond); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .78rem; color: var(--muted); }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); text-align: left; transition: background .25s, color .25s, border-color .25s; }
.tile strong { font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; line-height: 1; }
.tile span { font-size: .78rem; color: var(--muted); }
.tile.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tile.on span { color: rgba(245, 233, 215, .7); }
.slots { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.slots::-webkit-scrollbar { display: none; }
.slots button { flex: none; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--font-cond); font-weight: 600; letter-spacing: .06em; font-size: .92rem; }
.slots button.on { background: var(--orange); border-color: var(--orange); }
.pay { display: grid; gap: 8px; }
.pay-apple { height: 50px; border-radius: var(--radius); background: #000; color: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: -apple-system, 'Helvetica Neue', sans-serif; font-weight: 500; font-size: 1.05rem; }
.pay-apple svg { width: 20px; height: 20px; }
.pay-or { text-align: center; font-family: var(--font-cond); letter-spacing: .2em; text-transform: uppercase; font-size: .7rem; color: var(--muted); }
.card-row { display: grid; grid-template-columns: 1fr 90px 70px; gap: 8px; }
.card-row input { width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 13px 12px; font-size: 16px; outline: none; background: transparent; }
.card-row input:focus { border-color: var(--orange); }
.demo-note { font-size: .74rem; color: var(--muted); margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--orange); }
.check strong { color: var(--ink); }
.gc-row { display: flex; gap: 8px; }
.gc-row input { flex: 1; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 11px 12px; font-size: 16px; outline: none; background: transparent; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-cond); }
.gc-row input:focus { border-color: var(--orange); }

.confirm { display: grid; gap: 18px; text-align: center; padding-top: 8px; }
.confirm .check-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--agave); color: var(--cream); display: grid; place-items: center; margin: 0 auto; }
.confirm .check-mark svg { width: 34px; height: 34px; }
.confirm h4 { font-family: var(--font-display); font-size: 2rem; text-transform: uppercase; margin: 0 0 8px; line-height: 1; }
.confirm .order-no { font-family: var(--font-display); font-size: 3.2rem; letter-spacing: .04em; line-height: 1; color: var(--orange); }
.confirm p { margin: 0; color: var(--muted); font-size: .92rem; }
.tracker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; position: relative; text-align: left; }
.tracker div { display: grid; gap: 6px; padding: 12px 12px; border: 1px solid var(--line); border-radius: var(--radius); transition: background .4s, color .4s, border-color .4s; }
.tracker div i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.tracker div span { font-family: var(--font-cond); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; }
.tracker div.done { border-color: var(--agave); }
.tracker div.done i { background: var(--agave); }
.tracker div.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tracker div.on i { background: var(--orange); box-shadow: 0 0 0 0 rgba(240, 90, 0, .6); animation: pulse-o 1.6s infinite; }
@keyframes pulse-o { 0% { box-shadow: 0 0 0 0 rgba(240, 90, 0, .6); } 100% { box-shadow: 0 0 0 8px rgba(240, 90, 0, 0); } }
.confirm .summary { text-align: left; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-size: .88rem; display: grid; gap: 4px; }
.confirm .summary div { display: flex; justify-content: space-between; gap: 12px; }
.install { padding: 14px 16px; border-radius: var(--radius); background: var(--ink); color: var(--cream); display: grid; gap: 4px; text-align: left; }
.install strong { font-family: var(--font-cond); letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: var(--orange); }
.install span { font-size: .82rem; color: rgba(245, 233, 215, .75); }

/* Item sheet */
.sheet { position: fixed; inset: 0; z-index: 96; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
.sheet::before { content: ""; position: absolute; inset: 0; background: rgba(17, 17, 17, .6); opacity: 0; transition: opacity .4s; }
.sheet.on { pointer-events: auto; }
.sheet.on::before { opacity: 1; }
.sheet-card { position: relative; width: 100%; max-height: 92svh; background: var(--ink); color: var(--cream); border-radius: 18px 18px 0 0; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .6s var(--ease); overflow: hidden; }
.sheet.on .sheet-card { transform: none; }
.sheet-grab { position: absolute; z-index: 1; top: 10px; left: 50%; margin-left: -22px; width: 44px; height: 4px; border-radius: 2px; background: rgba(245, 233, 215, .7); }
.sheet-photo { flex: 0 1 auto; width: 100%; aspect-ratio: 16 / 9; max-height: 30svh; min-height: 0; object-fit: cover; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 20px 10px; flex: none; }
.sheet-head h3 { font-family: var(--font-display); font-size: 1.7rem; text-transform: uppercase; margin: 0; line-height: 1; }
.sheet-head p { margin: 6px 0 0; color: var(--muted); font-size: .88rem; }
.sheet-head .icon-btn { flex: none; border-color: rgba(245, 233, 215, .25); }
.sheet-body { flex: 1; overflow-y: auto; padding: 10px 20px 28px; display: grid; gap: 30px; align-content: start; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet-foot { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 20px calc(14px + var(--safe-b)); border-top: 1px solid rgba(245, 233, 215, .14); background: var(--ink); }
.sheet-foot .btn { flex: 1; justify-content: space-between; }
.sheet-foot .qty { border-color: rgba(245, 233, 215, .25); }
@media (min-width: 720px) {
  .sheet { align-items: center; padding: 20px; }
  .sheet-card { width: min(100%, 640px); max-height: 86vh; border-radius: 10px; transform: translateY(30px) scale(.98); opacity: 0; transition: transform .5s var(--ease), opacity .4s; }
  .sheet.on .sheet-card { transform: none; opacity: 1; }
  .sheet-grab { display: none; }
  .sheet-head { padding-top: 24px; }
}

/* Board mode */
.boardmode { position: fixed; inset: 0; z-index: 97; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .5s; }
.boardmode.on { opacity: 1; pointer-events: auto; }
.bm-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px clamp(18px, 3vw, 40px); border-bottom: 1px solid rgba(245, 233, 215, .14); }
.bm-mid { font-family: var(--font-cond); letter-spacing: .18em; text-transform: uppercase; font-size: .85rem; color: var(--muted); display: none; }
.bm-clock { font-family: var(--font-display); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.bm-close { border-color: rgba(245, 233, 215, .25); }
.bm-body { flex: 1; display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 48px); padding: clamp(18px, 3vw, 40px); overflow: hidden; align-content: start; }
.bm-col { display: grid; gap: 6px; align-content: start; }
.bm-photo { width: 100%; aspect-ratio: 16 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 8px; }
.bm-col h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.6rem); text-transform: uppercase; color: var(--orange); margin: 0 0 8px; line-height: 1; border-bottom: 2px solid var(--orange); padding-bottom: 8px; }
.bm-col h3 small { display: block; font-family: var(--font-cond); font-size: .75rem; letter-spacing: .2em; color: var(--muted); margin-top: 6px; text-transform: uppercase; }
.bm-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; padding: 7px 0; }
.bm-row .n { font-family: var(--font-cond); font-weight: 600; font-size: clamp(1.1rem, 1.6vw, 1.5rem); letter-spacing: .03em; text-transform: uppercase; }
.bm-row .p { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.5rem); }
.bm-foot { display: flex; align-items: center; gap: 20px; padding: 14px clamp(18px, 3vw, 40px) calc(14px + var(--safe-b)); border-top: 1px solid rgba(245, 233, 215, .14); }
.bm-dots { display: flex; gap: 6px; }
.bm-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(245, 233, 215, .25); transition: background .3s, transform .3s; }
.bm-dots i.on { background: var(--orange); transform: scale(1.3); }
.bm-progress { flex: 1; height: 2px; background: rgba(245, 233, 215, .15); overflow: hidden; }
.bm-progress i { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.bm-hint { display: none; font-family: var(--font-cond); letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; color: var(--muted); }
@media (max-width: 899px) { .bm-body { overflow-y: auto; } }
@media (min-width: 900px) { .bm-body { grid-template-columns: repeat(3, 1fr); } .bm-mid { display: block; } .bm-hint { display: block; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(88px + var(--safe-b)); transform: translate(-50%, 16px); z-index: 98; background: var(--ink); color: var(--cream); padding: 12px 18px; border: 1px solid rgba(245, 233, 215, .28); border-radius: 999px; font-family: var(--font-cond); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.toast.in-drawer { bottom: calc(150px + var(--safe-b)); left: calc(100vw - min(100vw, 460px) / 2); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast b { color: var(--orange); }

/* Reveal defaults (JS animates) */
.reveal { opacity: 0; transform: translateY(26px); }
.no-js .reveal, .no-anim .reveal { opacity: 1; transform: none; }
.no-anim .img-reveal { clip-path: none; }
.no-anim .img-reveal img { transform: none; }
.no-anim .loader { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
