*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #B8860B;
  --gold-light: #D4A017;
  --gold-pale: #F5ECD7;
  --dark: #1A1610;
  --dark-mid: #2E2820;
  --warm-gray: #6B6456;
  --cream: #FAF6EF;
  --border: rgba(184, 134, 11, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 1px solid rgba(184, 134, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  @media (max-width: 768px) {
    display: none;
  }
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
  font-weight: 400;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.hero {
  background: var(--dark);
  color: white;
  padding: 6rem 2.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184, 134, 11, 0.18) 0%, transparent 65%), linear-gradient(rgba(26, 22, 16, 0.72), rgba(26, 22, 16, 0.72));
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero h1 span {
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 2rem;
  border: 1px solid rgba(184, 134, 11, 0.5);
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.coin-divider {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--gold-pale);
  justify-content: center;
  padding: 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.coin-divider span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.coin-divider .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
}

.spot-prices-band {
  background: var(--dark);
  border-bottom: 1px solid rgba(184, 134, 11, 0.2);
  padding: 0.6rem 2.5rem;
  text-align: center;
}

.spot-prices-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  font-size: 0.825rem;
}

.spot-ticker-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.spot-ticker-metal {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
}

.spot-ticker-item {
  color: var(--gold-light);
  font-weight: 600;
}

.spot-ticker-sep {
  color: rgba(184, 134, 11, 0.4);
}

.spot-ticker-unit {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
}

section {
  padding: 5rem 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-body {
  color: var(--warm-gray);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
}

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  @media (max-width: 768px) {
    display: inline;
  }
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
  @media (max-width: 768px) {
    display: inline;
    margin-left: 0.75rem;
  }
}

.service-card p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

#about-wrapper {
  background: var(--gold-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  @media (max-width: 768px) {
    grid-template-columns: 1fr;
  }
}

.about-visual {
  aspect-ratio: 1;
  background: var(--dark-mid) url('../images/stella_gold.png') center / 93% no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  @media (max-width: 768px) {
    display: none;
  }
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.memberships-band {
  background: var(--gold-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 2.5rem;
  text-align: center;
}

.memberships-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.memberships-logos img {
  height: 56px;
  width: auto;
  mix-blend-mode: multiply;
}

.memberships-logos img#pcgs-dealer { height: 64px; }
.memberships-logos img#ngc-dealer { height: 46px; }
.memberships-logos img#fun-member { height: 58px; }
.memberships-logos img#csns-member { height: 64px; }

.memberships-desc {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

.history-band {
  background: var(--dark);
  padding: 4.5rem 2.5rem;
}

.history-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
}

.history-photo {
  margin-top: 5.5em;
  border: 1px solid rgba(184, 134, 11, 0.4);
  overflow: hidden;
  height: 70%;
}

.history-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top left;
  opacity: 0.9;
}

.history-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.history-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.975rem;
  line-height: 1.85;
}

.contact-section {
  background: var(--dark);
  color: white;
  padding: 5rem 2.5rem;
  border-top: 1px solid rgba(184, 134, 11, 0.15);
}

.contact-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-section .section-title {
  color: white;
}

.contact-section .section-body {
  color: rgba(255, 255, 255, 0.55);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-row-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(184, 134, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-row-text strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-row-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.hours-table {
  width: 100%;
  margin-top: 2.5rem;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hours-table td {
  padding: 0.55rem 0;
  font-size: 0.875rem;
}

.hours-day {
  color: rgba(255, 255, 255, 0.5);
}

.hours-time {
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
}

.hours-closed {
  color: rgba(255, 255, 255, 0.3);
  text-align: right;
}

.map-section {
  background: var(--dark);
  padding: 0 2.5rem 4rem;
}

.map-inner {
  max-width: 960px;
  margin: 0 auto;
}

.map-frame {
  width: 100%;
  height: 320px;
  border: 1px solid rgba(184, 134, 11, 0.3);
  overflow: hidden;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

footer {
  background: #0E0C08;
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid rgba(184, 134, 11, 0.2);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .history-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .history-inner > div:first-child {
    order: 2;
  }

  .history-photo {
    margin-top: 0;
    height: 280px;
  }

  .memberships-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 1rem;
    align-items: center;
    justify-items: center;
  }

  .memberships-logos img {
    max-width: 100%;
  }
}

@media (max-width: 660px) {
  .about-split, .contact-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  nav {
    padding: 0 1.25rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero {
    padding: 4rem 1.25rem 3.5rem;
  }

  section {
    padding: 3.5rem 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1rem;
  }

  .contact-section, .map-section, .history-band {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

}

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

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

.hero-eyebrow {
  animation: fadeUp 0.6s 0.1s both;
}

.hero h1 {
  animation: fadeUp 0.6s 0.25s both;
}

.hero-sub {
  animation: fadeUp 0.6s 0.4s both;
}

.hero-cta {
  animation: fadeUp 0.6s 0.55s both;
}