/* ==========================================================================
   DEAR DIGI — design tokens (soft "love letter" theme, warm & refined)
   Palette: warm ivory paper (#FDF9F2), warm sand panels (#F5EEE3),
   warm mauve accent (#C4A7B3 / #855D6E), over a warm espresso ink (#3E2F2B).
   Type: Fraunces display + Hanken Grotesk text, Fraunces italic wordmark.
   ========================================================================== */

:root {
  --paper: #fdfbf7;          /* page — clean warm off-white */
  --paper-2: #f4efe8;        /* panels — neutral warm sand */
  --print: #fffefb;          /* card surface — warm white */
  --blush: #f4ede8;          /* frame tint — neutral warm */
  --line: #ece3d8;           /* hairlines — warm greige */
  --line-strong: #dccdbf;
  --ink: #3e2f2b;            /* deep warm espresso — headings & buttons */
  --ink-soft: #614a44;       /* body text — warm taupe-brown */
  --ink-faint: #7d6a5f;      /* captions — warm greige */
  --clay: #df7e96;           /* stronger rose-pink — decorative accent only */
  --clay-deep: #be3f5e;      /* deep rose — links, eyebrows, small text */
  --clay-soft: #f8d9e2;      /* soft pink wash */
  --logo: #d56f8b;           /* single light rose — the wordmark + signature */
  --sage: #b4ab98;           /* quiet secondary — warm sage-taupe */
  --sage-deep: #6d6350;      /* secondary text — warm olive-taupe */
  --art: #6f5b4f;            /* camera line art — warm taupe ink */
  --art-dim: rgba(111, 91, 79, 0.34);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --shadow-print: 0 1px 2px rgba(74, 54, 44, 0.05), 0 8px 26px rgba(74, 54, 44, 0.07);
  --shadow-lift: 0 2px 6px rgba(74, 54, 44, 0.06), 0 24px 54px rgba(74, 54, 44, 0.13);

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --z-nav: 50;
  --z-modal: 80;
  --z-iris: 100;
  --top-h: 34px;   /* announcement banner height (sits above the nav) */
  --nav-h: 78px;   /* nav bar height — content clearance is derived from this */
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --max-w: 76rem;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 70% at 88% -8%, rgba(223, 126, 150, 0.06), transparent 58%),
    radial-gradient(120% 80% at -5% 105%, rgba(174, 185, 196, 0.045), transparent 55%);
  background-attachment: fixed;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 550;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.7rem, 6.2vw, 4.6rem); font-weight: 600; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: var(--clay-deep); }

img, svg { max-width: 100%; display: block; }

::selection { background: var(--clay); color: var(--print); }

:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 999;
  background: var(--clay);
  color: var(--print);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus-visible { top: 1rem; }

.eyebrow {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 1.1rem;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 46ch;
}

.section-lede em {
  font-style: normal;
  font-weight: 700;
  color: #3b7753;   /* emphasised words in section ledes — green */
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.7rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clay);
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn-solid {
  background: var(--clay);
  color: var(--print);
}
.btn-solid:hover {
  background: var(--clay-deep);
  border-color: var(--clay-deep);
  box-shadow: 0 8px 24px rgba(223, 126, 150, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--clay-deep);
}
.btn-ghost:hover {
  background: rgba(223, 126, 150, 0.1);
  color: var(--clay-deep);
}

.btn-lg { padding: 1rem 2.2rem; font-size: 0.9rem; }

.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

/* ==========================================================================
   Aperture iris — load signature
   ========================================================================== */

.iris {
  position: fixed;
  inset: 0;
  z-index: var(--z-iris);
  pointer-events: none;
}
.iris svg { width: 100%; height: 100%; }

/* Blades are rotated by their wrapper <g>; opening slides each blade outward
   along its own local axis, like a real diaphragm. */
.iris-blade {
  fill: #f7ece7;
  stroke: rgba(223, 126, 150, 0.35);
  stroke-width: 0.7;
  transition: transform 1.15s var(--ease-out);
}
.iris.open .iris-blade { transform: translateY(-700px); }
.iris.gone { display: none; }
html:not(.js) .iris { display: none; }

/* ==========================================================================
   Navigation
   ========================================================================== */

/* Fun announcement banner pinned above the nav */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-nav) + 1);
  height: var(--top-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1rem;
  background: linear-gradient(90deg, #963a5a 0%, #df7e96 50%, #963a5a 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(0.58rem, 2.2vw, 0.72rem);
  font-weight: 800;
  -webkit-text-stroke: 0.4px currentColor;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}
.topbar-star {
  font-size: 0.85em;
}

.nav {
  position: fixed;
  top: var(--top-h);
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  /* Solid on first load / while the hero photo is behind the bar. */
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s var(--ease-out);
}
/* Once scrolling, the bar turns translucent with a soft backdrop blur — weightless but readable. */
.nav.is-floating {
  background: rgba(252, 250, 247, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom-color: rgba(220, 205, 191, 0.6);
  box-shadow: 0 6px 24px rgba(60, 40, 50, 0.08);
}

/* Single-row banner spanning the full width: nav links flush left, centered
   wordmark, actions flush right (like the reference storefront). */
.nav-inner {
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3.25rem);
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1.5rem;
}

.brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  color: var(--clay-deep);
  text-decoration: none;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: 0.01em;
  color: var(--clay-deep);
  white-space: nowrap;
  /* offset plum shadow gives the retro two-tone "sticker" pop */
  text-shadow: 2px 2px 0 var(--ink-soft);
}

.nav-links { grid-column: 1; grid-row: 1; justify-self: start; display: flex; gap: 2.6rem; }
.nav-links a {
  position: relative;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 0.5rem 0;
  transition: color 0.25s var(--ease-out);
}
/* thin burgundy underline that grows from the centre */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.3rem;
  height: 1px;
  background: var(--clay-deep);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out);
}
.nav-links a:hover { color: var(--clay-deep); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--clay-deep); }

.nav-actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 0.3rem; }
.nav-icon {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  border-radius: var(--radius-pill);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.nav-icon:hover { color: var(--clay-deep); background: rgba(223, 126, 150, 0.1); }
.nav-icon svg { width: 23px; height: 23px; }
/* cart is a plain outline icon (no filled circle) — matches the search icon */
#cartToggle { background: none; color: var(--ink); }
#cartToggle:hover { background: var(--clay-soft); color: var(--clay-deep); }
/* tiny burgundy quantity badge, ringed so it reads cleanly over the bag */
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  display: grid;
  place-items: center;
  background: var(--clay-deep);
  color: var(--print);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--paper);
}
.cart-count[hidden] { display: none; }

/* Cart drawer */
.cart { position: fixed; inset: 0; z-index: var(--z-modal); }
.cart[hidden] { display: none; }
.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(74, 40, 36, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(28rem, 100%);
  display: flex;
  flex-direction: column;
  background: var(--print);
  border-left: 1px solid var(--line-strong);
  box-shadow: -20px 0 60px rgba(74, 40, 36, 0.25);
  animation: cart-in 0.3s var(--ease-out);
}
@keyframes cart-in { from { transform: translateX(100%); } to { transform: none; } }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { margin: 0; font-size: 1.4rem; }
.cart-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--clay-deep);
  cursor: pointer;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.cart-close:hover { color: var(--clay-deep); border-color: var(--clay-deep); }
.cart-close svg { width: 18px; height: 18px; }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.cart-empty { color: var(--ink-faint); text-align: center; margin: 2.5rem 0; }
.cart-row { display: flex; gap: 1rem; align-items: center; }
.cart-thumb {
  width: 64px;
  height: 64px;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.cart-thumb svg, .cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.cart-row-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink); overflow-wrap: break-word; }
.cart-row-price { font-size: 0.9rem; color: var(--ink-soft); }
.cart-remove {
  align-self: flex-start;
  margin-top: 0.15rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--ink-faint);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}
.cart-remove:hover { color: var(--clay-deep); }
.cart-foot { padding: 1.4rem 1.5rem; border-top: 1px solid var(--line); }
.cart-foot:empty { display: none; }
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--ink);
}
.cart-subtotal strong { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.cart-foot .btn { width: 100%; }
.cart-note { margin: 0.8rem 0 0; font-size: 0.8rem; color: var(--ink-faint); text-align: center; }

/* Dear Digi checkout block — free-shipping banner + secure button + pay chips */
.cart-ship {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  margin-bottom: 1rem;
  background: var(--clay-soft);
  color: var(--clay-deep);
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}
.cart-ship svg { width: 17px; height: 17px; flex: none; }
.cart-checkout { gap: 0.55rem; }
.cart-checkout svg { width: 16px; height: 16px; flex: none; }
.cart-foot .pay-badges { justify-content: center; margin: 0.9rem 0 0; }

/* Currency selector in the banner */
.currency-select select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b3a3a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.35rem center;
  background-size: 13px 13px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0.4rem 1.45rem 0.4rem 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.currency-select select:hover { color: var(--clay-deep); background-color: rgba(223, 126, 150, 0.08); }
.currency-select select:focus-visible { outline: 2px solid var(--clay); outline-offset: 1px; }
.currency-select option { color: var(--ink); font-weight: 500; }

/* Search popup (drops from the top with a live stock preview) */
.search { position: fixed; inset: 0; z-index: var(--z-modal); }
.search[hidden] { display: none; }
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(74, 40, 36, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.search-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-height: min(88vh, 100%);
  display: flex;
  flex-direction: column;
  background: var(--print);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px rgba(74, 40, 36, 0.25);
  animation: search-in 0.28s var(--ease-out);
}
@keyframes search-in { from { transform: translateY(-100%); } to { transform: none; } }
.search-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.8rem var(--pad-x);
  border-bottom: 1px solid var(--line);
}
.search-top-icon { width: 19px; height: 19px; color: var(--ink-faint); flex: none; }
.search-top input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: var(--ink);
  padding: 0.2rem 0;
}
.search-top input::placeholder { color: var(--ink-faint); }
.search-top input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-close {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--clay-deep);
  cursor: pointer;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.search-close:hover { color: var(--clay-deep); border-color: var(--clay-deep); }
.search-close svg { width: 16px; height: 16px; }
.search-results {
  overflow-y: auto;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.5rem var(--pad-x) 1.5rem;
}
.search-empty { color: var(--ink-faint); text-align: center; padding: 2.5rem 0; }
.search-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.4rem;
  cursor: pointer;
  transition: background-color 0.15s var(--ease-out);
}
.search-item:hover { background: rgba(223, 126, 150, 0.06); }
.search-thumb {
  flex: none;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--blush);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.search-thumb svg, .search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.search-item-name { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.search-item-sub { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.search-item-price { font-family: var(--font-display); font-weight: 500; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.search-item-price.is-sold { color: var(--ink-faint); text-decoration: line-through; }

/* mobile-only left cluster: hamburger + search icon */
.nav-left {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: none;
  align-items: center;
  gap: 0.1rem;
}
.nav-search-mobile { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--clay);
  transition: transform 0.25s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem var(--pad-x) 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { margin-top: 1rem; border-bottom: none; text-align: center; }
.mobile-menu a.btn-solid { color: var(--print); font-size: 0.85rem; }
.mobile-menu.open { display: flex; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + var(--top-h) + 3.5rem) var(--pad-x) clamp(3rem, 6vw, 5rem);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-proof {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin: 3rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-proof div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-proof dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--clay-deep);
}
.hero-proof dd {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-faint);
}

/* hero figure — a print from the album */
.hero-figure {
  border-radius: var(--radius-lg);
  position: relative;
  margin: 0;
  padding: 1.5rem 1.5rem 1rem;
  background: var(--print);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-print);
  transform: rotate(1.2deg);
}
.hero-camera {
  width: 100%;
  height: auto;
  background: var(--blush);
}

.anno-label {
  position: absolute;
  font-size: 0.82rem;
  font-weight: 600;
  font-style: italic;
  color: var(--clay-deep);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.7rem;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(223, 126, 150, 0.12);
}

.hero-figcaption {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--ink-faint);
  text-align: center;
}

/* slow breathing rotation on the control dial */
.dial { transform-box: fill-box; transform-origin: center; animation: dial-turn 14s linear infinite; }
@keyframes dial-turn { to { transform: rotate(360deg); } }

/* ==========================================================================
   Film strip divider
   ========================================================================== */

.filmstrip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg,
      transparent 0 14px, rgba(223, 126, 150, 0.28) 14px 26px, transparent 26px 40px) 0 6px / 40px 8px,
    repeating-linear-gradient(90deg,
      transparent 0 14px, rgba(223, 126, 150, 0.28) 14px 26px, transparent 26px 40px) 0 calc(100% - 14px) / 40px 8px,
    var(--paper-2);
  background-repeat: repeat-x, repeat-x, no-repeat;
  padding: 1.6rem 0;
}

.filmstrip-track {
  display: flex;
  width: max-content;
  animation: film-advance 144s linear infinite;
}
.filmstrip-track span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--clay-deep);
  white-space: nowrap;
  padding-right: 2rem;
}
@keyframes film-advance { to { transform: translateX(-50%); } }
.filmstrip:hover .filmstrip-track,
.filmstrip:focus-within .filmstrip-track { animation-play-state: paused; }

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  scroll-margin-top: 1rem;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-lede { color: var(--ink-soft); margin-top: 1rem; font-size: 1.05rem; }

/* ==========================================================================
   Collection grid — prints in an album
   ========================================================================== */

/* the product grid runs wider than the text sections so the 4 cards
   fill the space instead of floating in it */
.collection { max-width: 90rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.5vw, 1.1rem);
}

.grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-faint);
  padding: 3.5rem 0;
  font-size: 1.05rem;
}

/* Filter / sort toolbar */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.shop-selects { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.shop-meta { display: flex; align-items: center; gap: 1rem; }
.shop-count { font-size: 0.9rem; color: var(--ink-faint); white-space: nowrap; }

.shop-select select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a534e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.4rem center;
  background-size: 14px 14px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.45rem 1.65rem 0.45rem 0.55rem;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.shop-select select:hover { color: var(--clay-deep); background-color: rgba(223, 126, 150, 0.08); }
.shop-select select:focus-visible { outline: 2px solid var(--clay); outline-offset: 1px; }
.shop-select option { color: var(--ink); font-weight: 500; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--print);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-print);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out),
              border-color 0.45s var(--ease-out);
}
.grid .card:hover, .grid .card:focus-within {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 3px 10px rgba(74, 54, 44, 0.06), 0 30px 58px -14px rgba(74, 54, 44, 0.20);
}

.card-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(75% 70% at 50% 42%, rgba(255, 248, 239, 0.55), transparent 75%),
    var(--blush);
  border-radius: var(--radius-md);
  margin: 1.1rem 1.1rem 0;
  padding: 1.5rem;
  overflow: hidden;
}
.card-frame svg { width: 78%; height: auto; max-height: 100%; }
.card-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
/* Multi-photo cards. The strip lives inside the frame; the frame's overflow
   clips it to the first photo on desktop, where hover-zoom and click-through
   are the interaction. Touch devices scroll-snap through the photos instead. */
.card-frame .card-strip {
  position: absolute;
  inset: 0;
  display: flex;
  border-radius: inherit;
}
.card-frame .card-strip img,
.card-frame .card-strip svg {
  position: static;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  border-radius: inherit;
}
.card-dots { display: none; }

/* gallery-piece hover: the camera lifts and gently breathes within its frame */
.card-frame img, .card-frame svg { transition: transform 0.65s var(--ease-out); }
.grid .card:hover .card-frame img, .grid .card:focus-within .card-frame img,
.grid .card:hover .card-frame svg, .grid .card:focus-within .card-frame svg { transform: scale(1.055); }

.card-frame-label {
  position: absolute;
  top: 0.7rem;
  left: 0.9rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  text-transform: uppercase;
  z-index: 1;
}

.card-status {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(111, 127, 94, 0.4);
  color: var(--sage-deep);
  background: rgba(255, 248, 239, 0.88);
  z-index: 1;
}
.card-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}
.card-status.is-reserved { color: var(--ink-faint); border-color: var(--line-strong); }
.card-status.is-reserved::before { background: var(--ink-faint); }
.card-status.is-sold { color: var(--clay-deep); border-color: rgba(223, 126, 150, 0.4); }
.card-status.is-sold::before { background: var(--clay); }

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.3rem 1.5rem 1.5rem;
  flex: 1;
}

.card-era {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.card-name {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0.1rem 0 0.2rem;
}
.card-condition {
  font-size: 0.9rem;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}

.card-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: rgba(111, 127, 94, 0.13);
  border: 1px solid rgba(111, 127, 94, 0.32);
  border-radius: 999px;
  padding: 0.32rem 0.75rem;
  margin-bottom: 0.7rem;
}

.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.card-price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.12rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.card-price.is-sold { color: var(--ink-faint); text-decoration: line-through; text-decoration-thickness: 1px; }

.card-cta {
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  font-size: 0.76rem;
}

.sold-overlay .card-frame svg, .sold-overlay .card-frame img { opacity: 0.35; }

.collection-note {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.75rem;
  font-size: 0.92rem;
  color: var(--ink-faint);
  max-width: none;
}
.collection-note svg { width: 18px; height: 18px; flex: none; color: var(--clay-soft); }

/* ==========================================================================
   Process
   ========================================================================== */

/* ---- Header: eyebrow, editorial heading, and a bow-marked supporting line ---- */
.process-head .eyebrow { margin-bottom: 1.1rem; }
.process-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}
.process-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.05rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  max-width: 18ch;
}
.pt-digi { white-space: nowrap; }
.process-intro {
  position: relative;
  padding-left: clamp(1.5rem, 2.6vw, 2.5rem);
  border-left: 1px dashed var(--clay-soft);
}
.process-intro p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.62;
  max-width: 32ch;
}
.process-intro-bow {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--clay);
  background: var(--paper);
  padding: 5px 3px;
  display: grid;
  place-items: center;
}
.process-intro-bow svg { width: 30px; height: auto; display: block; }

/* ---- Timeline: four steps on a thin dusty-pink line ---- */
.timeline {
  --tl-gap: clamp(0.75rem, 2vw, 2.25rem);
  list-style: none;
  margin: clamp(2.4rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--tl-gap);
}
.tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.tl-icon {
  width: clamp(74px, 7vw, 94px);
  height: clamp(74px, 7vw, 94px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--clay);
  background: var(--print);
  border: 1px solid var(--clay-soft);
  box-shadow: 0 0 0 5px rgba(223, 126, 150, 0.06);
  margin-bottom: clamp(1.4rem, 2.4vw, 2rem);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.tl-icon svg { width: 54%; height: 54%; display: block; }
.tl-step:hover .tl-icon,
.tl-step:focus-within .tl-icon {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 0 6px rgba(223, 126, 150, 0.11);
}
.tl-node {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: clamp(1rem, 1.8vw, 1.5rem);
}
.tl-node::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--tl-gap) / -2);
  right: calc(var(--tl-gap) / -2);
  height: 1px;
  background: var(--clay);
  opacity: 0.5;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-out);
  z-index: 0;
}
.timeline.is-drawn .tl-node::before { transform: scaleX(1); }
.tl-step:first-child .tl-node::before { left: 50%; transform-origin: left center; }
.tl-step:last-child .tl-node::before { right: 50%; }
.tl-num {
  position: relative;
  z-index: 1;
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.45rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--clay);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--clay-deep);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.tl-body { max-width: 15rem; }
.tl-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.12rem, 1.4vw, 1.3rem);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.5rem;
  text-wrap: balance;
}
.tl-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}
.tl-body::after {
  content: "";
  display: block;
  width: 48px;
  height: 12px;
  margin: 1rem auto 0;
  opacity: 0.75;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 12' fill='none' stroke='%23df7e96' stroke-width='1.1' stroke-linecap='round'%3E%3Cline x1='2' y1='6' x2='17' y2='6'/%3E%3Cpath d='M24 9.2c-2-1.4-3.3-2.6-3.3-4 0-.95.72-1.65 1.63-1.65.77 0 1.38.43 1.67 1.02.29-.59.9-1.02 1.67-1.02.9 0 1.63.7 1.63 1.65 0 1.4-1.3 2.6-3.3 4z' fill='%23df7e96' stroke='none'/%3E%3Cline x1='31' y1='6' x2='46' y2='6'/%3E%3C/svg%3E");
}

/* ---- Signature note ---- */
.process-note-wrap { text-align: center; margin-top: clamp(2.6rem, 5vw, 4rem); }
.process-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.66rem 1.7rem;
  border: 1px dashed var(--clay-soft);
  border-radius: var(--radius-pill);
  color: var(--clay-deep);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.2;
}
.process-note-bow { color: var(--clay); display: grid; place-items: center; }
.process-note-bow svg { width: 24px; height: auto; display: block; }

/* ---- Tablet & mobile: vertical timeline ---- */
@media (max-width: 880px) {
  .process-head-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .process-title { font-size: clamp(1.85rem, 6.4vw, 2.6rem); max-width: none; }
  .process-title br { display: none; }
  .process-intro { border-left: none; padding-left: 0; display: flex; align-items: center; gap: 0.7rem; }
  .process-intro-bow { position: static; transform: none; background: none; padding: 0; }
  .process-intro p { max-width: 44ch; }

  .timeline {
    display: block;
    position: relative;
    max-width: 34rem;
    margin: 2rem 0 0;
    padding-left: 3.1rem;
  }
  .timeline::before {
    content: "";
    position: absolute;
    left: 1.15rem;
    top: 1.4rem;
    bottom: 1.4rem;
    width: 1px;
    background: var(--clay);
    opacity: 0.45;
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 1s var(--ease-out);
  }
  .timeline.is-drawn::before { transform: scaleY(1); }

  .tl-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.95rem;
    padding: 0.95rem 1.05rem;
    margin-bottom: 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--print);
  }
  .tl-step:last-child { margin-bottom: 0; }
  .tl-icon {
    flex: none;
    width: 54px;
    height: 54px;
    margin: 0;
    box-shadow: none;
  }
  .tl-icon svg { width: 56%; height: 56%; }
  .tl-node {
    position: absolute;
    left: -3.05rem;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    margin: 0;
  }
  .tl-node::before { display: none; }
  .tl-num { min-width: 2.3rem; height: 2.3rem; font-size: 0.9rem; }
  .tl-body { max-width: none; }
  .tl-body::after { display: none; }
  .tl-title { font-size: 1.14rem; margin-bottom: 0.3rem; }
  .tl-desc { font-size: 0.9rem; }
}

@media (max-width: 560px) {
  .process-note { font-size: 0.9rem; padding: 0.55rem 1.05rem; gap: 0.45rem; }
  .process-note-bow svg { width: 21px; }
}

@media (max-width: 400px) {
  .timeline { padding-left: 2.85rem; }
  .tl-step { padding: 0.85rem 0.9rem; gap: 0.75rem; }
  .tl-icon { width: 48px; height: 48px; }
  .tl-node { left: -2.8rem; }
  .tl-num { min-width: 2.1rem; height: 2.1rem; font-size: 0.84rem; }
  .process-note { font-size: 0.86rem; padding: 0.5rem 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-node::before, .timeline::before { transition: none; transform: none; }
  .tl-step:hover .tl-icon, .tl-step:focus-within .tl-icon { transform: none; }
}

/* ==========================================================================
   Values — why Dear Digi
   ========================================================================== */
/* sits right after the hero — keep the transition snug, not a full section gap */
.hero + .values { padding-top: clamp(1.5rem, 4vw, 3rem); }

.values-head { text-align: center; max-width: 44rem; margin-left: auto; margin-right: auto; display: flex; flex-direction: column; align-items: center; }

/* Distinct-but-seamless: the values band sits on a soft full-width tint whose
   top/bottom edges fade into the neighbouring sections (no hard divider). */
.values { position: relative; z-index: 0; }
.values::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -16rem;   /* extend the gradient well into the next section */
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  /* starts full at the hero's edge (top), then eases down and out toward the
     next section — no plain gap at the top */
  background: linear-gradient(180deg,
    rgba(248, 217, 226, 0.48) 0%,
    rgba(248, 217, 226, 0.32) 28%,
    rgba(248, 217, 226, 0.18) 50%,
    rgba(248, 217, 226, 0.08) 72%,
    rgba(248, 217, 226, 0) 100%);
}
/* space between the values band and the collection below it */
.section.values { padding-bottom: clamp(2.4rem, 4.4vw, 3.6rem); }
.values + .collection { padding-top: clamp(3rem, 5.5vw, 4.5rem); }

.values-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
.value { text-align: center; padding: 0 0.5rem; }
.value-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.3rem;
  border-radius: var(--radius-pill);
  color: var(--clay-deep);
  background: radial-gradient(circle at 50% 35%, #fff, var(--blush));
  border: 1px solid var(--clay-soft);
  box-shadow: 0 8px 20px rgba(223, 126, 150, 0.18);
}
.value-icon { font-size: 2.6rem; line-height: 1; transition: transform 0.35s var(--ease-out); }   /* just the emoji, no circle */
.value-icon svg { width: 28px; height: 28px; }
/* charm: the emoji badge lifts and settles a little when its value is hovered */
.value:hover .value-icon { transform: translateY(-4px) scale(1.1); }
.value h3 { font-size: 1.35rem; margin-bottom: 0.55rem; }
.value p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 22rem;
}

/* ==========================================================================
   Guarantee
   ========================================================================== */

.guarantee-card {
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(90% 100% at 0% 0%, rgba(185, 111, 86, 0.1), transparent 60%),
    var(--paper-2);
  border: 1px solid var(--line-strong);
}
.guarantee-copy p { color: var(--ink-soft); }

.guarantee-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: center;
}
.guarantee-points li {
  border-radius: var(--radius-md);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--print);
  border: 1px solid var(--line);
  font-size: 0.97rem;
  box-shadow: 0 1px 3px rgba(223, 126, 150, 0.06);
}
.guarantee-points svg { width: 22px; height: 22px; flex: none; color: var(--clay-deep); margin-top: 0.1rem; }
.guarantee-points strong { color: var(--ink); font-weight: 700; }

/* ==========================================================================
   Sell your camera
   ========================================================================== */

.sell-card {
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(90% 100% at 100% 0%, rgba(111, 127, 94, 0.09), transparent 60%),
    var(--print);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-print);
}

.sell-points {
  list-style: none;
  margin: 0 0 1.9rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.sell-points li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.sell-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

.sell-figure { margin: 0; }
.sell-figure svg { width: min(100%, 340px); margin: 0 auto; }

/* ==========================================================================
   Voices / testimonials
   ========================================================================== */

.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.voice {
  position: relative;
  border-radius: var(--radius-md);
  margin: 0;
  padding: 2.4rem 1.8rem 1.8rem;
  background: var(--print);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-print);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
/* upright, aligned cards with a gentle lift on hover */
.voices-grid .voice:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}
/* editorial opening quotation flourish */
.voice::before {
  content: "\201C";
  position: absolute;
  top: 0.35rem;
  left: 1.4rem;
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--clay-soft);
  pointer-events: none;
}
.voice p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 450;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: none;
}
.voice footer {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.voice-avatar {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 25%, #fff, var(--clay-soft));
  border: 1px solid var(--line);
  color: var(--clay-deep);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1;
}
.voice-who { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; }
.voice cite {
  font-style: normal;
  font-weight: 700;
  color: var(--clay-deep);
  font-size: 0.98rem;
}
.voice span {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ==========================================================================
   About
   ========================================================================== */

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-figure svg { width: min(100%, 300px); margin: 0 auto; opacity: 0.9; }
.about-sig {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--clay-deep);
  margin-top: 1.5rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 46rem;
  display: flex;
  flex-direction: column;
}

.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--ink);
  transition: color 0.2s var(--ease-out);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--clay-deep); }

.faq-icon {
  position: relative;
  flex: none;
  width: 15px;
  height: 15px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--clay);
  transition: transform 0.25s var(--ease-out);
}
.faq-icon::before { width: 15px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 15px; }
.faq-list details[open] .faq-icon::after { transform: rotate(90deg); }

.faq-list details p {
  padding: 0 2.5rem 1.5rem 0.25rem;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}
.faq-list details .faq-lead { padding-bottom: 0.4rem; }
.faq-list details ul {
  padding: 0 2.5rem 0.5rem 0.25rem;
  margin: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 1rem;
}
.faq-list details ul li {
  position: relative;
  padding-left: 1.2rem;
  margin: 0.35rem 0;
}
.faq-list details ul li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}
/* a soft emoji accent leading each question */
.faq-list summary .faq-emoji {
  flex: none;
  margin-right: 0.6rem;
  font-size: 0.95em;
  line-height: 1;
}

/* ==========================================================================
   Final CTA + notify form
   ========================================================================== */

.final-cta { text-align: center; }
.final-inner { max-width: 44rem; margin: 0 auto; }
.final-inner .eyebrow { margin-bottom: 1.4rem; }
.final-inner p { margin-left: auto; margin-right: auto; }

.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2.2rem 0 3.5rem;
}

.notify {
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}
.notify label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}
.notify-row {
  display: flex;
  gap: 0.75rem;
  max-width: 30rem;
  margin: 0 auto;
}
.notify input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  background: var(--print);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease-out);
}
.notify input::placeholder { color: var(--ink-faint); }
.notify input:focus { border-color: var(--clay-deep); }
.notify-msg {
  min-height: 1.4rem;
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--sage-deep);
}
.notify-msg.error { color: var(--clay-deep); }

/* ==========================================================================
   Footer
   ========================================================================== */

/* Compact editorial footer — brand + statement left, horizontal nav right, slim bottom bar */
.footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 2.4rem var(--pad-x) 1.5rem;
}
.footer-main {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.4rem 3rem;
  flex-wrap: wrap;
}
.footer-brand .brand-word { font-size: 1.55rem; color: var(--logo); }
.footer-statement {
  margin: 0.6rem 0 0;
  max-width: 42ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
/* keep each clause intact so the line breaks cleanly at the comma, never mid-phrase */
.footer-statement .fs-line { display: inline-block; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem 1.5rem;
  padding-top: 0.5rem;
}
.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s var(--ease-out);
}
.footer-nav a:hover { color: var(--clay-deep); }
.footer-ig { display: inline-flex; align-items: center; gap: 0.32rem; color: var(--clay-deep); }
.footer-ig svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease-out); }
.footer-ig:hover svg { transform: translate(2px, -2px); }

.footer-bottom {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.5rem;
  flex-wrap: wrap;
}
.footer-fine { margin: 0; font-size: 0.8rem; color: var(--ink-faint); }
.footer-pay { display: flex; align-items: center; }
.footer-pay .pay-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }

@media (max-width: 700px) {
  .footer-main { flex-direction: column; gap: 1.2rem; }
  .footer-nav { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ==========================================================================
   Modal
   ========================================================================== */

.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 1.25rem; }
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(74, 40, 36, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-card {
  border-radius: var(--radius-lg);
  position: relative;
  width: min(56rem, 100%);
  max-height: min(88vh, 100%);
  overflow-y: auto;
  background: var(--print);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px rgba(74, 40, 36, 0.35);
  animation: modal-in 0.35s var(--ease-out);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  /* sticky (not absolute) so it stays visible while the modal card scrolls */
  position: sticky;
  top: 0.9rem;
  margin: 0 0.9rem -44px auto;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 239, 0.88);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--clay-deep);
  cursor: pointer;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.modal-close:hover { color: var(--clay-deep); border-color: var(--clay-deep); }
.modal-close svg { width: 18px; height: 18px; }

.modal-body { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }

.modal-figure {
  padding: 1.5rem;
  background:
    radial-gradient(75% 65% at 50% 45%, rgba(255, 248, 239, 0.4), transparent 75%),
    var(--blush);
  border-right: 1px solid var(--line);
}

/* one square photo fills the frame; swipe or use the arrows for the rest */
.modal-gallery { position: relative; }

.modal-gallery-viewport {
  display: flex;
  aspect-ratio: 1 / 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* claim horizontal swipes so the modal's vertical scroll can't steal them */
  touch-action: pan-x;
  scrollbar-width: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--print);
}
.modal-gallery-viewport::-webkit-scrollbar { display: none; }

.modal-gallery-tile {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: radial-gradient(75% 70% at 50% 42%, rgba(255, 248, 239, 0.55), transparent 75%);
}
.modal-gallery-tile svg { width: 100%; height: 100%; }
.modal-gallery-tile img { width: 100%; height: 100%; object-fit: cover; }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 239, 0.9);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--clay-deep);
  cursor: pointer;
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}
.gallery-arrow svg { width: 18px; height: 18px; }
.gallery-arrow:hover { color: var(--clay-deep); border-color: var(--clay-deep); }
.gallery-arrow.prev { left: 0.6rem; }
.gallery-arrow.next { right: 0.6rem; }
.gallery-arrow:disabled { opacity: 0.35; cursor: default; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}
.gallery-dot.is-active { background: var(--clay); }

.modal-info { padding: clamp(1.75rem, 4vw, 2.75rem); }
.modal-info .card-era { display: block; margin-bottom: 0.4rem; }
.modal-info h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.3rem;
}
.modal-info .card-tag { margin-bottom: 1.1rem; }
.modal-serial {
  font-size: 0.9rem;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 1.2rem;
}
.modal-serial-price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.modal-serial-price.is-sold { color: var(--ink-faint); text-decoration: line-through; text-decoration-thickness: 1px; }
.modal-desc { font-size: 1rem; color: var(--ink-soft); }

.modal-specs {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.25rem;
}
.modal-specs li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.7rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.modal-specs .spec-k {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.modal-specs .spec-v { font-size: 0.95rem; color: var(--ink); }

.modal-includes {
  font-size: 0.92rem;
  color: var(--ink-faint);
  margin-bottom: 1.75rem;
}
.modal-includes strong { color: var(--ink-soft); font-weight: 700; }

/* Sectioned info layout with bullet lists — used on phone and desktop. */
.modal-sec {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.6rem 0 0.7rem;
}
.modal-sec:first-child { margin-top: 0.5rem; }
.modal-list {
  list-style: none;
  margin: 0 0 0.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.modal-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.modal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}
.modal-list strong { color: var(--ink); font-weight: 700; }

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.modal-price-wrap { display: flex; flex-direction: column; }
.modal-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.9rem;
  color: var(--ink);
  line-height: 1.1;
}
.modal-price.is-sold { color: var(--ink-faint); text-decoration: line-through; text-decoration-thickness: 1px; }
.modal-price-note {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

/* Gated behind html.js so content never hides if scripts don't run */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: 0.12s; }
html.js .reveal.d2 { transition-delay: 0.24s; }
html.js .reveal.d3 { transition-delay: 0.36s; }
html.js .reveal.d4 { transition-delay: 0.48s; }

html.js .grid .card.reveal { transform: translateY(22px); }
html.js .grid .card.reveal.in:hover,
html.js .grid .card.reveal.in:focus-within { transform: translateY(-8px); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  /* the 5-link nav needs ~1000px; collapse to the hamburger early.
     The hamburger sits alone on the left; the search icon stays next to the
     bag on the right, at every screen size. */
  .nav-links { display: none; }
  .nav-left { display: flex; }
  .nav-toggle { display: flex; }
  .nav-search-mobile { display: none; }
  .nav-search-desktop { display: grid; }

  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voices-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voices-grid .voice:last-child { grid-column: 1 / -1; }
}

/* Hero anno-labels are positioned against the whole figure (incl. the
   figcaption); below ~1200px the bottom label collides with the caption
   text, so hide all labels until the figure column is wide enough. */
@media (max-width: 1200px) {
  .anno-label { display: none; }
}

/* Desktop: the photo/info split has room to breathe, so trade the swipe
   carousel for a vertical stack of full squares you scroll through, with
   the pink pane filling the full height of the info column beside it. */
@media (min-width: 881px) {
  /* The card is a fixed frame that doesn't scroll as a whole: the left photo
     pane and the right info pane each scroll on their own, so the info stays
     stationary while only the pictures move. */
  .modal-card { display: flex; flex-direction: column; overflow: hidden; }
  .modal-body { display: flex; flex: 1; min-height: 0; }
  .modal-figure { display: flex; flex-direction: column; flex: 0 0 45%; }
  .modal-info { flex: 1; min-width: 0; min-height: 0; overflow-y: auto; }
  /* float the close button so it doesn't pull the panes up (keeps the top
     pink cap intact) and stays put while the info pane scrolls */
  .modal-close { position: absolute; top: 0.9rem; right: 0.9rem; margin: 0; }
  .modal-gallery { flex: 1; display: flex; flex-direction: column; min-height: 0; }
  /* No inner frame: photos sit straight on the pink pane. The pane's own
     1.5rem padding is the margin around the edges, and the gap between
     photos is the same 1.5rem — so every pink gutter is identical. */
  .modal-gallery-viewport {
    flex: 1;
    min-height: 0;
    flex-direction: column;
    aspect-ratio: auto;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    touch-action: pan-y;
    gap: 1.5rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
  }
  .modal-gallery-tile {
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
    background: var(--print);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .gallery-arrow, .gallery-dots { display: none; }
  /* clones only exist for the mobile infinite carousel — hide on desktop */
  .modal-gallery-tile[data-clone] { display: none; }
}

@media (max-width: 880px) {
  .hero { padding-top: calc(var(--nav-h) + var(--top-h) + 2.5rem); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 34rem; margin: 0 auto; }

  .guarantee-card { grid-template-columns: 1fr; }
  .sell-card { grid-template-columns: 1fr; }
  .sell-figure { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about-figure { display: none; }

  .modal-body { grid-template-columns: 1fr; }
  .modal-figure { border-right: none; border-bottom: 1px solid var(--line); padding: 2rem 1.5rem; }

  .values-grid { grid-template-columns: 1fr; gap: 2.75rem; max-width: 30rem; margin-inline: auto; }
}

@media (max-width: 640px) {
  /* two products per row on mobile, scroll down for the rest */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
  /* minimal cards: square photo, small name + description, price.
     Tap the card for full details, status and Add to bag. */
  .card-frame { aspect-ratio: 1 / 1; margin: 0.5rem 0.5rem 0; padding: 0.6rem; }
  .card-status, .card-frame-label { display: none; }
  .card-body { padding: 0.7rem 0.8rem 0.9rem; gap: 0.15rem; }
  .card-era { font-size: 0.62rem; }
  .card-name { font-size: 1rem; margin: 0.1rem 0 0; }
  .card-condition, .card-tag, .card-cta { display: none; }
  .card-foot { padding-top: 0.5rem; border-top: none; }
  .card-price { font-size: 1.15rem; }

  .process-steps { grid-template-columns: 1fr; }
  .voices-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-wrap: wrap; gap: 1.25rem 2rem; }
  .notify-row { flex-direction: column; }
  .modal-specs { grid-template-columns: 1fr; }
  .modal-foot .btn { width: 100%; }
  .modal-price-wrap { width: 100%; }
  .sell-card .btn-lg { width: 100%; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .iris { display: none; }
  .filmstrip-track { animation: none; }
  .carousel-track { animation: none; }
  .grid.is-carousel { overflow-x: auto; }
  .dial { animation: none; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .grid .card.reveal { transform: none; }
  .modal-card { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   PREMIUM REDESIGN — "Powder & Plum" boutique
   Bright cream gallery · deep plum-ink type & CTAs · one restrained lilac
   whisper (fills/hairlines/hover only) · calm, editorial, generous air.
   ========================================================================== */
:root { --max-w: 78rem; }

/* Type — couture calm, lighter weights */
body { color: var(--ink-soft); line-height: 1.72; letter-spacing: 0.002em; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.015em; font-weight: 500; }
h1 { font-weight: 550; }
.eyebrow { color: var(--clay-deep); letter-spacing: 0.18em; font-weight: 700; font-size: 0.76rem; }
a { color: var(--clay-deep); }
a:hover { color: var(--ink); }
::selection { background: var(--clay-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--clay-deep); outline-offset: 3px; }
.skip-link { background: var(--ink); color: #fff; }

/* Buttons — deep plum-ink pill with cream text (premium + legible) */
.btn { font-weight: 600; border: 1px solid var(--line-strong); }
.btn-solid { background: var(--clay-deep); color: #fff; border-color: var(--clay-deep); }
.btn-solid:hover { background: #a5324f; border-color: #a5324f; color: #fff; box-shadow: 0 10px 28px rgba(190, 63, 94, 0.28); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--clay-soft); border-color: var(--clay-deep); color: var(--clay-deep); }

/* Card quick-add: a soft-pink circle with a rose bag icon that expands to reveal "Add" on hover — matches the nav cart */
.card-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 40px;
  min-width: 40px;
  padding: 0 10px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--clay-soft);
  color: var(--clay-deep);
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.card-add-icon { width: 20px; height: 20px; flex: none; }
.card-add-text {
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  transition: max-width 0.3s var(--ease-out), opacity 0.25s var(--ease-out), margin-left 0.3s var(--ease-out);
}
.card-add:hover, .card-add:focus-visible { background: var(--clay); color: #fff; }
.card-add:hover .card-add-text,
.card-add:focus-visible .card-add-text { max-width: 4rem; opacity: 1; margin-left: 0.4rem; }

/* Modal CTAs — Add to bag + Buy it now, stacked full-width right under the price */
.modal-info .modal-serial-price { margin-bottom: 1rem; }
.modal-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0 0 1.6rem;
  padding-top: 1.3rem;
}
/* gradient stripe between the price and the Add-to-bag section */
.modal-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--clay-soft) 16%, var(--clay-deep) 50%, var(--clay-soft) 84%, transparent 100%);
}
/* slimmer than btn-lg — full width but not chunky */
.modal-cta .btn { width: 100%; min-height: 44px; padding: 0.62rem 1.4rem; font-size: 0.88rem; }

/* ---- Add-to-bag feedback: bump the top-right bag icon, no drawer pop-up ---- */
.cart-count { background: var(--clay-deep); }   /* legible count on cream */

@keyframes cartBump {
  0%   { transform: scale(1); }
  28%  { transform: scale(1.26); }
  55%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.nav-icon.is-bumping { animation: cartBump 0.5s var(--ease-out); }

/* a soft accent ring pulses outward on add */
.nav-icon.is-bumping::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  border: 2px solid var(--clay-deep);
  pointer-events: none;
  animation: cartRing 0.6s var(--ease-out) forwards;
}
@keyframes cartRing {
  0%   { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0; }
}

@keyframes cartPop {
  0%   { transform: scale(0.3); }
  60%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}
.cart-count.is-bumping { animation: cartPop 0.45s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  .nav-icon.is-bumping, .nav-icon.is-bumping::after, .cart-count.is-bumping { animation: none; }
}

/* Wordmark — refined single-ink italic, no hard offset shadow */
.brand, .brand-word, .nav .brand, .footer-brand .brand-word { color: var(--logo); text-shadow: none; }

/* Nav accents */
.nav-links a:hover { color: var(--clay-deep); }
.nav-icon:hover { color: var(--clay-deep); background: var(--clay-soft); }

/* Cards — softer radius, whisper shadow, lilac-cream product bed */
.card { border-radius: 20px; border-color: var(--line); box-shadow: var(--shadow-print); background: var(--print); }
.grid .card:hover, .grid .card:focus-within { transform: translateY(-5px); border-color: var(--clay-soft); box-shadow: var(--shadow-lift); }
.card-frame { background: radial-gradient(72% 68% at 50% 40%, #fff 0%, transparent 72%), var(--blush); border: 1px solid var(--line); border-radius: 14px; }
.card-status.is-sold { color: var(--clay-deep); border-color: var(--clay-deep); }

/* Sections — roomier, calmer rhythm */
/* One consistent vertical rhythm for every section: each contributes ~4.5rem
   top and bottom, so every section-to-section gap is a uniform ~9rem (was up
   to ~18rem, which made some gaps feel much bigger than others). */
.section { padding: clamp(2.4rem, 4.4vw, 3.6rem) var(--pad-x); }
.section-head { max-width: 44rem; margin-bottom: clamp(2.25rem, 4.6vw, 3.4rem); }
.hero + .values { padding-top: clamp(2.4rem, 4.8vw, 3.8rem); }

/* "More digicams" CTA under the home collection preview */
/* note on the left, button centered on the page (empty 3rd column balances it) */
.collection-more {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}
.collection-more .collection-note { margin: 0; }
@media (max-width: 640px) {
  /* stack and centre on small screens */
  .collection-more { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .collection-more .collection-note { justify-content: center; }
}

/* Home collection — infinite auto-scroll carousel of the featured cards.
   The card set is duplicated in the DOM so translateX(-50%) loops seamlessly. */
.grid.is-carousel {
  display: block;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.carousel-track {
  display: flex;
  width: max-content;
  padding: 0.5rem 0 1rem;
  animation: cardScroll 36s linear infinite;
}
.carousel-track .card {
  flex: none;
  width: clamp(240px, 23vw, 300px);
  margin-right: clamp(0.7rem, 1.5vw, 1.1rem);
}
/* no vertical lift inside the clipped track (it would get cut off) */
.grid.is-carousel .card:hover,
.grid.is-carousel .card:focus-within { transform: none; }
.grid.is-carousel:hover .carousel-track,
.grid.is-carousel:focus-within .carousel-track { animation-play-state: paused; }
@keyframes cardScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Touch behaviour for the two card carousels
   ========================================================================== */

/* the swipe hint only makes sense where there is something to swipe */
.related-hint { display: none; }

@media (hover: none), (max-width: 640px) {
  /* --- swipeable photos inside each product card --- */
  .card-frame .card-strip {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .card-frame .card-strip::-webkit-scrollbar { display: none; }
  .card-frame .card-strip img,
  .card-frame .card-strip svg { scroll-snap-align: center; }

  /* No hover effects on a touch screen. A tap leaves a sticky :hover, so the
     first swipe was spent lifting and zooming the card instead of moving the
     photo. Kill the lift, the zoom, and the transition that animates them. */
  .grid .card:hover, .grid .card:focus-within {
    transform: none;
    border-color: var(--line);
    box-shadow: var(--shadow-print);
  }
  .grid .card:hover .card-frame img, .grid .card:focus-within .card-frame img,
  .grid .card:hover .card-frame svg, .grid .card:focus-within .card-frame svg { transform: none; }
  .card-frame img, .card-frame svg { transition: none; }

  /* the price already reads as dollars; the code is noise on a small card */
  .card-price .price-cur { display: none; }

  /* let a horizontal drag swipe the product photo instead of scrolling the page */
  .pg-viewport, .pg-track { touch-action: pan-y; }

  .card-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.45rem;
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    z-index: 2;
    pointer-events: none;
  }
  .card-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(74, 54, 44, 0.28);
    box-shadow: 0 0 0 1px rgba(255, 248, 239, 0.55);
    transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  }
  .card-dot.is-active { background: var(--clay-deep); transform: scale(1.35); }

  /* --- "You may also like": a snap row, not an auto-running marquee ---
     The marquee paused on :hover, and a tap leaves a sticky hover on touch,
     so it stopped dead and never resumed. Manual snap scrolling has no such
     state, and two cards sit in view instead of one-and-two-halves. */
  .grid.is-carousel {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 1rem;
    scrollbar-width: none;
    /* fade only the right edge: a standing hint that the row continues */
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 86%, rgba(0, 0, 0, 0.15) 100%);
            mask-image: linear-gradient(90deg, #000 0, #000 86%, rgba(0, 0, 0, 0.15) 100%);
  }
  .grid.is-carousel::-webkit-scrollbar { display: none; }
  /* the marquee is replaced by a JS auto-advance that a swipe can interrupt */
  .carousel-track { animation: none; }
  .carousel-track .card {
    width: 43vw;
    max-width: 210px;
    margin-right: 0.7rem;
    scroll-snap-align: start;
  }

  .related-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0.1rem 0 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-faint);
    transition: opacity 0.4s var(--ease-out);
  }
  .related-hint.is-gone { opacity: 0; pointer-events: none; }
  .related-hint svg { width: 13px; height: 13px; animation: hintNudge 1.9s var(--ease-out) infinite; }
  @keyframes hintNudge {
    0%, 60%, 100% { transform: translateX(0); }
    30% { transform: translateX(4px); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .related-hint svg { animation: none; }
}

/* Home collection — a stationary "featured 4" that breathes to a different 4 on a timer */
.grid.is-featured { display: block; }
.hcar { position: relative; }
.hcar-page {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
  padding: 0.4rem 0;
  transition: opacity 0.2s var(--ease-out);
  touch-action: pan-y;   /* let us handle horizontal drags; vertical page scroll still works */
}
.hcar-page > .card { min-width: 0; }   /* exactly 4 columns, never a spilled/half card */
/* plain quick fade between sets (no breathe/scale) */
.hcar-page.is-swapping { opacity: 0; }
@media (max-width: 900px) { .hcar-page { grid-template-columns: repeat(2, 1fr); } }
/* navigation bar — arrows flanking the dots, centered under the cards */
.hcar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.4rem;
}
.hcar-arrow {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--clay-deep);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.hcar-arrow svg { width: 16px; height: 16px; }
.hcar-arrow:hover, .hcar-arrow:focus-visible { background: var(--clay-soft); border-color: var(--clay-deep); }
.hcar-dots { display: flex; align-items: center; gap: 0.5rem; }
.hcar-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--clay-soft);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.hcar-dot.is-active { background: var(--clay-deep); transform: scale(1.3); }

/* Value icons + step numbers — lilac whisper */
.step-no, .value-icon { color: var(--clay-deep); }
/* soft, subtle circle behind the emoji — no bright white centre or float shadow */
.value-icon { background: none; border: none; box-shadow: none; }   /* no circle — emoji only */

/* Guarantee panel + filmstrip marquee */
.guarantee-card { background: radial-gradient(90% 100% at 0% 0%, rgba(223, 126, 150, 0.08), transparent 62%), var(--paper-2); border-color: var(--line-strong); }
.filmstrip-track span { color: var(--clay-deep); }

/* Gentle fade + slight rise on scroll (no blur) */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .grid .card.reveal { transform: translateY(16px); }

/* ---- Hero: editorial composition, type anchored lower-left over the photograph ---- */
.hero {
  position: relative;
  min-height: clamp(520px, 78svh, 720px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + var(--top-h) + 3rem) var(--pad-x) clamp(2.8rem, 6vw, 4.5rem);
  background-color: var(--ink);
  /* soft left scrim for legibility; the right side of the photo stays bright and airy */
  background-image:
    linear-gradient(to right, rgba(22,15,13,0.46) 0%, rgba(22,15,13,0.22) 34%, rgba(22,15,13,0.04) 60%, transparent 78%),
    linear-gradient(to top, rgba(22,15,13,0.16) 0%, transparent 34%),
    url("../images/new-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: block;
  text-align: left;
}
.hero-rule {
  display: block;
  width: 2.4rem;
  height: 1.5px;
  margin-bottom: 1.25rem;
  background: var(--clay);
  opacity: 0.95;
}
.hero .eyebrow { color: var(--clay); margin-bottom: 0.85rem; text-shadow: 0 1px 3px rgba(18,12,20,0.5); }
.hero-title {
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 550;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.15rem;
  max-width: 11ch;
  text-shadow: 0 1px 2px rgba(18,12,20,0.32), 0 2px 30px rgba(18,12,20,0.4);
}
.hero-lede {
  max-width: 34ch;
  margin: 0;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 10px rgba(18,12,20,0.35);
}
.hero-actions { display: flex; justify-content: flex-start; margin-top: 2.1rem; }
/* rose solid CTA with arrow */
.hero .btn-solid {
  background: var(--clay-deep);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(18, 12, 20, 0.28);
}
.hero .btn-solid:hover { background: #a5324f; color: #fff; border-color: transparent; box-shadow: 0 16px 40px rgba(18, 12, 20, 0.34); transform: translateY(-1px); }
.hero-cta { display: inline-flex; align-items: center; gap: 0.65rem; padding: 1.05rem 2.5rem; letter-spacing: 0.035em; }
.hero-cta .btn-arrow { transition: transform 0.3s var(--ease-out); }
.hero-cta:hover .btn-arrow { transform: translateX(4px); }
/* editorial corner caption, aligned to the content's right edge */
.hero-caption {
  position: absolute;
  bottom: clamp(2.8rem, 6vw, 4.5rem);
  right: max(var(--pad-x), calc((100% - var(--max-w)) / 2));
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-shadow: 0 1px 6px rgba(18,12,20,0.5);
}
.hero-figure { margin: clamp(3rem, 6vw, 5rem) 0 0; width: 100%; max-width: 46rem; padding: 0; border: none; background: none; box-shadow: none; transform: none; }
.hero-stage { position: relative; border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem); background: radial-gradient(85% 80% at 50% 34%, #fff 0%, var(--blush) 62%, #f0e6e6 100%); border: 1px solid var(--line); box-shadow: var(--shadow-lift); overflow: hidden; }
.hero-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(38% 46% at 50% 46%, rgba(223, 126, 150, 0.16), transparent 70%); pointer-events: none; }
.hero-stage-tag { position: absolute; top: clamp(1.1rem, 2.4vw, 1.6rem); left: 50%; transform: translateX(-50%); z-index: 2; font-family: var(--font-body); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay-deep); background: rgba(255, 255, 255, 0.72); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.35rem 0.9rem; white-space: nowrap; backdrop-filter: blur(4px); }
.hero-camera { position: relative; z-index: 1; width: 100%; height: auto; background: transparent; }
.hero-figcaption { margin: 1.4rem auto 0; max-width: 42ch; font-size: 0.92rem; font-style: italic; color: var(--ink-faint); text-align: center; }
.anno-label { display: none !important; }

/* Full-bleed hero photo band (edge to edge). Drops in images/hero.jpg;
   until the file exists, a soft gradient stands in (no broken image). */
.hero-figure-photo { max-width: none; width: 100%; }
.hero-band {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: clamp(240px, 40vh, 470px);
  margin: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  /* visible placeholder tint until images/hero.jpg exists */
  background: linear-gradient(115deg, var(--clay-soft), var(--clay) 55%, var(--sage));
}
.hero-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-band-img.is-missing { display: none; }   /* JS sets this if the file is absent */
.hero-band-hint { display: none; }
.hero-band-img.is-missing ~ .hero-band-hint {
  display: block;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--clay-soft);
  box-shadow: var(--shadow-print);
}
.hero-band-hint b { font-weight: 700; color: var(--clay-deep); }
@media (max-width: 720px) {
  .hero-band { height: clamp(220px, 46vh, 340px); }
}

@media (max-width: 720px) {
  .hero {
    padding-top: calc(var(--nav-h) + var(--top-h) + 2.5rem);
    align-items: flex-end;
    /* stronger, taller scrim so white type stays legible wherever the block lands on narrow screens */
    background-image:
      linear-gradient(to top, rgba(22,15,13,0.82) 0%, rgba(22,15,13,0.68) 30%, rgba(22,15,13,0.5) 52%, rgba(22,15,13,0.28) 72%, transparent 92%),
      url("../images/new-hero.jpg");
  }
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.6rem); max-width: 14ch; }
  .hero-caption { display: none; }
  .hero-figure { max-width: 32rem; }
  .hero-stage { padding: 2rem 1.2rem 2.4rem; }
}

/* keep content visible for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .grid .card.reveal { transform: none; }
}

/* ==========================================================================
   Standalone product page (product.html)
   ========================================================================== */
.product-section { max-width: 80rem; padding-top: calc(var(--nav-h) + var(--top-h) + 2.5rem); }

.product-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--clay-deep);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: gap 0.2s var(--ease-out);
}
.product-back svg { width: 18px; height: 18px; }
.product-back:hover { gap: 0.7rem; }

/* Open, editorial layout — no card frame; the two columns breathe in the
   full width with a generous gap between them. */
.product-detail { }
.product-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}
.product-media { }
.product-gallery { position: sticky; top: calc(var(--nav-h) + var(--top-h) + 1.5rem); }
.pg-main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: radial-gradient(75% 70% at 50% 42%, #fff 0%, var(--blush) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
/* contain, never cover: a cropped camera hides exactly the corners and edges
   a second-hand buyer needs to inspect */
.pg-single { width: 100%; height: 100%; display: grid; place-items: center; }
.pg-single img { width: 100%; height: 100%; object-fit: contain; }
.pg-single svg { width: 68%; height: auto; }

/* infinite-loop carousel */
.pg-viewport { position: absolute; inset: 0; overflow: hidden; }
.pg-track { display: flex; height: 100%; transition: transform 0.5s var(--ease-out); }
.pg-slide { flex: 0 0 100%; height: 100%; display: grid; place-items: center; }
.pg-slide img { width: 100%; height: 100%; object-fit: contain; }
.pg-slide svg { width: 68%; height: auto; }

/* magnifier loupe — a round window that follows the pointer and shows a sharp,
   high-resolution crop of whatever it is over. No fullscreen takeover. */
.pg-lens {
  position: absolute;
  top: 0; left: 0;
  width: clamp(140px, 34%, 210px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid var(--clay-soft);
  box-shadow: 0 10px 30px rgba(74, 54, 44, 0.18), 0 0 0 1px rgba(255,255,255,0.6) inset;
  background-repeat: no-repeat;
  background-color: var(--print);
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.18s var(--ease-out);
}
.pg-main.is-magnifying .pg-lens { opacity: 1; }
.pg-main { cursor: zoom-in; }
.pg-main.is-armed { cursor: crosshair; }
.pg-main .pg-arrow { cursor: pointer; }
.pg-main.is-magnifying .pg-hint { opacity: 0; }

.pg-hint {
  position: absolute; right: 0.9rem; bottom: 0.9rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: rgba(255, 248, 239, 0.82);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: var(--ink); font-family: var(--font-body);
  font-size: 0.72rem; letter-spacing: 0.04em;
  opacity: 0.72; transition: opacity 0.2s var(--ease-out);
  pointer-events: none;
}
.pg-hint svg { width: 15px; height: 15px; }
.pg-main:hover .pg-hint { opacity: 1; }

.pg-count {
  position: absolute; left: 0.9rem; bottom: 0.9rem; z-index: 2;
  padding: 0.34rem 0.66rem;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: rgba(255, 248, 239, 0.82);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: var(--ink-soft); font-size: 0.72rem;
  font-variant-numeric: tabular-nums; letter-spacing: 0.03em;
  pointer-events: none;
}

.pg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 248, 239, 0.75);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  color: var(--ink);
  cursor: pointer;
  opacity: 0.5;   /* faded until hovered */
  transition: opacity 0.2s var(--ease-out), background 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.pg-main:hover .pg-arrow { opacity: 0.85; }
.pg-arrow:hover { opacity: 1; background: rgba(255, 248, 239, 0.98); border-color: var(--clay); color: var(--clay-deep); }
.pg-arrow svg { width: 18px; height: 18px; }
.pg-arrow.prev { left: 0.9rem; }
.pg-arrow.next { right: 0.9rem; }

.pg-thumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.85rem; }
/* arrows sit above the full-bleed open button */
.pg-arrow { z-index: 3; }
.pg-thumb {
  width: 64px;
  height: 64px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--print);
  transition: border-color 0.2s var(--ease-out);
}
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-thumb svg { width: 78%; height: auto; }
.pg-thumb.is-active { border-color: var(--clay-deep); }
.pg-thumb:hover { border-color: var(--clay); }

/* mobile: one scrollable row of thumbnails rather than a wrapping block */
@media (max-width: 720px) {
  .pg-thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
  }
  .pg-thumbs::-webkit-scrollbar { display: none; }
  .pg-thumb { scroll-snap-align: start; width: 58px; height: 58px; }
  .pg-hint-text { display: none; }          /* icon only, keeps the photo clear */
  .pg-lens { width: clamp(120px, 40%, 170px); }
  .pg-hint { right: 0.7rem; bottom: 0.7rem; padding: 0.42rem; }
  .pg-count { left: 0.7rem; bottom: 0.7rem; }
}

.product-info { padding: 0.25rem 0 0; }
.product-info .card-era { display: block; margin-bottom: 0.4rem; }
.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.35rem;
}
.product-info .modal-serial-price { margin-bottom: 1rem; }
.product-info .card-tag { margin: 0.2rem 0 1.1rem; }

/* "You may also like" — centered caption above the running carousel */
.related-head {
  text-align: center;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.related[hidden] { display: none; }
.related-more { display: flex; justify-content: center; margin-top: clamp(1.4rem, 3vw, 2.2rem); }
@media (max-width: 640px) { .related-more .btn { width: 100%; justify-content: center; } }

.product-missing { text-align: center; padding: clamp(2rem, 6vw, 4rem) 1rem; }
.product-missing h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.product-missing a { color: var(--clay-deep); font-weight: 600; text-decoration: none; }
.product-missing a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .product-body { grid-template-columns: 1fr; gap: clamp(1.5rem, 6vw, 2.5rem); }
  /* full-width square that lines up exactly with the text/description below */
  .product-gallery { position: static; max-width: none; width: 100%; }
}

/* ==========================================================================
   "Our promise" section (guarantee)
   ========================================================================== */
.promise-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.promise-copy { position: relative; }
.promise-copy .eyebrow { color: var(--clay-deep); }
.promise-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  font-weight: 550;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0.7rem 0 0;
}
.promise-heart {
  position: absolute;
  top: -0.4rem;
  right: 0;
  width: clamp(30px, 4vw, 44px);
  height: auto;
  color: var(--clay);
}
.promise-underline {
  display: block;
  width: clamp(150px, 22vw, 235px);
  height: 13px;
  margin: 0.7rem 0 0;
  color: var(--clay);
  overflow: visible;
}
.promise-lede {
  margin: 1.7rem 0 0;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 36ch;
}
/* the "With care, / Dear Digi" sign-off. shared by the homepage promise section and
   the About page close so the two can never drift apart again — both lines are the
   rose script, not just the wordmark. pages may override margin/width, never type. */
.promise-sign,
.about-sign {
  margin: 2rem 0 0;
  font-family: "Dancing Script", "Caveat", cursive;
  font-weight: 700;
  font-size: 2.15rem;
  line-height: 1.2;
  color: var(--logo);
}
/* the signature reuses the nav logo wordmark (Dancing Script + rose gradient + heart) */
.promise-sign .brand-word,
.about-sign .brand-word { font-size: 2.15rem; padding-left: 0; }
/* the "without the / guesswork." break only appears on phones */
.br-mobile { display: none; }
@media (max-width: 600px) { .br-mobile { display: inline; } }

.promise-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.promise-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: clamp(1.25rem, 2.5vw, 1.65rem) clamp(1.35rem, 2.5vw, 1.75rem);
  background: var(--print);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-print);
}
.promise-icon {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: var(--clay-soft);
  color: var(--clay-deep);
}
.promise-icon svg { width: 26px; height: 26px; }
.promise-card-text h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0.1rem 0 0.35rem;
  color: var(--ink);
}
.promise-card-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: none;
}

.promise-foot {
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
  max-width: none;
}
.promise-foot span { color: var(--clay); font-size: 1.1em; vertical-align: -0.05em; }

@media (max-width: 880px) {
  .promise-grid { grid-template-columns: 1fr; gap: clamp(2rem, 7vw, 3rem); }
  .promise-heart { width: 34px; }
}

/* FAQ contact call-to-action (replaces the email note) */
.faq-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-top: clamp(2.75rem, 5vw, 4rem);
  text-align: center;
}
.faq-cta-text { color: var(--ink-soft); font-size: 1rem; margin: 0; max-width: none; }

/* Rich Shopify product description (renders descriptionHtml as-is) */
.product-desc-rich { margin-top: 1.6rem; color: var(--ink-soft); line-height: 1.75; }
.product-desc-rich > p { margin: 0 0 1rem; }
.product-desc-rich strong { color: var(--ink); font-weight: 600; }
.product-desc-rich ul { list-style: none; margin: .4rem 0 1.4rem; padding: 0; }
.product-desc-rich li { position: relative; padding-left: 1.3rem; margin: .4rem 0; }
.product-desc-rich li::before { content: ""; position: absolute; left: .25rem; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--clay-deep); }


/* ===================== Dear Digi — script logo ===================== */
/* Replaces the Fraunces wordmark in nav + footer with a flowing script
   signature: rose gradient, heart top-right, hand-drawn underline swash. */
.brand-word{
  font-family:"Dancing Script","Caveat",cursive;
  font-weight:700; font-style:normal;
  font-size:clamp(2rem,3.4vw,2.7rem);
  line-height:1.25; letter-spacing:.01em;
  position:relative; display:inline-block;
  padding:.16em .85em .34em .85em;
  background:none;
  -webkit-text-fill-color:var(--logo); color:var(--logo);
  text-shadow:none;
}
.brand-word::after{           /* heart, top-right */
  content:""; position:absolute; right:.18em; top:.08em;
  width:.44em; height:.44em; pointer-events:none;
  background:center/contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21C6 17 2 13.5 2 8.5 2 5.5 4.4 3.5 7 3.5c2.2 0 3.8 1.2 5 3 1.2-1.8 2.8-3 5-3 2.6 0 5 2 5 5C22 13.5 18 17 12 21Z' fill='none' stroke='%23d56f8b' stroke-width='1.7'/%3E%3C/svg%3E");
}
/* logo underline removed */
.nav .brand-word{ font-size:clamp(2.1rem,3.4vw,2.65rem); transform:translateY(4px); }
.footer-brand .brand-word{ font-size:2.25rem; -webkit-text-fill-color:var(--logo); color:var(--logo); padding-left:0; }
.nav.is-floating .brand-word{ background:none; -webkit-text-fill-color:var(--logo); color:var(--logo); }
/* narrow phones: ease the enlarged wordmark so the search + bag never get crowded off-screen */
@media (max-width: 600px) {
  .nav-inner { padding: 0 0.9rem; column-gap: 0.5rem; }
  .nav .brand-word { font-size: clamp(1.75rem, 6.6vw, 2.15rem); padding-left: 0.4em; padding-right: 0.4em; }
  .nav-actions { gap: 0.1rem; }
}

/* Any list marker anywhere renders in brand rose (never dark) */
li::marker { color: var(--clay-deep); }
.product-desc-rich li::marker, .modal-list li::marker { color: var(--clay-deep); }

/* Bigger pink dot bullets for • characters in product descriptions */
.product-desc-rich .pd-bullet{ display:inline-block; width:.38em; height:.38em;
  border-radius:50%; background:var(--clay); margin-right:.55em;
  vertical-align:middle; position:relative; top:-.04em; }

.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;}

/* ===== production hardening (perf/a11y audit) ===== */
.card-name, .product-title { overflow-wrap: break-word; }
#currencySelect { min-height: 44px; }
#cameraGrid[data-carousel], #relatedGrid { min-height: 360px; }   /* reserve carousel height -> less CLS */
#productDetail { min-height: clamp(440px, 60svh, 640px); }        /* reserve product body -> less CLS */
.carousel-set { display: contents; }                              /* aria-hidden clone wrapper, no layout effect */

/* Accepted-payment badges under the buy button */
.pay-methods { margin: 1.25rem 0 0; display: flex; flex-direction: column; gap: 0.55rem; }
.pay-methods-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; letter-spacing: 0.03em; color: var(--ink-faint);
}
.pay-methods-label svg { width: 14px; height: 14px; flex: none; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pay-badge {
  width: 44px; height: 28px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 1px 2px rgba(30, 20, 25, 0.05);
}
.pay-badge svg { width: 32px; height: 21px; display: block; }
/* keep the script wordmark visible when background-clip:text is unsupported / forced-colors */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-word, .nav .brand-word, .nav.is-floating .brand-word, .footer-brand .brand-word {
    background: none; -webkit-text-fill-color: var(--logo); color: var(--logo);
  }
}
@media (forced-colors: active) {
  .brand-word, .nav .brand-word, .nav.is-floating .brand-word, .footer-brand .brand-word {
    background: none; -webkit-text-fill-color: currentColor; color: CanvasText;
  }
  .brand-word::after { forced-color-adjust: none; }
}
