/* Gold — warm espresso black with polished-gold accents */
.page-gold {
  --page-bg: #14110C;
  --page-ink: #F3EFE6;
  --accent: var(--gold-lt);
  --dim: #D6CFC2;
  --bg-2: #1C1812;
  --gold-dk: #7D6224;
  --bar: linear-gradient(180deg, #F3DE9C 0%, #E0C383 18%, #C9A24B 52%, #9C7A2E 82%, #B8913F 100%);
  --bar-off: linear-gradient(180deg, #3A2F1E, #2A2216);
}
.page-gold :focus-visible { outline-color: var(--gold-lt); }
.page-gold .kicker { color: var(--gold); }
.gd-h2 { font-family: var(--display); font-size: clamp(32px, 4vw, 52px); }
@media (max-width: 600px) { .gd-h2 { font-size: clamp(28px, 7.6vw, 36px); } }
.gd-link { color: var(--gold-lt); border-bottom-color: var(--gold); }
.gd-link:hover { color: #fff; }

/* Gold-bar button: polished gradient, angled ends, stamped text ---------- */
.btn-bar, .bar-tab {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  border: 0; cursor: pointer; font-family: var(--sans); font-weight: 600;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
  transition: filter .2s ease;
}
.btn-bar {
  min-height: 52px; padding: 0 36px; font-size: 13px; letter-spacing: .16em;
  background: var(--bar); color: #2A1F0C;
  box-shadow: inset 0 1px 0 rgba(255,250,230,.7), inset 0 -2px 0 rgba(90,64,20,.45);
  text-shadow: 0 1px 0 rgba(255,240,200,.55);
}
.btn-bar:hover, .bar-tab:hover { filter: brightness(1.1); }
/* clip-path hides outlines, so keyboard focus is shown with brightness + underline */
.btn-bar:focus-visible, .bar-tab:focus-visible { outline: none; filter: brightness(1.18); text-decoration: underline; text-underline-offset: 4px; }
.btn-bar::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .9s ease;
}
@media (hover: hover) { .btn-bar:hover::after { transform: translateX(130%); } }

.bar-tab {
  min-height: 44px; min-width: 76px; padding: 0 18px; font-size: 14px; letter-spacing: .08em;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  background: var(--bar-off); color: var(--gold-lt);
  box-shadow: inset 0 1px 0 rgba(224,195,131,.35), inset 0 -1px 0 rgba(0,0,0,.4);
}
.bar-tab[aria-selected="true"] {
  background: var(--bar); color: #2A1F0C;
  box-shadow: inset 0 1px 0 rgba(255,250,230,.7), inset 0 -2px 0 rgba(90,64,20,.45);
  text-shadow: 0 1px 0 rgba(255,240,200,.55);
}
.bar-tab--karat { min-height: 48px; min-width: 84px; padding: 0 24px; letter-spacing: .1em; }

/* Hero ------------------------------------------------------------------- */
.gd-hero { position: relative; overflow: hidden; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; }
.gd-hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20,17,12,.94) 0%, rgba(20,17,12,.78) 42%, rgba(20,17,12,.25) 75%, rgba(20,17,12,.55) 100%),
    linear-gradient(0deg, rgba(20,17,12,.9) 0%, rgba(20,17,12,0) 40%);
}
.gd-hero__grid {
  position: relative; width: 100%; max-width: 1280px; margin: 0 auto;
  padding: calc(74px + clamp(32px, 6vw, 88px)) var(--sec-x) clamp(72px, 8vw, 112px);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: var(--s6) clamp(32px, 6vw, 96px); align-items: end;
}
.gd-kicker { display: flex; align-items: center; gap: 14px; }
.gd-kicker > span { width: 48px; height: 1px; background: var(--gold); }
.gd-kicker .kicker { color: var(--gold-lt); }
.gd-hero__title { margin-top: var(--s4); max-width: 13ch; color: #fff; }
.gd-hero__title em { color: var(--gold-lt); }
.gd-hero__lead { margin-top: var(--s4); max-width: 46ch; }
.gd-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); margin-top: var(--s5); }
.gd-hero__actions .link-line { color: #fff; }
.gd-spec {
  justify-self: end; width: 100%; max-width: 340px; padding: 6px 24px;
  border: 1px solid rgba(201,162,75,.45); background: rgba(20,17,12,.62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.gd-spec div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(201,162,75,.25); }
.gd-spec div:last-child { border-bottom: 0; }
.gd-spec dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--gold-lt); }
.gd-spec dd { font-family: var(--display); font-size: 17px; color: #fff; text-align: right; }
.gd-hero .scroll-cue { --cue: var(--gold-lt); }
@media (max-width: 900px) {
  .gd-hero__grid { grid-template-columns: minmax(0, 1fr); padding-top: clamp(48px, 10vw, 88px); }
  .gd-spec { max-width: none; justify-self: stretch; }
}
@media (max-width: 600px) { .gd-hero__title { font-size: clamp(36px, 10vw, 46px); } }

.gd-strip { background: var(--bg-2); border-color: rgba(201,162,75,.4); }
.gd-strip ul { font-size: 12px; }
.gd-strip li + li::before { color: var(--gold-dk); }

/* Bar Room --------------------------------------------------------------- */
.gd-bars { background: radial-gradient(90% 70% at 70% 30%, #2A2216 0%, #14110C 70%); }
.gd-bars .h2 { margin-top: var(--s2); max-width: 20ch; }
.gd-bars__tabs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-top: var(--s6); }
.gd-bars__stage {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--s6) clamp(40px, 6vw, 96px); align-items: center; margin-top: var(--s6);
}
.gd-bars__show {
  display: flex; align-items: center; justify-content: center; min-height: clamp(260px, 32vw, 400px);
  border: 1px solid rgba(201,162,75,.25); background: linear-gradient(180deg, rgba(255,240,200,.03), rgba(0,0,0,.25));
}
.gold-bar {
  position: relative; overflow: hidden; max-width: 86%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(160deg, #F6E3A6 0%, #E0C383 22%, #C9A24B 50%, #9C7A2E 78%, #C9A24B 100%);
  clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 2px 0 rgba(255,250,230,.75), inset 0 -4px 0 rgba(90,64,20,.5);
  color: rgba(70,50,15,.82); text-shadow: 0 1px 0 rgba(255,240,200,.6);
  transition: width .45s var(--ease-out);
}
.gold-bar__brand { font-family: var(--display); font-size: clamp(9px, 1.2vw, 14px); letter-spacing: .2em; white-space: nowrap; }
.gold-bar__weight { font-family: var(--display); font-size: clamp(20px, 3.2vw, 40px); line-height: 1; }
.gold-bar__fine { font-size: clamp(8px, 1vw, 12px); font-weight: 600; letter-spacing: .2em; white-space: nowrap; }
.gold-bar__serial { font-size: clamp(8px, .9vw, 11px); letter-spacing: .14em; opacity: .8; white-space: nowrap; }
/* Engraving scales with the bar itself, so it fits on the 1 g bar and on phones */
@supports (container-type: inline-size) {
  .gold-bar { container-type: inline-size; }
  .gold-bar__brand { font-size: 4.1cqi; }
  .gold-bar__weight { font-size: min(15cqi, 44px); }
  .gold-bar__fine { font-size: min(4cqi, 13px); }
  .gold-bar__serial { font-size: min(3.6cqi, 12px); }
}
.gold-bar__sheen {
  position: absolute; top: 0; bottom: 0; left: 0; width: 30%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,250,230,.55), rgba(255,255,255,0));
  animation: sheen 3.6s ease-in-out infinite;
}
@keyframes sheen { 0% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(320%) skewX(-18deg); } }
.gd-bars__label { font-family: var(--display); font-size: clamp(56px, 7vw, 88px); line-height: 1; color: var(--gold-lt); }
.gd-bars__use { font-size: 17px; line-height: 1.7; margin-top: var(--s3); max-width: 38ch; }
.gd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s5); border-top: 1px solid rgba(201,162,75,.3); }
.gd-facts div { padding: 16px 16px 16px 0; border-bottom: 1px solid rgba(201,162,75,.3); }
.gd-facts div:nth-child(even) { padding-right: 0; }
.gd-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.gd-facts dd { margin-top: 6px; font-size: 15px; }
.gd-bars__cta { margin-top: var(--s5); }
@media (max-width: 900px) { .gd-bars__stage { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .gd-bars__tabs { gap: 6px; }
  .gd-bars__tabs .bar-tab { min-width: 0; flex: 1 1 calc(33% - 6px); padding: 0 8px; }
}

/* Collection rows ---------------------------------------------------------- */
.gd-collection__title { margin: var(--s2) 0 var(--s6); max-width: 18ch; }
.gd-rows { display: grid; gap: clamp(64px, 8vw, 120px); }
.gd-row { display: flex; align-items: center; gap: clamp(32px, 6vw, 96px); }
.gd-row--reverse { flex-direction: row-reverse; }
.gd-row__media { flex: 1.2 1 0; min-width: 0; padding: 0 18px 18px 0; --offset-line: rgba(201,162,75,.45); }
.gd-row__media::before { inset: 18px 0 0 18px; }
.gd-row__frame { aspect-ratio: 5/4; --frame-bg: var(--bg-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.75); }
.gd-row__copy { flex: 1 1 0; min-width: 0; max-width: 440px; }
.gd-row__n { font-family: var(--display); font-style: italic; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--gold-dk); }
.gd-row__spec { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--gold); margin-top: var(--s4); }
.gd-row__title { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.15; color: #fff; margin-top: var(--s2); }
.gd-row__body { font-size: 15px; line-height: 1.8; color: var(--dim); max-width: 42ch; margin-top: var(--s3); }
.gd-row .link-line { margin-top: var(--s4); min-height: 44px; }
@media (max-width: 900px) { .gd-row, .gd-row--reverse { flex-direction: column; align-items: stretch; } .gd-row__media { width: 100%; } }

/* Karat guide -------------------------------------------------------------- */
.gd-karat { background: var(--bg-2); border-top: 1px solid rgba(201,162,75,.2); }
.gd-karat__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--s6) clamp(32px, 5vw, 72px); align-items: center; }
.gd-karat .h2 { margin-top: var(--s2); }
.gd-karat__intro { font-size: 15px; line-height: 1.8; color: var(--dim); max-width: 46ch; margin: var(--s3) 0 var(--s5); }
.gd-karat__tabs { display: flex; flex-wrap: wrap; gap: var(--s1); }
.gd-karat__panel {
  border: 1px solid rgba(201,162,75,.35); border-radius: var(--radius);
  background: linear-gradient(160deg, #241D13, #18140E); padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 40px 80px -44px rgba(0,0,0,.8);
}
.gd-karat__head { display: flex; align-items: baseline; gap: var(--s3); flex-wrap: wrap; }
.gd-karat__label { font-family: var(--display); font-size: clamp(56px, 7vw, 84px); line-height: 1; color: var(--gold-lt); }
.gd-karat__pct { font-size: 15px; }
.gd-cells { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; margin: var(--s5) 0; }
.gd-cells span { display: block; height: 28px; border-radius: 2px; background: rgba(243,239,230,.1); transition: background 300ms ease; }
.gd-cells span.is-on { background: linear-gradient(180deg, #E0C383, #9C7A2E); }
.gd-karat__k { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--gold); }
.gd-karat__use { font-size: 15px; line-height: 1.7; margin-top: var(--s1); }
.gd-karat__note { font-size: 14px; line-height: 1.7; color: var(--dim); margin-top: var(--s3); }
@media (max-width: 420px) { .gd-cells { gap: 2px; } .gd-cells span { height: 22px; } }

/* Vault steps -------------------------------------------------------------- */
.gd-vault__title { margin: var(--s2) 0 var(--s6); max-width: 20ch; }
.gd-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(201,162,75,.4); }
.gd-steps li { padding: var(--s5) var(--s4) var(--s4) 0; border-bottom: 1px solid rgba(201,162,75,.2); }
.gd-steps__num { font-family: var(--display); font-style: italic; font-size: 32px; color: var(--gold); }
.gd-steps__title { display: block; font-family: var(--display); font-size: 21px; color: #fff; margin-top: var(--s3); }
.gd-steps__body { display: block; font-size: 14px; line-height: 1.7; color: var(--dim); margin-top: var(--s1); max-width: 28ch; }
.gd-vault__btn { margin-top: var(--s6); }
@media (max-width: 900px) { .gd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gd-steps { grid-template-columns: minmax(0, 1fr); } }
