/* ==========================================================================
   Maison of Caviar — style.css
   Mobile-first: base styles target ~360px, breakpoints only ever ADD.
   Order: tokens · reset · type · buttons · header · nav · footer · hero ·
          marquee · cards · shop · product · drawer · contact · 404 · motion
   ========================================================================== */

/* ---------------------------------------------------------------- TOKENS */
:root {
  --ink:        #0D0D0D;
  --ink-soft:   #141414;
  --ink-raise:  #191919;
  --line:       #262626;
  --gold:       #C9A24C;
  --gold-soft:  #E0C489;
  --gold-dim:   rgba(201, 162, 76, 0.30);
  --cream:      #F5EFE6;
  --cream-dim:  rgba(245, 239, 230, 0.66);
  --cream-mute: rgba(245, 239, 230, 0.42);

  --serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* one easing curve site-wide: slow-out, never bouncy */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t:    520ms;

  --pad:  1.25rem;               /* page gutter, grows at breakpoints */
  --max:  1400px;                /* content cap so ultrawide doesn't sprawl */
  --hdr:  4.25rem;               /* header height */
}

/* ----------------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;            /* backup only — real clipping is per-component */
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;               /* 16px floor: stops iOS zoom-on-focus */
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold); color: var(--ink); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: 0.85rem 1.25rem; font-size: 0.95rem; letter-spacing: 0.08em;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.rule { height: 1px; background: var(--gold-dim); margin: 1.75rem 0; }

/* placeholder copy marker — visible so it cannot ship by accident */
.ph {
  display: inline-block;
  font-size: 0.75rem; letter-spacing: 0.06em;
  color: var(--gold); opacity: 0.75;
  border: 1px dashed var(--gold-dim);
  padding: 0.2rem 0.5rem; border-radius: 2px;
}

/* ------------------------------------------------------------ TYPOGRAPHY */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.12; margin: 0; }

.eyebrow {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 0.9rem;
}

.h-display { font-size: clamp(2.5rem, 11vw, 5.5rem); letter-spacing: 0.01em; }
.h-section { font-size: clamp(1.9rem, 6.5vw, 3.1rem); }

.lede { font-size: clamp(1rem, 3.6vw, 1.15rem); color: var(--cream-dim); max-width: 62ch; }

.section { padding-block: clamp(4rem, 13vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 9vw, 5rem); }
.center { text-align: center; margin-inline: auto; }

/* --------------------------------------------------------------- BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem;                       /* 48px tap target */
  padding: 0.9rem 2rem;
  font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--gold); background: transparent; color: var(--gold);
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.btn--gold  { background: var(--gold); color: var(--ink); }
.btn--ghost { border-color: var(--line); color: var(--cream-dim); }
.btn--block { display: flex; width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover        { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
  .btn--ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold); }
}

/* ---------------------------------------------------------------- HEADER */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--hdr);
  display: flex; align-items: center;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(13, 13, 13, 0.94);
  border-bottom-color: var(--line);
}

.site-header__inner {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

/* wordmark, not the badge: crisp at every size and legible at header height */
.brand { display: flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__text {
  font-family: var(--serif);
  font-size: clamp(1.02rem, 3.6vw, 1.35rem);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); white-space: nowrap;
}

.nav-desk { display: none; }

.header-tools { display: flex; align-items: center; gap: 0.25rem; }

.icon-btn {
  position: relative;
  width: 2.75rem; height: 2.75rem;        /* 44px minimum */
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--cream);
  transition: color var(--t) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { color: var(--gold); } }
.icon-btn svg { width: 21px; height: 21px; }

.cart-badge {
  position: absolute; top: 0.3rem; right: 0.25rem;
  min-width: 1.05rem; height: 1.05rem; padding: 0 0.25rem;
  display: grid; place-items: center;
  background: var(--gold); color: var(--ink);
  font-size: 0.62rem; font-weight: 500; line-height: 1; border-radius: 999px;
}
.cart-badge[hidden] { display: none; }
.cart-badge.is-pulse { animation: badgePulse 600ms var(--ease); }
@keyframes badgePulse {
  0% { transform: scale(1); } 42% { transform: scale(1.32); } 100% { transform: scale(1); }
}

/* burger */
.burger__bars { display: block; width: 20px; height: 12px; position: relative; }
.burger__bars::before, .burger__bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1px;
  background: currentColor; transition: transform var(--t) var(--ease);
}
.burger__bars::before { top: 0; }
.burger__bars::after  { bottom: 0; }
[aria-expanded="true"] .burger__bars::before { transform: translateY(5.5px) rotate(45deg); }
[aria-expanded="true"] .burger__bars::after  { transform: translateY(-5.5px) rotate(-45deg); }

/* ------------------------------------------------------------ MOBILE NAV */
.nav-panel {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--hdr) var(--pad) calc(2rem + env(safe-area-inset-bottom));
  opacity: 0; transform: translateY(-1.25rem);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.nav-panel[hidden] { display: none; }
.nav-panel.is-open { opacity: 1; transform: none; }

.nav-panel__list { list-style: none; margin: 0; padding: 0; }
.nav-panel__list a {
  display: block; padding: 0.85rem 0;      /* generous tap target */
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.9rem);
  color: var(--cream);
  transition: color var(--t) var(--ease);
}
.nav-panel__list a:hover, .nav-panel__list a:focus-visible { color: var(--gold); }

.nav-panel__foot {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; gap: 1.5rem; font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cream-mute);
}

/* ------------------------------------------------------------------ HERO */
.hero {
  position: relative;
  height: 100vh;                 /* fallback for browsers without dvh */
  height: 100dvh;                /* tracks the iOS address bar — no jump/clip */
  min-height: 34rem;             /* keeps landscape phones legible */
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__slide {
  position: absolute; inset: 0; z-index: -2;
  opacity: 0;
  transition: opacity 1200ms var(--ease);
}
.hero__slide.is-active { opacity: 1; }

.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: center;
  animation: kenburns 28s linear infinite alternate;  /* GPU: transform only */
}
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

/* legibility guarantee over any future photograph */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    /* soft scrim centred on the headline: real photography is far brighter
       than a flat backdrop, and the gold tagline needs 4.5:1 to stay legible */
    radial-gradient(ellipse 72% 48% at 50% 47%,
                    rgba(13,13,13,.74) 0%, rgba(13,13,13,.34) 62%, rgba(13,13,13,0) 100%),
    linear-gradient(180deg, rgba(13,13,13,.86) 0%, rgba(13,13,13,.48) 38%,
                             rgba(13,13,13,.66) 74%, rgba(13,13,13,.96) 100%);
}

.hero__inner {
  text-align: center;
  padding: var(--hdr) var(--pad) calc(3rem + env(safe-area-inset-bottom));
}
.hero__title { font-size: clamp(2.6rem, 12vw, 6rem); letter-spacing: 0.02em; }
.hero__tag {
  margin: 1.1rem 0 2.25rem;
  font-size: clamp(0.68rem, 2.9vw, 0.85rem);
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold);
}
.hero__scroll {
  position: absolute; bottom: calc(1.5rem + env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cream-mute);
}

/* --------------------------------------------------------------- MARQUEE
   .marquee is the clipping wrapper. This — not body overflow — is what keeps
   the wide track out of the document scroll width at 360px. */
.marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--ink-soft);
  padding-block: 1.15rem;
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 38s linear infinite;   /* slow: a full pass ~38s */
}
.marquee__group {
  display: flex; align-items: center; flex: none;
  padding-right: 0;
}
.marquee__item {
  display: inline-flex; align-items: center;
  padding-inline: 1.6rem;
  font-size: clamp(0.7rem, 2.6vw, 0.86rem);
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}
.marquee__item::after {
  content: ""; margin-left: 3.2rem;
  width: 5px; height: 5px; background: var(--gold);
  transform: rotate(45deg); opacity: 0.65;   /* small gold diamond divider */
}
/* two identical groups, translate exactly -50% → last frame == first frame */
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee__track { animation-play-state: paused; }
}

/* ----------------------------------------------------------------- CARDS */
.grid {
  display: grid;
  grid-template-columns: 1fr;               /* mobile: single column */
  gap: 2.5rem 1.5rem;
}

.card__link { display: block; }
.card__media {
  position: relative; overflow: hidden;
  background: var(--ink-soft); border: 1px solid var(--line);
  transition: border-color var(--t) var(--ease);
}
.card__media img {
  width: 100%; height: auto;
  transition: transform 900ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card__link:hover .card__media { border-color: var(--gold-dim); }
  .card__link:hover .card__media img { transform: scale(1.035); }
  .card__link:hover .card__name { color: var(--gold); }
}
.card__body { padding-top: 1.1rem; }
.card__name {
  font-size: 1.4rem; margin-bottom: 0.3rem;
  transition: color var(--t) var(--ease);
}
.card__note { margin: 0 0 0.6rem; font-size: 0.9rem; color: var(--cream-mute); }
.card__price { margin: 0; font-size: 0.95rem; color: var(--cream-dim); letter-spacing: 0.04em; }
.card__from, .card__size { font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cream-mute); }

/* ------------------------------------------------------------------ SHOP */
.page-head { padding-top: calc(var(--hdr) + clamp(2.5rem, 9vw, 5rem)); }

.shop-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 1.5rem 2.25rem;
  border-bottom: 1px solid var(--line); margin-bottom: 2.5rem;
}
.shop-bar__count {
  margin: 0; font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cream-mute);
}

.select { position: relative; }
.select::after {
  content: ""; position: absolute; right: 1rem; top: 50%;
  width: 7px; height: 7px; border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.select select {
  appearance: none; -webkit-appearance: none;
  width: 100%; min-height: 3rem;            /* 48px tap target */
  padding: 0.75rem 2.75rem 0.75rem 1rem;
  font-size: 1rem;                          /* 16px: no iOS zoom */
  background: var(--ink-soft); color: var(--cream);
  border: 1px solid var(--line); border-radius: 0;
  transition: border-color var(--t) var(--ease);
}
.select select:hover, .select select:focus { border-color: var(--gold-dim); }

/* accordion */
.acc { border-top: 1px solid var(--line); margin-top: clamp(3.5rem, 10vw, 6rem); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__trigger {
  width: 100%; min-height: 3.75rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--serif); font-size: 1.25rem; color: var(--cream);
  transition: color var(--t) var(--ease);
}
.acc__trigger:hover { color: var(--gold); }
.acc__icon { position: relative; width: 14px; height: 14px; flex: none; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1px;
  background: var(--gold); transition: transform var(--t) var(--ease);
}
.acc__icon::after { transform: rotate(90deg); }
[aria-expanded="true"] .acc__icon::after { transform: rotate(0deg); }
.acc__panel {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t) var(--ease);
}
.acc__panel[hidden] { display: none; }
.acc__panel > div { padding-bottom: 1.75rem; color: var(--cream-dim); max-width: 62ch; }

/* -------------------------------------------------------- PRODUCT DETAIL */
.crumb {
  display: flex; align-items: center; gap: 0.6rem;
  padding-block: 1.25rem 2rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-mute);
}
.crumb a { color: var(--gold); }

/* mobile order: image, then name, price, size, qty, add — single column */
.pd { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
.pd__media { background: var(--ink-soft); border: 1px solid var(--line); }
.pd__name { font-size: clamp(2.1rem, 8vw, 3.4rem); margin-bottom: 0.5rem; }
.pd__price {
  font-size: clamp(1.35rem, 5vw, 1.75rem); color: var(--gold);
  letter-spacing: 0.03em; margin: 0;
}
.pd__notes { color: var(--cream-dim); max-width: 60ch; }
.pd__ph { margin-top: 0.25rem; }

.pd__spec { margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.pd__spec > div {
  display: flex; gap: 1rem; justify-content: space-between;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.pd__spec dt {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-mute); flex: none;
}
.pd__spec dd { margin: 0; text-align: right; font-size: 0.92rem; color: var(--cream-dim); }

.pd__buy { margin-top: 2.25rem; display: grid; gap: 1.25rem; }
.pd__reassure { margin: 0; font-size: 0.8rem; color: var(--cream-mute); text-align: center; }

.field__label {
  display: block; margin-bottom: 0.5rem;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-mute);
}

/* stepper — every control at least 44px */
.stepper {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); background: var(--ink-soft);
}
.stepper__btn {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; color: var(--gold); font-size: 1.1rem;
  transition: background var(--t) var(--ease);
}
.stepper__btn:hover { background: rgba(201, 162, 76, 0.10); }
.stepper__val { min-width: 2.25rem; text-align: center; font-size: 0.95rem; }
.stepper--lg { display: flex; width: 100%; justify-content: space-between; }
.stepper--lg .stepper__btn { width: 3rem; height: 3rem; }
.stepper__input {
  flex: 1; min-width: 0; height: 3rem;
  background: none; border: 0; text-align: center;
  font-size: 1rem;                          /* 16px: no iOS zoom */
  -moz-appearance: textfield;
}
.stepper__input::-webkit-outer-spin-button,
.stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.notfound { padding-block: clamp(3rem, 14vw, 8rem); text-align: center; }
.notfound__title { font-size: clamp(1.9rem, 7vw, 3rem); margin-bottom: 1rem; }
.notfound__text { color: var(--cream-dim); max-width: 46ch; margin: 0 auto 2rem; }

/* ------------------------------------------------------------ CART DRAWER */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0; transition: opacity var(--t) var(--ease);
}
.drawer-backdrop.is-open { opacity: 1; }
.drawer-backdrop[hidden] { display: none; }

.drawer {
  position: fixed; z-index: 101;
  inset: auto 0 0 0;                        /* mobile: bottom sheet, near-full */
  height: 92dvh; max-height: 92dvh;
  display: flex; flex-direction: column;
  background: var(--ink-soft);
  border-top: 1px solid var(--gold-dim);
  transform: translate3d(0, 100%, 0);
  transition: transform var(--t) var(--ease);
}
.drawer.is-open { transform: translate3d(0, 0, 0); }
.drawer[hidden] { display: none; }

.drawer__head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem var(--pad); border-bottom: 1px solid var(--line);
}
.drawer__title { font-size: 1.3rem; letter-spacing: 0.04em; }
.drawer__close {
  width: 2.75rem; height: 2.75rem;
  background: none; border: 0; cursor: pointer;
  color: var(--cream); font-size: 1.6rem; line-height: 1;
}
.drawer__close:hover { color: var(--gold); }

/* internal scroll so a long cart never hides the checkout button */
.drawer__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 0 var(--pad); }
.drawer__foot {
  flex: none;                               /* sticky footer inside the drawer */
  padding: 1.25rem var(--pad) calc(1.25rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: var(--ink-raise);
}
.drawer__foot:empty { display: none; }

.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-line {
  display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 0.9rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.cart-line__img { width: 4.5rem; height: auto; border: 1px solid var(--line); }
.cart-line__main { min-width: 0; }
.cart-line__name { margin: 0 0 0.15rem; font-family: var(--serif); font-size: 1.12rem; }
.cart-line__meta { margin: 0 0 0.65rem; font-size: 0.78rem; color: var(--cream-mute); }
.cart-line__end { display: flex; flex-direction: column; align-items: flex-end;
  justify-content: space-between; gap: 0.5rem; }
.cart-line__rm {
  width: 2.75rem; height: 2.75rem; margin: -0.5rem -0.6rem 0 0;
  background: none; border: 0; cursor: pointer;
  color: var(--cream-mute); font-size: 1.3rem; line-height: 1;
}
.cart-line__rm:hover { color: var(--gold); }
.cart-line__total { margin: 0; font-size: 0.95rem; color: var(--gold); white-space: nowrap; }

.cart-sum { margin-bottom: 1rem; }
.cart-sum__row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.35rem 0; font-size: 0.95rem;
}
.cart-sum__row--muted { color: var(--cream-mute); font-size: 0.85rem; }
.cart-note {
  margin: 0.9rem 0 0; font-size: 0.72rem; line-height: 1.6;
  color: var(--cream-mute); text-align: center;
}

.cart-empty, .cart-sent { padding: 3.5rem 0.5rem; text-align: center; }
.cart-empty__mark, .cart-sent__mark { margin: 0 auto 1.5rem; color: var(--gold); opacity: 0.75; }
.cart-empty__title, .cart-sent__title {
  margin: 0 0 0.6rem; font-family: var(--serif); font-size: 1.4rem;
}
.cart-empty__text, .cart-sent__text {
  margin: 0 auto 1.75rem; max-width: 34ch; font-size: 0.88rem; color: var(--cream-mute);
}
.cart-sent { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.cart-sent__kept {
  padding: 1.25rem 0 0; margin: 0;
  font-size: 0.75rem; color: var(--cream-mute); text-align: center;
}

/* --------------------------------------------------------------- CONTACT */
.field { margin-bottom: 1.5rem; }
.input, .textarea {
  width: 100%; padding: 0.9rem 1rem;
  min-height: 3rem;
  font-size: 1rem;                          /* 16px: no iOS zoom */
  background: var(--ink-soft); color: var(--cream);
  border: 1px solid var(--line); border-radius: 0;
  transition: border-color var(--t) var(--ease);
}
.textarea { min-height: 9rem; resize: vertical; }
.input:focus, .textarea:focus { border-color: var(--gold-dim); outline-offset: 0; }
.field.has-error .input, .field.has-error .textarea { border-color: #B4593F; }
.field__err { display: block; margin-top: 0.4rem; font-size: 0.78rem; color: #D08A72; }
.field__hint { font-size: 0.72rem; color: var(--cream-mute); }

.form-done {
  margin-top: 1.25rem; padding: 1rem 1.15rem;
  border: 1px solid var(--gold-dim); color: var(--gold-soft); font-size: 0.88rem;
}
.form-done[hidden] { display: none; }

.contact-direct { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.contact-direct__list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.contact-direct__list a {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem;
  color: var(--gold); font-size: 0.95rem;
}
.contact-direct__list a:hover { color: var(--gold-soft); }

/* ---------------------------------------------------------------- FOOTER */
.site-footer {
  border-top: 1px solid var(--line); background: var(--ink-soft);
  padding-block: clamp(3rem, 9vw, 4.5rem) 0;
}
.site-footer__grid { display: grid; gap: 2.5rem; }
.site-footer__brand .brand__text { font-size: 1.15rem; }
.site-footer__blurb { margin: 1rem 0 0; font-size: 0.86rem; color: var(--cream-mute); max-width: 40ch; }
.site-footer h4 {
  margin: 0 0 1rem; font-family: var(--sans);
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 400;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer li a {
  display: inline-flex; align-items: center; min-height: 2.5rem;
  font-size: 0.9rem; color: var(--cream-dim);
  transition: color var(--t) var(--ease);
}
.site-footer li a:hover { color: var(--gold); }
.site-footer__base {
  margin-top: 3rem; padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.72rem; letter-spacing: 0.08em; color: var(--cream-mute);
}

/* ------------------------------------------------- FLOATING WHATSAPP BTN
   Sits above page content but BELOW the drawer (z-100/101), so it can never
   cover the checkout button. Lifted clear of the iPhone home indicator. */
.wa-float {
  position: fixed; z-index: 80;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  width: 3.25rem; height: 3.25rem;
  display: grid; place-items: center;
  background: var(--gold); color: var(--ink);
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.wa-float svg { width: 26px; height: 26px; }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { background: var(--gold-soft); transform: scale(1.06); }
}
body.is-locked .wa-float { display: none; }   /* never fights the drawer/nav */

/* ------------------------------------------------------- SCROLL REVEALS */
[data-reveal] {
  opacity: 0; transform: translate3d(0, 22px, 0);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   BREAKPOINTS — additive only, never a redesign
   ========================================================================== */

/* ---- 768px · tablet portrait: 2-column grid ---------------------------- */
@media (min-width: 768px) {
  :root { --pad: 2rem; --hdr: 4.75rem; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem 2rem; }
  .shop-bar { padding-block: 2rem 2.5rem; }
  .select { min-width: 15rem; }
  .contact-direct__list { grid-auto-flow: column; justify-content: start; gap: 2.5rem; }
  .wa-float { right: 1.75rem; bottom: calc(1.75rem + env(safe-area-inset-bottom)); }
}

/* ---- 1024px · tablet landscape / small laptop -------------------------- */
@media (min-width: 1024px) {
  :root { --pad: 2.5rem; }

  /* inline nav replaces the burger */
  .nav-desk { display: flex; align-items: center; gap: 2.25rem; }
  .nav-desk a {
    position: relative; padding: 0.4rem 0;
    font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--cream-dim); transition: color var(--t) var(--ease);
  }
  .nav-desk a::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--t) var(--ease);
  }
  .nav-desk a:hover, .nav-desk a[aria-current="page"] { color: var(--gold); }
  .nav-desk a:hover::after, .nav-desk a[aria-current="page"]::after { transform: scaleX(1); }
  .burger { display: none; }

  /* cart becomes a right-hand side drawer */
  .drawer {
    inset: 0 0 0 auto;
    width: min(27rem, 100%); height: 100%; max-height: none;
    border-top: 0; border-left: 1px solid var(--gold-dim);
    transform: translate3d(100%, 0, 0);
  }
  .drawer.is-open { transform: translate3d(0, 0, 0); }

  /* product detail goes side-by-side only once there is genuine room */
  .pd { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .pd__media { position: sticky; top: calc(var(--hdr) + 2rem); }
}

/* ---- 1280px · desktop: 3-column grid ----------------------------------- */
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 3.5rem 2.5rem; }
  .pd { grid-template-columns: 1.05fr 1fr; gap: 5rem; }
}

/* ---- 1440px+ · cap the content so ultrawide does not sprawl ------------- */
@media (min-width: 1440px) {
  :root { --pad: 3rem; }
}

/* ---- short landscape phones -------------------------------------------- */
@media (max-height: 460px) and (orientation: landscape) {
  .hero { height: auto; min-height: 100dvh; padding-block: 5rem; }
  .hero__scroll { display: none; }
  .nav-panel { justify-content: flex-start; overflow-y: auto; }
  .nav-panel__list a { font-size: 1.5rem; padding: 0.55rem 0; }
}

/* ==========================================================================
   REDUCED MOTION — the hero zoom and the marquee stop too, as required
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero__img      { animation: none !important; transform: none !important; }
  .marquee__track { animation: none !important; transform: none !important;
                    justify-content: center; width: 100%; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee        { overflow-x: auto; }

  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__slide  { opacity: 1; }
  .hero__slide ~ .hero__slide { opacity: 0; }
}

/* ==========================================================================
   PASS 2 — brand logo, nav close, social icons, checkout, buy-now,
            and the full motion system
   ========================================================================== */

/* ---------------------------------------------------------- HEADER LOGO -- */
.brand { gap: 0.7rem; }
.brand__logo {
  width: 2.6rem; height: 2.6rem; flex: none;
  border-radius: 50%;
  /* the badge's own disc is near-black, so it needs a ring to read against
     the header bar rather than dissolving into it */
  box-shadow: 0 0 0 1px var(--gold-dim);
  transition: transform 900ms var(--ease), box-shadow 900ms var(--ease);
}
.site-header.is-scrolled .brand__logo { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand__logo {
    transform: scale(1.06);
    box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(201, 162, 76, 0.35);
  }
}
.brand__logo--sm { width: 2.2rem; height: 2.2rem; }
@media (min-width: 768px) { .brand__logo { width: 3rem; height: 3rem; } }

/* -------------------------------------------------------- NAV CLOSE (X) -- */
.nav-panel__close {
  position: absolute;
  top: calc(0.75rem + env(safe-area-inset-top));
  right: max(var(--pad), 0.75rem);
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  color: var(--cream); cursor: pointer;
  opacity: 0; transform: scale(0.8) rotate(-90deg);
  transition: opacity 500ms var(--ease) 180ms, transform 620ms var(--ease) 180ms,
              border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.nav-panel.is-open .nav-panel__close { opacity: 1; transform: none; }
.nav-panel__close svg { width: 22px; height: 22px; }
.nav-panel__close:hover { color: var(--gold); border-color: var(--gold); }

/* ---------------------------------------------------------------- ICONS -- */
.ico { width: 17px; height: 17px; flex: none; }
.nav-panel__foot a,
.site-footer li a,
.contact-direct__list a { display: inline-flex; align-items: center; gap: 0.6rem; }
.nav-panel__foot a .ico { width: 19px; height: 19px; }
.site-footer li a .ico { transition: transform var(--t) var(--ease); }
.site-footer li a:hover .ico { transform: translateY(-2px) scale(1.1); }

.site-footer__credit { width: 100%; }
@media (min-width: 768px) { .site-footer__credit { width: auto; } }
.site-footer__credit a { color: var(--gold); position: relative; }
.site-footer__credit a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform 620ms var(--ease);
}
.site-footer__credit a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============================== MOTION SYSTEM ============================= */

/* -- 1. line-mask reveal: the signature move. Text rises out of a clip. --- */
.mask {
  display: block; overflow: hidden;
  /* breathing room so the clip never shaves descenders (y, g, p) */
  padding-bottom: 0.14em; margin-bottom: -0.14em;
}
.mask > * {
  display: block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1100ms var(--ease);
}
.is-in .mask > *, .mask.is-in > * { transform: none; }

/* -- 2. gold rule that draws itself -------------------------------------- */
.rule, .draw-rule {
  transform: scaleX(0); transform-origin: left;
  transition: transform 1200ms var(--ease) 120ms;
}
.is-in .rule, .rule.is-in, .draw-rule.is-in { transform: scaleX(1); }

/* -- 3. image wipe: dark veil slides off, image settles from 1.12 -------- */
.wipe { position: relative; overflow: hidden; }
.wipe > img { transform: scale(1.12); transition: transform 1600ms var(--ease); }
.wipe::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-raise) 55%, var(--gold-dim) 100%);
  transition: transform 1250ms var(--ease);
}
.is-in .wipe > img, .wipe.is-in > img { transform: scale(1); }
.is-in .wipe::after, .wipe.is-in::after { transform: translate3d(0, -101%, 0); }

/* -- 4. richer scroll reveal (replaces the flat fade) -------------------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  filter: blur(5px);
  transition: opacity 1000ms var(--ease), transform 1000ms var(--ease),
              filter 1000ms var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }

/* Large surfaces move without blur: a GPU blur across a full-width panel or a
   grid of cards is the one thing here that would drop frames on a mid-range
   phone. Small text reveals keep it. */
.card[data-reveal],
.co__panel[data-reveal],
.co__aside[data-reveal],
.feature__media[data-reveal],
[data-reveal].no-blur { filter: none; }

/* -- 5. hero entrance choreography --------------------------------------- */
.hero__title, .hero__tag, .hero__inner .btn, .hero__scroll {
  opacity: 0;
  animation: heroRise 1500ms var(--ease) forwards;
}
.hero__title      { animation-delay: 260ms; }
.hero__tag        { animation-delay: 480ms; }
.hero__inner .btn { animation-delay: 680ms; }
.hero__scroll     { animation-delay: 1150ms; animation-name: heroFade; }

@keyframes heroRise {
  from { opacity: 0; transform: translate3d(0, 46px, 0); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes heroFade { from { opacity: 0; } to { opacity: 0.75; } }

/* slow drifting gold sheen across the hero */
.hero::before {
  content: ""; position: absolute; inset: -30%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201, 162, 76, 0.13), transparent 72%);
  animation: sheen 24s var(--ease) infinite alternate;
}
@keyframes sheen {
  from { transform: translate3d(-16%, -8%, 0) scale(1); }
  to   { transform: translate3d(16%, 10%, 0) scale(1.25); }
}

/* -- 6. buttons: gold sweeps in from the left ---------------------------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold-soft);
  transform: scaleX(0); transform-origin: right;
  transition: transform 620ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before { transform: scaleX(1); transform-origin: left; }
  .btn:hover { color: var(--ink); border-color: var(--gold-soft); background: transparent; }
  .btn:active { transform: translateY(1px); }
}

/* -- 7. product cards: lift + gold frame --------------------------------- */
.card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border: 1px solid transparent;
  transition: border-color 700ms var(--ease);
}
.card__link { transition: transform 800ms var(--ease); }
.card__media img { transition: transform 1400ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card__link:hover { transform: translateY(-8px); }
  .card__link:hover .card__media::after { border-color: var(--gold-dim); }
  .card__link:hover .card__media img { transform: scale(1.07); }
}

/* -- 8. FLY-TO-CART: a ghost of the product arcs into the cart icon ------ */
.fly-ghost {
  position: fixed; z-index: 120; pointer-events: none;
  border-radius: 50%; overflow: hidden;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  will-change: transform, opacity;
}
.fly-ghost img { width: 100%; height: 100%; object-fit: cover; }

.cart-ring {
  position: fixed; z-index: 119; pointer-events: none;
  border: 1px solid var(--gold); border-radius: 50%;
  animation: cartRing 900ms var(--ease) forwards;
}
@keyframes cartRing {
  from { transform: scale(0.35); opacity: 0.95; }
  to   { transform: scale(2.6);  opacity: 0; }
}

.cart-badge.is-pulse { animation: badgePulse 900ms var(--ease); }
@keyframes badgePulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.55); }
  55%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.icon-btn.is-bump { animation: iconBump 780ms var(--ease); }
@keyframes iconBump {
  0%   { transform: none; }
  26%  { transform: translateY(-6px) scale(1.1); }
  60%  { transform: translateY(2px) scale(0.97); }
  100% { transform: none; }
}

/* -- 9. drawer lines stagger in ------------------------------------------ */
.drawer.is-open .cart-line { animation: lineIn 760ms var(--ease) backwards; }
.drawer.is-open .cart-line:nth-child(1) { animation-delay: 120ms; }
.drawer.is-open .cart-line:nth-child(2) { animation-delay: 200ms; }
.drawer.is-open .cart-line:nth-child(3) { animation-delay: 280ms; }
.drawer.is-open .cart-line:nth-child(4) { animation-delay: 360ms; }
.drawer.is-open .cart-line:nth-child(n+5) { animation-delay: 420ms; }
@keyframes lineIn {
  from { opacity: 0; transform: translate3d(28px, 0, 0); }
  to   { opacity: 1; transform: none; }
}
.cart-line { transition: background 900ms var(--ease); }
.cart-line.is-fresh { background: rgba(201, 162, 76, 0.09); }

.drawer-backdrop {
  transition: opacity var(--t) var(--ease), backdrop-filter 700ms var(--ease);
}
.drawer-backdrop.is-open { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* -- 10. nav panel links stagger ----------------------------------------- */
.nav-panel__list li { overflow: hidden; }
.nav-panel__list li a {
  transform: translate3d(0, 105%, 0);
  transition: transform 900ms var(--ease), color var(--t) var(--ease);
}
.nav-panel.is-open .nav-panel__list li:nth-child(1) a { transition-delay: 120ms; }
.nav-panel.is-open .nav-panel__list li:nth-child(2) a { transition-delay: 210ms; }
.nav-panel.is-open .nav-panel__list li:nth-child(3) a { transition-delay: 300ms; }
.nav-panel.is-open .nav-panel__list li a { transform: none; }
.nav-panel__foot { opacity: 0; transition: opacity 700ms var(--ease) 420ms; }
.nav-panel.is-open .nav-panel__foot { opacity: 1; }

/* -- 11. marquee edge fade so it dissolves rather than cuts -------------- */
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

/* -- 12. desktop nav letter drift ---------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  .nav-desk a { transition: color var(--t) var(--ease), letter-spacing 700ms var(--ease); }
  .nav-desk a:hover { letter-spacing: 0.26em; }
}

/* ============================ PRODUCT DETAIL v2 ========================== */
/* size and price each stand alone, per request */
.pd__pricewrap {
  display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; margin: 0.35rem 0 0;
}
.pd__price { font-size: clamp(1.6rem, 6vw, 2.2rem); }
.pd__priceqty { font-size: 0.8rem; color: var(--cream-mute); letter-spacing: 0.1em; }

.size-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(4.6rem, 1fr)); gap: 0.6rem;
}
.size-opt {
  min-height: 3rem; padding: 0.6rem 0.4rem;
  display: grid; place-items: center;
  background: var(--ink-soft); border: 1px solid var(--line); color: var(--cream-dim);
  font-size: 0.92rem; letter-spacing: 0.06em; cursor: pointer;
  transition: border-color 500ms var(--ease), color 500ms var(--ease),
              background 500ms var(--ease), transform 400ms var(--ease);
}
.size-opt:hover { border-color: var(--gold-dim); color: var(--cream); }
.size-opt[aria-pressed="true"] {
  border-color: var(--gold); color: var(--gold); background: rgba(201, 162, 76, 0.08);
}
.size-opt:active { transform: scale(0.96); }

.pd__actions { display: grid; gap: 0.75rem; }

/* ================================ CHECKOUT =============================== */
.co { display: grid; gap: 2.5rem; }
.co__panel { background: var(--ink-soft); border: 1px solid var(--line); padding: 1.5rem; }
.co__panel h2 { font-size: 1.45rem; margin-bottom: 1.25rem; }

.co-list { list-style: none; margin: 0; padding: 0; }
.co-line {
  display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line);
}
.co-line:last-child { border-bottom: 0; }
.co-line__img { width: 4.5rem; border: 1px solid var(--line); }
.co-line__name { margin: 0 0 0.2rem; font-family: var(--serif); font-size: 1.15rem; }
.co-line__meta { margin: 0; font-size: 0.8rem; color: var(--cream-mute); }
.co-line__total { margin: 0; color: var(--gold); white-space: nowrap; }

.co-sum { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--gold-dim); }
.co-sum__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; }
.co-sum__row--muted { color: var(--cream-mute); font-size: 0.88rem; }
.co-sum__row--total {
  margin-top: 0.6rem; padding-top: 0.9rem; border-top: 1px solid var(--line);
  font-size: 1.2rem; color: var(--gold);
}
.co__empty { text-align: center; padding: 4rem 1rem; }

@media (min-width: 1024px) {
  .co { grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: start; }
  .co__panel { padding: 2rem; }
  .co__aside { position: sticky; top: calc(var(--hdr) + 2rem); }
}

/* =============================== REDUCED MOTION ========================== */
@media (prefers-reduced-motion: reduce) {
  .mask > *, .nav-panel__list li a { transform: none !important; }
  .rule, .draw-rule { transform: scaleX(1) !important; }
  .wipe > img { transform: none !important; }
  .wipe::after { display: none; }
  .hero::before { animation: none !important; }
  .hero__title, .hero__tag, .hero__inner .btn {
    opacity: 1 !important; animation: none !important;
  }
  .hero__scroll { opacity: 0.75 !important; animation: none !important; }
  .nav-panel__close, .nav-panel__foot { opacity: 1 !important; transform: none !important; }
  .fly-ghost, .cart-ring { display: none !important; }
  .drawer.is-open .cart-line { animation: none !important; }
  [data-reveal] { filter: none !important; }
}

/* On checkout the page already carries a prominent "Confirm on WhatsApp" CTA.
   The floating chat button would both overlap it at the bottom of the viewport
   and blur the line between a general chat and sending the order — so it is
   withdrawn on this page only. */
body.page-checkout .wa-float { display: none; }

/* ==========================================================================
   FEATURE BLOCK — real photography paired with copy
   Mobile: image first, stacked. Desktop: two columns.
   The photos keep their native 3:4 ratio (no cropping, no re-encode), so
   width/height stay honest and there is no layout shift.
   ========================================================================== */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 3rem);
  align-items: center;
}

.feature__media {
  position: relative;
  border: 1px solid var(--line);
  background: var(--ink-soft);
}
.feature__media img {
  width: 100%;
  height: auto;                /* native ratio preserved */
  display: block;
}

/* a thin gold frame that draws itself on reveal */
.feature__media::before {
  content: "";
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border: 1px solid transparent;
  transition: border-color 900ms var(--ease) 260ms;
}
.feature__media.is-in::before { border-color: var(--gold-dim); }

.feature__body > * { max-width: 54ch; }

@media (min-width: 1024px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
  }
  /* text leads on the left, image on the right */
  .feature--reverse .feature__media { order: 2; }
  .feature--reverse .feature__body  { order: 1; }
}

/* the contact form column should not stretch to the full half */
.feature--reverse .feature__body { max-width: 38rem; }

/* ==========================================================================
   STORY — founder's voice: signature, pull-quote, reading column
   ========================================================================== */
.signature {
  margin: 1.75rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3.6vw, 1.5rem);
  line-height: 1.4;
  color: var(--gold);
}

.feature__ctas {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2rem;
}

.story > p { margin: 0 0 1.15rem; color: var(--cream-dim); }
.story > .lede { color: var(--cream); margin-bottom: 1.5rem; }
/* in-text links only — buttons keep their own colours */
.story a:not(.btn) { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.story a:not(.btn):hover { border-bottom-color: var(--gold); }

.pullquote {
  margin: 2.25rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 1px solid var(--gold);
}
.pullquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4.4vw, 1.85rem);
  line-height: 1.3;
  color: var(--cream);
}
.pullquote p + p { margin-top: 0.35rem; color: var(--gold); }

/* on the story page the photo stays in view while the text scrolls past */
@media (min-width: 1024px) {
  .feature--story { align-items: start; }
  .feature--story .feature__media { position: sticky; top: calc(var(--hdr) + 2rem); }
}

/* ==========================================================================
   CARD PICTURE — square instead of 4:5, so cards are shorter and the name
   and price come up sooner. The tiles are 4:5, so cover trims a little off
   the top and bottom; everything important sits in the middle.
   (Product detail keeps the full 4:5 picture.)
   ========================================================================== */
.card__media { aspect-ratio: 1 / 1; }
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* ==========================================================================
   THE TIN — lid lifts on hover to reveal the caviar
   Only transform + opacity animate (GPU-composited, no layout, no repaint),
   so it stays smooth on a mid-range phone. Selectors are deliberately more
   specific than the generic card-image rules above so nothing fights them.
   ========================================================================== */
.tin {
  --lid-open:  cubic-bezier(0.16, 1, 0.3, 1);     /* slow, soft landing */
  --lid-close: cubic-bezier(0.65, 0, 0.35, 1);    /* settles back gently */
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  isolation: isolate;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='23'%3E%3Cpath d='M0 23a23 23 0 0 1 46 0M-23 23a23 23 0 0 1 46 0M23 23a23 23 0 0 1 46 0' fill='none' stroke='%23C9A24C' stroke-opacity='.16'/%3E%3C/svg%3E"),
    radial-gradient(circle at 50% 44%, #1e1e1e 0%, #0d0d0d 72%);
}

/* both layers share one box, so lid and tin line up to the pixel */
.card__media.tin img,
.pd__media.tin img {
  position: absolute;
  left: 15%; top: 15%;
  width: 70%; height: 70%;
  object-fit: contain;
  opacity: 0;                               /* hidden until both are decoded */
  backface-visibility: hidden;
  will-change: transform;
  transition: opacity 700ms var(--ease), transform 900ms var(--lid-close);
}
.tin.is-ready img { opacity: 1; }

.tin .tin__base  { z-index: 1; transform: scale(0.95); }
.tin .tin__lid   {
  z-index: 3;
  transform: translate3d(0, 0, 0) rotate(0deg);
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.55));   /* static: never animated */
}

/* darkens the caviar while the lid is on, fades away as it lifts */
.tin .tin__shade {
  position: absolute; z-index: 2;
  left: 15%; top: 15%; width: 70%; height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 70%, transparent 71%);
  opacity: 1;
  transition: opacity 900ms var(--lid-close);
  pointer-events: none;
}

/* ---------- OPEN state ---------- */
.tin.is-open .tin__lid {
  transform: translate3d(0, -76%, 0) rotate(-7deg) scale(1.03);
  transition: opacity 700ms var(--ease), transform 1150ms var(--lid-open);
}
.tin.is-open .tin__base {
  transform: scale(1);
  transition: opacity 700ms var(--ease), transform 1150ms var(--lid-open);
}
.tin.is-open .tin__shade { opacity: 0; transition: opacity 1000ms var(--lid-open); }

/* mouse users: hover the card to open. Wrapped so a tap on a phone can never
   leave a "stuck" hover state. */
@media (hover: hover) and (pointer: fine) {
  .card__link:hover .card__media.tin .tin__lid {
    transform: translate3d(0, -76%, 0) rotate(-7deg) scale(1.03);
    transition: opacity 700ms var(--ease), transform 1150ms var(--lid-open);
  }
  .card__link:hover .card__media.tin .tin__base {
    transform: scale(1);
    transition: opacity 700ms var(--ease), transform 1150ms var(--lid-open);
  }
  .card__link:hover .card__media.tin .tin__shade {
    opacity: 0; transition: opacity 1000ms var(--lid-open);
  }
}
/* keyboard users get the same reveal */
.card__link:focus-visible .card__media.tin .tin__lid  { transform: translate3d(0, -76%, 0) rotate(-7deg) scale(1.03); }
.card__link:focus-visible .card__media.tin .tin__base { transform: scale(1); }
.card__link:focus-visible .card__media.tin .tin__shade { opacity: 0; }

/* product page: square, and the tin itself is the button */
.pd__media.tin { cursor: pointer; }

/* reduced motion: no movement — the lid simply fades away */
@media (prefers-reduced-motion: reduce) {
  .tin img, .tin .tin__shade { transition: opacity 300ms linear !important; }
  .tin .tin__base, .tin.is-open .tin__base,
  .tin .tin__lid, .tin.is-open .tin__lid { transform: none !important; }
  .tin.is-open .tin__lid { opacity: 0 !important; }
  .card__link:hover .card__media.tin .tin__lid { transform: none !important; opacity: 0 !important; }
}

/* ##########################################################################
   THEME: LIGHT BEIGE  —  currently the DEFAULT
   --------------------------------------------------------------------------
   This one block turns the whole site beige. The dark theme above is left
   untouched underneath it.
     • To go BACK TO DARK: delete everything from here to the end marker,
       set the product images in data.js back to the names noted there,
       and set <meta name="theme-color"> back to #0D0D0D on each page.
     • To KEEP BEIGE for good: the dark values above can be removed later.
   ########################################################################## */

:root {
  --ink:        #F6EFE7;                  /* page background (label cream)  */
  --ink-soft:   #FBF7F2;                  /* panels, inputs, cards          */
  --ink-raise:  #EFE6DA;                  /* drawer footer, raised strips   */
  --line:       #E2D6C5;                  /* hairlines and borders          */
  --gold:       #856520;                  /* deep gold: 4.75:1 on beige, for text & lines */
  --gold-soft:  #C9A24C;
  --gold-dim:   rgba(133, 101, 32, 0.30);
  --cream:      #1C1A17;                  /* main text (warm near-black)    */
  --cream-dim:  rgba(28, 26, 23, 0.74);
  --cream-mute: rgba(28, 26, 23, 0.64);    /* 4.9:1 */
}

/* filled gold surfaces use the brighter gold, with dark text on top (8:1) */
::selection, .skip, .btn--gold, .cart-badge, .wa-float { background: #C9A24C; }
.btn--gold { border-color: #C9A24C; }
/* text sitting ON gold stays dark (those rules used the old dark background colour) */
::selection,
.skip,
.btn--gold,
.cart-badge,
.wa-float { color: #14120F; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .btn--gold:hover { color: #14120F; }
}

/* the hero is a photograph with a dark overlay, so it keeps the dark palette */
.hero {
  --cream:      #F5EFE6;
  --cream-dim:  rgba(245, 239, 230, 0.66);
  --cream-mute: rgba(245, 239, 230, 0.42);
  --gold:       #C9A24C;
  color: var(--cream);
}

/* header: translucent beige instead of translucent black */
.site-header { background: rgba(246, 239, 231, 0.80); }
.site-header.is-scrolled { background: rgba(246, 239, 231, 0.96); }

/* softer overlays and shadows suit a light page */
.drawer-backdrop { background: rgba(28, 26, 23, 0.32); }
.wa-float { box-shadow: 0 6px 22px rgba(120, 92, 40, 0.28); }
.fly-ghost { box-shadow: 0 10px 34px rgba(60, 45, 20, 0.30); }

/* form errors: darker red so they stay readable on beige */
.field__err { color: #A4452B; }

/* the Beluga tin sits on the light fish-scale pattern */
.tin {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='23'%3E%3Cpath d='M0 23a23 23 0 0 1 46 0M-23 23a23 23 0 0 1 46 0M23 23a23 23 0 0 1 46 0' fill='none' stroke='%23A8822E' stroke-opacity='.22'/%3E%3C/svg%3E"),
    radial-gradient(circle at 50% 44%, #FCF9F4 0%, #EDE3D5 78%);
}
.tin .tin__lid { filter: drop-shadow(0 16px 20px rgba(60, 45, 20, 0.35)); }

/* ######################### END: THEME LIGHT BEIGE ######################### */

/* ---- tin waiting for its photos: an empty gold outline, no broken images ---- */
.tin.tin--empty img, .tin.tin--empty .tin__shade { display: none; }
.tin.tin--empty::after {
  content: "Photo coming soon";
  position: absolute; left: 50%; top: 50%;
  width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border: 1px solid var(--gold-dim); border-radius: 50%;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--cream-mute);
}
.pd__batch { margin: 0.75rem 0 0; font-size: 0.78rem; font-style: italic; color: var(--cream-mute); }

/* ---- checkout: delivery reassurance ---- */
.co-delivery {
  margin-top: 1.5rem; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); background: var(--ink);
}
.co-delivery__title {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 0 0 0.6rem;
  font-family: var(--serif); font-size: 1.15rem; color: var(--cream);
}
.co-delivery__title svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.co-delivery__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.co-delivery__list li {
  position: relative; padding-left: 1rem;
  font-size: 0.86rem; line-height: 1.55; color: var(--cream-dim);
}
.co-delivery__list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg);
}


/* ---- checkout: delivery details form ---- */
.co__main { display: grid; gap: 2.5rem; align-content: start; }
.co-details__grid { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
.co-details .field { margin-bottom: 1.15rem; }
@media (min-width: 640px) {
  .co-details__grid { grid-template-columns: 1fr 1fr; }
  .co-field--name, .co-field--building, .co-field--note { grid-column: 1 / -1; }
}
