/* ==========================================================================
   Caelum Sisha — responsive website (v4)
   Mobile-native details from emil-skills/mobile-native; motion from
   emil-design-eng + apple-design: ease-out for UI, drawer curve for sheets,
   press feedback on :active, hover only where a real pointer exists.
   ========================================================================== */

:root {
  --bg: #0B1020;
  --bg-2: #10172C;
  --surface: #151D36;
  --surface-2: #1B2544;
  --surface-3: #222D50;
  --line: rgba(233, 215, 178, .12);
  --line-strong: rgba(233, 215, 178, .26);
  --text: #F2EDE3;
  --muted: #B6BBCB;
  --faint: #8F96AB;
  --brass: #D6AE66;
  --brass-hi: #E9CA8C;
  --on-brass: #1B1406;
  --ember: #E8743B;
  --danger: #F4A193;
  --ok: #93D6AE;

  --font-display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --radius: 20px;
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  scrollbar-color: var(--surface-2) var(--bg);
  background: var(--bg);
}
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; caret-color: var(--brass);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
::selection { background: var(--brass); color: var(--on-brass); }
svg { display: block; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
input, textarea, select { font-size: 16px; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button, a, summary, label.chip, label.opt-card {
  touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.tnum { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--brass); color: var(--on-brass); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; letter-spacing: .005em; white-space: nowrap;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 220ms var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brass); color: var(--on-brass); box-shadow: 0 10px 26px -12px rgba(214, 174, 102, .6); }
.btn-primary:active { background: #C99E55; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:active { background: var(--surface-2); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; box-shadow: none; }
.btn .spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-content { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; transition: filter 200ms ease, opacity 200ms ease; }
.btn-content.is-swapping { filter: blur(2px); opacity: .6; }
.icon-btn {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); transition: transform 140ms var(--ease-out), background-color 160ms ease;
}
.icon-btn:active { transform: scale(.92); }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--brass-hi); box-shadow: 0 14px 32px -12px rgba(214, 174, 102, .75); }
  .btn-ghost:hover { border-color: var(--brass); color: var(--brass-hi); }
  .icon-btn:hover { background: var(--surface-3); }
  .nav a:hover { color: var(--text); }
  .cart-btn:hover { border-color: var(--brass); }
  .product:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
  .product:hover .product-art svg { transform: translateY(-4px) scale(1.02); }
  .way:hover { border-color: var(--line-strong); }
  .way:hover .way-link .i { transform: translateX(4px); }
  .extra:hover .add-dot, .product:hover .add-dot { background: var(--brass-hi); }
  .pack:hover { border-color: var(--line-strong); }
  .chip:hover { border-color: var(--line-strong); color: var(--text); }
  summary:hover { color: var(--brass-hi); }
  .footer a:hover { color: var(--text); }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  transition: background-color 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 16, 32, .78);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 22px; height: 22px; color: var(--brass); }
.brand-word { font-family: var(--font-display); font-size: 20px; letter-spacing: .32em; line-height: 1; }
.brand-word small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: .42em; color: var(--brass); font-weight: 700; margin-top: 5px; }
.nav { display: flex; gap: 32px; }
.nav a { font-size: 14.5px; color: var(--muted); transition: color 160ms ease; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(20, 28, 52, .6);
  font-size: 14px; font-weight: 700; transition: border-color 180ms ease, transform 140ms var(--ease-out);
}
.cart-btn:active { transform: scale(.96); }
.count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brass); color: var(--on-brass); display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.count.bump { animation: bump 380ms var(--ease-out); }
@keyframes bump { 35% { transform: scale(1.3); } }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform 260ms var(--ease-out); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 39;
  background: rgba(11, 16, 32, .96);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  padding: 16px var(--gutter) calc(24px + var(--safe-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 200ms ease, transform 260ms var(--ease-out);
}
.menu.is-open { opacity: 1; transform: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--font-display); font-size: 30px; padding: 12px 0; border-bottom: 1px solid var(--line); transition: color 150ms, transform 140ms var(--ease-out); }
.menu nav a:active { color: var(--brass); }
.menu-foot { display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% 0; z-index: -2;
  background:
    radial-gradient(55% 50% at 74% 55%, rgba(214, 174, 102, .15), transparent 70%),
    radial-gradient(50% 60% at 15% 0%, rgba(64, 92, 170, .3), transparent 70%),
    linear-gradient(180deg, #0B1020 0%, #0F1731 60%, #0B1020 100%);
}
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .8;
  background:
    radial-gradient(1.6px 1.6px at 8% 14%, rgba(242,237,227,.55), transparent),
    radial-gradient(1.4px 1.4px at 27% 9%, rgba(242,237,227,.4), transparent),
    radial-gradient(1.8px 1.8px at 44% 22%, rgba(242,237,227,.35), transparent),
    radial-gradient(1.4px 1.4px at 61% 7%, rgba(242,237,227,.5), transparent),
    radial-gradient(1.6px 1.6px at 79% 18%, rgba(242,237,227,.45), transparent),
    radial-gradient(1.4px 1.4px at 92% 33%, rgba(242,237,227,.4), transparent),
    radial-gradient(1.4px 1.4px at 14% 52%, rgba(242,237,227,.3), transparent),
    radial-gradient(1.6px 1.6px at 88% 62%, rgba(242,237,227,.3), transparent);
}
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; min-height: min(760px, calc(100svh - var(--header-h))); padding-block: 32px 64px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 11px; border-radius: 999px;
  background: rgba(20, 28, 52, .7); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted);
  margin-bottom: 22px;
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.status.is-open { color: var(--text); }
.status.is-open .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(147, 214, 174, .15); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); max-width: 13ch; letter-spacing: -.02em; }
.hero h1 em, .events h2 em { font-style: normal; color: var(--brass); }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); margin-top: 20px; max-width: 48ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.facts li { display: flex; align-items: center; gap: 9px; }
.facts .i { width: 17px; height: 17px; color: var(--brass); }
.hero-art { display: grid; place-items: center; }
.hero-art svg { width: min(420px, 100%); height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }

/* ---------- Two ways ---------- */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.way {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); transition: border-color 220ms ease, transform 140ms var(--ease-out);
}
.way:active { transform: scale(.99); }
.way-event { background: radial-gradient(80% 90% at 100% 0%, rgba(214, 174, 102, .16), transparent 60%), linear-gradient(160deg, #1A1F3A 0%, var(--bg-2) 100%); }
.way-kind { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.way-title { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; }
.way-text { color: var(--muted); max-width: 44ch; }
.way-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--brass-hi); }
.way-link .i { width: 18px; height: 18px; transition: transform 220ms var(--ease-out); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head h2, .events h2, .quote h2, .faq h2, .contact h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.section-head p { color: var(--muted); max-width: 46ch; }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product {
  position: relative; display: flex; flex-direction: column; text-align: left; width: 100%;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  transition: border-color 250ms ease, transform 250ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.product:active { transform: scale(.985); }
.product-art { aspect-ratio: 4 / 4.2; display: grid; place-items: center; padding: 18px 18px 4px; background: radial-gradient(60% 55% at 50% 62%, rgba(214, 174, 102, .14), transparent 72%); }
.product-art svg { height: 100%; width: auto; transition: transform 450ms var(--ease-out); }
.tag { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: rgba(214, 174, 102, .14); color: var(--brass-hi); border: 1px solid rgba(214, 174, 102, .32); }
.product-body { display: flex; flex-direction: column; gap: 6px; padding: 6px 20px 20px; flex: 1; }
.product-name { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; }
.product-desc { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.product-meta { font-size: 13px; color: var(--faint); }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.price { font-weight: 700; font-size: 1.2rem; }
.add-dot { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--on-brass); transition: transform 140ms var(--ease-out), background-color 180ms ease; }
.add-dot .i { width: 18px; height: 18px; stroke-width: 2.2; }
.product:active .add-dot, .extra:active .add-dot { transform: scale(.9); }

.extras { margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.extras h3 { font-size: 1.7rem; }
.extras-head p { color: var(--faint); font-size: 14px; margin-top: 8px; }
.extras-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.extra { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); transition: transform 140ms var(--ease-out); }
.extra:active { transform: scale(.99); }
.extra-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--brass); }
.extra-txt { flex: 1; min-width: 0; }
.extra-name { display: block; font-weight: 700; font-size: 15px; }
.extra-detail { display: block; font-size: 13px; color: var(--faint); }
.extra-price { font-weight: 700; font-size: 15px; }
.extra .add-dot { width: 36px; height: 36px; }

/* ---------- Events ---------- */
.events { background: linear-gradient(180deg, transparent, rgba(20, 28, 52, .55) 20%, rgba(20, 28, 52, .55) 80%, transparent); }
.events-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.events h2 { max-width: 15ch; }
.event-types { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.event-types li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; color: var(--muted); }
.events-art { display: grid; place-items: center; }
.events-art svg { width: min(520px, 100%); height: auto; }
.included { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 40px; }
.included li { display: flex; gap: 16px; align-items: flex-start; }
.inc-ico { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--brass); color: var(--brass); }
.included b { display: block; font-size: 16px; margin-bottom: 4px; }
.included span:not(.inc-ico) { color: var(--muted); font-size: 14.5px; }

.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.pack {
  display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: var(--bg-2);
  border: 1px solid var(--line); transition: border-color 220ms ease;
}
.pack.is-featured { border-color: rgba(214, 174, 102, .55); background: radial-gradient(90% 60% at 50% 0%, rgba(214, 174, 102, .12), transparent 70%), var(--bg-2); }
.pack h3 { font-size: 1.9rem; }
.pack-for { color: var(--faint); font-size: 14px; margin-top: -8px; }
.pack-price { font-size: 15px; color: var(--muted); }
.pack-price b { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; color: var(--text); letter-spacing: -.01em; }
.pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; color: var(--muted); }
.pack li { display: flex; gap: 10px; }
.pack li .i { width: 18px; height: 18px; color: var(--brass); margin-top: 3px; stroke-width: 2; }
.pack .btn { margin-top: auto; }
.packs-note { margin-top: 16px; font-size: 13.5px; color: var(--faint); }

/* ---------- Quote ---------- */
.quote-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-copy { position: sticky; top: calc(var(--header-h) + 24px); }
.estimate { margin-top: 32px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 4px; }
.estimate-label { color: var(--muted); font-size: 14.5px; }
.estimate-label b { color: var(--text); }
.estimate-num { font-family: var(--font-display); font-size: 2.6rem; line-height: 1.1; }
.estimate-num b { font-weight: 400; color: var(--brass); }
.estimate-sub { font-size: 14px; color: var(--brass-hi); font-weight: 600; }
.quote-form { padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line); }

/* Form primitives (shared with checkout) */
.fields { display: grid; gap: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .legend { font-size: 13.5px; font-weight: 700; color: var(--muted); padding: 0; }
.legend { margin-bottom: 8px; }
.opt { font-weight: 500; color: var(--faint); }
.input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid transparent; color: var(--text);
  transition: border-color 160ms ease, background-color 160ms ease; -webkit-appearance: none; appearance: none;
}
textarea.input { height: auto; min-height: 92px; padding: 14px 16px; resize: vertical; }
.input::placeholder { color: #7D849A; }
.input:focus { outline: none; border-color: var(--brass); background: var(--surface-2); }
.input[aria-invalid="true"] { border-color: var(--danger); }
input[type="date"].input, input[type="time"].input { color-scheme: dark; }
.err { font-size: 13px; color: var(--danger); }
.err:empty { display: none; }
.err-box { border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; background: rgba(244, 161, 147, .08); border: 1px solid rgba(244, 161, 147, .4); }
.err-box b { color: var(--danger); font-size: 14px; }
.err-box ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }
.err-box a { text-decoration: underline; text-underline-offset: .2em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms var(--ease-out);
}
.chip:active { transform: scale(.95); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: rgba(214, 174, 102, .14); border-color: var(--brass); color: var(--text); }
.chip:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.range { width: 100%; height: 32px; -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brass) var(--p, 10%), var(--surface-3) var(--p, 10%)); }
.range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--surface-3); }
.range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--brass); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--text); border: 4px solid var(--brass); box-shadow: 0 4px 12px rgba(0, 0, 0, .4); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--text); border: 4px solid var(--brass); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; flex: none; margin: 0; border-radius: 7px; border: 2px solid var(--line-strong); display: grid; place-items: center; cursor: pointer; transition: background-color 160ms, border-color 160ms; }
.check input:checked { background: var(--brass); border-color: var(--brass); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--on-brass); border-width: 0 2.4px 2.4px 0; transform: translateY(-1px) rotate(45deg); }
.check input[aria-invalid="true"] { border-color: var(--danger); }
.check a { color: var(--brass-hi); text-decoration: underline; text-underline-offset: .2em; }
.success { text-align: center; padding: 24px 8px; }
.success h3 { font-size: 2rem; margin-bottom: 8px; }
.success p { color: var(--muted); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, var(--brass), var(--line-strong) 60%, transparent); }
.steps li { position: relative; }
.step-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--brass); color: var(--brass); position: relative; }
.steps h3 { font-size: 1.6rem; margin-top: 22px; }
.steps p { color: var(--muted); margin-top: 8px; max-width: 34ch; }

/* ---------- FAQ ---------- */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 6vw, 80px); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-size: 17px; font-weight: 600; transition: color 150ms ease;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 1.8px solid var(--brass); border-bottom: 1.8px solid var(--brass); transform: translateY(-3px) rotate(45deg); transition: transform 260ms var(--ease-out); }
details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
details p { color: var(--muted); padding: 0 0 22px; max-width: 62ch; }
details[open] p { animation: faqIn 260ms var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- Contact / footer ---------- */
.contact-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact h2 { max-width: 12ch; }
.hours { list-style: none; margin: 0; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { color: var(--muted); }
.hours-note { margin-top: 16px; font-size: 13.5px; color: var(--faint); }
.footer { border-top: 1px solid var(--line); padding-block: 40px calc(40px + var(--safe-bottom)); font-size: 13.5px; color: var(--faint); }
.footer-in { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.warning { max-width: 52ch; }
.warning strong { color: var(--muted); font-weight: 600; }
.legal { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer a { transition: color 150ms; }

/* ---------- Mobile order bar ---------- */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-bottom)); z-index: 35; display: none;
  transform: translateY(160%); transition: transform 420ms var(--ease-drawer);
}
.mbar.is-visible { transform: none; }
.mbar .btn { justify-content: space-between; min-height: 56px; padding: 0 22px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(24px + var(--safe-bottom));
  display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100vw - 24px);
  padding: 10px 10px 10px 16px; border-radius: 16px; background: rgba(34, 45, 80, .94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6);
  font-size: 14.5px; font-weight: 600;
  opacity: 0; transform: translate(-50%, 16px) scale(.97); pointer-events: none;
  transition: opacity 160ms ease, transform 160ms var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; transition: opacity 240ms ease, transform 380ms var(--ease-drawer); }
.toast > .i { color: var(--ok); }
.toast > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-action { padding: 8px 12px; border-radius: 10px; background: var(--surface-3); color: var(--brass-hi); font-size: 13.5px; font-weight: 700; }
body.has-mbar .toast { bottom: calc(84px + var(--safe-bottom)); }

/* ---------- Scrim + sheets ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(4, 7, 15, .62); opacity: 0; pointer-events: none; transition: opacity 300ms ease; }
.scrim.is-on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 70; display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line-strong);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .7);
  will-change: transform;
}
.sheet.is-dragging { transition: none !important; }
.sheet-grab { display: none; }
.handle { display: block; width: 38px; height: 5px; border-radius: 5px; background: rgba(242, 237, 227, .22); margin: 0 auto; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 4px 24px 16px; }
.sheet-foot { flex: none; display: flex; gap: 10px; padding: 14px 24px calc(14px + var(--safe-bottom)); border-top: 1px solid var(--line); background: var(--bg-2); }
.sheet-foot .btn { flex: 1; }
.sheet-x { position: absolute; top: 16px; right: 16px; z-index: 2; }

/* Product: centered modal on desktop */
.product-sheet {
  left: 50%; top: 50%; width: min(920px, calc(100vw - 48px)); max-height: min(640px, calc(100dvh - 48px));
  border-radius: 28px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -48%) scale(.96);
  transition: opacity 220ms ease, transform 320ms var(--ease-out);
}
.product-sheet.is-open { opacity: 1; transform: translate(-50%, -50%); }
.product-sheet.is-closing { transition: opacity 160ms ease, transform 200ms var(--ease-out); }
.ps-grid { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 0; flex: 1; }
.ps-art { display: grid; place-items: center; padding: 32px; background: radial-gradient(60% 55% at 50% 58%, rgba(214, 174, 102, .18), transparent 72%), var(--surface); }
.ps-art svg { height: min(420px, 60vh); width: auto; }
.ps-main { display: flex; flex-direction: column; min-height: 0; }
.ps-main .sheet-body { padding-top: 32px; }
.ps-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-right: 44px; }
.ps-top h2 { font-size: 2.3rem; }
.ps-top .price { font-size: 1.3rem; }
.ps-desc { color: var(--muted); margin-top: 10px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.spec { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--muted); }
.spec .i { width: 15px; height: 15px; color: var(--brass); }
.ps-flavors { border: 0; padding: 0; margin: 24px 0 0; }
.stepper { display: inline-flex; align-items: center; height: 36px; border-radius: 999px; background: var(--surface-2); }
.stepper button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); transition: transform 120ms var(--ease-out), color 120ms; }
.stepper button:active { transform: scale(.85); color: var(--text); }
.stepper button[disabled] { opacity: .35; }
.stepper .i { width: 16px; height: 16px; stroke-width: 2; }
.stepper output { min-width: 22px; text-align: center; font-weight: 700; }
.stepper.lg { height: 52px; }
.stepper.lg button { width: 46px; height: 52px; }

/* Cart drawer: right side panel on desktop */
.drawer {
  top: 0; right: 0; bottom: 0; width: min(460px, 100vw); border-width: 0 0 0 1px;
  transform: translateX(102%); visibility: hidden;
  transition: transform 460ms var(--ease-drawer), visibility 460ms;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer.is-closing { transition: transform 260ms var(--ease-out), visibility 260ms; }
.drawer-head { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.6rem; }
.drawer-head .icon-btn.is-gone { display: none; }
.dots { display: flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--surface-3); transition: background-color 200ms ease, width 260ms var(--ease-out); }
.dots i.on { background: var(--brass); }
.dots i.cur { width: 14px; border-radius: 3px; }
.drawer .sheet-body { padding-top: 16px; }
.sheet-body.step-in { animation: stepIn 260ms var(--ease-out); }
.sheet-body.step-back { animation: stepBack 260ms var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(20px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-20px); } }
.drawer .sheet-foot { flex-direction: column; gap: 0; }
.sum { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.sum b { color: var(--text); font-size: 16px; }

.empty { text-align: center; padding: 40px 8px; }
.empty-art { height: 160px; display: grid; place-items: center; margin-bottom: 16px; }
.empty-art svg { height: 100%; width: auto; }
.empty h3 { font-size: 1.6rem; margin-bottom: 6px; }
.empty p { color: var(--muted); margin-bottom: 20px; }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; }
.line + .line { border-top: 1px solid var(--line); }
.thumb { width: 56px; height: 64px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 65%, rgba(214, 174, 102, .14), transparent 75%), var(--surface); color: var(--brass); }
.thumb svg { height: 88%; width: auto; }
.thumb .i { width: 22px; height: 22px; }
.line-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.line-meta { font-size: 13px; color: var(--faint); }
.free { margin: 16px 0 4px; padding: 14px 16px; border-radius: 14px; background: var(--surface); font-size: 14px; color: var(--muted); }
.free b { color: var(--brass-hi); }
.bar { height: 4px; border-radius: 4px; background: var(--surface-3); margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brass); transform-origin: left; transition: transform 400ms var(--ease-out); }
.hint { font-size: 13px; color: var(--faint); margin-top: 10px; }
.totals { display: grid; gap: 6px; margin-top: 16px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; color: var(--muted); }
.totals .grand { color: var(--text); font-weight: 700; font-size: 18px; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); }

.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid transparent; cursor: pointer; font-size: 15px; font-weight: 600; transition: border-color 160ms, background-color 160ms, transform 120ms var(--ease-out); }
.opt-card:active { transform: scale(.98); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card:has(input:checked) { border-color: var(--brass); background: rgba(214, 174, 102, .08); }
.opt-card:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.opt-card .i { width: 22px; height: 22px; color: var(--brass); }
.opt-card small { display: block; font-weight: 500; color: var(--faint); font-size: 13px; }
.opt-card .radio { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; display: grid; place-items: center; }
.opt-card:has(input:checked) .radio { border-color: var(--brass); }
.opt-card .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brass); transform: scale(.4); opacity: 0; transition: transform 200ms var(--ease-out), opacity 150ms; }
.opt-card:has(input:checked) .radio::after { transform: none; opacity: 1; }
.pay-list { display: grid; gap: 10px; }
.note { display: flex; gap: 12px; margin-top: 16px; padding: 14px; border-radius: 14px; background: rgba(214, 174, 102, .07); border: 1px dashed rgba(214, 174, 102, .4); font-size: 13.5px; color: var(--muted); }
.note .i { width: 18px; height: 18px; color: var(--brass); margin-top: 2px; }
.summary { margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--surface); font-size: 14.5px; }
.summary h3 { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; color: var(--faint); letter-spacing: .06em; margin-bottom: 8px; }
.summary p { color: var(--muted); line-height: 1.55; }
.summary .r { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--muted); }
.summary .r.grand { color: var(--text); font-weight: 700; }
.done { text-align: center; padding-top: 16px; }
.done-mark { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(214, 174, 102, .1); border: 1px solid rgba(214, 174, 102, .5); color: var(--brass); animation: pop 420ms var(--ease-out); }
.done-mark svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.done-mark path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw 500ms 150ms var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.done h3 { font-size: 2rem; }
.done > p { color: var(--muted); margin-top: 8px; }
.order-id { display: inline-block; margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: var(--surface); font-weight: 700; letter-spacing: .06em; }
.done .summary { text-align: left; }

/* ---------- Age gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(5, 8, 16, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity 300ms ease; }
.gate.is-leaving { opacity: 0; pointer-events: none; }
.gate-card { width: min(440px, 100%); padding: 36px 28px 28px; border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line-strong); text-align: center; animation: pop 500ms var(--ease-out); }
.gate-star { width: 34px; height: 34px; color: var(--brass); margin: 0 auto 18px; }
.gate h2 { font-size: 2rem; }
.gate p { color: var(--muted); margin-top: 10px; }
.gate-actions { display: grid; gap: 10px; margin-top: 24px; }
.gate .gate-denied { color: var(--danger); font-size: 14px; }

/* ---------- Illustration motion ---------- */
.smoke path { fill: none; stroke: rgba(242, 237, 227, .5); stroke-width: 7; stroke-linecap: round; opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: smoke 7s var(--ease-out) infinite; }
.smoke path:nth-child(2) { animation-delay: 2.3s; stroke-width: 5; }
.smoke path:nth-child(3) { animation-delay: 4.6s; stroke-width: 6; }
@keyframes smoke { 0% { opacity: 0; transform: translateY(24px) scaleX(.7); } 20% { opacity: .55; } 100% { opacity: 0; transform: translateY(-40px) scaleX(1.5); } }
.ember { animation: ember 3.2s ease-in-out infinite; }
@keyframes ember { 50% { opacity: .75; } }
.lights circle { animation: twinkle 3s ease-in-out infinite; }
.lights circle:nth-child(3n) { animation-delay: 1s; }
.lights circle:nth-child(3n+1) { animation-delay: 2s; }
@keyframes twinkle { 50% { opacity: .45; } }

/* One authored entrance for content blocks */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr 1fr; }
  .packs .pack:last-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .menu-btn { display: inline-block; }
  .cart-label { display: none; }
  .cart-btn { padding: 0 12px; }
  .hero-in { grid-template-columns: 1fr; gap: 0; min-height: 0; padding-block: 12px 48px; }
  .hero-art { order: -1; height: 250px; margin-bottom: 4px; }
  .hero-art svg { height: 100%; width: auto; }
  .status { margin-bottom: 16px; }
  .ways { grid-template-columns: 1fr; }
  .way { padding: 24px; }
  .events-top, .quote-in, .faq-in, .contact-in { grid-template-columns: 1fr; }
  .events-art { order: -1; }
  .included { grid-template-columns: 1fr; gap: 20px; }
  .quote-copy { position: static; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--brass), var(--line-strong) 60%, transparent); }
  .steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .steps h3 { margin-top: 10px; }
  .steps p { grid-column: 2; }
  .mbar { display: block; }
  body.has-mbar .footer { padding-bottom: calc(96px + var(--safe-bottom)); }

  /* Sheets become bottom sheets with a drag handle */
  .sheet-grab { display: block; padding: 10px 0 6px; flex: none; touch-action: none; cursor: grab; }
  .product-sheet, .drawer {
    left: 0; right: 0; bottom: 0; top: auto; width: auto;
    max-height: calc(100dvh - 24px); border-radius: 28px 28px 0 0; border-width: 1px 0 0;
    opacity: 1; visibility: hidden;
    transform: translateY(100%);
    transition: transform 500ms var(--ease-drawer), visibility 500ms;
  }
  .drawer { height: calc(100dvh - 24px); }
  .product-sheet.is-open, .drawer.is-open { transform: translateY(0); visibility: visible; }
  .product-sheet.is-closing, .drawer.is-closing { transition: transform 240ms var(--ease-out), visibility 240ms; }
  .sheet-x { display: none; }
  .ps-grid { grid-template-columns: 1fr; overflow-y: auto; overscroll-behavior: contain; }
  .product-sheet .sheet-grab { position: relative; }
  .ps-art { padding: 0 0 8px; background: radial-gradient(50% 60% at 50% 60%, rgba(214, 174, 102, .18), transparent 72%); }
  .ps-art svg { height: 220px; }
  .ps-main .sheet-body { padding: 4px 20px 16px; overflow: visible; }
  .ps-top { padding-right: 0; }
  .ps-top h2 { font-size: 2rem; }
  .ps-main .sheet-foot { position: sticky; bottom: 0; padding-inline: 20px; }
  .drawer .sheet-body { padding-inline: 20px; }
  .drawer .sheet-foot { padding-inline: 20px; }
  .drawer-head { padding: 4px 20px 12px; }
}

@media (max-width: 620px) {
  .products { grid-template-columns: 1fr; gap: 12px; }
  .product { flex-direction: row; align-items: stretch; }
  .product-art { aspect-ratio: auto; width: 116px; flex: none; padding: 12px 6px; }
  .product-art svg { height: 150px; }
  .product-body { padding: 16px 16px 16px 4px; }
  .product-name { font-size: 1.5rem; }
  .product-desc { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tag { top: 10px; left: 10px; font-size: 10px; padding: 3px 8px; }
  .extras-list { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .brand-word { font-size: 17px; }
  .quote-form { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .sheet, .drawer, .product-sheet, .mbar, .toast, .menu { transition-property: opacity, visibility !important; }
  .smoke path { opacity: .3; transform: none; }
  .done-mark path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .header.is-scrolled, .toast, .menu { background: var(--bg-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
