/* ───────── Tokens ───────── */
:root {
  --bg: #fbfbfd;
  --bg-tint: #f2f1ee;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-2: #5c5c62;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #c8891f;          /* gold from the Jack & Dog badge */
  --accent-ink: #1a1306;
  --accent-soft: rgba(200, 137, 31, 0.12);
  --glass: rgba(251, 251, 253, 0.72);
  --glass-edge: rgba(255, 255, 255, 0.55);
  --shadow-s: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.05);
  --shadow-l: 0 10px 40px rgba(0,0,0,.18), 0 2px 8px rgba(0,0,0,.08);
  --radius: 22px;
  --radius-s: 12px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 72rem;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0c;
    --bg-tint: #141414;
    --surface: #1c1c1e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #e3a43a;
    --accent-soft: rgba(227, 164, 58, 0.15);
    --glass: rgba(22, 22, 24, 0.7);
    --glass-edge: rgba(255, 255, 255, 0.08);
    --shadow-s: 0 1px 2px rgba(0,0,0,.4);
    --shadow-l: 0 20px 60px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 100%/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--surface); padding: .5rem 1rem; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Typography: size-specific tracking & leading */
.display {
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 1.25rem;
}
.title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .75rem;
}
.lead { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--text-2); max-width: 40rem; margin: 0 0 2rem; }
p { margin: 0 0 1rem; }

/* Press feedback on pointer-down, instantly */
.press { transition: transform 160ms cubic-bezier(.2,.8,.2,1), background-color 160ms, opacity 160ms; }
.press:active { transform: scale(.96); transition-duration: 60ms; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { filter: brightness(1.06); }
.btn--glass {
  color: #fff;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--ghost { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { color: var(--accent); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.round {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow-s);
  font-size: 1.5rem; line-height: 1;
}
.row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ───────── Nav (translucent material) ───────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  color: #fff;
  transition: background-color 300ms, color 300ms, box-shadow 300ms;
}
.nav.is-solid {
  color: var(--text);
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; height: 60px;
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.nav__brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.nav__brand img { width: 32px; height: 32px; border-radius: 50%; }
.nav__links { display: flex; gap: 1.75rem; margin-left: auto; font-size: .9375rem; }
.nav__links a { text-decoration: none; opacity: .82; transition: opacity 150ms; }
.nav__links a:hover { opacity: 1; }
.lang { display: flex; gap: 2px; padding: 2px; border-radius: 10px; }
.lang button {
  min-width: 34px; height: 30px; padding: 0 .4rem; border-radius: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; opacity: .62;
  transition: opacity 150ms, background-color 150ms;
}
.lang button:hover { opacity: 1; }
.lang button[aria-pressed="true"] { opacity: 1; background: rgba(127,127,127,.22); }
.nav__cart { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.nav__menu { display: none; width: 40px; height: 40px; position: relative; }
.nav__menu span { position: absolute; left: 11px; right: 11px; height: 1.7px; background: currentColor; border-radius: 2px; transition: transform 250ms cubic-bezier(.2,.8,.2,1); }
.nav__menu span:first-child { top: 16px; }
.nav__menu span:last-child { top: 23px; }
.nav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav__sheet {
  display: grid; padding: .5rem var(--gutter) 1.25rem;
  font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em;
}
.nav__sheet a { padding: .55rem 0; text-decoration: none; }
.nav__sheet:not([hidden]) { animation: drop 280ms cubic-bezier(.2,.8,.2,1); transform-origin: top right; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

.badge {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: .6875rem; font-weight: 700; line-height: 18px; text-align: center;
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .lang { margin-left: auto; }
  .nav__inner { gap: .5rem; }
  .nav__brand span { white-space: nowrap; }
  .nav__menu { display: block; }
  .nav.menu-open { color: var(--text); background: var(--glass); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); }
}

/* ───────── Hero ───────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: #000;
}
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%),
    linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 55%);
}
.hero__content {
  position: relative; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 10vh, 6rem);
}
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero__lead { font-size: clamp(1.0625rem, 2.2vw, 1.375rem); max-width: 34rem; color: rgba(255,255,255,.88); margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__sound {
  position: absolute; right: var(--gutter); bottom: clamp(3rem, 10vh, 6rem);
  width: 44px; height: 44px; border-radius: 50%; color: #fff;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: grid; place-items: center;
}
.hero__sound .wave { display: none; }
.hero__sound[aria-pressed="true"] .wave { display: block; }
.hero__sound[aria-pressed="true"] .mute { display: none; }
@media (max-width: 600px) { .hero__sound { bottom: auto; top: calc(76px + env(safe-area-inset-top)); } }

/* ───────── Stats ───────── */
.stats { border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.25rem 1.25rem 2.25rem 0; }
.stat + .stat { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: .35rem; }
.stat span { color: var(--text-2); font-size: .9375rem; line-height: 1.4; }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ───────── Sections ───────── */
.section { padding: clamp(4.5rem, 12vw, 8.5rem) 0; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: #0b0b0c; color: #f5f5f7; --text-2: #a1a1a6; --line: rgba(255,255,255,.12); --surface: #1c1c1e; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-l); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text p { color: var(--text-2); font-size: 1.0625rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 4/3; }
}

.timeline { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .25rem; }
.timeline li { display: grid; grid-template-columns: 4.5rem 1fr; padding: .7rem 0; border-top: 1px solid var(--line); }
.timeline b { color: var(--accent); }

.checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 1.9rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23e3a43a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* ───────── Rail ───────── */
.rail-ctrl { display: flex; gap: .5rem; margin-bottom: 1.25rem; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 340px);
  gap: 1.25rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: .5rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 1.5rem;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-s);
  display: flex; flex-direction: column;
}
.card img { aspect-ratio: 4/3; width: 100%; object-fit: cover; }
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 .6rem; }
.card p { color: var(--text-2); font-size: .9688rem; flex: 1; }
@media (max-width: 600px) { .rail-ctrl { display: none; } }

/* ───────── Shop ───────── */
.segmented {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 4px; border-radius: 999px; margin-bottom: 2rem;
  background: rgba(120,120,128,.14);
  max-width: 100%;
}
.segmented button {
  position: relative; z-index: 1; padding: .55rem 1.1rem; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; white-space: nowrap; color: var(--text-2);
  transition: color 200ms;
}
.segmented button[aria-selected="true"] { color: var(--text); }
.segmented__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
  border-radius: 999px; background: var(--surface); box-shadow: 0 2px 8px rgba(0,0,0,.12);
  will-change: transform, width;
}
@media (max-width: 480px) { .segmented { display: grid; width: 100%; } .segmented button { padding: .55rem .5rem; font-size: .875rem; } }

.grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
}
.product {
  position: relative; text-align: left;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-s);
  display: block; width: 100%; padding: 0;
  animation: rise 500ms cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
/* Square via padding, not aspect-ratio: Safari can collapse aspect-ratio boxes inside <button> */
.product__img { display: block; position: relative; height: 0; padding-top: 100%; background: #f4f4f4; overflow: hidden; }
.product__img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 350ms, transform 600ms cubic-bezier(.2,.8,.2,1); }
.product__img img + img { opacity: 0; }
@media (hover: hover) {
  .product:hover .product__img img + img { opacity: 1; }
  .product:hover .product__img img { transform: scale(1.03); }
}
.product__body { padding: 1rem 1.1rem 1.2rem; }
.product__tag { font-size: .75rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.product__name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin: .2rem 0 .35rem; }
.product__price { color: var(--text-2); font-size: .9375rem; }

.note { color: var(--text-2); font-size: .875rem; margin-top: 2rem; }
.banner {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s);
}
.banner img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.banner__body { padding: clamp(1.5rem, 4vw, 3rem); align-self: center; }
.banner__body h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 1rem; }
.banner__body p { color: var(--text-2); }
@media (max-width: 760px) { .banner { grid-template-columns: 1fr; } }

/* ───────── Gallery ───────── */
.gallery { columns: 3 16rem; column-gap: 1rem; }
.gallery .gal { margin: 0 0 1rem; break-inside: avoid; }
.gallery img { width: 100%; border-radius: var(--radius-s); display: block; }
.gallery figcaption { font-size: .8125rem; color: var(--text-2); margin-top: .45rem; line-height: 1.35; }

/* ───────── CTA / Contact ───────── */
.cta { position: relative; padding: clamp(5rem, 14vw, 10rem) 0; color: #fff; overflow: hidden; }
.cta__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__glass {
  position: relative; max-width: 52rem;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border-radius: 28px;
  background: rgba(10, 10, 12, .45);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), var(--shadow-l);
  width: calc(100% - 2 * var(--gutter));
}
.cta .eyebrow { color: #f0c46d; }
.cta p { color: rgba(255,255,255,.88); font-weight: 500; letter-spacing: .005em; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .75rem; margin: 2rem 0 1.5rem; }
.contact__item {
  display: block; padding: 1rem 1.1rem; border-radius: 16px; text-decoration: none;
  background: rgba(255,255,255,.1); font-weight: 600; overflow-wrap: anywhere;
}
.contact__item small { display: block; font-weight: 500; opacity: .7; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.socials { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.socials a { text-decoration: none; opacity: .85; font-weight: 600; }
.socials a:hover { opacity: 1; text-decoration: underline; }

.footer { padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom)); font-size: .8125rem; color: var(--text-2); border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

/* ───────── FAB ───────── */
.fab {
  position: fixed; z-index: 40;
  right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass); color: var(--text);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-l), inset 0 1px 0 var(--glass-edge);
}
.fab .badge { top: 6px; right: 6px; }
body.locked .fab { opacity: 0; pointer-events: none; }
@media (min-width: 861px) { .fab { display: none; } }

/* ───────── Sheets ───────── */
.scrim {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 80;
  background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none;
}
.scrim.on { pointer-events: auto; }
.sheet {
  position: fixed; z-index: 90;
  left: 0; right: 0; bottom: 0; margin: 0 auto;
  width: 100%; max-width: 760px; max-height: calc(100svh - 2.5rem);
  display: flex; flex-direction: column;
  background: var(--surface); color: var(--text);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 50px rgba(0,0,0,.25);
  transform: translateY(110%);
  will-change: transform;
  touch-action: none;
}
.sheet[hidden] { display: none; }
.sheet__grab { flex: none; padding: 10px 0 6px; cursor: grab; display: grid; place-items: center; }
.sheet__grab span { width: 40px; height: 5px; border-radius: 3px; background: rgba(120,120,128,.4); }
.sheet__scroll { overflow-y: auto; overscroll-behavior: contain; padding: .5rem clamp(1.25rem, 4vw, 2.25rem) calc(1.75rem + env(safe-area-inset-bottom)); touch-action: pan-y; }

/* Cart becomes a side drawer on wide screens */
@media (min-width: 900px) {
  .sheet--cart {
    left: auto; right: 0; top: 0; bottom: 0; margin: 0;
    max-width: 440px; max-height: none; height: 100%;
    border-radius: 28px 0 0 28px;
    transform: translateX(110%);
    box-shadow: -10px 0 50px rgba(0,0,0,.25);
  }
  .sheet--cart .sheet__grab { display: none; }
  .sheet--cart .sheet__scroll { padding-top: 1.75rem; flex: 1; }
}

/* Product sheet content */
.ps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
@media (max-width: 680px) { .ps { grid-template-columns: 1fr; gap: 1.25rem; } }
.ps__view { position: relative; border-radius: 18px; overflow: hidden; background: #f4f4f4; aspect-ratio: 1; }
.ps__view img { width: 100%; height: 100%; object-fit: cover; }
.ps__flip {
  position: absolute; left: 50%; bottom: .75rem; transform: translateX(-50%);
  display: flex; padding: 3px; border-radius: 999px;
  background: rgba(255,255,255,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: #1d1d1f;
}
.ps__flip button { padding: .35rem .9rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; }
.ps__flip button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.ps h2 { font-size: 1.625rem; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .35rem; }
.ps__price { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.ps__desc { color: var(--text-2); font-size: .9375rem; }
.field { margin: 1.1rem 0; border: 0; padding: 0; }
.field legend, .field > label { display: block; font-size: .8125rem; font-weight: 600; color: var(--text-2); margin-bottom: .5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  min-width: 44px; min-height: 40px; padding: 0 .9rem; border-radius: 12px;
  box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: .9375rem;
}
.chip[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-soft); }
.art { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: .5rem; }
.art button { border-radius: 12px; overflow: hidden; aspect-ratio: 1; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art button[aria-pressed="true"]::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; border-radius: 12px; box-shadow: inset 0 0 0 3px var(--accent); }
.art__name { font-size: .8125rem; color: var(--text-2); margin-top: .4rem; }
.input {
  width: 100%; min-height: 46px; padding: .7rem .9rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: inherit;
}
.input:focus { outline: none; border-color: var(--accent); }
textarea.input { min-height: 84px; resize: vertical; }
.ps__buy { position: sticky; bottom: calc(-1.75rem - env(safe-area-inset-bottom)); padding: 1rem 0 0; background: linear-gradient(transparent, var(--surface) 30%); }
.qty { display: inline-flex; align-items: center; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); }
.qty button { width: 40px; height: 40px; font-size: 1.15rem; }
.qty output { min-width: 1.75rem; text-align: center; font-weight: 600; }

/* Cart */
.cart h2 { font-size: 1.75rem; letter-spacing: -0.02em; margin: 0 0 1rem; display: flex; justify-content: space-between; align-items: center; }
.cart__close { width: 34px; height: 34px; border-radius: 50%; background: rgba(120,120,128,.14); font-size: 1.1rem; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #f4f4f4; }
.line__name { font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.line__meta { color: var(--text-2); font-size: .8125rem; }
.line__right { text-align: right; display: grid; gap: .35rem; justify-items: end; }
.line__rm { font-size: .8125rem; color: var(--text-2); text-decoration: underline; }
.total { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.125rem; padding: 1.1rem 0 .25rem; }
.empty { text-align: center; padding: 3rem 0 2rem; color: var(--text-2); }
.empty b { display: block; color: var(--text); font-size: 1.25rem; margin-bottom: .35rem; }
.small { font-size: .8125rem; color: var(--text-2); }
.form { display: grid; gap: .75rem; margin-top: 1.25rem; }
.done { text-align: center; padding: 2rem 0; }
.done__tick {
  width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
}

/* Flying thumbnail */
.fly { position: fixed; z-index: 100; left: 0; top: 0; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-l); will-change: transform, opacity; }

/* Toast */
.toast {
  position: fixed; z-index: 110; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom));
  transform: translate(-50%, 140%); opacity: 0;
  padding: .75rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: .9375rem;
  background: var(--glass); color: var(--text);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-l);
  transition: transform 420ms cubic-bezier(.2,.9,.25,1), opacity 300ms;
  max-width: calc(100vw - 2rem);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Scroll reveal (not gesture-driven, so CSS transitions are fine) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms cubic-bezier(.2,.8,.2,1), transform 700ms cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ───────── Accessibility preferences ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; transition: opacity 300ms; }
  .product { animation: fade 200ms both; }
  @keyframes fade { from { opacity: 0; } }
  .press:active { transform: none; opacity: .7; }
  .toast { transition: opacity 200ms; transform: translate(-50%, 0); }
}
@media (prefers-reduced-transparency: reduce) {
  .nav.is-solid, .nav.menu-open, .fab, .toast { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cta__glass { background: rgba(10,10,12,.88); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .btn--glass, .hero__sound { background: rgba(0,0,0,.6); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: rgba(0,0,0,.4); --text-2: #3a3a3c; }
  .nav.is-solid, .fab, .card, .product { border: 1px solid var(--text); }
}

/* ───────── Subpages ───────── */
.hero--page { min-height: 86svh; }
.hero--page .display { font-size: clamp(2.5rem, 8vw, 5.5rem); }
section[id], div[id].anchor { scroll-margin-top: 120px; }

/* Sticky in-page nav: translucent chips under the main bar */
.subnav {
  position: sticky; top: calc(60px + env(safe-area-inset-top)); z-index: 30;
  display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none;
  padding: .6rem max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; padding: .45rem .9rem; border-radius: 999px;
  font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--text-2);
  transition: background-color 200ms, color 200ms;
}
.subnav a:hover { color: var(--text); }
.subnav a.on { background: var(--text); color: var(--bg); }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.tag { padding: .4rem .8rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: var(--accent-soft); color: var(--text); }
.section--dark .tag { color: #f5f5f7; }
.h3 { font-size: 1.375rem; letter-spacing: -0.015em; line-height: 1.2; margin: 2.5rem 0 .75rem; }

/* Numbered modules */
.modules { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin-top: 2rem; }
.module { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.module__img { position: relative; height: 0; padding-top: 66%; background: #f4f4f4; }
.module__img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.module__num {
  position: absolute; left: .9rem; top: .9rem; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: rgba(0,0,0,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.module__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.module h3 { font-size: 1.1875rem; letter-spacing: -0.015em; margin: 0 0 .5rem; }
.module p { color: var(--text-2); font-size: .9688rem; flex: 1; }
.module__meta { font-size: .8125rem; font-weight: 600; color: var(--accent); margin-top: .5rem; }

/* Captioned photo rail / grid */
.figs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); margin-top: 2rem; }
.figs--rail { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(70vw, 15rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.figs--rail::-webkit-scrollbar { display: none; }
.fig { margin: 0; scroll-snap-align: start; }
.fig__img { position: relative; height: 0; padding-top: 133%; border-radius: var(--radius-s); overflow: hidden; background: #f4f4f4; }
.fig--wide .fig__img { padding-top: 66%; }
.fig__img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) { .fig:hover .fig__img img { transform: scale(1.03); } }
.fig figcaption { font-size: .8125rem; color: var(--text-2); margin-top: .5rem; line-height: 1.35; }

/* Sizes */
.sizes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin-top: 2rem; }
.size { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-s); }
.size__letter { font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.size dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 1rem 0 0; font-size: .9375rem; }
.size dt { color: var(--text-2); }
.size dd { margin: 0; font-weight: 600; }
.callout { margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: 16px; background: var(--accent-soft); font-size: .9375rem; }

/* Safety cards */
.cards4 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin-top: 2rem; }
.tile { background: var(--surface); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-s); }
.tile h3 { font-size: 1.0625rem; margin: 0 0 .4rem; }
.tile p { color: var(--text-2); font-size: .9375rem; margin: 0; }
.quote { margin: 2.5rem 0 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--accent); font-size: clamp(1.125rem, 2.4vw, 1.5rem); line-height: 1.4; letter-spacing: -0.01em; font-weight: 500; }
.quote cite { display: block; margin-top: .6rem; font-size: .9375rem; font-style: normal; color: var(--text-2); }

/* Configurations */
.configs { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); margin-top: 2rem; }
.config { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.config--custom { background: var(--text); color: var(--bg); }
.config--custom p { color: inherit; opacity: .75; }
.config__mods { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: var(--accent); margin-bottom: .5rem; }
.config h3 { font-size: 1.1875rem; margin: 0 0 .5rem; }
.config p { color: var(--text-2); font-size: .9375rem; flex: 1; }
.config .btn { margin-top: 1rem; width: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin-top: 1.5rem; font-size: .875rem; color: var(--text-2); }
.legend b { color: var(--accent); }

/* Videos */
.videos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); margin-top: 2rem; }
.video { margin: 0; }
.video video { width: 100%; border-radius: var(--radius-s); background: #000; aspect-ratio: 9 / 16; object-fit: cover; }
.video figcaption { font-weight: 600; font-size: .9375rem; margin-top: .6rem; }
.legal { font-size: .8125rem; color: var(--text-2); margin-top: 3rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done__num { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; margin: .15rem 0 .75rem; }

/* ───────── Legal documents ───────── */
.doc-page { padding-top: calc(60px + env(safe-area-inset-top)); }
.doc { max-width: 46rem; }
.doc-hero { padding: clamp(2.5rem, 8vw, 5rem) 0 1.5rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.doc-hero .title { margin-bottom: .5rem; }
.doc__meta { color: var(--text-2); margin: 0; }
.doc__lang { color: var(--text-2); font-size: .875rem; margin: .35rem 0 0; }
.doc__lead { font-size: 1.125rem; line-height: 1.6; }
.doc section { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.doc section:last-child { border-bottom: 0; padding-bottom: 4rem; }
.doc h2 { font-size: 1.375rem; letter-spacing: -0.015em; line-height: 1.25; margin: 0 0 1rem; }
.doc h3 { font-size: 1.0625rem; margin: 0 0 .5rem; }
.doc p, .doc li { line-height: 1.65; }
.doc ol, .doc ul { padding-left: 1.35rem; margin: 0 0 1rem; display: grid; gap: .6rem; }
.doc li > ul { margin-top: .6rem; }
.doc a { color: var(--accent); }
.doc__toc { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .25rem 1.5rem; padding: 1.1rem 1.25rem; margin-bottom: 1rem; border-radius: var(--radius-s); background: var(--bg-tint); font-size: .9375rem; }
.doc__toc a { text-decoration: none; padding: .25rem 0; color: var(--text); }
.doc__toc a:hover { color: var(--accent); }
.doc__dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 1rem 0; }
.doc__dl dt { color: var(--text-2); }
.doc__dl dd { margin: 0; }
.doc__dl--wide { grid-template-columns: 1fr; gap: .2rem; }
.doc__dl--wide dt { color: var(--text); font-weight: 600; margin-top: .75rem; }
.doc__dl--wide dd { color: var(--text-2); }
.doc__box { margin-top: 1.5rem; padding: 1.25rem 1.4rem; border-radius: var(--radius-s); background: var(--bg-tint); }
.doc__box p { margin: 0 0 .75rem; }
mark.todo { background: #ffe58a; color: #3a2c00; padding: .05em .35em; border-radius: 4px; font-size: .875em; font-weight: 600; }
mark.todo::before { content: "✎ "; }
.footer__links { display: flex; gap: 1.25rem; width: 100%; }
.footer__links a { color: inherit; }
@media print { .nav, .footer, .fab, .toast, .sheet, .scrim, .doc__toc { display: none !important; } .doc-page { padding: 0; } mark.todo { background: none; } }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .875rem; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.consent a { color: var(--accent); }
.total--sub { padding: .35rem 0 0; font-weight: 500; font-size: .9375rem; color: var(--text-2); }
.pay-choice { margin: 1rem 0 .25rem; }
.pay-opt { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; margin-bottom: .5rem; }
.pay-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); background: var(--accent-soft); }
.pay-opt input { margin: .2rem 0 0; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.pay-opt b { display: block; font-size: .9688rem; }
.pay-opt small { display: block; color: var(--text-2); font-size: .8125rem; line-height: 1.4; margin-top: .15rem; }

/* Contact form on the glass card */
.cform { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.cform__full { grid-column: 1 / -1; }
.cform label:not(.consent) { display: grid; gap: .3rem; font-size: .8125rem; font-weight: 600; color: rgba(255,255,255,.78); }
.cform input:not([type="checkbox"]), .cform select, .cform textarea {
  font: inherit; font-size: 1rem; color: #fff; width: 100%; min-height: 46px; padding: .65rem .85rem;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.18); border-radius: 12px;
}
.cform select option { color: #1d1d1f; }
.cform textarea { min-height: 110px; resize: vertical; }
.cform input::placeholder, .cform textarea::placeholder { color: rgba(255,255,255,.45); }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: #f0c46d; background: rgba(255,255,255,.14); }
.cform .consent { color: rgba(255,255,255,.8); }
.cform .consent a { color: #f0c46d; }
.cform__err { margin: 0; color: #ffb4ae; font-weight: 600; font-size: .9375rem; }
.cform__done { margin: 1.75rem 0 1.5rem; padding: 1.25rem 1.4rem; border-radius: 16px; background: rgba(255,255,255,.12); }
.cform__done b { font-size: 1.25rem; display: block; margin-bottom: .35rem; }
.cform__done p { margin: 0; }
@media (max-width: 600px) { .cform { grid-template-columns: 1fr; } }
@media (prefers-reduced-transparency: reduce) { .cform input:not([type="checkbox"]), .cform select, .cform textarea { background: #2a2a2c; } }

/* Calendar */
.events { display: grid; gap: 1rem; margin-top: 2rem; }
.event { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.25rem; align-items: start; padding: 1.25rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-s); }
.event__date { display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px; background: var(--accent-soft); color: var(--text); }
.event__date b { font-size: 2rem; line-height: 1; letter-spacing: -0.03em; }
.event__date span { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.event h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; margin: .15rem 0 .35rem; }
.event__meta { color: var(--text-2); font-size: .9375rem; margin: 0 0 .5rem; }
.event p:not(.event__meta) { color: var(--text-2); margin: 0 0 .5rem; }
@media (max-width: 520px) { .event { grid-template-columns: 4.25rem 1fr; gap: .9rem; padding: 1rem; } .event__date b { font-size: 1.6rem; } }

/* Stock, coupon, reviews */
.chip--out { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.stock-hint { margin: .5rem 0 0; font-size: .875rem; font-weight: 600; color: var(--accent); }
.coupon { display: flex; gap: .5rem; margin: .9rem 0 0; }
.coupon .input { flex: 1; min-height: 44px; text-transform: uppercase; }
.coupon .btn { min-height: 44px; }
.coupon__msg { margin: .4rem 0 0; color: #d33; }
.total--disc { color: var(--accent); }
.total--disc .line__rm { margin-left: .35rem; }
.reviews { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); margin-top: 1.5rem; }
.reviews > .lead { grid-column: 1 / -1; margin: 0; }
.review { margin: 0; padding: 1.4rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: .6rem; }
.review img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-s); margin-bottom: .25rem; }
.review__stars { color: var(--accent); letter-spacing: .08em; font-size: 1.05rem; }
.review blockquote { margin: 0; font-size: 1.0313rem; line-height: 1.55; flex: 1; }
.review figcaption { font-weight: 600; font-size: .9375rem; color: var(--text-2); }
.review-form h2 { font-size: 1.625rem; letter-spacing: -0.02em; margin: 0 0 .35rem; }
.review-form .chip { letter-spacing: .05em; color: var(--accent); }

.footer__install { font: inherit; color: var(--accent); font-weight: 600; padding: 0; cursor: pointer; }
.footer__install:hover { text-decoration: underline; }
@media (display-mode: standalone) { .nav { padding-top: env(safe-area-inset-top); } }
