/* ============================================================
   BEYOND MINERALS — Site Redesign Prototype v2 (DEMO)
   Palette sampled from the official logo:
   chrome #d9dee3/#6e7a85 · gold #d4a017 · copper #b87333 · black
   ============================================================ */
:root {
  --ink: #050506;
  --ink-2: #101012;
  --ink-3: #18181b;
  --line: rgba(255, 255, 255, 0.09);
  --gold: #d4a017;
  --gold-bright: #f0c75e;
  --gold-deep: #8a5e0d;
  --copper: #b87333;
  --copper-bright: #d8915a;
  --chrome: #d9dee3;
  --up: #3ddc84;
  --amber: #e8b34b;
  --text: #ece9e2;
  --text-dim: #a8a49a;
  --radius: 14px;
  --font-head: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --grad-gold: linear-gradient(180deg, #f3cf6e 0%, #d4a017 45%, #9a6c10 55%, #e3b341 100%);
  --grad-chrome: linear-gradient(180deg, #fafbfc 0%, #cdd3d9 42%, #828e99 54%, #e9edf1 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-chrome {
  background: var(--grad-chrome);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad-gold); z-index: 500;
}

/* ---------- Demo banner ---------- */
.demo-banner {
  background: var(--amber);
  color: #2b2008;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  letter-spacing: 0.04em;
  position: sticky;
  top: 0;
  z-index: 200;
}

/* ---------- Ticker strip ---------- */
.ticker-strip {
  background: #000;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner { display: inline-flex; gap: 48px; padding: 8px 0; animation: ticker 38s linear infinite; }
.ticker-inner span { color: var(--text-dim); }
.ticker-inner b { color: var(--up); font-weight: 600; }
.ticker-inner .down { color: #e36a6a; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Nav ---------- */
nav.main-nav {
  position: sticky;
  top: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 500; color: var(--text-dim); align-items: center; }
.dd { position: relative; }
.dd > a { display: inline-block; padding: 14px 0; }
.dd-menu {
  position: absolute; top: 100%; left: -16px; min-width: 250px;
  background: #0c0c0d; border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; display: none; flex-direction: column; z-index: 60;
  box-shadow: 0 18px 50px rgba(0,0,0,0.7);
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: flex; }
.dd-menu a { padding: 10px 14px; border-radius: 8px; font-size: 13.5px; display: block; }
.dd-menu a::after { display: none; }
.dd-menu a:hover { background: rgba(212,160,23,0.12); color: var(--gold-bright); }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--grad-gold); transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--grad-gold); color: #000;
  padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 13.5px;
  border: 1px solid var(--gold-deep);
  box-shadow: 0 2px 10px rgba(212, 160, 23, 0.25), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212,160,23,0.4), inset 0 1px 0 rgba(255,255,255,0.4); }
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 42px; padding: 9px 9px; background: transparent; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.main-nav.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.main-nav.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.main-nav.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (photo) ---------- */
.hero {
  position: relative;
  padding: 150px 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -12% 0;
  background: url("../images/heron-shot-1.jpg") center / cover no-repeat;
  z-index: -2;
  will-change: transform;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,3,4,0.92) 0%, rgba(3,3,4,0.72) 45%, rgba(3,3,4,0.28) 100%),
    linear-gradient(180deg, rgba(3,3,4,0.55) 0%, transparent 30%, rgba(5,5,6,0.97) 100%);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: 22px;
}
.hero-kicker::before { content: ""; width: 34px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--copper-bright), var(--copper)); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 780px; font-weight: 800; }
.hero h1 .chrome {
  background: var(--grad-chrome);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lede { max-width: 600px; margin: 24px 0 36px; font-size: 18px; color: #d6d2c8; text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 9px;
  font-weight: 700; font-size: 14.5px; cursor: pointer; border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad-gold); color: #000;
  border: 1px solid var(--gold-deep);
  box-shadow: 0 3px 14px rgba(212,160,23,0.3), inset 0 1px 0 rgba(255,255,255,0.45);
}
.btn-primary:hover { box-shadow: 0 6px 22px rgba(212,160,23,0.45), inset 0 1px 0 rgba(255,255,255,0.45); }
.btn-ghost { background: rgba(0,0,0,0.4); color: var(--text); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-top: 80px;
  backdrop-filter: blur(6px);
}
.stat { background: rgba(8,8,9,0.78); padding: 26px 24px; }
.stat b {
  display: block; font-family: var(--font-head); font-size: 24px; font-weight: 700;
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat > span { font-size: 13px; color: var(--text-dim); }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.sec-head .kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright); font-weight: 700; margin-bottom: 12px;
}
.sec-head .kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--copper-bright), var(--copper)); }
.sec-head p { color: var(--text-dim); max-width: 460px; font-size: 15px; }

/* ---------- Project cards (photo) ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj-card {
  position: relative;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
}
.proj-card:hover { border-color: rgba(212,160,23,0.6); box-shadow: 0 18px 44px rgba(0,0,0,0.55), 0 0 0 1px rgba(212,160,23,0.25); }
.proj-visual { height: 200px; position: relative; overflow: hidden; }
.proj-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.proj-card:hover .proj-visual img { transform: scale(1.07); }
.proj-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,5,6,0.85) 100%);
}
.proj-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(0,0,0,0.62); border: 1px solid rgba(212,160,23,0.5); color: var(--gold-bright);
  padding: 4px 11px; border-radius: 99px; backdrop-filter: blur(4px);
}
.proj-body { padding: 22px; }
.proj-body h3 { font-size: 19px; margin-bottom: 8px; }
.proj-body p { font-size: 14px; color: var(--text-dim); margin-bottom: 16px; }
.proj-meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-dim); border-top: 1px solid var(--line); padding-top: 14px; flex-wrap: wrap; }
.proj-meta b { color: var(--gold-bright); font-weight: 600; }
.proj-more {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--gold-bright);
}
.proj-more::after { content: "→"; transition: transform 0.2s; }
.proj-card:hover .proj-more::after { transform: translateX(5px); }

/* ---------- Newsroom ---------- */
.newsroom { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-layout { display: grid; grid-template-columns: 1.45fr 1fr; gap: 26px; }
.news-feature {
  background: var(--ink-3); border: 1px solid rgba(212,160,23,0.4); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
}
.news-feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-gold);
}
.tag-new {
  display: inline-block; background: var(--grad-gold); color: #000;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 99px; margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
.news-feature time { font-size: 13px; color: var(--text-dim); display: block; margin-bottom: 8px; }
.news-feature h3 { font-size: 24px; margin-bottom: 14px; }
.news-feature p { font-size: 15px; color: var(--text-dim); margin-bottom: 22px; }
.news-feature .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pdf-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--copper-bright);
  border: 1px solid rgba(184,115,51,0.55); padding: 9px 16px; border-radius: 8px;
  transition: background 0.15s;
}
.pdf-link:hover { background: rgba(184,115,51,0.14); }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item {
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  transition: border-color 0.15s, transform 0.15s;
}
.news-item:hover { border-color: rgba(212,160,23,0.5); transform: translateX(4px); }
.news-item time { font-size: 12px; color: var(--text-dim); display: block; }
.news-item h4 { font-size: 14.5px; font-weight: 600; margin-top: 3px; }
.news-item .pdf-ico { flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--copper-bright); border: 1px solid rgba(184,115,51,0.55); border-radius: 6px; padding: 4px 8px; }

/* ---------- Video hub ---------- */
.video-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.video-main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); min-height: 400px;
  display: grid; place-items: center; cursor: pointer;
}
.video-main img.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.video-main:hover img.poster { transform: scale(1.04); }
.video-main::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.25); }
.play-btn {
  position: relative; z-index: 2;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--grad-gold); display: grid; place-items: center;
  transition: transform 0.2s ease; box-shadow: 0 0 0 14px rgba(212,160,23,0.2), 0 8px 30px rgba(0,0,0,0.5);
  border: 1px solid var(--gold-deep);
}
.video-main:hover .play-btn { transform: scale(1.12); }
.play-btn::after { content: ""; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #000; margin-left: 5px; }
.video-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,0.94));
}
.video-caption .tag-new { margin-bottom: 10px; }
.video-caption h3 { font-size: 20px; }
.video-caption p { font-size: 13.5px; color: var(--text-dim); margin-top: 6px; }
.video-side { display: flex; flex-direction: column; gap: 12px; }
.video-thumb {
  display: flex; gap: 14px; align-items: center;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  transition: border-color 0.15s, transform 0.15s; cursor: pointer;
}
.video-thumb:hover { border-color: rgba(212,160,23,0.5); transform: translateX(4px); }
.thumb-box {
  width: 96px; height: 62px; border-radius: 8px; flex-shrink: 0; overflow: hidden;
  display: grid; place-items: center; font-size: 18px; color: rgba(255,255,255,0.85); position: relative;
}
.thumb-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb-box span { position: relative; z-index: 1; text-shadow: 0 1px 6px rgba(0,0,0,0.9); }
.video-thumb h4 { font-size: 13.5px; font-weight: 600; }
.video-thumb > div:last-child span { font-size: 12px; color: var(--text-dim); }

/* ---------- Video modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(6px);
  display: none; place-items: center; padding: 24px;
}
.modal.open { display: grid; }
.modal-box {
  width: min(900px, 94vw); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(212,160,23,0.5); background: #000; position: relative;
  box-shadow: 0 30px 90px rgba(0,0,0,0.8);
  animation: pop 0.25s ease;
}
@keyframes pop { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-box img { width: 100%; opacity: 0.85; }
.modal-overlay-text {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px;
  background: rgba(0,0,0,0.45);
}
.modal-overlay-text h3 { font-size: 22px; margin-bottom: 10px; }
.modal-overlay-text p { color: var(--text-dim); font-size: 14px; max-width: 480px; }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.6); color: #fff; font-size: 17px; cursor: pointer;
}
.modal-close:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ---------- Subscribe ---------- */
.subscribe {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(212,160,23,0.13), transparent 70%),
    var(--ink-2);
  border-top: 1px solid var(--line);
  text-align: center;
}
.subscribe h2 { font-size: clamp(26px, 3.2vw, 38px); }
.subscribe p { color: var(--text-dim); margin: 14px auto 30px; max-width: 480px; }
.sub-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.sub-form input {
  flex: 1; background: #000; border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9px; padding: 13px 16px; color: var(--text); font-size: 14px; font-family: inherit;
}
.sub-form input:focus { outline: none; border-color: var(--gold); }
.sub-count { margin-top: 16px; font-size: 13px; color: var(--text-dim); }
.sub-count b { color: var(--gold-bright); }

/* ---------- Footer ---------- */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); background: #000; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.foot-grid h5 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.foot-grid a { display: block; font-size: 14px; color: var(--text-dim); padding: 4px 0; }
.foot-grid a:hover { color: var(--gold-bright); }
/* keep the Subscribe button a real button in the footer: black, centered text */
.foot-grid a.btn { display: inline-flex; justify-content: center; text-align: center; color: #000; padding: 13px 26px; font-size: 14.5px; }
.foot-grid a.btn:hover { color: #000; }
.foot-note { font-size: 12px; color: #6d6a61; border-top: 1px solid var(--line); padding-top: 24px; line-height: 1.7; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.15); font-size: 13px; font-weight: 700;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}
.socials a:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

/* ---------- Project detail pages ---------- */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,5,6,0.5) 0%, rgba(5,5,6,0.2) 40%, rgba(5,5,6,0.97) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: 44px; }
.crumbs { font-size: 13px; color: var(--text-dim); margin-bottom: 12px; }
.crumbs a:hover { color: var(--gold-bright); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); }
.facts-band { background: #000; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts > div { padding: 22px 24px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: none; }
.facts b { display: block; font-family: var(--font-head); font-size: 24px;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts > div > span { font-size: 12.5px; color: var(--text-dim); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.split h2 { font-size: 28px; margin-bottom: 18px; }
.split p { color: var(--text-dim); font-size: 15px; margin-bottom: 16px; }
.split figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.split figcaption { font-size: 12.5px; color: var(--text-dim); padding: 12px 16px; background: var(--ink-2); }
.hl-list { list-style: none; margin: 18px 0; }
.hl-list li { padding: 10px 0 10px 30px; position: relative; color: var(--text); font-size: 14.5px; border-bottom: 1px solid var(--line); }
.hl-list li::before {
  content: "⛏"; position: absolute; left: 0; top: 9px; font-size: 14px;
  color: var(--gold);
}
table.drill { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13.5px; }
table.drill th {
  text-align: left; padding: 11px 14px; background: #000; color: var(--gold-bright);
  border-bottom: 2px solid var(--gold-deep); font-family: var(--font-head); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
table.drill td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--text-dim); }
table.drill tr.hit td { color: var(--gold-bright); font-weight: 600; background: rgba(212,160,23,0.06); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.gallery a { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); display: block; position: relative; }
.gallery img { height: 170px; width: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery a:hover img { transform: scale(1.08); }
.cta-band {
  background: linear-gradient(90deg, rgba(212,160,23,0.14), rgba(184,115,51,0.10)), var(--ink-2);
  border: 1px solid rgba(212,160,23,0.35); border-radius: var(--radius);
  padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cta-band h3 { font-size: 22px; }
.cta-band p { color: var(--text-dim); font-size: 14px; margin-top: 6px; }

/* ---------- Content pages (corporate / investors / news) ---------- */
.page-plain { padding: 64px 0 80px; min-height: 40vh; }
.page-plain h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 10px; }
.page-plain .sub { color: var(--text-dim); font-size: 16px; max-width: 640px; }
.person-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.person {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: border-color 0.2s;
}
.person:hover { border-color: rgba(212,160,23,0.45); }
.person h3 { font-size: 18px; }
.person .role { color: var(--gold-bright); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin: 4px 0 12px; }
.person p { font-size: 14px; color: var(--text-dim); }
table.fin { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 26px; }
table.fin th { text-align: left; padding: 12px 16px; background: #000; color: var(--gold-bright); font-family: var(--font-head); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 2px solid var(--gold-deep); }
table.fin td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text-dim); }
table.fin td:last-child { text-align: right; color: var(--text); font-variant-numeric: tabular-nums; }
table.fin tr.total td { color: var(--gold-bright); font-weight: 700; background: rgba(212,160,23,0.06); }
.year-block { margin-top: 40px; }
.year-block h2 { font-size: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--gold-deep); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.doc-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.doc-row:hover { background: rgba(255,255,255,0.02); }
.doc-row time { color: var(--text-dim); font-size: 12.5px; flex-shrink: 0; width: 105px; }
.doc-row .t { flex: 1; }
.doc-row .t:hover { color: var(--gold-bright); }
.embed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.embed-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.embed-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.embed-card .cap { padding: 14px 16px; font-size: 13.5px; }
.embed-card .cap b { display: block; font-size: 14px; }
.embed-card .cap span { color: var(--text-dim); font-size: 12.5px; }
.contact-card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-card a { color: var(--gold-bright); }
.form-grid { display: grid; gap: 14px; margin-top: 18px; }
.form-grid input, .form-grid textarea {
  background: #000; border: 1px solid rgba(255,255,255,0.18); border-radius: 9px;
  padding: 13px 16px; color: var(--text); font-size: 14px; font-family: inherit; width: 100%;
}
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--gold); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 450; background: rgba(0,0,0,0.92);
  display: none; place-items: center; padding: 30px; cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.9); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0a0a0b; border-bottom: 1px solid var(--line);
    padding: 6px 0 12px; max-height: calc(100vh - 90px); overflow-y: auto;
  }
  .main-nav.nav-open .nav-links { display: flex; }
  .nav-links > a { padding: 13px 22px; }
  .nav-links a::after { display: none; }
  .dd { position: static; }
  .dd > a { padding: 13px 22px; }
  .dd-menu { position: static; display: flex; min-width: 0; border: none; border-radius: 0; box-shadow: none; padding: 0 0 6px; background: transparent; }
  .dd-menu a { padding: 9px 22px 9px 42px; color: var(--text-dim); font-size: 14px; }
  .hero-stats, .proj-grid, .facts { grid-template-columns: 1fr 1fr; }
  .news-layout, .video-grid, .foot-grid, .split, .gallery { grid-template-columns: 1fr; }
  .split figure { position: static; }
  .facts > div { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .hero-stats, .proj-grid, .facts { grid-template-columns: 1fr; }
  .sub-form { flex-direction: column; }
  .logo img { height: 42px; }
}

/* ---- Archived news-release body (news/<slug>.html) ---- */
.nr-body { color: var(--text); font-size: 16.5px; line-height: 1.75; margin-top: 26px; overflow-wrap: anywhere; }
.nr-body p { margin: 0 0 18px; }
.nr-body a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 2px; }
.nr-body h2, .nr-body h3, .nr-body h4 { font-family: 'Sora', sans-serif; color: #fff; line-height: 1.25; margin: 30px 0 12px; }
.nr-body h2 { font-size: 22px; } .nr-body h3 { font-size: 19px; } .nr-body h4 { font-size: 17px; }
.nr-body ul, .nr-body ol { margin: 0 0 18px; padding-left: 22px; }
.nr-body li { margin-bottom: 8px; }
.nr-body img { max-width: 100%; height: auto; border-radius: var(--radius); display: block; margin: 20px auto; border: 1px solid var(--line); }
.nr-body figure { margin: 22px 0; }
.nr-body figcaption { font-size: 13px; color: var(--text-dim); text-align: center; margin-top: 8px; }
.nr-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.nr-body th, .nr-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.nr-body th { background: rgba(255,255,255,0.04); font-weight: 600; }
.nr-body hr { border: none; border-top: 1px solid var(--line); margin: 28px 0; }
.nr-body strong { color: #fff; }

/* Gold buttons: always black text, regardless of container link colors */
a.btn-primary, a.btn-primary:hover, button.btn-primary, .nav-cta, .nav-cta:hover { color: #000; }
