/* Gold market identity, scoped to the opening section. */
.hero-section {
  display: grid;
  align-items: center;
  min-height: clamp(520px, calc(100svh - 240px), 700px);
  padding: 40px 0 32px;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #a3d9f22e, #bce5f578 40%, #a8dbf066 75%, #70bbdc26);
}
.hero-section .hero-content-container { position: relative; width: 100%; }
.hero-section .hero-layout { position: relative; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.hero-section .hero-copy { max-width: 940px; margin-inline: auto; justify-self: center; text-align: center; }
.hero-section .hero-layout > * { min-width: 0; }
.gold-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 17px;
  border: 1px solid #2877a645;
  border-radius: 99px;
  background: #f0faffc9;
  color: #145878;
  font: 500 10px/1.6 'Inter', sans-serif;
  letter-spacing: .12em;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px #ffffff99;
}
.gold-hero-mark {
  width: 12px;
  height: 9px;
  flex-shrink: 0;
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
  background: linear-gradient(145deg, #65c8ec, #167bb4);
}
body .hero-section h1.hero-mission {
  margin-top: 32px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.6;
  font-weight: 600;
  color: #123b5c;
  text-shadow: 0 2px 24px #ffffff80;
}
.hero-gold-word {
  display: inline-block;
  color: #0975b3;
  background: linear-gradient(120deg, #0a689f 10%, #098ac1 60%, #126ba9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-section .gold-hero-description {
  max-width: 660px;
  margin: 26px auto 0;
  color: #244e69;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.95;
  text-wrap: pretty;
  text-shadow: 0 1px 12px #ffffff66;
}
.gold-symbol { color: #096494; font-weight: 600; white-space: nowrap; }
.hero-section .gold-hero-actions { margin-top: 25px; padding-top: 0; }
.hero-section .gold-hero-actions .btn-electric-blue {
  background: linear-gradient(115deg, #087eBD, #175bc4);
  color: #ffffff;
  border: 1px solid #70c6f0;
  box-shadow: 0 8px 30px #147dc633, inset 0 1px #d5f4ff66;
}
.hero-section .gold-hero-actions .btn-electric-blue:hover { background: #0869ad; box-shadow: 0 10px 35px #147dc640; }
.hero-section .gold-hero-actions .btn-glass-pill { background: #effaffb8; border-color: #4d94bb80; color: #164567; }
.hero-section .gold-hero-actions .btn-account-gold {
  color: #1d1609;
  background: var(--whale-metallic-gold, linear-gradient(135deg, #fff1c2, #ebc56f 48%, #d4a247));
  border: 1px solid #ffe7ab;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px #fff8dc, inset 0 -1px 1px #86550e80, 0 0 18px #e9c46a40, 0 8px 24px #06263e40;
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (hover: hover) {
  .hero-section .gold-hero-actions .btn-account-gold:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 1px 2px #fffbe9, inset 0 -1px 1px #86550e80, 0 0 26px #e9c46a70, 0 10px 28px #06263e55;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-section .gold-hero-actions .btn-account-gold { transition: none; transform: none; }
}
.hero-section .gold-hero-actions a:focus-visible { outline: 2px solid #146dac; outline-offset: 5px; }
.hero-section .gold-market-display {
  position: relative;
  top: auto;
  right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(320px, 100%);
  margin-top: 0;
  justify-self: end;
  gap: 12px;
  z-index: 1;
}
.gold-bullion-image {
  display: block;
  width: 330px;
  max-width: 51%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px #02091970);
  pointer-events: none;
}
.hero-section .gold-market-display .gold-quote-card {
  width: 300px;
  max-width: 100%;
  flex-shrink: 0;
  animation: quote-gentle-float 6s ease-in-out infinite;
}
@keyframes quote-gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hero-section .gold-market-display:hover .gold-quote-card,
.hero-section .gold-market-display:focus-within .gold-quote-card {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .hero-section .gold-market-display .gold-quote-card { animation: none; transform: none; }
}
.hero-section .gold-market-display::after { display: none; }
.hero-section .gold-market-display .quote-ocean-panel {
  background: linear-gradient(145deg, #164c6ded, #0d2d4bed);
  border-color: #b6e6ff70;
  box-shadow: inset 0 1px #d5f5ff30, 0 18px 50px #000a1c66;
}
.gold-market-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 8px 12px;
  color: #bcecff;
  font-size: 11px;
}
.gold-market-heading > span:last-child { color: #9eb3cc; font: 500 10px/1.5 'Inter', sans-serif; letter-spacing: .12em; }
/* Equal side columns keep the headline centered in the viewport.
   The quote occupies only the right column, alongside the copy. */
@media (min-width: 768px) {
  .hero-section .hero-content-container { max-width: 1920px; }
  .hero-section .hero-layout {
    --quote-column: clamp(200px, 20vw, 260px);
    grid-template-columns: var(--quote-column) minmax(0, 1fr) var(--quote-column);
    column-gap: clamp(12px, 1.5vw, 28px);
  }
  .hero-section .hero-copy { grid-column: 2; grid-row: 1; }
  .hero-section .gold-market-display {
    grid-column: 3;
    grid-row: 1;
    width: 100%;
    align-self: center;
  }
  .hero-section .gold-hero-actions { flex-wrap: wrap; }
}
@media (min-width: 768px) and (max-width: 1599px) {
  body .hero-section h1.hero-mission { font-size: clamp(30px, 3.2vw, 48px); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  body .hero-section h1.hero-mission { font-size: clamp(25px, 3.25vw, 33px); margin-top: 24px; }
  .hero-section .gold-hero-badge { font-size: 8px; letter-spacing: .06em; padding: 8px 12px; gap: 7px; }
  .hero-section .gold-hero-actions { gap: 12px; }
  .hero-section .gold-hero-actions > a { padding-inline: 18px; font-size: 14px; }
}
@media (max-width: 767px) {
  .hero-section { min-height: auto; padding: 40px 0 20px; }
  .hero-section .hero-layout { gap: 16px; }
  .gold-hero-badge { font-size: 8px; letter-spacing: .07em; padding: 8px 12px; gap: 7px; }
  body .hero-section h1.hero-mission { font-size: clamp(26px, 6.4vw, 40px); line-height: 1.6; margin-top: 24px; }
  .hero-section .gold-hero-description { margin-top: 20px; }
  .gold-hero-actions { max-width: 340px; margin-inline: auto; }
  .hero-section .gold-market-display { justify-self: center; flex-direction: column; gap: 0; }
  .gold-bullion-image { width: 270px; max-width: 90%; }
  .hero-section .gold-market-display .gold-quote-card { width: min(320px, 100%); }
}
