/* ============ Variables ============ */
:root {
  --gold: #d4af37;
  --gold-dark: #b8860b;
  --gold-light: #f0d98c;
  --ink: #0e0d0b;
  --ink-2: #16140f;
  --ink-3: #201d15;
  --paper: #f7f3e8;
  --muted: rgba(247, 243, 232, 0.66);
  --muted-dark: rgba(14, 13, 11, 0.66);
  --border: rgba(212, 175, 55, 0.28);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--paper);
  background: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
em { font-style: normal; }

.container { width: min(1160px, 92%); margin-inline: auto; }

::selection { background: var(--gold); color: var(--ink); }

/* ============ Scrollbar ============ */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 8px; }

/* ============ Mouse follower cursor ============ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.75), 0 0 4px rgba(240, 217, 140, 0.9);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
.cursor.is-active { opacity: 1; }
.cursor.is-hover { width: 42px; height: 42px; }

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(212, 175, 55, 0.5); }
.btn--ghost {
  border-color: rgba(247, 243, 232, 0.4);
  color: var(--paper);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }
.btn--block { width: 100%; }

/* ============ Header ============ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.header.is-scrolled {
  background: rgba(14, 13, 11, 0.88);
  backdrop-filter: blur(14px);
  padding: 0.7rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; font-weight: 800; }
.logo__mark { color: var(--gold); display: inline-flex; }
.logo__text span { color: var(--gold); }

.nav__list { display: flex; gap: 2.2rem; }
.nav__link { font-size: 0.95rem; font-weight: 600; position: relative; color: var(--paper); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--gold);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 13, 11, 0.35) 0%, rgba(14, 13, 11, 0.92) 92%),
    radial-gradient(ellipse at 75% 25%, rgba(212, 175, 55, 0.22), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M0 40l20-24 12 10 10-8 18 20v22H0z' fill='%23201d15'/%3E%3Cpath d='M0 52h60' stroke='%23b8860b' stroke-opacity='0.18'/%3E%3C/svg%3E"),
    #0e0d0b;
}
.hero__content { position: relative; z-index: 2; max-width: 720px; }
.hero__eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 999px;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 1.4rem;
}
.hero__title em { color: transparent; background: linear-gradient(120deg, var(--gold-light), var(--gold), var(--gold-dark)); -webkit-background-clip: text; background-clip: text; }
.hero__subtitle { color: var(--muted); font-size: 1.08rem; max-width: 540px; margin-bottom: 2.4rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero stats */
.hero__stats { position: relative; z-index: 2; margin-top: 4.5rem; }
.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding: 2rem 0 3.5rem;
}

/* ============ Pin top button ============ */
.pin-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  border: none;
  cursor: pointer;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2,.9,.2,1), opacity .25s;
  z-index: 1200;
}
.pin-top:focus { outline: none; box-shadow: 0 0 0 6px rgba(201,162,39,0.12); }
.pin-top.is-visible { transform: translateY(0); opacity: 1; }
.pin-top__icon { font-weight: 800; font-size: 26px; line-height: 1; }

.stat { text-align: center; }
.stat__value {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.stat__label { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }

/* ============ Sections ============ */
.section { padding: 6rem 0; }
.section__tag {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 900; margin-bottom: 1rem; line-height: 1.15; }
.section__head { max-width: 640px; margin-bottom: 3.5rem; }
.section__head p { color: var(--muted); }

/* ============ About ============ */
.about-who {
  padding-top: 4rem;
}
.who__content {
  max-width: 760px;
}
.section__subtitle,
.who__subtitle {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 1.4rem 0 2rem;
  max-width: 700px;
}
.who__list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}
.who__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--paper);
  line-height: 1.9;
}
.who__list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.3);
  margin-top: 0.65rem;
}
.who__details {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.who__highlight {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 18px;
  padding: 1.8rem;
}
.who__highlight h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}
.who__highlight p {
  color: var(--muted);
}
.about__text a.btn {
  display: block;
  width: max-content;
  margin: 2.5rem auto 0;
}

/* ============ Live gold price ============ */
.live-gold { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.live-gold__grid { display: grid; gap: 1.8rem; }
.live-gold__card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: linear-gradient(170deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.4rem;
  box-shadow: var(--shadow);
}
.live-gold__stat { display: grid; gap: 0.3rem; }
.live-gold__label { color: var(--muted); font-size: 0.9rem; letter-spacing: 0.5px; }
.live-gold__price {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 1px;
  line-height: 1.1;
}
.live-gold__meta { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: 0.85rem; }
.live-gold__change { font-weight: 800; padding: 0.25rem 0.7rem; border-radius: 999px; }
.live-gold__change--up { color: #7ecb6a; background: rgba(126, 203, 106, 0.12); }
.live-gold__change--down { color: #ff7d7d; background: rgba(255, 125, 125, 0.12); }
.live-gold__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--gold-light);
}
.live-gold__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0d98c;
  box-shadow: 0 0 0 0 rgba(240, 217, 140, 0.7);
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 217, 140, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(240, 217, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 217, 140, 0); }
}
.live-gold__chart-wrap {
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--ink-3), var(--ink));
}
.live-gold__chart {
  display: block;
  width: 100%;
  height: 340px;
}
.live-gold__note { color: var(--muted); font-size: 0.8rem; margin-top: 1rem; }

/* ============ Operations cards ============ */
.operations__marquee {
  overflow: hidden;
  margin-inline: -0.5rem;
  padding: 0.25rem 0.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.cards { display: flex; gap: 1.5rem; width: max-content; will-change: transform; }
.card {
  flex: 0 0 auto;
  width: 300px;
  background: linear-gradient(170deg, var(--ink-2), var(--ink-3));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.card__icon { font-size: 2rem; display: inline-block; margin-bottom: 1rem; }
.card__title { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--gold); }
.card p { color: var(--muted); font-size: 0.94rem; }

/* ============ Sustainability ============ */
.sustainability { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 50%, var(--ink) 100%); }
.sustainability__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.sustainability__text > p { color: var(--muted); margin-bottom: 2rem; }
.sustainability__points { display: grid; gap: 1.4rem; }
.sustainability__points h4 { color: var(--gold); margin-bottom: 0.3rem; }
.sustainability__points p { color: var(--muted); font-size: 0.95rem; }
.sustainability__media {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, var(--gold) 0 3%, transparent 4%),
    radial-gradient(circle at 42% 30%, var(--gold) 0 2%, transparent 3%),
    radial-gradient(circle at 58% 62%, var(--gold) 0 2%, transparent 3%),
    radial-gradient(circle at 65% 25%, var(--gold) 0 1.5%, transparent 2.5%),
    linear-gradient(160deg, #2a2416, #0e0d0b);
  box-shadow: var(--shadow);
}
.sustainability__media > div {
  position: absolute;
  inset: 0;
}
.sustainability__media svg {
  width: 100%;
  height: 100%;
  display: block;
}
.sustainability__media #sustainabilitySun { transform-origin: 320px 205px; transform-box: view-box; }

/* ============ Gallery ============ */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery__item--lg { grid-column: span 2; grid-row: span 2; }
.gallery__img {
  height: 260px;
  transition: transform 0.6s ease;
  background:
    linear-gradient(180deg, transparent 40%, rgba(14, 13, 11, 0.9)),
    radial-gradient(ellipse at center, var(--tint, var(--gold)) 0 14%, transparent 15%),
    repeating-linear-gradient(45deg, #241f13 0 14px, #18150d 14px 28px);
}
.gallery__item--lg .gallery__img { height: 100%; min-height: 540px; }
.gallery__item:hover .gallery__img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(0deg, rgba(14, 13, 11, 0.95), transparent);
}

/* ============ Contact ============ */
.contact { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact__info p { color: var(--muted); margin-bottom: 1.5rem; }
.contact__details { display: grid; gap: 0.9rem; }
.contact__details li { color: var(--paper); font-weight: 600; }
.contact__form { display: grid; gap: 1.1rem; background: var(--ink-3); border: 1px solid var(--border); padding: 2rem; border-radius: var(--radius); }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--gold); letter-spacing: 0.5px; }
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(247, 243, 232, 0.18);
  background: var(--ink);
  color: var(--paper);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(247, 243, 232, 0.35); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #e25555; }
.field__error { color: #ff8080; font-size: 0.8rem; min-height: 1em; }
.contact__success { color: var(--gold-light); font-weight: 700; text-align: center; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--border); background: var(--ink-2); }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}
.footer__brand p { color: var(--muted); font-size: 0.92rem; margin-top: 1rem; max-width: 280px; }
.footer__col h4 { color: var(--gold); font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: 1px; text-transform: uppercase; }

/* ============ Newsletter ============ */
.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;
}
.newsletter__heading { margin-top: 1.6rem; }
.newsletter { display: grid; gap: 0.4rem; }
.newsletter__row { display: flex; }
.newsletter__input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 1rem;
  border-radius: 8px 0 0 8px;
  border: 1px solid rgba(247, 243, 232, 0.18);
  border-right: none;
  background: var(--ink);
  color: var(--paper);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.newsletter__input:focus { outline: none; border-color: var(--gold); }
.newsletter__input::placeholder { color: rgba(247, 243, 232, 0.35); }
.newsletter__input.is-invalid { border-color: #e25555; }
.newsletter__btn {
  flex: 0 0 auto;
  padding: 0.7rem 1.1rem;
  border-radius: 0 8px 8px 0;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  color: var(--ink);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter var(--transition), transform var(--transition);
}
.newsletter__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.newsletter__error { color: #ff8080; font-size: 0.8rem; min-height: 1em; }
.newsletter__success { color: var(--gold-light); font-size: 0.85rem; font-weight: 700; }
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col a { color: var(--muted); font-size: 0.92rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid var(--border); padding: 1.2rem 0; }
.footer__bottom p { color: var(--muted); font-size: 0.85rem; text-align: center; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .card { width: 280px; }
  .about__grid, .sustainability__grid, .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__media { min-height: 340px; }
  .sustainability__media { min-height: 320px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(14, 13, 11, 0.97);
    display: grid;
    place-items: center;
    clip-path: circle(0 at calc(100% - 2.5rem) 2.5rem);
    transition: clip-path 0.55s ease;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 2.5rem) 2.5rem); }
  .nav__list { flex-direction: column; align-items: center; gap: 1.8rem; }
  .nav__link { font-size: 1.4rem; }
  .header__cta { display: none; }
  .nav-toggle { display: flex; z-index: 1001; }
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .card { width: min(280px, 84vw); }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--lg { grid-column: auto; grid-row: auto; }
  .gallery__item--lg .gallery__img { min-height: 300px; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}