/* ==========================================================================
   Arcanum Geosciences — Global Stylesheet
   Phase 1 static site. No build step, no CSS framework.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------------------- */
:root {
  /* Colour palette — deep geology blue, stone, copper/mineral accent */
  --c-navy-950: #0a1a26;
  --c-navy-900: #0e2433;
  --c-navy-800: #14324a;
  --c-navy-700: #1c435f;
  --c-navy-600: #2a5776;

  --c-stone-050: #f6f4ef;
  --c-stone-100: #efece3;
  --c-stone-200: #e2ddd0;
  --c-stone-300: #cdc5b4;
  --c-stone-600: #7d7566;
  --c-stone-800: #4a453b;

  --c-copper-500: #b3652f;
  --c-copper-600: #9a5325;
  --c-copper-050: #f7e9dd;

  --c-teal-600: #2d6462;
  --c-teal-700: #234e4d;

  --c-ink: #16202b;
  --c-text: #29323b;
  --c-text-muted: #5c6570;
  --c-white: #ffffff;
  --c-border: #dedad0;
  --c-success: #2d6a4f;
  --c-error: #a1332a;

  /* Surfaces */
  --bg-page: var(--c-stone-050);
  --bg-panel: var(--c-white);
  --bg-dark: var(--c-navy-950);

  /* Typography */
  --font-head: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.4vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.3vw, 2.4rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.2vw, 3.2rem);
  --step-5: clamp(2.6rem, 1.9rem + 3.2vw, 4rem);

  /* Layout */
  --content-max: 1200px;
  --content-narrow: 820px;
  --radius: 3px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------------------------------------------------------------
   2. Reset
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.6em; font-family: var(--font-head); font-weight: 700; line-height: 1.18; color: var(--c-navy-950); }
p { margin: 0 0 1em; }
button { font: inherit; }
input, textarea, select { font: inherit; }
:focus-visible {
  outline: 3px solid var(--c-copper-500);
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   3. Layout helpers
   ------------------------------------------------------------------------- */
.wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap-narrow {
  max-width: var(--content-narrow);
  margin-inline: auto;
  padding-inline: 24px;
}
.section { padding-block: clamp(3.2rem, 2.4rem + 3vw, 6rem); }
.section--tight { padding-block: clamp(2.2rem, 1.8rem + 1.5vw, 3.6rem); }
.section--dark { background: var(--c-navy-950); color: var(--c-stone-100); }
.section--dark h2, .section--dark h3 { color: var(--c-white); }
.section--panel { background: var(--bg-panel); }
.section--stone { background: var(--c-stone-100); }
.section--border-top { border-top: 1px solid var(--c-border); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.stack { display: flex; flex-direction: column; }
.gap-sm { gap: 12px; }
.gap-md { gap: 20px; }
.gap-lg { gap: 40px; }

/* -------------------------------------------------------------------------
   4. Type utilities
   ------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-copper-600);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--c-copper-500);
  display: inline-block;
}
.section--dark .eyebrow { color: var(--c-stone-300); }
.section--dark .eyebrow::before { background: var(--c-copper-500); }

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
.lede { font-size: var(--step-1); color: var(--c-text-muted); max-width: 62ch; }
.text-muted { color: var(--c-text-muted); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* -------------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-copper-500); color: var(--c-white); }
.btn-primary:hover { background: var(--c-copper-600); }
.btn-secondary { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,0.55); }
.btn-secondary:hover { border-color: var(--c-white); background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: var(--c-navy-950); border-color: var(--c-navy-950); }
.btn-outline:hover { background: var(--c-navy-950); color: var(--c-white); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: var(--step--1); }

/* -------------------------------------------------------------------------
   6. Header / Navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 26, 38, 0.97);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-white);
}
.brand__mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.01em; }
.brand__sub { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-stone-300); }

.nav-primary { display: flex; align-items: center; gap: 4px; }
.nav-primary a {
  display: inline-block;
  padding: 10px 12px;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--c-stone-100);
  border-radius: var(--radius);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-primary a:hover { background: rgba(255,255,255,0.08); color: var(--c-white); }
.nav-primary a[aria-current="page"] {
  color: var(--c-white);
  position: relative;
}
.nav-primary a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--c-copper-500);
}
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  color: var(--c-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle__bars::after { position: absolute; top: 7px; left: 0; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav-primary {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--c-navy-950);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 32px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
    overflow-y: auto;
  }
  .nav-open .nav-primary { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-primary a { padding: 16px 6px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* -------------------------------------------------------------------------
   7. Hero
   A layered, cinematic hero: a slow-zooming photo layer (.hero__bg), a
   faint animated contour-line layer (.hero__contours), a faint technical
   grid/survey-point layer (.hero__grid), two dark overlay gradients for
   text contrast (::before/::after), then the text content on top.
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 78vh, 780px);
  color: var(--c-white);
  overflow: hidden;
  background-color: var(--c-navy-950);
}

/* Layer 1 — photo, slow Ken Burns zoom. Sized/positioned via background-*
   (not <img>) so it can be swapped independently of the layout, per the
   asset README. Scaling only ever zooms IN from a fully-covering baseline,
   so no edge gaps are ever revealed. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/images/hero/geoscience-exploration-hero.jpg");
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  animation: heroKenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

/* Layer 2 — faint animated contour/topographic lines, echoing the
   geological-mapping visual language used across the site. */
.hero__contours {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.22;
  pointer-events: none;
  animation: heroContourDrift 34s ease-in-out infinite alternate;
}
.hero__contours svg { width: 100%; height: 100%; }
@keyframes heroContourDrift {
  from { transform: translateX(-1.2%); }
  to { transform: translateX(1.2%); }
}

/* Layer 3 — very faint technical grid + a few survey points that fade in
   once on load (not looping, so they never become a distraction). */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(239,236,227,0.05) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(239,236,227,0.05) 0 1px, transparent 1px 120px);
}
.hero__point {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-copper-500);
  box-shadow: 0 0 0 4px rgba(179,101,47,0.18);
  opacity: 0;
  animation: heroPointIn 0.6s var(--ease) forwards;
  animation-delay: var(--point-delay, 0.6s);
}
@keyframes heroPointIn { to { opacity: 1; } }

/* Dark overlay for text readability — layered so the left/lower-left text
   zone (where the headline sits) is darkest, fading toward the image on
   the right. Two layers keep contrast solid at every breakpoint. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(100deg, rgba(10,26,38,0.90) 0%, rgba(10,26,38,0.74) 40%, rgba(10,26,38,0.42) 68%, rgba(10,26,38,0.18) 100%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(10,26,38,0.55) 0%, rgba(10,26,38,0) 32%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 3;
  padding-block: clamp(3.5rem, 2.8rem + 3.5vw, 6rem);
  max-width: 680px;
}

/* .eyebrow is a shared sitewide label; this scoped addition makes it
   legible on the hero's dark photo background, matching the treatment
   already used for .section--dark. */
.hero .eyebrow { color: var(--c-stone-300); }
.hero .eyebrow::before { background: var(--c-copper-500); }

.hero h1 {
  color: var(--c-white);
  font-size: clamp(2.8rem, 2rem + 4.5vw, 4.75rem);
  line-height: 1.04;
  max-width: 15ch;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero__subhead {
  font-family: var(--font-head);
  font-size: var(--step-2);
  color: var(--c-stone-100);
  max-width: 34ch;
  margin-bottom: 1.1rem;
  line-height: 1.3;
}
.hero__lede { font-size: var(--step-1); color: var(--c-stone-200); max-width: 46ch; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.2rem; }
.hero__capabilities {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-stone-300);
  margin: 0;
}

/* Layer 4 — staggered load-in for the text content. Each element sets its
   own --reveal-delay inline, so the sequence is easy to retime in markup
   without adding a matrix of delay classes. */
.hero__reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: heroReveal 0.8s var(--ease) both;
  animation-delay: var(--reveal-delay, 0s);
}
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Layer 5 — CTA hover: subtle arrow nudge, additive (new class, does not
   alter the shared .btn rules used sitewide). */
.btn__arrow { display: inline-block; transition: transform 0.2s var(--ease); }
.btn--arrow:hover .btn__arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .hero__bg { background-image: url("../assets/images/hero/geoscience-exploration-hero-mobile.jpg"); background-position: center 55%; }
  .hero { min-height: clamp(520px, 86vh, 720px); }
  .hero::before { background: linear-gradient(180deg, rgba(10,26,38,0.88) 0%, rgba(10,26,38,0.82) 55%, rgba(10,26,38,0.6) 100%); }
  .hero__inner { max-width: 100%; }
}
@media (max-width: 560px) {
  .hero__contours, .hero__grid { display: none; }
}

.page-hero {
  background: linear-gradient(155deg, var(--c-navy-950) 0%, var(--c-navy-800) 100%);
  color: var(--c-white);
  padding-block: clamp(3.2rem, 2.5rem + 3vw, 5.5rem) clamp(2.4rem, 2rem + 2vw, 3.6rem);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--c-white); max-width: 22ch; }
.page-hero .lede { color: var(--c-stone-200); }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--c-stone-300);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.breadcrumb a:hover { color: var(--c-white); text-decoration: underline; }

/* -------------------------------------------------------------------------
   8. Cards & components
   ------------------------------------------------------------------------- */
.card {
  background: var(--bg-panel);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.card:hover { border-color: var(--c-copper-500); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(10,26,38,0.35); }
.card__icon { width: 46px; height: 46px; margin-bottom: 18px; color: var(--c-copper-500); }
.card h3 { font-size: var(--step-1); margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: var(--step--1); color: var(--c-navy-800); }
.card__link:hover { color: var(--c-copper-600); }

.sector-card {
  background: var(--c-navy-950);
  color: var(--c-stone-100);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.sector-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(179,101,47,0.22), transparent 60%);
  transition: background 0.22s var(--ease);
}
.sector-card:hover {
  transform: translateY(-4px);
  border-color: rgba(179,101,47,0.55);
  box-shadow: 0 18px 34px -20px rgba(10,26,38,0.55);
}
.sector-card:hover::before { background: linear-gradient(200deg, rgba(179,101,47,0.36), transparent 65%); }
.sector-card__index {
  font-family: var(--font-mono); font-size: var(--step--1); color: var(--c-copper-500);
  letter-spacing: 0.08em; position: relative;
  transition: transform 0.22s var(--ease);
}
.sector-card:hover .sector-card__index { transform: translateX(3px); }
/* When combined with .reveal (see section 12), the generic reveal rule's
   `transition` shorthand has equal specificity to .sector-card's own and
   would win by source order, silently dropping the border-color/box-shadow
   transitions above (they'd then snap instantly on hover). The extra
   element qualifier here bumps specificity just enough to keep this
   component's full transition list intact. */
a.sector-card.reveal {
  transition: opacity 0.6s var(--ease), transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.sector-card h3 { color: var(--c-white); position: relative; margin: 10px 0 8px; }
.sector-card p { position: relative; color: var(--c-stone-300); font-size: var(--step--1); margin-bottom: 0; }

.stat {
  text-align: left;
  border-left: 3px solid var(--c-copper-500);
  padding-left: 18px;
}
.stat__num { font-family: var(--font-head); font-size: var(--step-3); font-weight: 700; color: var(--c-navy-950); line-height: 1; display: block; margin-bottom: 6px; }
.section--dark .stat__num { color: var(--c-white); }
.stat__label { font-size: var(--step--1); color: var(--c-text-muted); }
.section--dark .stat__label { color: var(--c-stone-300); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  padding: 6px 12px;
  font-size: var(--step--1);
  font-family: var(--font-mono);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  color: var(--c-text-muted);
}
.section--dark .tag { border-color: rgba(255,255,255,0.2); color: var(--c-stone-200); }

.method-block { border-top: 1px solid var(--c-border); padding-block: 34px; }
.method-block:first-of-type { border-top: none; padding-top: 0; }
.method-block__head { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
@media (max-width: 780px) { .method-block__head { grid-template-columns: 1fr; gap: 12px; } }
.method-block__apps { margin-top: 18px; }
.method-block__apps ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 20px; }
@media (max-width: 780px) { .method-block__apps ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .method-block__apps ul { grid-template-columns: 1fr; } }
.method-block__apps li { font-size: var(--step--1); color: var(--c-text-muted); padding-left: 16px; position: relative; }
.method-block__apps li::before { content: "—"; position: absolute; left: 0; color: var(--c-copper-500); }

.project-card {
  background: var(--bg-panel);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.project-card__media {
  aspect-ratio: 16/10;
  background: linear-gradient(150deg, var(--c-navy-900), var(--c-navy-700));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card__media svg { width: 42%; opacity: 0.5; }
.project-card__body { padding: 22px 24px; }
.project-card__commodity { font-family: var(--font-mono); font-size: var(--step--1); color: var(--c-copper-600); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; display:block; }
.project-card h3 { font-size: var(--step-1); margin-bottom: 4px; }
.project-card__loc { font-size: var(--step--1); color: var(--c-text-muted); }

.person-card { background: var(--bg-panel); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.person-card__photo {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--c-navy-800), var(--c-navy-950));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  position: relative;
}
.person-card__photo svg { width: 34%; }
.person-card__photo-label {
  position: absolute; bottom: 10px; left: 10px; right: 10px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
}
.person-card__body { padding: 22px 22px 26px; }
.person-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.person-card__role { color: var(--c-copper-600); font-weight: 600; font-size: var(--step--1); margin-bottom: 14px; display: block; }
.person-card dl { margin: 0; font-size: var(--step--1); }
.person-card dt { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.68rem; color: var(--c-text-muted); margin-top: 12px; }
.person-card dd { margin: 3px 0 0; }
.person-card details summary { cursor: pointer; font-weight: 600; font-size: var(--step--1); color: var(--c-navy-800); margin-top: 14px; }
.person-card details[open] summary { margin-bottom: 10px; }

.timeline-list { border-left: 2px solid var(--c-border); padding-left: 26px; }
.timeline-list li { position: relative; padding-bottom: 22px; }
.timeline-list li::before {
  content: "";
  position: absolute; left: -32px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-copper-500);
  border: 2px solid var(--bg-page);
}

/* CTA band — shared component, appears on every page's closing CTA.
   The faint contour-line texture reuses the same geological visual
   language as the hero, applied sitewide for a consistent design system
   rather than a homepage-only flourish. Purely decorative (::before,
   pointer-events:none); direct children are lifted to z-index:1 so
   text/buttons are unaffected. */
.cta-band {
  background: linear-gradient(155deg, var(--c-navy-950), var(--c-navy-700));
  color: var(--c-white);
  border-radius: var(--radius);
  padding: clamp(2.4rem, 2rem + 2vw, 3.6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 220'%3E%3Cpath d='M0 170 Q120 110 240 170 T480 150' stroke='%23b3652f' stroke-width='1.5' fill='none' opacity='0.6'/%3E%3Cpath d='M0 190 Q130 140 260 190 T480 175' stroke='%23efece3' stroke-width='1' fill='none' opacity='0.35'/%3E%3Cpath d='M0 150 Q110 95 220 150 T480 130' stroke='%23efece3' stroke-width='1' fill='none' opacity='0.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -30px bottom -20px;
  background-size: min(70%, 480px) auto;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--c-white); }
.cta-band p { color: var(--c-stone-200); max-width: 56ch; margin-inline: auto; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* -------------------------------------------------------------------------
   9. Forms
   ------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--step--1); font-weight: 600; color: var(--c-navy-950); }
.field .req { color: var(--c-copper-600); }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-text);
  font-size: var(--step--1);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-navy-700);
  outline: none;
  box-shadow: 0 0 0 3px rgba(28,67,95,0.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-radio-group { display: flex; gap: 18px; flex-wrap: wrap; }
.field-radio { display: flex; align-items: center; gap: 8px; font-size: var(--step--1); }
.field-hint { font-size: 0.78rem; color: var(--c-text-muted); }
.field-error { font-size: 0.78rem; color: var(--c-error); min-height: 1em; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--c-error); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border-radius: var(--radius); font-size: var(--step--1); margin-bottom: 22px; display: none; }
.form-status.is-visible { display: block; }
.form-status--success { background: #e5f2ea; color: var(--c-success); border: 1px solid #b7dcc4; }
.form-status--error { background: #f7e6e3; color: var(--c-error); border: 1px solid #e8bdb5; }

/* -------------------------------------------------------------------------
   10. Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--c-navy-950); color: var(--c-stone-300); }
.site-footer__top { padding-block: 60px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--c-white); font-size: var(--step-0); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.site-footer p { color: var(--c-stone-300); font-size: var(--step--1); }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: var(--c-stone-300); font-size: var(--step--1); }
.site-footer a:hover { color: var(--c-white); text-decoration: underline; }
.footer-brand__name { font-family: var(--font-head); font-size: 1.3rem; color: var(--c-white); margin-bottom: 10px; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 22px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem; color: var(--c-stone-300);
}
.site-footer__bottom a { color: var(--c-stone-300); }

/* -------------------------------------------------------------------------
   11. Misc utilities
   ------------------------------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--c-white); color: var(--c-navy-950); padding: 12px 18px; border-radius: var(--radius);
}
.skip-link:focus { left: 16px; top: 16px; }
.divider { border: none; border-top: 1px solid var(--c-border); margin: 2.5rem 0; }
.placeholder-note {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--c-text-muted);
  border: 1px dashed var(--c-border); padding: 4px 8px; border-radius: var(--radius);
  display: inline-block; margin-top: 10px;
}
.section--dark .placeholder-note { color: var(--c-stone-300); border-color: rgba(255,255,255,0.25); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.icon-row { display: flex; align-items: flex-start; gap: 16px; }
.icon-row svg { width: 30px; height: 30px; flex-shrink: 0; color: var(--c-copper-500); margin-top: 2px; }
.icon-row h4 { margin-bottom: 4px; }
.icon-row p { margin-bottom: 0; color: var(--c-text-muted); font-size: var(--step--1); }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 10px 16px; font-family: var(--font-mono); font-size: var(--step--1);
  color: var(--c-navy-800); background: var(--c-white);
}
.map-figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-navy-950); position: relative; }
.map-figure svg path[data-draw] {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.map-figure.reveal-visible svg path[data-draw] { stroke-dashoffset: 0; }
.table-wrap { overflow-x: auto; }
table.data-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.data-table th, .data-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--c-border); }
.data-table th { font-family: var(--font-mono); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.05em; color: var(--c-text-muted); }

/* -------------------------------------------------------------------------
   12. Scroll reveal
   Generic, opt-in utility driven by js/main.js (IntersectionObserver).
   Elements start hidden/offset only once JS confirms it can observe them
   (see .js-ready below), so content is never hidden for no-JS visitors.
   Applied selectively on the homepage only — see index.html.
   ------------------------------------------------------------------------- */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-ready .reveal.reveal-visible { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------------------------
   13. Accessibility — reduced motion
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  /* The blanket rule above correctly collapses one-shot "reveal" animations
     to instant (content still appears, per WCAG guidance). But it would
     make the hero's *looping* decorative layers flicker rapidly instead of
     stopping, which is worse for motion-sensitive users — so those are
     disabled outright instead of just sped up. */
  .hero__bg, .hero__contours { animation: none !important; }
}
