:root {
  --bg: #0e0d0b;
  --bg-alt: #16140f;
  --surface: #1d1a14;
  --border: #2e2a20;
  --text: #ece6d8;
  --muted: #a39b88;
  --gold: #d4af37;
  --gold-light: #f1d67a;
  --gold-dark: #a8862a;
  --radius: 10px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9em;
}

.gold-text {
  background: linear-gradient(100deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark)); color: #1a1406; }
.btn-gold:hover { color: #1a1406; filter: brightness(1.06); }
.btn-outline { border-color: rgba(241, 214, 122, .5); color: var(--gold-light); }
.btn-outline:hover { background: rgba(212, 175, 55, .1); border-color: var(--gold); }
.btn-sm { padding: .55em 1.2em; font-size: .88rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(14, 13, 11, .92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: .7rem; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark svg { width: 38px; height: 38px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linejoin: round; }
.brand-mark svg path:first-child { fill: rgba(212, 175, 55, .18); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .14em; color: var(--gold-light); }
.brand-text small { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a:not(.btn) { color: var(--text); font-size: .93rem; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--gold-light); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold-light); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] 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: 130px 0 40px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,13,11,.96) 0%, rgba(14,13,11,.8) 45%, rgba(14,13,11,.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%),
    url("images/gold3.jpeg") right center / cover no-repeat;
}
.hero-content { max-width: var(--max); }
.hero-content h1, .hero-content .lead { max-width: 680px; }
.lead { font-size: 1.12rem; color: #d3cbb8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.facts {
  list-style: none; margin: 4.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(22, 20, 15, .8); backdrop-filter: blur(6px);
}
.facts li { padding: 1.4rem 1.5rem; border-right: 1px solid var(--border); }
.facts li:last-child { border-right: 0; }
.facts span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts strong { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 1.4rem; color: var(--gold-light); font-weight: 600; }

/* Sections */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-head p:last-child { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.split-media::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid var(--gold-dark); border-radius: var(--radius);
}
.split-text p { color: #cfc7b4; }

.checklist { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: rgba(212,175,55,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* About */
.about-intro { max-width: 820px; margin-bottom: 3.5rem; }
.about-intro p { color: #cfc7b4; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 3.5rem; }
.vm-card { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 2rem; }
.vm-card p:last-child { margin: 0; color: #d3cbb8; font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; }
.values h3 { margin-bottom: 1.4rem; }
.values ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.values li { border-top: 1px solid var(--border); padding-top: 1rem; }
.values strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--gold-light); font-weight: 600; margin-bottom: .3rem; }
.values span { color: var(--muted); font-size: .92rem; }

/* Divisions */
.divisions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.division {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: border-color .3s, transform .3s;
}
.division:hover { border-color: var(--gold-dark); transform: translateY(-4px); }
.division ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.division li { position: relative; padding-left: 1.1rem; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.division li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.division-tag {
  position: absolute; top: 2rem; right: 1.8rem; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #1a1406; background: var(--gold); padding: .3em .8em; border-radius: 999px;
}
.division-link { display: inline-block; margin-top: 1.2rem; font-size: .9rem; font-weight: 600; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1.4rem;
  display: grid; place-items: center; background: rgba(212,175,55,.1); border: 1px solid rgba(212,175,55,.25);
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; counter-reset: step; }
.steps li { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--gold); }
.step-num { font-variant-numeric: lining-nums; display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: .6rem; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 560px; gap: 1.2rem; }
.gallery-item {
  padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  background: var(--surface);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 100%; width: auto; border-radius: 6px; }
.lightbox-close {
  position: absolute; top: 16px; right: 20px; background: none; border: 0;
  color: var(--text); font-size: 2.6rem; cursor: pointer; line-height: 1;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-info > p { color: var(--muted); }
.info-block { margin-top: 1.8rem; }
.info-block h3 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.info-block address, .info-block p { font-style: normal; margin: 0; color: var(--text); }

.contact-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 2.4rem;
}
.form-note { color: var(--muted); font-size: .9rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-size: .85rem; font-weight: 500; margin-bottom: .4rem; color: #d3cbb8; }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text);
  padding: .8rem .95rem; font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.18); }
.field textarea { resize: vertical; }
.form-error { color: #e98a7a; font-size: .9rem; min-height: 1.2em; margin: 0 0 .8rem; }

.map-wrap { height: 380px; border-top: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg) contrast(.9); }

/* Footer */
.site-footer { background: #0a0908; border-top: 1px solid var(--border); padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.footer-name { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-light); font-weight: 600; }
.site-footer p { color: var(--muted); font-size: .9rem; margin: .3rem 0 0; }
.footer-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: .9rem; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: .82rem; }

/* Gold section extras */
.subhead { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 5rem 0 2rem; }
#gold .gallery { margin-top: 4rem; }

/* Advantages & HSE */
.advantages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.advantages article { border-top: 1px solid var(--border); padding-top: 1.5rem; position: relative; }
.advantages article::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--gold); }
.advantages h3 { font-size: 1.3rem; }
.advantages p { color: var(--muted); font-size: .93rem; margin: 0; }
.hse { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 4.5rem; padding: 2.4rem; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.hse p:not(.eyebrow) { color: #cfc7b4; margin: 0; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li { border: 1px solid rgba(212,175,55,.35); color: var(--gold-light); border-radius: 999px; padding: .4em 1em; font-size: .88rem; }

/* Leadership */
.leaders-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 1.4rem; }
.leaders { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; }
.leader { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; }
.leader h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.leader .role { color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .04em; margin-bottom: .9rem; line-height: 1.45; }
.leader p:last-child { color: var(--muted); font-size: .9rem; margin: 0; }
.leader img, .leader .avatar { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 8px; margin-bottom: 1.2rem; }
.avatar {
  display: grid; place-items: center; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--gold);
  background: radial-gradient(circle at 30% 20%, rgba(212,175,55,.18), transparent 60%), var(--bg);
  border: 1px solid var(--border); letter-spacing: .06em;
}
.leader-lg { display: grid; grid-template-columns: 200px 1fr; gap: 1.8rem; align-items: start; padding: 1.8rem; }
.leader-lg img, .leader-lg .avatar { margin: 0; }
.leader-lg h3 { font-size: 1.55rem; }

/* Form select */
.field select {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text);
  padding: .8rem .95rem; font: inherit; font-size: .95rem;
}
.field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.18); }
.footer-tagline { color: var(--gold) !important; font-family: var(--serif); font-size: 1.05rem !important; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .divisions { grid-template-columns: repeat(2, 1fr); }
  .values ul, .advantages { grid-template-columns: repeat(3, 1fr); }
  .leaders { grid-template-columns: repeat(3, 1fr); }
  .leaders-featured, .hse { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .split-media { max-width: 480px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(2) { border-right: 0; }
  .facts li:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14,13,11,.98); border-bottom: 1px solid var(--border); padding: .5rem 20px 1.5rem;
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .site-nav.open { transform: none; }
  .site-nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 1.2rem; }
  .site-header:has(.site-nav.open) { background: rgba(14,13,11,.98); }

  .section { padding: 80px 0; }
  .hero { padding-top: 110px; }
  .hero-bg {
    background:
      linear-gradient(0deg, rgba(14,13,11,1) 5%, rgba(14,13,11,.8) 60%, rgba(14,13,11,.6) 100%),
      url("images/gold3.jpeg") center / cover no-repeat;
  }
  .gallery { grid-auto-rows: 360px; }
  .split-media::after { display: none; }
  .divisions, .vm-grid { grid-template-columns: 1fr; }
  .values ul, .advantages, .leaders { grid-template-columns: repeat(2, 1fr); }
  .leader-lg { grid-template-columns: 140px 1fr; }
  .hse { padding: 1.6rem; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 420px; }
  .divisions, .steps, .values ul, .advantages, .leaders { grid-template-columns: 1fr; }
  .leader-lg { grid-template-columns: 1fr; }
  .leader img, .leader .avatar { max-width: 260px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 1.6rem; }
  .facts li { padding: 1.1rem; }
  .facts strong { font-size: 1.15rem; }
  .hero-actions .btn { width: 100%; }
}
