/*
 * 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; }
}
