/* MIXO SHOP
   Palette (from the logo): white, orange #ff6600, dark blue #053468. Nothing else.
   Orange text on white uses a darker orange (contrast); small orange text on blue uses a lighter one.
   Shape: pill buttons, 20px surfaces, 28px photo frames.
   Type: system font stack (no font requests, fastest paint), heavy weights, tight tracking.
   Motion verb: "flaps open". Boxes slide apart, photos reveal like a lid lifting. transform, opacity, clip-path only.
   Theme: one light theme with dark-blue sections. */

:root {
  color-scheme: light;
  --white: #ffffff;
  --mist: #f1f5fb;
  --line: #d9e2f0;
  --ink: #0b1d3a;
  --muted: #475a78;
  --navy: #053468;
  --navy-deep: #021a3d;
  --navy-line: rgba(255, 255, 255, 0.16);
  --on-navy-muted: #c3d2ea;
  --orange: #ff6600;
  --orange-hover: #ff7d24;
  --orange-soft: #ff8533;   /* small orange text on navy */
  --orange-ink: #c24a00;    /* orange text on white */

  --r-surface: 20px;
  --r-photo: 28px;
  --r-inner: 12px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-flap: cubic-bezier(0.16, 1, 0.3, 1);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --z-header: 20;
  --z-bar: 25;
  --z-skip: 30;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1.5px; touch-action: manipulation; }
.on-dark a { color: inherit; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--orange-soft); }
.band :focus-visible { outline-color: var(--navy-deep); }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
dd { text-wrap: pretty; }
.hours dd, .card-phone, .facts a, .band-phone { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 44px); }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: var(--z-skip);
  background: var(--navy-deep); color: var(--white); padding: 10px 18px; border-radius: 999px;
}
.skip:focus { top: 12px; }

.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plain a { color: inherit; }

/* ------------------------------------------------------------ header: floating pill */
.site-header {
  position: fixed; top: 14px; left: 50%; translate: -50% 0; z-index: var(--z-header);
  width: min(1240px, calc(100% - 28px));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-radius: 999px;
  box-shadow: 0 14px 34px -16px rgba(2, 26, 61, 0.55), 0 0 0 1px rgba(5, 52, 104, 0.08);
}
.site-header .bar { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 10px 8px 24px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; }

.main-nav { margin-left: auto; display: flex; gap: 2px; }
.main-nav a {
  color: var(--muted); text-decoration: none; font-weight: 650; font-size: 0.9375rem;
  padding: 9px 14px; border-radius: 999px;
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.main-nav a[aria-current] { color: var(--navy); background: var(--mist); }

.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--mist); }
.lang a {
  padding: 7px 12px; border-radius: 999px;
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.05em;
  color: var(--muted); text-decoration: none;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.lang a:active { transform: scale(0.96); }
.lang a[aria-current="true"] { background: var(--navy); color: var(--white); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 28px;
  font: 800 1rem/1 var(--font); white-space: nowrap; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  touch-action: manipulation;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 0.9375rem; }
.btn-primary { background: var(--orange); color: var(--navy-deep); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.btn-outline-dark, .btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-navy { background: var(--navy-deep); color: var(--white); }
.btn-navy-outline { background: transparent; color: var(--navy-deep); border-color: var(--navy-deep); }
.btn:has(.arrow) { padding-right: 9px; }

/* nested arrow chip, flush inside the pill */
.arrow {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; font-size: 1.125rem; line-height: 1;
  background: var(--navy-deep); color: var(--white);
  transition: transform 240ms var(--ease-out);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-block; margin-top: 14px; font-weight: 800; }

/* hover only where hover exists (touch devices fire hover on tap) */
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--navy); background: var(--mist); }
  .lang a:hover { color: var(--navy); }
  .lang a[aria-current="true"]:hover { color: var(--white); }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0) scale(0.97); }
  .btn-primary:hover { background: var(--orange-hover); box-shadow: 0 16px 30px -14px rgba(255, 102, 0, 0.9); }
  .btn-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
  .btn-outline-dark:hover, .btn-ghost:hover { background: var(--navy); color: var(--white); }
  .btn-navy:hover { background: var(--navy); }
  .btn-navy-outline:hover { background: var(--navy-deep); color: var(--white); }
  .btn:hover .arrow-up { transform: translate(2px, -2px); }
  .btn:hover .arrow-down { transform: translateY(2px); }
  .card-wa:hover { background: rgba(255, 255, 255, 0.14); }
  .faq summary:hover { background: var(--mist); }
  a:hover { text-decoration-thickness: 2.5px; }
}

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--white);
  padding-top: clamp(112px, 14vw, 150px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(ellipse 50% 70% at 82% 38%, rgba(41, 109, 196, 0.35), transparent 70%);
}
/* two orange arcs, the logo's swooshes, in the top-left and bottom-right corners */
.hero-swoosh { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-swoosh::before, .hero-swoosh::after {
  content: ""; position: absolute; aspect-ratio: 1; border-radius: 50%;
  border: clamp(12px, 1.7vw, 26px) solid var(--orange);
}
.hero-swoosh::before { width: 90vw; left: -69vw; top: -69vw; }
.hero-swoosh::after { width: 80vw; right: -60vw; bottom: -66vw; }

.hero-grid {
  display: grid; gap: clamp(28px, 5vw, 64px); align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  padding-bottom: clamp(48px, 6vw, 88px);
}
.hero-copy { display: grid; gap: clamp(20px, 2.4vw, 30px); justify-items: start; }

.eyebrow {
  font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-soft);
}
.hero h1 {
  font-size: clamp(2.75rem, 6.3vw + 0.4rem, 6.25rem);
  letter-spacing: -0.05em; line-height: 0.95; text-wrap: balance;
}
.hero h1 .hl { position: relative; color: var(--orange); white-space: nowrap; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 54ch; line-height: 1.5; }
.hero .lead { color: var(--on-navy-muted); }

.visit-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
  padding: 12px 22px 12px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--navy-line);
}
.status {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700; font-size: 0.9375rem; line-height: 1.3;
}
.status-mark { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; }
.status[data-state="open"] .status-mark { background: var(--orange); border-color: var(--orange); }
.card-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.card-phone { color: inherit; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.card-wa {
  font-size: 0.875rem; font-weight: 800; text-decoration: none;
  padding: 7px 14px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, 0.5);
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.card-wa:active { transform: scale(0.97); }

/* photo cluster: three shots of the shelves, a rotating sticker */
.hero-art { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / 1.1; }
.shot {
  position: absolute; margin: 0; padding: 6px;
  background: var(--white); border-radius: var(--r-photo);
  box-shadow: 0 34px 60px -26px rgba(0, 10, 30, 0.7);
}
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.shot-a { width: 74%; aspect-ratio: 810 / 750; top: 0; right: 0; rotate: 2.2deg; }
.shot-b { width: 60%; aspect-ratio: 1040 / 800; left: 0; top: 39%; rotate: -3.2deg; }
.shot-c { width: 46%; aspect-ratio: 700 / 650; right: 2%; bottom: 0; rotate: 3.4deg; }
.badge {
  position: absolute; left: -1%; top: 2%; width: 28%; aspect-ratio: 1; z-index: 2;
  background: var(--orange); border-radius: 50%;
  box-shadow: 0 18px 34px -14px rgba(0, 0, 0, 0.55);
}
.badge text { font: 800 11.6px/1 var(--font); letter-spacing: 0.04em; text-transform: uppercase; fill: var(--navy-deep); }
.badge::after { content: none; }

/* category marquee (the categories on the shop sign) */
.marquee {
  display: flex; overflow: hidden; background: var(--orange); color: var(--navy-deep);
  border-block: 2px solid var(--navy-deep);
}
.marquee-track {
  display: flex; flex: none; align-items: center; margin: 0; padding: 0; list-style: none;
  min-width: 100%; justify-content: space-around;
}
.marquee-track li {
  display: flex; align-items: center; white-space: nowrap;
  padding: 16px 0; font-weight: 850; font-size: clamp(0.9375rem, 1.3vw, 1.2rem);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.marquee-track li::after { content: "/"; margin-inline: clamp(18px, 2.6vw, 36px); opacity: 0.55; }

/* ------------------------------------------------------------ sections */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-tint { background: var(--mist); }
.page-top { padding-top: clamp(120px, 14vw, 168px); }

.section-head { display: grid; gap: 16px; max-width: 62ch; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head p { color: var(--muted); font-size: 1.1875rem; }
h2 { font-size: clamp(2rem, 4.6vw, 3.75rem); letter-spacing: -0.045em; line-height: 1; }

/* steps: a diagonal, not three equal cards */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.step { position: relative; display: grid; gap: 10px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-surface); background: var(--mist); }
.step:nth-child(2) { margin-top: clamp(24px, 5vw, 64px); background: var(--navy); color: var(--white); }
.step:nth-child(3) { margin-top: clamp(48px, 10vw, 128px); border: 2px solid var(--navy); background: var(--white); }
.step-no {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--orange); color: var(--navy-deep); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.step h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.035em; }
.step p { color: inherit; opacity: 0.86; max-width: 34ch; }
.step:nth-child(2) a { color: var(--white); }

/* ------------------------------------------------------------ unpack: the store, lot by lot */
.unpack { background: var(--navy); color: var(--white); padding-block: clamp(72px, 10vw, 128px); }
.unpack__stage { position: relative; }
.unpack__inner { max-width: 1240px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 44px); }
.unpack__head { display: grid; gap: 16px; max-width: 46ch; margin-bottom: clamp(32px, 5vw, 56px); }
.unpack__head p { color: var(--on-navy-muted); font-size: 1.125rem; }
.crate, .unpack__progress, .manifest { display: none; }

/* default (no script, or reduced motion): a readable list of lots */
.lots { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 88px); }
.lot { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.lot:nth-child(even) .lot__media { order: 2; }
.lot__media { margin: 0; aspect-ratio: 3 / 4; max-height: 78svh; border-radius: var(--r-photo); overflow: hidden; background: var(--navy-deep); }
.lot__media img { width: 100%; height: 100%; object-fit: cover; }
.lot__no {
  font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-soft);
  margin-bottom: 14px;
}
.lot__no span { font-size: 1.25rem; letter-spacing: 0.02em; color: var(--white); }
.lot h3 { font-size: clamp(2rem, 4.4vw, 4rem); letter-spacing: -0.045em; line-height: 0.98; margin-bottom: 18px; }
.lot__copy p:last-child { color: var(--on-navy-muted); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 36ch; }

/* stage mode: the section is tall, the stage sticks, scrolling unpacks the lots */
.unpack[data-stage="on"] { height: calc(160svh + var(--n) * 85svh); padding-block: 0; }
[data-stage="on"] .unpack__stage {
  position: sticky; top: 0; height: 100svh; overflow: clip; background: var(--navy);
  --open: 0; --lp: 0; --p: 0;
}
[data-stage="on"] .unpack__inner {
  height: 100%; padding-top: clamp(92px, 12svh, 128px); padding-bottom: clamp(20px, 4svh, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: clamp(28px, 6vw, 96px);
}
[data-stage="on"] .unpack__head { grid-area: 1 / 1; margin: 0; max-width: 38ch; gap: 12px; }
[data-stage="on"] .unpack__head h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -0.04em; }
[data-stage="on"] .unpack__head p { font-size: 1rem; }
[data-stage="on"] .lots { display: contents; }
[data-stage="on"] .lot { display: contents; }

[data-stage="on"] .lot__media {
  grid-area: 1 / 2 / 4 / 3; position: relative; min-height: 0; max-height: none; aspect-ratio: auto; order: 0;
  clip-path: inset(100% 0 0 0 round var(--r-photo));
  transition: clip-path 0.95s var(--ease-flap);
}
[data-stage="on"] .lot.is-active .lot__media,
[data-stage="on"] .lot.is-past .lot__media { clip-path: inset(0 0 0 0 round var(--r-photo)); }
[data-stage="on"] .lot:nth-child(1) .lot__media { z-index: 1; }
[data-stage="on"] .lot:nth-child(2) .lot__media { z-index: 2; }
[data-stage="on"] .lot:nth-child(3) .lot__media { z-index: 3; }
[data-stage="on"] .lot:nth-child(4) .lot__media { z-index: 4; }
[data-stage="on"] .lot:nth-child(5) .lot__media { z-index: 5; }
[data-stage="on"] .lot:nth-child(6) .lot__media { z-index: 6; }
[data-stage="on"] .lot:nth-child(7) .lot__media { z-index: 7; }
[data-stage="on"] .lot:nth-child(8) .lot__media { z-index: 8; }
[data-stage="on"] .lot__media img {
  position: absolute; inset: 0; scale: 1.1;
  translate: 0 calc((0.5 - var(--lp)) * 3%);
}

[data-stage="on"] .lot__copy {
  grid-area: 2 / 1; align-self: center; position: relative; z-index: 9;
  opacity: 0; translate: 0 36px; pointer-events: none;
  transition: opacity 0.5s var(--ease-out), translate 0.8s var(--ease-flap);
}
[data-stage="on"] .lot.is-past .lot__copy { translate: 0 -36px; }
[data-stage="on"] .lot.is-active .lot__copy { opacity: 1; translate: 0 0; pointer-events: auto; transition-delay: 0.18s; }
[data-stage="on"] .lot h3 { font-size: clamp(2.25rem, 5.2vw, 5rem); }

/* the pallet list: numbered boxes that tick off as the lots are unpacked */
[data-stage="on"] .manifest { display: flex; grid-area: 3 / 1; align-items: center; flex-wrap: wrap; gap: 8px 14px; position: relative; z-index: 9; }
.manifest__label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-navy-muted); }
.manifest ol { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.manifest button {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  font: 800 0.9375rem/1 var(--font); font-variant-numeric: tabular-nums;
  color: var(--white); background: transparent; border: 2px solid var(--navy-line); cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.manifest button:active { transform: scale(0.94); }
.manifest button.is-done { background: var(--orange); border-color: var(--orange); color: var(--navy-deep); }
.manifest button[aria-current="step"] { background: var(--white); border-color: var(--white); color: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .manifest button:hover { border-color: var(--white); }
}

[data-stage="on"] .unpack__progress { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--navy-line); z-index: 12; }
.unpack__progress i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--p)); }

/* the crate: two orange flaps with the logo split across them; scrolling pulls them apart */
[data-stage="on"] .crate { display: block; position: absolute; inset: 0; z-index: 20; pointer-events: none; }
[data-stage="on"] .is-open .crate, [data-stage="on"] .crate[hidden] { visibility: hidden; }
.crate__half {
  position: absolute; top: 0; bottom: 0; width: 50%; display: flex; align-items: center; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(2, 26, 61, 0.05) 0 2px, transparent 2px 22px),
    var(--orange);
  will-change: translate;
}
.crate__half--l { left: 0; justify-content: flex-end; translate: calc(var(--open) * -101%) 0; box-shadow: inset -26px 0 40px -28px rgba(2, 26, 61, 0.5); }
.crate__half--r { right: 0; justify-content: flex-start; translate: calc(var(--open) * 101%) 0; box-shadow: inset 26px 0 40px -28px rgba(2, 26, 61, 0.5); }
.crate__half span {
  font-weight: 900; font-size: clamp(5.5rem, 22vw, 20rem); line-height: 0.8; letter-spacing: -0.07em;
  color: var(--navy); padding-inline: clamp(8px, 1.4vw, 24px);
}
.crate__half--l::after, .crate__half--r::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(18px, 3vw, 44px);
  background: repeating-linear-gradient(180deg, var(--white) 0 18px, var(--navy-deep) 18px 24px);
  opacity: 0.92;
}
.crate__half--l::after { right: 0; }
.crate__half--r::after { left: 0; }
.crate__hint {
  position: absolute; left: 50%; bottom: clamp(24px, 6svh, 56px); translate: -50% 0;
  padding: 12px 22px; border-radius: 999px; background: var(--navy-deep); color: var(--white);
  font-weight: 800; font-size: 0.9375rem; white-space: nowrap;
  opacity: calc(1 - var(--open) * 4);
}
.crate__hint::after { content: "\2193"; margin-left: 10px; display: inline-block; }

/* ------------------------------------------------------------ visit */
.visit-grid { display: grid; gap: clamp(28px, 6vw, 88px); grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: center; }
.visit-info { display: grid; gap: 24px; justify-items: start; }
.visit-info > p { color: var(--muted); font-size: 1.1875rem; max-width: 44ch; }
.address-block { font-style: normal; font-size: 1.125rem; line-height: 1.7; }
.address-block strong { font-size: 1.25rem; }
.visit-photo { margin: 0; justify-self: center; width: 100%; max-width: 500px; }
.visit-photo img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-photo);
  box-shadow: 14px 14px 0 var(--orange);
}

.hours-card { width: 100%; max-width: 520px; background: var(--white); border-radius: var(--r-surface); padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 12px; box-shadow: 0 0 0 1px var(--line); }
.hours-card h2, .hours-card h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.hours { margin: 0; display: grid; }
.hours > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 14px; margin-inline: -14px; border-radius: var(--r-inner); }
.hours > div + div { border-top: 1px solid var(--line); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; text-align: right; }
.hours .is-today { background: var(--navy); color: var(--white); border-top-color: transparent; }
.hours .is-today + div { border-top-color: transparent; }
.hours .is-today dt::after {
  content: attr(data-today); margin-left: 10px; padding: 2px 9px; border-radius: 999px;
  background: var(--orange); color: var(--navy-deep); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.02em;
}

/* directions: three app links */
.directions { display: grid; gap: 10px; justify-items: start; }
.directions h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.directions p { color: var(--muted); font-size: 1rem; }
.directions .actions { margin-top: 6px; }

/* instagram: swipeable row of posts */
.ig { padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.ig-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 4vw, 44px); }
.ig-title { display: grid; gap: 14px; max-width: 46ch; }
.ig-title p { color: var(--muted); font-size: 1.1875rem; }
.ig-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ig-arrows { display: flex; gap: 8px; }
.ig-btn {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  font: 800 1.3rem/1 var(--font); color: var(--navy); background: var(--white);
  border: 2px solid var(--navy); cursor: pointer; touch-action: manipulation;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out), opacity 180ms var(--ease-out);
}
.ig-btn:active { transform: scale(0.94); }
.ig-btn:disabled { opacity: 0.35; cursor: default; }
.ig-track {
  --edge: max(18px, calc((100vw - 1240px) / 2 + 44px));
  display: flex; gap: 16px; margin: 0; padding: 4px var(--edge) 8px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
}
.ig-track::-webkit-scrollbar { display: none; }
.ig-track.is-drag { scroll-snap-type: none; cursor: grabbing; scroll-behavior: auto; }
.ig-item { flex: 0 0 clamp(260px, 25vw, 340px); scroll-snap-align: start; }
.ig-card { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--r-photo); overflow: hidden; background: var(--navy); user-select: none; -webkit-user-drag: none; }
.ig-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: scale 600ms var(--ease-out); }
.ig-go { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; background: var(--orange); color: var(--navy-deep); }
.ig-progress { height: 4px; margin-top: 22px; border-radius: 2px; background: var(--line); overflow: hidden; --ig-p: 0.2; }
.ig-progress i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--ig-p)); }
@media (hover: hover) and (pointer: fine) {
  .ig-btn:not(:disabled):hover { background: var(--navy); color: var(--white); }
  .ig-card:hover img { scale: 1.06; }
  .ig-card:hover .ig-go { transform: translate(2px, -2px); }
}
@media (max-width: 800px) {
  .ig-item { flex-basis: 76vw; }
  .ig-actions { width: 100%; }
}

/* faq */
.faq-wrap { display: grid; gap: clamp(28px, 5vw, 80px); grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); align-items: start; }
.faq-side { position: sticky; top: 112px; display: grid; gap: 16px; }
.faq-side p { color: var(--muted); font-size: 1.1875rem; max-width: 30ch; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--mist); border-radius: var(--r-surface); interpolate-size: allow-keywords; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; border-radius: var(--r-surface);
  font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; touch-action: manipulation;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  transition: background-color 160ms var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: var(--navy-deep); font-size: 1.4rem; line-height: 1;
  transition: transform 240ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 62ch; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 260ms var(--ease-out), content-visibility 260ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ------------------------------------------------------------ call-to-action band */
.band { background: var(--orange); color: var(--navy-deep); padding-block: clamp(56px, 8vw, 104px); }
.band-grid { display: grid; gap: clamp(24px, 5vw, 72px); grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.band-copy { display: grid; gap: 14px; }
.band-copy h2 { font-size: clamp(2.25rem, 5.4vw, 4.75rem); }
.band-copy p { font-size: 1.2rem; font-weight: 600; max-width: 34ch; }
.band-actions { display: grid; gap: 18px; justify-items: start; }
.band-phone { color: var(--navy-deep); font-weight: 900; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.045em; text-decoration: none; line-height: 1; }
.band a:not(.btn) { color: inherit; }

/* ------------------------------------------------------------ inner pages */
.crumbs { display: flex; gap: 8px; font-size: 0.9375rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.page-title { font-size: clamp(2.5rem, 6vw, 4.75rem); letter-spacing: -0.05em; margin-bottom: 16px; }

.contact-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.contact-card { background: var(--mist); border-radius: var(--r-surface); padding: clamp(22px, 3vw, 34px); display: grid; gap: 24px; justify-items: start; }
.contact-photo { margin: clamp(28px, 4vw, 48px) 0 0; max-width: 420px; }
.contact-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-photo); box-shadow: 12px 12px 0 var(--orange); }

.facts { margin: 0; display: grid; gap: 18px; }
.facts dt { font-size: 0.875rem; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.facts dd { margin: 0; font-size: 1.1875rem; font-weight: 700; }
.facts-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; margin-block: 20px 40px; }
.facts-wide dd { font-size: 1.0625rem; overflow-wrap: anywhere; }

.prose { max-width: 860px; margin-inline: 0; }
.prose h2 { font-size: 1.6rem; margin-top: 40px; margin-bottom: 8px; letter-spacing: -0.03em; }
.prose p { color: var(--muted); max-width: 68ch; }
.prose .lead { margin-bottom: 8px; }
.prose a { overflow-wrap: anywhere; }

/* placeholder for legal facts still to be supplied (never ships if build:strict is used) */
.todo { background: #ffe58a; color: #3d2f00; padding: 0 6px; border-radius: 4px; font-weight: 700; }

/* ------------------------------------------------------------ footer */
.site-footer { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--on-navy-muted); padding-top: clamp(48px, 7vw, 88px); font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.3fr 0.8fr 1fr; position: relative; z-index: 1; }
.footer-grid p + p { margin-top: 10px; }
.footer-logo { width: 190px; height: auto; margin-bottom: 18px; }
.footer-address { color: var(--white); font-weight: 650; }
.footer-title { color: var(--white); font-weight: 800; margin-bottom: 10px; }
.footer-base { padding-block: 36px 44px; position: relative; z-index: 1; }

/* ------------------------------------------------------------ phone action bar */
.action-bar { display: none; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------ motion (only if the visitor allows it) */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes shot-in { from { opacity: 0; transform: translateY(46px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes belt { to { transform: translateX(-100%); } }
@keyframes breathe { from { scale: 1.1; } to { scale: 1.17; } }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 4px; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.8s var(--ease-flap) both; }
  .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .hero-copy > :nth-child(3) { animation-delay: 140ms; }
  .hero-copy > :nth-child(4) { animation-delay: 210ms; }
  .hero-copy > :nth-child(5) { animation-delay: 280ms; }

  .shot { animation: shot-in 1s var(--ease-flap) both; }
  .shot-a { animation-delay: 120ms; }
  .shot-b { animation-delay: 260ms; }
  .shot-c { animation-delay: 400ms; }
  .shot img { animation: bob 7s ease-in-out infinite; }
  .shot-b img { animation-duration: 8.5s; animation-delay: -2s; }
  .shot-c img { animation-duration: 6.5s; animation-delay: -4s; }
  .badge { animation: spin 26s linear infinite; }
  .marquee-track { animation: belt 42s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }

  [data-stage="on"] .lot.is-active .lot__media img { animation: breathe 14s ease-in-out infinite alternate; }
  [data-stage="on"] .crate__hint::after { animation: nudge 1.6s ease-in-out infinite; }

  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-flap), transform 0.7s var(--ease-flap); }
  .js .reveal.in { opacity: 1; transform: none; }
  .steps .reveal:nth-child(2) { transition-delay: 90ms; }
  .steps .reveal:nth-child(3) { transition-delay: 180ms; }
}

/* ------------------------------------------------------------ small screens */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 520px; }
  .visit-grid, .contact-grid, .footer-grid, .faq-wrap, .band-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-side { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step:nth-child(2), .step:nth-child(3) { margin-top: 0; }
  .visit-photo { order: -1; max-width: 420px; }
  .lot { grid-template-columns: minmax(0, 1fr); }
  .lot:nth-child(even) .lot__media { order: 0; }
  .lot__media { max-width: 440px; }
}

@media (max-width: 800px) {
  /* the stage becomes a full-bleed photo with the copy sitting on a blue scrim */
  .unpack[data-stage="on"] { height: calc(130svh + var(--n) * 70svh); }
  [data-stage="on"] .unpack__stage::after {
    content: ""; position: absolute; inset: 0; z-index: 8; pointer-events: none;
    background: linear-gradient(to top, rgba(2, 26, 61, 0.96) 6%, rgba(2, 26, 61, 0.62) 42%, rgba(2, 26, 61, 0.5) 100%);
  }
  [data-stage="on"] .unpack__inner { position: static; display: block; }
  [data-stage="on"] .lot__media { position: absolute; inset: 0; border-radius: 0; clip-path: inset(100% 0 0 0); max-width: none; }
  [data-stage="on"] .lot.is-active .lot__media, [data-stage="on"] .lot.is-past .lot__media { clip-path: inset(0); }
  [data-stage="on"] .unpack__head { position: absolute; z-index: 9; top: 124px; left: clamp(18px, 4vw, 44px); right: clamp(18px, 4vw, 44px); }
  [data-stage="on"] .unpack__head p { display: none; }
  [data-stage="on"] .lot__copy { position: absolute; left: clamp(18px, 4vw, 44px); right: clamp(18px, 4vw, 44px); bottom: calc(88px + env(safe-area-inset-bottom)); }
  [data-stage="on"] .lot h3 { font-size: clamp(2rem, 9vw, 3rem); }
  /* touch: the pallet list would sit under the phone action bar, the progress line and counter are enough */
  [data-stage="on"] .manifest { display: none; }
  .crate__half span { font-size: clamp(5rem, 30vw, 9rem); }
}

@media (max-width: 720px) {
  .site-header { top: 10px; width: calc(100% - 20px); border-radius: 28px; }
  .site-header .bar { flex-wrap: wrap; row-gap: 0; padding: 8px 12px 6px 18px; min-height: 0; }
  .brand-logo { height: 30px; }
  .lang { margin-left: auto; }
  .head-call { display: none; }
  .main-nav { order: 3; width: 100%; margin-left: 0; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
  .main-nav a { padding: 8px 12px; white-space: nowrap; }
  .hero { padding-top: 132px; }
  .facts-wide { grid-template-columns: minmax(0, 1fr); }
  .btn { flex: 1 1 auto; }
  .visit-card { border-radius: 28px; }
  html { scroll-padding-top: 128px; }

  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .action-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: var(--z-bar);
    padding: 8px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 14px 34px -14px rgba(2, 26, 61, 0.6), 0 0 0 1px rgba(5, 52, 104, 0.1);
    transition: transform 320ms var(--ease-out), opacity 240ms var(--ease-out);
  }
  .action-bar .btn { min-height: 46px; padding: 0 12px; }
  .js .action-bar:not(.show) { transform: translateY(140%); opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .marquee-track:nth-child(2) { display: none; }
  .marquee-track { flex-wrap: wrap; row-gap: 4px; }
}
