/* ════════════════════════════════════════════
   CASA NOBLE by Seven Stone — storefront styles
   ════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --paper:   #f8f6f1;
  --paper2:  #efebe3;
  --card:    #fdfcf9;
  --ink:     #1d1b18;
  --ink2:    #55504a;
  --mute:    #8d877e;
  --bronze:  #8c6d46;
  --bronze2: #6e5233;
  --umber:   #1f1a15;
  --line:    rgba(29,27,24,0.13);
  --ok:      #4f6b4a;
  --err:     #9b3d2e;
  --fs:  'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  --fd:  'Cormorant Garamond', 'Cormorant', Georgia, serif;
  --gutter: clamp(16px, 4vw, 56px);
}

body {
  font-family: var(--fd);
  font-size: 18px; line-height: 1.6;
  background: var(--paper); color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.caps {
  font-family: var(--fs); font-weight: 300; text-transform: uppercase;
  letter-spacing: 0.28em; font-size: 0.68rem;
}
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.rule { width: 64px; height: 1px; background: currentColor; opacity: .55; margin: 1.4rem auto; }

/* ── Header ─────────────────────────────────── */
.topbar {
  background: var(--umber); color: #e9e1d3; text-align: center;
  padding: .55rem var(--gutter);
}
.topbar .caps { font-size: .6rem; letter-spacing: .24em; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,241,235,0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1rem var(--gutter); max-width: 1320px; margin: 0 auto;
}
.brand { text-decoration: none; text-align: center; line-height: 1.1; }
.brand-name { font-family: var(--fd); font-weight: 400; font-size: 1.55rem; letter-spacing: .3em; padding-left: .3em; display: block; }
.brand-sub { font-family: var(--fs); font-weight: 300; font-size: .52rem; letter-spacing: .42em; color: var(--mute); display: block; margin-top: .2rem; padding-left: .42em; }
.header-left, .header-right { display: flex; align-items: center; gap: 1.6rem; }
.header-right { justify-content: flex-end; }
.hlink { text-decoration: none; color: var(--ink2); transition: color .2s; }
.hlink:hover { color: var(--bronze2); }
.cart-btn { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.cart-count {
  min-width: 1.35rem; height: 1.35rem; border-radius: 1rem; padding: 0 .35rem;
  background: var(--ink); color: var(--paper);
  font-family: var(--fs); font-size: .62rem; letter-spacing: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-count[data-n="0"] { background: transparent; color: var(--mute); border: 1px solid var(--line); }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.menu-btn span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 5px 0; transition: transform .3s, opacity .3s; }
.catnav { border-top: 1px solid var(--line); }
.catnav ul {
  list-style: none; display: flex; justify-content: center; flex-wrap: wrap;
  gap: .4rem 0; padding: .8rem var(--gutter); max-width: 1320px; margin: 0 auto;
}
.catnav li { display: flex; align-items: center; }
.catnav li + li::before { content: '·'; color: var(--mute); padding: 0 1.4rem; }
.catnav a { text-decoration: none; color: var(--ink2); }
.catnav a:hover, .catnav a.on { color: var(--bronze2); }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--fs); font-weight: 300; text-transform: uppercase;
  letter-spacing: .3em; font-size: .62rem;
  padding: 1.15rem 2.6rem; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--bronze2); border-color: var(--bronze2); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.textlink {
  font-family: var(--fs); font-weight: 300; text-transform: uppercase;
  letter-spacing: .24em; font-size: .62rem; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .2rem;
  background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer;
}
.textlink:hover { color: var(--bronze2); }

/* ── Hero ───────────────────────────────────── */
.hero { position: relative; min-height: min(92vh, 900px); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(25,18,12,.45) 0%, rgba(25,18,12,.22) 55%, rgba(25,18,12,.35) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 6rem var(--gutter); }
.hero h1 {
  font-family: var(--fd); font-weight: 300; font-size: clamp(2.8rem, 8vw, 6.4rem);
  letter-spacing: .22em; padding-left: .22em; line-height: 1; text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.hero .by { font-family: var(--fs); font-weight: 300; letter-spacing: .5em; padding-left: .5em; font-size: clamp(.7rem, 1.6vw, 1rem); margin-top: 1.4rem; }
.hero .rule { width: 72px; opacity: .8; margin: 1.8rem auto; }
.hero .coll { font-family: var(--fs); font-weight: 300; letter-spacing: .4em; padding-left: .4em; font-size: clamp(.62rem, 1.3vw, .85rem); }
.hero .tag { font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.55rem); margin-top: 1.4rem; opacity: .95; }
.hero-ctas { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 2.6rem; }

/* ── Sections ───────────────────────────────── */
.section { padding: clamp(4.5rem, 11vw, 9rem) 0; }
.section.alt { background: var(--paper2); }
.section.dark { background: var(--umber); color: #ece4d6; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(2.6rem, 6vw, 4.5rem); }
.eyebrow { color: var(--bronze2); margin-bottom: 1rem; display: block; }
.dark .eyebrow { color: #c8a77f; }
.h2 { font-family: var(--fd); font-weight: 300; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: .005em; }
.h2 em { font-style: italic; }
.lead { color: var(--ink2); font-size: 1.12rem; margin-top: 1rem; }
.dark .lead { color: #c9bfae; }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; text-decoration: none; color: #fff; background: var(--paper2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.045); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,14,9,.72) 0%, rgba(20,14,9,0) 48%); }
.tile-label { position: absolute; left: 0; right: 0; bottom: 1.6rem; z-index: 1; text-align: center; }
.tile-label .caps { font-size: .78rem; letter-spacing: .26em; }
.tile-label .bar { width: 52px; height: 1px; background: #fff; margin: .8rem auto 0; opacity: .8; transition: width .4s; }
.tile:hover .bar { width: 90px; }
.tile-count { display: block; margin-top: .7rem; font-style: italic; font-size: .98rem; opacity: .85; }

/* Ways to order */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.way { background: var(--paper); padding: clamp(1.8rem, 3vw, 2.8rem); }
.way-num { font-style: italic; color: var(--bronze); font-size: 2.2rem; line-height: 1; }
.way h3 { margin: 1.1rem 0 .7rem; }
.way p { color: var(--ink2); font-size: 1.02rem; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 3.6rem 2rem; }
.pcard { text-decoration: none; color: inherit; display: block; }
.pcard-img { aspect-ratio: 4/5; overflow: hidden; background: var(--paper2); position: relative; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 1;
  background: rgba(251,250,247,.92); color: var(--ink);
  font-family: var(--fs); font-weight: 400; font-size: .55rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .4rem .65rem;
}
.badge.custom { background: var(--umber); color: #eadfcd; }
.pcard-body { padding-top: 1.3rem; text-align: center; }
.pcard-cat { color: var(--mute); font-size: .58rem; }
.pcard h3 { font-weight: 400; font-size: 1.45rem; margin: .35rem 0 .25rem; line-height: 1.2; }
.pcard .avail { display: block; font-style: italic; color: var(--mute); font-size: .98rem; }
.pcard .price { font-family: var(--fs); font-weight: 300; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); margin-top: .35rem; }

/* Materials strip */
.stones { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.stone { text-align: center; }
.stone img { aspect-ratio: 1/1; width: 100%; object-fit: cover; }
.stone .caps { display: block; margin-top: .7rem; font-size: .6rem; }
.stone small { display: block; font-style: italic; color: var(--mute); font-size: .9rem; }

/* Split feature */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.ticks { list-style: none; margin: 1.6rem 0 2rem; }
.ticks li { padding: .65rem 0 .65rem 1.8rem; border-bottom: 1px solid var(--line); position: relative; color: var(--ink2); }
.dark .ticks li { border-color: rgba(236,228,214,.14); color: #d4cab9; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 1.15rem; width: .8rem; height: 1px; background: var(--bronze); }

/* US map / zones */
.zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(236,228,214,.14); margin-top: 2.4rem; }
.zone { background: var(--umber); padding: 1.6rem 1.3rem; }
.zone .caps { color: #c8a77f; font-size: .58rem; }
.zone b { display: block; font-weight: 400; font-size: 1.15rem; margin: .4rem 0 .2rem; }
.zone span { color: #b6ab99; font-size: .95rem; }

/* ── Collection page ────────────────────────── */
.pagehead { padding: clamp(2.6rem, 6vw, 4.5rem) 0 2rem; text-align: center; }
.crumbs { color: var(--mute); margin-bottom: 1.3rem; font-size: .58rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--bronze2); }
.crumbs span { padding: 0 .6rem; }
.pagehead h1 { font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: .04em; line-height: 1.1; }
.pagehead p { color: var(--ink2); max-width: 640px; margin: .9rem auto 0; font-size: 1.1rem; }
.filters {
  display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1rem 0; margin-bottom: 2.6rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-family: var(--fs); font-weight: 300; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--line); background: transparent; padding: .55rem .95rem; cursor: pointer;
}
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.select {
  font-family: var(--fs); font-weight: 300; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--line); background: var(--card); padding: .6rem .8rem; color: var(--ink);
}
.empty { text-align: center; color: var(--ink2); padding: 3rem 0; font-style: italic; }

/* ── Product page ───────────────────────────── */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); padding: 2rem 0 5rem; align-items: start; }
.gallery-main { aspect-ratio: 1/1; background: var(--paper2); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumbs button { width: 84px; aspect-ratio: 1/1; border: 1px solid transparent; padding: 0; background: none; cursor: pointer; opacity: .7; }
.thumbs button.on { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { position: sticky; top: 150px; }
.buybox h1 { font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; }
.buybox .tagline { font-style: italic; color: var(--ink2); font-size: 1.18rem; margin-top: .4rem; }
.price-line { display: flex; align-items: baseline; gap: .8rem; margin: 1.4rem 0 .3rem; flex-wrap: wrap; }
.price-big { font-family: var(--fs); font-weight: 300; font-size: 1.5rem; letter-spacing: .04em; }
.price-note { color: var(--mute); font-size: .95rem; font-style: italic; }
.opt { margin-top: 1.7rem; }
.opt-label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.opt-label .caps { font-size: .6rem; }
.opt-label em { color: var(--ink2); font-size: 1rem; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
.sw { aspect-ratio: 1/1; padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; position: relative; }
.sw img { width: 100%; height: 100%; object-fit: cover; }
.sw.on { outline: 1px solid var(--ink); outline-offset: 3px; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  border: 1px solid var(--line); background: var(--card); padding: .7rem 1rem; cursor: pointer;
  font-family: var(--fs); font-weight: 300; font-size: .7rem; letter-spacing: .06em;
}
.pill.on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.custom-box { margin-top: 1.1rem; padding: 1.2rem; background: var(--paper2); border-left: 2px solid var(--bronze); }
.custom-box p { font-size: .98rem; color: var(--ink2); margin-bottom: .9rem; }
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.qty { display: inline-flex; border: 1px solid var(--line); background: var(--card); }
.qty button { width: 2.6rem; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty input { width: 4rem; text-align: center; border: 0; background: none; font-family: var(--fs); font-size: .9rem; padding: .7rem 0; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-actions { display: grid; gap: .7rem; margin-top: 1.9rem; }
.facts { margin-top: 2rem; border-top: 1px solid var(--line); }
.facts details { border-bottom: 1px solid var(--line); }
.facts summary { list-style: none; cursor: pointer; padding: 1.05rem 0; display: flex; justify-content: space-between; }
.facts summary::-webkit-details-marker { display: none; }
.facts summary::after { content: '+'; font-family: var(--fs); font-weight: 300; }
.facts details[open] summary::after { content: '–'; }
.facts .body { padding: 0 0 1.2rem; color: var(--ink2); font-size: 1.02rem; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.5rem; }
.facts dt { font-family: var(--fs); font-weight: 300; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); padding-top: .3rem; }

/* ── Forms ──────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--fs); font-weight: 300; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink2); }
.field label i { font-style: normal; color: var(--bronze); }
.input, .field input, .field select, .field textarea {
  width: 100%; font-family: var(--fd); font-size: 1.05rem; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); padding: .75rem .9rem; border-radius: 0;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); }
.field.bad input, .field.bad select { border-color: var(--err); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.row3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.stack { display: grid; gap: 1rem; }
.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.roles label {
  border: 1px solid var(--line); background: var(--card); padding: .85rem 1rem; cursor: pointer;
  font-family: var(--fs); font-weight: 300; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2);
  display: flex; align-items: center; gap: .6rem;
}
.roles input { accent-color: var(--ink); }
.roles label:has(input:checked) { border-color: var(--ink); color: var(--ink); }

/* ── Cart & checkout ────────────────────────── */
.cart { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding: 1rem 0 5rem; align-items: start; }
.line { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.3rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.line:first-child { border-top: 1px solid var(--line); }
.line img { width: 110px; height: 110px; object-fit: cover; }
.line h3 { font-weight: 500; font-size: 1.2rem; line-height: 1.25; }
.line h3 a { text-decoration: none; }
.line .meta { color: var(--ink2); font-size: .98rem; margin-top: .2rem; }
.line .meta b { font-weight: 500; }
.line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: .8rem; }
.line-price { font-family: var(--fs); font-weight: 300; font-size: .9rem; letter-spacing: .04em; white-space: nowrap; }
.summary { background: var(--card); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); position: sticky; top: 150px; }
.summary h2 { font-weight: 400; font-size: 1.6rem; margin-bottom: 1.1rem; }
.sumrow { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; color: var(--ink2); }
.sumrow b { font-family: var(--fs); font-weight: 300; font-size: .88rem; color: var(--ink); white-space: nowrap; }
.sumrow.total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; color: var(--ink); font-size: 1.15rem; }
.sumrow.total b { font-size: 1.05rem; }
.fine { font-size: .92rem; color: var(--mute); font-style: italic; margin-top: 1rem; }
.steps { display: flex; gap: 1.6rem; margin-bottom: 2rem; flex-wrap: wrap; }
.steps span { color: var(--mute); }
.steps span.on { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: .3rem; }
.fieldset { border: 0; padding: 0 0 2.2rem; margin: 0 0 2.2rem; border-bottom: 1px solid var(--line); }
.fieldset legend { font-weight: 400; font-size: 1.5rem; margin-bottom: 1.2rem; font-style: italic; }
.notice { padding: 1rem 1.2rem; background: var(--paper2); border-left: 2px solid var(--bronze); color: var(--ink2); font-size: 1rem; }
.error-msg { color: var(--err); font-size: .98rem; margin-top: .8rem; }
.confirm { max-width: 720px; margin: 0 auto; text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.confirm .ref { font-family: var(--fs); font-weight: 300; letter-spacing: .3em; font-size: .9rem; margin: 1.2rem 0; }
.next-steps { text-align: left; margin: 2.4rem 0; counter-reset: s; list-style: none; }
.next-steps li { counter-increment: s; padding: 1rem 0 1rem 3rem; border-bottom: 1px solid var(--line); position: relative; color: var(--ink2); }
.next-steps li::before { content: counter(s, upper-roman); position: absolute; left: 0; top: .9rem; font-style: italic; color: var(--bronze); font-size: 1.3rem; }

/* ── Footer ─────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2.2rem; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { margin-bottom: 1rem; color: var(--ink); font-size: .6rem; }
.footer ul { list-style: none; display: grid; gap: .45rem; }
.footer a { text-decoration: none; color: var(--ink2); }
.footer a:hover { color: var(--bronze2); }
.footer-sign { display: flex; align-items: center; gap: 1.6rem; justify-content: center; margin-top: 3rem; color: var(--ink2); text-align: center; }
.footer-sign::before, .footer-sign::after { content: ''; flex: 0 1 180px; height: 1px; background: var(--line); }
.footer-sign .caps { font-size: .58rem; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 1.6rem; transform: translate(-50%, calc(100% + 3rem)); visibility: hidden;
  background: var(--ink); color: var(--paper); padding: 1rem 1.4rem; z-index: 100;
  display: flex; gap: 1.2rem; align-items: center; max-width: calc(100% - 32px);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: #e5d3b8; }

.fade-in { animation: fade .5s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1080px) {
  .stones { grid-template-columns: repeat(4, 1fr); }
  .zones { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .header-row { grid-template-columns: auto 1fr auto; gap: 1rem; }
  .brand { text-align: left; }
  .brand-name { font-size: 1.2rem; padding-left: 0; }
  .brand-sub { padding-left: 0; }
  .header-left { display: none; }
  .header-right .hlink { display: none; }
  .menu-btn { display: block; order: 3; }
  .catnav { display: none; }
  .catnav.open { display: block; }
  .catnav.open ul { flex-direction: column; align-items: flex-start; gap: 0; padding-top: .4rem; padding-bottom: 1rem; }
  .catnav.open li { width: 100%; }
  .catnav.open li + li::before { display: none; }
  .catnav.open a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .catnav .mobile-only { display: flex; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .ways { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .product, .cart { grid-template-columns: 1fr; }
  .buybox, .summary { position: static; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
.catnav .mobile-only { display: none; }
@media (max-width: 900px) { .catnav.open .mobile-only { display: flex; } }
@media (max-width: 560px) {
  body { font-size: 17px; }
  .tiles { grid-template-columns: 1fr; gap: 12px; }
  .tile { aspect-ratio: 5/4; }
  .stones { grid-template-columns: repeat(3, 1fr); }
  .zones { grid-template-columns: 1fr; }
  .row2, .row3 { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }
  .pcard h3 { font-size: 1.1rem; }
  .line { grid-template-columns: 80px 1fr; }
  .line img { width: 80px; height: 80px; }
  .line-right { grid-column: 2; flex-direction: row; align-items: center; }
  .footer-cols { grid-template-columns: 1fr; }
  .topbar .caps { font-size: .52rem; letter-spacing: .14em; }
  .hero-ctas .btn { width: 100%; }
  .thumbs button { width: 64px; }
  .hide-sm { display: none; }
}

/* ── Editorial (heritage-luxury) layer ──────── */
.hero-links { display: flex; gap: 2.6rem; justify-content: center; flex-wrap: wrap; margin-top: 2.8rem; }
.hero-link {
  font-family: var(--fs); font-weight: 300; text-transform: uppercase; letter-spacing: .32em; font-size: .64rem;
  color: #fff; text-decoration: none; padding-bottom: .45rem; border-bottom: 1px solid rgba(255,255,255,.75);
  transition: border-color .3s, opacity .3s;
}
.hero-link:hover { opacity: .8; border-color: transparent; }
.discover {
  font-family: var(--fs); font-weight: 300; text-transform: uppercase; letter-spacing: .3em; font-size: .62rem;
  color: inherit; text-decoration: none; display: inline-block; margin-top: 1.8rem;
  padding-bottom: .4rem; border-bottom: 1px solid currentColor;
}
.discover:hover { color: var(--bronze2); }
.intro-note { max-width: 680px; margin: 0 auto clamp(2.6rem, 6vw, 4.5rem); text-align: center; }
.intro-note .h2 { font-style: italic; }
.intro-note .lead { font-size: 1.2rem; line-height: 1.75; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--bronze); margin: 2rem 0; }
.ornament::before, .ornament::after { content: ''; width: 46px; height: 1px; background: currentColor; opacity: .6; }
.ornament i { width: 6px; height: 6px; border: 1px solid currentColor; transform: rotate(45deg); }

/* full-bleed story */
.story { position: relative; min-height: min(86vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,13,9,.72) 0%, rgba(18,13,9,.1) 55%, rgba(18,13,9,0) 100%); }
.story-text { position: relative; z-index: 1; padding: clamp(2rem, 6vw, 5rem) var(--gutter); max-width: 640px; }
.story-text .caps { opacity: .85; }
.story-text h2 { font-weight: 300; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.04; margin: 1rem 0; }
.story-text h2 em { font-style: italic; }
.story-text p { font-size: 1.15rem; opacity: .9; }

/* side-by-side editorial pair */
.edit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.edit.reverse > :first-child { order: 2; }
.edit figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.edit figcaption { font-style: italic; color: var(--mute); font-size: .95rem; margin-top: .7rem; }
.edit-copy { max-width: 470px; margin: 0 auto; }
.edit-copy .h2 { margin: 1rem 0 1.2rem; }
.edit-copy p { color: var(--ink2); font-size: 1.12rem; line-height: 1.75; }
.dark .edit-copy p { color: #cfc5b4; }

/* quote */
.pull { text-align: center; max-width: 860px; margin: 0 auto; }
.pull blockquote { font-weight: 300; font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.3; }
.pull cite { display: block; margin-top: 1.8rem; font-style: normal; color: var(--mute); }

@media (max-width: 900px) {
  .edit { grid-template-columns: 1fr; }
  .edit.reverse > :first-child { order: 0; }
}

/* hero triptych: image · wordmark panel · image */
.hero { display: grid; grid-template-columns: 1fr minmax(420px, 1.15fr) 1fr; place-items: stretch; min-height: min(84vh, 820px); background: var(--umber); }
.hero::after { display: none; }
.hero img.hero-side { position: static; width: 100%; height: 100%; object-fit: cover; }
.hero img.hero-side:first-child { object-position: 30% 60%; }
.hero img.hero-side:last-child { object-position: 45% 60%; }
.hero-inner { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 4rem 2.5rem;
  background: radial-gradient(ellipse at center, #2c241c 0%, var(--umber) 75%); }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); text-shadow: none; }
.hero .by, .hero .coll { color: #e3d6c1; }
.hero .rule { background: #b69469; opacity: 1; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: 0; }
  .hero-inner { grid-column: 1 / -1; grid-row: 1; padding: 4.5rem 1.5rem; }
  .hero img.hero-side { aspect-ratio: 1/1; height: auto; }
}

/* ── Blank photo slots (fill in catalog.js) ─── */
.ph {
  width: 100%; height: 100%; aspect-ratio: 4/5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem;
  text-align: center; padding: 1rem;
  background: #e8e2d7; color: #9a9184;
  box-shadow: inset 0 0 0 1px rgba(29,27,24,.07);
}
.ph .caps { font-size: .55rem; letter-spacing: .34em; }
.ph em { font-size: .95rem; max-width: 22ch; line-height: 1.35; }
.ph.dark { background: #2a231c; color: #8e8170; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.pcard-img .ph, .tile .ph, .gallery-main .ph, .hero-side .ph, .line-img .ph { aspect-ratio: auto; position: absolute; inset: 0; }
.tile .ph em { display: none; }
.tile .ph { justify-content: flex-start; padding-top: 2.2rem; }
.gallery-main { position: relative; }
.line-img { position: relative; width: 110px; height: 110px; overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-img .ph .caps { font-size: .45rem; }
.line-img .ph em { display: none; }

.hero-side { position: relative; overflow: hidden; min-height: 320px; }
.hero-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { border-left: 1px solid rgba(255,255,255,.06); border-right: 1px solid rgba(255,255,255,.06); }

.edit figure .ph, .trade-img .ph, .chapter-img .ph { aspect-ratio: 4/5; }
.chapter-img .ph { aspect-ratio: 4/3; }
.trade-img { margin-top: 2rem; }
.trade-img img, .trade-img .ph { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ── Story chapters ─────────────────────────── */
.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.4rem 2.2rem; counter-reset: ch; }
.chapter-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.chapter-num { font-style: italic; color: var(--bronze); font-size: 2rem; line-height: 1; margin-top: 1.5rem; }
.chapter-kicker { display: block; color: var(--mute); font-size: .58rem; margin-top: .9rem; }
.chapter h3 { font-weight: 400; font-size: 1.6rem; margin: .3rem 0 .6rem; }
.chapter p { color: var(--ink2); font-size: 1.04rem; line-height: 1.7; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 4rem; }
.pillars > div { background: var(--paper2); padding: 2rem 1.8rem; text-align: center; }
.alt .pillars > div { background: var(--paper); }
.pillars .caps { color: var(--bronze2); font-size: .6rem; }
.pillars p { color: var(--ink2); margin-top: .8rem; font-size: 1.02rem; }
.pillars.on-dark { background: rgba(236,228,214,.14); border-color: rgba(236,228,214,.14); margin-top: 2.6rem; }
.pillars.on-dark > div { background: var(--umber); }
.pillars.on-dark .caps { color: #c8a77f; }
.pillars.on-dark p { color: #c9bfae; }

/* stones: seven */
.stones { grid-template-columns: repeat(7, 1fr); }
.stone .ph { aspect-ratio: 1/1; }
.stone .ph em { display: none; }
.stone small { font-size: .85rem; }

/* product page stone picker */
.stone-pill { display: inline-flex; align-items: center; gap: .55rem; }
.stone-pill img { width: 22px; height: 22px; object-fit: cover; border-radius: 50%; }
.stone-note { font-style: italic; color: var(--ink2); margin-top: .7rem; font-size: 1rem; }
.lead-line { margin-top: 1.2rem; color: var(--ink2); font-size: 1rem; }
.lead-line .caps { font-size: .56rem; color: var(--mute); margin-right: .4rem; }
.pagehead h1 em { font-style: italic; }
.header-left a.on { color: var(--bronze2); }

@media (max-width: 1080px) { .stones { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) {
  .chapters { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .hero-side { min-height: 0; aspect-ratio: 1/1; }
}
@media (max-width: 560px) {
  .chapters { grid-template-columns: 1fr; }
  .stones { grid-template-columns: repeat(2, 1fr); }
  .line-img { width: 80px; height: 80px; }
}
.stones > *, .chapters > *, .tiles > *, .grid > * { min-width: 0; }
.stones { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.stone .ph { padding: .5rem; }
.stone .caps { overflow-wrap: anywhere; }
@media (max-width: 1080px) { .stones { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* blank tiles: no dark scrim, ink labels */
.tile:has(.ph)::after { display: none; }
.tile:has(.ph) { color: var(--ink); }
.tile:has(.ph) .bar { background: var(--ink); opacity: .5; }
.hero { grid-template-columns: 1fr minmax(420px, 1.55fr) 1fr; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr 1fr; } }

/* ── Hero: one full-width photo, lettering in front (as in the concept) ── */
.hero.hero-full {
  display: grid; grid-template-columns: 1fr; place-items: center;
  min-height: clamp(480px, 42vw, 680px); background: var(--umber);
}
.hero-full .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-full::after {
  display: block; content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 48%, rgba(22,16,11,.42) 0%, rgba(22,16,11,.12) 70%, rgba(22,16,11,0) 100%),
    linear-gradient(to bottom, rgba(22,16,11,.25) 0%, rgba(22,16,11,0) 30%, rgba(22,16,11,0) 70%, rgba(22,16,11,.3) 100%);
}
.hero-full .hero-inner { position: relative; z-index: 1; background: none; border: 0; padding: 4rem var(--gutter); }
.hero-full h1 { font-size: clamp(2.6rem, 6.6vw, 6.2rem); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-full .by, .hero-full .coll { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hero-full .rule { background: #fff; opacity: .8; }
.hero-full .tag { text-shadow: 0 1px 14px rgba(0,0,0,.5); }
@media (max-width: 900px) { .hero.hero-full { grid-template-columns: 1fr; min-height: 520px; } .hero-full .hero-bg { object-position: 62% 50%; } }

/* ════ Simplified header: wordmark left, menu right ════ */
:root { --hh: 76px; }
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(248,246,241,.96); border-bottom: 1px solid var(--line);
  transition: background .35s, border-color .35s, color .35s;
}
body { padding-top: var(--hh); }
body.is-home { padding-top: 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: var(--hh); padding: 0 var(--gutter); max-width: none; }
.brand { text-align: left; color: var(--ink); }
.brand-name { font-size: 1.35rem; padding-left: 0; letter-spacing: .3em; }
.brand-sub { padding-left: 0; }
.menu-btn { display: block; position: relative; padding: .6rem 0 .6rem .6rem; color: var(--ink); }
.menu-btn span { width: 26px; background: currentColor; margin: 6px 0; }
.menu-dot {
  position: absolute; top: .1rem; right: -.75rem; font-style: normal;
  min-width: 1.1rem; height: 1.1rem; font-size: .55rem; border: 0 !important;
}
.menu-dot[data-n="0"] { display: none; }
body.header-over .header { background: transparent; border-color: transparent; }
body.header-over .brand, body.header-over .menu-btn { color: #fff; }
body.header-over .brand-sub { color: rgba(255,255,255,.8); }
body.header-over .menu-dot { background: #fff; color: var(--ink); }
.catnav, .topbar, .header-left, .header-right { display: none !important; }

/* drawer */
.drawer-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(20,15,10,.35); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80; width: min(420px, 100%);
  background: var(--paper); padding: 1.6rem 2.4rem 2.4rem; overflow-y: auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), visibility .45s;
  display: flex; flex-direction: column; gap: 2.2rem;
}
body.menu-open .drawer { transform: none; visibility: visible; }
body.menu-open { overflow: hidden; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; color: var(--mute); }
.drawer-close { background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink); padding: .2rem .4rem; }
.drawer-group { display: flex; flex-direction: column; }
.drawer-label { color: var(--bronze2); font-size: .58rem; margin-bottom: .6rem; }
.drawer-group a {
  font-size: 1.45rem; font-weight: 300; text-decoration: none; padding: .45rem 0;
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
}
.drawer-group a:hover, .drawer-group a.on { color: var(--bronze2); }
.drawer-group .cart-count { font-family: var(--fs); }
.drawer-foot { margin-top: auto; display: grid; gap: .7rem; }
.drawer-foot a { text-decoration: none; color: var(--ink2); font-size: .62rem; }

/* ════ Hero: show the whole photo, lettering in front ════ */
.hero.hero-full { aspect-ratio: 1536 / 388; min-height: 0; padding-top: var(--hh); }
.hero-full .hero-bg { object-position: center; }
.hero-full .hero-inner { padding: 0 var(--gutter); }
.hero-full h1 { font-size: 4.6vw; }
.hero-full .by { font-size: .95vw; margin-top: 1.1vw; }
.hero-full .rule { margin: 1.4vw auto; width: 4.5vw; }
.hero-full .coll { font-size: .85vw; }
.hero-full .tag { font-size: 1.55vw; margin-top: 1vw; }
@media (max-width: 900px) {
  .hero.hero-full { aspect-ratio: auto; min-height: 520px; }
  .hero-full .hero-bg { object-position: 62% 50%; }
  .hero-full h1 { font-size: clamp(2.3rem, 9vw, 3.6rem); }
  .hero-full .by { font-size: .75rem; margin-top: 1rem; }
  .hero-full .rule { margin: 1.4rem auto; width: 60px; }
  .hero-full .coll { font-size: .62rem; }
  .hero-full .tag { font-size: 1.15rem; margin-top: 1rem; }
}
@media (max-width: 560px) { :root { --hh: 64px; } .brand-name { font-size: 1.1rem; } }
.buybox, .summary { top: calc(var(--hh) + 1.5rem); }
body.header-over .header { backdrop-filter: none; -webkit-backdrop-filter: none; }
body.header-over .menu-btn, body.header-over .brand { filter: drop-shadow(0 1px 6px rgba(0,0,0,.35)); }
/* stone cards: square swatch slot, names clearly beneath */
.stone .ph { height: auto; aspect-ratio: 1 / 1; }
.stone .caps { margin-top: 1rem; font-size: .68rem; letter-spacing: .26em; color: var(--ink); }
.stone small { margin-top: .25rem; font-size: .95rem; color: var(--ink2); }

/* product page: sizes are set at consultation */
.opt.consult p { padding: 1rem 1.2rem; background: var(--paper2); border-left: 2px solid var(--bronze); color: var(--ink2); font-size: 1rem; line-height: 1.6; }

/* product page: no options — designed with the client at consultation */
.consult-note { margin-top: 1.8rem; padding: 1.2rem 1.4rem; background: var(--paper2); border-left: 2px solid var(--bronze); }
.consult-note .caps { color: var(--bronze2); font-size: .58rem; }
.consult-note p { margin-top: .5rem; color: var(--ink2); font-size: 1.02rem; line-height: 1.65; }
.example-note { margin-top: .8rem; font-style: italic; color: var(--mute); font-size: .95rem; }

/* element page: what we make */
.makes { list-style: none; margin-top: 1rem; display: grid; gap: .35rem; }
.makes li { position: relative; padding-left: 1.4rem; color: var(--ink2); }
.makes li::before { content: ''; position: absolute; left: 0; top: .8rem; width: .7rem; height: 1px; background: var(--bronze); }
.grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* home tiles: five elements — three across, then two wider */
@media (min-width: 901px) {
  .tiles { grid-template-columns: repeat(6, 1fr); }
  .tiles > .tile { grid-column: span 2; }
  .tiles > .tile:nth-child(n+4) { grid-column: span 3; aspect-ratio: 3 / 2; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .tiles > .tile:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* ════ Entry page ════ */
.entry {
  position: fixed; inset: 0; z-index: 200; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  background: #2a2119; color: #fff;
  transition: opacity 1s ease, visibility 1s ease;
}
.entry.leaving { opacity: 0; visibility: hidden; }
.entry-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 45%;
  transform: scale(1.05); animation: entryDrift 16s ease-out forwards;
}
@keyframes entryDrift { to { transform: scale(1); } }
.entry::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 50% at 50% 52%, rgba(20,14,9,.36) 0%, rgba(20,14,9,.1) 70%, rgba(20,14,9,.22) 100%);
}
.entry-inner { position: relative; z-index: 1; padding: 2rem var(--gutter); animation: fade 1.4s .35s ease both; }
.entry-name {
  font-family: var(--fd); font-weight: 300; line-height: 1;
  font-size: clamp(2.6rem, 6.2vw, 5.8rem); letter-spacing: .2em; padding-left: .2em;
  text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.entry-sub { margin-top: 1.7rem; font-size: clamp(.56rem, 1vw, .8rem); letter-spacing: .34em; padding-left: .34em; color: rgba(255,255,255,.92); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.entry-rule { width: 96px; height: 1px; background: rgba(255,255,255,.8); margin: 2.5rem auto; }
.entry-btn {
  background: rgba(255,255,255,0); border: 1px solid rgba(255,255,255,.85); color: #fff;
  padding: 1.2rem 3.4rem; font-size: .74rem; letter-spacing: .34em; cursor: pointer;
  transition: background .35s, color .35s;
}
.entry-btn:hover { background: #fff; color: var(--ink); }
.entry-btn:focus-visible { outline: 1px solid rgba(255,255,255,.7); outline-offset: 5px; }
body.entry-open { overflow: hidden; }
body.entry-open .header { visibility: hidden; }
@media (max-width: 560px) { .entry-bg { object-position: 66% 50%; } .entry-btn { padding: 1.1rem 2.4rem; } }
@media (prefers-reduced-motion: reduce) { .entry-bg, .entry-inner { animation: none; } .entry { transition: none; } }

/* ════ Consultation slots ════ */
.slots { display: grid; gap: 1.5rem; }
.slots .tz { text-transform: none; letter-spacing: .02em; color: var(--mute); }
.slot-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.slot-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: .5rem; }
.slot-pill input, .slot-day input { position: absolute; opacity: 0; pointer-events: none; }
.slot-pill span {
  display: inline-block; border: 1px solid var(--line); background: var(--card); padding: .75rem 1.1rem; cursor: pointer;
  font-family: var(--fs); font-weight: 300; font-size: .7rem; letter-spacing: .08em; transition: border-color .2s, background .2s, color .2s;
}
.slot-day span {
  display: flex; flex-direction: column; align-items: center; gap: .1rem; border: 1px solid var(--line); background: var(--card);
  padding: .6rem .3rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s;
}
.slot-day small { font-family: var(--fs); font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.slot-day b { font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.slot-pill span:hover, .slot-day span:hover { border-color: var(--bronze); }
.slot-pill input:checked + span, .slot-day input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.slot-day input:checked + span small { color: rgba(248,246,241,.7); }
.slot-pill input:focus-visible + span, .slot-day input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.slot-note { font-size: .98rem; color: var(--mute); font-style: italic; }
.slot-confirm { margin: 1.4rem auto 0; max-width: 520px; padding: 1.1rem 1.4rem; border: 1px solid var(--line); background: var(--card); font-size: 1.1rem; }
.slot-confirm .caps { display: block; color: var(--bronze2); font-size: .56rem; margin-bottom: .4rem; }
.slots label { position: relative; }

/* four signature stones */
.stones { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 980px; margin: 0 auto; gap: 18px; }
.more-stones { text-align: center; margin-top: 2.2rem; font-style: italic; color: var(--ink2); font-size: 1.1rem; }
@media (max-width: 560px) { .stones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* back link */
.backbar { padding-top: 1.6rem; }
.back-link {
  display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink2);
  font-family: var(--fs); font-weight: 300; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  padding: .4rem 0; transition: color .2s, gap .2s;
}
.back-link:hover { color: var(--bronze2); gap: .95rem; }
.backbar + .wrap .pagehead { padding-top: clamp(1.2rem, 4vw, 2.6rem); }
.backbar + .wrap > div[style*="padding-top:2rem"] { padding-top: 1rem !important; }

/* drawings show in full (not cropped), on white */
img[src$="shop-drawing.jpg"] { object-fit: contain !important; background: #fff; padding: 4%; box-sizing: border-box; box-shadow: inset 0 0 0 1px var(--line); }
.edit figure img[src$="shop-drawing.jpg"] { aspect-ratio: 4 / 3; }

/* footer: link to the main Seven Stone site */
.footer-gallery { text-align: center; margin-top: 3rem; }
.footer-gallery a {
  display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink);
  border: 1px solid var(--ink); padding: 1rem 2rem; font-size: .62rem; letter-spacing: .28em;
  transition: background .25s, color .25s, gap .25s;
}
.footer-gallery a:hover { background: var(--ink); color: var(--paper); gap: 1.1rem; }
.footer-gallery + .footer-sign { margin-top: 2.4rem; }
@media (max-width: 560px) { .footer-gallery a { padding: .95rem 1.2rem; letter-spacing: .18em; } }
