/* Rizan Jewellery — site styles. Dark charcoal chrome, warm-white content, gold and silver accents. */
:root {
  --paper: #faf7f1; --paper-2: #f3eee4; --card: #ffffff;
  --ink: #1d1b18; --ink-2: #3a362f; --muted: #6b6457; --line: #e7e0d3; --line-2: #d8cfbe;
  --char: #121110; --char-2: #1a1917; --char-3: #272522; --on-dark: #f3eee5; --on-dark-mute: #a9a296; --dark-line: rgba(243, 238, 229, .12);
  --gold: #b48a4a; --gold-2: #c9a46a; --gold-3: #e3c793; --gold-deep: #84652f; --gold-wash: #f6efe1;
  --silver: #b9bcbf; --silver-deep: #6f7378;
  --ok: #2b7a52; --ok-wash: #e8f3ec; --warn: #9a620f; --warn-wash: #fbf1df; --bad: #ad4136; --bad-wash: #f9e9e6;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(29, 27, 24, .05), 0 2px 10px rgba(29, 27, 24, .04);
  --shadow: 0 18px 40px -18px rgba(29, 27, 24, .25);
  --font: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --tk-h: 46px; --hd-h: 70px;
  /* curves: panels nest concentrically inside the page curve (page radius = panel radius + inset) */
  --r-panel: clamp(20px, 2.2vw, 36px); --panel-inset: clamp(8px, 1vw, 16px); --r-page: calc(var(--r-panel) + var(--panel-inset));
  --gutter: max(16px, min(4vw, 72px));
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--char);
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
  padding-bottom: var(--sab);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--gold-2); color: #14100a; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: 1720px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
main { flex: 1; }
/* The page content is a warm-white sheet with curved corners sitting on the dark frame. */
#main { background: var(--paper); border-radius: 0 0 var(--r-page) var(--r-page); padding-bottom: var(--panel-inset); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; margin: 0; color: var(--ink); }
h1 { font-size: clamp(36px, 5vw, 60px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0; }
.eyebrow { font: 500 12px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 14px; display: block; }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tnum { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ market ticker */
.tk {
  position: sticky; top: 0; z-index: 60; background: #0b0a09; color: var(--on-dark);
  border-bottom: 1px solid var(--dark-line); height: calc(var(--tk-h) + var(--sat)); padding-top: var(--sat);
}
/* selector | centred price group | spacer the same width as the selector, so the group is truly centred */
.tk-in { display: grid; grid-template-columns: var(--tk-side) minmax(0, 1fr) var(--tk-side); align-items: center; height: var(--tk-h); --tk-side: 132px; }
.tk-spacer { width: var(--tk-side); }
.tk-units { justify-self: start; display: flex; gap: 2px; padding: 3px; background: rgba(255, 255, 255, .06); border: 1px solid var(--dark-line); border-radius: 8px; }
.tk-units button {
  border: 0; background: transparent; color: var(--on-dark-mute); font: 600 11px/1 var(--font); letter-spacing: .12em;
  padding: 7px 10px; border-radius: 6px; cursor: pointer; min-width: 38px; transition: background .2s, color .2s;
}
.tk-units button:hover { color: var(--on-dark); }
.tk-units button[aria-pressed="true"] { background: linear-gradient(135deg, var(--gold-3), var(--gold-2)); color: #17120a; }
.tk-scroll { position: relative; min-width: 0; display: flex; overflow-x: auto; scrollbar-width: none; height: 100%; } /* positioned, so screen-reader-only labels inside are clipped too */
.tk-group { display: flex; align-items: center; height: 100%; margin: 0 auto; } /* auto margins centre it when it fits, and fall back to start-aligned scrolling when it doesn't */
.tk-scroll::-webkit-scrollbar { display: none; }
.tk-sec { display: flex; gap: 8px; padding: 0 14px; white-space: nowrap; height: 100%; align-items: center; border-left: 1px solid var(--dark-line); }
.tk-sec:first-child { border-left: 0; }
.tk-lab { font: 600 11px/1 var(--font); letter-spacing: .16em; color: var(--gold-3); }
.tk-sec.silver .tk-lab { color: var(--silver); }
.tk-sec.fx .tk-lab { color: var(--on-dark-mute); }
.tk-val { font: 500 14px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--on-dark); }
.tk-sub { font: 400 13px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--on-dark-mute); }
.tk-unit { font-size: 11px; color: var(--on-dark-mute); margin-left: 1px; }
.tk-chg { position: relative; display: inline-flex; align-items: center; gap: 3px; font: 500 12px/1 var(--font); font-variant-numeric: tabular-nums; padding: 3px 6px; border-radius: 6px; }
.tk-chg.up { color: #6fdc9f; background: rgba(79, 191, 133, .12); }
.tk-chg.dn { color: #f0897b; background: rgba(224, 121, 107, .13); }
.tk-chg.flat { color: var(--on-dark-mute); background: rgba(255, 255, 255, .06); }
.tk-arr { font-style: normal; font-size: 9px; display: inline-block; }
.tk-chg.up .tk-arr { animation: arrUp 1.8s ease-in-out infinite; }
.tk-chg.dn .tk-arr { animation: arrDn 1.8s ease-in-out infinite; }
/* on light backgrounds */
.mcard .tk-chg.up, .formula .tk-chg.up { color: var(--ok); background: var(--ok-wash); }
.mcard .tk-chg.dn, .formula .tk-chg.dn { color: var(--bad); background: var(--bad-wash); }
.mcard .tk-chg.flat { color: var(--muted); background: var(--paper-2); }
@keyframes arrUp { 0%, 100% { transform: translateY(1px); opacity: .7; } 50% { transform: translateY(-2px); opacity: 1; } }
@keyframes arrDn { 0%, 100% { transform: translateY(-1px); opacity: .7; } 50% { transform: translateY(2px); opacity: 1; } }
.tk-status { display: flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid var(--dark-line); white-space: nowrap; font-size: 12px; color: var(--on-dark-mute); height: 100%; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--on-dark-mute); flex: none; }
.dot.LIVE { background: #4fbf85; box-shadow: 0 0 0 0 rgba(79, 191, 133, .6); animation: pulse 2.4s infinite; }
.dot.DELAYED { background: #e0a94a; } .dot.STALE, .dot.UNAVAILABLE { background: #e0796b; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 191, 133, .55); } 70% { box-shadow: 0 0 0 7px rgba(79, 191, 133, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 191, 133, 0); } }
.tk .skel-line { width: 120px; height: 10px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
@media (max-width: 1180px) { .tk-in { grid-template-columns: auto minmax(0, 1fr); } .tk-spacer { display: none; } .tk-units { margin-right: 12px; } }
@media (max-width: 760px) {
  .tk-in { grid-template-columns: auto minmax(0, 1fr); }
  .tk-spacer { display: none; }
  .tk-units { margin-right: 8px; }
  .tk-units button { padding: 7px 7px; min-width: 32px; }
  .tk-scroll { mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .tk-sec { padding: 0 11px; gap: 6px; }
  .tk-status .txt { display: none; }
}

/* ------------------------------------------------------------------ header */
.hd { position: sticky; top: calc(var(--tk-h) + var(--sat)); z-index: 55; background: var(--char); color: var(--on-dark); }
.hd::before, .hd::after { content: ''; position: absolute; top: 100%; width: var(--r-page); height: var(--r-page); pointer-events: none; }
.hd::before { left: 0; background: radial-gradient(circle at 100% 100%, transparent calc(var(--r-page) - .6px), var(--char) var(--r-page)); }
.hd::after { right: 0; background: radial-gradient(circle at 0 100%, transparent calc(var(--r-page) - .6px), var(--char) var(--r-page)); }
.hd-in { display: flex; align-items: center; justify-content: space-between; height: var(--hd-h); gap: 20px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav a, .nav .dd-btn {
  display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: var(--r-sm); text-decoration: none;
  font: 400 15px/1 var(--font); color: var(--on-dark-mute); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s;
}
.nav a:hover, .nav .dd-btn:hover, .nav a[aria-current="page"], .nav .dd-btn.on { color: var(--on-dark); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 1px; background: var(--gold-2); }
.dd-btn svg { width: 10px; height: 10px; transition: transform .2s; }
.dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: var(--char-2); border: 1px solid var(--dark-line); border-radius: var(--r); padding: 8px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden; transition: opacity .18s, transform .18s, visibility 0s linear .18s; }
.dd.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.dd a { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 12px; border-radius: 10px; color: var(--on-dark); }
.dd a small { color: var(--on-dark-mute); font-size: 12.5px; }
.dd a:hover, .dd a:focus-visible { background: var(--char-3); }
.dd a::after { display: none !important; }
.hd-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--r-pill); background: linear-gradient(135deg, var(--gold-3), var(--gold-2)); color: #17120a; text-decoration: none; font: 500 14px/1 var(--font); }
.cart-btn svg { width: 17px; height: 17px; }
.cart-count { background: #17120a; color: var(--gold-3); border-radius: var(--r-pill); min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--dark-line); background: none; color: var(--on-dark); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 20px; height: 20px; }
.mnav { display: none; }
@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .mnav { display: none; position: fixed; inset: calc(var(--tk-h) + var(--hd-h) + var(--sat)) 0 0 0; background: var(--char); z-index: 54; overflow-y: auto; padding: 12px var(--gutter) calc(32px + var(--sab)); }
  .mnav.open { display: block; animation: navIn .28s cubic-bezier(.2, .8, .2, 1); }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .mnav a { display: block; padding: 16px 4px; border-bottom: 1px solid var(--dark-line); color: var(--on-dark); text-decoration: none; font-size: 17px; }
  .mnav a[aria-current="page"] { color: var(--gold-3); }
  .mnav .grp { padding: 18px 4px 6px; font: 600 11px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); }
  .mnav .sub a { padding-left: 16px; font-size: 16px; color: var(--on-dark-mute); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .logo img { height: 38px; } .cart-btn .lbl { display: none; } }

/* ------------------------------------------------------------------ buttons, badges, forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-pill); font: 500 15px/1.2 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s, color .2s; text-align: center;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: linear-gradient(135deg, var(--gold-3), var(--gold-2) 55%, var(--gold)); color: #17120a; box-shadow: 0 8px 22px -10px rgba(180, 138, 74, .8); }
.btn-gold:hover { box-shadow: 0 12px 28px -10px rgba(180, 138, 74, .95); }
.btn-dark { background: var(--char); color: var(--on-dark); }
.btn-dark:hover { background: var(--char-3); }
.btn-line { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--gold); background: var(--gold-wash); }
.btn-ghost-dark { background: transparent; border-color: rgba(243, 238, 229, .35); color: var(--on-dark); }
.btn-ghost-dark:hover { border-color: var(--gold-3); background: rgba(227, 199, 147, .1); }
.btn-wa { background: #1f7a4d; color: #fff; }
.btn-wa:hover { background: #18663f; }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; box-shadow: none; }
.link { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.badge { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--r-pill); font: 500 12px/1.3 var(--font); letter-spacing: .02em; background: var(--paper-2); color: var(--ink-2); }
.badge.ok { background: var(--ok-wash); color: var(--ok); } .badge.warn { background: var(--warn-wash); color: var(--warn); } .badge.bad { background: var(--bad-wash); color: var(--bad); }
.badge.gold { background: var(--gold-wash); color: var(--gold-deep); } .badge.silver { background: #eef0f1; color: var(--silver-deep); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .lbl-t { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field .hint { font-size: 13px; color: var(--muted); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card);
  font-size: 16px; transition: border-color .2s, box-shadow .2s; min-width: 0;
}
.field textarea { min-height: 90px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(180, 138, 74, .18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: 13.5px; min-height: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-2 .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.choice { display: flex; gap: 12px; flex-wrap: wrap; }
.choice label { flex: 1; min-width: 150px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; background: var(--card); transition: border-color .2s, background .2s; }
.choice label:has(input:checked) { border-color: var(--gold); background: var(--gold-wash); }
.choice input { accent-color: var(--gold-deep); margin-top: 4px; }
.choice small { display: block; color: var(--muted); font-size: 13px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.check input { accent-color: var(--gold-deep); width: 18px; height: 18px; margin-top: 3px; flex: none; }

/* ------------------------------------------------------------------ alerts, toast, dialog, states */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 14px; font-size: 15px; border: 1px solid; }
.alert.info { background: var(--gold-wash); border-color: #ead9b6; color: var(--ink-2); }
.alert.warn { background: var(--warn-wash); border-color: #efd9ad; color: #6d4507; }
.alert.bad { background: var(--bad-wash); border-color: #efc9c3; color: #7d2a22; }
.alert.ok { background: var(--ok-wash); border-color: #c6e2d1; color: #1d5a3b; }
.alert b { font-weight: 600; }
#toast { position: fixed; left: 50%; bottom: calc(24px + var(--sab)); transform: translate(-50%, 20px); background: var(--char); color: var(--on-dark); border-radius: 14px; padding: 13px 20px; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 300; max-width: calc(100% - 32px); box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; }
#toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#toast a { color: var(--gold-3); }
dialog.dlg { border: 0; border-radius: var(--r-lg); padding: 0; max-width: min(520px, calc(100% - 32px)); width: 100%; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .45); color: var(--ink); background: var(--card); }
dialog.dlg::backdrop { background: rgba(10, 9, 8, .55); }
.dlg-body { padding: 28px; display: grid; gap: 16px; }
.dlg-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.state { text-align: center; padding: 64px 24px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: var(--card); display: grid; gap: 14px; justify-items: center; }
.state h2 { font-size: 30px; }
.state p { color: var(--muted); max-width: 52ch; }
.skel { background: linear-gradient(90deg, #efe9de, #f7f3ec, #efe9de); background-size: 200% 100%; animation: sh 1.3s infinite linear; border-radius: 12px; }
@keyframes sh { to { background-position: -200% 0; } }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--char); color: var(--on-dark); }
.section.alt, .section.dark { margin-inline: var(--panel-inset); border-radius: var(--r-panel); }
.section.dark h2, .section.dark h3 { color: var(--on-dark); }
.section.dark .lead, .section.dark .muted { color: var(--on-dark-mute); }
.section.dark .eyebrow { color: var(--gold-3); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head .lead { margin-top: 12px; }
.marketplace-proof { padding-top: 48px; padding-bottom: 48px; background: var(--paper-2); }
.marketplace-proof .sec-head { margin-bottom: 22px; }
.marketplace-proof .sec-head .lead { font-size: 16px; }
.marketplace-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.marketplace-card { min-width: 0; display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: 5px 18px; padding: 24px 26px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.marketplace-card:hover { transform: translateY(-2px); border-color: var(--gold-2); box-shadow: var(--shadow-sm); }
.marketplace-logo { grid-column: 1; grid-row: 1 / span 2; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; }
.marketplace-logo svg { display: block; width: 42px; height: 42px; overflow: visible; }
.marketplace-logo-shopee { background: #fff0e8; }
.marketplace-logo-shopee svg path:first-child { fill: #ee4d2d; stroke: #ee4d2d; stroke-width: 2; stroke-linejoin: round; }
.marketplace-logo-shopee svg path:nth-child(2) { fill: none; stroke: #ee4d2d; stroke-width: 3; stroke-linecap: round; }
.marketplace-logo-shopee .logo-letter { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.marketplace-logo-carousell { background: #fff0ef; }
.marketplace-logo-carousell svg circle { fill: #e84c4f; }
.marketplace-logo-carousell .logo-letter { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.marketplace-name { grid-column: 2; grid-row: 1; font: 600 21px/1.2 var(--font); }
.marketplace-rating { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.marketplace-card .marketplace-rating { grid-column: 2; grid-row: 2; }
.marketplace-rating strong { color: var(--ink); }
.marketplace-stars { color: var(--gold-deep); letter-spacing: .08em; font-size: 15px; }
.marketplace-cta { grid-column: 3; grid-row: 1 / span 2; color: var(--gold-deep); font-size: 14px; font-weight: 600; white-space: nowrap; }
@media (max-width: 720px) { .marketplace-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .marketplace-card { grid-template-columns: 50px minmax(0, 1fr); gap: 5px 13px; padding: 18px; } .marketplace-logo { width: 48px; height: 48px; border-radius: 14px; } .marketplace-logo svg { width: 36px; height: 36px; } .marketplace-card .marketplace-rating { font-size: 13px; } .marketplace-cta { grid-column: 2; grid-row: 3; margin-top: 6px; } }
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 36px); }
.page-head .lead { margin-top: 14px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 18px; list-style: none; padding: 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--line-2); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; background: #0c0f0d; color: var(--on-dark); isolation: isolate; border-radius: 0 0 var(--r-page) var(--r-page); transform-origin: 50% 100%; }
.hero-stage { position: absolute; inset: 0; z-index: -2; overflow: hidden; perspective: 1100px; perspective-origin: 62% 50%; animation: heroIn 1.8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes heroIn { from { transform: scale(1.08); opacity: .35; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
.hero-bg { position: absolute; inset: -7%; background: url('/assets/hero.jpg') 68% center / cover no-repeat; transform: scale(1.07); transform-origin: 62% 60%; will-change: transform; }
.hero-sweep { position: absolute; inset: -20% -50%; background: linear-gradient(105deg, transparent 42%, rgba(255, 226, 160, .11) 50%, transparent 58%); mix-blend-mode: screen; animation: sweep 11s ease-in-out infinite alternate; pointer-events: none; }
@keyframes sweep { from { transform: translateX(-30%); } to { transform: translateX(30%); } }
.hero-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-in { position: relative; z-index: 1; }
.hero-copy { will-change: transform; }
.hero-copy > * { animation: rise .95s cubic-bezier(.2, .8, .2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: .15s; } .hero-copy > :nth-child(2) { animation-delay: .28s; }
.hero-copy > :nth-child(3) { animation-delay: .42s; } .hero-copy > :nth-child(4) { animation-delay: .56s; }
.spot-card { animation: rise 1s .5s cubic-bezier(.2, .8, .2, 1) backwards; transform-style: preserve-3d; will-change: transform; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 12, 10, .9) 0%, rgba(10, 12, 10, .62) 45%, rgba(10, 12, 10, .15) 100%), linear-gradient(0deg, rgba(10, 12, 10, .55), transparent 40%); }
.hero-in { min-height: min(78vh, 720px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fbf6ec; font-size: clamp(42px, 6vw, 76px); font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--gold-3); font-weight: 500; }
.hero .lead { color: #d7d0c3; margin: 22px 0 34px; font-size: 19px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.spot-card { justify-self: end; width: min(380px, 100%); background: rgba(18, 17, 16, .72); border: 1px solid rgba(227, 199, 147, .25); border-radius: var(--r-lg); padding: 24px; backdrop-filter: blur(10px); display: grid; gap: 16px; }
.spot-card h2 { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3); }
.spot-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--dark-line); }
.spot-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.spot-row .m { font-size: 14px; color: var(--on-dark-mute); }
.spot-row .v { font: 500 26px/1.1 var(--font); font-variant-numeric: tabular-nums; color: #fbf6ec; }
.spot-row .v small { font-size: 13px; color: var(--on-dark-mute); font-weight: 400; }
.spot-note { font-size: 12.5px; color: var(--on-dark-mute); line-height: 1.5; }
.spot-row .v { display: grid; justify-items: end; gap: 6px; }
.spot-sub { display: inline-flex; align-items: center; gap: 6px; font: 400 12.5px/1.2 var(--font); color: var(--on-dark-mute); }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 56px; padding-bottom: 48px; gap: 32px; }
  .spot-card { justify-self: stretch; width: 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 12, 10, .78), rgba(10, 12, 10, .7)); }
}

/* ------------------------------------------------------------------ product grid + cards */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 26px); }
@media (min-width: 1600px) { .pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pgrid { gap: 12px; } }
.pc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; position: relative; }
.pc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e4d5b8; }
.pc-img { display: block; aspect-ratio: 4 / 3; background: #f1ece2; overflow: hidden; position: relative; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.pc:hover .pc-img img { transform: scale(1.04); }
.pc-img .ph { width: 100%; height: 100%; display: grid; place-items: center; font: 500 28px var(--serif); color: var(--gold-deep); background: radial-gradient(circle at 30% 20%, #fbf3e3, #ece2cf); }
.pc-flag { position: absolute; top: 12px; left: 12px; }
.pc.unavail .pc-img img { filter: grayscale(.7); opacity: .75; }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-meta { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.pc-title { font: 600 20px/1.2 var(--serif); margin: 0; }
.pc-title a { text-decoration: none; }
.pc-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pc-specs { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 10px; flex-wrap: wrap; }
.pc-specs span + span::before { content: '·'; margin-right: 10px; color: var(--line-2); }
.pc-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.price { font: 500 22px/1.1 var(--font); font-variant-numeric: tabular-nums; color: var(--ink); }
.price.na { font-size: 15px; color: var(--muted); font-weight: 400; }
.price-sub { font-size: 12.5px; color: var(--muted); }
.pc .add { position: relative; z-index: 2; }
@media (max-width: 560px) {
  .pc-body { padding: 12px 12px 14px; }
  .pc-title { font-size: 17px; }
  .price { font-size: 18px; }
  .pc-specs { font-size: 12.5px; gap: 6px; }
  .pc-specs span + span::before { margin-right: 6px; }
  .pc .add { width: 100%; }
}
.empty-card { grid-column: 1 / -1; display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.empty-card img { border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; }
@media (max-width: 640px) { .empty-card { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ chips / filters */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--card); text-decoration: none; font-size: 14.5px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; color: var(--ink-2); }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"], .chip.on { background: var(--char); border-color: var(--char); color: var(--on-dark); }
.weights { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.weight-tile { display: grid; gap: 4px; padding: 22px 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, border-color .2s; }
.weight-tile:hover { transform: translateY(-3px); border-color: var(--gold); }
.weight-tile b { font: 600 30px/1 var(--serif); color: var(--ink); }
.weight-tile span { font-size: 13px; color: var(--muted); }
.toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar .input { min-height: 44px; }
.toolbar .search { flex: 1 1 240px; }
.toolbar select.input { flex: 0 1 200px; }
.filters { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 26px; align-items: center; }
.filters .grp { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.filters .grp > span { font-size: 13px; color: var(--muted); margin-right: 4px; }
.results { font-size: 14px; color: var(--muted); margin-bottom: 16px; }

/* ------------------------------------------------------------------ steps / features */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; }
.section.dark .step { background: var(--char-2); border-color: var(--dark-line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 600 14px/1 var(--font); letter-spacing: .1em; color: var(--gold-deep); }
.section.dark .step::before { color: var(--gold-3); }
.step h3 { font-size: 21px; }
.step p { font-size: 15px; color: var(--muted); }
.section.dark .step p { color: var(--on-dark-mute); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.formula { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 12px; font-variant-numeric: tabular-nums; }
.formula .row { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.formula .row:last-child { border-bottom: 0; padding-bottom: 0; font-weight: 600; }
.formula .op { color: var(--gold-deep); font-weight: 600; margin-right: 6px; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }
.trust .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 10px; align-content: start; }
.trust .card h3 { font-size: 22px; }
.trust .card p { color: var(--muted); font-size: 15px; }
.brands { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ product detail */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: start; padding-bottom: 40px; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } }
.gallery { position: sticky; top: calc(var(--tk-h) + var(--hd-h) + 24px); display: grid; gap: 12px; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery-main { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: #f1ece2; border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 57px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #f1ece2; }
.thumbs button[aria-current="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(32px, 4vw, 48px); margin: 6px 0 14px; }
.pd-mfr { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.pd-price { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.pd-price .price { font-size: clamp(32px, 4vw, 42px); }
.pd-price .price.na { font-size: 18px; }
.variant-pick { display: grid; gap: 10px; margin: 22px 0 0; }
.buy { display: grid; gap: 12px; margin-top: 24px; }
.buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 200px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--card); height: 48px; }
.qty button { width: 46px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 20px; border-radius: var(--r-pill); color: var(--ink); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty input { width: 48px; text-align: center; border: 0; background: none; font-size: 16px; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 40px; } .qty.sm button { width: 38px; font-size: 17px; } .qty.sm input { width: 36px; font-size: 15px; }
.specs { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--card); }
.specs h2 { font: 600 13px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--gold-deep); }
.specs dl { display: grid; grid-template-columns: auto 1fr; margin: 0; }
.specs dt, .specs dd { padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 15px; margin: 0; }
.specs dt { color: var(--muted); }
.specs dd { text-align: right; font-variant-numeric: tabular-nums; }
.specs dt:nth-last-of-type(1), .specs dd:last-of-type { border-bottom: 0; }
.desc { margin-top: 22px; color: var(--ink-2); white-space: pre-line; max-width: 62ch; }
.stock { font-size: 14.5px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.stock.in { color: var(--ok); } .stock.low { color: var(--warn); } .stock.out { color: var(--bad); }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ------------------------------------------------------------------ cart / checkout */
.co-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; flex-wrap: wrap; }
.co-steps li { font-size: 13px; padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); color: var(--muted); }
.co-steps li.on { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-wash); font-weight: 500; }
.co-steps li.done { color: var(--ink); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; padding-bottom: 72px; }
@media (max-width: 960px) { .two { grid-template-columns: 1fr; } }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); display: grid; gap: 18px; }
.box + .box { margin-top: 20px; }
.box h2 { font: 600 24px/1.2 var(--serif); }
.cl { display: grid; gap: 14px; }
.cr { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; }
.cr.bad { border-color: #e7b9b2; background: #fffaf9; }
.cr-img { width: 96px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #f1ece2; display: block; }
.cr-img img { width: 100%; height: 100%; object-fit: cover; }
.cr-name { font-weight: 500; text-decoration: none; }
.cr-name:hover { color: var(--gold-deep); }
.cr-meta { font-size: 13.5px; color: var(--muted); }
.cr-ctl { display: flex; gap: 14px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.cr-total { text-align: right; font: 500 18px/1.2 var(--font); font-variant-numeric: tabular-nums; }
.cr-flag { font-size: 13.5px; color: var(--bad); margin-top: 6px; }
.rm { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.rm:hover { color: var(--bad); }
@media (max-width: 600px) {
  .cr { grid-template-columns: 76px minmax(0, 1fr); }
  .cr-img { width: 76px; }
  .cr-total { grid-column: 1 / -1; text-align: left; border-top: 1px solid var(--line); padding-top: 10px; display: flex; justify-content: space-between; }
}
.summary { position: sticky; top: calc(var(--tk-h) + var(--hd-h) + 24px); }
@media (max-width: 960px) { .summary { position: static; } }
.sum-line { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--ink-2); }
.sum-line span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-line.total { font-size: 20px; color: var(--ink); padding-top: 14px; border-top: 1px solid var(--line); font-weight: 500; }
.sum-items { display: grid; gap: 10px; max-height: 320px; overflow: auto; }
.sum-note { font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------------------ order page */
.order-hero { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 20px 0 8px; }
.tick { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-wash); color: var(--ok); }
.tick svg { width: 32px; height: 32px; }
.ref { font: 500 clamp(24px, 5vw, 34px)/1.1 var(--font); letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--ink); }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.olist { display: grid; gap: 14px; }
.ocard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 10px; }
.ocard-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.ocard-head b { font-weight: 600; letter-spacing: .04em; }
.items-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.items-table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line); }
.items-table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.items-table td.num, .items-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 12px; }

/* ------------------------------------------------------------------ market hub */
.mcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .mcards { grid-template-columns: 1fr; } }
.mcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; align-content: start; }
.mcard-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mcard-head h2 { font: 600 13px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.mcard.gold .mcard-head h2 { color: var(--gold-deep); } .mcard.silver .mcard-head h2 { color: var(--silver-deep); }
.mbig { font: 500 36px/1.05 var(--font); font-variant-numeric: tabular-nums; }
.mbig small { font-size: 15px; color: var(--muted); font-weight: 400; }
.mtable { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.mtable th, .mtable td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: right; }
.mtable th:first-child, .mtable td:first-child { text-align: left; color: var(--muted); font-weight: 400; }
.mtable tr:last-child td { border-bottom: 0; }
.chart { width: 100%; height: 220px; display: block; }
.chart-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 12px; }
.chart-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-deep); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 70ch; }

/* ------------------------------------------------------------------ footer */
.ft { background: var(--char); color: var(--on-dark-mute); padding: 64px 0 calc(32px + var(--sab)); font-size: 15px; margin-top: auto; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .ft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ft-grid { grid-template-columns: 1fr; } }
.ft h2 { font: 600 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft a { color: var(--on-dark); text-decoration: none; }
.ft a:hover { color: var(--gold-3); }
.ft-logo img { height: 46px; width: auto; margin-bottom: 16px; }
.ft-bottom { border-top: 1px solid var(--dark-line); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }

/* ------------------------------------------------------------------ motion */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-bg { transform: none; }
}
@media print {
  .tk, .hd, .ft, .mnav, .btn, #toast { display: none !important; }
  body { background: #fff; }
}


/* ------------------------------------------------------------------ motion (enhancement only; see js/motion.js) */
.tilting { transition: box-shadow .3s, border-color .3s !important; }
.pc, .weight-tile, .mcard, .step, .trust .card { transform-style: preserve-3d; }
.glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .35s;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 244, 220, .42), rgba(255, 244, 220, 0) 48%); mix-blend-mode: soft-light; }
.tilting > .glare { opacity: 1; }
.weight-tile, .mcard, .step, .trust .card { position: relative; }
.pc.tilting { box-shadow: 0 30px 50px -24px rgba(29, 27, 24, .38); border-color: #e2cfa8; }
.pc.tilting .pc-img img { transform: scale(1.05) translateZ(0); }
.spot-card .glare { mix-blend-mode: screen; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 226, 160, .18), transparent 50%); }
.gallery-main { position: relative; cursor: zoom-in; }
.gallery-main img { transition: transform .35s cubic-bezier(.2, .8, .2, 1); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery-main.zoom img { transform: scale(1.9); }
.motion .pc-img img, .motion .gallery-main img, .motion .cr-img img, .motion .empty-card img { opacity: 0; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.motion img.is-loaded { opacity: 1 !important; }
.motion .rv { opacity: 0; transform: translateY(22px) scale(.985); }
.motion .rv.in { opacity: 1; transform: none; transition: opacity .75s cubic-bezier(.2, .8, .2, 1), transform .75s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; transition-delay: calc(var(--i, 0) * 70ms); }
.motion .rv.in.tilting, .motion .rv.in:hover { transition-delay: 0s; }
.tw-up { color: #2b7a52 !important; } .tw-dn { color: #ad4136 !important; }
.tk .tw-up { color: #7fdcaa !important; } .tk .tw-dn { color: #f19a8d !important; }
.tk .tw-up, .tk .tw-dn, .spot-row .tw-up, .spot-row .tw-dn { transition: color .4s; }
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-130%); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.btn-gold:hover::after { transform: translateX(130%); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.chip, .weight-tile, .tile { transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .2s, background .2s, color .2s, box-shadow .25s; }
.dd.open a { animation: ddItem .35s cubic-bezier(.2, .8, .2, 1) both; }
.dd.open a:nth-child(2) { animation-delay: .04s; } .dd.open a:nth-child(3) { animation-delay: .08s; }
@keyframes ddItem { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
#toast { transition: opacity .3s, transform .45s cubic-bezier(.2, 1.3, .4, 1); }

/* smooth page-to-page transitions (cross-document View Transitions; ignored by browsers without support) */
@view-transition { navigation: auto; }
.tk { view-transition-name: rz-ticker; }
.hd { view-transition-name: rz-header; }
::view-transition-old(root) { animation: vtOut .45s cubic-bezier(.4, 0, .2, 1) both; }
::view-transition-new(root) { animation: vtIn .45s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes vtOut { to { transform: translateY(-10px) scale(.995); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes mainIn { from { transform: translateY(14px); } }
.no-vt #main { animation: mainIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .hero-dust, .hero-sweep, .glare { display: none; }
  .gallery-main.zoom img { transform: none; }
}

/* ------------------------------------------------------------------ large screens */
@media (min-width: 1600px) {
  body { font-size: 17px; }
  .lead { font-size: 19px; }
  .hero-in { min-height: min(80vh, 820px); }
  .two { grid-template-columns: minmax(0, 1fr) 440px; }
  .weights { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (max-width: 360px) {
  .tk-units button { min-width: 28px; padding: 7px 5px; }
  .pgrid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
}

/* ------------------------------------------------------------------ scroll-linked curves (Chrome, Edge, Safari 26+; others keep the static curves) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* the hero recedes like a card as it scrolls away */
    .hero { animation: heroRecede linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes heroRecede { to { transform: scale(.93); } }
    /* rounded panels ease up into place as they enter */
    .section.alt, .section.dark { animation: panelRise linear both; animation-timeline: view(); animation-range: entry 0% entry 360px; }
    @keyframes panelRise { from { transform: translateY(56px) scale(.965); opacity: .5; } to { transform: none; opacity: 1; } }
  }
}
@media print { #main { background: #fff; border-radius: 0; } .hd::before, .hd::after { display: none; } }

/* ------------------------------------------------------------------ brand loader (shown on arrival; see js/boot.js)
   The logo is rebuilt from slices of /logo.png itself, so it is pixel-faithful: the six gold squares
   trace the "L", the seven silver outlines fill the grid, then the wordmark sweeps in with a shimmer.
   Coordinates are in logo.png pixels; --k scales them (content box = 633 x 263 px from x 5, y 25). */
.rz-loader { display: none; }
html.rz-loading .rz-loader {
  display: flex; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 44%, #1e1a13 0%, #0e0d0b 55%, #0a0908 100%); will-change: transform;
}
.rz-loader-in { display: grid; justify-items: center; gap: clamp(22px, 4vh, 34px); padding: 0 16px; }
.rz-logo { --logo-w: min(340px, 74vw); --k: calc(var(--logo-w) / 633); position: relative; width: var(--logo-w); height: calc(263 * var(--k)); }
.rz-logo i, .rz-word {
  position: absolute; display: block;
  left: calc((var(--x) - 5) * var(--k)); top: calc((var(--y) - 25) * var(--k));
  width: calc(var(--w) * var(--k)); height: calc(var(--h) * var(--k));
  background: url('/logo.png') no-repeat;
  background-size: calc(644 * var(--k)) calc(300 * var(--k));
  background-position: calc(var(--x) * var(--k) * -1) calc(var(--y) * var(--k) * -1);
}
/* gold "L": traced from the corner along both arms */
.rz-logo i:nth-child(1)  { --x: 5;   --y: 25;  --w: 43; --h: 42; --d: 0; }
.rz-logo i:nth-child(2)  { --x: 64;  --y: 25;  --w: 43; --h: 42; --d: 1; }
.rz-logo i:nth-child(3)  { --x: 123; --y: 25;  --w: 43; --h: 42; --d: 2; }
.rz-logo i:nth-child(4)  { --x: 5;   --y: 83;  --w: 43; --h: 43; --d: 1; }
.rz-logo i:nth-child(5)  { --x: 5;   --y: 142; --w: 43; --h: 43; --d: 2; }
.rz-logo i:nth-child(6)  { --x: 5;   --y: 200; --w: 43; --h: 43; --d: 3; }
/* silver outlines: a diagonal wave */
.rz-logo i:nth-child(7)  { --x: 60;  --y: 80;  --w: 51; --h: 50; --d: 4; }
.rz-logo i:nth-child(8)  { --x: 60;  --y: 138; --w: 51; --h: 50; --d: 5; }
.rz-logo i:nth-child(9)  { --x: 119; --y: 138; --w: 50; --h: 50; --d: 6; }
.rz-logo i:nth-child(10) { --x: 178; --y: 138; --w: 50; --h: 50; --d: 7; }
.rz-logo i:nth-child(11) { --x: 60;  --y: 197; --w: 51; --h: 50; --d: 6; }
.rz-logo i:nth-child(12) { --x: 119; --y: 197; --w: 50; --h: 50; --d: 7; }
.rz-logo i:nth-child(13) { --x: 178; --y: 197; --w: 50; --h: 50; --d: 8; }
.rz-logo i { opacity: 0; animation: rzDrop .6s cubic-bezier(.2, 1.3, .35, 1) calc(.15s + var(--d) * 85ms) both; }
.rz-logo i:nth-child(-n + 6) {
  animation: rzDrop .6s cubic-bezier(.2, 1.3, .35, 1) calc(.15s + var(--d) * 85ms) both, rzGlow 1.4s ease-in-out 1s infinite alternate;
}
@keyframes rzDrop { from { opacity: 0; transform: translateY(-28px) scale(.5) rotate(-12deg); } 55% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes rzGlow { from { filter: drop-shadow(0 0 0 rgba(227, 199, 147, 0)); } to { filter: drop-shadow(0 0 9px rgba(227, 199, 147, .55)); } }
.rz-word { --x: 244; --y: 140; --w: 394; --h: 148; clip-path: inset(0 100% 0 0); animation: rzWipe .9s cubic-bezier(.65, 0, .35, 1) .6s forwards; }
@keyframes rzWipe { to { clip-path: inset(0 0 0 0); } }
.rz-word::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 246, 222, .95) 50%, transparent 58%) no-repeat;
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-mask: url('/logo.png') no-repeat; mask: url('/logo.png') no-repeat;
  -webkit-mask-size: calc(644 * var(--k)) calc(300 * var(--k)); mask-size: calc(644 * var(--k)) calc(300 * var(--k));
  -webkit-mask-position: calc(var(--x) * var(--k) * -1) calc(var(--y) * var(--k) * -1); mask-position: calc(var(--x) * var(--k) * -1) calc(var(--y) * var(--k) * -1);
  animation: rzShine 1.3s ease-in-out 1.2s both;
}
@keyframes rzShine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.rz-line { width: min(220px, 50vw); height: 1px; background: rgba(243, 238, 229, .12); overflow: hidden; border-radius: 1px; }
.rz-line span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-3)); transform: scaleX(0); transform-origin: left; animation: rzFill 1.5s cubic-bezier(.65, 0, .35, 1) .2s forwards; }
@keyframes rzFill { to { transform: scaleX(1); } }
.rz-tag { margin: 0; font: 500 11px/1.4 var(--font); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-3); text-align: center; opacity: 0; animation: rzFade .8s ease 1s forwards; }
@keyframes rzFade { to { opacity: .75; } }
/* exit: the logo lifts and the screen rises away with a curved edge */
html.rz-loaded .rz-loader { transform: translateY(-101%); border-radius: 0 0 50% 50% / 0 0 16vh 16vh; pointer-events: none;
  transition: transform .95s cubic-bezier(.76, 0, .24, 1) .18s, border-radius .55s ease; }
html.rz-loaded .rz-loader-in { opacity: 0; transform: translateY(-18px) scale(.97); transition: opacity .32s ease, transform .5s ease; }
/* hold the homepage entrance until the curtain starts to lift */
html.rz-loading:not(.rz-loaded) .hero-stage,
html.rz-loading:not(.rz-loaded) .hero-copy > *,
html.rz-loading:not(.rz-loaded) .spot-card { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { html.rz-loading .rz-loader { display: none; } }
@media print { .rz-loader { display: none !important; } }
