/* DNP Gems design system: inset media, split navigation around the wordmark,
   cream product tiles and "( link )" accents, with modern motion on top */

@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-var.woff2?v=1794860769") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --ink: #1d1b18;
  --ink-2: #5d5850;
  --ink-3: #6e6961;
  --line: #e6dfd3;
  --field-line: #8a7f6f;      /* form field edges on white and cream (3:1 non-text) */
  --paper: #ffffff;
  --cream: #f8f3ea;
  --cream-2: #f2eadc;
  --accent: #0f4f3e;          /* emerald */
  --accent-2: #136650;
  --gold: #b48a46;
  --gold-2: #d9b56d;
  --gold-ink: #846533;        /* gold as text/lines on white and cream (AA contrast) */
  --night: #121110;
  --danger: #9b2c1f;
  --on-dark: #fff;            /* type and icons on night, ink, emerald and photos */
  --ivory: #f3ede2;           /* type on the night panels */
  --deal-red: #e5124f;         /* the deal accent, used for nothing else */
  --deal-red-2: #ff5c86;       /* the accent as text on the night band */
  --live: #3ccf8e;            /* the live price dot */
  --frost: rgba(255,255,255,.96);   /* sticky bars */
  --veil: rgba(255,255,255,.92);    /* badges and the cursor over photos */
  --glass: rgba(255,255,255,.04);   /* panels and fields on night */
  --shadow-pop: 0 10px 30px rgba(0,0,0,.08);
  /* the notch side in landscape (viewport-fit=cover) never cuts the content */
  --gutter: max(clamp(16px, 2.8vw, 40px), env(safe-area-inset-left), env(safe-area-inset-right));
  /* one even inset on all four sides of every boxed note and card */
  --box-pad: clamp(16px, 1.6vw, 24px);
  --section-y: clamp(64px, 8vw, 120px);  /* night bands and the page end */
  /* the spacing scale under a section: bands, blocks, heads and gaps */
  --space-band: clamp(56px, 6vw, 96px);
  --space-block: clamp(40px, 5vw, 72px);
  --space-head: clamp(24px, 3vw, 40px);
  --space-gap: clamp(16px, 2vw, 28px);
  /* the type scale: fixed text steps, fluid headings and figures */
  --fs-2xs: 10px; --fs-xs: 11px; --fs-sm: 12px; --fs-ui: 13px;
  --fs-body-sm: 14px; --fs-body: 15px; --fs-md: 16px; --fs-lg: 18px; --fs-xl: 22px;
  --fs-lead: clamp(16px, 1.25vw, 18px);
  --fs-h4: clamp(17px, 1.5vw, 22px);
  --fs-h3: clamp(20px, 1.8vw, 26px);
  --fs-h2: clamp(22px, 2.1vw, 32px);
  --fs-display: clamp(26px, 2.6vw, 40px);
  --fs-figure: clamp(26px, 2.4vw, 36px);
  --fs-figure-lg: clamp(34px, 3.2vw, 48px);
  /* caps tracking: labels, then buttons and links, then menu rows */
  --ls-label: .12em; --ls-action: .1em; --ls-caps-lg: .06em;
  --ls-display: -.015em; --ls-figure: -.02em;
  /* control heights, the tap minimum and the icon sizes */
  --btn-h: 52px; --control-h: 48px; --tap: 44px;
  --icon-xs: 14px; --icon-sm: 18px; --icon: 20px; --icon-lg: 26px;
  /* text measures and the widest centred block */
  --measure: 680px; --measure-wide: 860px; --container: 1360px;
  --header-h: 84px;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1); /* overlays on their way out */
  /* durations: micro (colour, focus), UI, panels, media */
  --t-micro: .15s; --t-ui: .3s; --t-panel: .5s; --t-media: 1.4s;
}
@media (max-width: 1279px) { :root { --header-h: 64px; } }
/* large screens: every text step from small print to inputs gains 1px */
@media (min-width: 1280px) { :root { --fs-sm: 13px; --fs-ui: 14px; --fs-body-sm: 15px; --fs-body: 16px; --fs-md: 17px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6; font-weight: 450;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--on-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 200ms var(--ease) both vt-out; }
::view-transition-new(root) { animation: 380ms var(--ease-out) both vt-in; }
/* the sticky header holds still while the page underneath changes */
.header { view-transition-name: site-header; }
::view-transition-old(site-header) { display: none; }
::view-transition-group(site-header), ::view-transition-new(site-header) { animation: none; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--on-dark); padding: 10px 14px; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type helpers ---------- */
.upper { text-transform: uppercase; }
.h-display { font-size: var(--fs-display); text-transform: uppercase; letter-spacing: var(--ls-display); }
.h-section { font-size: var(--fs-h2); text-transform: uppercase; letter-spacing: -.01em; }
/* one type family everywhere: emphasis inside headings stays upright */
h1 em, h2 em, h3 em, .h-display em, .h-section em { font-style: normal; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-ui); }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-2); }
.prose { max-width: var(--measure); }
.prose:last-child > :last-child { margin-bottom: 0; }
/* a heading in running text is a section heading: the same size as one */
.prose h1 { font-size: var(--fs-display); letter-spacing: var(--ls-display); margin: 1.5em 0 .6em; }
.prose h2 { font-size: var(--fs-h2); text-transform: uppercase; margin: 1.6em 0 .6em; }
.prose h3 { font-size: var(--fs-lg); text-transform: uppercase; margin: 1.6em 0 .5em; letter-spacing: .02em; }
.prose h4 { font-size: var(--fs-h4); margin: 1.5em 0 .5em; }
.prose small { font-size: var(--fs-body-sm); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.prose ol { padding-left: 1.2em; margin: 0 0 1em; color: var(--ink-2); }
.prose a, .answer a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: var(--fs-body-sm); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: var(--ls-label); }
mark.todo { background: #fff3c4; color: var(--ink); padding: 0 3px; }
.answer { max-width: 62ch; font-size: var(--fs-lead); line-height: 1.6; color: var(--ink); margin: 0 0 1.6em; text-wrap: pretty; }
.answer p { margin: 0; }
.answer p + p { margin-top: .7em; }

/* text call to action: its arrow nudges on hover */
.plink { --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M0 5h14.5M10.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E");
  display: inline-flex; align-items: center; gap: .65em; min-height: 32px; padding: 6px 0 5px; color: var(--accent); font-size: var(--fs-sm); font-weight: 500; letter-spacing: var(--ls-action); text-transform: uppercase; white-space: nowrap; }
.plink::after { content: ""; flex: none; width: 15px; height: 10px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .35s var(--ease); }
.plink:hover::after { transform: translateX(4px); }
.plink:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.plink.light { color: var(--on-dark); }
.plink.gold { color: var(--gold-2); }
.ulink { display: inline-block; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: var(--ls-action); padding: 9px 0 4px; }
/* text links underline on hover: a 1px line sweeps in from the left */
.plink, .ulink, .footer li a, .footer address a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .4s var(--ease), color .2s; }
.plink:hover, .plink:focus-visible, .ulink:hover, .ulink:focus-visible, .footer li a:hover, .footer li a:focus-visible,
.footer address a:hover, .footer address a:focus-visible { background-size: 100% 1px; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--btn-h); padding: 0 34px; font-size: var(--fs-ui); letter-spacing: var(--ls-action); text-transform: uppercase; font-weight: 500; color: var(--on-dark); isolation: isolate; transition: transform var(--t-ui) var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transition: background var(--t-ui); }
.btn:hover::before { background: var(--accent-2); }
.btn:active { transform: scale(.98); }
.btn.gold { color: var(--night); }
.btn.gold::before { background: var(--gold); }
.btn.gold:hover::before { background: var(--gold-2); }
.btn.dark::before { background: var(--ink); }
.btn.ghost { color: var(--ink); }
.btn.ghost::before { background: transparent; border: 1px solid var(--ink); }
.btn.ghost:hover::before { background: var(--ink); }
.btn.ghost:hover { color: var(--on-dark); }
.btn.light { color: var(--ink); }
.btn.light::before { background: var(--paper); }
.btn.wide { width: 100%; }
.btn[disabled] { pointer-events: none; opacity: .45; }
.btn .ico { width: var(--icon-sm); height: var(--icon-sm); }
/* narrow phones: long labels such as Zum Kontaktformular stay on one line */
@media (max-width: 400px) { .btn { padding: 0 20px; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.btn-row--center { justify-content: center; }
.ico { width: var(--icon); height: var(--icon); flex: none; }

/* ---------- header ---------- */
/* the owners' announcement bar: one line above the header, scrolls away */
.announce { background: var(--ink); color: var(--on-dark); padding: 9px var(--gutter); text-align: center; font-size: var(--fs-ui); line-height: 1.45; }
.announce p { margin: 0; }
.announce a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.announce a:hover { opacity: .8; }
.header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: var(--frost); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); transition: transform var(--t-panel) var(--ease), box-shadow var(--t-ui); }
.header.is-hidden { transform: translateY(-100%); }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header__in { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); gap: 24px; }
.header__left, .header__right { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); min-width: 0; }
.header__right { justify-content: flex-end; }
.nav-link { font-size: var(--fs-xs); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: 500; padding: 8px 0; position: relative; white-space: nowrap; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .has-mega:hover > .nav-link::after, .has-mega.is-open > .nav-link::after { transform: scaleX(1); transform-origin: left; }
.nav-link.gold { color: var(--gold-ink); }
.header__corner { display: flex; align-items: center; gap: 22px; margin-right: auto; }
.header__nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.header__nav--left { margin-left: auto; }
.header__nav--right { margin-right: auto; }
/* a thin rule sets custom jewellery apart from the four items */
.header__sep { width: 1px; height: 14px; background: var(--ink-3); opacity: .5; }
/* the real DNP logo: mosaic diamond over the "DNP" letters */
.logo { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 clamp(8px, 2vw, 28px); }
.logo img { height: auto; }
.logo__mark { width: 46px; }
.logo__word { width: 78px; }
.logo--full { display: inline-flex; padding: 0; gap: 6px; margin-bottom: 18px; }
.logo--full .logo__mark { width: 77px; }
.logo--full .logo__word { width: 118px; margin-top: 2px; }
/* wide enough that the company line reads at about 11px */
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; transition: background .2s; }
/* an invisible ring makes the 34px icon a 44px tap target */
.icon-btn::before { content: ""; position: absolute; inset: -5px; }
.icon-btn:hover { background: var(--cream); }
.icon-btn .count { position: absolute; top: 1px; right: -1px; min-width: 16px; height: 16px; border-radius: 999px; padding: 0 4px; font-size: var(--fs-2xs); line-height: 16px; text-align: center; background: var(--accent); color: var(--on-dark); font-weight: 600; }
.icon-btn .count:empty, .icon-btn .count[data-n="0"] { display: none; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .ico { width: var(--icon-xs); height: var(--icon-xs); }
.lang__menu { position: absolute; top: 100%; left: -12px; background: var(--paper); box-shadow: var(--shadow-pop); padding: 8px 0; min-width: 130px; z-index: 5; }
.lang__menu a { display: block; padding: 8px 14px; font-size: var(--fs-sm); letter-spacing: var(--ls-label); text-transform: uppercase; }
/* the menu look the open dropdowns share (see .select below) */
.lang__menu a:hover, .lang__menu a[aria-current],
.select option:is(:hover, :focus-visible) { background: var(--cream); outline: none; }
.burger { display: none; }

/* mega menu */
.has-mega { position: static; display: flex; align-items: center; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s; }
/* shown: the mega menus and the WhatsApp button fade in the same way */
.no-js .has-mega:hover .mega, .has-mega.is-open .mega, .has-mega:focus-within .mega, .fab.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-swap .mega { transition: none; }
.mega__in { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 40px 120px; padding: 40px var(--gutter) 48px; }
.mega h3 { font-size: var(--fs-xs); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; font-weight: 500; }
.mega li a { display: inline-block; font-size: var(--fs-h4); text-transform: uppercase; padding: 3px 0; letter-spacing: -.01em; transition: color .2s, transform .35s var(--ease); }
.mega li a:hover { color: var(--accent); transform: translateX(6px); }
.mega li a small { font-size: var(--fs-xs); color: var(--ink-3); margin-left: 6px; vertical-align: super; }
.mega__lead { max-width: 340px; margin: -6px 0 18px; font-size: var(--fs-body-sm); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.mega__lead--after { margin: 14px 0 0; }
.mega__in--3 { grid-template-columns: repeat(3, minmax(0, 300px)); column-gap: clamp(48px, 5vw, 96px); }
/* the columns share rows, so each lead starts level whatever the link count */
.mega__in--3 > div { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.mega__in--3 > .calc { display: block; align-self: start; }

/* mobile menu */
.mnav { position: fixed; inset: 0; z-index: 80; background: var(--paper); display: flex; flex-direction: column; padding: 0 var(--gutter) 28px; transform: translateX(-100%); visibility: hidden; transition: transform .6s var(--ease-out), visibility 0s .6s; overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.mnav__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.mnav__top .logo { order: 0; }
.mnav__search { display: flex; align-items: center; gap: 14px; width: 100%; min-height: var(--tap); padding: 10px 0; font-size: var(--fs-ui); text-transform: uppercase; letter-spacing: var(--ls-action); }
.mnav__links { padding: 14px 0 20px; }
.mnav__links > li { overflow: hidden; }
/* calm, compact rows: 15px caps, each a 46px tap target */
.mnav__links > li > a, .mnav__links summary { display: flex; justify-content: space-between; align-items: center; min-height: 46px; font-size: var(--fs-body); text-transform: uppercase; letter-spacing: var(--ls-caps-lg); transform: translateY(105%); transition: transform .8s var(--ease-out); cursor: pointer; list-style: none; }
.mnav__links summary::-webkit-details-marker { display: none; }
.mnav__links summary .ico { width: var(--icon-xs); height: var(--icon-xs); }
.mnav.is-open .mnav__links > li > a, .mnav.is-open .mnav__links summary { transform: none; transition-delay: calc(var(--mi, 0) * 40ms + 60ms); }
.mnav__links > li:nth-child(2) { --mi: 1; } .mnav__links > li:nth-child(3) { --mi: 2; } .mnav__links > li:nth-child(4) { --mi: 3; }
.mnav__links > li:nth-child(5) { --mi: 4; } .mnav__links > li:nth-child(6) { --mi: 5; } .mnav__links > li:nth-child(n+7) { --mi: 6; }
.mnav__links details ul { padding: 0 0 10px 2px; }
.mnav__links details li a { display: flex; align-items: center; min-height: var(--tap); font-size: var(--fs-ui); text-transform: uppercase; letter-spacing: var(--ls-caps-lg); padding: 0; color: var(--ink-2); }
.mnav__links .gold { color: var(--gold-ink); }
.mnav__meta { margin-top: auto; display: grid; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--fs-sm); letter-spacing: var(--ls-label); text-transform: uppercase; }
/* each row is a 44px tap target; the rows keep their former spacing */
.mnav__meta a, .mnav__meta button { display: flex; align-items: center; gap: 14px; min-height: var(--tap); }
.mnav__meta button { letter-spacing: inherit; text-transform: inherit; }

/* a narrow desktop keeps the one row: tighter spacing and, below 1440px,
   Kontakt and Über uns left to the footer */
@media (min-width: 1280px) and (max-width: 1599px) {
  .header__in { gap: 16px; }
  .header__left, .header__right { gap: 14px; }
  .header__nav { gap: 20px; }
  .header__nav .nav-link { letter-spacing: .09em; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .header__corner > .nav-link { display: none; }
}
/* below 1280px the main items and the corner links move into the menu */
@media (max-width: 1279px) {
  .header__in { grid-template-columns: 1fr auto 1fr; gap: 12px; }
  .header__nav, .header__corner .nav-link, .header__corner .lang, .hide-m { display: none !important; }
  .burger { display: inline-flex; }
  .logo { gap: 3px; }
  .logo__mark { width: 30px; }
  .logo__word { width: 52px; }
  .header__left { order: 1; }
  .logo { order: 2; justify-self: center; }
  .header__right { order: 3; gap: 12px; }
}

/* ---------- layout ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: var(--measure-wide); margin-left: auto; margin-right: auto; }
/* one rhythm: every section pads alike, neighbours sit two blocks apart */
.section { padding-top: var(--space-block); padding-bottom: var(--space-block); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: var(--space-head); }
.section-head > * { min-width: 0; }
.section-head .muted { margin: 12px 0 0; max-width: 520px; }
.section-head .lead { max-width: var(--measure); margin: 14px 0 0; }
/* a rail's arrows stay on its heading's row; a long heading wraps instead */
.section-head:has(.rail-nav):not(:has(.plink)) { flex-wrap: nowrap; }
.section-head > .btn-row:has(.rail-nav) { flex: none; }
.center { text-align: center; }
.page-title { text-align: center; padding: var(--space-band) var(--gutter) var(--space-head); }
.page-title h1 { font-size: var(--fs-display); text-transform: uppercase; letter-spacing: var(--ls-display); }
.page-title p { max-width: var(--measure); margin: 16px auto 0; color: var(--ink-2); text-wrap: pretty; }
/* inner-page photo: inset like the home hero, never carrying text */
.page-banner { position: relative; margin: 0 var(--gutter) clamp(8px, 2vw, 24px); aspect-ratio: 21 / 9; max-height: 72vh; width: calc(100% - 2 * var(--gutter)); overflow: hidden; background: var(--cream); }
@media (max-width: 760px) { .page-banner { aspect-ratio: 2 / 1; margin-left: 0; margin-right: 0; width: 100%; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
@media (max-width: 860px) { .crumbs li, .crumbs a { display: inline-flex; align-items: center; min-height: var(--tap); } }
/* the dot ends the item before it, so a wrapped row never starts with it */
.crumbs li:not(:last-child)::after { content: "·"; margin-left: 8px; }
.page-title .crumbs { justify-content: center; margin-bottom: 22px; }
.page-title .btn-row { margin-top: 22px; }
.page-title--404 .btn-row { margin-top: 26px; }
.updated { font-size: var(--fs-sm); color: var(--ink-3); letter-spacing: .04em; }

/* ---------- media primitives ---------- */
.media { position: relative; overflow: hidden; background: var(--cream); }
/* photos and videos that fill their frame */
.media img, .media video, .page-banner img, .hero__media img, .hero__media video, .door__media img, .card__media img,
.split-band__media img, .tile-edit img, .feature__media img, .feature__media video, .ig img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero (inset, like the reference) ---------- */
.hero { position: relative; margin: 0 var(--gutter); height: calc(100svh - var(--header-h) - var(--gutter)); min-height: 520px; max-height: 980px; overflow: hidden; color: var(--on-dark); background: var(--night); }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { transform: scale(1.06); animation: hero-in 2.4s var(--ease-out) forwards; will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,0) 70%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 40%); }
@keyframes hero-in { to { transform: scale(1); } }
.hero__media picture { display: block; width: 100%; height: 100%; }
/* two-line title on the shaded left half, clear of the face and the ring */
.hero__content { position: absolute; left: clamp(24px, 7vw, 120px); top: 50%; transform: translateY(-50%); width: min(520px, 42%); text-align: left; }
.hero__content h1 { font-size: var(--fs-display); text-transform: uppercase; letter-spacing: var(--ls-display); line-height: 1.12; text-wrap: balance; }
.hero__content p { font-size: var(--fs-body); max-width: 400px; margin: 20px 0 0; opacity: .9; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: flex-start; margin-top: 26px; }
@media (max-width: 760px) {
  /* phones: full width, and short enough that the tiles below peek in */
  .hero { margin: 0; min-height: 440px; max-height: none;
    height: min(calc(100svh - var(--header-h) - 80px), 140vw); }
  .hero__media img { object-position: 50% 52%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.34) 38%, rgba(0,0,0,0) 62%); }
  .hero__content { left: 20px; right: 20px; top: auto; bottom: 22px; transform: none; text-align: center; width: auto; max-width: none; }
  /* the title stays on one line so it never covers the ring */
  .hero__content h1 { font-size: min(var(--fs-display), calc((100vw - 44px) / 12.8)); }
  .hero__content p { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; margin-top: 20px; }
}

/* ---------- offer tiles: one per thing a visitor can do ---------- */
.offers { padding: var(--space-head) var(--gutter) var(--space-block); }
.offers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); }
.offers--3 .offers__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offers--2 .offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* each tile spans four rows of the grid (photo, title, text, link), so the
   rows line up across a line of tiles even when a title wraps */
.offers__item, .offer { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.offer__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
@media (hover: hover) { .offer:hover .offer__media img { transform: scale(1.04); } }
.offer__body { display: contents; }
.offer__body > * { padding-inline: 2px; justify-self: start; }
.offer__title { margin-top: 18px; font-size: var(--fs-h4); text-transform: uppercase; letter-spacing: -.005em; }
.offer__body p { font-size: var(--fs-body-sm); color: var(--ink-2); margin: 8px 0 0; text-wrap: pretty; }
.offer__cta { padding-top: 14px; font-size: var(--fs-sm); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: 500;
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.offer:hover .offer__cta { text-decoration-color: var(--gold); }
.offer:focus-visible { outline-offset: 6px; }
@media (max-width: 1100px) { .offers--4 .offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } }
@media (max-width: 560px) {
  .offers__grid, .offers--3 .offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; }
  .offer__title { margin-top: 12px; }
  .offer__title { font-size: var(--fs-body); }
  .offer__body p { font-size: var(--fs-ui); line-height: 1.45; }
}

/* ---------- page header with the photo beside the title ---------- */
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: clamp(28px, 5vw, 96px);
  padding: var(--space-head) var(--gutter) var(--space-block); }
.page-hero__text { justify-self: center; max-width: 520px; padding: 0 0 0 clamp(0px, 3vw, 56px); }
.page-hero .crumbs { margin-bottom: 26px; }
.page-hero h1 { font-size: var(--fs-display); text-transform: uppercase; letter-spacing: var(--ls-display); }
.page-hero__text > p { color: var(--ink-2); margin: 18px 0 0; text-wrap: pretty; }
.page-hero .btn-row { justify-content: flex-start; margin-top: 28px; }
/* the whole photo, never cropped: a tall one shrinks to the screen height */
.page-hero__media { display: flex; justify-content: center; }
.page-hero__media img { width: auto; max-width: 100%; height: auto; max-height: min(78vh, 760px); }
@media (max-width: 860px) {
  .page-hero { grid-template-columns: 1fr; gap: 26px; padding-top: 0; }
  .page-hero__media { order: -1; }
  .page-hero__media img { max-height: 70svh; }
  .page-hero__text { justify-self: stretch; padding: 0; }
}

/* ---------- the two doors: we sell / we buy ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding: var(--gutter) var(--gutter) 0; }
.door { position: relative; display: block; min-height: clamp(460px, 62vh, 700px); overflow: hidden; color: var(--on-dark); isolation: isolate; background: var(--night); }
.door__media { position: absolute; inset: 0; z-index: -1; }
.door__media img { transition: transform 1.6s var(--ease); }
@media (hover: hover) { .door:hover .door__media img { transform: scale(1.045); } }
.door__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,9,8,.82) 0%, rgba(10,9,8,.25) 55%, rgba(10,9,8,.08)); }
.door__body { position: absolute; left: clamp(22px, 3vw, 48px); right: clamp(22px, 3vw, 48px); bottom: clamp(24px, 3.4vw, 48px); }
.door p { max-width: 430px; margin: 14px 0 22px; font-size: var(--fs-body); opacity: .9; }
.door__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid rgba(255,255,255,.35); font-size: var(--fs-sm); letter-spacing: .02em; backdrop-filter: blur(6px); background: rgba(255,255,255,.06); }
.chip .dot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
/* the halo scales on the compositor (a shadow pulse repaints every frame) */
.chip .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; animation: pulse 2.4s var(--ease-out) 3; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(3.6); opacity: 0; } }
.door--gold .plink { color: var(--gold-2); }
@media (max-width: 760px) {
  .doors { grid-template-columns: 1fr; padding-top: 16px; gap: 16px; }
  .door { min-height: 460px; }
  .door__media::after { background: linear-gradient(0deg, rgba(10,9,8,.9) 0%, rgba(10,9,8,.72) 45%, rgba(10,9,8,.2) 80%); }
  .door p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- product rail / grid / card ---------- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 2px) / 4); gap: 2px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag a { pointer-events: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 10px; }
.round-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; transition: background .25s, color .25s, opacity .25s; }
.round-btn:hover { background: var(--ink); color: var(--on-dark); }
.round-btn[disabled] { opacity: .3; pointer-events: none; }
.round-btn svg { width: var(--icon-xs); height: var(--icon-xs); }
.round-btn::before, .card__fav::before { content: ""; position: absolute; inset: -4px; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 2px) / 2.6); } }
@media (max-width: 640px) { .rail { grid-auto-columns: 74%; } }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) 2px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 2px; } }

.card { position: relative; display: block; }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.card__media img { position: absolute; inset: 0; transition: opacity .7s var(--ease), transform var(--t-media) var(--ease); }
.card__media img.b { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media img.b { opacity: 1; }
  .card:hover .card__media img { transform: scale(1.035); }
}
.card__badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; z-index: 2; }
.badge { display: inline-block; padding: 3px 7px; font-size: var(--fs-sm); line-height: 1.3; background: var(--veil); color: var(--ink); }
.card__fav { position: absolute; right: 10px; top: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.9); opacity: 0; transform: scale(.9); transition: opacity var(--t-ui), transform var(--t-ui) var(--ease); }
.card:hover .card__fav, .card__fav[aria-pressed="true"], .card__fav:focus-visible { opacity: 1; transform: none; }
@media (hover: none) { .card__fav { opacity: 1; transform: none; } }
.card__fav[aria-pressed="true"] svg, .pdp__fav[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }
.card__body { padding: 16px 14px 0 2px; display: grid; gap: 4px; }
.card__title { font-size: var(--fs-body-sm); line-height: 1.55; }
.card__price { font-size: var(--fs-body-sm); font-variant-numeric: tabular-nums; }
.card__cond { font-size: var(--fs-sm); color: var(--ink-3); }
.card.is-sold .card__media img { filter: grayscale(.35); opacity: .75; }
.price-old { color: var(--ink-3); text-decoration: line-through; margin-right: 8px; }

/* split band: photo and text side by side (home) */
.split-band { display: grid; grid-template-columns: 1.25fr 1fr; margin: 0 var(--gutter); background: var(--cream); }
.split-band__media { display: block; position: relative; overflow: hidden; aspect-ratio: var(--ar, 1.25); }
.split-band__media img { transition: transform 1.6s var(--ease); }
@media (hover: hover) { .split-band__media:hover img { transform: scale(1.03); } }
.split-band__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: clamp(32px, 5vw, 88px); }
.split-band__text p { color: var(--ink-2); max-width: 420px; margin: 0; }
@media (max-width: 860px) { .split-band { grid-template-columns: 1fr; } .split-band__text { padding: 30px 22px 36px; } }

.tile-edit { grid-column: span 2; grid-row: span 2; position: relative; display: block; overflow: hidden; color: var(--on-dark); background: var(--night); min-height: 420px; }
/* the editorial tile is taller than its photo: show all of it above the text */
.tile-edit img { position: absolute; inset: 0; object-fit: contain; object-position: 50% 30%; transition: transform 1.6s var(--ease); }
@media (hover: hover) { .tile-edit:hover img { transform: scale(1.04); } }
.tile-edit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), transparent 55%); }
.tile-edit div { position: absolute; z-index: 1; left: 28px; bottom: 26px; right: 28px; }
.tile-edit h3 { font-size: var(--fs-h3); text-transform: uppercase; margin: 8px 0 14px; }
@media (max-width: 760px) { .tile-edit { grid-column: span 2; grid-row: span 1; min-height: 380px; } }

/* ---------- search chips and counts ---------- */
.fchip { position: relative; height: 36px; padding: 0 14px; border: 1px solid var(--line); font-size: var(--fs-sm); letter-spacing: var(--ls-label); text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; transition: border-color .2s, background .2s, color .2s; }
.fchip:hover { border-color: var(--ink); }
.fchip::before { content: ""; position: absolute; inset: -4px 0; }
.count-line { font-size: var(--fs-sm); color: var(--ink-3); letter-spacing: var(--ls-label); text-transform: uppercase; }
.empty { text-align: center; padding: 60px 0; color: var(--ink-2); }
/* a pre-owned collection before its first piece */
.soon { text-align: center; padding-top: var(--space-gap); padding-bottom: var(--section-y); color: var(--ink-2); }
.soon p { max-width: 34em; margin: 0 auto; text-wrap: pretty; }
.soon__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px; margin-top: 22px; }
/* the home's pre-owned row until its first piece: one line, sell to us */
.used-soon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(24px, 4vw, 40px) clamp(20px, 4vw, 48px); background: var(--cream); border: 1px solid var(--line); }
.used-soon p { margin: 0; max-width: 34em; font-size: var(--fs-lg); color: var(--ink-2); text-wrap: pretty; }
.price-card { max-width: 420px; }

/* ---------- feature: text + media (alternating) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px); padding: var(--space-block) var(--gutter); }
.feature__text { max-width: 470px; justify-self: center; }
.feature__text h2 { font-size: var(--fs-h2); text-transform: uppercase; margin-bottom: 22px; }
.feature__text p { color: var(--ink-2); }
.calc--night .plink { margin-top: 18px; }
.feature__media { position: relative; overflow: hidden; background: var(--cream); aspect-ratio: 4 / 5; width: min(100%, 560px); justify-self: center; }
.feature--rev .feature__text { order: 2; }
/* the videos run as one block: one gap between them, not two */
.feature + .feature { padding-top: 0; }
/* a video keeps its own shape, so the piece is never cut off */
/* every feature photo and video in one 4:5 frame, so they line up */
.feature__media--video { background: var(--cream); }
.feature__media--video video { display: block; }
.vid-toggle { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(20, 18, 16, .5); color: #fff; }
.vid-toggle::before { content: ""; box-sizing: border-box; width: 12px; height: 14px; border: solid currentColor; border-width: 0 4px; }
.vid-toggle[aria-pressed="true"]::before { width: 0; height: 0; margin-left: 4px; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; }
.vid-toggle[hidden] { display: none; }

/* a feature's video carousel: one clip per 4:5 frame, swiped or stepped */
.vcar { position: absolute; inset: 0; }
.vcar__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline-offset: -4px; }
.vcar__track::-webkit-scrollbar { display: none; }
.vcar__track.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.vcar__slide { flex: 0 0 100%; height: 100%; background: var(--cream) center / cover no-repeat; scroll-snap-align: start; scroll-snap-stop: always; }
.vcar__slide video { display: block; width: 100%; height: 100%; object-fit: cover; }
.vcar::after { content: ""; position: absolute; inset: auto 0 0; height: 96px; background: linear-gradient(transparent, rgba(20, 18, 16, .28)); pointer-events: none; }
.vcar__bar { position: absolute; z-index: 1; left: 16px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 14px; }
.vcar__bar[hidden], .vcar__arrow[hidden] { display: none; }
.vcar__bar .vid-toggle { position: static; flex: none; }
.vcar__dots { flex: 1; display: flex; gap: 6px; }
.vcar__dot { flex: 1; height: 44px; display: flex; align-items: center; }
.vcar__dot span { position: relative; width: 100%; height: 2px; overflow: hidden; background: rgba(255, 255, 255, .45); }
.vcar__dot span::after { content: ""; position: absolute; inset: 0; background: var(--on-dark); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .3s linear; }
.vcar__dot.is-past span::after { transform: none; }
.vcar__dot:focus-visible { outline-offset: -8px; outline-color: var(--on-dark); }
.vcar__arrow { position: absolute; z-index: 1; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--veil); color: var(--ink); opacity: 0; transition: opacity .3s; }
.vcar__arrow svg { width: var(--icon-xs); height: var(--icon-xs); }
.vcar__arrow--prev { left: 12px; }
.vcar__arrow--next { right: 12px; }
.vcar:hover .vcar__arrow, .vcar:focus-within .vcar__arrow { opacity: 1; }
@media (hover: none) { .vcar__arrow { display: none; } }
/* stacked: text over its media in one 560px column, closer to its own
   media than to the next feature */
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-head); }
  .feature--rev .feature__text { order: 0; }
  .feature__text { justify-self: center; width: min(100%, 560px); max-width: none; }
}
/* a long link label wraps under its text instead of widening the page */
.feature__text .plink, .split-band__text .plink { max-width: 100%; white-space: normal; }

/* ---------- gold panel (dark) ---------- */
.goldband { background: var(--night); color: var(--ivory); position: relative; overflow: hidden; padding-block: var(--section-y); }
.goldband .muted, .goldband p { color: rgba(243,237,226,.72); }
.goldband__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.door h2, .goldband h2 { font-size: var(--fs-display); text-transform: uppercase; letter-spacing: var(--ls-display); }
.goldband h2 { margin: 14px 0 20px; }
.goldband h2 em { color: var(--gold-2); }
.ticks { display: grid; gap: 12px; margin: 24px 0 32px; }
.ticks-title { margin-bottom: 8px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-body); }
.ticks li::before { content: ""; flex: none; width: 14px; height: 1px; margin-top: .8em; background: var(--gold-2); }
.ticks.dark li::before { background: var(--accent); }
@media (max-width: 960px) { .goldband__grid { grid-template-columns: 1fr; } }

/* gold price widget + calculator */
.calc { background: var(--glass); border: 1px solid rgba(217,181,109,.28); padding: clamp(22px, 2.6vw, 36px); backdrop-filter: blur(4px); }
.calc.light { background: var(--cream); border-color: var(--line); }
.calc--night { background: var(--night); color: var(--ivory); border: 0; }
.calc-title { margin-bottom: 14px; }
.calc-intro { margin-bottom: 22px; }
.calc__units { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.calc__price { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid rgba(217,181,109,.25); margin-bottom: 22px; }
.calc.light .calc__price { border-color: var(--line); }
.calc__label { font-size: var(--fs-xs); letter-spacing: var(--ls-label); text-transform: uppercase; opacity: .75; }
.calc__big { font-size: var(--fs-figure-lg); font-weight: 400; line-height: 1; letter-spacing: var(--ls-figure); color: var(--gold-2); font-variant-numeric: tabular-nums lining-nums; }
.calc.light .calc__big { color: var(--gold-ink); }
.calc__unit { font-size: var(--fs-ui); opacity: .7; }
.calc__stamp { width: 100%; font-size: var(--fs-xs); opacity: .7; letter-spacing: .04em; display: flex; align-items: center; gap: 8px; }
.calc__stamp .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.calc__stamp.is-stale .dot { background: #d9a03b; }
.calc__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: var(--fs-sm); letter-spacing: var(--ls-label); text-transform: uppercase; opacity: .8; }
.field input, .field textarea { width: 100%; height: var(--control-h); padding: 0 14px; border: 1px solid rgba(217,181,109,.35); background: var(--glass); color: inherit; border-radius: 0; font-size: var(--fs-body); -webkit-appearance: none; appearance: none; }
.calc.light .field input,
.form .field input, .form .field textarea { background-color: var(--paper); border-color: var(--field-line); }
.field textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
/* a short control in a full-width row keeps the width of what it holds */
.field.full > :is(select, input[type="number"], input[type="date"]) { width: auto; min-width: min(100%, 16rem); max-width: 100%; justify-self: start; }
@media (max-width: 480px) { .field.full > :is(select, input[type="number"], input[type="date"]) { width: 100%; } }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 1px; }
.calc.light .field input:focus,
.form .field input:focus, .form .field textarea:focus { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.calc.light .field input:focus-visible { outline-color: var(--accent); border-color: var(--accent); }
.calc__result { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 0 4px; border-top: 1px dashed rgba(217,181,109,.3); margin-top: 6px; }
.calc.light .calc__result { border-color: var(--line); }
.calc__result strong { font-weight: 400; font-size: var(--fs-figure); letter-spacing: var(--ls-figure); line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums lining-nums; }
.calc.light .calc__result strong { color: var(--gold-ink); }
.calc__note { grid-column: 1 / -1; font-size: var(--fs-sm); opacity: .65; margin: 0; }
.calc .btn { grid-column: 1 / -1; margin-top: 8px; }

.karat-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.karat-table th, .karat-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; font-size: var(--fs-body-sm); }
.karat-table th { font-size: var(--fs-xs); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.karat-table td:last-child, .karat-table th:last-child { text-align: right; }
.karat-table tr:hover td { background: var(--cream); }
.karat-intro { margin-bottom: 18px; }
.karat-note { margin-top: 12px; }
.table-scroll { overflow-x: auto; }
.karat-table .stamp { display: inline-flex; min-width: 46px; justify-content: center; padding: 2px 8px; border: 1px solid var(--gold-ink); color: var(--gold-ink); font-size: var(--fs-sm); margin-right: 10px; }

/* ---------- steps ---------- */
/* centred boxes: a big number, a short title, one short line */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps[data-count="3"], .steps[data-count="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; align-items: center; padding: var(--box-pad); border: 1px solid var(--line); text-align: center; }
.step::before { counter-increment: s; content: counter(s); display: block; margin-bottom: 14px; font-size: var(--fs-figure-lg); font-weight: 300; line-height: 1; letter-spacing: var(--ls-figure); color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.step h3 { font-size: var(--fs-md); margin-bottom: 8px; }
.step p { font-size: var(--fs-body-sm); color: var(--ink-2); margin: 0; }
.step p { max-width: 24ch; text-wrap: balance; }
/* in the 860px page column four cards would wrap a few words a line: 2 x 2 */
@media (min-width: 861px) { .narrow .steps[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 521px) { .narrow .step p { max-width: 36ch; } }
@media (max-width: 860px) { .steps, .steps[data-count] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .steps, .steps[data-count] { grid-template-columns: 1fr; gap: 10px; }
  /* phones: the number on the left, the text beside it */
  .step { display: grid; grid-template-columns: 2.2ch 1fr; column-gap: 16px; align-items: start; text-align: left; }
  .step::before { grid-row: span 2; margin: 0; }
  .step h3 { margin: 2px 0 4px; }
  .step p { max-width: none; text-wrap: pretty; }
}

/* ---------- what we buy ---------- */
.buys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 1100px; margin: 0; padding: 0; list-style: none; }
.buys[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.buys[data-count="1"] { grid-template-columns: 1fr; }
.buy { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: var(--box-pad); border: 1px solid var(--line); text-align: center; }
.buy h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.buy p { max-width: 30ch; font-size: var(--fs-body-sm); color: var(--ink-2); margin: 0; text-wrap: balance; }
@media (max-width: 640px) {
  .buys, .buys[data-count] { gap: 8px; }
  .buys[data-count="3"] { grid-template-columns: 1fr; }
  .buy h3 { font-size: var(--fs-body); }
  .buy p { font-size: var(--fs-ui); }
}

/* ---------- key facts: a big value over a small label ---------- */
.facts-title { margin-bottom: 20px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; }
.fact { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; min-width: 0; padding: var(--box-pad); border: 1px solid var(--line); text-align: center; }
.fact b { font-size: var(--fs-figure); font-weight: 300; line-height: 1.1; letter-spacing: var(--ls-figure); color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fact--long b { font-size: var(--fs-h4); letter-spacing: 0; overflow-wrap: normal; }
/* one long value sets the size for its whole row, so the row reads as one */
.facts:has(.fact--long) .fact b { font-size: var(--fs-h4); letter-spacing: 0; }
.fact a { text-decoration: none; }
.fact a:hover, .fact a:focus-visible { color: var(--accent); }
.fact small { font-size: var(--fs-xs); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-3); }
.facts--formula { display: flex; align-items: stretch; gap: 10px; }
.facts--formula .fact { flex: 1 1 0; }
.facts--formula .fact:last-child { border-color: var(--gold); }
.facts--formula .fact:last-child b { color: var(--gold-ink); }
.facts__op { display: flex; align-items: center; justify-content: center; font-size: var(--fs-figure); font-weight: 300; color: var(--gold-ink); }
@media (max-width: 640px) {
  .facts--formula { flex-direction: column; gap: 4px; }
  .facts__op { font-size: var(--fs-xl); line-height: 1; }
  .facts:not(.facts--formula) { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- trust bar ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); padding-top: 28px; padding-bottom: 28px; }
.trust li { border-top: 1px solid var(--line); padding-top: 14px; font-size: var(--fs-body-sm); line-height: 1.5; }
.trust strong { display: block; font-weight: 500; }
.trust span { color: var(--ink-2); }
@media (max-width: 1000px) { .trust { grid-template-columns: 1fr 1fr; row-gap: 18px; } }

/* ---------- Instagram grid ---------- */
.ig { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; }
.ig a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--cream); }
.ig img { transition: transform 1.2s var(--ease), filter .4s; }
@media (hover: hover) { .ig a:hover img { transform: scale(1.06); filter: brightness(.82); } }
.ig a::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.4'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6' fill='white'/%3E%3C/svg%3E") center no-repeat; opacity: 0; transition: opacity var(--t-ui); }
.ig a:hover::after { opacity: 1; }
@media (max-width: 760px) { .ig { grid-template-columns: repeat(3, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: var(--fs-lead); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border: 0; border-radius: 0; background: linear-gradient(var(--ink), var(--ink)) center / 10px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 10px no-repeat; transition: transform .4s var(--ease), background-size var(--t-ui); }
.faq details[open] summary::after { background-size: 10px 1px, 1px 0; }
.faq .a { padding: 0 60px 24px 0; color: var(--ink-2); max-width: 820px; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form .field label { opacity: 1; color: var(--ink-2); }
.form .field input:focus-visible, .form .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- dropdowns: every <select> is lib/html.py dropdown() ---------- */
.select { width: 100%; height: var(--control-h); padding: 0 34px 0 14px; border: 1px solid var(--field-line); border-radius: 0; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23b48a46' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--ink); font: inherit; font-size: var(--fs-md); text-align: left; cursor: pointer; -webkit-appearance: none; appearance: none; }
.select:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.select option { color: var(--ink); background: var(--paper); }
/* on night: the home page calculator */
.calc:not(.light) .select { background-color: var(--glass); border-color: rgba(217,181,109,.35); color: inherit; }
.calc:not(.light) .select:focus { border-color: var(--gold-2); box-shadow: none; }
.calc:not(.light) .select:focus-visible { outline-color: var(--gold-2); }
/* the collection toolbar's sort: the same control without the box */
.select--bare { width: auto; height: auto; min-height: var(--tap); padding: 8px 18px 8px 0; border: 0; background-color: transparent; background-position: right 2px center; font-size: var(--fs-xs); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: 500; field-sizing: content; }
.select--bare:focus { box-shadow: none; }
/* touch screens: the bare sort reads at 16px in sentence case, so iOS
   keeps the page still when it opens */
@media (max-width: 960px), (pointer: coarse) { .select--bare { font-size: var(--fs-md); letter-spacing: 0; text-transform: none; font-weight: 450; } }
/* where the browser allows it, the open list is the header's .lang__menu */
@supports (appearance: base-select) {
  .select, .select::picker(select) { appearance: base-select; }
  .select { display: inline-flex; align-items: center; }
  .select::picker-icon { display: none; }
  .select::picker(select) { margin-block: 4px; padding: 8px 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: var(--shadow-pop); }
  .select option { gap: 10px; min-height: var(--tap); padding: 10px 14px; font-size: var(--fs-body); font-weight: 400; letter-spacing: 0; text-transform: none; cursor: pointer; }
  .select option::checkmark { color: var(--accent); }
  .select option:checked { color: var(--accent); }
}
.form-actions { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 10px; text-align: center; }
.form-actions .btn { min-width: min(100%, 280px); }
.form-meta { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.form-meta a { display: inline-flex; align-items: center; min-height: var(--tap); color: inherit;
  text-decoration: underline; text-underline-offset: 3px; }
.form-meta a:hover { color: var(--ink); }
@media (max-width: 560px) { .form-actions .btn { width: 100%; } }
.form-note, .pdp__tax { font-size: var(--fs-sm); color: var(--ink-3); }
.form-note .ulink { padding: 0; }
/* field errors that shop.js writes into any form */
.form .err, .form-note.is-error { font-size: var(--fs-sm); color: var(--danger); margin: 0; }
.form .field [aria-invalid=true] { border-color: var(--danger); }
.form-title { margin-bottom: 12px; }
.form-intro { margin-bottom: 26px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
/* calm labels in sentence case; 16px text so iOS never zooms in on focus
   (dropdowns have their own shared rules) */
.field label { font-size: var(--fs-ui); letter-spacing: .01em; text-transform: none; }
.field .shop-check { font-size: var(--fs-body-sm); color: var(--ink); opacity: 1; }
.field input, .field textarea, .nl-row input, .co-code__row input { font-size: var(--fs-md); }
/* focus: one 2px ring from the border, not a second outline around it */
.field :is(input, textarea):focus { box-shadow: inset 0 0 0 1px var(--gold-2); }
.field :is(input, textarea):focus-visible, .form .field :is(input, textarea):focus-visible { outline: none; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr); margin: 0 var(--gutter); background: var(--cream); }
.pdp__gallery { position: relative; background: var(--paper); }
.pdp__slides { display: grid; gap: 2px; }
.pdp__slide { position: relative; display: block; width: 100%; background: var(--cream); cursor: zoom-in; overflow: hidden; }
/* a small photo keeps its own width (an inline max-width), centred */
.pdp__slide img { width: 100%; height: auto; margin-inline: auto; }
.pdp__slide:first-child img { aspect-ratio: auto; }
.pdp__dots { position: sticky; top: calc(var(--header-h) + 40vh); float: left; margin-left: 28px; margin-top: -100vh; display: grid; gap: 14px; z-index: 3; height: 0; }
.pdp__dots button { position: relative; width: 25px; height: 25px; margin: -8px; }
.pdp__dots button::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1px solid var(--ink); transition: background var(--t-ui), transform var(--t-ui); }
.pdp__dots button.is-active::before { background: var(--ink); transform: scale(1.15); }
.pdp__info { position: relative; }
.pdp__panel { position: sticky; top: var(--header-h); padding: clamp(28px, 3.2vw, 56px) clamp(24px, 3.2vw, 56px) 40px; }
.pdp__panel .crumbs { margin-bottom: 28px; }
.pdp__title-row { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
/* a long piece name reads in sentence case, as on its card */
.pdp h1 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -.005em; }
.pdp__fav { flex: none; width: var(--control-h); height: var(--control-h); border-radius: 0; border: 1px solid var(--ink-3); display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s; }
.pdp__fav:hover { border-color: var(--ink); }
.pdp__price { font-size: var(--fs-xl); margin: 14px 0 4px; font-variant-numeric: tabular-nums; }
.pdp__tax a { text-decoration: underline; }
.pdp__unique { display: flex; align-items: center; gap: 10px; margin: 22px 0 6px; font-size: var(--fs-ui); }
.pdp__unique .dot { width: 8px; height: 8px; border-radius: 50%; background: #2f9e6d; flex: none; }
.pdp__unique.is-sold .dot { background: var(--danger); }
.pdp__keyfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp__keyfacts div { font-size: var(--fs-ui); }
.pdp__keyfacts dt { font-size: var(--fs-xs); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-3); }
.pdp__keyfacts dd { margin: 2px 0 0; }
.pdp__keyfacts .wide { grid-column: 1 / -1; }
.pdp__acc details { border-bottom: 1px solid var(--line); }
.pdp__acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: var(--fs-sm); letter-spacing: var(--ls-action); text-transform: uppercase; }
.pdp__acc summary::-webkit-details-marker { display: none; }
.pdp__acc summary::after { content: ""; width: 14px; height: 14px; border: 0; border-radius: 0; background: linear-gradient(var(--ink), var(--ink)) center / 8px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 8px no-repeat; transition: transform .35s var(--ease), background-size var(--t-ui) var(--ease); flex: none; }
.pdp__acc details[open] summary::after { background-size: 8px 1px, 1px 0; }
/* accordions glide open where height: auto can animate (Chrome 131+) */
@supports (interpolate-size: allow-keywords) {
  .faq details, .pdp__acc details, .mnav__links details { interpolate-size: allow-keywords; }
  .faq details::details-content, .pdp__acc details::details-content, .mnav__links details::details-content { block-size: 0; overflow: clip; transition: block-size var(--t-panel) var(--ease-out), content-visibility var(--t-panel) allow-discrete; }
  .faq details[open]::details-content, .pdp__acc details[open]::details-content, .mnav__links details[open]::details-content { block-size: auto; }
}
.pdp__acc .a { padding: 0 0 20px; font-size: var(--fs-body-sm); color: var(--ink-2); }
.spec { width: 100%; border-collapse: collapse; font-size: var(--fs-body-sm); margin-bottom: 8px; }
.spec caption { text-align: left; font-size: var(--fs-xs); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink); padding: 10px 0 4px; font-weight: 500; }
.spec th, .spec td { padding: 7px 0; border-bottom: 1px dotted var(--line); vertical-align: top; text-align: left; }
.spec th { font-weight: 400; color: var(--ink-3); width: 44%; padding-right: 12px; }
/* a table ends at its last row: the accordion line closes it, never two */
.spec tr:last-child > * { border-bottom: 0; }
.feat strong { display: block; font-size: var(--fs-xs); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.pdp__buy { display: grid; gap: 14px; margin: 26px 0 0; justify-items: center; }
.pdp__buy .btn { width: 100%; }
.pdp__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.pdp__trust li { display: flex; gap: 10px; align-items: center; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.35; }
.pdp__trust .ico { width: var(--icon); height: var(--icon); color: var(--accent); }
/* about this piece: in the panel, right under the buying facts */
.pdp__story { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.pdp__story h2 { font-size: var(--fs-sm); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: 500; margin: 0 0 12px; }
.pdp__story .prose { font-size: var(--fs-body-sm); line-height: 1.65; }
.pdp__story .prose p { color: var(--ink-2); }
.pdp__story + .pdp__acc { margin-top: 18px; border-top: 1px solid var(--line); }
.cert-card { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; background: var(--cream); padding: var(--box-pad); margin-top: 28px; }
.cert-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: var(--paper); box-shadow: 0 6px 20px rgba(0,0,0,.08); cursor: zoom-in; }
.cert-card p { margin: 0; }
.cert-card strong { display: block; font-size: var(--fs-sm); letter-spacing: var(--ls-label); text-transform: uppercase; margin-bottom: 6px; }
@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; margin: 0; }
  .pdp__gallery { overflow: hidden; }
  .pdp__slides { grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; }
  .pdp__slides::-webkit-scrollbar { display: none; }
  .pdp__slide { scroll-snap-align: center; aspect-ratio: 1; }
  .pdp__slide img { height: 100%; object-fit: cover; }
  .pdp__slide--whole img { object-fit: contain; }
  .pdp__dots { position: absolute; float: none; top: auto; bottom: 16px; left: 0; right: 0; margin: 0; height: auto; display: flex; justify-content: center; gap: 8px; }
  /* each dot a 30 x 44 tap area around the same 7px circle */
  .pdp__dots { gap: 0; bottom: 4px; }
  .pdp__dots button { width: 30px; height: 44px; margin: 0; }
  .pdp__dots button::before { inset: 18px 11.5px; border-color: var(--on-dark); background: rgba(255,255,255,.4); }
  .pdp__dots button.is-active::before { background: var(--on-dark); }
  .pdp__panel { position: static; padding: 26px 20px 36px; }
  .cert-card { grid-template-columns: 110px 1fr; }
}
/* landscape phones: the whole photo fits under the header */
@media (max-width: 960px) and (orientation: landscape) {
  .pdp__slide { aspect-ratio: auto; height: calc(100svh - var(--header-h)); }
  .pdp__slide img { object-fit: contain; }
}

/* sticky mobile buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; gap: 10px; align-items: center; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform var(--t-panel) var(--ease); }
.buybar.is-on { transform: none; }
/* the price alone, as one big figure; the title is for screen readers */
.buybar__info { flex: 1; min-width: 0; }
.buybar__info b { display: block; font-size: var(--fs-xl); font-weight: 500; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.buybar .btn { min-height: var(--control-h); padding: 0 20px; }
@media (max-width: 960px) { .buybar { display: flex; } }

/* ---------- drawers / overlays ---------- */
.scrim { position: fixed; inset: 0; z-index: 85; background: rgba(18,17,16,.38); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.scrim.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(460px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .6s var(--ease-out), visibility 0s .6s; }
/* open: the mobile menu, the drawers and the search slide into view */
.mnav.is-open, .drawer.is-open, .search.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: var(--fs-sm); letter-spacing: var(--ls-label); text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer__body:last-child { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.drawer :is(.drawer__head, .drawer__body, .drawer__foot) { padding-right: max(24px, env(safe-area-inset-right)); }
.drawer__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__foot .form-note { text-align: center; margin: 0; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--cream); }
.line__t { font-size: var(--fs-ui); line-height: 1.45; }
.line__p { font-size: var(--fs-ui); margin-top: 6px; }
.line__x { display: inline-flex; align-items: center; min-height: var(--tap); margin-top: -13px; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--ls-label); color: var(--ink-3); text-decoration: underline; }
.line.is-sold .line__p::after { content: attr(data-sold); margin-left: 8px; color: var(--danger); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--ls-label); }
.sum { display: flex; justify-content: space-between; font-size: var(--fs-body); }
.drawer__empty { text-align: center; padding: 60px 10px; color: var(--ink-2); }

.search { position: fixed; inset: 0 0 auto 0; z-index: 90; background: var(--paper); max-height: 92vh; overflow-y: auto; transform: translateY(-102%); visibility: hidden; transition: transform .6s var(--ease-out), visibility 0s .6s; }
.search.is-open { box-shadow: 0 30px 60px -20px rgba(0,0,0,.2); }
/* phones: the sheet fills the screen, no strip of page below it */
@media (max-width: 640px) { .search { bottom: 0; max-height: none; } }
.search__bar { display: flex; align-items: center; gap: 16px; padding: 0 var(--gutter); height: 96px; border-bottom: 1px solid var(--line); }
.search__bar input { flex: 1; min-width: 0; border: 0; font-size: var(--fs-h4); outline: none; background: transparent; letter-spacing: .01em; }
.search__bar input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.search__bar input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__results { padding: 26px var(--gutter) 40px; }
.search__results .grid { grid-template-columns: repeat(6, 1fr); }
.search__hint { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search__pages { margin-bottom: 22px; }
.search__count { margin-bottom: 18px; }
.search .price-foot { margin: -24px 0 0; padding-bottom: 32px; }
.search-page__out .price-foot { margin-top: 26px; }
@media (max-width: 1100px) { .search__results .grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .search__results .grid { grid-template-columns: repeat(2, 1fr); } .search__bar { height: 64px; gap: 12px; } }
/* while customers can only enquire, nothing promises a payment step */
.shop-enquiry [data-pay-row] { display: none !important; }
/* a price list closes with one note: shipping extra, no VAT (PAngV) */
.price-foot { margin-top: 18px; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-3); }
.price-foot:last-child { margin-bottom: 0; }
.price-foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* one fact per line: shipping, then the VAT note */
.price-foot span, .pdp__tax span { display: block; }
/* the open search marks focus with its bottom line, not a box round the text */
.search__bar:focus-within { border-bottom-color: var(--ink); }
.search__bar input:focus-visible { outline: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity var(--t-ui) var(--ease), visibility 0s var(--t-ui); }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease-out), visibility 0s; }
/* the photo sits between bands that hold the controls, so close,
   arrows and count never cover it */
.lightbox { --lb-y: calc(72px + env(safe-area-inset-bottom)); --lb-x: 80px; }
.lightbox__stage { position: absolute; inset: var(--lb-y) var(--lb-x); overflow: auto; display: flex; align-items: center; justify-content: center; cursor: zoom-out; overscroll-behavior: contain; }
.lightbox__stage img { max-width: 100%; width: auto; max-height: 100%; object-fit: contain; transition: transform var(--t-ui) var(--ease), opacity var(--t-ui) var(--ease); }
.lightbox__stage.is-zoomed { inset: 0; align-items: flex-start; justify-content: flex-start; cursor: move; }
.lightbox__stage.is-zoomed img { max-width: none; max-height: none; }
.lightbox__ui { position: absolute; top: calc(16px + env(safe-area-inset-top)); right: calc(16px + env(safe-area-inset-right)); display: flex; gap: 10px; z-index: 2; }
.lightbox__nav { position: absolute; top: 50%; left: 20px; right: 20px; transform: translateY(-50%); display: flex; justify-content: space-between; pointer-events: none; z-index: 2; }
.lightbox__nav .round-btn { pointer-events: auto; background: var(--paper); }
.lightbox__count { position: absolute; bottom: calc(26px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); font-size: var(--fs-sm); letter-spacing: var(--ls-label); }
/* phones upright: the photo takes the full width, arrows and count share
   the band below it */
@media (max-width: 760px) and (min-height: 501px) {
  .lightbox { --lb-x: 0px; }
  .lightbox__nav { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); transform: none; }
}
/* phones on their side: no band above or below, the controls sit in the
   side bands (close and count right, arrows left and right) */
@media (max-height: 500px) {
  .lightbox { --lb-y: 0px; --lb-x: calc(72px + env(safe-area-inset-left)); }
  .lightbox__count { left: auto; right: calc(36px + env(safe-area-inset-right)); bottom: 16px; transform: translateX(50%); }
}

/* floating WhatsApp */
.fab { position: fixed; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 45; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--on-dark); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(15,79,62,.32); transition: transform .4s var(--ease), opacity var(--t-ui), visibility 0s var(--t-ui); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.92); }
.fab.is-on:hover { transform: scale(1.06); }
.no-js .fab { opacity: 1; visibility: visible; transform: none; }
.fab svg { width: var(--icon-lg); height: var(--icon-lg); }
.fab__tip { position: absolute; right: 62px; white-space: nowrap; background: var(--ink); color: var(--on-dark); font-size: var(--fs-sm); padding: 7px 12px; letter-spacing: .02em; opacity: 0; transform: translateX(6px); transition: all var(--t-ui) var(--ease); pointer-events: none; }
.fab:hover .fab__tip { opacity: 1; transform: none; }
.has-buybar .fab { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 961px) { .has-buybar .fab { bottom: 20px; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 110; transform: translate(-50%, 160%); opacity: 0; visibility: hidden; background: var(--ink); color: var(--on-dark); padding: 14px 20px; font-size: var(--fs-ui); letter-spacing: .02em; display: flex; gap: 14px; align-items: center; transition: transform .35s var(--ease-in-out), opacity .25s var(--ease), visibility 0s .35s; max-width: calc(100% - 32px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .6s var(--ease-out), opacity var(--t-ui) var(--ease), visibility 0s; }
.toast a { text-decoration: underline; white-space: nowrap; }
/* a toast rises above the home bar and, on phones, above the buy bar */
.toast { bottom: calc(28px + env(safe-area-inset-bottom)); }
@media (max-width: 960px) { .has-buybar .toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* the cookie notice: a calm card at the foot of the screen that leaves the
   page usable; both choices look the same (Planet49, § 25 TDDDG) */
.consent { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 95; transform: translateX(-50%); width: min(560px, calc(100% - 2 * var(--gutter))); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: var(--box-pad); background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 48px rgba(18,17,16,.16); text-align: center; }
.consent:focus { outline: none; }
.consent:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent__h { margin: 0 0 6px; font-size: var(--fs-lg); font-weight: 500; letter-spacing: 0; }
.consent__text { margin: 0; font-size: var(--fs-body-sm); line-height: 1.55; color: var(--ink-2); }
.consent__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent__cats { display: grid; gap: 8px; margin-top: 14px; text-align: left; }
.consent__cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; background: var(--cream); }
.consent__name { display: block; margin: 0; font-size: var(--fs-body-sm); font-weight: 500; }
.consent__small { margin: 2px 0 0; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); }
.consent__always { flex: none; font-size: var(--fs-sm); color: var(--ink-3); }
.consent__box { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.consent__box:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.consent__btns .btn { flex: 1 1 140px; min-height: var(--control-h); padding: 0 12px; letter-spacing: .06em; }
.consent__btns [data-consent-choice="save"] { flex-basis: 100%; }
.consent__more { min-height: var(--tap); margin-top: 4px; padding: 0 8px; font-size: var(--fs-ui); color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.consent__more:focus-visible, .consent__text a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 480px) { .consent { bottom: 0; width: 100%; padding-bottom: calc(var(--box-pad) + env(safe-area-inset-bottom)); border-width: 1px 0 0; } }
@media print { .consent { display: none !important; } }

/* contact band: the closing call to action above the footer, with equal
   space above and below (the links' 44px tap height adds 12px) */
.contact-band { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  margin: 0 var(--gutter); padding: var(--section-y) 0 calc(var(--section-y) - 12px); }
.contact-band p { margin: 0; font-size: var(--fs-h3); line-height: 1.35; color: var(--ink); text-wrap: balance; }
main:has(> .contact-band:last-child) + .footer { margin-top: 0; }
/* the last visible block ends at its content; band or footer adds the space */
main > :not(.contact-band, .drawer, .buybar, [hidden], style, script, noscript, template, .goldband, .deal):not(
  :has(~ :not(.contact-band, .drawer, .buybar, [hidden], style, script, noscript, template))) { padding-bottom: 0; }
/* phones: one full-width primary button, as in the band */
@media (max-width: 560px) { :is(.contact-band, .custom-line, .page-hero .btn-row) .btn { width: 100%; max-width: 360px; } }
/* ---------- footer ---------- */
/* footer: brand night with ivory type, a clear close to every page */
.footer { --f-ink: var(--ivory); --f-ink-2: rgba(243, 237, 226, .74); --f-line: rgba(243, 237, 226, .14); position: relative; background: var(--night); color: var(--f-ink); margin-top: var(--section-y);
  font-size: var(--fs-body-sm); }
.footer__cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; padding: 52px var(--gutter) 40px; }
/* one footer size: brand line, headings, phone, links and the bottom row */
.footer__brand p { max-width: 340px; line-height: 1.5; color: var(--f-ink-2); }
.footer__brand address { font-style: normal; color: var(--f-ink-2); margin-top: 18px; line-height: 1.7; }
.footer .footer__h { color: var(--gold-2); font-size: inherit; line-height: 1.4; letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: inherit; margin: 0 0 18px; }
/* phone and Instagram stay easy to tap on every screen (WCAG 2.5.8) */
.footer address a { display: inline-flex; align-items: center; min-height: 32px; }
/* phone and marks in one row: the icons and Trustpilot's star share one
   optical height, every mark in a 44px tap area */
.footer__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 18px; }
.footer .footer__contact address { margin: 0; }
.footer__contact address a { min-height: var(--tap); color: var(--f-ink-2); }
.footer__contact address a:hover { color: var(--on-dark); }
.footer__social { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer .footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; color: var(--f-ink); transition: color var(--t-ui), opacity var(--t-ui); }
.footer .footer__social a:hover, .footer .footer__social a:focus-visible { color: var(--on-dark); opacity: .85; }
.footer__social .ico { width: var(--icon-lg); height: var(--icon-lg); }
.footer .footer__social a:has(.tp-logo) { width: auto; padding: 0 9px; }
.footer__social .tp-logo { display: block; width: auto; height: 22px; }
/* payment marks: equal small badges, each brand's mark unchanged */
.footer__pay ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.footer__pay li { line-height: 0; }
.pay-mark { display: block; width: 38px; height: 24px; }
.footer li a { display: inline-block; padding: 3px 0; color: var(--f-ink-2); }
.footer li a:hover { color: var(--on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; padding: 22px calc(var(--gutter) + 64px) 30px var(--gutter); border-top: 1px solid var(--f-line); color: var(--f-ink-2); }
.footer__copy { margin: 0; line-height: 1.6; }
.footer__copy span { display: block; }
.footer .logo__word { filter: invert(1) sepia(.15) brightness(1.04); }
.footer .btn.ghost { color: var(--f-ink); }
.footer .btn.ghost::before { border-color: rgba(243, 237, 226, .4); }
.footer .btn.ghost:hover { color: var(--night); }
.footer .btn.ghost:hover::before { background: var(--f-ink); }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 0; padding: 0; list-style: none; }
/* § 356a BGB: set apart from AGB and Impressum by colour and position */
.footer .footer__withdraw { color: var(--gold-2); font-weight: 500; background: none; text-decoration: underline; text-underline-offset: 5px; }
.footer .footer__withdraw:hover { color: var(--on-dark); }
@media (max-width: 860px) {
  .footer li a, .footer address a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0; }
  .footer address { line-height: 1.3; }
  .plink { min-height: var(--tap); }
}
/* large screens: the type steps up through the scale, the spacing with it */
@media (min-width: 1280px) {
  .footer__cols { padding-top: 64px; padding-bottom: 48px; }
  .footer .footer__h { margin-bottom: 20px; }
  .footer li a { padding: 4px 0; }
}
@media (max-width: 1000px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer__cols { grid-template-columns: repeat(2, 1fr); column-gap: 24px; } }
@media (max-width: 560px) { .logo--full .logo__mark { width: 55px; } .logo--full .logo__word { width: 90px; } }

/* ---------- misc blocks ---------- */
.quote { font-size: var(--fs-h3); line-height: 1.35; max-width: calc(var(--measure-wide) - 2 * var(--gutter)); margin: 0 auto; text-wrap: pretty; }
.quote footer { font-size: var(--fs-body-sm); margin-top: 16px; color: var(--ink-3); }
.notice { border: 1px solid var(--line); padding: var(--box-pad); font-size: var(--fs-body-sm); color: var(--ink-2); background: var(--paper); }
.notice strong { color: var(--ink); }
/* a box ends at its text: the last paragraph's margin adds no extra space */
:is(.notice, .shop-notice, .co-status, .co-closed, .ac-card, .rv-card, .deal__note, .cert-card, .step, .buy, .fact,
  .calc, .co-sum) > :last-child { margin-bottom: 0; }
/* the server's no-script answer links to the notice, which then shows */
.notice[hidden]:target { display: block; }
.notice-wrap { margin-top: 24px; margin-bottom: 24px; }

/* spacing of page parts the builders share */
.list-title { margin-bottom: 28px; }
.cta-band .lead { max-width: var(--measure); margin: 18px auto 30px; }
/* loose stones only: one line and the custom-made button */
.custom-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; padding-block: var(--space-head); text-align: center; }
.custom-line p { font-size: var(--fs-lg); margin: 0; }
.page-body { padding-bottom: 40px; }
.legal-updated { margin-top: 32px; }
.legal-note { font-style: italic; color: var(--ink-2); }
/* the page holds the fold while results load, so the footer never jumps */
.search-page__out { min-height: 80vh; }
.search-page__results { padding-bottom: 0; }
.search-page__bar { height: auto; padding: 0 0 18px; border-bottom: 1px solid var(--ink); }
.search-page__bar input { min-height: var(--tap); font-size: var(--fs-md); }

/* ---------- reveal motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="img"] { opacity: 1; transform: none; clip-path: inset(7% 5% 7% 5%); transition: clip-path 1.2s var(--ease-out); }
.js [data-reveal="img"] > img, .js [data-reveal="img"] > video, .js [data-reveal="img"] > picture img { transform: scale(1.06); transition: transform 1.5s var(--ease-out); }
.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="img"].is-in > img, .js [data-reveal="img"].is-in > video, .js [data-reveal="img"].is-in > picture img { transform: none; }
.js .split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.js .split-words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(min(var(--i), 10) * 45ms + var(--d, 0s)); }
/* failsafe: content still appears after 3 s when main.js never runs */
.js:not(.js-ok) [data-reveal], .js:not(.js-ok) .split-words .w > span { animation: reveal-failsafe .8s var(--ease-out) 3s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
.js .split-words.is-in .w > span { transform: none; }

/* custom cursor for product media (fine pointers only) */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--veil); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: var(--fs-xs); letter-spacing: var(--ls-label); text-transform: uppercase; pointer-events: none; transform: scale(0); transition: transform .35s var(--ease); will-change: transform, translate; mix-blend-mode: normal; box-shadow: var(--shadow-pop); }
.cursor.is-on { transform: scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* phones, tablets and narrow windows: every section is there at once */
@media (hover: none), (pointer: coarse), (max-width: 960px) {
  .js [data-reveal], .js [data-reveal="img"], .js .split-words .w > span,
  .js [data-reveal="img"] > img, .js [data-reveal="img"] > video,
  .js [data-reveal="img"] > picture img { opacity: 1 !important;
    transform: none !important; clip-path: none !important;
    animation: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="img"], .js .split-words .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__media img { transform: none; }
}

@media print {
  .header, .footer, .fab, .buybar, .drawer, .search, .cursor, .toast, .scrim { display: none !important; }
  .js [data-reveal], .js [data-reveal="img"], .js .split-words .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important; transition: none !important; }
}

/* image section: one photo with an optional caption */
.figure { margin-top: 28px; margin-bottom: 28px; }
.figure img { display: block; width: 100%; height: auto; }
.table-cap { margin: 0 0 8px; font-size: var(--fs-ui); line-height: 1.5; color: var(--ink-3); }
.figure figcaption { margin-top: 10px; font-size: var(--fs-ui); line-height: 1.5; color: var(--ink-3); }

/* admin preview: every reveal shown at once, no page transitions */
.dnp-preview [data-reveal], .dnp-preview [data-reveal] > img, .dnp-preview [data-reveal] > video, .dnp-preview [data-reveal] picture img,
.dnp-preview .split-words .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important; transition: none !important; }
.dnp-preview .header { view-transition-name: none; }
:root.dnp-preview::view-transition-old(root), :root.dnp-preview::view-transition-new(root) { animation: none; }

/* jewellery of the day: up to four cards on a night band, one accent red */
.deal { --d-red: var(--deal-red); --d-red-text: var(--deal-red-2); --d-card: #181715; --d-photo: #201e1b; --d-line: rgba(243,237,226,.1); --d-muted: rgba(243,237,226,.64); --d-faint: rgba(243,237,226,.42); --d-glass: rgba(17,16,14,.72); --d-amber: #e0a43c; --d-pad: 16px; background: var(--night); color: var(--ivory); padding: var(--space-block) var(--gutter); }
.deal__inner { max-width: var(--container); margin: 0 auto; }
.deal__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 24px; margin-bottom: var(--space-gap); text-align: center; }
.deal__h { margin: 0; font-size: var(--fs-display); text-transform: uppercase; letter-spacing: var(--ls-display); }
.deal__intro { margin: 0; color: var(--d-muted); }
/* centred rows at any count; a short last row stays centred too */
.deal__cards { --cols: 4; --gap: clamp(14px, 1.6vw, 24px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); margin: 0; padding: 0; list-style: none; }
.deal__cards > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); max-width: 340px; min-width: 0; }
.deal__cards .deal-card { cursor: pointer; }

/* the card: photo, a one-line title, then one cell all stages share */
.deal-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--d-card); border: 1px solid var(--d-line); transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.deal-card[data-phase="dropping"], .deal-card[data-phase="floor"] { border-color: rgba(229,18,79,.45); }
.deal-card__media { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--d-photo); }
.deal-card__media a { display: block; height: 100%; }
.deal-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), filter .9s var(--ease-out); }
@media (hover: hover) {
  .deal__cards .deal-card:hover { transform: translateY(-3px); border-color: rgba(243,237,226,.24); box-shadow: 0 8px 20px rgba(0,0,0,.4); }
  .deal__cards .deal-card[data-phase="dropping"]:hover, .deal__cards .deal-card[data-phase="floor"]:hover { border-color: rgba(229,18,79,.7); }
}
.deal-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 14px var(--d-pad) var(--d-pad); }
.deal-card__title { margin: 0 0 12px; overflow: hidden; font-size: var(--fs-body-sm); font-weight: 400; line-height: 1.4; white-space: nowrap; text-overflow: ellipsis; color: var(--d-muted); }
.deal-card__title a:hover, .deal-card__title a:focus-visible { color: var(--ivory); }
.deal-card__stages { display: grid; flex: 1 1 auto; }
.deal__stage { grid-area: 1 / 1; display: flex; flex-direction: column; transition: opacity .35s var(--ease-out); }
.deal__stage.is-off { visibility: hidden; opacity: 0; pointer-events: none; }

/* on the photo: the phase tag, the piece chip and the discount badge */
.deal-tag { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; background: var(--d-glass); color: #fff; font-size: var(--fs-xs); font-weight: 700; line-height: 1; letter-spacing: var(--ls-label); text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.deal-tag__dot { display: none; width: 6px; height: 6px; border-radius: 50%; background: var(--d-red); }
.deal-card[data-phase="dropping"] .deal-tag__dot, .deal-card[data-phase="floor"] .deal-tag__dot { display: block; }
.deal-card[data-phase="dropping"] .deal-tag__dot { animation: deal-dot 1.6s ease-in-out infinite; }
@keyframes deal-dot { 50% { opacity: .35; } }
.deal-card[data-phase="reserved"] .deal-tag__dot { display: block; background: var(--d-amber); }
.deal-chip { position: absolute; left: 10px; bottom: 10px; padding: 6px 9px; background: rgba(255,255,255,.92); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; line-height: 1; letter-spacing: var(--ls-label); text-transform: uppercase; }
/* the one element that moves on its own: SALE, then the live discount */
.deal-pct { position: absolute; right: 10px; top: 10px; padding: 7px 10px; background: var(--d-red); color: #fff; font-size: var(--fs-h3); font-weight: 800; line-height: 1; letter-spacing: var(--ls-figure); font-variant-numeric: tabular-nums; transform-origin: 100% 0; animation: deal-flash 1.2s ease-in-out infinite; }
.deal-pct.is-sale { padding: 8px 11px; font-size: var(--fs-body-sm); letter-spacing: var(--ls-label); text-transform: uppercase; }
.deal-card[data-phase="dropping"] .deal-pct { animation-name: deal-flash-live; }
@keyframes deal-flash { 0%, 100% { opacity: 1; box-shadow: 0 0 0 rgba(229,18,79,0); } 50% { opacity: .8; transform: scale(1.03); box-shadow: 0 0 16px rgba(229,18,79,.5); } }
@keyframes deal-flash-live { 0%, 100% { opacity: 1; box-shadow: 0 0 0 rgba(229,18,79,0); } 50% { opacity: .7; transform: scale(1.07); box-shadow: 0 0 24px rgba(229,18,79,.75); } }
.deal-pct[hidden], .deal-tag[hidden] { display: none; }

/* before the start: the photo in full colour, a small countdown chip on top */
.deal-start { display: none; }
.deal-card[data-phase="upcoming"] .deal-chip { display: none; }
.deal-card[data-phase="upcoming"] .deal-start { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 10px; background: var(--d-glass); color: rgba(255,255,255,.8); font-size: var(--fs-xs); font-weight: 700; line-height: 1; letter-spacing: var(--ls-label); text-transform: uppercase; font-variant-numeric: tabular-nums; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s var(--ease-out); }
.deal-start b { color: #fff; font-size: var(--fs-sm); letter-spacing: .04em; }
.deal-card.is-final .deal-start { background: var(--d-red); color: #fff; }
/* the start: the photo clears and SALE comes in */
.deal-card.is-unlocking .deal-pct { animation: deal-badge-in .6s .4s var(--ease-out) both; }
@keyframes deal-badge-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* the stages: one type scale, the button always on the bottom line */
.deal__label { margin: 0 0 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--d-red-text); }
.deal__price { position: relative; display: flex; align-items: baseline; margin: 0 0 4px; overflow: hidden; font-variant-numeric: tabular-nums; }
/* before the start: the price sits as far from the button as from the name */
.deal__stage[data-deal-stage="upcoming"] .deal__price { margin-bottom: 12px; }
.deal__now { display: inline-flex; overflow: hidden; font-size: var(--fs-figure); font-weight: 700; line-height: 1.1; letter-spacing: var(--ls-figure); color: #fff; }
.deal__now--plain { font-weight: 400; color: var(--d-faint); }
.deal__digit { display: inline-block; white-space: pre; }
.deal__ref { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0 0 10px; font-size: var(--fs-body); color: var(--d-muted); font-variant-numeric: tabular-nums; }
.deal__ref s { text-decoration-color: var(--d-red-text); text-decoration-thickness: 1.5px; }
.deal__timer { margin: 0 0 14px; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--d-red-text); }
.deal__buy, .deal__remind { width: 100%; min-height: var(--control-h); margin-top: auto; padding: 0 12px; font-size: var(--fs-sm); font-weight: 700; letter-spacing: var(--ls-action); }
.deal__buy::before { background: var(--d-red); }
.deal__buy:hover::before, .deal__buy:focus-visible::before { background: #c90f45; }
.deal__buy[disabled] { opacity: .6; cursor: progress; }
.deal__remind { color: var(--ivory); }
.deal__remind::before { background: transparent; border: 1px solid rgba(243,237,226,.4); transition: background .2s, border-color .2s; }
.deal__remind:hover::before, .deal__remind:focus-visible::before { background: rgba(243,237,226,.08); border-color: var(--ivory); }
.deal__link { align-self: flex-start; min-height: 32px; margin: 0 0 10px; padding: 0; font-size: var(--fs-sm); letter-spacing: .04em; color: var(--d-muted); text-decoration: underline; text-decoration-color: rgba(243,237,226,.3); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.deal__link:hover, .deal__link:focus-visible { color: var(--ivory); text-decoration-color: currentColor; }
.deal__note { padding: 12px; border: 1px solid var(--d-line); font-size: var(--fs-ui); color: var(--d-muted); }
.deal__note.deal__stage { align-self: start; }
.deal__note[hidden] { display: none; }
/* a hold that runs or a returning piece: amber, with the real time left */
.deal__held .deal__label, .deal__held .deal__timer { color: var(--d-amber); }
.deal__now--held { color: rgba(243,237,226,.86); }
.deal-card[data-phase="returning"] .deal-tag__dot { display: block; background: var(--d-amber); }
.deal-card[data-phase="reserved"] .deal-pct, .deal-card[data-phase="returning"] .deal-pct { background: #3a3733; animation: none; }
.deal__links { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0 0 10px; }
/* the 32px text buttons get a 44px tap height without moving the card */
.deal__link { position: relative; }
.deal__link::before { content: ""; position: absolute; inset: -6px 0; }
.deal-buy__form { display: grid; gap: 14px; }
.deal-buy__form .field { display: grid; gap: 6px; font-size: var(--fs-ui); }
.deal-buy__form input { min-height: var(--control-h); padding: 0 14px; border: 1px solid var(--field-line); background: var(--paper); color: var(--ink); }
.deal-buy__lead, .deal-buy__note { margin: 0; font-size: var(--fs-ui); color: var(--ink-2); }
.deal-buy__note { font-size: var(--fs-sm); }
/* text links under a sign-in form: a 44px tap height, same line height */
.ac-small a { display: inline-block; padding-block: 12px; margin-block: -12px; }
.deal-buy__msg { margin: 0; color: #b42318; font-size: var(--fs-ui); }
.deal-buy__msg[hidden] { display: none; }
/* Google and Apple buttons in each brand's colours, equal in size */
.sso-box { display: grid; gap: 10px; margin: 0 0 22px; }
.sso-box[hidden], .sso[hidden] { display: none; }
.sso { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--control-h); padding: 0 12px; border: 1px solid; border-radius: 4px; font: 500 14px/20px "Google Sans", Roboto, Arial, sans-serif; letter-spacing: .25px; text-decoration: none; }
.sso__logo { flex: none; }
.sso--google { background: #fff; border-color: #747775; color: #1f1f1f; }
.sso--google:hover { background: #f2f2f2; }
.sso--apple { background: #000; border-color: #000; color: #fff; font: 500 16px/20px -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; letter-spacing: 0; }
.sso--apple:hover { background: #1f1f1f; }
.sso--apple .sso__logo { width: 20px; height: 20px; margin-top: -3px; }
.sso-note { margin: 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink-2); }
.sso-note a { text-decoration: underline; color: inherit; }
.sso-or { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; font-size: var(--fs-sm); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-3); }
.sso-or::before, .sso-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }

/* after the deal: grey photo, the outcome in short muted lines */
.deal-card[data-phase="sold"] .deal-card__media img, .deal-card[data-phase="ended"] .deal-card__media img { filter: grayscale(1) brightness(.7); }
.deal-card[data-phase="sold"] .deal-chip, .deal-card[data-phase="ended"] .deal-chip { display: none; }
.deal-miss { grid-area: 1 / 1; align-self: start; display: grid; justify-items: start; gap: 4px; font-variant-numeric: tabular-nums; }
.deal-miss[hidden], .deal-miss__prices[hidden] { display: none; }
.deal-miss__pct { font-size: var(--fs-figure); font-weight: 700; line-height: 1; letter-spacing: var(--ls-figure); color: rgba(243,237,226,.86); }
.deal-miss__pct:empty { display: none; }
.deal-miss__word { font-size: var(--fs-xs); font-weight: 700; line-height: 1.3; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--d-muted); }
.deal-miss__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 6px; font-size: var(--fs-ui); }
.deal-miss__prices b { font-weight: 600; color: var(--d-muted); }
.deal-miss__prices s { font-size: var(--fs-body-sm); color: var(--d-faint); }

/* all of today's deals over: one line, a countdown when more come today */
.deal__round { display: grid; grid-template-columns: auto minmax(220px, 320px) auto; justify-content: start; align-items: center; gap: 12px 22px; margin-bottom: var(--space-gap); }
.deal__round[hidden], .deal__over[hidden] { display: none; }
.deal.is-over .deal__stage { display: none; }
.deal__round .deal__label, .deal__round .deal__link { margin: 0; }
.deal__over { margin: 0 0 var(--space-gap); font-size: var(--fs-lead); font-weight: 500; color: var(--ivory); }
.deal__clock { display: flex; gap: 6px; min-height: 68px; font-variant-numeric: tabular-nums; }
.deal__unit { display: grid; justify-items: center; align-content: center; flex: 1 1 0; min-width: 0; padding: 8px 4px 6px; background: #22201d; transition: background .3s var(--ease-out); }
.deal__unit b { font-size: var(--fs-figure); font-weight: 700; line-height: 1; letter-spacing: var(--ls-figure); }
.deal__unit small { margin-top: 4px; font-size: var(--fs-2xs); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--d-faint); }
.deal__round.is-final .deal__unit:last-child { background: var(--d-red); }
.deal__round.is-final .deal__unit:last-child small { color: #fff; }
.deal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; margin-top: var(--space-gap); }
.deal__foot .plink { color: var(--ivory); }

/* product page in deal mode: the card for this piece in place of the price */
.deal--pdp { --d-pad: 18px; margin: 4px 0 18px; padding: 0; background: none; }
.deal--pdp .deal__cards, .deal--pdp .deal__cards[data-count] { display: block; margin: 0; padding: 0; }
.deal--pdp .deal__cards > * { max-width: none; }
.deal--pdp .deal-card { background: var(--night); color: var(--ivory); cursor: auto; }
.deal--pdp .deal-card__media { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 14px var(--d-pad) 0; aspect-ratio: auto; overflow: visible; background: none; }
.deal--pdp .deal-card__media > a, .deal--pdp .deal-chip, .deal--pdp .deal-card__title { display: none; }
.deal--pdp .deal-tag, .deal--pdp .deal-pct, .deal--pdp .deal-card[data-phase="upcoming"] .deal-start { position: static; }
.deal--pdp .deal-pct { margin-left: auto; }
.deal-pdp-on .pdp__price, .deal-pdp-on .pdp__buy, .deal-pdp-on .buybar { display: none; }
.deal__notify { max-width: 520px; padding-top: 22px; border-top: 1px solid rgba(243,237,226,.14); }
.deal__notify-h { margin: 0 0 4px; font-weight: 500; }
.deal__notify-lead, .deal__notify .nl-consent { color: rgba(243,237,226,.64); font-size: var(--fs-ui); }
.deal__notify input { background: var(--glass); color: var(--ivory); border-color: rgba(243,237,226,.3); }
.deal__notify .nl-row { display: flex; gap: 10px; margin-top: 14px; }
.deal__notify .nl-row input { flex: 1 1 auto; min-width: 0; min-height: var(--control-h); padding: 0 14px; border: 1px solid var(--field-line); }
.deal__notify .nl-row .btn { flex: none; min-height: var(--control-h); }
.deal__notify .nl-consent { margin-top: 10px; font-size: var(--fs-sm); line-height: 1.55; }
.deal__notify .nl-consent a { color: inherit; text-decoration: underline; }
.deal__notify .nl-msg { margin-top: 10px; }
.deal__notify--drawer { max-width: none; padding-top: 0; border-top: 0; }
.deal__notify--drawer .deal__notify-h { display: none; }
.deal__notify--drawer input { background: var(--paper); color: var(--ink); }
.deal__notify--drawer .deal__notify-lead, .deal__notify--drawer .nl-consent { color: var(--ink-2); }
@media (max-width: 760px) { .deal__notify .nl-row { flex-direction: column; } }
.deal-under-fab .fab, .text-under-fab .fab { opacity: 0; visibility: hidden; transform: translateY(14px) scale(.92); }
/* tablets: two by two, square photos */
@media (max-width: 1180px) {
  .deal-card__media { aspect-ratio: 1 / 1; }
  .deal__cards { --cols: 2; }
  .deal__cards > * { max-width: none; }
  .deal__cards[data-count="1"] > * { max-width: 420px; }
}
/* phones: two columns, every deal in view; the discount sits bottom right */
@media (max-width: 640px) {
  .deal { --d-pad: 10px; }
  .deal__cards { --gap: 10px; }
  .deal__cards[data-count="1"] { --cols: 1; }
  .deal__cards[data-count="1"] > * { max-width: none; }
  .deal-card__body { padding-top: 10px; }
  .deal-card__title { margin-bottom: 8px; font-size: var(--fs-sm); }
  .deal__stage[data-deal-stage="upcoming"] .deal__price { margin-bottom: 8px; }
  .deal-tag, .deal-card[data-phase="upcoming"] .deal-start { left: 6px; top: 6px; gap: 5px; padding: 5px 7px; font-size: var(--fs-2xs); letter-spacing: var(--ls-caps-lg); }
  .deal-tag { font-size: var(--fs-2xs); letter-spacing: var(--ls-caps-lg); }
  .deal-start b { font-size: var(--fs-xs); }
  .deal-chip { display: none; }
  .deal-pct { top: auto; right: 6px; bottom: 6px; padding: 5px 7px; font-size: var(--fs-lg); transform-origin: 100% 100%; }
  .deal-pct.is-sale { padding: 6px 8px; font-size: var(--fs-xs); }
  .deal__label { font-size: var(--fs-xs); letter-spacing: var(--ls-caps-lg); }
  .deal__now { font-size: var(--fs-xl); }
  .deal__ref { gap: 0 6px; font-size: var(--fs-body-sm); }
  .deal__timer { margin-bottom: 10px; font-size: var(--fs-xs); }
  .deal__buy, .deal__remind { padding: 0 6px; font-size: var(--fs-xs); letter-spacing: var(--ls-caps-lg); }
  .deal__link { margin-bottom: 8px; font-size: var(--fs-xs); }
  .deal__remind { padding: 4px 6px; line-height: 1.25; letter-spacing: var(--ls-caps-lg); }
  .deal-miss__pct { font-size: var(--fs-xl); }
  .deal-miss__word { font-size: var(--fs-xs); letter-spacing: var(--ls-caps-lg); }
  .deal-miss__prices { font-size: var(--fs-sm); }
  .deal-miss__prices s { font-size: var(--fs-sm); }
  .deal__round { grid-template-columns: 1fr; justify-items: stretch; gap: 10px; }
  .deal__round .deal__link { justify-self: start; }
  .deal__clock { min-height: 62px; }
  .deal__unit b { font-size: var(--fs-xl); }
}
/* reduced motion: no flash, pulse, lift or unlock; states swap at once */
@media (prefers-reduced-motion: reduce) {
  .deal-card, .deal-card__media img, .deal__stage, .deal-start, .deal__unit { transition: none; }
  .deal-pct, .deal-tag__dot { animation: none !important; }
  .deal__cards .deal-card:hover { transform: none; }
}
