/* ==========================================================
   Inner pages — appointment, ring sizing, care, contact, checkout
   ========================================================== */

/* ---------- Page veil (transitions between pages) ---------- */
.page-veil {
  position: fixed; inset: 0; z-index: 1001; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 45%, #241b12 0%, var(--ink) 70%);
  display: grid; place-items: center;
  transform: translateY(100%); transition: transform .65s cubic-bezier(.76, 0, .24, 1);
}
.page-veil img { width: 64px; height: auto; opacity: 0; transition: opacity .4s ease .15s; }
.page-veil.in { transform: translateY(0); pointer-events: auto; }
.page-veil.in img, .page-veil.cover img { opacity: 1; }
.page-veil.cover { transform: translateY(0); transition: none; }
.page-veil.out { transform: translateY(-100%); transition: transform .95s cubic-bezier(.76, 0, .24, 1) .05s; }

/* ---------- Nav: active link + appointment pill ---------- */
.nav__links a.active { color: var(--gold); }
.nav__links a.active::after { transform: scaleX(1); background: var(--gold); }
.nav__pill { padding: 9px 18px; border-radius: 100px; border: 1px solid rgba(168, 132, 79, .55); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); transition: background .5s var(--ease), color .5s var(--ease); }
.nav__pill:hover { background: var(--ink); color: var(--gold-light); }
@media (max-width: 1100px) { .nav__pill { display: none; } }
@media (max-width: 1100px) and (min-width: 861px) { .nav__links { gap: 22px; } }

/* ---------- Page hero ---------- */
.page-hero {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 6vw; align-items: end;
  padding: 190px var(--pad) 90px; position: relative;
}
.page-hero--center { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-bottom: 70px; }
.page-hero h1 { font-size: clamp(3rem, 7.4vw, 7rem); margin-bottom: 1.6rem; }
.page-hero .lead { max-width: 520px; color: var(--ink-soft); font-size: 1.05rem; }
.page-hero--center .lead { margin: 0 auto; }
.page-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2.2rem; }
.page-hero--center .page-hero__actions { justify-content: center; }
.page-hero__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 220px 220px 6px 6px; box-shadow: 0 50px 90px -50px rgba(60, 40, 10, .6); }
.crumbs { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--gold); }

.sub-section { padding: 110px var(--pad); position: relative; }
.sub-section--tint { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.sub-section--dark { background: radial-gradient(100% 80% at 80% 0%, #241b12 0%, var(--ink) 65%); color: var(--paper); }
.sub-section--dark .lead, .sub-section--dark p { color: rgba(246, 239, 226, .7); }
.sub-head { max-width: 720px; margin-bottom: 56px; }
.sub-head h2 { margin-bottom: 1rem; }
.sub-head p { color: var(--ink-soft); }
.gold-rule { height: 1px; background: var(--gold-line); border: 0; margin: 0 var(--pad); }

/* ---------- Forms ---------- */
.form-shell {
  display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: start;
}
.panel {
  background: linear-gradient(180deg, #fffdf9, #f7f1e7); border-radius: 22px; padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 40px 90px -60px rgba(60, 40, 10, .55), 0 0 0 1px rgba(168, 132, 79, .18);
}
.panel--dark { background: linear-gradient(180deg, #17130f, #0d0c0b); color: var(--paper); box-shadow: 0 0 0 1px rgba(201, 166, 107, .25); }
.panel h3 { font-size: 1.9rem; margin-bottom: .4rem; }
.panel__hint { color: var(--muted); font-size: .88rem; margin-bottom: 28px; }
.fieldset { border: 0; margin-bottom: 34px; }
.fieldset legend { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.fieldset legend span { font-family: var(--sans); font-size: .66rem; letter-spacing: .18em; color: var(--gold); border: 1px solid rgba(168, 132, 79, .5); border-radius: 100px; padding: 4px 9px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(13, 12, 11, .14); border-radius: 12px; padding: 14px 16px; outline: none;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(168, 132, 79, .14); background: #fff; }
.field input:user-invalid { border-color: #b4553f; }
.hp { position: absolute; left: -9999px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 100px;
  border: 1px solid rgba(13, 12, 11, .16); font-size: .84rem; cursor: pointer; background: rgba(255, 255, 255, .6);
  transition: all .45s var(--ease);
}
.chip span:hover { border-color: var(--gold); }
.chip input:checked + span { background: var(--ink); color: var(--gold-light); border-color: var(--ink); box-shadow: inset 0 0 0 1px rgba(201, 166, 107, .4); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.option-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.option-card { position: relative; }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.option-card > span {
  display: block; height: 100%; padding: 22px 20px; border-radius: 16px; cursor: pointer;
  border: 1px solid rgba(13, 12, 11, .14); background: rgba(255, 255, 255, .6); transition: all .5s var(--ease);
}
.option-card b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin: 10px 0 4px; }
.option-card small { color: var(--muted); font-size: .8rem; line-height: 1.5; display: block; }
.option-card i { font-style: normal; font-size: 1.3rem; color: var(--gold); }
.option-card > span:hover { transform: translateY(-3px); border-color: rgba(168, 132, 79, .6); }
.option-card input:checked + span { border-color: var(--gold); background: #fff; box-shadow: 0 20px 40px -24px rgba(60, 40, 10, .5), inset 0 0 0 1px var(--gold); }

.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-status { margin-top: 16px; font-size: .9rem; min-height: 1.4em; }
.form-status.err { color: #b4553f; }

.success {
  display: none; text-align: center; padding: 30px 10px;
}
.success.show { display: block; animation: rise-in 1s var(--ease); }
.success__mark { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--ink); font-size: 1.6rem; }
.success h3 { font-size: 2.2rem; margin-bottom: 10px; }
.success p { color: var(--ink-soft); max-width: 420px; margin: 0 auto 22px; }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } }

/* Side info card */
.aside-list { list-style: none; display: grid; gap: 22px; }
.aside-list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.aside-list i { font-style: normal; color: var(--gold-light); font-size: 1.1rem; }
.aside-list b { display: block; font-weight: 500; margin-bottom: 2px; }
.aside-list p { font-size: .88rem; color: rgba(246, 239, 226, .65); }
.panel--dark h3 { color: #f6efe2; }
.wa-btn { display: inline-flex; align-items: center; gap: 10px; }
.wa-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Ring sizing ---------- */
.sizer { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sizer__stage {
  position: relative; min-height: 360px; border-radius: 18px; display: grid; place-items: center; overflow: hidden;
  background: repeating-linear-gradient(0deg, transparent 0 19px, rgba(168, 132, 79, .08) 19px 20px),
              repeating-linear-gradient(90deg, transparent 0 19px, rgba(168, 132, 79, .08) 19px 20px), #fffdf9;
  box-shadow: inset 0 0 0 1px rgba(168, 132, 79, .25);
}
.cardshape {
  height: auto; aspect-ratio: 85.6 / 53.98; border-radius: 10px;
  background: linear-gradient(135deg, #1a1612, #3a2e20 60%, #7d5f33);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); position: relative;
}
.cardshape::before { content: ""; position: absolute; left: 10%; top: 32%; width: 14%; aspect-ratio: 1.3; border-radius: 4px; background: var(--gold-grad); }
.cardshape::after { content: "Place a bank card here"; position: absolute; left: 10%; bottom: 14%; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ringshape {
  border-radius: 50%; border: 2px solid var(--gold);
  box-shadow: 0 0 0 10px rgba(168, 132, 79, .12), 0 0 40px rgba(168, 132, 79, .3) inset;
  display: grid; place-items: center; transition: box-shadow .4s;
}
.ringshape { position: relative; }
.ringshape span { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.ringshape span br { display: none; }
.range { width: 100%; accent-color: var(--gold); margin: 18px 0 6px; }
.range-row { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.steps-tabs { display: flex; gap: 8px; margin-bottom: 22px; }
.steps-tabs button { padding: 10px 18px; border-radius: 100px; border: 1px solid rgba(13, 12, 11, .15); font-size: .8rem; transition: all .4s var(--ease); }
.steps-tabs button.active { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.result {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px;
}
.result div { text-align: center; padding: 18px 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(168, 132, 79, .2); }
.result small { display: block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.result b { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; line-height: 1; }
.result--big b { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.size-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.size-table th { text-align: left; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; padding: 14px 12px; border-bottom: 1px solid rgba(168, 132, 79, .4); }
.size-table td { padding: 13px 12px; border-bottom: 1px solid rgba(168, 132, 79, .15); }
.size-table tr { transition: background .3s; }
.size-table tbody tr:hover, .size-table tr.hit { background: rgba(168, 132, 79, .1); }
.table-wrap { overflow-x: auto; border-radius: 18px; background: #fffdf9; box-shadow: 0 0 0 1px rgba(168, 132, 79, .2); }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how article { padding: 32px 28px; border-radius: 18px; border: 1px solid rgba(201, 166, 107, .2); }
.how .num { font-family: var(--serif); font-size: 3rem; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how h3 { font-size: 1.6rem; margin: 14px 0 8px; color: #f6efe2; }

/* ---------- Care ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  padding: 34px 30px; border-radius: 20px; background: linear-gradient(180deg, #fffdf9, #f6efe2);
  box-shadow: 0 0 0 1px rgba(168, 132, 79, .18); transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.service:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(60, 40, 10, .5), 0 0 0 1px rgba(168, 132, 79, .5); }
.service i { font-style: normal; font-size: 1.6rem; color: var(--gold); }
.service h3 { font-size: 1.7rem; margin: 16px 0 10px; }
.service p { color: var(--ink-soft); font-size: .92rem; }
.service small { display: inline-block; margin-top: 16px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

.timeline { position: relative; display: grid; gap: 0; max-width: 860px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gold), transparent); }
.tl { display: grid; grid-template-columns: 24px 160px 1fr; gap: 24px; padding: 0 0 38px; align-items: start; }
.tl::before { content: ""; width: 23px; height: 23px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 6px rgba(168, 132, 79, .12); }
.tl b { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; color: var(--gold-light); }
.tl p { color: rgba(246, 239, 226, .72); }

.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dos ul { list-style: none; display: grid; gap: 14px; }
.dos li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: var(--ink-soft); }
.dos li::before { content: "✦"; color: var(--gold); }
.dos .dont li::before { content: "✕"; color: #a06049; }

.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid rgba(168, 132, 79, .25); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; font-family: var(--serif); font-size: 1.5rem; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { overflow: hidden; color: var(--ink-soft); }
.faq .ans p { padding: 0 0 24px; max-width: 680px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ccard {
  padding: 30px 26px; border-radius: 20px; background: linear-gradient(180deg, #fffdf9, #f6efe2);
  box-shadow: 0 0 0 1px rgba(168, 132, 79, .18); display: flex; flex-direction: column; gap: 10px;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
a.ccard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(60, 40, 10, .5), 0 0 0 1px var(--gold); }
.ccard small { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ccard b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.25; word-break: break-word; }
.ccard span { font-size: .84rem; color: var(--muted); }
.map { border-radius: 22px; overflow: hidden; height: 100%; min-height: 420px; box-shadow: 0 0 0 1px rgba(168, 132, 79, .25); filter: grayscale(.5) sepia(.15) contrast(1.05); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Checkout ---------- */
.steps { display: flex; gap: 10px; align-items: center; margin-bottom: 34px; flex-wrap: wrap; }
.steps span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.steps span b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(168, 132, 79, .5); font-weight: 500; font-size: .7rem; color: var(--gold); }
.steps span.on { color: var(--ink); }
.steps span.on b { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.steps i { width: 26px; height: 1px; background: rgba(168, 132, 79, .4); }

.summary { position: sticky; top: 110px; }
.sline { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(201, 166, 107, .18); }
.sline img { width: 64px; height: 76px; border-radius: 8px; }
.sline h4 { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.15; color: #f6efe2; }
.sline small { color: rgba(246, 239, 226, .55); font-size: .78rem; }
.sline select { margin-top: 6px; font: inherit; font-size: .78rem; padding: 6px 8px; border-radius: 8px; background: transparent; color: var(--gold-light); border: 1px solid rgba(201, 166, 107, .4); }
.sline select option { color: var(--ink); }
.sline b { font-weight: 500; color: #f6efe2; }
.totals { margin-top: 18px; display: grid; gap: 10px; font-size: .92rem; }
.totals div { display: flex; justify-content: space-between; color: rgba(246, 239, 226, .7); }
.totals .grand { padding-top: 14px; border-top: 1px solid rgba(201, 166, 107, .35); font-size: 1.1rem; color: #f6efe2; }
.totals .grand b { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.assure { list-style: none; margin-top: 22px; display: grid; gap: 8px; font-size: .8rem; color: rgba(246, 239, 226, .6); }
.assure li::before { content: "✦ "; color: var(--gold-light); }
.empty-bag { text-align: center; padding: 40px 10px 10px; }
.empty-bag h3 { font-size: 2.2rem; margin-bottom: 10px; }
.empty-bag p { color: var(--ink-soft); margin-bottom: 24px; }
.order-no { display: inline-block; margin: 6px 0 18px; padding: 8px 16px; border-radius: 100px; background: var(--ink); color: var(--gold-light); letter-spacing: .14em; font-size: .85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .services, .how { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .page-hero { grid-template-columns: 1fr; padding-top: 160px; padding-bottom: 60px; }
  .page-hero__img { max-width: 420px; }
  .form-shell, .sizer, .dos { grid-template-columns: 1fr; }
  .summary { position: static; }
  .option-cards { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 24px 1fr; }
  .tl p { grid-column: 2; }
}
@media (max-width: 560px) {
  .fields { grid-template-columns: 1fr; }
  .services, .how, .contact-cards { grid-template-columns: 1fr; }
  .result b { font-size: 1.7rem; }
}

/* Appointment link inside the menu when the pill is hidden */
.nav__links .m-only { display: none; }
@media (max-width: 1100px) { .nav__links .m-only { display: inline; } }

/* Make the hidden attribute win over display rules */
[hidden] { display: none !important; }

/* Eyebrows keep their gold over section paragraph colours */
.sub-head .eyebrow { color: var(--gold); }
.sub-section--dark .eyebrow, .panel--dark .eyebrow { color: var(--gold-light); }
