/* ====================================================================
   TGX Energy & Resources Inc. — site CSS
   Brand: forest green base + lime accent (matches logo)
   ==================================================================== */

:root {
  --forest-950: #061714;
  --forest-900: #0A2520;
  --forest-800: #0E2E2A;
  --forest-700: #143832;
  --forest-600: #1B453E;
  --forest-500: #235A50;
  --lime-500:   #E4EA6B;
  --lime-600:   #D4DC4E;
  --lime-700:   #B6BD3A;
  --lime-300:   #EEF295;
  --bone:       #F5F3E7;
  --bone-dim:   #DDDAC6;
  --line:       rgba(228, 234, 107, 0.14);
  --line-strong:rgba(228, 234, 107, 0.30);
  --t05:        rgba(245, 243, 231, 0.05);
  --t10:        rgba(245, 243, 231, 0.10);
  --t30:        rgba(245, 243, 231, 0.30);
  --t55:        rgba(245, 243, 231, 0.55);
  --t75:        rgba(245, 243, 231, 0.75);
  --t90:        rgba(245, 243, 231, 0.90);

  --bg:        var(--forest-950);
  --bg-alt:    var(--forest-900);
  --text:      var(--bone);
  --muted:     var(--t75);
  --accent:    var(--lime-500);
  --accent-strong: var(--lime-600);

  --container: 1280px;
  --gutter:    32px;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 4px 16px rgba(0,0,0,.25);
  --shadow:    0 12px 40px rgba(0,0,0,.40);

  --ease: cubic-bezier(.2,.7,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 400;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--lime-500); color: var(--forest-950); }

.skip-link {
  position: absolute; left: -9999px; top: 0; padding: 12px 16px;
  background: var(--lime-500); color: var(--forest-950); font-weight: 700;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Type scale (Space Grotesk for display) ---------- */

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.015em;
  line-height: 1.1;
  font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 700; }
h2 { font-size: clamp(1.875rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; }

p { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lime-500);
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px; background: var(--lime-500);
}

.section-title { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 16px; }
.section-lede { font-size: clamp(1rem, 1.5vw, 1.175rem); color: var(--t75); max-width: 56ch; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
  padding: 24px 0;
}
.nav.scrolled {
  background: rgba(6,23,20,.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 12px; }
.nav-mark { height: 40px; width: auto; transition: height .3s var(--ease); }
.nav.scrolled .nav-mark { height: 34px; }
.nav-wordmark { display: inline-flex; flex-direction: column; line-height: 1; gap: 4px; }
.nav-wm-1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 19px; letter-spacing: .04em; color: var(--lime-500);
}
.nav-wm-2 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--t75);
}
@media (max-width: 960px) {
  .nav-mark { height: 34px; }
  .nav-wm-1 { font-size: 17px; }
  .nav-wm-2 { display: none; }
}

.footer-lockup-img {
  display: block; max-width: 320px; width: 100%; height: auto;
  margin-bottom: 16px;
}

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links > a, .nav-dropdown > a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--t75);
  padding: 8px 16px; border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-links > a:hover, .nav-dropdown > a:hover { color: var(--text); background: var(--t05); }
.caret { font-size: 10px; opacity: .7; }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--forest-900); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px; margin-top: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, visibility .2s, transform .2s;
  box-shadow: var(--shadow);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 12px 16px; font-size: 13px; color: var(--t75); border-radius: 6px;
}
.nav-dropdown-menu a:hover { color: var(--lime-500); background: var(--t05); }

.nav-ticker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  padding: 8px 16px; color: var(--lime-500);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}
.nav-ticker:hover { background: var(--lime-500); color: var(--forest-950); }
.ticker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-500); box-shadow: 0 0 0 4px rgba(228,234,107,.15); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* Mobile nav */
.nav-burger {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border-radius: var(--radius-sm);
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); transition: transform .25s, opacity .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 199;
  background: var(--forest-950);
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 24px; padding: 80px 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 20px; font-weight: 600; color: var(--t75); }
.nav-mobile a:hover { color: var(--lime-500); }
.nav-mobile a.nav-ticker.mobile { margin-top: 16px; font-size: 14px; }

@media (max-width: 960px) {
  .nav-links, .nav .nav-ticker:not(.mobile) { display: none; }
  .nav-burger { display: flex; }
}

/* ---------- Reveal-on-scroll ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 144px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('/static/img/hero-alpine-sunrise.jpg');
  background-size: cover; background-position: center;
  filter: saturate(.95) brightness(.78) contrast(1.05);
  z-index: -2;
  animation: heroPan 22s ease-out forwards;
}
@keyframes heroPan {
  from { transform: scale(1.08) translateY(0); }
  to   { transform: scale(1.00) translateY(-1%); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 80% at 20% 30%, rgba(6,23,20,.10), rgba(6,23,20,.78) 75%),
    linear-gradient(180deg, rgba(6,23,20,.55) 0%, rgba(6,23,20,.25) 35%, rgba(6,23,20,.85) 92%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.9 0 0 0 0 0.4 0 0 0 0.25 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  max-width: 18ch;
  margin: 16px 0 24px;
  color: var(--bone);
}
.hero h1 .accent { color: var(--lime-500); }
.hero .hero-lede {
  max-width: 60ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--t75);
  margin-bottom: 40px;
}
.hero-cta {
  display: inline-flex; gap: 16px; flex-wrap: wrap;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: .04em;
  padding: 16px 24px;
  border: 1px solid transparent; border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn-primary { background: var(--lime-500); color: var(--forest-950); }
.btn-primary:hover { background: var(--bone); transform: translateY(-1px); }
.btn-ghost { background: rgba(6,23,20,0.4); color: var(--bone); border-color: rgba(228,234,107,0.6); }
.btn-ghost:hover { background: var(--lime-500); border-color: var(--lime-500); color: var(--forest-950); }

.hero-meta {
  position: absolute; bottom: 28px; left: 0; right: 0; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: end; gap: 24px;
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--t55);
  padding: 0 var(--gutter);
}
.hero-meta .scroll-cue { display: inline-flex; align-items: center; gap: 12px; }
.scroll-cue-line {
  width: 1px; height: 28px; background: linear-gradient(180deg, transparent, var(--lime-500));
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
  0%   { transform: scaleY(.2); transform-origin: top; }
  50%  { transform: scaleY(1.0); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Generic section ---------- */

.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--forest-900); }
.section-dark { background: var(--forest-950); }

.section-header { max-width: 760px; margin-bottom: 64px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center .eyebrow { justify-content: center; }
.section-header.center .eyebrow::before { display: none; }

/* ---------- KPI strip ---------- */

.kpi-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kpi {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
}
.kpi:last-child { border-right: 0; }
.kpi .kpi-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--lime-500);
  letter-spacing: -0.02em;
  line-height: 1;
}
.kpi .kpi-label {
  margin-top: 12px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--t55);
}
@media (max-width: 800px) {
  .kpi-strip { grid-template-columns: 1fr 1fr; }
  .kpi { border-bottom: 1px solid var(--line); }
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi:nth-child(n+3) { border-bottom: 0; }
}

/* ---------- Property cards ---------- */

.properties-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (max-width: 880px) { .properties-grid { grid-template-columns: 1fr; } }

.prop-card {
  display: block;
  position: relative;
  background: var(--forest-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.prop-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime-500);
  box-shadow: var(--shadow);
}
.prop-card-img {
  height: 320px;
  background-size: cover; background-position: center;
  position: relative;
  transition: transform .8s var(--ease);
}
.prop-card:hover .prop-card-img { transform: scale(1.04); }
.prop-card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,23,20,0) 30%, rgba(6,23,20,.85) 100%);
}
.prop-card-body { padding: 32px 32px 32px; position: relative; }
.prop-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 4px;
  background: var(--lime-500); color: var(--forest-950);
  margin-bottom: 16px;
}
.prop-card h3 { font-size: 1.625rem; margin-bottom: 8px; }
.prop-loc {
  font-family: 'Space Grotesk', sans-serif; font-size: 13px;
  color: var(--t55); letter-spacing: .04em; margin-bottom: 16px;
}
.prop-desc { color: var(--t75); margin-bottom: 16px; }
.prop-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--lime-500); font-weight: 600; font-size: 14px;
  transition: gap .2s;
}
.prop-card:hover .prop-link { gap: 16px; }

/* ---------- Flagship feature (single-property layout) ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch;
}
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; gap: 32px; } }

.feature-media {
  position: relative; display: block; min-height: 540px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background-image: url('/static/img/true-blue-oblique.jpg');
  background-size: cover; background-position: center; overflow: hidden;
  transition: border-color .35s var(--ease);
}
.feature-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,23,20,0) 35%, rgba(6,23,20,.88) 100%);
}
.feature-media:hover { border-color: var(--lime-500); }
.feature-tag { position: absolute; top: 20px; left: 20px; z-index: 2; margin: 0; }
.feature-cap { position: absolute; left: 24px; bottom: 22px; right: 24px; z-index: 2; }
.feature-cap strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; color: var(--bone); }
.feature-cap span { font-size: 13px; letter-spacing: .04em; color: var(--t75); }
.feature-cap .feature-credit { display: block; margin-top: 8px; font-size: 11px; color: var(--t55); letter-spacing: .02em; }
@media (max-width: 880px) { .feature-media { min-height: 360px; } }

.feature-body { display: flex; flex-direction: column; }
.feature-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 24px;
}
.feature-facts li { background: var(--forest-800); padding: 24px 24px; list-style: none; }
.feature-facts strong {
  display: block; font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem; font-weight: 700; color: var(--lime-500);
  line-height: 1; letter-spacing: -0.02em;
}
.feature-facts span { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--t55); }

.feature-locator {
  margin: 4px 0 24px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--forest-900); overflow: hidden;
}
.locator-map-wrap { width: 100%; }
.locator-map { display: block; width: 100%; height: 230px; background: var(--forest-950); }
.loc-canada { fill: rgba(20,56,50,0.5); stroke: rgba(228,234,107,0.14); stroke-width: 1; stroke-linejoin: round; }
.loc-yukon  { fill: rgba(228,234,107,0.13); stroke: rgba(228,234,107,0.55); stroke-width: 1.4; stroke-linejoin: round; }
.loc-label  { font-family: 'Space Grotesk', sans-serif; font-size: 15px; letter-spacing: 3px; fill: rgba(245,243,231,0.55); }
.loc-pin-title { font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700; fill: #E4EA6B; }
.loc-pin-sub   { font-family: 'Inter', sans-serif; font-size: 9px; fill: rgba(245,243,231,0.6); }

.feature-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: auto; }

.property-oblique { margin: 56px 0 0; }
.property-oblique img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.property-oblique figcaption { margin-top: 16px; }

/* ---------- Critical metals (REE explainer with periodic table) ---------- */

.critical-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center;
}
@media (max-width: 960px) { .critical-grid { grid-template-columns: 1fr; gap: 48px; } }

.critical-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 32px; }
.crit-item {
  padding: 16px;
  border-left: 2px solid var(--lime-500);
  background: var(--t05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.crit-item strong { display: block; color: var(--lime-500); font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.crit-item p { font-size: 14px; }

/* Periodic table block */
.ptable {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
  padding: 40px; background: var(--forest-800);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.pt-cell {
  aspect-ratio: 1; padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--t30);
  background: var(--forest-900);
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.pt-cell.active { color: var(--forest-950); background: var(--lime-500); border-color: var(--lime-500); box-shadow: 0 6px 22px rgba(228,234,107,.20); }
.pt-cell.active-soft { color: var(--lime-500); border-color: var(--lime-500); background: rgba(228,234,107,.06); }
.pt-cell:hover { transform: translateY(-2px); }
.pt-num { font-size: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
.pt-sym { font-size: 20px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; line-height: 1; }
.pt-name { font-size: 9px; letter-spacing: .04em; opacity: .85; }
@media (max-width: 520px) {
  .ptable { grid-template-columns: repeat(4, 1fr); padding: 24px; }
  .pt-sym { font-size: 16px; }
}

/* ---------- Disclosure block ---------- */

.disclosure-block {
  border-left: 2px solid var(--lime-500);
  background: var(--forest-800);
  padding: 32px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.disclosure-block h5 { color: var(--lime-500); margin-bottom: 8px; }
.disclosure-block p + p { margin-top: 12px; }

/* ---------- Property page hero ---------- */

.prop-hero {
  position: relative; padding: 200px 0 104px;
  min-height: 70vh; display: flex; align-items: end;
  overflow: hidden; isolation: isolate;
}
.prop-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; filter: saturate(.95) brightness(.72); }
.prop-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,23,20,.35) 0%, rgba(6,23,20,.85) 70%, rgba(6,23,20,.98) 100%);
}
.prop-hero h1 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); margin: 16px 0 16px; max-width: 24ch; }
.prop-hero .prop-meta {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px;
}
.prop-hero .chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--bone);
}
.prop-hero .chip.lime { background: var(--lime-500); color: var(--forest-950); border-color: var(--lime-500); }

.prop-body { padding: 80px 0; }
.prop-body h2, .prop-body h3 { color: var(--bone); margin: 40px 0 16px; }
.prop-body h2:first-child, .prop-body h3:first-child { margin-top: 0; }
.prop-body p { margin-bottom: 16px; line-height: 1.7; }
.prop-body ul { margin: 12px 0 16px 24px; }
.prop-body li { color: var(--t75); margin-bottom: 8px; }
.prop-body a { color: var(--lime-500); border-bottom: 1px solid var(--line-strong); transition: border-color .2s; }
.prop-body a:hover { border-bottom-color: var(--lime-500); }
.prop-body img {
  display: block; width: 100%; height: auto;
  margin: 24px 0 0; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--forest-900);
}
.prop-body p:has(img) { margin-bottom: 24px; }
.prop-body p:has(img) em {
  display: block; font-size: 13px; color: var(--t55);
  letter-spacing: .02em; margin-top: 8px; font-style: italic;
}

/* ---------- Team ---------- */

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  padding: 40px;
  background: var(--forest-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  position: relative;
}
.team-initial {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg, var(--lime-500) 0%, var(--lime-700) 100%);
  color: var(--forest-950);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700;
  margin-bottom: 24px;
}
.team-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.team-role {
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--lime-500); margin-bottom: 16px;
}
.team-bio p { font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; }
.team-bio a { color: var(--lime-500); }

/* ---------- Investors ---------- */

.invest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .invest-grid { grid-template-columns: 1fr; } }
.invest-card {
  padding: 32px;
  background: var(--forest-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.invest-card h4 {
  font-family: 'Space Grotesk', sans-serif; color: var(--lime-500);
  font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.invest-card .invest-value {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.75rem; font-weight: 700; color: var(--bone);
  margin-bottom: 8px; line-height: 1.1;
}
.invest-card p { font-size: 14px; }
.invest-card a { color: var(--lime-500); }
.invest-card ul { list-style: none; margin-top: 12px; }
.invest-card li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.invest-card li:first-child { border-top: 0; }
.cite { font-size: 11.5px; color: var(--t30); margin-top: 16px; font-family: 'Space Grotesk', sans-serif; letter-spacing: .04em; }

/* ---------- News list ---------- */

.news-list { display: grid; gap: 24px; max-width: 880px; margin: 0 auto; }
.news-item {
  padding: 32px 32px;
  background: var(--forest-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s;
}
.news-item:hover { border-color: var(--lime-500); }
.news-date {
  font-family: 'Space Grotesk', sans-serif; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--lime-500);
  margin-bottom: 12px;
}
.news-item h3 { font-size: 1.375rem; margin-bottom: 12px; }
.news-item h3 a { transition: color .2s; }
.news-item h3 a:hover { color: var(--lime-500); }
.news-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--lime-500); font-weight: 600; font-size: 14px; }
.news-empty {
  padding: 64px 40px; text-align: center;
  background: var(--forest-800); border: 1px dashed var(--line-strong);
  border-radius: var(--radius); color: var(--t75);
}
.news-empty a { color: var(--lime-500); }

/* ---------- About TGX section ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 64px;
  align-items: start;
}
.about-copy p {
  font-size: 1.0625rem;
  color: var(--t75);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-copy p:last-child { margin-bottom: 0; }
.about-copy a {
  color: var(--lime-500);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .2s;
}
.about-copy a:hover { border-bottom-color: var(--lime-500); }
.primary-record p { font-size: 14px; color: var(--t75); line-height: 1.55; }
.primary-record p + p { margin-top: 12px; }
.primary-record strong { color: var(--bone); }
.primary-record a {
  color: var(--lime-500);
  border-bottom: 1px solid var(--line-strong);
}
.primary-record a:hover { border-bottom-color: var(--lime-500); }
.primary-record .footnote {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--t30); font-style: italic;
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-copy p { font-size: 1rem; line-height: 1.7; }
}
@media (max-width: 480px) {
  .about-copy p { font-size: 0.9375rem; }
}

/* ---------- Canada map ---------- */

.canada-map-wrap {
  position: relative;
  background: linear-gradient(180deg, rgba(228,234,107,0.025), rgba(228,234,107,0));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
}
.canada-map { width: 100%; height: auto; display: block; max-height: 560px; }
.canada-map .land { transition: fill .4s; }
.canada-map .map-pin { cursor: pointer; transition: transform .25s var(--ease); transform-origin: center; transform-box: fill-box; }
.map-pin-a:hover .map-pin,
.map-pin-a:focus-visible .map-pin { transform: scale(1.15); }
.map-pin-a:focus-visible { outline: 2px solid var(--lime-500); outline-offset: 4px; border-radius: 50%; }
.map-pin-pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: pinPulse 2.4s ease-out infinite;
}
@keyframes pinPulse {
  0%   { transform: scale(0.55); opacity: 0.95; }
  80%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
.canada-map text { pointer-events: none; }
@media (max-width: 600px) {
  .canada-map-wrap { padding: 16px 12px; border-radius: var(--radius); }
  .canada-map text { font-size: 14px !important; }
  .canada-map .region-labels text { font-size: 9px !important; }
}

/* ---------- Periodic table tooltip / interactivity ---------- */

.pt-cell {
  cursor: pointer;
  position: relative;
}
.pt-cell:focus-visible { outline: 2px solid var(--lime-500); outline-offset: 2px; }
.pt-tooltip {
  position: fixed;
  z-index: 500;
  background: var(--forest-950);
  border: 1px solid var(--lime-500);
  border-radius: var(--radius-sm);
  padding: 16px 16px;
  min-width: 220px;
  max-width: 280px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s;
}
.pt-tooltip.show { opacity: 1; transform: translateY(0); }
.pt-tooltip .tt-sym {
  font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700;
  color: var(--lime-500); line-height: 1; margin-bottom: 4px;
}
.pt-tooltip .tt-name {
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--bone); margin-bottom: 12px; letter-spacing: .02em;
}
.pt-tooltip .tt-row {
  font-size: 11.5px; color: var(--t75); line-height: 1.5; margin-bottom: 4px;
  display: flex; gap: 8px;
}
.pt-tooltip .tt-row strong { color: var(--lime-500); font-weight: 600; min-width: 64px; }
.pt-tooltip .tt-use {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--t75); line-height: 1.45;
}

/* ---------- Sticky mobile CTA bar ---------- */

.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px; z-index: 198;
  background: rgba(6,23,20,0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px;
  gap: 8px;
  align-items: center; justify-content: space-around;
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
}
.mobile-cta-bar a {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 8px;
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .05em;
  color: var(--bone);
  border-radius: 999px;
  text-align: center;
  min-height: 44px;
}
.mobile-cta-bar a.primary {
  background: var(--lime-500); color: var(--forest-950);
}
@media (max-width: 740px) {
  .mobile-cta-bar { display: flex; }
  /* leave room for the floating bar */
  .footer { padding-bottom: 96px; }
}

/* ---------- Mobile polish: hero, typography, spacing ---------- */

@media (max-width: 740px) {
  .hero { min-height: 86vh; padding: 120px 0 80px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero .hero-lede { font-size: 1rem; }
  .hero-cta .btn { padding: 12px 16px; font-size: 13px; }
  .hero-meta { font-size: 10px; padding: 0 24px; bottom: 20px; }
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 40px; }
  .container, .container-narrow { padding: 0 24px; }
  .prop-card-img { height: 220px; }
  .prop-card-body { padding: 24px 24px 24px; }
  .prop-card h3 { font-size: 1.375rem; }
  .ptable { gap: 8px; padding: 16px; }
  .pt-cell { padding: 8px 8px; }
  .pt-num { font-size: 9px; }
  .pt-sym { font-size: 15px; }
  .pt-name { font-size: 8px; }
  .critical-grid { gap: 40px; }
  .invest-card { padding: 24px; }
  .invest-value { font-size: 1.5rem !important; }
  .news-item { padding: 24px 24px; }
  .team-card { padding: 32px; }
  .team-initial { width: 64px; height: 64px; font-size: 24px; margin-bottom: 16px; }
  .prop-hero { padding: 160px 0 80px; min-height: 56vh; }
  .prop-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .prop-body { padding: 56px 0; }
  .prop-body h2, .prop-body h3 { font-size: 1.5rem; margin: 32px 0 12px; }
  .footer { padding: 56px 0 24px; }
  .footer-disclosure { padding: 16px; }
  .footer-disclosure p { font-size: 11px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 16px; gap: 12px; }
  .hero h1 { font-size: clamp(1.875rem, 10vw, 2.5rem); }
  .hero-meta { display: none; }
  .ptable { grid-template-columns: repeat(3, 1fr); }
  .invest-grid, .properties-grid { gap: 16px; }
  .footer-bottom { font-size: 10px; }
  .footer-bottom p:last-child { display: block; }
}

/* ---------- Reduce-motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-bg { animation: none !important; transform: none !important; }
  .map-pin-pulse { animation: none !important; opacity: 0 !important; }
}

/* ---------- Footer ---------- */

.footer { padding: 80px 0 32px; border-top: 1px solid var(--line); background: var(--forest-950); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { margin-bottom: 16px; opacity: .95; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; max-width: 320px; margin-bottom: 12px; }
.footer-ticker a { color: var(--lime-500); font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: .08em; }
.footer-col h5 { color: var(--lime-500); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--t75); margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--lime-500); }
.footer-disclosure {
  padding: 24px; background: var(--t05); border-radius: var(--radius);
  border-left: 2px solid var(--lime-500);
}
.footer-disclosure p { font-size: 12px; color: var(--t55); line-height: 1.7; }
.footer-disclosure p + p { margin-top: 8px; }
.footer-disclosure a { color: var(--lime-500); }
.footer-bottom {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--t30); }
.footer-bottom a { color: var(--t55); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
