/*
 * ViBe Jewels — the original site's look: black, the logo's crimson, Geist
 * for everything and a Georgia italic for the start line. Tightened for
 * phones (two options a row, 44px targets) and given clearer selected states.
 */

:root {
  --bg: #000;
  --panel: #111;
  --card: #0f0f0f;
  --raise: #1a1a1a;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f8fafc;
  --muted: rgba(248, 250, 252, 0.72);
  --brand: #c73a52;
  --brand-hover: #d4475f;
  --brand-soft: rgba(199, 58, 82, 0.14);
  --brand-deep: #3a1119;
  --radius: 10px;
  --sans: Geist, "Geist Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:disabled { cursor: default; }
h1, h2, h3, p { margin: 0; }
.i { width: 18px; height: 18px; flex: none; }

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, label.drop:focus-within {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* ---- start page ----------------------------------------------------- */

.start {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 9vh, 96px);
  padding: 48px 20px calc(48px + env(safe-area-inset-bottom));
  text-align: center;
}
.start-logo { width: min(900px, 86vw); animation: rise 0.9s ease-out both; }
.start-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  font: italic 400 clamp(26px, 5vw, 60px) / 1.2 var(--serif);
  animation: rise 0.9s 0.15s ease-out both;
}
.start-line img { height: 1.1em; width: auto; margin-top: 0.12em; }
.start-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  border-radius: 12px;
  background: var(--raise);
  border: 2px solid var(--brand);
  color: #fff;
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(199, 58, 82, 0.45);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  animation: rise 0.9s 0.3s ease-out both;
}
.start-btn:hover { transform: scale(1.05); background: #231318; box-shadow: 0 0 32px -6px rgba(199, 58, 82, 0.6); }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---- header, step bar, footer -------------------------------------- */

.top {
  display: flex;
  justify-content: center;
  padding: 22px 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.top img { width: clamp(220px, 30vw, 360px); }

.stepbar { background: var(--panel); border-bottom: 1px solid var(--line); padding: 18px 16px 18px; }
.stepbar-in { max-width: 672px; margin: 0 auto; }
.stepbar-row { display: flex; justify-content: space-between; font-size: 14px; }
.bar { height: 8px; margin: 10px 0 12px; border-radius: 99px; background: var(--brand-deep); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width 0.4s ease; }
.stepbar p { text-align: center; font-size: 14px; font-weight: 500; }

.foot {
  padding: 44px 16px calc(36px + env(safe-area-inset-bottom));
  background: var(--panel);
  border-top: 1px solid var(--line);
  text-align: center;
}
.foot img { width: 200px; margin: 0 auto 20px; }
.foot p { max-width: 480px; margin: 0 auto; }
.marks {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 12px;
}
.marks li { display: inline-flex; align-items: center; gap: 8px; }
.marks .i { width: 16px; height: 16px; color: var(--brand); }
.foot .legal { margin-top: 22px; font-size: 12px; color: var(--muted); max-width: none; }

/* ---- buttons -------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}
.btn .i { width: 16px; height: 16px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary.is-waiting { opacity: 0.45; }
.btn-primary:disabled { opacity: 0.6; }
.btn-light { background: #d1d5db; color: #000; }
.btn-light:hover { background: #e5e7eb; }
.btn-outline { border: 1px solid var(--line-2); background: var(--bg); }
.btn-outline:hover { background: var(--raise); }
.btn-block { width: 100%; }
.btn-wide { width: min(384px, 100%); }

/* ---- page frame ------------------------------------------------------ */

.page { max-width: 928px; margin: 0 auto; padding: 36px 16px 48px; }
.step-head { text-align: center; }
.step-head h1, .step-head h2, .choose h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: clamp(24px, 4vw, 30px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sub { margin-top: 14px; text-align: center; font-size: clamp(16px, 2vw, 18px); color: var(--text); }
.title-icon { width: 30px; height: 30px; color: var(--brand); }
.counter {
  display: table;
  margin: 18px auto 0;
  padding: 3px 10px;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
}
.minor { margin: 40px 0 18px; font-size: 18px; font-weight: 600; text-align: center; }
.minor.left { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; text-align: left; }
.minor.left .i { width: 20px; height: 20px; color: var(--brand); }
.minor.spaced { margin-top: 40px; }
.help { margin-top: 12px; font-size: 14px; color: var(--muted); }
.error { min-height: 1.5em; margin-top: 24px; text-align: center; color: #ff8193; font-weight: 500; }
.nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* ---- choose your journey ------------------------------------------- */

.choose { padding-top: 64px; padding-bottom: 96px; text-align: center; }
.journeys {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px 64px;
  margin: 56px auto 0;
  max-width: 832px;
}
.journey { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.journey h2 { margin-top: 10px; font-size: 24px; font-weight: 600; }
.journey p { flex: 1; max-width: 300px; line-height: 1.6; }
.journey .btn { margin-top: 26px; min-height: 48px; font-size: 18px; }
.icon-ring {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}
.icon-ring .i { width: 40px; height: 40px; }

/* ---- option cards ---------------------------------------------------- */

.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 40px;
}
.option, .who-card, .metal, .setting {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 14px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.option { padding: 20px 14px 28px; }
.option:hover, .who-card:hover, .metal:hover, .setting:hover { background: #0b0b0b; }
.option.on, .who-card.on, .metal.on, .setting.on { border-color: rgba(199, 58, 82, 0.55); background: #0e0709; }
.option-img { display: flex; align-items: center; justify-content: center; height: 132px; width: 100%; overflow: hidden; }
.option-img img { width: 128px; height: 100px; object-fit: contain; transition: transform 0.5s; }
.option:hover .option-img img { transform: scale(1.25); }
/* Bands are wide photos of a whole ring: give them a proper stage. */
.option-wide .option-img { height: 200px; }
.option-wide .option-img img { width: 100%; max-width: 340px; height: 180px; }
.option-wide:hover .option-img img { transform: scale(1.08); }
.option strong, .who-card strong { margin-top: 18px; font-size: 18px; font-weight: 600; line-height: 1.3; }
.option .desc, .who-card .desc { margin-top: 8px; font-size: 14px; line-height: 1.5; max-width: 360px; }

.tick {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s;
}
.tick .i { width: 14px; height: 14px; stroke-width: 3; }
.on > .tick { opacity: 1; transform: none; }

.other { max-width: 848px; margin: 40px auto 0; }
.other label { display: block; font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.other p { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Jewellery types are all shapes and sizes: a taller stage, each fitted to it. */
.option-tall .option-img { height: 176px; }
.option-tall .option-img img { width: 100%; max-width: 220px; height: 160px; }
.option-tall:hover .option-img img { transform: scale(1.08); }

/* ---- stones: grouped tiles --------------------------------------- */

.stone-group { max-width: 848px; margin: 44px auto 0; }
.stone-group h2 {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.stone-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.stone {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.stone:hover { border-color: var(--line-2); background: #141414; }
.stone.on { border-color: var(--brand); background: #150a0d; }
.stone-plate {
  display: grid;
  place-items: center;
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #2a2a2e, #0c0c0d 72%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.stone-plate img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.6)); transition: transform 0.3s; }
.stone:hover .stone-plate img { transform: scale(1.1); }
.stone-plate.plain { color: var(--muted); }
.stone-plate.plain .i { width: 26px; height: 26px; }
.stone-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.stone-text strong { font-size: 16px; font-weight: 600; }
.stone-text span { font-size: 14px; color: var(--muted); }
.stone-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  color: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.stone-check .i { width: 13px; height: 13px; stroke-width: 3; }
.stone.on .stone-check { background: var(--brand); border-color: var(--brand); color: #fff; }
.stone-other {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 88px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px dashed var(--line-2);
}
.stone-other span { font-size: 14px; color: var(--muted); }
.stone-other input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  background: none;
  color: var(--text);
  font: 16px var(--sans);
  padding: 4px 0;
}
.stone-other input:focus { outline: none; border-color: var(--brand); }

/* ---- who ------------------------------------------------------------- */

.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 700px; margin: 48px auto 0; }
.who-card { padding: 24px 14px 28px; }
.who-card .desc { max-width: 240px; font-size: 16px; }

/* ---- size ------------------------------------------------------------ */

.picked { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 56px; }
.picked figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.picked img { width: 60px; height: 60px; object-fit: contain; }
.picked figcaption { font-weight: 600; }
.toggle { display: flex; justify-content: center; gap: 14px; }
.toggle button {
  padding: 3px 10px;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 500;
}
.toggle button.on { background: var(--brand); color: #fff; }
.range-note { margin-top: 18px; text-align: center; color: var(--muted); }
.range-note strong { color: var(--text); font-size: 20px; }
.sizes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 624px;
  margin: 24px auto 0;
}
.size {
  height: 50px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line-2);
  font-size: 16px;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}
.size:hover { border-color: rgba(255, 255, 255, 0.35); }
.size.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.sizes .size.on:not(.edge) { background: #7d2536; border-color: #7d2536; }

/* ---- metals ---------------------------------------------------------- */

.metals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  max-width: 760px;
  margin: 48px auto 0;
}
.metal { padding: 12px 12px 18px; }
.swatch {
  display: block;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 250 / 128;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 8px 24px -12px rgba(0, 0, 0, 0.8);
  transition: transform 0.25s;
}
.metal:hover .swatch { transform: scale(1.03); }
.metal strong { margin-top: 16px; font-size: 18px; font-weight: 600; }

/* ---- settings -------------------------------------------------------- */

.settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.setting { padding: 16px 14px 24px; }
.setting img { width: 100%; max-width: 420px; height: 170px; object-fit: contain; }
.setting strong { margin-top: 20px; font-size: 20px; font-weight: 500; }
.setting em { margin: 16px 0 10px; font-style: normal; font-size: 14px; font-weight: 500; }
.benefits { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.benefits span {
  padding: 3px 9px;
  border: 1.5px solid var(--brand);
  border-radius: 6px;
  font-size: 16px;
}

/* ---- details & upload ---------------------------------------------- */

.details { max-width: 848px; margin: 48px auto 0; }
.label { display: block; margin-bottom: 14px; font-size: 18px; font-weight: 600; }
textarea, .other input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: #262626;
  color: var(--text);
  font: 16px/1.5 var(--sans);
}
textarea { min-height: 128px; resize: vertical; }
textarea::placeholder, input::placeholder { color: rgba(248, 250, 252, 0.6); }
textarea:focus, input:focus { outline: none; border-color: var(--brand); }
.upload-head { margin-top: 56px; }
.drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding: 36px 16px;
  border: 2px dashed var(--line-2);
  border-radius: 12px;
  background: var(--panel);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.drop:hover, .drop.over { border-color: var(--brand); background: #150b0d; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .i { width: 40px; height: 40px; }
.drop strong { font-size: 18px; font-weight: 500; }
.drop span { font-size: 14px; }
.thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 20px; }
.thumbs figure { position: relative; margin: 0; }
.thumbs img { width: 112px; height: 112px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line-2); }
.thumbs button {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #000;
}
.thumbs button .i { width: 14px; height: 14px; stroke-width: 3; }

/* ---- schedule -------------------------------------------------------- */

.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px 64px;
  max-width: 848px;
  margin: 56px auto 0;
}
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font-size: 15px; font-weight: 500; }
.cal-head button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; }
.cal-head button:hover:not(:disabled) { background: var(--raise); }
.cal-head button:disabled { opacity: 0.3; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dow { margin-top: 16px; text-align: center; font-size: 13px; color: var(--muted); }
.days { margin-top: 10px; }
.day { height: 48px; border-radius: 8px; font-size: 15px; transition: background 0.15s; }
.day:hover:not(:disabled) { background: var(--raise); }
.day:disabled { color: rgba(248, 250, 252, 0.25); }
.day.out:not(:disabled) { color: var(--muted); }
.day.today { box-shadow: inset 0 0 0 1px var(--line-2); }
.day.on { background: var(--brand); color: #fff; font-weight: 600; }
.times { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.time {
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
}
.time:hover { background: var(--raise); }
.time.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.input {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  transition: border-color 0.15s;
}
.input:focus-within { border-color: var(--brand); }
.input .i { width: 17px; height: 17px; color: var(--brand); }
.input input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; color: var(--text); font: 16px var(--sans); }
.stay { margin: 28px 0 14px; font-size: 17px; font-weight: 600; }
.contact { display: flex; flex-wrap: wrap; gap: 12px; }
.contact button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  font-size: 16px;
  transition: background 0.15s, border-color 0.15s;
}
.contact button:hover { background: var(--raise); }
.contact button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 64px; text-align: center; }
.book-icon { width: 32px; height: 32px; color: var(--brand); }
.book h2 { font-size: 20px; font-weight: 600; }
.book .btn { min-height: 48px; font-size: 16px; }
.book .help { max-width: 380px; }

/* ---- done ------------------------------------------------------------ */

.done { max-width: 640px; text-align: center; padding-top: 56px; }
.done-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.done-icon .i { width: 36px; height: 36px; stroke-width: 2.5; }
.done h1 { font-size: 32px; font-weight: 600; }
.summary, .next { margin-top: 36px; padding: 24px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); text-align: left; }
.summary > h2, .next > h2 { font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.summary dl { margin: 0 0 20px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; text-align: right; }
.summary .minor.left { margin: 0 0 6px; }
.next { margin-top: 16px; }
.next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.next li { display: flex; gap: 14px; }
.next li > .i { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.next strong { display: block; font-weight: 600; }
.next span { color: var(--muted); font-size: 15px; }
.done > .btn { margin-top: 32px; }

/* ---- larger screens -------------------------------------------------- */

@media (min-width: 720px) {
  .options { gap: 24px; }
  .option { padding: 24px 20px 32px; }
}

@media (max-width: 560px) {
  .page { padding-top: 28px; }
  .option-img { height: 112px; }
  .option-img img { width: 112px; height: 88px; }
  .option-wide .option-img { height: 132px; }
  .option-tall .option-img { height: 136px; }
  .option-tall .option-img img { height: 124px; }
  .option-wide .option-img img { height: 120px; }
  .option strong, .who-card strong { font-size: 16px; }
  .option .desc { font-size: 13px; }
  .sizes { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .size { height: 46px; font-size: 14px; }
  .benefits span { font-size: 14px; }
  .nav .btn { flex: 1; }
}

/* Touch screens keep a "hover" after a tap; don't let it look selected. */
@media (hover: none) {
  .stone:not(.on):hover { background: var(--card); border-color: var(--line); }
  .option:not(.on):hover, .who-card:not(.on):hover, .metal:not(.on):hover, .setting:not(.on):hover { background: transparent; }
  .option:hover .option-img img, .metal:hover .swatch { transform: none; }
  .start-btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ======================================================================
   Version C: the same site, refined.
   One display serif (Cormorant Garamond, close to the logo's lettering)
   for every heading; Geist for everything you read or tap. Softer edges on
   every card so the grid reads before anything is chosen, one radius for
   controls, and quieter secondary elements.
   ====================================================================== */

:root {
  --display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --muted: rgba(248, 250, 252, 0.62);
}

body { font-size: 15px; }

/* ---- start page ---------------------------------------------------- */

body.is-start { background: #000; } /* no glow: on phones it read as a blur across the top */
.start { gap: clamp(28px, 5vh, 56px); }
.start-logo { width: min(620px, 80vw); }
.start-copy { display: flex; flex-direction: column; align-items: center; gap: 18px; animation: rise 0.9s 0.15s ease-out both; }
.kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.start-line {
  font: italic 500 clamp(34px, 6.2vw, 68px) / 1.05 var(--display);
  letter-spacing: -0.005em;
  animation: none;
}
.start-line img { height: 0.95em; margin-top: 0.08em; }
.start-sub { max-width: 34ch; color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); line-height: 1.6; }
.start-btn {
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  font-size: 16px;
  letter-spacing: 0.01em;
}
.start-btn .i { width: 18px; height: 18px; transition: transform 0.25s; }
.start-btn:hover { transform: none; background: var(--brand-hover); box-shadow: 0 10px 40px -12px rgba(199, 58, 82, 0.8); }
.start-btn:hover .i { transform: translateX(3px); }
.start-marks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  font-size: 13px;
  color: var(--muted);
  animation: rise 0.9s 0.45s ease-out both;
}
.start-marks li::before { content: "◆"; color: var(--brand); font-size: 8px; margin-right: 8px; vertical-align: 2px; }

/* ---- frame ----------------------------------------------------------- */

.top { padding: 16px; }
.top img { width: clamp(180px, 22vw, 260px); }
.stepbar { padding: 14px 16px 16px; }
.stepbar-row { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.bar { height: 4px; margin: 10px 0; }
.stepbar p { font-size: 13px; color: var(--text); }
.foot { padding-top: 36px; }
.foot img { width: 150px; margin-bottom: 14px; }
.foot p { font-size: 14px; color: var(--muted); }

/* ---- headings: one serif voice --------------------------------------- */

.step-head h1, .step-head h2, .choose h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.005em;
}
.sub { margin-top: 12px; font-size: clamp(15px, 1.8vw, 17px); color: var(--muted); }
.journey h2, .done h1, .book h2 { font-family: var(--display); font-weight: 500; }
.journey h2 { font-size: 30px; }
.done h1 { font-size: 42px; }
.book h2 { font-size: 28px; }
.minor { font-size: 15px; letter-spacing: 0.01em; }
.stone-group h2 { font-size: 12px; }

/* ---- controls: one radius, quieter chips ----------------------------- */

.btn { border-radius: 10px; font-weight: 500; }
.counter {
  padding: 4px 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line-2);
  font-size: 13px;
}
.toggle {
  display: inline-flex;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  margin: 0 auto;
  width: max-content;
  display: flex;
}
.toggle button { padding: 8px 18px; border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; }
.toggle button.on { background: var(--text); color: #000; }
.size, .time, .input, textarea, .other input { border-radius: 10px; }
.contact button { font-size: 15px; }

/* ---- cards: visible, calm, then clearly chosen ----------------------- */

.option, .who-card, .metal, .setting {
  border: 1px solid var(--line);
  background: #070707;
}
.option:hover, .who-card:hover, .metal:hover, .setting:hover { border-color: var(--line-2); background: #0c0c0c; }
.option.on, .who-card.on, .metal.on, .setting.on { border-color: var(--brand); background: #12080a; box-shadow: 0 0 0 1px var(--brand) inset; }
.option strong, .who-card strong { font-size: 17px; }
.option .desc { color: var(--muted); }
.metal .swatch { border-radius: 10px; }
.benefits span { border-width: 1px; border-color: rgba(199, 58, 82, 0.6); font-size: 14px; }
.icon-ring { width: 72px; height: 72px; }
.icon-ring .i { width: 34px; height: 34px; stroke-width: 1.6; }
.journey .btn { font-size: 16px; }

@media (hover: none) {
  .option:not(.on):hover, .who-card:not(.on):hover, .metal:not(.on):hover, .setting:not(.on):hover { background: #070707; border-color: var(--line); }
}
.start-line .nowrap { display: inline-flex; align-items: center; gap: 0.3em; white-space: nowrap; }

/* Choose page: two equal journeys, one voice. */
.journeys { margin-top: 48px; gap: 40px 56px; }
.journey p { color: var(--muted); max-width: 280px; }
.journey .btn { margin-top: 18px; }
.btn-outline { border-color: rgba(255, 255, 255, 0.28); }
.btn-outline:hover { border-color: #fff; background: transparent; }

/* Headings in Fraunces (as version B): sturdier than Cormorant on black at
   every size, with optical sizing doing the fine-tuning. */
:root { --display: Fraunces, ui-serif, Georgia, serif; }
.start-line { font: italic 400 clamp(30px, 5.4vw, 58px) / 1.1 var(--display); letter-spacing: -0.01em; }
.step-head h1, .step-head h2, .choose h1 { font-weight: 400; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.015em; }
.journey h2, .done h1, .book h2 { font-weight: 400; letter-spacing: -0.01em; }
.journey h2 { font-size: 26px; }
.done h1 { font-size: 36px; }
.book h2 { font-size: 24px; }

/* ---- page frame: the footer sits at the bottom of the screen ------- */

#app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
#app > main { flex: 1; width: 100%; }
.choose { display: flex; flex-direction: column; justify-content: center; padding-top: 56px; padding-bottom: 72px; }

/* ---- the two journeys: matching panels, larger icons ------------------ */

.journeys { max-width: 880px; gap: 24px; margin-top: 44px; width: 100%; }
/* In the full-height column layout an auto-margined grid would shrink to its
   content and put both panels side by side off a phone screen; fill instead. */
.journey {
  padding: 40px 32px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #070707;
  transition: border-color 0.2s;
}
.journey:hover { border-color: var(--line-2); }
.journey p { max-width: 300px; }
.icon-ring { width: 88px; height: 88px; }
.icon-ring .i { width: 42px; height: 42px; stroke-width: 1.4; }

/* ---- high or low setting ------------------------------------------ */

.setting strong { margin-top: 18px; }
.setting-say { margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 30ch; }
.setting em { margin-top: 16px; }

/* ======================================================================
   Version C, finish and motion (see PREMIUM-NOTES.md).
   What the great houses share: long, soft ease-outs (no bounce on the
   page, a small one on a tick), things arriving a beat apart, photos
   that fade in instead of popping, hairline rules and wide-tracked
   small capitals, one accent used sparingly. Every movement here is
   400ms or less, none stops a tap, and reduced motion turns it all off
   (the rule near the top of this file covers everything below).
   ====================================================================== */

:root {
  --gold: #d9b98a;
  --gold-soft: rgba(217, 185, 138, 0.35);
  --gold-faint: rgba(217, 185, 138, 0.14);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);      /* expo out, as Van Cleef & Arpels */
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1); /* quint out, as Vrai */
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --r-card: 16px;
  --r-ctl: 10px;
}

::selection { background: rgba(199, 58, 82, 0.45); color: #fff; }
html { scrollbar-color: #2a2a2a #000; }

/* ---- entrances -------------------------------------------------------- */

@keyframes vj-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes vj-fade { from { opacity: 0; } to { opacity: 1; } }

.enter .step-head,
.enter.choose > h1,
.enter .counter,
.enter .minor,
.enter .toggle,
.enter .details,
.enter .drop,
.enter .stone-group > h2,
.enter .cal,
.enter .right,
.enter .book,
.enter.done > h1,
.enter.done > .sub,
.enter .summary,
.enter .next,
.enter.done > .btn {
  animation: vj-rise 400ms var(--ease) both;
}
.enter .counter, .enter .toggle { animation-delay: 60ms; }
.enter .right, .enter .summary { animation-delay: 80ms; }
.enter .next { animation-delay: 140ms; }
.enter .book, .enter.done > .btn { animation-delay: 180ms; }
.enter .nav { animation: vj-fade 400ms 120ms var(--ease) both; }

/* Cards arrive one after another, a beat apart. */
.enter .options > *,
.enter .metals > *,
.enter .settings > *,
.enter .who > *,
.enter .journeys > *,
.enter .stone-grid > *,
.enter .picked > *,
.enter .sizes > *,
.enter .times > * {
  animation: vj-rise 400ms var(--ease) both;
  animation-delay: calc(80ms + var(--i, 0) * 40ms);
}
.enter .sizes > *, .enter .times > * { animation-delay: calc(80ms + var(--i, 0) * 18ms); }

/* ---- photos fade in when they arrive (their boxes are already sized) -- */

.option-img img, .stone-plate img, .setting img, .picked img {
  opacity: 0;
  transition: opacity 400ms var(--ease-soft), transform 400ms var(--ease);
}
.option-img img.ld, .stone-plate img.ld, .setting img.ld, .picked img.ld { opacity: 1; }
.option-img, .setting img, .stone-plate { background-color: transparent; }

/* ---- progress --------------------------------------------------------- */

.stepbar { background: linear-gradient(#111, #0c0c0c); }
.bar { height: 3px; background: rgba(199, 58, 82, 0.18); }
.bar i {
  position: relative;
  transition: width 400ms var(--ease-soft);
  background: linear-gradient(90deg, #9e2c40, var(--brand));
  box-shadow: 0 0 12px rgba(199, 58, 82, 0.55);
}
.stepbar-row { font-size: 11px; letter-spacing: 0.18em; }
.stepbar p { font-size: 13px; letter-spacing: 0.02em; }

/* ---- headings: a gold hairline between title and line ---------------- */

.step-head .sub::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin: 2px auto 16px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.step-head h1, .step-head h2, .choose h1 { font-optical-sizing: auto; }
.upload-head .sub::before { display: none; }

/* ---- cards: calm at rest, a lift and a warm edge on hover ------------- */

.option, .who-card, .metal, .setting, .stone, .journey { border-radius: var(--r-card); }
.option, .who-card, .metal, .setting, .stone {
  transition:
    border-color 300ms var(--ease-soft),
    background-color 300ms var(--ease-soft),
    box-shadow 400ms var(--ease-soft),
    transform 400ms var(--ease);
}
.journey { transition: border-color 300ms var(--ease-soft), box-shadow 400ms var(--ease-soft), transform 400ms var(--ease); }

@media (hover: hover) {
  .option:hover, .who-card:hover, .metal:hover, .setting:hover, .stone:hover, .journey:hover {
    transform: translateY(-2px);
    border-color: var(--gold-soft);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--gold-faint);
  }
  .option:hover .option-img img { transform: scale(1.06); }
  .option-wide:hover .option-img img, .option-tall:hover .option-img img { transform: scale(1.04); }
  .setting:hover img { transform: scale(1.03); }
  .stone:hover .stone-plate img { transform: scale(1.08) rotate(-4deg); }
  .metal:hover .swatch { transform: scale(1.02); }
  .journey:hover .icon-ring { box-shadow: 0 0 0 6px rgba(199, 58, 82, 0.08); }
}
.icon-ring { transition: box-shadow 400ms var(--ease); }
.swatch { transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.stone-plate img { transition: opacity 400ms var(--ease-soft), transform 400ms var(--ease); }

/* A metal swatch carries a slow light across it on hover, like polish. */
.swatch { position: relative; overflow: hidden; }
.swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 66%);
  transform: translateX(-110%);
  transition: transform 0s;
}
@media (hover: hover) {
  .metal:hover .swatch::after { transform: translateX(110%); transition: transform 400ms var(--ease-soft); }
}

/* ---- chosen: a fine crimson edge and a glow from above ---------------- */

.option.on, .who-card.on, .metal.on, .setting.on {
  border-color: var(--brand);
  background: radial-gradient(120% 70% at 50% 0%, rgba(199, 58, 82, 0.13), transparent 70%), #0a0607;
  box-shadow: 0 0 0 1px var(--brand) inset, 0 20px 50px -30px rgba(199, 58, 82, 0.7);
}
.stone.on {
  background: radial-gradient(90% 120% at 0% 50%, rgba(199, 58, 82, 0.14), transparent 70%), #0d0708;
  box-shadow: 0 0 0 1px var(--brand) inset;
}
.tick { box-shadow: 0 4px 14px -4px rgba(199, 58, 82, 0.8); }

@keyframes vj-pop {
  0% { transform: scale(0.4); opacity: 0; }
  60% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes vj-press {
  0% { transform: scale(0.985); }
  100% { transform: none; }
}
@keyframes vj-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

.is-just.on > .tick, .stone.is-just.on .stone-check { animation: vj-pop 360ms var(--ease-pop) both; }
.is-just.on > .tick path, .stone.is-just.on .stone-check path { stroke-dasharray: 24; animation: vj-draw 320ms 80ms var(--ease-soft) both; }
.option.is-just, .who-card.is-just, .metal.is-just, .setting.is-just, .stone.is-just,
.size.is-just, .time.is-just, .day.is-just, .contact .is-just, .toggle .is-just {
  animation: vj-press 300ms var(--ease) both;
}
.size.is-just.on, .time.is-just.on, .day.is-just.on, .contact .is-just.on {
  box-shadow: 0 0 0 4px rgba(199, 58, 82, 0.18);
  transition: box-shadow 400ms var(--ease-soft);
}

/* ---- the setting's benefits: a quiet list, not a row of badges ------- */

.setting em {
  margin: 18px 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.benefits { gap: 6px; }
.benefits span {
  padding: 0;
  border: 0;
  font-size: 14px;
  color: var(--text);
}
.benefits span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px 2px 0;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.8;
}
@media (max-width: 560px) { .benefits span { font-size: 14px; } }

/* ---- small controls ---------------------------------------------------- */

.size, .time, .day, .contact button, .toggle button, .cal-head button {
  transition: background-color 250ms var(--ease-soft), border-color 250ms var(--ease-soft), color 250ms var(--ease-soft), box-shadow 400ms var(--ease-soft), transform 200ms var(--ease);
}
@media (hover: hover) {
  .size:hover:not(.on), .time:hover:not(.on), .contact button:hover:not(.on) { border-color: var(--gold-soft); background: #0e0d0b; }
  .day:hover:not(:disabled):not(.on) { background: #15130f; color: var(--gold); }
}
.day.today:not(.on) { box-shadow: inset 0 0 0 1px var(--gold-soft); }
.stone-check { transition: background-color 250ms var(--ease-soft), border-color 250ms var(--ease-soft); }

/* ---- buttons ----------------------------------------------------------- */

.btn { border-radius: var(--r-ctl); letter-spacing: 0.01em; }
.btn, .start-btn {
  transition: background-color 300ms var(--ease-soft), border-color 300ms var(--ease-soft), color 300ms var(--ease-soft), box-shadow 400ms var(--ease-soft), opacity 300ms var(--ease-soft), transform 200ms var(--ease);
}
.btn .i, .start-btn .i { transition: transform 300ms var(--ease); }
.btn:active:not(:disabled), .start-btn:active, .size:active, .time:active, .day:active:not(:disabled), .contact button:active, .toggle button:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}
.option:active, .who-card:active, .metal:active, .setting:active, .stone:active { transform: scale(0.99); transition-duration: 80ms; }

.btn-primary { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset; }
@media (hover: hover) {
  .btn-primary:hover:not(:disabled) { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 12px 32px -14px rgba(199, 58, 82, 0.9); }
  .btn:hover .i:last-child { transform: translateX(3px); }
  .btn[data-act="back"]:hover .i { transform: translateX(-3px); }
}

/* Outline buttons fill from the left with ivory, the dark-site way. */
.btn-outline {
  background: linear-gradient(var(--text), var(--text)) no-repeat left / 0% 100%, transparent;
  transition: background-size 400ms var(--ease), color 300ms var(--ease-soft), border-color 300ms var(--ease-soft), transform 200ms var(--ease);
}
@media (hover: hover) {
  .btn-outline:hover { background: linear-gradient(var(--text), var(--text)) no-repeat left / 100% 100%, transparent; color: #000; border-color: var(--text); }
}

/* Sending: a slow light passes along the button while it waits. */
@keyframes vj-sheen { from { background-position: 150% 0, 0 0; } to { background-position: -50% 0, 0 0; } }
.btn-primary[data-act="send"]:disabled {
  opacity: 0.85;
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%) 150% 0 / 60% 100% no-repeat,
    var(--brand);
  animation: vj-sheen 1.1s linear infinite;
}

/* ---- links: an underline that draws itself ---------------------------- */

.legal a {
  color: var(--text);
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat right bottom / 0% 1px;
  transition: background-size 400ms var(--ease), color 300ms var(--ease-soft);
  padding-bottom: 2px;
}
.legal a:hover, .legal a:focus-visible { background-position: left bottom; background-size: 100% 1px; color: var(--gold); }
.top a { display: inline-block; transition: opacity 300ms var(--ease-soft); }
.top a:hover { opacity: 0.85; }

/* ---- fields ------------------------------------------------------------ */

textarea, .other input, .input, .stone-other input {
  transition: border-color 300ms var(--ease-soft), box-shadow 300ms var(--ease-soft), background-color 300ms var(--ease-soft);
}
textarea { background: #141414; }
textarea:focus, .input:focus-within { border-color: var(--gold-soft); box-shadow: 0 0 0 3px var(--gold-faint); }
.stone-other:focus-within { border-color: var(--gold-soft); }
.stone-other input:focus { border-color: var(--gold); }
.drop { border-width: 1px; transition: border-color 300ms var(--ease-soft), background-color 300ms var(--ease-soft); }
.drop .i { transition: transform 400ms var(--ease); }
.drop:hover .i, .drop.over .i { transform: translateY(-3px); }
.drop:hover, .drop.over { border-color: var(--gold-soft); background: #100e0b; }
.thumbs img { animation: vj-rise 400ms var(--ease) both; }

/* ---- focus: a gold ring, clear on crimson and on black --------------- */

button:focus-visible, a:focus-visible, label.drop:focus-within {
  outline: 1.5px solid var(--gold);
  outline-offset: 3px;
  transition: outline-offset 200ms var(--ease);
}
.day:focus-visible, .size:focus-visible, .time:focus-visible { outline-offset: 2px; }

/* ---- done ---------------------------------------------------------------- */

.done-icon { box-shadow: 0 0 0 10px rgba(199, 58, 82, 0.1), 0 16px 40px -12px rgba(199, 58, 82, 0.8); }
.enter .done-icon { animation: vj-pop 400ms var(--ease-pop) both; }
.enter .done-icon path { stroke-dasharray: 24; animation: vj-draw 400ms 160ms var(--ease-soft) both; }
.summary, .next { border-radius: var(--r-card); }
.summary > h2, .next > h2 { font: 400 22px/1.2 var(--display); letter-spacing: -0.01em; }

/* ---- start page ---------------------------------------------------------- */

.start-logo, .start-copy, .start-btn { animation-timing-function: var(--ease); animation-duration: 0.8s; }
.start-btn { animation-delay: 0.25s; }
@media (hover: hover) {
  .start-btn:hover { box-shadow: 0 14px 44px -14px rgba(199, 58, 82, 0.95), 0 0 0 4px rgba(199, 58, 82, 0.12); }
}

/* ---- touch screens: no hover leftovers after a tap --------------------- */

@media (hover: none) {
  .option:not(.on):hover, .who-card:not(.on):hover, .metal:not(.on):hover, .setting:not(.on):hover { transform: none; box-shadow: none; }
}

/* Benefits read as a list: markers line up under one another. */
.benefits { align-items: flex-start; align-self: center; text-align: left; }

/* Swatches look polished: light from above, a touch of shade below. */
.swatch::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.1));
  pointer-events: none;
}
.stone-group h2 { color: var(--gold); opacity: 0.85; }

/* Phones: an icon beside a heading that wraps looks stranded; stack it. */
@media (max-width: 560px) {
  .step-head h1 { flex-direction: column; gap: 10px; }
}

/* A time someone else has already asked for, or the shop has confirmed. */
.time.booked, .time.booked:hover { background: transparent; color: rgba(248, 250, 252, 0.3); border-style: dashed; cursor: not-allowed; }

/* ---- carat size: sliders ------------------------------------------- */

.carat { max-width: 560px; margin: 28px auto 0; }
.carat-read { text-align: center; font: 400 clamp(34px, 6vw, 44px) / 1 var(--display); letter-spacing: -0.01em; }
.carat input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 18px 0 0; }
.carat input[type="range"]:focus-visible { outline: none; }
.carat input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: transparent; }
.carat input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: transparent; }
.carat input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%;
  background: #fff; border: 2px solid var(--brand); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); cursor: grab;
}
.carat input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); cursor: grab; }
.carat input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(217, 185, 138, 0.45); }
.carat-one {
  --a: 0%;
  background: linear-gradient(to right, var(--brand) 0 var(--a), rgba(255, 255, 255, 0.14) var(--a) 100%) center / 100% 4px no-repeat !important;
}
.carat-dual {
  --a: 0%; --b: 100%;
  position: relative; height: 46px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.14) 0 var(--a), var(--brand) var(--a) var(--b), rgba(255, 255, 255, 0.14) var(--b) 100%) 0 32px / 100% 4px no-repeat;
}
.carat-dual input[type="range"] { position: absolute; inset: 0; pointer-events: none; }
.carat-dual input[type="range"]::-webkit-slider-thumb { pointer-events: auto; }
.carat-dual input[type="range"]::-moz-range-thumb { pointer-events: auto; }
.carat-scale { position: relative; height: 18px; margin: 6px 13px 0; font-size: 12px; color: var(--muted); }
.carat-scale span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.carat .range-note { margin-top: 16px; }

/* ---- carat size, shown to scale on a finger ------------------------ */

.scale { margin: 8px auto 0; text-align: center; }
.scale-stones { display: flex; justify-content: center; align-items: flex-end; gap: 36px; min-height: 150px; }
.scale-stone { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scale-stone img {
  height: auto; max-width: none; object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.scale-stone figcaption { font-size: 14px; color: var(--muted); order: 2; }
.scale-stone figcaption strong { color: var(--text); font-weight: 600; }
.scale-finger {
  position: relative; max-width: 100%; height: 34px; margin: 8px auto 0; border-radius: 17px;
  background: linear-gradient(180deg, #3b302b, #241d1a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.scale-finger span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; color: rgba(248, 250, 252, 0.45); letter-spacing: 0.06em; }
.scale-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.carat .sizes { margin-top: 22px; }
@media (prefers-reduced-motion: reduce) { .scale-stone img { transition: none; } }
.scale + .carat-read { margin-top: 26px; }

/* The stone sits ON the finger, as it would in a ring, so its size reads
   against something familiar instead of floating large on its own. */
.scale-stones { min-height: 0; gap: 28px; position: relative; z-index: 1; margin-bottom: -16px; }
.scale-stone { gap: 0; }
.scale-stone figcaption { order: -1; margin-bottom: 8px; }
.scale-finger { height: 30px; border-radius: 15px; background: linear-gradient(180deg, #d7b49a, #b88c70); box-shadow: inset 0 -3px 6px rgba(0,0,0,0.18); }
.scale-finger::after { content: ""; position: absolute; left: 50%; top: -1px; bottom: -1px; width: 7px; transform: translateX(-50%); border-radius: 3px; background: linear-gradient(90deg, #b8923f, #f1d68c, #b8923f); }
.scale-finger span { top: auto; bottom: -22px; color: var(--muted); }
.scale-note { margin-top: 30px; max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ---- carat size, on a finger seen from above ----------------------- */

.scale-stones, .scale-finger { display: none; }
.fingers { display: flex; justify-content: center; align-items: flex-end; gap: 40px; margin-top: 6px; }
.finger-view { margin: 0; display: flex; flex-direction: column; align-items: center; }
.finger-tag { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.finger {
  position: relative; height: 210px; max-width: 42vw;
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(90deg, #b98a6e 0%, #d9b196 22%, #e6c3a8 50%, #d9b196 78%, #b98a6e 100%);
  box-shadow: inset 0 -30px 30px -20px rgba(0, 0, 0, 0.25);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.finger .nail {
  position: absolute; left: 18%; right: 18%; top: 6%; height: 20%;
  border-radius: 999px 999px 40% 40%;
  background: linear-gradient(180deg, #f3ddd0, #e8c7b6); box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.08);
}
.finger .crease { position: absolute; left: 22%; right: 22%; top: 36%; height: 0; border-top: 1px solid rgba(120, 80, 60, 0.35); border-radius: 50%; }
.finger .band {
  position: absolute; left: -2px; right: -2px; top: 58%; height: 8px; transform: translateY(-50%);
  background: linear-gradient(180deg, #8a6a2c, #f1d68c 45%, #b8923f); border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.finger-stone {
  position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%);
  height: auto; max-width: none; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45));
  transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.finger-view figcaption { margin-top: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; color: var(--muted); }
.finger-view figcaption strong { font-size: 18px; color: var(--text); font-weight: 600; }
.scale .scale-note { margin-top: 18px; }
.is-range + .carat-read { display: none; }
@media (prefers-reduced-motion: reduce) { .finger-stone { transition: none; } }

.foot-slim { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
.foot-slim .legal { margin: 0; }

/* The ring sits at the base of the finger, not by the nail. */
.finger { height: 300px; -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, #000 88%, transparent 100%); }
.finger .nail { top: 4%; height: 14%; }
.finger .crease { top: 27%; }
.finger .crease::after { content: ""; position: absolute; left: 0; right: 0; top: 34px; border-top: 1px solid rgba(120, 80, 60, 0.3); border-radius: 50%; }
.finger .band, .finger-stone { top: 74%; }

/* Mid-finger only: from the first knuckle (top) to where the finger meets
   the hand (bottom). No tip or nail; both ends fade, as if the finger runs
   on out of view. */
.finger {
  height: 190px; border-radius: 0;
  background: linear-gradient(90deg, #b98a6e 0%, #d9b196 22%, #e6c3a8 50%, #d9b196 78%, #b98a6e 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 80%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 80%, transparent 100%);
}
.finger .nail { display: none; }
.finger .crease { top: 20%; left: 20%; right: 20%; }
.finger .crease::after { top: 8px; }
.finger .band, .finger-stone { top: 58%; }
