/* ───────────────────────────────────────────────────────────────────────────
   Forge & Vow

   Light, warm, quiet. Apple's structural habits — a lot of air, very large
   headlines, tight tracking, pill buttons, a translucent sticky bar, product
   photography floating on near-white — but warmed off the neutral grey into
   cream, with a champagne accent and a serif display face for the glamour.

   Deliberately un-gendered: no blush pink, no floral, and equally no black
   leather / industrial edge. Warm neutral plus a soft metallic reads as
   jewellery without picking a side.
   ─────────────────────────────────────────────────────────────────────────── */

:root {
  --paper: #fcfaf7;
  /* Kept close to --paper on purpose: a deeper cream looked nicer but dragged
     the small-text and accent contrast below 4.5:1 wherever it was used.
     Nudged very slightly warmer (#f8f4ed → #f8f3ea) so the alternate bands
     read as a soft colour, not just off-white — gold-deep text still clears
     4.5:1 on it (4.52, checked). */
  --paper-alt: #f8f3ea;
  --card: #ffffff;

  --ink: #1c1917;
  --ink-2: #6d645b;
  /* --ink-3 carries the small supporting text (hints, meta, captions, table
     headers). It has to clear 4.5:1 on the cream AND on the alt band, so it is
     darker than it looks like it wants to be. Checked, not eyeballed. */
  --ink-3: #756a5e;

  /* --gold is decorative only: rules, tick marks, the nav underline. Anything
     that is actual text uses --gold-deep, which clears 4.5:1 on cream. */
  --gold: #b4894f;
  --gold-deep: #8d6935;
  --gold-wash: #f8f1e6;
  /* A lighter gold for accents that sit on the dark dusk sections, where
     --gold-deep would be too dark to read. Clears 4.5:1 on --dusk (7.89). */
  --gold-lt: #ddb98a;

  /* Deep, warm aubergine — the one real colour on the site. It echoes the
     purple / burgundy velvet the bands are actually photographed on, and
     anchors the closing call-to-action and the footer so the page no longer
     reads as wall-to-wall white. Text on it uses --paper (cream headings) or
     --dusk-ink (soft body); both pairs are verified well past 4.5:1. */
  --dusk: #322530;
  --dusk-2: #241a22;
  --dusk-ink: #e9e0e3;
  --dusk-hair: rgba(255, 255, 255, 0.13);

  --hair: rgba(28, 25, 23, 0.11);
  --hair-soft: rgba(28, 25, 23, 0.06);

  --serif: ui-serif, 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia,
    'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto,
    system-ui, 'Helvetica Neue', Arial, sans-serif;

  --page: 78rem;
  --measure: 36rem;
  --gut: clamp(1.25rem, 5vw, 3rem);

  --r: 18px;
  --r-sm: 12px;
  --pill: 980px;

  --lift: 0 1px 2px rgba(28, 25, 23, 0.04), 0 12px 32px -16px rgba(28, 25, 23, 0.18);
  --lift-hover: 0 2px 4px rgba(28, 25, 23, 0.05), 0 24px 48px -20px rgba(28, 25, 23, 0.24);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.0625rem) / 1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* THE FIX: width/height attributes are set on every <img> so the browser can
   reserve space, but without height:auto the box keeps the attribute height
   while max-width shrinks the width — squashing every photo by up to 30%. */
img,
picture,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--gold-wash);
  color: var(--ink);
}

/* ─── Type ───────────────────────────────────────────────────────────────── */

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem);
}
h2 {
  font-size: clamp(1.875rem, 1.2rem + 2.8vw, 3rem);
}
h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.lede {
  font-size: clamp(1.0625rem, 0.98rem + 0.55vw, 1.375rem);
  line-height: 1.5;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

.eyebrow {
  font: 500 0.75rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1.25rem;
}

.eyebrow--quiet {
  color: var(--ink-3);
}

.prose {
  max-width: var(--measure);
}

.prose > :last-child {
  margin-bottom: 0;
}

.center {
  text-align: center;
}

.center .prose,
.center .lede {
  margin-inline: auto;
}

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.wrap {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.wrap--narrow {
  max-width: 46rem;
}

section {
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

.rule {
  border: 0;
  border-top: 1px solid var(--hair-soft);
  margin: 0;
}

.band {
  background: var(--paper-alt);
}

/* ─── Dusk section ───────────────────────────────────────────────────────────
   A deep aubergine block used for the closing call-to-action, giving the page
   a coloured anchor before the footer. Cream headings, soft-cream body, gold
   accents and a gold pill button — every pair checked past 4.5:1. */

.dusk {
  background: var(--dusk);
  color: var(--dusk-ink);
}

.dusk h1,
.dusk h2,
.dusk h3 {
  color: var(--paper);
}

.dusk .lede {
  color: var(--dusk-ink);
}

.dusk .eyebrow {
  color: var(--gold-lt);
}

/* On dusk the near-black primary button would vanish — swap it for the gold
   pill with dark ink text (the most clickable thing on a dark block). */
.dusk .btn--primary {
  background: var(--gold);
  color: var(--ink);
}

.dusk .btn--primary:hover {
  background: var(--gold-lt);
}

.dusk .btn--text {
  color: var(--gold-lt);
}

.dusk :focus-visible {
  outline-color: var(--gold-lt);
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
}
.skip:focus {
  left: 0;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--hair-soft);
}

@supports not (backdrop-filter: blur(1px)) {
  .site-head {
    background: var(--paper);
  }
}

.site-head__in {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 3.75rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.site-head__in > nav {
  margin-left: auto;
  min-width: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 2rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav a {
  text-decoration: none;
  font-size: 0.875rem;
  color: var(--ink-2);
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--ink);
}

.nav a[aria-current='page'] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.nav__count {
  display: inline-block;
  min-width: 1.4em;
  padding: 0.05em 0.4em;
  margin-left: 0.35em;
  border-radius: var(--pill);
  background: var(--gold-deep);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}

.nav__count[hidden] {
  display: none;
}

/* ─── Currency switcher ──────────────────────────────────────────────────── */

.nav__cur {
  display: inline-flex;
  align-items: center;
}

.cur-switch {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--hair);
  border-radius: var(--pill);
  padding: 2px;
}

.cur-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font: 500 0.8125rem/1 var(--sans);
  min-width: 1.7rem;
  height: 1.5rem;
  border-radius: var(--pill);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.cur-switch button:hover {
  color: var(--ink);
}

.cur-switch button[aria-current='true'] {
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 47.99rem) {
  .site-head__in {
    flex-wrap: wrap;
    padding-block: 0.5rem;
    row-gap: 0.15rem;
    min-height: 0;
  }
  .site-head__in > nav {
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    margin-inline: calc(var(--gut) * -1);
    padding-inline: var(--gut);
  }
  .site-head__in > nav::-webkit-scrollbar {
    display: none;
  }
  .nav {
    width: max-content;
    padding-bottom: 0.3rem;
  }
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font: 500 0.9375rem/1.2 var(--sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, opacity 0.18s;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: #37312c;
}

/* Dark ink on gold, not white: white on this gold is only 3.17:1 and fails AA
   (the same white-on-orange trap the palette notes warn about). Ink clears
   5.52:1. */
.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: var(--gold-lt);
}

.btn--ghost {
  border-color: var(--hair);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink-3);
  background: var(--card);
}

/* Apple's quiet text link with a chevron. */
.btn--text {
  padding: 0.5rem 0;
  color: var(--gold-deep);
  border-radius: 0;
}

.btn--text::after {
  content: '›';
  font-size: 1.15em;
  line-height: 1;
  transition: translate 0.18s;
}

.btn--text:hover::after {
  translate: 3px 0;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
}

.center .btn-row {
  justify-content: center;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 90%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(180, 137, 79, 0.16),
    transparent 62%
  );
  pointer-events: none;
}

.hero__in {
  position: relative;
  max-width: 46rem;
  margin-inline: auto;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero .lede {
  margin-inline: auto;
  max-width: 34rem;
}

.hero__price {
  margin: 1.5rem 0 2rem;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

.hero__price b {
  color: var(--ink);
  font-weight: 600;
}

/* The single hero photograph, floating on the paper with no frame.
   45rem is the reference width for the whole site: nothing else renders wider
   than this, so no photograph is ever larger than the first one. */
.hero__shot {
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  max-width: 45rem;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--lift);
}

.hero__shot img {
  width: 100%;
}

/* ─── Cards ──────────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  max-width: 62rem;
  margin-inline: auto;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--lift);
  transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
  box-shadow: var(--lift-hover);
  transform: translateY(-3px);
}

.card__img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  background: var(--paper-alt);
}

.card__body {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.card__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.card__tag {
  color: var(--ink-2);
  font-size: 0.9375rem;
  margin: 0;
  flex: 1;
}

.card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hair-soft);
  font-size: 0.875rem;
  color: var(--ink-3);
}

.card__meta b {
  color: var(--ink);
  font-weight: 600;
}

.card__cta {
  color: var(--gold-deep);
}

/* ─── Editorial ──────────────────────────────────────────────────────────── */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 52rem) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--flip > :first-child {
    order: 2;
  }
}

.figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--lift);
}

.figure img {
  width: 100%;
}

.figure figcaption {
  padding: 0.9rem 1.1rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
  background: var(--card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

/* ─── Finish-stage label ─────────────────────────────────────────────────────
   Says whether a photograph shows a finished piece or one still being worked
   on. Colour alone never carries it — the words are always present. */

.stage-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.25em 0.7em;
  border-radius: var(--pill);
  font: 500 0.6875rem/1.5 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.stage-tag::before {
  content: '';
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.stage-tag--done {
  background: #e8f1e9;
  color: #2f6b42;
}

.stage-tag--wip {
  background: var(--gold-wash);
  color: var(--gold-deep);
}

/* Overlaid on a gallery image rather than sitting under it. */
.stage-tag--float {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.14);
}

.gal__main {
  position: relative;
}

/* Was full-bleed, which made it the largest image on the site. Capped to the
   hero width so the first picture stays the biggest one. */
.banner {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  /* Same gutter as every other section, or it renders wider than the hero. */
  padding-inline: var(--gut);
}

.banner img {
  width: 100%;
  max-width: 45rem;
  margin-inline: auto;
  height: auto;
  border-radius: var(--r);
  box-shadow: var(--lift);
}

/* ─── Process steps ──────────────────────────────────────────────────────── */

.steps {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.step {
  display: flex;
  flex-direction: column;
}

.step__shot {
  position: relative;
}

.step img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
  background: var(--card);
}

.step__body {
  padding: 1.1rem 0 0;
}

.step__n {
  font: 500 0.6875rem/1 var(--sans);
  letter-spacing: 0.2em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 0.6rem;
}

.step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.45rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 0;
}

/* ─── Product detail ─────────────────────────────────────────────────────── */

.pdp {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
  align-items: start;
}

@media (min-width: 60rem) {
  .pdp {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }
  .pdp__buy {
    position: sticky;
    top: 5.5rem;
  }
}

.crumbs {
  font-size: 0.8125rem;
  color: var(--ink-3);
  padding-top: 1.5rem;
}

.crumbs a {
  color: var(--ink-2);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
}

/* A fixed slot with the image centred inside it at its true size.
   These are phone photographs and some crops only carry ~410px of real detail;
   stretching one to fill a 630px slot looks soft however sharp the original
   was. Letterboxing on white keeps every shot at native resolution and stops
   the panel resizing as you click through the thumbnails. */
.gal__main {
  margin: 0;
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--lift);
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0.5rem;
}

.gal__main img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: calc(var(--r) - 6px);
}

.gal__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr));
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding: 0;
  list-style: none;
}

.gal__thumb {
  appearance: none;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: var(--card);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s, opacity 0.15s;
  opacity: 0.72;
}

.gal__thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gal__thumb:hover {
  opacity: 1;
}

.gal__thumb[aria-current='true'] {
  border-color: var(--gold);
  opacity: 1;
}

.gal__zoom {
  margin-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.buy {
  background: var(--card);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: var(--lift);
}

.buy h1 {
  font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.buy__tag {
  color: var(--ink-2);
  margin-bottom: 1.5rem;
}

.buy__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--serif);
  font-size: 2.125rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hair-soft);
  margin-bottom: 1.5rem;
}

.buy__price small {
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.buy__price {
  flex-wrap: wrap;
}

/* Size + width selectors, side by side where there's room. */
.buy__opts {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 26rem) {
  .buy__opts {
    grid-template-columns: 1fr 1fr;
  }
}

.buy__opts .field {
  margin-bottom: 0;
}

.field {
  display: block;
  margin-bottom: 1.25rem;
}

.field > span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.5rem;
}

.field a {
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold-deep);
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 1.2rem) 55%, calc(100% - 0.85rem) 55%;
  background-repeat: no-repeat;
  background-size: 0.35rem 0.35rem;
  padding-right: 2.5rem;
}

textarea {
  resize: vertical;
  min-height: 5.5rem;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--ink-3);
}

.hint {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin: 0.75rem 0 0;
}

/* ─── Sizing-page estimator ──────────────────────────────────────────────── */

.estimator {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--lift);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

@media (min-width: 44rem) {
  .estimator {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.estimator__controls {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.estimator__controls .field {
  margin-bottom: 0;
}

.estimator__out {
  border-top: 1px solid var(--hair-soft);
  padding-top: 1.5rem;
}

@media (min-width: 44rem) {
  .estimator__out {
    border-top: 0;
    border-left: 1px solid var(--hair-soft);
    padding-top: 0;
    padding-left: clamp(1.5rem, 4vw, 2.5rem);
  }
}

.estimator__total {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.35rem;
}

.estimator__total span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.estimator__total strong {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 1.8rem + 3vw, 3.25rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.estimator__break {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.estimator__break li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--hair-soft);
  padding-bottom: 0.65rem;
}

.estimator__break li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.estimator__break b {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ─── Legal / policy pages ───────────────────────────────────────────────── */

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.375rem;
}

.legal h2:first-of-type {
  margin-top: 1rem;
}

.legal ul,
.legal ol {
  padding-left: 1.25rem;
  margin: 0 0 1em;
  display: grid;
  gap: 0.4rem;
}

.legal li {
  color: var(--ink-2);
}

.legal__updated {
  margin-top: 2.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--hair-soft);
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* Owner-supplied fields not yet filled in — obvious on sight, never subtle. */
.todo {
  background: #fff3cd;
  color: #6b5200;
  padding: 0 0.3em;
  border-radius: 3px;
  font-style: normal;
}

.stock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--ink-2);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hair-soft);
}

.stock::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #4a9d68;
  flex: none;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.ticks li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.ticks li::before {
  content: '';
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.34em;
  background: var(--gold);
  clip-path: polygon(14% 47%, 0 61%, 39% 100%, 100% 22%, 86% 8%, 38% 71%);
}

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.specs th,
.specs td {
  text-align: left;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--hair-soft);
  vertical-align: top;
}

.specs th {
  font-weight: 400;
  color: var(--ink-3);
  width: 42%;
  padding-right: 1rem;
}

/* ─── Reviews (honest empty state) ───────────────────────────────────────── */

.reviews-empty {
  border: 1px dashed var(--hair);
  border-radius: var(--r);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  color: var(--ink-2);
  max-width: 36rem;
  margin-inline: auto;
  background: var(--card);
}

.reviews-empty p:last-child {
  margin-bottom: 0;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.faq {
  max-width: 46rem;
  margin-inline: auto;
}

details {
  border-bottom: 1px solid var(--hair-soft);
}

summary {
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-family: var(--serif);
  font-size: 1.1875rem;
  position: relative;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '';
  position: absolute;
  right: 0.5rem;
  top: 1.65rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid var(--ink-3);
  border-bottom: 1.5px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

details[open] summary::after {
  transform: rotate(-135deg);
}

details > .prose {
  padding-bottom: 1.35rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  max-width: none;
}

/* ─── Tables ─────────────────────────────────────────────────────────────── */

.table-scroll {
  overflow-x: auto;
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--lift);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  min-width: 26rem;
}

table.data th,
table.data td {
  padding: 0.8rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--hair-soft);
  white-space: nowrap;
}

table.data thead th {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

table.data tbody tr:last-child td {
  border-bottom: 0;
}

/* ─── Order ──────────────────────────────────────────────────────────────── */

.order {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (min-width: 56rem) {
  .order {
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  }
  .order__summary {
    position: sticky;
    top: 5.5rem;
  }
}

.lines {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.line {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hair-soft);
}

.line img {
  width: 4.5rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.line__name {
  font-family: var(--serif);
  font-size: 1.125rem;
}

.line__meta {
  font-size: 0.8125rem;
  color: var(--ink-3);
  margin: 0.2rem 0 0;
}

.line__right {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.line__rm {
  appearance: none;
  background: none;
  border: 0;
  color: var(--ink-3);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 0.2rem 0;
  text-decoration: underline;
}

.line__rm:hover {
  color: var(--gold-deep);
}

.totals {
  background: var(--card);
  border-radius: var(--r);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  box-shadow: var(--lift);
}

.totals__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

.totals__row--grand {
  border-top: 1px solid var(--hair);
  margin-top: 0.6rem;
  padding-top: 0.9rem;
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--ink);
}

.empty {
  border: 1px dashed var(--hair);
  border-radius: var(--r);
  padding: clamp(2rem, 6vw, 3.5rem);
  text-align: center;
  color: var(--ink-2);
  background: var(--card);
}

.note {
  background: var(--gold-wash);
  border-radius: var(--r-sm);
  padding: 1rem 1.15rem;
  font-size: 0.875rem;
  color: var(--gold-deep);
  margin-bottom: 1.5rem;
}

.note b {
  color: var(--ink);
}

/* ─── Toast ──────────────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  translate: -50% 0;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 1.4rem;
  border-radius: var(--pill);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--lift-hover);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, translate 0.2s;
  max-width: calc(100vw - 2rem);
  text-align: center;
}

.toast[data-show] {
  opacity: 1;
  translate: -50% -0.35rem;
}

/* ─── Lightbox ───────────────────────────────────────────────────────────── */

dialog.lb {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
}

dialog.lb::backdrop {
  background: rgba(252, 250, 247, 0.94);
  backdrop-filter: blur(8px);
}

.lb__in {
  display: grid;
  place-items: center;
  height: 100%;
  padding: clamp(1rem, 4vw, 3rem);
}

.lb__in img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: var(--r);
  box-shadow: var(--lift-hover);
}

.lb__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  appearance: none;
  background: var(--card);
  border: 1px solid var(--hair);
  color: var(--ink);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.lb__close:hover {
  border-color: var(--ink-3);
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.site-foot {
  /* Deepest block on the page — the base the whole thing sits on. A hair
     darker than the closing dusk band and separated by a thin gold rule so the
     two dark zones read as two, not one slab. */
  border-top: 2px solid var(--gold);
  background: var(--dusk-2);
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
  font-size: 0.875rem;
  color: var(--dusk-ink);
}

.site-foot__cols {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  margin-bottom: 2.5rem;
}

.site-foot h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1rem;
}

.site-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.site-foot a {
  text-decoration: none;
  color: var(--dusk-ink);
}

.site-foot a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.site-foot__base {
  border-top: 1px solid var(--dusk-hair);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  color: #c9bcc2;
  font-size: 0.8125rem;
}

/* ─── Motion / print ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-head,
  .site-foot,
  .btn,
  .gal__thumbs {
    display: none;
  }
  body {
    background: #fff;
  }
  .card,
  .figure,
  .buy,
  .table-scroll {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
