/* Seiwatches prototype
   Palette built from the logo navy #224777. Cool slate neutrals matched to the hero footage (#dee0e6).
   Shape rule: everything is square-cornered. Circles are reserved for status dots, focus markers, the video toggle and the logo badge. */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-standard-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-ext-standard-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
/* Neutral black and white base. The logo navy is kept for details only:
   icons, cart badge, key numbers, hover and focus states. */
:root {
  --navy-600: #224777;
  --navy-200: #bccbe3;

  --bg: #f6f6f6;
  --bg-tint: #eeeeee;
  --surface: #fcfcfc;
  --text: #131313;
  --text-2: #3d3d3d;
  --muted: #5f5f5f;
  --line: #e3e3e3;
  --line-strong: #b9b9b9;
  --btn: #131313;
  --btn-hover: #2e2e2e;
  --on-btn: #fafafa;
  --accent: var(--navy-600);
  --on-accent: #fafafa;
  --accent-soft: #e6ecf5;
  --focus: var(--navy-600);
  --media-bg: #d6d7d9;
  --tile: #efefef;
  --positive: #1b7a48; /* semantic only: verified purchase badge */
  --sale: #c8102e; /* semantic only: our price against Seiko's, low-stock urgency */
  --sale-soft: #fbedef;
  --utility-bg: #131313;
  --utility-fg: #f0f0f0;
  --overlay: rgb(10 10 10 / 0.45);
  --shadow: 0 24px 60px -24px rgb(0 0 0 / 0.22);

  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.875rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.3125rem;
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 1.9vw, 2.875rem);
  --fs-h1: clamp(1.875rem, 1.3rem + 2.1vw, 2.875rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1360px;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --section-y: clamp(4rem, 2.8rem + 4.5vw, 7.5rem);
  --utility-h: 36px;
  --header-h: 64px;

  --z-header: 20;
  --z-sticky-bar: 30;
  --z-drawer: 40;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f10;
    --bg-tint: #151517;
    --surface: #1a1a1c;
    --text: #ededed;
    --text-2: #c9c9c9;
    --muted: #9b9b9b;
    --line: #28282b;
    --line-strong: #434347;
    --btn: #ededed;
    --btn-hover: #f8f8f8;
    --on-btn: #111111;
    --accent: #8fb0e3;
    --on-accent: #0f0f10;
    --accent-soft: #1b2638;
    --focus: #8fb0e3;
    --media-bg: #2a2a2d;
    --tile: #e4e4e4;
    --positive: #6fcf97;
    --sale: #ff7a7a;
    --sale-soft: #2a1618;
    --utility-bg: #1c1c1f;
    --utility-fg: #e6e6e6;
    --overlay: rgb(0 0 0 / 0.6);
    --shadow: 0 24px 60px -24px rgb(0 0 0 / 0.6);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--navy-200); color: #131313; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: 0.75rem 1rem; background: var(--accent); color: var(--on-accent); font-weight: 600; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg-tint); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  font-stretch: 86%;
  line-height: 1.04;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.h3 { font-size: var(--fs-h3); font-weight: 600; font-stretch: 90%; line-height: 1.15; letter-spacing: -0.015em; }
.lead { font-size: var(--fs-md); color: var(--text-2); max-width: 58ch; text-wrap: pretty; }
.ref { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.02em; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.5rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { --btn-bg: var(--btn); --btn-fg: var(--on-btn); --btn-bd: var(--btn); }
.btn--primary:hover { --btn-bg: var(--btn-hover); --btn-bd: var(--btn-hover); }
.btn--outline:hover { --btn-bg: var(--text); --btn-fg: var(--bg); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn.is-added { --btn-bg: var(--text); --btn-bd: var(--text); --btn-fg: var(--bg); }

.link-arrow {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.icon-btn:hover { background: var(--bg-tint); }
.icon-btn .icon { width: 24px; height: 24px; }

/* ---------- Product system: identical for every product, present and future ---------- */
/* Tile: every photo sits on the same neutral grey; multiply melts packshot white backgrounds into it. */
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: var(--tile); }
.tile img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.zoomable { cursor: zoom-in; }
.zoomable img { transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform 0.5s var(--ease); }
.zoomable:focus-visible { outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .zoomable.is-zooming img { transform: scale(2.1); transition-duration: 0.3s; }
}

/* Reassurance under every add-to-cart button */
.reassure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 1rem; font-size: var(--fs-xs); color: var(--text-2); }
.reassure li { display: flex; align-items: center; gap: 0.5rem; }
.reassure .icon { width: 18px; height: 18px; color: var(--accent); }

/* Stock urgency, driven by real stock only */
.stock__dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sale); }
.stock__dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .stock__dot::after { animation: stock-pulse 1.8s var(--ease) infinite; }
}
@keyframes stock-pulse { from { transform: scale(1); opacity: 0.55; } to { transform: scale(3.2); opacity: 0; } }
.stock-badge { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--fs-xs); font-weight: 600; line-height: 1.2; color: var(--sale); }
.stock-panel { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.9rem 1rem; border: 1px solid color-mix(in srgb, var(--sale) 35%, transparent); background: var(--sale-soft); }
.stock-panel .stock__dot { margin-top: 0.5em; }
.stock-panel__title { font-weight: 600; color: var(--sale); }
.stock-panel__text { margin-top: 0.15rem; font-size: var(--fs-sm); color: var(--text-2); }
/* Sold out: information, not urgency */
.stock-badge--out, .stock-panel--out .stock-panel__title { color: var(--muted); }
.stock-badge--out .stock__dot, .stock-panel--out .stock__dot { background: var(--muted); }
.stock-badge--out .stock__dot::after, .stock-panel--out .stock__dot::after { animation: none; }
.stock-panel--out { border-color: var(--line-strong); background: var(--bg-tint); }
/* Special series (limited run, market exclusive): a fact about the watch, in the brand colour, not urgency red */
.stock-badge--edition { color: var(--text); }
.stock-panel--edition { border-color: color-mix(in srgb, var(--accent) 30%, transparent); background: var(--accent-soft); }
.stock-panel--edition .icon { flex: none; width: 20px; height: 20px; margin-top: 0.1em; color: var(--accent); }
.stock-panel--edition .stock-panel__title { color: var(--text); }

/* Price: ours in red, the official Seiko price struck through */
.price { display: grid; gap: 0.45rem; }
.price__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.35rem 0.75rem; }
.price__amount { font-size: 2rem; font-weight: 600; font-stretch: 90%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price__amount.is-sale, .price-tag__now.is-sale, .strip__price.is-sale { color: var(--sale); }
.price__was { font-size: var(--fs-lg); color: var(--muted); font-variant-numeric: tabular-nums; text-decoration-thickness: 1.5px; }
.price__saving { font-size: var(--fs-sm); color: var(--text-2); }
.price__chip { display: inline-block; margin-right: 0.2rem; padding: 0.15rem 0.45rem; background: var(--sale-soft); color: var(--sale); font-size: var(--fs-xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.price__ship { font-size: var(--fs-sm); color: var(--muted); }
.price-tag { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.5rem; font-variant-numeric: tabular-nums; }
.price-tag__now { font-weight: 600; }
.price-tag__was { font-size: var(--fs-xs); font-weight: 400; color: var(--muted); }

/* Drawn French flag */
.flag { flex: none; width: 18px; height: 12px; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.14); }

/* ---------- Utility bar ---------- */
.utility {
  height: var(--utility-h);
  background: var(--utility-bg);
  color: var(--utility-fg);
  font-size: var(--fs-xs);
  font-weight: 500;
  overflow: hidden;
}
.utility__list {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.utility__item { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.utility__item .icon { width: 16px; height: 16px; }
.utility__item .flag { width: 16px; height: 11px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.28); }
.utility__item strong { font-weight: 700; }
/* Tablet and small laptop: the three first promises only, the bar never clips */
@media (min-width: 768px) and (max-width: 1279px) { .utility__item:nth-child(n + 4) { display: none; } }
@media (max-width: 767px) {
  /* Outgoing message leaves first, incoming one arrives after it: never two lines on top of each other */
  .utility__item { position: absolute; inset: 0; justify-content: center; opacity: 0; transform: translateY(-8px); transition: opacity 0.25s ease, transform 0.25s ease; }
  .utility__item.is-current { opacity: 1; transform: none; transition: opacity 0.5s var(--ease) 0.3s, transform 0.5s var(--ease) 0.3s; }
  .no-js .utility__item:first-child { opacity: 1; transform: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; justify-self: center; }
.brand img { width: 44px; height: 44px; }
.brand__word { display: none; font-weight: 600; font-stretch: 88%; font-size: 1.0625rem; letter-spacing: 0.06em; text-transform: uppercase; }
.site-nav { display: none; }
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 0.25rem; }
.site-header__menu { justify-self: start; margin-left: -10px; }
.cart-btn__count {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}
.cart-btn__count.is-bumped { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }

@media (min-width: 1024px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 2.5rem; }
  .site-header__menu { display: none; }
  .brand { justify-self: start; }
  .brand__word { display: inline; }
  .site-nav { display: block; }
  .site-nav ul { display: flex; gap: 2rem; }
  .site-nav a {
    position: relative;
    font-size: var(--fs-sm);
    font-weight: 500;
    text-decoration: none;
    color: var(--text-2);
    padding-block: 0.5rem;
    transition: color 0.2s var(--ease);
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
  }
  .site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--text); }
  .site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }
}

/* ---------- Drawers (menu + cart) ---------- */
.drawer {
  position: fixed;
  inset: 0 auto 0 auto;
  width: min(440px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), overlay 0.45s allow-discrete, display 0.45s allow-discrete;
}
.drawer:not([open]) { display: none; }
.drawer--right { right: 0; left: auto; transform: translateX(100%); }
.drawer--left { left: 0; right: auto; transform: translateX(-100%); }
.drawer[open] { transform: none; }
@starting-style {
  .drawer--right[open] { transform: translateX(100%); }
  .drawer--left[open] { transform: translateX(-100%); }
}
.drawer::backdrop {
  background: var(--overlay);
  opacity: 0;
  transition: opacity 0.45s var(--ease), overlay 0.45s allow-discrete, display 0.45s allow-discrete;
}
.drawer[open]::backdrop { opacity: 1; }
@starting-style { .drawer[open]::backdrop { opacity: 0; } }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-inline: 1.25rem 0.75rem;
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-size: var(--fs-md); font-weight: 600; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem; }
.drawer__foot { padding: 1.25rem; border-top: 1px solid var(--line); background: var(--surface); }

.menu-links { display: grid; }
.menu-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  font-stretch: 88%;
  letter-spacing: -0.015em;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu-promises { display: grid; gap: 0.85rem; margin-top: 2rem; color: var(--text-2); font-size: var(--fs-sm); }
.menu-promises li { display: flex; align-items: center; gap: 0.6rem; }

/* Cart */
.cart-line {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.cart-line__thumb { width: 76px; aspect-ratio: 1; }
.cart-line__name { font-weight: 600; line-height: 1.3; }
.cart-line__price { font-weight: 600; text-align: right; }
.qty { display: inline-flex; align-items: center; margin-top: 0.75rem; border: 1px solid var(--line-strong); }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; }
.qty button:hover { background: var(--bg-tint); }
.qty .icon { width: 16px; height: 16px; }
.qty output { min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.cart-line .stock-badge { margin-top: 0.4rem; }
.cart-line__note { margin-top: 0.35rem; font-size: var(--fs-xs); color: var(--muted); }
.cart-saving { margin-bottom: 1rem; padding: 0.6rem 0.75rem; background: var(--sale-soft); color: var(--sale); font-size: var(--fs-sm); font-weight: 600; }
.cart-line__remove { margin-top: 0.5rem; font-size: var(--fs-xs); color: var(--muted); text-decoration: underline; }
.cart-empty { display: grid; justify-items: start; gap: 1rem; padding-block: 2rem; }
.cart-empty p { color: var(--text-2); }
.cart-totals { display: grid; gap: 0.4rem; margin-bottom: 1rem; font-size: var(--fs-sm); }
.cart-totals div { display: flex; justify-content: space-between; }
.cart-totals .is-total { font-size: var(--fs-md); font-weight: 600; padding-top: 0.5rem; border-top: 1px solid var(--line); margin-top: 0.25rem; }
.cart-note { margin-top: 0.75rem; padding: 0.6rem 0.75rem; background: var(--bg-tint); font-size: var(--fs-xs); color: var(--text-2); }
.cart-terms { margin-top: 0.75rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.cart-terms a { color: var(--text-2); }
/* Shipping destination */
.cart-dest { margin: 0 0 1rem; padding: 0; border: 0; }
.cart-dest legend { margin-bottom: 0.5rem; padding: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.cart-dest__options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.cart-dest__option { position: relative; display: block; cursor: pointer; }
.cart-dest__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: inherit; }
.cart-dest__option span { display: grid; gap: 0.1rem; padding: 0.6rem 0.75rem; border: 1px solid var(--line-strong); font-size: var(--fs-sm); font-weight: 600; transition: border-color 0.2s var(--ease); }
.cart-dest__option small { font-size: var(--fs-xs); font-weight: 400; color: var(--muted); }
.cart-dest__option input:checked + span { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.cart-dest__option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.cart-dest__option input:disabled + span { color: var(--muted); border-style: dashed; cursor: not-allowed; }
.cart-dest__note { margin-top: 0.5rem; font-size: var(--fs-xs); color: var(--text-2); }
.cart-dest__note a { color: var(--text); }
.cart-note[hidden] { display: none; }
.cart-secure { display: flex; align-items: center; justify-content: center; gap: 0.45rem; margin-top: 0.85rem; font-size: var(--fs-xs); color: var(--muted); }
.cart-secure .icon { width: 14px; height: 14px; }

/* ---------- Hero ---------- */
/* Product only: the video fills the screen, the two CTAs sit on top of it. No headline. */
.hero {
  position: relative;
  height: calc(100svh - var(--utility-h) - var(--header-h));
  min-height: 520px;
  max-height: 980px;
  overflow: hidden;
  background: var(--media-bg);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__poster, .hero__poster img, .hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero__video { opacity: 0; transition: opacity 0.8s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(250 250 250 / 0.72);
  color: #131313;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgb(14 23 38 / 0.12);
  transition: background-color 0.2s var(--ease);
}
.hero__toggle:hover { background: rgb(250 251 252 / 0.92); }
.hero__toggle .icon { width: 18px; height: 18px; }
.hero__toggle[hidden] { display: none; }
.hero__toggle.is-paused {
  width: auto;
  gap: 0.45rem;
  padding: 0 1rem 0 0.8rem;
  grid-auto-flow: column;
  border-radius: 22px;
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* Fixed colours: the buttons sit on footage whose frames go from light grey to near black,
   so both are solid (never transparent) and do not follow the page theme. */
.hero__ctas {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  translate: -50% 0;
  width: calc(100% - 2 * var(--gutter));
  max-width: 380px;
  display: grid;
  gap: 0.625rem;
}
.hero__ctas .btn { min-height: 54px; box-shadow: 0 10px 30px -12px rgb(0 0 0 / 0.35); }
.hero__ctas .btn--primary { --btn-bg: #131313; --btn-fg: #fafafa; --btn-bd: #131313; }
.hero__ctas .btn--primary:hover { --btn-bg: #2e2e2e; --btn-bd: #2e2e2e; }
.hero__ctas .btn--light { --btn-bg: #fafafa; --btn-fg: #131313; --btn-bd: #131313; }
.hero__ctas .btn--light:hover { --btn-bg: #ffffff; }

@media (min-width: 1024px) {
  .hero { min-height: 620px; }
  .hero__ctas { bottom: clamp(1.75rem, 5vh, 3.25rem); }
  .hero__toggle { top: auto; right: var(--gutter); bottom: clamp(1.75rem, 5vh, 3.25rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__ctas { opacity: 0; transform: translateY(14px); }
  .js.is-ready .hero__ctas { opacity: 1; transform: none; transition: opacity 0.9s var(--ease) 0.15s, transform 0.9s var(--ease) 0.15s; }
}

/* ---------- Social proof strip (right under the hero) ---------- */
.proof { background: var(--bg-tint); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.proof__inner { display: grid; gap: 1.75rem; }
.proof__stats { display: grid; gap: 1.25rem; align-content: start; }
.proof__title { font-size: var(--fs-h3); font-weight: 600; font-stretch: 88%; line-height: 1.1; letter-spacing: -0.015em; }
.proof__score { display: grid; gap: 0.45rem; justify-items: start; }
.proof__value { font-size: 3rem; font-weight: 600; font-stretch: 84%; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.proof__value small { font-size: 1.125rem; color: var(--muted); letter-spacing: 0; margin-left: 0.15rem; }
.proof__count { font-size: var(--fs-xs); color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--text); }
.stars .icon { width: 16px; height: 16px; }
.stars .is-empty { color: var(--line-strong); }
.proof__insta { justify-self: start; display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.9rem; border: 1.5px solid var(--text); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.proof__insta:hover { background: var(--text); color: var(--bg); }
.proof__insta .icon { width: 18px; height: 18px; }
.proof__nav { display: none; gap: 0.5rem; }
.proof__nav .icon-btn { border: 1px solid var(--line-strong); }
.proof__nav .icon-btn[disabled] { opacity: 0.35; cursor: default; }
.proof__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(80vw, 340px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0.25rem var(--gutter) 0.5rem;
  scroll-padding-inline: var(--gutter);
}
.proof__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; min-height: 220px; padding: 1.25rem 1.5rem; background: var(--surface); border: 1px solid var(--line); }
.review blockquote p { font-size: 1rem; line-height: 1.55; text-wrap: pretty; }
.review figcaption { display: flex; align-items: center; gap: 0.75rem; font-size: var(--fs-sm); }
.review__head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.verified { display: inline-flex; align-items: center; gap: 0.3rem; font-size: var(--fs-xs); font-weight: 600; color: var(--positive); white-space: nowrap; }
.verified .icon { width: 16px; height: 16px; }
.review__author { font-weight: 600; }
/* Customer photo: small on the page, full screen on click */
.review__photo { flex: none; width: 52px; height: 52px; padding: 0; overflow: hidden; cursor: zoom-in; background: var(--tile); transition: box-shadow 0.2s var(--ease); }
.review__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.review__photo:hover img { transform: scale(1.08); }
.review__photo:hover { box-shadow: 0 0 0 1.5px var(--text); }
@media (min-width: 1024px) {
  .proof__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; align-items: center; }
  .proof__track { margin-inline: 0; padding-inline: 0; grid-auto-columns: calc((100% - 2rem) / 2.4); }
  .proof__nav { display: flex; }
}

/* ---------- Product grid: one card per colourway (home and product page) ---------- */
.collection__head { margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 0.75rem; }
.card { display: grid; align-content: start; gap: 0.5rem; }
.card__link { display: grid; gap: 0.3rem; text-decoration: none; }
.card__media { aspect-ratio: 1 / 1; margin-bottom: 0.6rem; }
.card__media img { position: absolute; inset: 0; transition: transform 0.6s var(--ease), opacity 0.5s var(--ease); }
/* Worn photo: a real-life picture, so no blend, revealed on hover only */
.card__media .card__worn { opacity: 0; mix-blend-mode: normal; }
.card__name { font-size: var(--fs-md); font-weight: 600; line-height: 1.25; }
.card__dial { font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
.card__price { margin-top: 0.15rem; }
/* The tile stays light in dark mode too, so the badge keeps light-mode colours */
.card__media .stock-badge { position: absolute; top: 0.6rem; left: 0.6rem; z-index: 1; padding: 0.35rem 0.55rem; background: #fafafa; color: #c8102e; }
.card__media .stock-badge .stock__dot { background: #c8102e; }
.card__media .stock-badge--out { color: #5f5f5f; }
.card__media .stock-badge--edition { color: #131313; }
.card__media .stock-badge--out .stock__dot { background: #5f5f5f; }
.cards--related { margin-top: 2rem; }
@media (hover: hover) and (pointer: fine) {
  .card__link:hover .card__worn { opacity: 1; }
  .card__link:hover .card__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
}
@media (min-width: 768px) { .cards { gap: 2.5rem 1rem; } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 1.25rem; } }
.buy .price__amount { font-size: 1.625rem; }

/* ---------- Product exploration ---------- */
.explore__head { margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.explore__grid { display: grid; gap: 0; }
.explore__stage {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  background: var(--bg);
  padding-bottom: 1rem;
}
.explore__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--media-bg);
}
.explore__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform-origin: var(--fx) var(--fy);
  transition: opacity 0.6s var(--ease), transform 1.1s var(--ease);
}
.explore__img.is-active { opacity: 1; }
/* Zoom around the focal point, then slide it to the centre of the frame */
.explore__frame.is-zoomed .explore__img.is-active { transform: translate(calc(50% - var(--fx)), calc(50% - var(--fy))) scale(var(--z)); }
.explore__marker {
  position: absolute;
  left: var(--fx);
  top: var(--fy);
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  border: 1.5px solid #fafbfc;
  box-shadow: 0 0 0 1px rgb(14 23 38 / 0.35), inset 0 0 0 1px rgb(14 23 38 / 0.25);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease), left 0.6s var(--ease), top 0.6s var(--ease);
}
.explore__frame.is-zoomed .explore__marker { opacity: 0; transform: scale(1.6); }
.explore__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1.5px solid var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover, .chip[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.chip .icon { width: 18px; height: 18px; }

.explore__steps { display: grid; }
.explore__step {
  min-height: 52vh;
  display: grid;
  align-content: center;
  gap: 0.75rem;
  padding-block: 2rem;
  opacity: 0.38;
  transition: opacity 0.5s var(--ease);
}
.explore__step.is-active { opacity: 1; }
.explore__step:last-child { min-height: 48vh; }
.explore__step button { text-align: left; }
.explore__step p { color: var(--text-2); max-width: 44ch; }
.explore__index { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }

@media (min-width: 1024px) {
  .explore__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .explore__stage { top: calc(var(--header-h) + 2rem); background: none; padding-bottom: 0; }
  .explore__step { min-height: 78vh; }
  .explore__step:first-child { padding-top: 0; min-height: 60vh; align-content: start; }
  .explore__step:last-child { min-height: 60vh; }
}
@media (prefers-reduced-motion: reduce) {
  .explore__img, .explore__marker { transition: none; }
}

/* ---------- Trust bento ---------- */
.trust__head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.trust__grid { display: grid; gap: 1rem; }
.trust-cell { display: grid; align-content: start; gap: 0.75rem; padding: clamp(1.5rem, 2.5vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); }
.trust-cell p { color: var(--text-2); max-width: 46ch; }
.trust-cell .icon { width: 28px; height: 28px; color: var(--accent); }
.trust-cell--media { padding: 0; overflow: hidden; }
.trust-cell--media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; }
.trust-cell--media .trust-cell__body { display: grid; gap: 0.75rem; padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.trust-cell--brand { align-content: space-between; min-height: 280px; }
.trust-cell--brand .trust-cell__big { color: var(--accent); }
.trust-cell__big { font-size: clamp(4.5rem, 3rem + 6vw, 8.5rem); font-weight: 600; font-stretch: 78%; line-height: 0.85; letter-spacing: -0.04em; }
.trust-cell__big span { font-size: 0.32em; letter-spacing: -0.01em; margin-left: 0.15em; }
.pay-marks { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.pay-marks svg { width: 46px; height: 30px; padding: 5px 8px; border: 1px solid var(--line-strong); color: var(--text); }

@media (min-width: 900px) {
  .trust__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .trust-cell--media { grid-row: 1 / span 2; }
  /* The photo keeps its 4:3 frame so the logo stamped bottom-left is never cropped */
  .trust-cell--media .trust-cell__body { flex: 1; align-content: end; }
  .trust-cell--media { display: flex; flex-direction: column; }
  .trust-cell--brand { grid-column: 2 / span 2; grid-template-columns: auto 1fr; align-items: end; align-content: end; gap: 2.5rem; }
}

/* ---------- Facts (precision + delivery) ---------- */
.facts-grid { display: grid; gap: 2.5rem; margin-top: clamp(2rem, 4vw, 3.5rem); }
.stat { display: grid; gap: 0.75rem; padding-top: 1.25rem; border-top: 2px solid var(--text); }
.stat__value { font-size: clamp(2.75rem, 1.8rem + 4vw, 5rem); font-weight: 600; font-stretch: 80%; line-height: 0.95; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: var(--fs-md); max-width: 36ch; }
.stat__note { font-size: var(--fs-sm); color: var(--muted); max-width: 44ch; }
@media (min-width: 900px) {
  .facts-grid { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 2rem; }
.faq__aside { display: grid; gap: 1rem; align-content: start; }
.faq__aside p { color: var(--text-2); max-width: 38ch; }
.faq__aside .btn { justify-self: start; margin-top: 0.5rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
  font-size: var(--fs-md);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 20px; height: 20px; transition: transform 0.35s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { padding-bottom: 1.5rem; color: var(--text-2); max-width: 62ch; }
.faq__answer p + p { margin-top: 0.75rem; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 7rem); }
  .faq__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Final CTA band ---------- */
.final { border-top: 1px solid var(--line); }
.final__inner { display: grid; gap: 1.75rem; }
.final__host { display: grid; gap: 1.5rem; }
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.strip__item { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.75rem 0.5rem 0.5rem; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color 0.2s var(--ease); }
.strip__item:hover { border-color: var(--text); }
.strip__thumb { width: 56px; height: 56px; flex: none; }
.strip__text { display: grid; min-width: 0; line-height: 1.3; }
.strip__name { font-size: var(--fs-sm); font-weight: 600; }
.strip__price { font-size: var(--fs-sm); font-weight: 600; font-variant-numeric: tabular-nums; }
.strip__text .stock-badge { margin-top: 0.2rem; }
@media (min-width: 1024px) {
  .final__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; gap: 3rem; }
  .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .final__host .reassure { grid-template-columns: repeat(4, auto); justify-content: start; column-gap: 2rem; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #efefef;
  color: #131313;
  opacity: 1;
  transition: opacity 0.35s var(--ease), overlay 0.35s allow-discrete, display 0.35s allow-discrete;
}
.lightbox:not([open]) { display: none; opacity: 0; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox::backdrop { background: rgb(0 0 0 / 0.5); }
.lightbox__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { display: grid; place-items: center; margin: 0; padding: clamp(1rem, 4vw, 3rem); scroll-snap-align: center; min-height: 0; }
.lightbox__slide img { max-width: 100%; max-height: calc(100dvh - 2 * clamp(1rem, 4vw, 3rem)); object-fit: contain; mix-blend-mode: multiply; }
/* Real-life photos: dark backdrop, no blend */
.lightbox--photo { background: #0f0f10; }
.lightbox--photo .lightbox__slide img { mix-blend-mode: normal; }
.lightbox .icon-btn { position: absolute; background: rgb(250 250 250 / 0.85); color: #131313; }
.lightbox .icon-btn:hover { background: #fafafa; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; translate: 0 -50%; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
@media (max-width: 767px) { .lightbox__nav { display: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; font-size: var(--fs-sm); }
.footer__top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer__brand { display: grid; gap: 1rem; align-content: start; }
.footer__brand img { width: 72px; height: 72px; }
.footer__brand p { color: var(--text-2); max-width: 34ch; }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer__col h2 { font-size: var(--fs-sm); font-weight: 600; margin-bottom: 0.85rem; }
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col a { color: var(--text-2); text-decoration: none; }
.footer__col a:hover { color: var(--text); text-decoration: underline; }
.newsletter { display: grid; gap: 0.75rem; align-content: start; }
.newsletter h2 { font-size: var(--fs-md); font-weight: 600; }
.newsletter p { color: var(--text-2); }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); }
.field__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.field__row .input { min-width: 0; }
/* Grid children may shrink below their content width, so the footer never widens the page */
.footer__top > * { min-width: 0; }
.input {
  min-height: 52px;
  padding: 0 1rem;
  border: 1.5px solid var(--line-strong);
  border-right: 0;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
.input::placeholder { color: var(--muted); }
.input:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.field__row .btn { min-height: 52px; }
.field__msg { font-size: var(--fs-xs); min-height: 1.2em; }
.field__msg.is-error { color: #b42318; }
.field__msg.is-ok { color: var(--text-2); }
@media (prefers-color-scheme: dark) { .field__msg.is-error { color: #ff9b8f; } }
.footer__bottom { display: grid; gap: 1rem; padding-top: 1.5rem; color: var(--muted); font-size: var(--fs-xs); }
.footer__bottom .pay-marks svg { width: 40px; height: 26px; color: var(--muted); }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 3rem; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Product page ---------- */
.breadcrumb { padding-block: 1.25rem; font-size: var(--fs-xs); color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line-strong); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }

.pdp { display: grid; gap: 2rem; padding-bottom: var(--section-y); }
.gallery { position: relative; }
.gallery__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { scroll-snap-align: center; aspect-ratio: 1 / 1; }
.gallery__slide.ph { background-color: var(--bg-tint); }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { display: flex; justify-content: center; gap: 0.5rem; padding-top: 0.9rem; }
.gallery__dots button { width: 28px; height: 20px; display: grid; place-items: center; }
.gallery__dots button::before { content: ""; width: 100%; height: 2px; background: var(--line-strong); transition: background-color 0.3s var(--ease); }
.gallery__dots button[aria-current="true"]::before { background: var(--text); }
@media (min-width: 1024px) {
  .pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
  .gallery__track { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; gap: 0.75rem; overflow: visible; margin-inline: 0; }
  .gallery__slide:first-child { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
  /* Even photo count: the last one closes the grid full width instead of leaving a gap */
  .gallery__slide:last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 5 / 4; }
  .gallery__dots { display: none; }
}

.buy { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1024px) { .buy { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.buy__title { font-size: clamp(2.25rem, 1.7rem + 2vw, 3.25rem); font-weight: 600; font-stretch: 82%; line-height: 0.98; letter-spacing: -0.03em; }
.buy__head { display: grid; gap: 0.35rem; }
.buy__desc { color: var(--text-2); }
.buy__actions { display: grid; gap: 1rem; }
.eta { display: grid; gap: 0.85rem; padding: 1rem; background: var(--bg-tint); font-size: var(--fs-sm); }
.eta__row { display: flex; gap: 0.75rem; align-items: flex-start; }
.eta .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.eta .flag { width: 20px; height: 13px; margin-top: 4px; }
.eta strong { font-weight: 600; }
.buy__help { display: inline-flex; align-items: center; gap: 0.5rem; justify-self: start; font-size: var(--fs-sm); font-weight: 600; }
.buy__help .icon { width: 18px; height: 18px; }

.accordion .faq__item summary { font-size: var(--fs-md); padding-block: 1.1rem; }
.spec-groups { display: grid; gap: 1rem; }
.spec-group h3 { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); margin-bottom: 0.4rem; }
.spec-group dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1rem; }
.spec-group dt { font-size: var(--fs-xs); color: var(--muted); }
.spec-group dd { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }

.sticky-buy {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky-bar);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy__thumb { width: 48px; height: 48px; flex: none; }
.sticky-buy__info { display: grid; line-height: 1.25; min-width: 0; }
.sticky-buy__info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__price { font-size: var(--fs-sm); }
.sticky-buy .btn { margin-left: auto; min-height: 48px; padding-inline: 1.25rem; }
@media (min-width: 1024px) { .sticky-buy { display: none; } }

/* Information still to provide before going live: highlighted so it cannot be missed */
.ph-inline { padding: 0.05em 0.35em; background: #fff1c2; color: #6b4a00; font-style: italic; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .ph-inline { background: #3a2e0a; color: #ffd873; } }

/* ---------- Legal pages ---------- */
/* minmax(0, 1fr): a wide table scrolls inside its own box instead of widening the page */
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: clamp(1.5rem, 4vw, 3.5rem) var(--section-y); }
.legal__nav-title { margin-bottom: 0.75rem; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.legal__nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.legal__nav a { display: block; padding: 0.45rem 0.75rem; border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-2); text-decoration: none; transition: border-color 0.2s var(--ease), color 0.2s var(--ease); }
.legal__nav a:hover { border-color: var(--text); color: var(--text); }
.legal__nav a[aria-current="page"] { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }
@media (min-width: 1024px) {
  .legal { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 4rem; align-items: start; }
  .legal__nav { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .legal__nav ul { display: grid; gap: 0; }
  .legal__nav a { padding: 0.55rem 0 0.55rem 1rem; border: 0; border-left: 2px solid var(--line); }
  .legal__nav a[aria-current="page"] { background: none; border-left-color: var(--text); color: var(--text); font-weight: 600; }
}
.legal__article { max-width: 72ch; }
.legal__head { display: grid; gap: 0.75rem; padding-bottom: 1.5rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.legal__head .lead { max-width: 64ch; }
.legal__updated { font-size: var(--fs-sm); color: var(--muted); }
.legal__article section { padding-block: 1.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.legal__article section:last-child { border-bottom: 0; }
.legal__article h2 { margin-bottom: 0.75rem; font-size: var(--fs-lg); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.legal__article h3 { margin: 1.25rem 0 0.5rem; font-size: var(--fs-md); font-weight: 600; }
.legal__article p, .legal__article li { color: var(--text-2); line-height: 1.65; text-wrap: pretty; }
.legal__article * + p, .legal__article * + ul, .legal__article * + ol { margin-top: 0.75rem; }
.legal__article ul, .legal__article ol { display: grid; gap: 0.4rem; padding-left: 1.25rem; }
.legal__article ul { list-style: disc; }
.legal__article ol { list-style: decimal; }
.legal__article a { color: var(--text); text-decoration: underline; }
.legal__article strong { font-weight: 600; color: var(--text); }
/* Identity facts (who, where, registration) */
.legal-facts { margin-top: 0.5rem; border-top: 1px solid var(--line); }
.legal-facts div { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.legal-facts dt { color: var(--muted); }
.legal-facts dd { color: var(--text); overflow-wrap: anywhere; }
@media (max-width: 599px) { .legal-facts div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; } }
/* Text reproduced as required (legal guarantee box, withdrawal form) */
.legal-box { margin-top: 1rem; padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid var(--line-strong); background: var(--surface); }
.legal-box p, .legal-box li { font-size: var(--fs-sm); }
.legal-box__title { margin-bottom: 0.5rem; font-weight: 600; color: var(--text) !important; }
.legal-table { margin-top: 1rem; overflow-x: auto; }
.legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-sm); }
.legal-table th, .legal-table td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.5; }
.legal-table th { background: var(--bg-tint); color: var(--text); font-weight: 600; }
.legal-table td { color: var(--text-2); }
.legal-steps { counter-reset: step; list-style: none !important; padding-left: 0 !important; gap: 0.75rem !important; }
.legal-steps li { position: relative; padding-left: 2.5rem; }
.legal-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0.1rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid var(--text); border-radius: 50%; font-size: var(--fs-xs); font-weight: 600; color: var(--text); }

/* ---------- Thank-you page (after Stripe payment) ---------- */
.thanks { display: grid; justify-items: start; gap: 1.25rem; max-width: 62ch; padding-block: clamp(3rem, 8vw, 6rem) var(--section-y); }
.thanks__icon { width: 40px; height: 40px; color: var(--accent); }
.thanks__steps { display: grid; margin: 0.5rem 0; }
.thanks__steps li, .thanks > p { color: var(--text-2); line-height: 1.6; }
.thanks__steps strong { color: var(--text); font-weight: 600; }
.thanks a:not(.btn) { color: var(--text); }

/* Stand-alone input (not glued to a button) */
.input--full { width: 100%; border-right: 1.5px solid var(--line-strong); }
.thanks__order { display: grid; gap: 0.35rem; width: 100%; padding: 1.1rem 1.25rem; border: 1px solid var(--line); background: var(--surface); }
.thanks__order p { color: var(--text-2); }
.thanks__number { font-family: var(--font-mono); font-size: var(--fs-lg); font-weight: 600; color: var(--text) !important; letter-spacing: 0.02em; }
.thanks__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Order tracking page ---------- */
.track { display: grid; gap: 1.75rem; max-width: 640px; padding-block: clamp(2rem, 5vw, 4rem) var(--section-y); }
.track__head { display: grid; gap: 0.75rem; }
.track__form { display: grid; gap: 1rem; padding: clamp(1.1rem, 3vw, 1.5rem); border: 1px solid var(--line); background: var(--surface); }
.track__form .btn { justify-self: start; }
.track__help { font-size: var(--fs-sm); color: var(--text-2); }
.track__help a { color: var(--text); }
.track-card { display: grid; gap: 1.25rem; padding: clamp(1.1rem, 3vw, 1.5rem); border: 1px solid var(--line); background: var(--surface); }
.track-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 0.5rem 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.track-card__label { font-size: var(--fs-xs); color: var(--muted); }
.track-card__number { font-family: var(--font-mono); font-size: var(--fs-lg); font-weight: 600; letter-spacing: 0.02em; }
.track-card__date, .track-card__items { font-size: var(--fs-sm); color: var(--text-2); }
.track-card__estimate { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); color: var(--text-2); }
.track-card__estimate .icon { width: 18px; height: 18px; color: var(--accent); }
.track-steps { display: grid; gap: 0; }
.track-steps__item { position: relative; display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); gap: 0.85rem; padding-bottom: 1.1rem; }
.track-steps__item:not(:last-child)::before { content: ""; position: absolute; left: calc(0.875rem - 1px); top: 1.75rem; bottom: 0; width: 2px; background: var(--line); }
.track-steps__item.is-done:not(:last-child)::before { background: var(--text); }
.track-steps__dot { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--surface); }
.track-steps__dot .icon { width: 14px; height: 14px; }
.is-done .track-steps__dot, .is-current .track-steps__dot { border-color: var(--text); background: var(--text); color: var(--bg); }
.track-steps__label { padding-top: 0.15rem; font-weight: 600; }
.is-todo .track-steps__label { font-weight: 500; color: var(--muted); }
.track-steps__date { font-weight: 400; color: var(--muted); }
.track-steps__detail { margin-top: 0.15rem; font-size: var(--fs-sm); color: var(--text-2); }
.track-parcel { display: grid; gap: 0.6rem; padding: 1rem; background: var(--bg-tint); }
.track-parcel__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; font-size: var(--fs-sm); }
.track-parcel__row span { min-width: 8.5rem; color: var(--muted); }
.track-parcel__row .ref { font-size: var(--fs-sm); color: var(--text); }
.track-parcel__copy { font-size: var(--fs-xs); font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.track-parcel__note { font-size: var(--fs-xs); color: var(--text-2); }

/* ---------- Admin (orders) ---------- */
.admin { display: grid; gap: 1.5rem; max-width: 980px; padding-block: 2rem 4rem; }
.admin__head { display: flex; align-items: center; gap: 0.85rem; }
.admin__login { display: grid; gap: 1rem; max-width: 420px; }
.admin__login .btn { justify-self: start; }
.admin__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: 1rem; }
.admin__bar .btn { min-height: 40px; padding-inline: 1rem; }
.admin__mode { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-sm); }
.admin__logout { margin-left: auto; font-size: var(--fs-sm); color: var(--muted); text-decoration: underline; }
.admin__list { display: grid; gap: 1rem; }
.admin__empty { color: var(--text-2); }
.admin-order { display: grid; gap: 1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); background: var(--surface); }
.admin-order__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 0.5rem 1rem; }
.admin-order__number { font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-md); }
.admin-order__meta, .admin-order__body p, .admin-order__body li { font-size: var(--fs-sm); color: var(--text-2); }
.admin-order__body { display: grid; gap: 1rem; }
.admin-order__body a { color: var(--text); }
.admin-order__label { margin-bottom: 0.25rem; font-size: var(--fs-xs) !important; font-weight: 600; color: var(--muted) !important; }
@media (min-width: 720px) { .admin-order__body { grid-template-columns: 1fr 1fr; } }
.admin-order__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.admin-order__actions .btn { min-height: 42px; padding-inline: 1rem; }
.admin-ship { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.admin-ship select, .admin-ship input:not([type="checkbox"]) { min-height: 42px; padding: 0 0.75rem; border: 1.5px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit; font-size: var(--fs-sm); }
.admin-ship__notify { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-xs); color: var(--text-2); }
.admin-order__sent { width: 100%; font-size: var(--fs-xs); color: var(--positive); }
.admin-order__feedback { display: grid; gap: 0.6rem; padding: 0.85rem 1rem; background: var(--bg-tint); font-size: var(--fs-sm); }
.admin-order__feedback.is-error { background: var(--sale-soft); }
.admin-order__feedback textarea { width: 100%; padding: 0.6rem; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: inherit; font-size: var(--fs-xs); resize: vertical; }
.admin-order__feedback .btn { justify-self: start; min-height: 40px; }
.admin-chip { padding: 0.25rem 0.6rem; font-size: var(--fs-xs); font-weight: 600; border: 1px solid var(--line-strong); white-space: nowrap; }
.admin-chip--paid { border-color: var(--sale); color: var(--sale); }
.admin-chip--filmed { border-color: var(--accent); color: var(--accent); }
.admin-chip--shipped { background: var(--text); border-color: var(--text); color: var(--bg); }
.admin-chip--delivered { color: var(--muted); }

/* ---------- Activity notifications (product page, real events only) ---------- */
.toast {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: calc(var(--z-sticky-bar) - 1);
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  width: min(380px, calc(100vw - 32px));
  padding: 0.75rem 0.5rem 0.75rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .toast { transform: none; } }
/* Phones and tablets: sit above the sticky buy bar when it is shown */
@media (max-width: 1023px) {
  body:has(.sticky-buy.is-visible) .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
.toast__content { display: flex; align-items: flex-start; gap: 0.75rem; flex: 1; min-width: 0; }
.toast__media, .toast__icon { flex: none; width: 52px; height: 52px; }
.toast__media img { width: 100%; height: 100%; object-fit: cover; }
.toast__icon { display: grid; place-items: center; background: var(--bg-tint); color: var(--accent); }
.toast__icon .icon { width: 22px; height: 22px; }
.toast__body { min-width: 0; font-size: var(--fs-xs); line-height: 1.4; color: var(--text-2); }
.toast__title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; color: var(--text); }
.toast__title .stars .icon { width: 13px; height: 13px; }
.toast__text { margin-top: 0.2rem; }
.toast__meta { margin-top: 0.25rem; color: var(--muted); }
.toast__close { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: -0.35rem 0 0; color: var(--muted); }
.toast__close:hover { color: var(--text); }
.toast__close .icon { width: 16px; height: 16px; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer, .drawer::backdrop { transition: none; }
}
