/* ============================================================
   THE ASSAY WINDOW — landing cover concept for Instant Bullion
   Palette: vault-steel ground, one warm gold, mint for "live"
   Type: Bodoni Moda (engraved display) / Archivo (UI) / Plex Mono (data)
   ============================================================ */

/* --- tokens: Instant Bullion brand theme (Pure White Ground, Lato font, Gold & Navy accents) --- */
:root {
  --stage: #ffffff;
  --stage-2: #f8fafc;
  --stage-3: #f1f5f9;
  --veil: transparent;
  --edge: #e2e8f0;
  --edge-2: #cbd5e1;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --gold: #c9a84c;
  --gold-ink: #c9a84c;
  --gold-hi: #e0c878;
  --gold-lo: #b8860b;
  --good: #10b981;
  --warm: #f55f1e;
  --live: #10b981;
  --gold-wash: rgba(201, 168, 76, .08);
  --gold-wash2: rgba(201, 168, 76, .16);
  --gold-line: #c9a84c;
  --bloom: 0;
  --grain: 0;
  --card: #ffffff;
  --shadow: 0 24px 60px -20px rgba(15, 23, 42, .18);

  --f-display: var(--font-family-display, 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  --f-ui: var(--font-family-sans, 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
  --f-mono: var(--font-family-sans, 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --stage: #ffffff;
    --stage-2: #f8fafc;
    --stage-3: #f1f5f9;
    --veil: transparent;
    --edge: #e2e8f0;
    --edge-2: #cbd5e1;
    --ink: #0f172a;
    --ink-2: #334155;
    --ink-3: #64748b;
    --gold-ink: #c9a84c;
    --good: #10b981;
    --warm: #f55f1e;
    --live: #10b981;
    --bloom: 0;
    --grain: 0;
    --card: #ffffff;
    --shadow: 0 24px 60px -20px rgba(15, 23, 42, .18);
  }
}

:root[data-theme="light"] {
  --stage: #ffffff;
  --stage-2: #f8fafc;
  --stage-3: #f1f5f9;
  --veil: transparent;
  --edge: #e2e8f0;
  --edge-2: #cbd5e1;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --gold-ink: #c9a84c;
  --good: #10b981;
  --warm: #f55f1e;
  --live: #10b981;
  --gold-wash: rgba(201, 168, 76, .08);
  --gold-wash2: rgba(201, 168, 76, .16);
  --gold-line: #c9a84c;
  --bloom: 0;
  --grain: 0;
  --card: #ffffff;
  --shadow: 0 24px 60px -20px rgba(15, 23, 42, .18);
}

/* Scope root variables to .stage or document */
.stage {
  box-sizing: border-box;
  color: var(--ink-2);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.stage *,
.stage *::before,
.stage *::after {
  box-sizing: border-box;
}

.stage a {
  color: inherit;
  text-decoration: none;
}

.stage {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff !important;
}

/* Hide background noisy canvas and overlays on stage for pure white ground */
#fieldBg {
  display: none !important;
}

.stage__veil {
  display: none !important;
}

.stage__bloom {
  display: none !important;
}

.grain {
  display: none !important;
}

@keyframes grainshift {
  0% {
    transform: translate(0, 0)
  }

  16% {
    transform: translate(-14px, 7px)
  }

  33% {
    transform: translate(9px, -12px)
  }

  50% {
    transform: translate(-7px, -6px)
  }

  66% {
    transform: translate(12px, 10px)
  }

  83% {
    transform: translate(-11px, 4px)
  }

  100% {
    transform: translate(0, 0)
  }
}

/* registration marks — this is a certified specimen, so it is framed like one */
.reg {
  position: absolute;
  z-index: 5;
  width: 26px;
  height: 26px;
  pointer-events: none;
  opacity: .5;
}

.reg::before,
.reg::after {
  content: "";
  position: absolute;
  background: var(--edge-2);
}

.reg::before {
  width: 100%;
  height: 1px;
  top: 0;
}

.reg::after {
  height: 100%;
  width: 1px;
  left: 0;
}

.reg--tl {
  top: 22px;
  left: 22px;
}

.reg--tr {
  top: 22px;
  right: 22px;
  transform: scaleX(-1);
}

.reg--bl {
  bottom: 22px;
  left: 22px;
  transform: scaleY(-1);
}

.reg--br {
  bottom: 22px;
  right: 22px;
  transform: scale(-1);
}

/* ---------------------- live rate rail ---------------------- */
.rail {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(6px);
  overflow-x: auto;
  scrollbar-width: none;
  opacity: 0;
  animation: fadeIn .7s .15s ease forwards;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail__brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 14px 22px 14px 26px;
  border-right: 1px solid var(--edge);
  flex: none;
}

.rail__mark {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .01em;
}

.rail__mark em {
  font-style: italic;
  color: var(--gold-ink);
}

.rail__loc {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.rail__live {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
  padding: 0 20px;
  border-right: 1px solid var(--edge);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--live);
  align-self: stretch;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(169, 220, 190, .55)
  }

  70% {
    box-shadow: 0 0 0 8px rgba(169, 220, 190, 0)
  }

  100% {
    box-shadow: 0 0 0 0 rgba(169, 220, 190, 0)
  }
}

.quotes {
  display: flex;
  flex: 1;
  min-width: 0;
}

.q {
  flex: 1;
  min-width: 280px;
  padding: 9px 18px;
  border: 0;
  border-right: 1px solid var(--edge);
  border-bottom: 2px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 14px;
  transition: background .25s, border-color .25s;
}

.q__col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.q:last-child {
  border-right: 0;
}

.q:hover,
.q.is-active {
  background: var(--card);
  border-bottom-color: var(--gold);
}

.q__k {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.q__v {
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 14.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.q__d {
  font-size: 10.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.q.is-tick .q__v {
  color: var(--gold-ink);
  transition: color .1s;
}

/* verdict chip — the only place colour makes a judgement, always with a word */
.q__dma {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-3);
}

.q[data-state="under"] .q__dma {
  color: var(--good);
}

.q[data-state="over"] .q__dma {
  color: var(--warm);
}

.spark {
  width: 86px;
  height: 28px;
  flex: none;
  overflow: visible;
}

.spark .fill {
  fill: var(--gold);
  opacity: .16;
}

.spark .line {
  fill: none;
  stroke: var(--gold-ink);
  stroke-width: 1.75;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.spark .dma {
  stroke: var(--ink-3);
  stroke-width: 1;
  stroke-dasharray: 2.5 2.5;
  opacity: .75;
}

.spark .end {
  fill: var(--gold);
  stroke: var(--stage);
  stroke-width: 2;
}

/* ---------------------- insight strip ---------------------- */
.insight {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  padding: 0 clamp(18px, 2vw, 26px);
  height: 46px;
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(6px);
  opacity: 0;
  animation: fadeIn .7s .35s ease forwards;
}

.insight__mark {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--gold);
  transform: rotate(45deg);
}

.insight__reel {
  flex: 1;
  min-width: 0;
  height: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.insight__line {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: .005em;
}

.insight__line b {
  color: var(--ink);
  font-weight: 500;
}

.insight__line em {
  font-style: normal;
  color: var(--gold-ink);
}

@keyframes rollIn {
  from {
    opacity: 0;
    transform: translateY(90%)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* 30-day range meter — where today sits, at a glance */
.rangemeter {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.rm__track {
  position: relative;
  width: 124px;
  height: 3px;
  border-radius: 2px;
  background: var(--edge-2);
}

.rm__dma {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 1px;
  background: var(--ink-3);
  left: 50%;
  transition: left .5s cubic-bezier(.16, .84, .28, 1);
}

.rm__dot {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--stage);
  transform: translate(-50%, -50%);
  transition: left .5s cubic-bezier(.16, .84, .28, 1);
  left: 22%;
}

.rm__pct {
  color: var(--ink-2);
}

.insight__cta {
  flex: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: var(--gold-wash);
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-ink);
  transition: background .25s, border-color .25s;
}

.insight__cta:hover {
  background: var(--gold-wash2);
  border-color: var(--gold);
}

.insight__cta b {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  opacity: .8;
}

/* ---------------------- hero grid ---------------------- */
.hero {
  position: relative;
  z-index: 3;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 48px);
  padding: clamp(40px, 6vh, 72px) 0 clamp(36px, 5vh, 54px);
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.lede {
  position: relative;
  z-index: 3;
  max-width: 640px;
  padding-right: 12px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--f-ui);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: clamp(16px, 2.6vh, 26px);
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow i {
  width: 16px;
  height: 1px;
  background: var(--edge-2);
  display: block;
  font-style: normal;
}

.stage h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 clamp(16px, 2.4vh, 24px);
  text-wrap: balance;
}

.stage h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
  margin-bottom: -.08em;
}

.stage h1 .line>span {
  display: block;
  transform: translateY(105%);
  animation: riseIn .95s cubic-bezier(.16, .84, .28, 1) forwards;
}

.stage h1 .line:nth-child(1)>span {
  animation-delay: .15s;
}

.stage h1 .line:nth-child(2)>span {
  animation-delay: .28s;
}

.stage h1 em {
  font-style: italic;
  font-weight: 800;
  color: var(--gold);
}

@keyframes riseIn {
  to {
    transform: translateY(0);
  }
}

.sub {
  font-family: var(--f-ui);
  font-size: clamp(15px, 1.08vw, 17px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 48ch;
  margin: 0 0 clamp(24px, 3.4vh, 34px);
  opacity: 0;
  animation: fadeUp .9s .45s cubic-bezier(.16, .84, .28, 1) forwards;
}

.sub b {
  color: var(--ink);
  font-weight: 600;
}

.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .9s .6s cubic-bezier(.16, .84, .28, 1) forwards;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--f-ui);
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all .25s cubic-bezier(.16, .84, .28, 1);
  letter-spacing: .02em;
}

/* Primary Live Rate Button */
.btn--gold {
  padding: 12px 14px 12px 24px;
  color: #ffffff !important;
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 4px 14px rgba(201, 168, 76, .35);
}

.btn--gold:hover {
  background: var(--gold-lo) !important;
  border-color: var(--gold-lo) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 134, 11, .45);
}

.rate {
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border-radius: 8px;
  padding: 5px 12px;
  white-space: nowrap;
}

.btn--gold .rate {
  background: rgba(0, 0, 0, .16);
  color: #ffffff;
}

/* Secondary Target Rate Button */
.btn--target {
  padding: 12px 14px 12px 24px;
  color: var(--ink) !important;
  border: 1.5px solid var(--gold) !important;
  background: transparent !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}

.btn--target:hover {
  background: rgba(201, 168, 76, .08) !important;
  border-color: var(--gold-lo) !important;
  color: var(--gold-lo) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 168, 76, .18);
}

.btn--target i {
  font-style: italic;
  font-weight: 700;
  font-family: inherit;
}

.btn--target .rate {
  background: rgba(201, 168, 76, .12);
  color: var(--gold-lo);
  border: 1px solid rgba(201, 168, 76, .4);
}

.quietlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  text-decoration: none;
  font-family: var(--f-ui);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: all .25s ease;
  opacity: 0;
  animation: fadeUp .9s .85s ease forwards;
}

.quietlink:hover {
  color: var(--gold-lo);
  border-bottom-color: var(--gold-lo);
}

.btn--gold::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  width: 38%;
  left: -45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg);
  animation: sheen 5.2s 1.6s ease-in-out infinite;
}

@keyframes sheen {
  0% {
    left: -45%
  }

  22% {
    left: 125%
  }

  100% {
    left: 125%
  }
}

.btn__i {
  transition: transform .3s cubic-bezier(.16, .84, .28, 1);
}

.btn:hover .btn__i {
  transform: translateX(4px);
}

.microcopy {
  margin-top: 16px;
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--ink-3);
  opacity: 0;
  animation: fadeUp .9s .75s ease forwards;
}

.microcopy b {
  color: var(--ink);
  font-weight: 600;
}

/* ---------------------- the assay window ---------------------- */
.windowwrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  margin-left: -56px;
  z-index: 2;
}

.assaybox {
  position: relative;
  width: min(100%, 520px);
}

.assay {
  position: relative;
  width: 100%;
  aspect-ratio: .78;
  max-height: 62vh;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--edge-2);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(247, 226, 168, .16);
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.16, .84, .28, 1);
  opacity: 0;
  animation: windowIn 1.3s .1s cubic-bezier(.16, .84, .28, 1) forwards;
  background: #0A0C0A;
}

@keyframes windowIn {
  from {
    opacity: 0;
    clip-path: inset(46% 0 46% 0);
    filter: blur(14px);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: blur(0);
  }
}

#fieldWin {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(1.5px) contrast(1.08) saturate(1.12);
  transform: scale(1.04);
}

.assay__inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 50% 30%, transparent 0%, rgba(6, 7, 6, .42) 78%),
    linear-gradient(180deg, rgba(6, 7, 6, .30) 0%, transparent 26%, transparent 62%, rgba(6, 7, 6, .62) 100%);
}

.assay__sweep {
  position: absolute;
  top: -40%;
  bottom: -40%;
  width: 44%;
  left: -55%;
  background: linear-gradient(100deg, transparent, rgba(255, 246, 220, .16) 40%, rgba(255, 246, 220, .30) 52%, transparent);
  transform: skewX(-14deg);
  animation: sweep 9s 2.2s cubic-bezier(.5, 0, .2, 1) infinite;
  pointer-events: none;
}

@keyframes sweep {
  0% {
    left: -55%
  }

  26% {
    left: 130%
  }

  100% {
    left: 130%
  }
}

/* the ingot */
.ingot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 74%;
  transform: translate(-50%, -50%) translateZ(46px) rotate(-6.5deg);
  animation: float 9s ease-in-out infinite;
}

.ingot__img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .85)) drop-shadow(0 6px 14px rgba(0, 0, 0, .55)) drop-shadow(0 0 46px rgba(217, 164, 65, .26));
}

/* gold on gold: a pool of shadow under the bar so it reads as an object in front
   of the molten field rather than part of it */
.ingot::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -6%;
  right: -6%;
  top: 2%;
  bottom: -6%;
  background: radial-gradient(52% 46% at 50% 54%, rgba(4, 5, 4, .66), transparent 72%);
  filter: blur(12px);
}

/* the specular the pointer drives, kept inside the bar's own silhouette */
.ingot__glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(30% 40% at var(--sx, 26%) var(--sy, 24%),
      rgba(255, 252, 238, .50), transparent 62%);
  mix-blend-mode: screen;
  -webkit-mask-image: var(--ingotmask);
  mask-image: var(--ingotmask);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: background .18s linear;
}

@keyframes float {

  0%,
  100% {
    transform: translate(-50%, -50%) translateZ(46px) rotate(-6.5deg) translateY(0)
  }

  50% {
    transform: translate(-50%, -50%) translateZ(46px) rotate(-6.5deg) translateY(-11px)
  }
}

/* certificate furniture inside the window */
.assay__stamp {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(247, 226, 168, .82);
}

.assay__stamp b {
  font-weight: 400;
  padding: 4px 8px;
  border: 1px solid rgba(247, 226, 168, .34);
  border-radius: 3px;
}

.assay__sn {
  position: absolute;
  right: 14px;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .32em;
  color: rgba(247, 226, 168, .5);
  white-space: nowrap;
}

.assay__foot {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(239, 237, 228, .58);
}

.assay__sig {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(247, 226, 168, .72);
}

/* floating trust chips orbiting the window */
.chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #0f172a;
  backdrop-filter: blur(14px);
  font-family: var(--f-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 10px 25px -8px rgba(15, 23, 42, .35);
  opacity: 0;
  animation: chipIn .8s cubic-bezier(.16, .84, .28, 1) forwards, bob 7s ease-in-out infinite;
}

.chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.chip--a {
  left: -14%;
  top: 9%;
  animation-delay: 1.05s, 1.9s;
}

.chip--b {
  right: -16%;
  top: 31%;
  animation-delay: 1.2s, 2.4s;
}

.chip--c {
  left: -17%;
  bottom: 26%;
  animation-delay: 1.35s, 2.1s;
}

.chip--d {
  right: -13%;
  bottom: 11%;
  animation-delay: 1.5s, 2.7s;
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bob {

  0%,
  100% {
    translate: 0 0
  }

  50% {
    translate: 0 -7px
  }
}

/* ---------------------- the delivery lane ----------------------
   The logo's own idea — bars, speed, truck — redrawn in this palette and
   sent on an actual run: Kamla Nagar to the customer's door, on a loop. */
.lane {
  position: relative;
  z-index: 4;
  height: 58px;
  flex: none;
  background: #ffffff;
  border-top: 1px solid var(--edge);
  padding: 0 clamp(18px, 2.4vw, 36px);
  display: flex;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn .8s 1s ease forwards;
}

.lane__label {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}

.lane__label b {
  color: var(--ink);
  font-weight: 700;
}

.lane__pin {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--ink-3);
}

.lane__pin--from {
  border-radius: 1px;
}

.lane__pin--to {
  border-radius: 50%;
  background: var(--gold);
  animation: pinDrop var(--lane-dur, 9s) linear infinite;
}

@keyframes pinDrop {

  0%,
  56% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(217, 164, 65, .55);
  }

  62% {
    transform: scale(1.7);
    box-shadow: 0 0 0 7px rgba(217, 164, 65, 0);
  }

  70%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(217, 164, 65, 0);
  }
}

.lane__swap {
  display: grid;
  min-width: 132px;
}

.lane__swap>span {
  grid-area: 1/1;
  white-space: nowrap;
}

.lane__eta {
  animation: etaOut var(--lane-dur, 9s) linear infinite;
}

.lane__done {
  color: var(--good);
  opacity: 0;
  animation: doneIn var(--lane-dur, 9s) linear infinite;
}

@keyframes etaOut {

  0%,
  57% {
    opacity: 1
  }

  60%,
  82% {
    opacity: 0
  }

  86%,
  100% {
    opacity: 1
  }
}

@keyframes doneIn {

  0%,
  59% {
    opacity: 0
  }

  62%,
  81% {
    opacity: 1
  }

  85%,
  100% {
    opacity: 0
  }
}

/* the road */
.lane__track {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 56px;
  margin: 0 8px 0 16px;
  display: flex;
  align-items: center;
}

.lane__road {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--edge-2);
}

.lane__road::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
      var(--ink-3) 0 6px, transparent 6px 16px);
  opacity: .35;
}

.lane__fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  box-shadow: 0 0 8px 0 rgba(217, 164, 65, .5);
  animation: laneFill var(--lane-dur, 9s) cubic-bezier(.42, 0, .4, 1) infinite;
}

@keyframes laneFill {

  0%,
  4% {
    transform: scaleX(0);
    opacity: 1
  }

  56%,
  80% {
    transform: scaleX(1);
    opacity: 1
  }

  88%,
  100% {
    transform: scaleX(1);
    opacity: 0
  }
}

/* the mark itself */
.lane__truck {
  position: absolute;
  left: 0;
  top: 50%;
  width: 126px;
  margin-top: -28px;
  animation: laneRun var(--lane-dur, 9s) cubic-bezier(.42, 0, .4, 1) infinite;
}

.lane__truck svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

@keyframes laneRun {

  0%,
  2% {
    transform: translateX(0);
    opacity: 0
  }

  5% {
    transform: translateX(calc(var(--travel, 520px) * .05));
    opacity: 1
  }

  56% {
    transform: translateX(var(--travel, 520px));
    opacity: 1
  }

  59% {
    transform: translateX(calc(var(--travel, 520px) - 4px));
  }

  62%,
  80% {
    transform: translateX(var(--travel, 520px));
    opacity: 1
  }

  88%,
  100% {
    transform: translateX(var(--travel, 520px));
    opacity: 0
  }
}

.lane__streaks {
  animation: laneStreaks var(--lane-dur, 9s) linear infinite;
}

@keyframes laneStreaks {

  0%,
  3% {
    opacity: 0
  }

  9%,
  50% {
    opacity: .9
  }

  58%,
  100% {
    opacity: 0
  }
}

.lane__wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: laneRoll var(--lane-dur, 9s) cubic-bezier(.42, 0, .4, 1) infinite;
}

@keyframes laneRoll {

  0%,
  3% {
    transform: rotate(0)
  }

  56%,
  100% {
    transform: rotate(1080deg)
  }
}

.lane__load {
  animation: laneLoad var(--lane-dur, 9s) linear infinite;
}

@keyframes laneLoad {

  0%,
  55% {
    transform: translateY(0);
    opacity: 1
  }

  58% {
    transform: translateY(2px);
    opacity: 1
  }

  62%,
  84% {
    transform: translateY(7px);
    opacity: 0
  }

  90%,
  100% {
    transform: translateY(0);
    opacity: 1
  }
}

@media (max-width:900px) {
  .lane {
    height: 52px;
    padding: 0 20px;
  }

  .lane__truck {
    width: 96px;
    margin-top: -24px;
  }

  .lane__label {
    font-size: 8.5px;
    letter-spacing: .11em;
  }

  .lane__label .opt {
    display: none;
  }

  .lane__track {
    margin: 0 10px;
  }

  .lane__swap {
    min-width: 104px;
  }
}

@media (max-width:520px) {
  .lane__label--from {
    display: none;
  }

  .lane__truck {
    width: 78px;
    margin-top: -20px;
  }
}

/* the handover: cargo leaves the truck and lands at the door */
.lane__load {
  animation: laneLoad var(--lane-dur, 9s) linear infinite;
}

.lane__drop {
  position: absolute;
  right: 4px;
  top: 50%;
  width: 46px;
  margin-top: -17px;
  opacity: 0;
  animation: dropIn var(--lane-dur, 9s) cubic-bezier(.2, 1.2, .4, 1) infinite;
}

.lane__drop svg {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes dropIn {

  0%,
  56% {
    opacity: 0;
    transform: translateY(-16px) scale(.9)
  }

  62% {
    opacity: 1;
    transform: translateY(0) scale(1)
  }

  65% {
    transform: translateY(-3px) scale(1)
  }

  68%,
  80% {
    opacity: 1;
    transform: translateY(0) scale(1)
  }

  88%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(1)
  }
}

/* ---------------------- hero footer ---------------------- */
.trustbar {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--edge);
  opacity: 0;
  animation: fadeIn .9s 1.5s ease forwards;
}

.trustbar__i {
  flex: 1;
  min-width: 170px;
  padding: 15px clamp(16px, 2.2vw, 28px);
  border-right: 1px solid var(--edge);
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.trustbar__i:last-child {
  border-right: 0;
}

.trustbar__i b {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--gold);
  transform: rotate(45deg);
}

.scrollcue {
  flex: none;
  padding: 15px 200px 15px 24px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-left: 1px solid var(--edge);
  display: flex;
  align-items: center;
  gap: 9px;
}

.scrollcue span {
  animation: nudge 2.2s ease-in-out infinite;
  display: block;
}

@keyframes nudge {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(3px)
  }
}

@keyframes fadeIn {
  to {
    opacity: 1
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* ============================ BELOW THE FOLD ============================ */
.today {
  position: relative;
  padding: clamp(64px, 9vh, 120px) clamp(26px, 4vw, 72px) clamp(56px, 8vh, 100px);
  max-width: 1560px;
  margin: 0 auto;
  border-top: 1px solid var(--edge);
}

.sechead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vh, 48px);
}

.sechead h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0;
}

.sechead h2 em {
  font-style: italic;
  color: var(--gold-ink);
}

.sechead p {
  margin: 0;
  max-width: 38ch;
  color: var(--ink-2);
  font-size: 14.5px;
}

.masonry {
  columns: 4 260px;
  column-gap: 18px;
}

.pcard {
  break-inside: avoid;
  margin: 0 0 18px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
  transform: translateY(26px);
  opacity: 0;
  transition: transform .8s cubic-bezier(.16, .84, .28, 1), opacity .8s ease, border-color .35s;
}

.pcard.in {
  transform: none;
  opacity: 1;
}

.pcard:hover {
  border-color: var(--edge-2);
}

.pcard__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(90% 80% at 50% 22%, var(--stage-3), var(--stage-2) 70%);
  border-bottom: 1px solid var(--edge);
  overflow: hidden;
}

.pcard__art::after {
  content: "";
  position: absolute;
  top: -50%;
  bottom: -50%;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 246, 220, .13), transparent);
  transform: skewX(-16deg);
  transition: left .9s cubic-bezier(.16, .84, .28, 1);
}

.pcard:hover .pcard__art::after {
  left: 130%;
}

.h-tall .pcard__art {
  height: 230px;
}

.h-mid .pcard__art {
  height: 176px;
}

.h-low .pcard__art {
  height: 140px;
}

.coin {
  position: relative;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg, #8A9490 0deg, #E8EDEA 12deg, #99A39E 26deg, #F3F6F4 40deg,
      #7E8884 58deg, #DDE3E0 76deg, #8E9894 96deg, #EFF3F1 118deg,
      #869090 140deg, #E3E9E6 166deg, #8A9490 190deg, #F0F4F2 214deg,
      #7C8682 240deg, #DCE2DF 268deg, #909A96 296deg, #EDF1EF 324deg, #8A9490 360deg);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .10), inset 0 0 22px rgba(30, 40, 35, .5),
    0 14px 30px -12px rgba(0, 0, 0, .7);
  display: grid;
  place-items: center;
  transition: transform .8s cubic-bezier(.16, .84, .28, 1);
}

.pcard__art .medslot--sm {
  width: 112px;
  margin: 0 auto;
}

.pcard:hover .med__face {
  transform: rotate(8deg) scale(1.05);
}

.pcard:hover .med__sheen {
  transform: rotate(180deg);
  opacity: .9;
}

.pcard:hover .coin {
  transform: rotate(28deg);
}

.coin span {
  transition: transform .8s cubic-bezier(.16, .84, .28, 1);
}

.pcard:hover .coin span {
  transform: rotate(-28deg);
}

.coin::before {
  /* struck face — the conic stays a milled rim */
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background: radial-gradient(62% 62% at 34% 26%, #F3F7F5 0%, #B4BEB9 44%, #808A86 76%, #CBD4D0 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), inset 0 2px 7px rgba(28, 38, 33, .35);
}

.coin--gold::before {
  background: radial-gradient(62% 62% at 34% 26%, #F9EFCE 0%, #D4A94E 44%, #8A6220 76%, #E2C176 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 208, .28), inset 0 2px 7px rgba(52, 33, 4, .38);
}

.coin span {
  position: relative;
  z-index: 1;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 19px;
  color: rgba(40, 52, 46, .66);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .45);
}

.coin--gold span {
  color: rgba(66, 42, 6, .6);
  text-shadow: 0 1px 0 rgba(255, 244, 208, .42);
}

.coin--gold {
  background:
    conic-gradient(from 0deg, #8A6220 0deg, #F4DFA6 14deg, #C0902F 30deg, #F8EBC4 46deg,
      #7C5518 66deg, #E5C475 88deg, #A87C26 112deg, #F6E4B2 136deg,
      #85601E 162deg, #EAD08A 190deg, #B38830 216deg, #F9EDC8 244deg,
      #7C5518 272deg, #E2C070 300deg, #A87C26 330deg, #F4DFA6 360deg);
}

.coin--gold span {
  color: rgba(70, 45, 8, .6);
}

.barmini {
  width: 150px;
  height: 88px;
  border-radius: 5px;
  background: linear-gradient(163deg, #7E888400, #0000),
    linear-gradient(163deg, #8A9490 0%, #EAEFEC 16%, #9BA5A0 34%, #F2F5F3 52%, #87918D 70%, #DFE5E2 86%, #909A96 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 4px rgba(40, 52, 46, .45),
    0 14px 28px -12px rgba(0, 0, 0, .65);
  display: grid;
  place-items: center;
  text-align: center;
  transition: transform .8s cubic-bezier(.16, .84, .28, 1);
}

.pcard:hover .barmini {
  transform: translateY(-4px) rotate(-2deg);
}

.barmini b {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  color: rgba(40, 52, 46, .66);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}

.barmini i {
  display: block;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 7.5px;
  letter-spacing: .22em;
  color: rgba(40, 52, 46, .5);
}

.barmini--gold {
  background: linear-gradient(163deg, #7C5518 0%, #EFD79A 16%, #C1912F 34%, #F8EBC4 52%, #8A6220 70%, #E3C070 86%, #A87C26 100%);
}

.barmini--gold b,
.barmini--gold i {
  color: rgba(70, 45, 8, .62);
  text-shadow: 0 1px 0 rgba(255, 244, 208, .5);
}

.pcard__body {
  padding: 15px 17px 17px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pcard__name {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
}

.pcard__meta {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.pcard__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.pcard__price {
  font-family: var(--f-mono);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
  color: var(--ink);
}

.tag {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--edge-2);
  color: var(--gold-ink);
}

.pcard--wide {
  background: linear-gradient(150deg, var(--stage-2), var(--card));
}

.pcard--wide .pcard__body {
  padding: 22px 20px 24px;
  gap: 12px;
}

.pcard--wide h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0;
}

.pcard--wide h3 em {
  font-style: italic;
  color: var(--gold-ink);
}

.pcard--wide p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ============================ DESIGN NOTES ============================ */
.notes {
  border-top: 1px solid var(--edge);
  background: var(--stage-2);
  padding: clamp(56px, 8vh, 96px) clamp(26px, 4vw, 72px);
}

.notes__in {
  max-width: 1180px;
  margin: 0 auto;
}

.notes__lab {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.notes h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 34px;
}

.ncols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
}

@media (max-width:1100px) {
  .ncols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:620px) {
  .ncols {
    grid-template-columns: 1fr;
  }
}

.ncell {
  background: var(--stage-2);
  padding: 22px 22px 26px;
}

.ncell h3 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 12px;
  font-weight: 400;
}

.ncell p {
  margin: 0 0 10px;
  font-size: 13.6px;
  line-height: 1.62;
  color: var(--ink-2);
}

.ncell p:last-child {
  margin-bottom: 0;
}

.ncell b {
  color: var(--ink);
  font-weight: 500;
}

.sw {
  display: flex;
  gap: 0;
  margin: 4px 0 14px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--edge);
}

.sw div {
  flex: 1;
  height: 34px;
}

.swl {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: var(--ink-3);
}

/* ============================ MEDALLIONS ============================
   A struck-coin system: milled rim, beaded inner ring, curved legend and a
   two-tone relief motif. One generator, used at both sizes on the page. */
.medslot {
  display: block;
  width: 100%;
}

.med {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.med__face {
  transition: transform .9s cubic-bezier(.16, .84, .28, 1);
  transform-box: fill-box;
  transform-origin: center;
}

.med__sheen {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 1.1s cubic-bezier(.16, .84, .28, 1), opacity .5s ease;
  opacity: .55;
}

/* relief: shadow down-right, highlight up-left, face on top */
.med--gold .rl--dk {
  fill: #4E360D;
  opacity: .85;
}

.med--gold .rl--lt {
  fill: #FCF1D2;
  opacity: .85;
}

.med--gold .rl--fc {
  fill: #C0912E;
}

.med--silver .rl--dk {
  fill: #3D4643;
  opacity: .8;
}

.med--silver .rl--lt {
  fill: #FBFDFC;
  opacity: .9;
}

.med--silver .rl--fc {
  fill: #A2ACA7;
}

.med__legend {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.med--gold .med__legend {
  fill: #5C3F0F;
  opacity: .92;
}

.med--silver .med__legend {
  fill: #3F4844;
  opacity: .92;
}

.med__deva {
  font-family: var(--f-deva);
  font-weight: 600;
}

/* ============================ OCCASIONS ============================ */
.occ {
  position: relative;
  border-top: 1px solid var(--edge);
  padding: clamp(60px, 8.5vh, 108px) clamp(26px, 4vw, 72px) clamp(56px, 8vh, 96px);
}

.occ__in {
  max-width: 1560px;
  margin: 0 auto;
}

.occgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
}

.oc {
  background: var(--stage);
  padding: clamp(26px, 3vw, 40px) clamp(22px, 2.4vw, 32px) clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: background .4s ease;
  opacity: 0;
  transform: translateY(22px);
}

.oc.in {
  opacity: 1;
  transform: none;
  transition: opacity .8s ease, transform .8s cubic-bezier(.16, .84, .28, 1), background .4s ease;
}

.oc:hover {
  background: var(--stage-2);
}

.oc .medslot {
  width: min(100%, 168px);
}

.oc:hover .med__face {
  transform: rotate(9deg) scale(1.04);
}

.oc:hover .med__sheen {
  transform: rotate(190deg);
  opacity: .9;
}

.oc__when {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.oc__h {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(21px, 2.3vw, 29px);
  line-height: 1.06;
  letter-spacing: -.018em;
  margin: 0;
  text-wrap: balance;
}

.oc__h em {
  font-style: italic;
  color: var(--gold-ink);
}

.oc__p {
  margin: 0;
  font-size: 13.6px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 32ch;
}

.oc__cta {
  margin-top: 2px;
  text-decoration: none;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}

.oc:hover .oc__cta {
  color: var(--gold-ink);
  border-bottom-color: var(--gold-line);
}

@media (max-width:1040px) {
  .occgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:620px) {
  .occgrid {
    grid-template-columns: 1fr;
  }

  .oc .medslot {
    width: min(100%, 138px);
  }

  .occ {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .oc {
    opacity: 1;
    transform: none;
  }
}

body.no-motion .oc {
  opacity: 1;
  transform: none;
}

/* ============================ PROOF BAND ============================
   The quantitative trust section: hero figures, an isometric vault stack
   used as a pictorial unit chart, and the operational proofs. */
.proof {
  position: relative;
  border-top: 1px solid var(--edge);
  background:
    radial-gradient(120% 80% at 50% 0%, var(--gold-wash) 0%, transparent 62%),
    var(--stage);
  padding: clamp(64px, 9vh, 116px) clamp(26px, 4vw, 72px) clamp(56px, 8vh, 96px);
}

.proof__in {
  max-width: 1560px;
  margin: 0 auto;
}

/* --- hero figures --- */
.statrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
  margin-bottom: clamp(34px, 5vh, 58px);
}

.stat {
  background: var(--stage);
  padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.2vw, 30px) clamp(24px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
  overflow: hidden;
}

.stat__ico {
  height: 34px;
  margin-bottom: 2px;
  opacity: .95;
}

.stat__ico svg {
  height: 100%;
  width: auto;
  display: block;
}

.stat__v {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5.1vw, 74px);
  line-height: .92;
  letter-spacing: -.028em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-variant-numeric: tabular-nums lining-nums;
}

.stat__v .pre {
  font-size: .56em;
  color: var(--gold-ink);
  margin-right: 1px;
}

.stat__v .suf {
  font-family: var(--f-ui);
  font-size: .24em;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-left: 9px;
  align-self: center;
}

.stat__k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.stat__n {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 34ch;
}

.stat__n b {
  color: var(--gold-ink);
  font-weight: 500;
}

/* --- the vault stack --- */
.vault {
  border: 1px solid var(--edge);
  background: linear-gradient(170deg, var(--stage-2), var(--stage));
  padding: clamp(24px, 3vw, 38px);
  margin-bottom: clamp(24px, 3.4vh, 40px);
}

.vault__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}

.vault__head h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0;
}

.vault__head h3 em {
  font-style: italic;
  color: var(--gold-ink);
}

.vault__unit {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
}

.vault__stacks {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: end;
}

.vault__rule {
  background: var(--edge);
  align-self: stretch;
}

.stack {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stack svg {
  width: 100%;
  height: auto;
  max-height: 230px;
  display: block;
}

.stack figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stack__v {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums lining-nums;
}

.stack__v .suf {
  font-family: var(--f-ui);
  font-size: .3em;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-left: 8px;
}

.stack__k {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.bar-unit {
  opacity: 0;
  color: var(--stage);
}

.bar-unit.in {
  animation: barDrop .62s cubic-bezier(.2, .9, .3, 1) forwards;
  animation-delay: var(--d, 0ms);
}

@keyframes barDrop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- operational proofs --- */
.proofgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--edge);
  border: 1px solid var(--edge);
}

.pf {
  background: var(--stage);
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pf__v {
  font-family: var(--f-mono);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--gold-ink);
  font-variant-numeric: tabular-nums;
}

.pf__v .suf {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-left: 8px;
  color: var(--ink-2);
}

.pf__k {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.pf__n {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
}

.proof__note {
  margin-top: 22px;
  padding: 11px 15px;
  border: 1px dashed var(--edge-2);
  border-radius: 5px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--ink-3);
  line-height: 1.6;
}

.proof__note b {
  color: var(--gold-ink);
  font-weight: 400;
}

@media (max-width:1000px) {
  .statrow {
    grid-template-columns: 1fr;
  }

  .proofgrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vault__stacks {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vault__rule {
    display: none;
  }

  .stack svg {
    max-height: 180px;
  }
}

@media (max-width:560px) {
  .proofgrid {
    grid-template-columns: 1fr;
  }

  .stat__v {
    font-size: clamp(38px, 12vw, 54px);
  }
}

/* ============================ CONTROLS ============================ */
.controls {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--edge-2);
  background: color-mix(in srgb, var(--stage-2) 88%, transparent);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .7);
  opacity: .42;
  transition: opacity .3s ease;
}

.controls:hover,
.controls:focus-within {
  opacity: 1;
}

.controls .lbl {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0 8px 0 10px;
}

.controls button {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s;
}

.controls button:hover {
  color: var(--ink);
}

.controls button[aria-pressed="true"] {
  background: var(--card);
  border-color: var(--edge-2);
  color: var(--gold-ink);
}

/* ============================ RESPONSIVE ============================ */
@media (max-width:1320px) {
  .rangemeter {
    display: none;
  }
}

@media (max-width:900px) {
  .insight__cta {
    display: none;
  }
}

@media (max-width:1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: clamp(34px, 5vh, 56px);
    padding-top: clamp(40px, 6vh, 64px);
    padding-bottom: clamp(40px, 6vh, 64px);
  }

  .windowwrap {
    margin-left: 0;
    order: 1;
  }

  .lede {
    order: 2;
    max-width: none;
  }

  .assaybox {
    width: min(100%, 430px);
  }

  .assay {
    max-height: none;
    aspect-ratio: 1.05;
  }

  .chip--a {
    left: -4%;
    top: 6%;
  }

  .chip--b {
    right: -4%;
    top: 24%;
  }

  .chip--c {
    left: -3%;
    bottom: 16%;
  }

  .chip--d {
    right: -2%;
    bottom: 2%;
  }

  .scrollcue {
    padding-right: 24px;
  }

  .masonry {
    columns: 3 240px;
  }
}

@media (max-width:720px) {
  .rail__brand {
    padding: 12px 14px;
  }

  .rail__loc {
    display: none;
  }

  .rail__live {
    padding: 0 13px;
  }

  .q {
    flex: 0 0 auto;
    min-width: 0;
    padding: 9px 14px;
  }

  .insight {
    height: auto;
    min-height: 42px;
    padding: 9px 20px;
    gap: 11px;
    align-items: flex-start;
  }

  .insight__mark {
    margin-top: 6px;
  }

  .insight__reel {
    height: auto;
  }

  .insight__line {
    font-size: 11.5px;
    line-height: 1.4;
    white-space: normal;
    overflow: visible;
  }

  .hero {
    padding-left: 20px;
    padding-right: 20px;
    gap: 24px;
    padding-top: 26px;
    padding-bottom: 30px;
  }

  h1 {
    margin-bottom: 14px;
  }

  .sub {
    margin-bottom: 22px;
  }

  .actions {
    gap: 11px;
  }

  .actions .btn {
    width: 100%;
    justify-content: space-between;
  }

  .microcopy {
    margin-top: 13px;
  }

  .quietlink {
    margin-top: 12px;
  }

  .eyebrow {
    column-gap: 15px;
    row-gap: 5px;
    margin-bottom: 18px;
    font-size: 9.5px;
    letter-spacing: .14em;
  }

  .eyebrow i {
    display: none;
  }

  h1 {
    font-size: clamp(38px, 11.4vw, 58px);
  }

  .sub {
    font-size: 15px;
  }

  .assaybox {
    width: 100%;
  }

  .assay {
    aspect-ratio: 1.5;
  }

  .assay__sn {
    display: none;
  }

  .chip {
    font-size: 9px;
    padding: 7px 11px;
  }

  .chip--b,
  .chip--d {
    display: none;
  }

  .chip--a {
    left: auto;
    right: -2%;
    top: -4%;
    bottom: auto;
  }

  .chip--c {
    left: -2%;
    bottom: -9%;
  }

  .controls {
    right: 8px;
    bottom: 8px;
    padding: 4px;
    opacity: .85;
  }

  .controls button {
    padding: 6px 9px;
    font-size: 9px;
  }

  .trustbar__i {
    min-width: 50%;
  }

  .scrollcue {
    display: none;
  }

  .masonry {
    columns: 2 150px;
    column-gap: 12px;
  }

  .pcard {
    margin-bottom: 12px;
  }

  .h-tall .pcard__art {
    height: 160px;
  }

  .h-mid .pcard__art {
    height: 132px;
  }

  .h-low .pcard__art {
    height: 110px;
  }

  .coin {
    width: 82px;
  }

  .barmini {
    width: 112px;
    height: 66px;
  }

  .controls .lbl {
    display: none;
  }

  .today,
  .notes {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* motion off / reduced: the run is already done */
.lane--parked .lane__drop,
body.no-motion .lane__drop {
  opacity: 1;
  transform: none;
}

.lane--parked .lane__load,
body.no-motion .lane__load {
  opacity: 0;
}

.lane--parked .lane__truck,
body.no-motion .lane__truck {
  transform: translateX(var(--travel, 520px));
  opacity: 1;
}

.lane--parked .lane__fill,
body.no-motion .lane__fill {
  transform: scaleX(1);
  opacity: 1;
}

.lane--parked .lane__streaks,
body.no-motion .lane__streaks {
  opacity: 0;
}

.lane--parked .lane__done,
body.no-motion .lane__done {
  opacity: 1;
}

.lane--parked,
body.no-motion .lane {
  opacity: 1;
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  h1 .line>span {
    transform: none;
  }

  .sub,
  .actions,
  .microcopy,
  .rail,
  .trustbar,
  .chip,
  .assay {
    opacity: 1 !important;
  }

  .assay {
    clip-path: none;
    filter: none;
  }

  .pcard {
    opacity: 1;
    transform: none;
  }

  .bar-unit {
    opacity: 1 !important;
  }

  .grain {
    display: none;
  }

  .lane__truck {
    transform: translateX(var(--travel, 520px));
    opacity: 1;
  }

  .lane__fill {
    transform: scaleX(1);
    opacity: 1;
  }

  .lane__streaks {
    opacity: 0;
  }

  .lane__done {
    opacity: 1;
  }

  .lane__drop {
    opacity: 1;
    transform: none;
  }

  .lane__load {
    opacity: 0;
  }

  .lane {
    opacity: 1;
  }
}

body.no-motion *,
body.no-motion *::before,
body.no-motion *::after {
  animation: none !important;
}

body.no-motion .sub,
body.no-motion .actions,
body.no-motion .microcopy,
body.no-motion .rail,
body.no-motion .trustbar,
body.no-motion .chip,
body.no-motion .assay {
  opacity: 1;
}

body.no-motion h1 .line>span {
  transform: none;
}

body.no-motion .bar-unit {
  opacity: 1;
}