:root {
  --pine: #0e4338;
  --pine-dark: #082d27;
  --pine-soft: #2f685a;
  --gold: #b9942d;
  --gold-light: #d3bd72;
  --ink: #1f2523;
  --muted: #5d6561;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --line: #dcd6c8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(14, 67, 56, 0.12);
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }

h1, h2, h3, h4 {
  margin: 0 0 16px;
  color: var(--pine);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(44px, 5vw, 70px); font-weight: 720; }
h2 { font-size: clamp(31px, 3.4vw, 50px); font-weight: 710; }
h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 690; }
h4 { font-size: 20px; }
p { margin: 0 0 18px; }
a { color: var(--pine); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 270px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.brand img { width: 100%; }
.primary-nav { display: flex; align-items: center; gap: clamp(13px, 1.6vw, 25px); }
.primary-nav button {
  padding: 5px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.primary-nav button:hover, .primary-nav button.active { color: var(--pine); border-bottom-color: var(--gold); }
.primary-nav .permit-link { color: var(--pine); border-bottom-color: var(--gold-light); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); background: white; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--pine); }

.hero { min-height: 640px; display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-bottom: 1px solid var(--line); }
.hero-copy {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    repeating-radial-gradient(ellipse at -10% 20%, transparent 0 23px, rgba(185,148,45,.10) 24px 25px, transparent 26px 48px),
    var(--cream);
}
.hero-copy-inner { width: min(100% - 70px, 590px); margin: auto; padding: 68px 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  color: var(--pine);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.hero-lead { max-width: 540px; color: #39403d; font-size: 20px; line-height: 1.55; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.regional-links { justify-content: center; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--pine-dark);
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { filter: brightness(.96); transform: translateY(-1px); }
.button.outline { border-color: var(--pine); background: transparent; color: var(--pine); }
.button.dark { border-color: var(--pine-dark); background: var(--pine-dark); color: white; }
.capability-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; color: var(--pine); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.capability-line i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.hero-gallery { position: relative; min-height: 640px; overflow: hidden; background: var(--pine-dark); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.hero-slide-contain { object-fit: contain; background: var(--pine-dark); }
.hero-slide.active { opacity: 1; }
.hero-dots { position: absolute; z-index: 2; top: 22px; left: 24px; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid white; border-radius: 50%; background: transparent; cursor: pointer; }
.hero-dots button.active { background: white; }
.hero-controls { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: flex; gap: 8px; }
.hero-controls button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(8,45,39,.84); color: white; cursor: pointer; }
.image-label { position: absolute; z-index: 2; left: 22px; bottom: 22px; padding: 7px 11px; background: rgba(8,45,39,.82); color: white; font-size: 12px; }

.section { padding: clamp(68px, 7.5vw, 102px) 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--pine-dark); color: rgba(255,255,255,.82); }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark .eyebrow { color: var(--gold-light); }
.section-intro { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 70px; margin-bottom: 44px; }
.section-intro p { margin: 0; color: var(--muted); font-size: 19px; }
.section-dark .section-intro p { color: rgba(255,255,255,.75); }
.service-grid, .project-grid, .resource-grid, .proof-grid { display: grid; gap: 20px; }
.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { min-height: 235px; padding: 28px; border: 1px solid var(--line); background: white; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card > span {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 22px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: .04em;
}
.number {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 34px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: .03em;
}
.service-card p, .project-card p, .resource-card p { color: var(--muted); }
.text-link { display: inline-flex; margin-top: 24px; padding: 0; border: 0; background: transparent; color: var(--pine); font-weight: 760; cursor: pointer; text-decoration: none; }
.text-link.light { color: var(--gold-light); }

.proof-band { padding: 40px 0; background: var(--pine); color: white; }
.proof-grid { grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { padding: 8px 20px; border-left: 1px solid rgba(255,255,255,.22); }
.proof-grid strong { display: block; margin-bottom: 6px; color: var(--gold-light); font-size: 20px; }
.proof-grid span { font-size: 13px; line-height: 1.4; }

.client-section {
  padding: 70px 0 76px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.client-section-heading {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 34px;
}
.client-section-heading h2 { margin-bottom: 0; font-size: clamp(30px, 3vw, 44px); }
.client-section-heading p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.client-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.client-card-static { cursor: default; }
.client-card-static:hover {
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}
.client-card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 12px 30px rgba(14, 67, 56, .08);
  transform: translateY(-2px);
}
.client-logo-stage {
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 22px 28px;
}
.client-logo-stage-dark {
  margin: 14px 18px;
  height: 84px;
  padding: 14px 22px;
  background: #112d4e;
}
.client-logo-stage img {
  width: auto;
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
}
.client-logo-stage-dark img { max-height: 58px; }
.client-logo-stage-square img { max-height: 82px; }
.client-logo-stage-lm { padding-block: 8px; }
.client-logo-stage-lm img { max-height: 88px; }
.client-logo-companion {
  color: #315d51;
  font-size: 20px;
  line-height: 1.05;
}
.client-logo-wordmark {
  justify-content: center;
  gap: 12px;
}
.client-monogram {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-accent, var(--pine));
  color: white;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: .02em;
}
.client-wordmark-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.client-wordmark-copy strong {
  color: var(--brand-ink, var(--pine));
  font-size: clamp(20px, 1.7vw, 25px);
  letter-spacing: -.035em;
}
.client-wordmark-copy small {
  margin-top: 6px;
  color: var(--brand-accent, var(--gold));
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.brand-drybread { --brand-ink: #3c352c; --brand-accent: #a77a2f; }
.brand-kogold { --brand-ink: #111111; --brand-accent: #bb8a22; }
.brand-kogold .client-wordmark-copy { align-items: center; }
.brand-kogold .client-wordmark-copy strong { font-size: 34px; letter-spacing: -.06em; }
.brand-kogold .client-wordmark-copy small { margin-top: 2px; font-size: 13px; letter-spacing: .22em; }
.brand-oregon { --brand-ink: #173f35; --brand-accent: #b79542; }
.brand-lm { --brand-ink: #253d55; --brand-accent: #a06d2c; }
.brand-lm .client-wordmark-copy strong { font-size: 34px; }
.brand-wms { --brand-ink: #224c61; --brand-accent: #bd8d25; }
.brand-waikaka { --brand-ink: #382f27; --brand-accent: #bd8f2c; }
.brand-rosco { --brand-ink: #222222; --brand-accent: #b4382e; }
.brand-rosco .client-wordmark-copy strong { letter-spacing: .03em; }
.brand-bromoore { --brand-ink: #283c35; --brand-accent: #92763a; }
.brand-niuminco { --brand-ink: #183d66; --brand-accent: #b7852b; }
.brand-ecodrilling { --brand-ink: #285d3f; --brand-accent: #6e9d4f; }
.brand-bluerock { --brand-ink: #1f4f74; --brand-accent: #4b88aa; }
.brand-habitat { --brand-ink: #315f38; --brand-accent: #78a85e; }
.brand-sgs { --brand-ink: #202020; --brand-accent: #e87524; }
.brand-sgs .client-wordmark-copy { align-items: center; }
.brand-sgs .client-wordmark-copy strong { font-size: 35px; letter-spacing: -.04em; }
.brand-sgs .client-wordmark-copy small { color: #5f5f5f; }
.brand-branch { --brand-ink: #294a3d; --brand-accent: #aa7a37; }
.brand-mining-supplies { --brand-ink: #313b38; --brand-accent: #b9942d; }
.client-name {
  display: block;
  min-height: 51px;
  padding: 13px 18px 15px;
  border-top: 1px solid var(--line);
  color: var(--pine);
  font-size: 13px;
  font-weight: 690;
  line-height: 1.35;
  text-align: center;
}
.associate-heading {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: end;
  gap: 70px;
  margin: 64px 0 28px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.associate-heading h3 { margin: 0; font-size: clamp(27px, 2.5vw, 38px); }
.associate-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: 17px; }
.associate-grid .client-logo-stage { height: 112px; }
.associate-grid .client-logo-stage img { max-height: 62px; }
.associate-grid .associate-logo-compact img { max-height: 76px; }
.associate-grid .associate-logo-wide img { max-height: 58px; }

.project-grid { grid-template-columns: repeat(3, 1fr); }
.project-card { overflow: hidden; border: 1px solid var(--line); background: white; }
.project-card-image { position: relative; margin: 0; overflow: hidden; }
.project-card-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.project-card-image figcaption,
.detail-card-image figcaption {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  padding: 5px 8px;
  background: rgba(8,45,39,.86);
  color: rgba(255,255,255,.88);
  font-size: 10px;
  line-height: 1.35;
}
.project-card-content { padding: 26px; }
.tag { margin-bottom: 9px !important; color: var(--gold) !important; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-projects .project-card p:last-child { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.split-feature { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: var(--cream); }
.split-feature > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.split-feature > div { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(50px, 7vw, 90px); }
.split-feature.reverse > img { order: 2; }
.home-pathways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.home-pathways article {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(34px, 4vw, 54px);
  border-top: 5px solid var(--gold);
  background: white;
  box-shadow: 0 12px 34px rgba(14, 67, 56, .07);
}
.home-pathways article:nth-child(2) { border-top-color: var(--pine); }
.home-pathways p { color: var(--muted); font-size: 18px; }
.home-pathways .text-link { margin-top: auto; }
.sticker-callout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; padding: 52px; border: 1px solid var(--gold); }
.sticker-callout p { color: var(--muted); font-size: 18px; }
.cta-section { padding: 72px 0; background: var(--gold); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 45px; }
.cta-inner p { max-width: 700px; margin: 0; font-size: 18px; }
.cta-inner .eyebrow { color: var(--pine-dark); }
.cta-inner .eyebrow::before { background: var(--pine-dark); }

.page-hero { position: relative; min-height: 360px; display: flex; align-items: end; overflow: hidden; background: var(--pine-dark); color: white; }
.page-hero > img, .page-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero > img { object-fit: cover; }
.page-hero-shade { background: linear-gradient(90deg, rgba(8,45,39,.97), rgba(8,45,39,.62) 58%, rgba(8,45,39,.20)); }
.page-hero-content { position: relative; z-index: 2; max-width: 900px; padding: 76px 0 56px; }
.page-hero h1 { color: white; }
.page-hero p { max-width: 760px; font-size: 20px; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero-credit {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 14px;
  max-width: min(560px, calc(100% - 36px));
  padding: 6px 9px;
  background: rgba(8,45,39,.86);
  color: rgba(255,255,255,.86);
  font-size: 10px;
  line-height: 1.35;
  text-align: right;
  text-decoration: none;
}
.page-hero-credit:hover { color: white; }
.page-hero-graphic {
  background:
    radial-gradient(circle at 79% 34%, rgba(211,189,114,.22) 0 2px, transparent 3px),
    repeating-radial-gradient(ellipse at 86% 40%, transparent 0 28px, rgba(211,189,114,.16) 29px 31px, transparent 32px 60px),
    linear-gradient(112deg, var(--pine-dark), var(--pine) 72%, #174e41);
}
.page-hero-graphic .page-hero-shade { display: none; }
.page-hero-split {
  display: grid;
  grid-template-columns: minmax(470px, 46%) 1fr;
  align-items: stretch;
  min-height: 430px;
  background: var(--pine-dark);
}
.page-hero-split > img {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}
.page-hero-split > img.profile-hero-hamish { object-position: 48% 36%; }
.page-hero-split > img.profile-hero-kim { object-position: 50% 36%; }
/* Keep faces in frame when the source portrait is taller than the split hero. */
.page-hero-split > img.profile-hero-james { object-position: 50% 15%; }
.page-hero-split > img.profile-hero-matthew { object-position: 50% 0%; }
.page-hero-split > img.profile-hero-joe { object-position: 44% 36%; }
/* Portrait source files are tall. Reserve a consistent hero height instead of allowing their intrinsic aspect ratio to enlarge the whole section. */
.page-hero-split.profile-hero-portrait { height: 470px; }
.page-hero-split.profile-hero-portrait > img { min-height: 0; min-width: 0; height: 100%; }
@media (max-width: 950px) {
  .page-hero-split.profile-hero-portrait { height: 420px; }
  .page-hero-split.profile-hero-portrait > img { min-height: 0; }
}

.page-hero-split .page-hero-shade {
  display: none;
}
.page-hero-split .page-hero-content {
  grid-column: 1;
  grid-row: 1;
  width: min(100% - 64px, 540px);
  margin-right: 0;
  padding: 66px 0 58px;
  align-self: center;
}
.page-hero-split h1 {
  font-size: clamp(40px, 4.2vw, 62px);
}
.page-hero-split p {
  font-size: 18px;
}

.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: start; }
.content-grid > div > p:first-of-type { font-size: 19px; }
.side-note { position: sticky; top: 115px; padding: 28px; border-top: 4px solid var(--gold); background: var(--cream); }
.side-note p:last-child { margin-bottom: 0; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; margin: 0 0 11px; padding-left: 25px; }
.check-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.detailed-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.detail-card { overflow: hidden; border: 1px solid var(--line); background: white; box-shadow: 0 10px 34px rgba(14, 67, 56, .06); }
.detail-card-image { position: relative; margin: 0; overflow: hidden; }
.detail-card-image img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.detail-card-body { padding: 30px; }
.detail-card h2 { font-size: 30px; }
.detail-card h3 {
  margin: 28px 0 0;
  padding: 16px 18px 12px;
  border-top: 3px solid var(--gold);
  background: var(--cream);
  font-size: 18px;
  letter-spacing: 0;
}
.support-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 18px 14px;
  background: var(--cream);
  list-style: none;
}
.support-list li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 24px;
  border-top: 1px solid rgba(185,148,45,.25);
  line-height: 1.45;
}
.support-list li::before {
  content: "✓";
  position: absolute;
  top: 10px;
  left: 0;
  color: var(--gold);
  font-weight: 820;
}
.reporting-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--pine);
  background: #eef4f1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.service-outcome {
  margin: 26px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  color: var(--pine);
  font-weight: 650;
}
.historical-service { border-top: 1px solid var(--line); background: var(--paper); }
.historical-service-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.historical-service-layout > div:first-child p { color: var(--muted); font-size: 18px; }
.historical-service-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.historical-service-groups article { height: 100%; padding: 28px; border-top: 4px solid var(--gold); background: var(--cream); }
.historical-service-groups h3 { font-size: 23px; }
.service-outcome span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.capability-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.capability-gallery article { overflow: hidden; border: 1px solid var(--line); background: white; box-shadow: 0 10px 32px rgba(14, 67, 56, .06); }
.capability-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.capability-gallery article:first-child img { object-position: center 48%; }
.capability-gallery article:nth-child(2) img { object-position: center 58%; }
.capability-gallery article:nth-child(3) img { object-position: center 54%; }
.capability-gallery article > div { padding: 26px; }
.capability-gallery h3 { font-size: 26px; }
.capability-gallery p:last-child { margin-bottom: 0; color: var(--muted); }
.survey-band { padding: 58px 0; background: var(--pine); color: rgba(255,255,255,.82); }
.survey-band-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.survey-band h2 { margin: 0; color: white; }
.survey-band .eyebrow { color: var(--gold-light); }
.survey-band p { margin: 0; font-size: 18px; }
.projects-note { max-width: 900px; margin: 0 auto 40px; padding: 22px 26px; border-left: 4px solid var(--gold); background: var(--cream); }
.projects-note p { margin: 0; }
.project-grid.expanded { grid-template-columns: repeat(2, 1fr); }
.project-card.detailed .project-card-image img { aspect-ratio: 16/9; }
.project-card.detailed h2 { font-size: 31px; }
.project-grid.expanded > .project-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
}
.project-grid.expanded > .project-card:last-child:nth-child(odd) > .project-card-image {
  height: 100%;
}
.project-grid.expanded > .project-card:last-child:nth-child(odd) > .project-card-image img {
  height: 100%;
  aspect-ratio: auto;
}
.check-list.compact { margin-bottom: 0; }
.project-capabilities .eyebrow { color: var(--gold-light); }
.safety-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.safety-grid article { padding: 28px; border-top: 4px solid var(--gold); background: white; box-shadow: 0 10px 30px rgba(14, 67, 56, .07); }
.safety-grid article > span { display: block; margin-bottom: 18px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.safety-grid article p { margin-bottom: 0; color: var(--muted); }
.regulatory-section { border-bottom: 1px solid var(--line); }
.regulatory-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.regulatory-split article { padding: 32px; border-top: 5px solid var(--pine); background: white; box-shadow: 0 12px 34px rgba(14, 67, 56, .07); }
.regulatory-split article:nth-child(2) { border-top-color: var(--gold); }
.regulatory-split h3 { font-size: 28px; }
.regulatory-split p:last-child { margin: 0; color: var(--muted); }
.regulatory-note { margin: 22px 0 0; padding: 18px 22px; border-left: 4px solid var(--gold); background: #fffaf0; color: var(--muted); font-size: 14px; }
.opportunity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.opportunity-grid article { padding: 30px; border-top: 4px solid var(--gold); background: var(--cream); }
.section-cream .opportunity-grid article { background: white; }
.opportunity-grid span { display: block; margin-bottom: 20px; color: var(--gold); font-size: 12px; font-weight: 820; letter-spacing: .1em; }
.opportunity-grid p { margin: 0; color: var(--muted); }
.nz-opportunity-support { background: white; }
.nz-opportunity-support .opportunity-grid article { box-shadow: 0 12px 34px rgba(14, 67, 56, .07); }
.nz-opportunity-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 24px;
  padding: 28px 30px;
  background: var(--pine);
  color: white;
}
.nz-opportunity-cta h3 { margin-bottom: 6px; color: white; }
.nz-opportunity-cta p { margin: 0; color: rgba(255,255,255,.78); }
.nz-opportunity-cta .button { flex: 0 0 auto; }
.source-note {
  max-width: 980px;
  margin-top: 34px;
  padding: 24px 28px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
}
.source-note strong { display: block; margin-bottom: 8px; color: var(--pine); font-size: 18px; }
.source-note p { margin: 0; color: var(--muted); }
.nz-advantage-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(50px, 7vw, 100px); align-items: start; }
.nz-advantage-layout > div:first-child > p { color: var(--muted); font-size: 18px; }
.advantage-list { display: grid; gap: 14px; }
.advantage-list article { padding: 25px 28px; border-left: 4px solid var(--gold); background: white; box-shadow: 0 8px 24px rgba(14, 67, 56, .05); }
.advantage-list h3 { margin-bottom: 8px; font-size: 23px; }
.advantage-list p { margin: 0; color: var(--muted); }
.reality-check { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.reality-check p { font-size: 18px; }
.safety-more-link { margin-top: 30px; }
.safety-lead-section { border-bottom: 1px solid var(--line); }
.safety-lead-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: start;
  gap: 80px;
}
.safety-lead-grid > div > p { color: var(--muted); font-size: 18px; }
.safety-credential-card {
  padding: 34px;
  border-top: 5px solid var(--gold);
  background: var(--pine-dark);
  color: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}
.safety-credential-card > span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.safety-credential-card h3 { color: white; }
.safety-credential-card .check-list li { color: white; font-weight: 680; }
.safety-credential-card p { margin: 24px 0 0; font-size: 13px; }
.safety-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.safety-detail-grid article {
  min-height: 265px;
  padding: 30px;
  border: 1px solid var(--line);
  background: white;
}
.safety-detail-grid article > span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: .08em;
}
.safety-detail-grid article p { margin: 0; color: var(--muted); }
.safety-source-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 80px;
}
.safety-source-grid p { margin: 0; color: rgba(255,255,255,.72); }
.safety-source-links { display: grid; gap: 10px; }
.safety-source-links a {
  padding: 17px 19px;
  border: 1px solid rgba(255,255,255,.22);
  color: white;
  font-weight: 680;
  text-decoration: none;
}
.safety-source-links a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.safety-promo { padding: 58px 0; background: var(--pine); color: rgba(255,255,255,.78); }
.safety-promo-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
}
.safety-promo h2 { color: white; }
.safety-promo p { max-width: 800px; margin: 0; }
.safety-promo .eyebrow { color: var(--gold-light); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 28px 0; border: 1px solid var(--line); background: var(--line); }
.process > div { padding: 24px; background: var(--paper); }
.process span { color: var(--gold); font-size: 12px; font-weight: 800; }
.process p { margin: 0; color: var(--muted); font-size: 14px; }
.mining-series-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0 0 56px;
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.mining-series-rail button {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 19px 18px 21px;
  border: 0;
  border-top: 5px solid var(--topic-accent);
  background: white;
  color: var(--pine);
  text-align: left;
  cursor: pointer;
}
.mining-series-rail button:hover { background: var(--cream); }
.mining-series-rail span {
  display: block;
  color: var(--topic-accent);
  font-size: 19px;
  font-weight: 860;
  letter-spacing: .03em;
  line-height: 1;
}
.mining-series-rail strong {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}
.mining-series-rail small {
  display: block;
  margin-top: 2px;
  color: var(--pine);
  font-size: 13px;
  font-weight: 740;
  line-height: 1.35;
  text-wrap: balance;
}
.mining-topic-index {
  display: grid;
  border-top: 1px solid var(--line);
}
.mining-topic-card {
  display: grid;
  grid-template-columns: minmax(390px, .78fr) minmax(0, 1.22fr);
  min-height: 390px;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 8px solid var(--topic-accent, var(--gold));
  background: white;
}
.mining-topic-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.22fr) minmax(390px, .78fr);
  border-right: 8px solid var(--topic-accent, var(--gold));
  border-left: 0;
}
.mining-topic-card:nth-child(even) figure { grid-column: 2; grid-row: 1; }
.mining-topic-card:nth-child(even) .mining-topic-card-copy { grid-column: 1; grid-row: 1; }
.mining-topic-card figure {
  position: relative;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  background: var(--pine-dark);
}
.mining-topic-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,45,39,.42));
  pointer-events: none;
}
.mining-topic-image-link {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.mining-topic-image-link img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; transition: transform .3s ease; }
.mining-topic-image-link:hover img { transform: scale(1.018); }
.mining-topic-image-link:focus-visible { outline-offset: -5px; }
.mining-topic-card figure > span {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 8px 11px;
  background: var(--topic-accent, var(--gold));
  color: white;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
}
.mining-topic-card figcaption {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 12px;
  left: 14px;
  color: rgba(255,255,255,.9);
  font-size: 10px;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}
.mining-topic-card figcaption a { color: inherit; }
.mining-topic-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 390px;
  padding: clamp(44px, 5vw, 76px);
}
.mining-topic-card h2 { max-width: 760px; font-size: clamp(35px, 3.1vw, 54px); }
.mining-topic-card p:not(.tag) { max-width: 760px; color: var(--muted); font-size: 18px; }
.mining-topic-card .text-link { margin-top: 28px; }
.mining-topic-card .tag { color: var(--topic-accent, var(--gold)) !important; }
.topic-card-proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  max-width: 740px;
  margin-top: 12px;
  padding: 17px 20px;
  border-left: 5px solid var(--topic-accent);
  background: var(--cream);
}
.topic-card-proof strong {
  color: var(--topic-accent);
  font-size: clamp(27px, 2.5vw, 40px);
  line-height: 1;
}
.topic-card-proof span { color: var(--pine); font-size: 14px; font-weight: 680; line-height: 1.35; }
.exploration-path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.exploration-path > div { min-height: 190px; padding: 25px; background: white; }
.exploration-path span {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}
.exploration-path h3 { margin-bottom: 10px; font-size: 23px; }
.exploration-path p { margin: 0; color: var(--muted); font-size: 14px; }
.why-principle { margin-bottom: 0; }
.topic-series-nav {
  border-bottom: 1px solid var(--line);
  background: white;
}
.topic-series-nav .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.topic-series-nav button {
  min-height: 82px;
  padding: 16px 19px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 5px solid transparent;
  background: white;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.topic-series-nav button:first-child { border-left: 1px solid var(--line); }
.topic-series-nav button:hover { background: var(--cream); }
.topic-series-nav button.active {
  border-bottom-color: var(--topic-link-accent);
  color: var(--pine);
  background: var(--cream);
}
.topic-series-nav span {
  display: block;
  margin-bottom: 5px;
  color: var(--topic-link-accent);
  font-size: 15px;
  font-weight: 860;
  letter-spacing: .04em;
}
.topic-lead { max-width: none; }
.topic-lead .topic-back {
  display: flex;
  width: max-content;
  margin: 0 0 58px;
}
.topic-lead > h2 { max-width: 920px; }
.topic-lead > p { max-width: 980px; color: var(--muted); font-size: 22px; line-height: 1.65; }
.mining-topic-page .page-hero { border-bottom: 7px solid var(--topic-accent); }
.mining-topic-page .eyebrow::before { background: var(--topic-accent); }
.topic-identity {
  width: max-content;
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin: 0 0 32px;
  border: 1px solid var(--line);
  background: white;
}
.topic-identity > span {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background: var(--topic-accent);
  color: white;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: .04em;
}
.topic-identity > div { display: flex; flex-direction: column; justify-content: center; padding: 8px 18px 8px 0; }
.topic-identity small { color: var(--muted); font-size: 10px; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; }
.topic-identity strong { color: var(--pine); font-size: 14px; }
.topic-proof-chain {
  padding: 54px 0 58px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.topic-proof-chain-label {
  margin: 0 0 15px;
  color: var(--topic-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.topic-proof-chain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.topic-proof-chain-grid article {
  position: relative;
  min-height: 158px;
  padding: 28px 28px 24px;
  background: white;
}
.topic-proof-chain-grid article:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -16px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--topic-accent);
  color: white;
  font-size: 17px;
  font-weight: 850;
  transform: translateY(-50%);
}
.topic-proof-chain-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--topic-accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
}
.topic-proof-chain-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--pine);
  font-size: 23px;
}
.topic-proof-chain-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.48; }
.topic-facts {
  padding: 54px 0;
  border-top: 8px solid var(--topic-accent);
  background: var(--pine-dark);
  color: white;
}
.topic-fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.topic-fact-grid article { padding: 12px 42px; border-left: 1px solid rgba(255,255,255,.24); }
.topic-fact-grid article:first-child { border-left: 0; }
.topic-fact-grid strong { display: block; color: var(--gold-light); font-size: clamp(38px, 4vw, 62px); line-height: .95; }
.topic-fact-grid p { max-width: 370px; margin: 16px 0 5px; font-size: 17px; line-height: 1.4; }
.topic-fact-grid small { display: block; max-width: 400px; color: rgba(255,255,255,.66); font-size: 12px; line-height: 1.45; }
.topic-fact-grid .claim-refs { color: rgba(255,255,255,.82); }
.claim-refs {
  display: block;
  margin-top: 14px;
  color: var(--topic-accent, var(--gold));
  font-size: 11px;
  font-weight: 830;
  letter-spacing: .05em;
}
.evidence-section { background: white; }
.evidence-grid {
  display: grid;
  border-top: 1px solid var(--line);
}
.evidence-grid article {
  min-height: 0;
  display: grid;
  grid-template-columns: 150px minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 36px;
  align-items: start;
  padding: 34px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: white;
  box-shadow: none;
}
.evidence-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; }
.evidence-meta > span { color: var(--topic-accent); font-size: 30px; font-weight: 850; }
.evidence-meta > small {
  padding: 5px 8px;
  border: 1px solid color-mix(in srgb, var(--topic-accent) 40%, white);
  color: var(--topic-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.evidence-grid h3 { margin: 2px 0 0; font-size: 29px; }
.evidence-grid p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.62; }
.evidence-grid > article > .claim-refs { grid-column: 3; margin-top: -25px; }
.nz-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.nz-proof-grid article {
  padding: 34px;
  border-top: 6px solid var(--topic-accent);
  background: white;
}
.nz-proof-grid h3 { font-size: 27px; }
.nz-proof-grid p { margin: 0; color: var(--muted); }
.claim-boundary-section { border-top: 1px solid var(--line); }
.claim-boundary-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 76px; align-items: start; }
.claim-boundary-layout > div:first-child > p { color: var(--muted); font-size: 18px; }
.claim-boundary-list { display: grid; gap: 12px; }
.claim-boundary-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
}
.claim-boundary-list article:last-child { border-bottom: 1px solid var(--line); }
.claim-boundary-list span { color: var(--topic-accent); font-weight: 850; }
.claim-boundary-list p { margin: 0; color: var(--muted); }
.source-section { border-top: 1px solid var(--line); }
.source-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.source-layout > div:first-child p { color: var(--muted); }
.santana-experience {
  margin-top: 32px;
  padding: 26px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
}
.santana-experience > span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.santana-experience h3 { margin-bottom: 12px; }
.santana-experience p { margin-bottom: 0; }
.santana-experience .text-link { margin-top: 18px; }
.source-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.source-list a {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 54px 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-decoration: none;
}
.source-list a:hover { padding-left: 14px; background: var(--cream); }
.source-list span { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.source-list strong { margin-top: 4px; color: var(--pine); line-height: 1.35; }
.source-list small { margin-top: 7px; padding-right: 14px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.source-list i { position: absolute; right: 20px; top: 50%; color: var(--gold); font-size: 20px; font-style: normal; transform: translateY(-50%); }
.next-topic { padding: 58px 0; background: var(--cream); border-top: 1px solid var(--line); }
.next-topic-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.next-topic-links button {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  background: white;
  color: var(--pine);
  font-weight: 720;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.next-topic-links button:hover { border-color: var(--gold); }
.next-topic-links span { display: block; margin-bottom: 9px; color: var(--gold); font-size: 11px; letter-spacing: .08em; }
.resource-grid { grid-template-columns: repeat(2, 1fr); }
.resource-card { padding: 30px; border: 1px solid var(--line); background: white; }
.resource-card h2 { font-size: 30px; }

.permit-section { background: var(--cream); }
.map-intro { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 28px; }
.map-intro p { max-width: 800px; margin-bottom: 0; }
.map-frame { height: 650px; overflow: hidden; border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-note { margin: 13px 0 0; color: var(--muted); font-size: 12px; }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-details { padding: 34px; background: var(--pine-dark); color: rgba(255,255,255,.82); }
.contact-details h2, .contact-details h3 { color: white; }
.contact-details .eyebrow { color: var(--gold-light); }
.contact-details a { color: var(--gold-light); }
.contact-links { font-size: 18px; line-height: 1.7; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; color: var(--pine); font-size: 13px; font-weight: 760; }
.contact-form .wairiri-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
.contact-form label > span { color: var(--muted); font-size: 12px; font-weight: 500; }
.contact-form .full, .contact-form .form-message, .contact-form .form-privacy { grid-column: 1/-1; }
.contact-form input, .contact-form textarea, .contact-form select { padding: 12px 13px; border: 1px solid #aaa89f; background: white; color: var(--ink); font-weight: 400; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .button { justify-self: start; }
.form-privacy { max-width: 720px; margin: -2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-privacy a { font-weight: 700; }
.form-message { padding: 13px 15px; border-left: 4px solid var(--pine); background: #e7f3ef; }

.site-footer { padding: 62px 0 20px; background: var(--pine-dark); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .55fr 1fr; gap: 70px; }
.footer-grid img {
  width: 260px;
  margin-bottom: 18px;
  padding: 9px 11px;
  border-radius: 5px;
  background: #fff;
  box-sizing: border-box;
}
.footer-grid h3 { color: white; font-size: 18px; }
.footer-grid button:not(.text-link) { display: block; margin: 0 0 8px; padding: 0; border: 0; background: transparent; color: rgba(255,255,255,.78); cursor: pointer; }
.footer-contact a { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; }
.footer-bottom a { color: var(--gold-light); }
.generic-content { min-height: 55vh; }
.generic-content-inner { max-width: 860px; }
.generic-content h1 { margin-bottom: 38px; }
.generic-content h2 { margin-top: 42px; font-size: clamp(26px, 3vw, 38px); }
.generic-content h3 { margin-top: 30px; font-size: clamp(21px, 2vw, 27px); }
.generic-content ul { padding-left: 24px; }
.generic-content li { margin-bottom: 8px; }

@media (max-width: 1080px) {
  .brand { width: 210px; }
  .primary-nav { gap: 9px; }
  .primary-nav button { font-size: 11.5px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-gallery { grid-template-columns: repeat(2, 1fr); }
  .capability-gallery article:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; }
  .capability-gallery article:first-child img { height: 100%; aspect-ratio: auto; }
  .mining-series-rail { grid-template-columns: repeat(3, 1fr); }
  .mining-series-rail button:nth-child(n+4) { border-top-width: 5px; }
}

@media (max-width: 950px) {
  .site-header { position: relative; }
  .header-inner { min-height: 78px; }
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); background: white; }
  .primary-nav.is-open { display: flex; }
  .primary-nav button { padding: 12px 0; text-align: left; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy-inner { width: min(100% - 40px, 650px); }
  .hero-gallery { min-height: 480px; }
  .section-intro, .client-section-heading, .associate-heading, .content-grid, .contact-layout, .cta-inner, .map-intro, .safety-lead-grid, .safety-source-grid, .safety-promo-inner, .survey-band-inner, .nz-advantage-layout, .reality-check, .historical-service-layout { grid-template-columns: 1fr; gap: 30px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .side-note { position: static; }
  .split-feature { grid-template-columns: 1fr; }
  .split-feature > img { min-height: 380px; }
  .split-feature.reverse > img { order: 0; }
  .sticker-callout { grid-template-columns: 1fr; gap: 20px; padding: 35px; }
  .map-frame { height: 540px; }
  .page-hero-split { grid-template-columns: 1fr; }
  .page-hero-split > img { grid-column: 1; grid-row: 1; min-height: 330px; }
  .page-hero-split::after {
    content: "";
    z-index: 1;
    grid-column: 1;
    grid-row: 1;
    background: linear-gradient(90deg, rgba(8,45,39,.97), rgba(8,45,39,.58) 70%, rgba(8,45,39,.28));
  }
  .page-hero-split .page-hero-content {
    z-index: 2;
    grid-column: 1;
    grid-row: 1;
    width: min(calc(100% - 40px), 650px);
    margin-inline: auto;
  }
  .safety-grid, .safety-detail-grid, .opportunity-grid { grid-template-columns: 1fr; }
  .nz-opportunity-cta { align-items: flex-start; flex-direction: column; }
  .mining-topic-card,
  .mining-topic-card:nth-child(even) {
    display: grid;
    grid-template-columns: minmax(240px, .7fr) 1fr;
    border-right: 0;
    border-left: 7px solid var(--topic-accent, var(--gold));
    min-height: 320px;
  }
  .mining-topic-card:nth-child(even) figure { grid-column: 1; grid-row: 1; }
  .mining-topic-card:nth-child(even) .mining-topic-card-copy { grid-column: 2; grid-row: 1; }
  .mining-topic-card figure,
  .mining-topic-image-link,
  .mining-topic-image-link img { min-height: 320px; }
  .mining-topic-card-copy,
  .mining-topic-card:nth-child(even) .mining-topic-card-copy { min-height: 320px; padding: 34px; }
  .mining-topic-card h2 { font-size: 34px; }
  .topic-series-nav { overflow-x: auto; }
  .topic-series-nav .container {
    width: max-content;
    grid-template-columns: repeat(5, 165px);
  }
  .topic-proof-chain-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-proof-chain-grid article:nth-child(2)::after { display: none; }
  .exploration-path { grid-template-columns: repeat(2, 1fr); }
  .source-layout { grid-template-columns: 1fr; gap: 38px; }
  .claim-boundary-layout { grid-template-columns: 1fr; gap: 34px; }
  .nz-proof-grid { grid-template-columns: 1fr; }
  .next-topic-links { grid-template-columns: repeat(2, 1fr); }
  .evidence-grid article {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 24px;
  }
  .evidence-grid p,
  .evidence-grid > article > .claim-refs { grid-column: 2; }
  .evidence-grid > article > .claim-refs { margin-top: -16px; }
}

/* Version 4.5 — international pathway, named team and map help */
.international-callout,
.map-help-callout {
  background: #e8eee8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.international-callout-inner,
.map-help-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
}
.international-callout-inner h2,
.map-help-intro h2 { margin-bottom: 10px; }
.international-callout-inner p,
.map-help-intro p { max-width: 780px; margin-bottom: 0; }
.home-specialist-links {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.home-specialist-links .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}
.home-specialist-links span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.home-specialist-links a { color: var(--pine); font-size: 14px; font-weight: 720; }

.team-profile-grid,
.specialist-link-grid,
.map-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.team-profile-card,
.specialist-link-grid > a,
.specialist-link-grid > article,
.map-help-grid > article {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  text-decoration: none;
}

.team-profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: -28px -28px 20px;
  width: calc(100% + 56px);
  max-width: none;
  object-fit: cover;
  object-position: center 34%;
}

.team-profile-card:hover,
.specialist-link-grid > a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.team-profile-card > span,
.specialist-link-grid > a > span,
.specialist-link-grid > article > span,
.map-help-grid > article > span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.team-profile-card h3,
.specialist-link-grid h3,
.map-help-grid h3 { margin-bottom: 9px; font-size: 25px; }
.team-profile-card p { margin-bottom: 8px; color: var(--pine); font-weight: 760; }
.team-profile-card small { display: block; color: var(--muted); font-size: 14px; line-height: 1.55; }
.specialist-link-grid p,
.map-help-grid p { margin: 0; color: var(--muted); }
.map-help-grid ol { margin: 0 0 18px; padding-left: 20px; }
.map-help-grid li { margin-bottom: 8px; }
.specialist-link-grid > :last-child:nth-child(3n + 2) { grid-column: span 2; }

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 70px;
  align-items: start;
}
.profile-overview-section { padding-top: 54px; }
.profile-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 64px;
  border: 1px solid var(--line);
  background: var(--line);
}
.profile-metrics article {
  min-width: 0;
  padding: 24px 20px;
  background: white;
}
.profile-metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--pine);
  font-size: clamp(23px, 2.2vw, 34px);
  line-height: 1.08;
}
.profile-metrics span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.profile-contact a { color: var(--pine); }
.international-process {
  width: min(calc(100% - 40px), var(--content));
  margin: 28px auto;
}
.international-process article {
  min-width: 0;
  padding: 28px;
  background: var(--paper);
}
.section-dark .international-process h3 { color: var(--pine); }
.section-dark .international-process p { color: var(--muted); }

.equipment-section { background: var(--cream); }
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.equipment-grid article {
  padding: 30px;
  border-top: 4px solid var(--gold);
  background: white;
}
.equipment-grid article > span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: .1em;
}
.equipment-grid p { margin: 0; color: var(--muted); }

.footer-grid > div:first-child > img {
  width: min(300px, 100%);
  height: auto;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: 4px;
  background: #fff;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 950px) {
  .international-callout-inner,
  .map-help-intro,
  .profile-layout { grid-template-columns: 1fr; gap: 28px; }
  .profile-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 48px; }
  .profile-metrics article:last-child { grid-column: span 2; }
  .team-profile-grid,
  .specialist-link-grid,
  .map-help-grid,
  .equipment-grid { grid-template-columns: 1fr 1fr; }
  .specialist-link-grid > :last-child:nth-child(3n + 2) { grid-column: auto; }
}

@media (max-width: 620px) {
  .team-profile-grid,
  .specialist-link-grid,
  .map-help-grid,
  .equipment-grid { grid-template-columns: 1fr; }
  .international-process { width: min(calc(100% - 28px), var(--content)); }
  .profile-overview-section { padding-top: 36px; }
  .profile-metrics { grid-template-columns: 1fr; margin-bottom: 38px; }
  .profile-metrics article:last-child { grid-column: auto; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--content)); }
  body { font-size: 15px; }
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .brand { width: 205px; }
  .hero { min-height: auto; }
  .hero-copy-inner { padding: 56px 0; }
  .hero-gallery { min-height: 370px; }
  .hero-dots { right: 14px; left: 14px; flex-wrap: wrap; gap: 6px; }
  .service-grid, .project-grid, .project-grid.expanded, .resource-grid, .detailed-services, .proof-grid, .process, .footer-grid, .contact-form, .home-pathways, .capability-gallery, .client-grid, .regulatory-split, .historical-service-groups, .evidence-grid, .nz-proof-grid { grid-template-columns: 1fr; }
  .client-section { padding: 56px 0 62px; }
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .client-logo-stage,
  .associate-grid .client-logo-stage {
    height: 74px;
    gap: 8px;
    padding: 12px 14px;
  }
  .client-logo-stage img,
  .associate-grid .client-logo-stage img {
    max-height: 44px;
  }
  .client-logo-stage-square img { max-height: 52px; }
  .client-logo-stage-lm { padding-block: 7px; }
  .client-logo-stage-lm img { max-height: 56px; }
  .client-logo-stage-dark {
    height: 60px;
    margin: 7px 9px;
    padding: 9px 12px;
  }
  .client-logo-stage-dark img { max-height: 42px; }
  .associate-grid .associate-logo-compact img { max-height: 50px; }
  .associate-grid .associate-logo-wide img { max-height: 40px; }
  .client-logo-companion { font-size: 14px; }
  .client-monogram {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 11px;
  }
  .client-logo-wordmark .client-wordmark-copy strong { font-size: 17px; }
  .client-wordmark-copy small {
    margin-top: 4px;
    font-size: 7px;
  }
  .client-name {
    min-height: 46px;
    padding: 9px 8px 10px;
    font-size: 11.5px;
  }
  .capability-gallery article:first-child { grid-column: auto; display: block; }
  .capability-gallery article:first-child img { height: auto; aspect-ratio: 4 / 3; }
  .proof-grid > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .project-card.detailed .project-card-image img { aspect-ratio: 4/3; }
  .project-grid.expanded > .project-card:last-child:nth-child(odd) {
    grid-column: auto;
    display: block;
  }
  .project-grid.expanded > .project-card:last-child:nth-child(odd) > .project-card-image {
    height: auto;
  }
  .project-grid.expanded > .project-card:last-child:nth-child(odd) > .project-card-image img {
    height: auto;
    aspect-ratio: 4/3;
  }
  .contact-form .full, .contact-form .form-message, .contact-form .form-privacy { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .map-frame { height: 470px; }
  .button-row { flex-direction: column; align-items: stretch; }
  .page-hero { min-height: 330px; }
  .page-hero-credit { right: 10px; bottom: 8px; font-size: 9px; }
  .footer-grid { gap: 35px; }
  .mining-series-rail { grid-template-columns: 1fr; margin-bottom: 34px; }
  .mining-series-rail button { min-height: 78px; }
  .mining-topic-card,
  .mining-topic-card:nth-child(even) { display: block; min-height: auto; border-right: 0; border-left-width: 6px; }
  .mining-topic-card figure,
  .mining-topic-image-link,
  .mining-topic-image-link img { min-height: 230px; aspect-ratio: 16 / 9; }
  .mining-topic-card-copy,
  .mining-topic-card:nth-child(even) .mining-topic-card-copy { min-height: 0; padding: 28px 24px 32px; }
  .mining-topic-card h2 { font-size: 32px; }
  .mining-topic-card p:not(.tag) { font-size: 16px; }
  .topic-card-proof { grid-template-columns: 1fr; gap: 7px; }
  .page-hero-split .page-hero-content { width: min(calc(100% - 28px), 650px); }
  .page-hero-split h1 { font-size: 42px; }
  .topic-lead .topic-back { margin-bottom: 40px; }
  .topic-proof-chain-grid { grid-template-columns: 1fr; }
  .topic-proof-chain-grid article { min-height: 0; }
  .topic-proof-chain-grid article:not(:last-child)::after {
    display: grid;
    top: auto;
    right: 22px;
    bottom: -16px;
    transform: rotate(90deg);
  }
  .exploration-path, .topic-fact-grid, .next-topic-links { grid-template-columns: 1fr; }
  .topic-fact-grid article { border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .topic-fact-grid article:first-child { border-top: 0; }
  .evidence-grid article {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }
  .evidence-meta { flex-direction: row; align-items: center; }
  .evidence-grid p,
  .evidence-grid > article > .claim-refs { grid-column: 1; }
  .evidence-grid > article > .claim-refs { margin-top: -8px; }
  .claim-boundary-list article { grid-template-columns: 36px 1fr; gap: 12px; }
}


/* ------------------------------------------------------------------
   Version 3.6 — AI, automation and permit-intelligence additions
   Uses the existing v3.5 type, spacing, card and colour system.
   ------------------------------------------------------------------ */
.intelligence-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.intelligence-section .section-intro > div:last-child p {
  color: var(--muted);
  font-size: 18px;
}
.intelligence-grid {
  margin-bottom: 24px;
}
.intelligence-grid .service-card {
  min-height: 220px;
}
.intelligence-note {
  max-width: 980px;
  margin: 24px 0 16px;
  padding: 17px 20px;
  border-left: 4px solid var(--gold);
  background: var(--cream);
  color: #46504c;
  font-size: 15px;
}
.permit-intelligence-section {
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.permit-intelligence-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: start;
}
.permit-intelligence-section p {
  color: rgba(255,255,255,.80);
}
.permit-intelligence-card {
  padding: 32px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
}
.permit-intelligence-card .check-list li {
  color: rgba(255,255,255,.84);
}
.client-service-badge {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 11px;
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.permit-disclaimer {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 4px solid var(--gold-light);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.72) !important;
  font-size: 14px;
}
@media (max-width: 900px) {
  .permit-intelligence-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


/* Version 3.7 — stronger navigation and prominent Permit Intelligence */

/* WordPress converts mapped navigation buttons to anchors. Style both. */
.primary-nav { gap: 5px; }
.primary-nav button,
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 9px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--pine-dark);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.primary-nav button:hover,
.primary-nav a:hover,
.primary-nav button.active,
.primary-nav a.active {
  background: var(--cream);
  color: var(--pine);
  border-bottom: 0;
  text-decoration: none;
}
.primary-nav .permit-link {
  color: var(--pine);
  border-bottom: 0;
}

.permit-intelligence-home {
  background: var(--pine-dark);
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.permit-intelligence-home-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 52px;
  align-items: center;
  padding-top: 34px;
  padding-bottom: 34px;
}
.permit-intelligence-home .eyebrow { color: var(--gold-light); margin-bottom: 8px; }
.permit-intelligence-home h2 {
  margin: 0 0 10px;
  color: white;
  font-size: clamp(28px,3vw,42px);
}
.permit-intelligence-home p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.82);
}
.permit-intelligence-home-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.permit-intelligence-home-actions span {
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.5;
}
.permit-intelligence-button { white-space: nowrap; }

.permit-intelligence-service-callout {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.permit-intelligence-callout-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.permit-intelligence-callout-inner h2 { margin-bottom: 10px; }

.permit-intelligence-overview .light-card {
  background: var(--pine-dark);
  color: white;
}
.permit-intelligence-overview .light-card h3 { color: white; }
.permit-intelligence-overview .light-card .check-list li { color: rgba(255,255,255,.85); }

.permit-intelligence-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.permit-intelligence-bottom h2 { color: white; }
.permit-intelligence-bottom p {
  max-width: 800px;
  color: rgba(255,255,255,.80);
}

/* Footer navigation is also converted to anchors by WordPress. */
.footer-grid button:not(.text-link),
.footer-grid a:not(.text-link) {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  cursor: pointer;
}
.footer-grid a:not(.text-link):hover { color: var(--gold-light); }

@media (max-width: 1180px) {
  .brand { width: 220px; }
  .primary-nav { gap: 2px; }
  .primary-nav button,
  .primary-nav a { padding-inline: 6px; font-size: 11.5px; }
}
@media (max-width: 950px) {
  .primary-nav button,
  .primary-nav a {
    width: 100%;
    min-height: 0;
    padding: 12px 8px;
    text-align: left;
    justify-content: flex-start;
  }
  .permit-intelligence-home-inner,
  .permit-intelligence-callout-inner,
  .permit-intelligence-bottom {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* v4.5.6 regional landing page field galleries */
.regional-field-section { padding-top: 30px; }
.regional-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.regional-photo-grid figure { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 32px rgba(14,67,56,.06); }
.regional-photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.regional-photo-grid figure:nth-child(3) img { object-position: center; }
.regional-photo-grid figcaption { padding: 14px 16px 16px; color: var(--muted); font-size: 14px; line-height: 1.45; }
@media (max-width: 950px) { .regional-photo-grid { grid-template-columns: 1fr 1fr; } .regional-photo-grid figure:first-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .regional-photo-grid { grid-template-columns: 1fr; } .regional-photo-grid figure:first-child { grid-column: auto; } }


/* v4.6.4 — stronger masthead and international-explorer presentation */
.header-inner { min-height: 98px; }
.brand { width: 300px; flex: 0 0 auto; }
.primary-nav button,
.primary-nav a { min-height: 46px; padding: 10px 10px; font-size: 13.5px; }
.menu-toggle { width: 46px; height: 46px; }
.international-intro + .section .service-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) {
  .brand { width: 250px; }
  .primary-nav button,
  .primary-nav a { padding-inline: 6px; font-size: 12px; }
}
@media (max-width: 950px) {
  .brand { width: 235px; }
  .header-inner { min-height: 84px; }
  .international-intro + .section .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .brand { width: 220px; }
  .international-intro + .section .service-grid { grid-template-columns: 1fr; }
}


/* ===== Stage 2 visual system draft ===== */
.stage2 { --content: 1280px; }
.stage2 .site-header { background: rgba(255,255,255,.94); box-shadow: 0 1px 0 rgba(8,45,39,.08); }
.stage2 .header-inner { min-height: 84px; }
.stage2 .primary-nav { gap: clamp(10px,1.15vw,20px); }
.stage2 .primary-nav a { letter-spacing: .005em; }
.stage2.home-page .hero { grid-template-columns: .42fr .58fr; min-height: 700px; background: #f4f0e7; }
.stage2.home-page .hero-copy { background: #f4f0e7; }
.stage2.home-page .hero-copy-inner { width:min(100% - 76px,600px); padding: 82px 0; }
.stage2.home-page .hero-gallery { min-height:700px; }
.stage2.home-page .hero-slide { object-position:center; }
.stage2.home-page .hero-slide:first-child { object-position:center; }
.stage2 .hero-support-line { max-width:540px; margin:-6px 0 0; color:var(--pine); font-size:14px; font-weight:700; }
.stage2.home-page .hero-dots { top:auto; bottom:27px; left:auto; right:82px; }
.stage2.home-page .hero-dots button { width:8px; height:8px; border-color:rgba(255,255,255,.9); }
.stage2.home-page .image-label { left:22px; bottom:22px; backdrop-filter:blur(6px); }
.stage2 .permit-intelligence-home { border-top: 1px solid rgba(255,255,255,.1); }
.stage2 .section { padding: clamp(76px,7vw,112px) 0; }
.stage2.home-page .opportunity-grid article { border-top:3px solid var(--gold); }
.stage2.home-page .service-grid .service-card { box-shadow:none; }
.stage2.home-page .service-grid .service-card:hover { box-shadow:0 18px 42px rgba(8,45,39,.09); }
.current-work-section { background:#102f29; color:#fff; overflow:hidden; }
.current-work-layout { display:grid; grid-template-columns:.72fr 1.28fr; gap:56px; align-items:center; }
.current-work-copy h2 { color:#fff; }
.current-work-copy p { color:rgba(255,255,255,.78); font-size:18px; }
.current-work-copy .eyebrow { color:var(--gold-light); }
.current-work-copy .text-link { color:var(--gold-light); }
.current-work-images { display:grid; grid-template-columns:1.15fr .85fr; gap:12px; }
.current-work-images figure { position:relative; margin:0; min-height:410px; overflow:hidden; background:#071e1a; }
.current-work-images figure:last-child { min-height:310px; align-self:end; }
.current-work-images img { width:100%; height:100%; object-fit:cover; }
.current-work-images figcaption { position:absolute; left:14px; bottom:12px; max-width:88%; padding:7px 9px; background:rgba(8,45,39,.78); color:#fff; font-size:11px; }
.stage2 .proof-band { background:#0b352d; }
.stage2 .proof-grid strong { color:#e1c760; }
.stage2 .intelligence-section { background:#ece7dc; }
.stage2 .intelligence-section h2,.stage2 .intelligence-section h3 { color:var(--pine); }
.stage2 .intelligence-section .eyebrow { color:var(--pine); }
.stage2 .intelligence-section .section-intro p,.stage2 .intelligence-section .intelligence-note { color:#4b5550; }
.stage2 .intelligence-section .service-card { background:#fffdf8; }
.insights-home { background:#fffdf8; border-top:1px solid var(--line); }
.insights-grid,.insights-index-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.insights-grid a,.insights-index-grid article { min-height:250px; padding:30px; border-top:3px solid var(--gold); background:#f6f2e9; color:var(--ink); text-decoration:none; }
.insights-grid span,.insights-index-grid article>span { display:block; margin-bottom:14px; color:var(--pine); font-size:11px; font-weight:780; letter-spacing:.13em; text-transform:uppercase; }
.insights-grid p,.insights-index-grid p { color:var(--muted); }
.insights-grid a:hover { transform:translateY(-3px); box-shadow:0 14px 34px rgba(8,45,39,.08); }
.page-hero-current img { object-position:center 54%; }
.current-project-proof { background:#0d332c; color:#fff; }
.current-project-grid { display:grid; grid-template-columns:1.18fr .82fr; gap:50px; align-items:center; }
.current-project-grid figure { margin:0; min-height:440px; overflow:hidden; }
.current-project-grid img { width:100%; height:100%; object-fit:cover; }
.current-project-grid h2 { color:#fff; }
.current-project-grid p { color:rgba(255,255,255,.78); font-size:18px; }
.current-project-grid .eyebrow { color:var(--gold-light); }
.project-evidence-section { background:#f6f2e9; }
.project-evidence-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.project-evidence-grid article { overflow:hidden; background:#fff; border:1px solid var(--line); }
.project-evidence-grid img { width:100%; height:360px; object-fit:cover; }
.project-evidence-grid article>div { padding:28px; }
.project-evidence-grid span { display:block; margin-bottom:10px; color:var(--gold); font-size:11px; font-weight:780; letter-spacing:.12em; text-transform:uppercase; }
.specialist-profile { display:grid; grid-template-columns:minmax(280px, 1fr) minmax(360px, 1.2fr); gap:clamp(30px, 5vw, 76px); align-items:center; }
.specialist-profile figure { margin:0; }
.specialist-profile img { display:block; width:100%; height:auto; border-radius:8px; }
.specialist-profile figcaption { margin-top:8px; font-size:13px; color:var(--muted); }
.specialist-profile h2 { margin:8px 0 4px; }
.specialist-role { margin-top:0; font-weight:650; color:var(--pine); }
.resource-specialist-link { color:inherit; text-decoration:underline; text-underline-offset:3px; }
@media (max-width: 760px) { .specialist-profile { grid-template-columns:1fr; } }
.resource-capability-band { padding:24px 0; background:#0b352d; color:#fff; }
.resource-capability-inner { display:grid; grid-template-columns:repeat(3,1fr); gap:0; }
.resource-capability-inner>div { padding:8px 26px; border-left:1px solid rgba(255,255,255,.2); }
.resource-capability-inner span { display:block; color:var(--gold-light); font-size:11px; letter-spacing:.12em; text-transform:uppercase; }
.resource-capability-inner strong { display:block; margin-top:5px; font-size:16px; }
.profile-capability-note { padding:18px 20px; border-left:3px solid var(--gold); background:#f6f2e9; }
.insights-hero img { object-position:center 45%; }
.status-line { font-size:13px; font-weight:700; color:var(--pine)!important; }
.stage2 .client-section { padding-top:78px; }
.stage2 .client-card { box-shadow:none; }
.stage2 .client-card:hover { box-shadow:0 12px 28px rgba(8,45,39,.07); }
@media(max-width:1050px){
  .stage2.home-page .hero{grid-template-columns:1fr;min-height:auto}.stage2.home-page .hero-gallery{min-height:560px}.current-work-layout,.current-project-grid{grid-template-columns:1fr}.current-work-images{grid-template-columns:1fr 1fr}.resource-capability-inner{grid-template-columns:1fr}.resource-capability-inner>div{border-left:0;border-top:1px solid rgba(255,255,255,.18);padding:14px 0}.insights-grid,.insights-index-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
 .stage2.home-page .hero-gallery{min-height:430px}.current-work-images,.project-evidence-grid,.insights-grid,.insights-index-grid{grid-template-columns:1fr}.current-work-images figure,.current-work-images figure:last-child{min-height:300px}.project-evidence-grid img{height:280px}
}

/* Keep every navigation item within the page at normal desktop widths. */
@media (min-width: 951px) {
  .stage2 .header-inner { flex-wrap: wrap; justify-content: center; gap: 0; padding-block: 10px 8px; }
  .stage2 .brand { width: 250px; margin: 0 auto 4px; }
  .stage2 .primary-nav { flex: 1 0 100%; justify-content: center; flex-wrap: wrap; gap: 2px 8px; }
  .stage2 .primary-nav a { min-height: 36px; padding: 7px 6px; font-size: 12px; }
}

@media (min-width: 761px) { .specialist-profile--reverse { grid-template-columns:minmax(360px,1.2fr) minmax(280px,1fr); } }

.specialist-team-intro { margin: 46px 0 22px; }
.specialist-team-intro h3 { margin-bottom: 8px; }
.specialist-team-intro p { margin: 0; color: var(--muted); }
.specialist-profile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (max-width: 620px) { .specialist-profile-grid { grid-template-columns: 1fr; } }

/* v1.9 refinements: homepage heading and separate mobile gallery caption */
.hero-tagline { margin: 0 0 16px; color: var(--pine); font-size: clamp(15px, 1.7vw, 19px); font-style: italic; }
.specialist-parent-link { margin-top: 30px; }
.privacy-copy p { line-height: 1.75; }
.privacy-copy h2 { margin-top: 36px; }
.form-message[hidden] { display: none; }
@media (max-width: 760px) {
 .stage2.home-page .hero-gallery { overflow: visible; margin-bottom: 48px; }
 .stage2.home-page .hero-gallery .image-label {
   position: absolute; top: 100%; left: 0; right: 0; bottom: auto;
   max-height: 45px; min-height: 38px; display: flex; align-items: center;
   padding: 6px 14px; border-radius: 0; background: var(--pine-dark);
   color: white; font-size: 12px; line-height: 1.3;
   overflow: hidden; white-space: normal; text-overflow: ellipsis;
 }
 .stage2.home-page .hero-dots { top: 14px; right: 14px; left: 14px; bottom: auto; gap: 7px; justify-content: flex-end; }
 .stage2.home-page .hero-controls { right: 12px; bottom: 14px; }
 .stage2.home-page .hero-copy-inner { width: min(100% - 36px, 600px); padding-block: 42px; }
}


/* v1.9.4 — Otago Schist public-presentation article */
.prospectivity-reading-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(290px,1fr); gap:clamp(24px,4vw,60px); align-items:start; }
.prospectivity-prose p, .prospectivity-article p { max-width:860px; }
.prospectivity-source-card { background:var(--cream); border:1px solid var(--line); padding:28px; }
.prospectivity-source-card h3 { font-size:clamp(23px,2vw,30px); }
.prospectivity-source-card .eyebrow { font-size:11px; }
.prospectivity-downloads { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.prospectivity-downloads .text-link { margin-top:0; }
.prospectivity-figures { display:grid; gap:24px; margin-top:30px; }
.prospectivity-figures.two-up { grid-template-columns:repeat(2,minmax(0,1fr)); }
.prospectivity-figures figure { margin:0; min-width:0; border:1px solid var(--line); background:white; }
.prospectivity-figures figure a { display:block; }
.prospectivity-figures figure img { width:100%; height:auto; aspect-ratio:16 / 9; object-fit:contain; }
.prospectivity-figures figcaption { padding:14px 18px 18px; color:var(--muted); font-size:14px; line-height:1.5; }
.prospectivity-article h3 { margin-top:34px; }
.prospectivity-figure-single { max-width:850px; margin:28px 0 42px; border:1px solid var(--line); background:white; }
.prospectivity-figure-single img { width:100%; height:auto; }
.prospectivity-figure-single figcaption { padding:14px 18px; color:var(--muted); font-size:14px; }
.prospectivity-source-note { background:var(--cream); border-left:4px solid var(--gold); padding:22px 26px; margin-top:36px; }
.prospectivity-source-note p:last-child { margin-bottom:0; }
.prospectivity-feature-grid { display:grid; grid-template-columns:1.25fr 1fr; align-items:center; gap:40px; }
.prospectivity-feature-grid .text-link { margin-top:14px; }
.prospectivity-thumb { display:block; border:1px solid var(--line); box-shadow:var(--shadow); }
.prospectivity-thumb img { width:100%; height:auto; }
@media(max-width:850px) {
  .prospectivity-reading-layout, .prospectivity-feature-grid { grid-template-columns:1fr; }
  .prospectivity-figures.two-up { grid-template-columns:1fr; }
  .prospectivity-thumb { max-width:670px; }
}
@media(max-width:560px) {
  .prospectivity-source-card { padding:20px; }
  .prospectivity-figures figcaption { font-size:13px; }
}

/* v1.9.5: broad geology and exploration positioning on the landing page.
   Keep the multi-line heading readable in the narrow desktop text column. */
.stage2.home-page .hero-copy h1 { font-size: clamp(36px, 3.85vw, 61px); }


/* v1.9.7 — retain actual image proportions in the masthead and services.
   Intrinsic HTML width/height attributes reserve image space, but must not
   force a fixed displayed height when CSS changes the displayed width. */
.site-header .brand img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Give each of the six specialist service photographs an identically sized
   landscape frame. The photograph itself is never stretched. */
.detail-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
}
.detail-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}
/* Keep the geologist and sampling equipment visible in the portrait source. */
.detail-card-image img[alt="Geologist collecting a soil sample in Otago tussock country"] {
  object-position: 50% 55%;
}

/* Keep the mobile dropdown directly below the corrected 84px header. */
@media (max-width: 950px) {
  .stage2 .primary-nav { top: 100%; }
}

/* v1.9.8: Joe Cunningham profile photo preserves true aspect ratio in the shared responsive portrait frame. */


/* v1.9.9: left-aligned original logo and accessible grouped navigation. */
.stage2 .header-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(12px, 1.8vw, 26px);
  min-height: 82px;
  padding-block: 11px;
}
.stage2 .site-header .brand {
  display: block;
  flex: 0 0 auto;
  width: clamp(190px, 18vw, 245px);
  margin: 0;
}
.stage2 .site-header .brand img { display: block; width: 100%; height: auto; object-fit: contain; }
.stage2 .primary-nav {
  position: static;
  display: flex;
  flex: 0 1 auto;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(3px, .8vw, 13px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.stage2 .nav-group { position: relative; flex: 0 0 auto; }
.stage2 .nav-group summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 3px;
  color: var(--pine-dark);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.25;
  cursor: pointer;
  white-space: nowrap;
  list-style: none;
}
.stage2 .nav-group summary::-webkit-details-marker { display: none; }
.stage2 .nav-group summary::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.stage2 .nav-group[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.stage2 .nav-group summary:hover,
.stage2 .nav-group[open] summary,
.stage2 .nav-group.current-section > summary,
.stage2 .primary-nav > a.active { background: var(--cream); color: var(--pine); }
.stage2 .primary-nav > a { min-height: 40px; padding: 8px 11px; font-size: 13px; }
.stage2 .nav-submenu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 7px);
  left: 0;
  display: flex;
  flex-direction: column;
  width: max-content;
  min-width: 240px;
  max-width: min(330px, calc(100vw - 24px));
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  box-shadow: 0 14px 30px rgba(8,45,39,.16);
}
.stage2 .nav-group:last-of-type .nav-submenu { left: auto; right: 0; }
.stage2 .nav-submenu a {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 11px 13px;
  white-space: normal;
  line-height: 1.35;
  font-size: 13px;
  font-weight: 650;
}
.stage2 .nav-submenu a:hover,
.stage2 .nav-submenu a:focus-visible,
.stage2 .nav-submenu a.active { background: var(--cream); }
.stage2 .menu-toggle { flex-shrink: 0; }
/* Prevent face cropping when converting Joe's source into the split profile frame. */
.page-hero-split > img.profile-hero-joe { object-position: 50% 18%; }
@media (max-width: 1060px) and (min-width: 951px) {
  .stage2 .site-header .brand { width: 195px; }
  .stage2 .primary-nav { gap: 1px; }
  .stage2 .nav-group summary, .stage2 .primary-nav > a { padding-inline: 7px; font-size: 12px; }
}
@media (max-width: 950px) {
  .stage2 .header-inner { min-height: 72px; flex-wrap: nowrap; justify-content: space-between; padding-block: 9px; }
  .stage2 .site-header .brand { width: min(230px, calc(100vw - 114px)); margin: 0; }
  .stage2 .menu-toggle { display: block; margin-left: auto; }
  .stage2 .primary-nav {
    position: absolute;
    z-index: 100;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    background: white;
    box-shadow: 0 16px 24px rgba(8,45,39,.14);
  }
  .stage2 .primary-nav.is-open { display: flex; }
  .stage2 .nav-group { width: 100%; }
  .stage2 .nav-group summary,
  .stage2 .primary-nav > a {
    display: flex; width: 100%; justify-content: space-between;
    padding: 12px 8px; min-height: 43px; font-size: 14px;
  }
  .stage2 .nav-submenu,
  .stage2 .nav-group:last-of-type .nav-submenu {
    position: static;
    width: 100%; max-width: 100%; min-width: 0;
    border: 0; border-left: 2px solid var(--gold-light);
    border-radius: 0;
    padding: 2px 0 6px 12px;
    box-shadow: none;
  }
  .stage2 .nav-submenu a { padding: 11px 12px; font-size: 13px; }
  .page-hero-split > img.profile-hero-joe { object-position: 50% 12%; }
}


/* v1.9.10 — navigation: direct access to Why NZ, Overseas Explorers,
   Permit Map and Permit Intelligence, with compact dropdowns for About,
   Services and Resources. Preserve the original logo's aspect ratio. */
.stage2 .header-inner.container {
  width: min(calc(100% - 36px), 1560px);
  gap: clamp(8px, 1.05vw, 20px);
}
.stage2 .site-header .brand {
  width: clamp(190px, 17vw, 245px);
}
.stage2 .full-desktop-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(2px, .3vw, 7px);
  min-width: 0;
}
.stage2 .full-desktop-nav > a,
.stage2 .full-desktop-nav > .nav-group > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px clamp(5px,.47vw,10px);
  min-height: 40px;
  font-size: clamp(11px,.94vw,13px);
  font-weight: 750;
  line-height: 1.2;
  color: var(--pine-dark);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 3px;
}
.stage2 .full-desktop-nav > .nav-group > summary { gap: 6px; }
.stage2 .full-desktop-nav > a:hover,
.stage2 .full-desktop-nav > a:focus-visible,
.stage2 .full-desktop-nav > a.active-section,
.stage2 .full-desktop-nav .nav-group[open] > summary,
.stage2 .full-desktop-nav .nav-group.current-section > summary { background: var(--cream); color: var(--pine); }
.stage2 .full-desktop-nav .nav-group { position: relative; }
.stage2 .full-desktop-nav .nav-submenu { left: auto; right: 0; }
/* The legacy grouped navigation remains available on phone and tablet. */
@media (min-width: 1151px) {
  .stage2 .primary-nav { display: none; }
}
@media (max-width: 1150px) {
  .stage2 .full-desktop-nav { display: none; }
  .stage2 .header-inner.container { min-height:72px; flex-wrap: nowrap; justify-content: space-between; padding-block:9px; }
  .stage2 .site-header .brand { width:min(230px,calc(100vw - 114px)); margin:0; }
  .stage2 .menu-toggle { display:block; margin-left:auto; }
  .stage2 .primary-nav {
    position:absolute; z-index:100; top:100%; left:0; right:0;
    display:none; flex-direction:column; align-items:stretch; justify-content:flex-start;
    gap:0; max-height:calc(100vh - 72px); overflow-y:auto;
    padding:8px 20px 16px; border-bottom:1px solid var(--line);
    background:white; box-shadow:0 16px 24px rgba(8,45,39,.14);
  }
  .stage2 .primary-nav.is-open { display:flex; }
  .stage2 .primary-nav .nav-group { width:100%; }
  .stage2 .primary-nav .nav-group summary,
  .stage2 .primary-nav > a {
    display:flex; width:100%; justify-content:space-between;
    padding:12px 8px; min-height:43px; font-size:14px;
  }
  .stage2 .primary-nav .nav-submenu,
  .stage2 .primary-nav .nav-group:last-of-type .nav-submenu {
    position:static; width:100%; max-width:100%; min-width:0;
    border:0; border-left:2px solid var(--gold-light); border-radius:0;
    padding:2px 0 6px 12px; box-shadow:none;
  }
  .stage2 .primary-nav .nav-submenu a { padding:11px 12px; font-size:13px; }
}

/* v1.9.11: parent tabs navigate; adjacent arrow toggles associated submenu. */
.stage2 .nav-split-group { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 24px; align-items:center; flex:0 0 auto; }
.stage2 .nav-split-group > .nav-parent-link,
.stage2 .nav-split-group > .nav-dropdown-toggle { color:var(--pine-dark); text-decoration:none; white-space:nowrap; min-height:40px; display:flex; align-items:center; font-size:clamp(11px,.94vw,13px); font-weight:750; line-height:1.2; }
.stage2 .nav-split-group > .nav-parent-link { padding:9px 1px 9px 6px; border-radius:3px 0 0 3px; }
.stage2 .nav-split-group > .nav-dropdown-toggle { padding:0; justify-content:center; width:24px; border:0; background:transparent; cursor:pointer; border-radius:0 3px 3px 0; }
.stage2 .nav-split-group > .nav-dropdown-toggle > .chevron { width:6px; height:6px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); }
.stage2 .nav-split-group > .nav-dropdown-toggle[aria-expanded="true"] > .chevron { transform:translateY(2px) rotate(225deg); }
.stage2 .nav-split-group > .nav-parent-link:hover,
.stage2 .nav-split-group > .nav-dropdown-toggle:hover,
.stage2 .nav-split-group.current-section > .nav-parent-link,
.stage2 .nav-split-group > .nav-dropdown-toggle[aria-expanded="true"] { background:var(--cream); color:var(--pine); }
.stage2 .nav-split-group > .nav-submenu[hidden] { display:none!important; }
.stage2 .full-desktop-nav > .nav-split-group > .nav-submenu { top:calc(100% + 4px); right:0; left:auto; }
.stage2 .full-desktop-nav > .nav-split-group:first-child > .nav-submenu { left:0; right:auto; }
@media(max-width:1270px) and (min-width:1151px) {
 .stage2 .site-header .brand { width:190px; }
 .stage2 .full-desktop-nav { gap:2px; }
 .stage2 .full-desktop-nav > a, .stage2 .nav-split-group > .nav-parent-link { font-size:11px; padding-inline:3px; }
 .stage2 .nav-split-group { grid-template-columns:minmax(0,1fr) 20px; }
 .stage2 .nav-split-group > .nav-dropdown-toggle { width:20px; }
}
@media(max-width:1150px) {
 .stage2 .primary-nav > .nav-split-group { display:grid; width:100%; grid-template-columns:minmax(0,1fr) 44px; }
 .stage2 .primary-nav > .nav-split-group > .nav-parent-link { min-height:43px; padding:12px 8px; width:100%; font-size:14px; }
 .stage2 .primary-nav > .nav-split-group > .nav-dropdown-toggle { width:44px; min-height:43px; font-size:14px; }
 .stage2 .primary-nav > .nav-split-group > .nav-submenu { display:flex; position:static; grid-column:1 / -1; grid-row:2; min-width:0; max-width:100%; width:100%; padding:2px 0 6px 12px; border:0; border-left:2px solid var(--gold-light); border-radius:0; box-shadow:none; background:transparent; }
}
/* Support photographs on individual specialist pages, without distortion. */
.service-evidence { padding-top:18px; padding-bottom:40px; background:var(--paper); }
.service-evidence-inner { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr); gap:36px; align-items:center; }
.service-evidence-figure { margin:0; min-width:0; }
.service-evidence-figure img { display:block; width:100%; max-height:470px; height:auto; aspect-ratio:16/9; object-fit:cover; object-position:center center; border-radius:4px; }
.service-evidence-figure figcaption { padding-top:10px; color:var(--muted); font-size:13px; }
.service-evidence-note h2 { font-size:clamp(24px,2.7vw,34px); }
.service-evidence-note p { color:var(--muted); }
@media(max-width:800px) { .service-evidence-inner {grid-template-columns:1fr;gap:22px;} .service-evidence-figure img { max-height:360px; } }

/* v1.9.12 — new Waimumu field photographs and uncropped technical model figures. */
.wairiri-documentary-photo .service-evidence-figure img {
  width:100%; height:auto; max-height:none; aspect-ratio:auto; object-fit:contain;
  background:var(--paper);
}
.wairiri-technical-evidence, .wairiri-permit-map-evidence { background:var(--paper); }
.wairiri-technical-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; align-items:start; }
.wairiri-technical-figure { margin:0; min-width:0; }
.wairiri-technical-figure > a { display:block; }
.wairiri-technical-figure img { width:100%; height:auto; display:block; object-fit:contain; border-radius:3px; }
.wairiri-technical-figure figcaption { margin-top:12px; color:var(--muted); font-size:14px; line-height:1.55; }
.wairiri-technical-figure figcaption a { text-decoration:underline; }
.wairiri-technical-note { max-width:1020px; margin:22px 0 0; color:var(--muted); }
.wairiri-map-figure { width:min(100%, 1100px); }
@media(max-width:800px) {
  .wairiri-technical-grid { grid-template-columns:1fr; gap:36px; }
  .wairiri-documentary-photo .service-evidence-figure img { max-height:none; }
}

/* v1.9.13 — documentary alluvial field photographs and supplementary field evidence. */
.alluvial-hero > img { object-position:center 54%; }
.alluvial-photo-section { padding-top:50px; padding-bottom:55px; }
.alluvial-photo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-items:start; }
.documentary-figure { min-width:0; margin:0; padding:0; }
.documentary-figure a { display:block; overflow:hidden; background:#f1eee5; border-radius:4px; }
.documentary-figure img { display:block; width:100%; height:340px; object-fit:contain; object-position:center center; }
.documentary-figure figcaption { margin:12px 0 0; font-size:14px; color:var(--muted); line-height:1.5; }
.alluvial-nzpam-section { background:var(--paper); }
.alluvial-guidance-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:34px; }
.alluvial-guidance-grid > div { border-top:2px solid var(--gold); padding-top:14px; }
.alluvial-guidance-grid h3 { margin:0 0 12px; font-size:22px; }
.alluvial-guidance-grid p { color:var(--muted); }
.alluvial-official-guidance { border-left:4px solid var(--gold); padding:22px 28px; margin-top:34px; background:var(--cream); }
.alluvial-official-guidance h3 { margin:0 0 12px; font-size:22px; }
.alluvial-official-guidance p { color:var(--muted); }
.alluvial-official-guidance p:last-child { margin-bottom:0; }
.alluvial-source-links { display:flex; gap:9px 12px; flex-wrap:wrap; align-items:baseline; }
.alluvial-source-links a { text-decoration:underline; }
.v1913-field-photo .service-evidence-figure img { max-height:490px; width:100%; aspect-ratio:auto; object-fit:contain; background:#f1eee5; }
@media(max-width:950px) { .alluvial-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .documentary-figure img { height:300px; } }
@media(max-width:620px) { .alluvial-photo-grid,.alluvial-guidance-grid { grid-template-columns:1fr; gap:26px; } .documentary-figure img { height:auto; max-height:510px; } .alluvial-official-guidance { padding:18px; } }

/* v1.9.16: three-field enquiry form. Scoped to Contact to retain other layouts. */
.contact-layout { align-items: start; }
.contact-enquiry { min-width: 0; }
.contact-enquiry > h2 { margin: 0 0 12px; }
.contact-enquiry > .form-intro { margin: 0 0 24px; font-size: 14px; }
.contact-form-minimal { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.contact-form-minimal .form-field { display: grid; gap: 8px; min-width: 0; }
.contact-form-minimal label { color: #000; font-size: 16px; font-weight: 400; }
.contact-form-minimal input, .contact-form-minimal textarea {
  display: block; width: 100%; min-width: 0; font: inherit; font-size: 16px;
  line-height: 1.5; color: #000; border-radius: 3px;
}
.contact-form-minimal input { min-height: 48px; }
.contact-form-minimal textarea { min-height: 150px; }
.contact-form-minimal input:focus-visible, .contact-form-minimal textarea:focus-visible,
.contact-form-minimal button:focus-visible { outline: 3px solid var(--pine); outline-offset: 3px; }
.contact-form-minimal .form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-form-minimal .form-privacy { color: #000; font-size: 13px; }
.contact-form-minimal .form-privacy a { color: #000; font-weight: 400; text-decoration: underline; }
.contact-form-minimal .form-message { color: #000; }
.enquiry-copy-fallback { min-width: 0; }
.enquiry-copy-fallback p { font-size: 14px; }
.enquiry-copy-fallback pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; padding: 14px; border: 1px solid var(--line); font: inherit; font-size: 14px; user-select: text; }
.contact-form-minimal [hidden], #contact-script-status[hidden] { display: none !important; }
@media (max-width: 600px) {
  .contact-section { padding-top: 30px; }
  .contact-details { padding: 24px; }
  .contact-links { overflow-wrap: anywhere; }
  .contact-form-minimal .form-actions { flex-direction: column; }
  .contact-form-minimal .form-actions .button { width: 100%; justify-content: center; }
}

/* v1.9.18: publication content and accessible form states. */
.skip-link { position:fixed;top:-100px;left:16px;z-index:10000;padding:12px 18px;background:#fff;color:#000; }
.skip-link:focus { top:12px; }
.publication-home .hero-copy h1 { font-size:clamp(32px,3.7vw,52px);line-height:1.12; }
.publication-case { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:36px;align-items:start;margin-top:42px;padding-top:30px;border-top:1px solid var(--line);scroll-margin-top:100px; }
.publication-case figure { margin:0; }
.publication-case img { display:block;width:100%;height:auto;border-radius:4px; }
.publication-case figcaption { font-size:13px;color:var(--muted);padding-top:10px; }
.publication-case h3 { font-size:clamp(25px,2.6vw,34px);margin:0 0 18px; }
.publication-case p { margin:0 0 16px; }
.publication-alert-workflow { padding-top:15px; }
.publication-alert-workflow .container > p { max-width:900px; }
.enquiry-trap { position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden; }
.contact-form-minimal button:disabled { cursor:wait;opacity:.65; }
.contact-form-minimal .form-message { padding:14px 16px;border-left:3px solid var(--pine);background:var(--cream); }
.contact-form-minimal .form-message[data-state="error"] { border-left-color:#963520; }
.hero-controls .gallery-pause { font:inherit;font-size:12px;min-width:64px;width:auto;padding-inline:10px; }
@media(max-width:800px){ .publication-case { grid-template-columns:1fr;gap:22px; } }
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Staff portraits: keep mobile headings below the photograph, never across a face. */
@media (max-width:950px) {
  .page-hero-split.profile-mobile-clear { display:flex;flex-direction:column;height:auto;min-height:0; }
  .page-hero-split.profile-mobile-clear::after { display:none; }
  .page-hero-split.profile-mobile-clear > img { position:relative;display:block;width:100%;height:auto;min-height:0;max-height:560px; }
  .page-hero-split.profile-mobile-clear .page-hero-content { width:calc(100% - 40px);margin:0 auto;padding:30px 0; }
}
