/* Koloma Australia — Main stylesheet (koloma.css)
 *
 * Cross-file anchors (use Find in Project / Ctrl+Shift+F on these tokens):
 *
 *   KLOMA-S0   → index <!-- KLOMA-S0 --> : <head> — here: fonts, reset, :root, html, body
 *   KLOMA-S1   → Hero section + nav + nav menu + hero buttons
 *   KLOMA-S1b  → Inner pages (.site-header-inner, .simple-page)
 *   KLOMA-P    → purpose.html cards (.purpose-card-grid, .purpose-card, .purpose-values, strategy lists)
 *   KLOMA-LA   → tenure.html (legacy token in comments; search KLOMA-LA1 / KLOMA-LA3)
 *   KLOMA-S2   → Intro #about (.intro; uses KLOMA-TOPO)
 *   KLOMA-S3   → Why H2 #why-h2 (.what-section, cards, charts, rethink)
 *   KLOMA-TOPO → .topo-bg shared by S2 + S3
 *   KLOMA-ANIM → .slide-left / .slide-right / .fade-up (+ index KLOMA-S7 script)
 *   KLOMA-S4   → Leaders section
 *   KLOMA-S4b  → Australia map strip + tenure block (after #why-h2, before Leaders)
 *   KLOMA-S4c  → .tenure-explore-* (locations graphic + foot) under map
 *   KLOMA-S5   → Dark band + stats
 *   KLOMA-S6   → Footer
 *   KLOMA-S7   → index inline script only (logic); styles live under KLOMA-ANIM + KLOMA-RWD
 *   KLOMA-RWD  → responsive @media + prefers-reduced-motion
 *
 * Optional blocks not in current index.html: .pillars, .connected, .koloma-cards,
 * .questions-cta, .contact-wrap
 *
 * Aptos — embedded from ./fonts (falls back to Nunito from Google Fonts)
 */

/* KLOMA-S0 — pairs with index.html <!-- KLOMA-S0 --> (<head> loads this file; rules below are global) */

@font-face {
  font-family: 'Aptos';
  src: url('fonts/Aptos.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos';
  src: url('fonts/Aptos.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos';
  src: url('fonts/AptosBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos';
  src: url('fonts/AptosBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Aptos';
  src: url('fonts/AptosBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ── Base reset (global) ── */

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

/* ── Design tokens — colours, typography (used site-wide) ── */

:root {
  --koloma-gold: #FABC00;
  --koloma-btn: var(--koloma-gold);
  --koloma-gold-dark: #c99600;
  --blue-slate: #274f56;
  --basalt: #2D2D2D;
  --dark-band-bg: #1a1a1a;
  --mid: var(--basalt);
  --muted: var(--basalt);
  --pure-limestone: #FAF9F7;
  --light-bg: var(--pure-limestone);
  --refined-kaolin: #f6f2e5;
  --white: #ffffff;
  /* Aptos (embedded) first; Nunito is fallback only */
  --font-stack: 'Aptos', 'Nunito', sans-serif;
  --font-h: var(--font-stack);
  --font-b: var(--font-stack);
  --box-heading-size: clamp(1.25rem, 1.7vw, 1.55rem);
  /* #why-h2 — paired columns + vertical rhythm (keep in sync across rows) */
  --what-2col-gap: 4rem;
  --what-stack-gap: 4rem;
}

html {
  scroll-behavior: smooth;
  /* Prevent iOS Safari from inflating “first block” text (common in landscape flex rows) */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ── Page shell ── */

body {
  font-family: var(--font-b);
  font-weight: 300;
  color: var(--basalt);
  background: var(--refined-kaolin);
  overflow-x: hidden;
}

/* KLOMA-LA1 — pairs with tenure.html <!-- KLOMA-LA1 --> (page background) */

body.page-license-areas {
  background: var(--white);
}

/* KLOMA-S1 — pairs with index <!-- KLOMA-S1 --> — Hero + nav (full-bleed image, headline, CTAs)
   Navigation sits on top of the hero background image. */

nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 5vw;
}

/* Primary inline nav (Home / Purpose / Tenure) — same order as footer */

.nav-primary {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav .nav-primary a {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 1.14rem;
  color: var(--pure-limestone);
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

nav .nav-primary a:hover {
  color: var(--koloma-gold);
  border-bottom-color: var(--koloma-gold);
}

nav .nav-primary a[aria-current="page"] {
  color: var(--koloma-gold);
  border-bottom-color: var(--koloma-gold);
}

nav .nav-primary a:focus-visible {
  outline: 2px solid var(--koloma-gold);
  outline-offset: 3px;
}

/* Legacy: Menu dropdown (retained for reference; no longer used in current HTML) */

.nav-menu-wrap {
  position: relative;
  z-index: 20;
}

.nav-menu-trigger {
  font-family: var(--font-h);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.025vw, 1.425rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pure-limestone);
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 0.35rem 0;
  padding-bottom: 4px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-menu-wrap:hover .nav-menu-trigger,
.nav-menu-wrap:focus-within .nav-menu-trigger {
  color: var(--koloma-gold);
  border-bottom-color: var(--koloma-gold);
}

.nav-menu-trigger:focus-visible {
  outline: 2px solid var(--koloma-gold);
  outline-offset: 4px;
}

.nav-dropdown {
  list-style: none;
  margin: 0;
  padding: 0.45rem 0;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 12.5rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
}

/* Padding-top bridges button → panel so the pointer does not leave the hover zone */
.nav-dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.35rem;
  height: 0.35rem;
}

.nav-menu-wrap:hover .nav-dropdown,
.nav-menu-wrap:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown li {
  margin: 0;
}

.nav-dropdown a {
  display: block;
  font-family: var(--font-h);
  font-weight: 600;
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--basalt);
  text-decoration: none;
  text-shadow: none;
  padding: 0.55rem 1.15rem;
  border-bottom: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-dropdown a:hover {
  background-color: rgba(250, 188, 0, 0.15);
  color: var(--blue-slate);
}

.nav-dropdown a:focus-visible {
  outline: none;
  background-color: rgba(39, 79, 86, 0.12);
}

.nav-dropdown a[aria-current="page"] {
  color: var(--blue-slate);
  background-color: rgba(250, 188, 0, 0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 92px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.nav-logo-text {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* Hero image, overlay, headline and primary CTA */

.hero {
  position: relative;
  overflow: visible;
  height: 560px;
  background: url('images/index/hero-bg.jpg') center center / cover no-repeat;
}

/* Dark overlay so white text remains readable over the bright landscape */

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem 5vw 3rem;
  max-width: 900px;
  z-index: 2;
}

.hero-content h1 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--pure-limestone);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  white-space: nowrap;
}

.hero-content p {
  font-size: clamp(1.12rem, 2.25vw, 1.35rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--pure-limestone);
  max-width: 440px;
  margin-bottom: 2.2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* KLOMA-S1b — inner pages (e.g. tenure.html): header + main copy block
   KLOMA-LA2 — pairs with tenure.html <!-- KLOMA-LA2 --> (banner header + nav; .site-header-inner--banner) */

.site-header-inner {
  background: var(--refined-kaolin);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header-inner nav {
  position: relative;
  background: none;
  padding: 1.25rem 5vw;
}

.site-header-inner .nav-logo img {
  mix-blend-mode: normal;
  height: 72px;
  max-width: 280px;
}

.site-header-inner .nav-menu-trigger {
  color: var(--basalt);
  text-shadow: none;
}

.site-header-inner .nav-menu-wrap:hover .nav-menu-trigger,
.site-header-inner .nav-menu-wrap:focus-within .nav-menu-trigger {
  color: var(--blue-slate);
  border-bottom-color: var(--koloma-gold);
}

.site-header-inner .nav-menu-trigger:focus-visible {
  outline-color: var(--blue-slate);
}

/* Tenure page (and similar): panoramic banner behind logo + menu */

.site-header-inner.site-header-inner--banner {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #2a2420;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  min-height: clamp(132px, 22vw, 220px);
}

body.page-tenure .site-header-inner.site-header-inner--banner {
  background: #2a2420 url('images/tenure/page-banner.png') center center / cover no-repeat;
}

body.page-purpose .site-header-inner.site-header-inner--banner {
  background: #2a2420 url('images/purpose/page-banner.png') center center / cover no-repeat;
}

/* KLOMA-P — Purpose page content cards (purpose.html) */

body.page-license-areas.page-purpose {
  background: var(--refined-kaolin);
}

.purpose-page-main .purpose-card-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.25rem;
}

.purpose-card {
  background: var(--white);
  border-radius: 18px;
  padding: 2rem 2.25rem;
  box-shadow: 0 4px 24px rgba(39, 79, 86, 0.08);
  border: 1px solid rgba(39, 79, 86, 0.12);
}

.purpose-card__title {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--koloma-gold);
  margin: 0 0 0.65rem;
  letter-spacing: 0.02em;
}

/* Two-class selector beats .simple-page p (0,1,1) so font-size is not overridden on purpose.html */
.purpose-card .purpose-card__tagline {
  font-family: var(--font-h);
  font-weight: 700;
  font-style: italic;
  color: var(--basalt);
  /* ~40% above original clamp(1.05rem, 1.8vw, 1.2rem); must stay more specific than .simple-page p */
  font-size: clamp(1.35rem, 2.3vw, 1.55rem);
  margin: 0 0 1rem;
  line-height: 1.45;
}

.purpose-card .purpose-card__tagline:last-child {
  margin-bottom: 0;
}

.purpose-card__body {
  font-family: var(--font-b);
  font-weight: 400;
  font-style: normal;
  color: var(--basalt);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.purpose-card__body:last-child {
  margin-bottom: 0;
}

.purpose-card__intro {
  font-style: italic;
  color: var(--basalt);
  margin: 0 0 1.35rem;
  line-height: 1.65;
  font-size: 1.05rem;
}

.purpose-values {
  margin: 0;
}

.purpose-values__item {
  margin-bottom: 1.1rem;
}

.purpose-values__item:last-child {
  margin-bottom: 0;
}

.purpose-values dt {
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--blue-slate);
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.purpose-values dd {
  margin: 0;
  padding: 0;
  font-style: italic;
  color: var(--basalt);
  line-height: 1.6;
  font-size: 1.02rem;
}

.purpose-card__strategy-lead {
  margin: 0 0 1rem;
  color: var(--basalt);
  font-size: 1.05rem;
  line-height: 1.65;
}

.purpose-card__strategy-lead strong {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.purpose-strategy-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  color: var(--basalt);
  line-height: 1.65;
  font-size: 1.05rem;
}

.purpose-strategy-list--nested {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0.75rem;
}

.purpose-strategy-list--nested li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
}

.purpose-strategy-list--nested li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--koloma-gold);
}

.site-header-inner.site-header-inner--banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
}

.site-header-inner.site-header-inner--banner nav {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  align-items: center;
  padding-top: 1.5rem;
}

.site-header-inner.site-header-inner--banner .nav-logo {
  margin-top: -0.75rem;
}

.site-header-inner.site-header-inner--banner .nav-logo img {
  mix-blend-mode: screen;
  height: 92px;
  max-width: 340px;
}

.site-header-inner.site-header-inner--banner .nav-menu-trigger {
  color: var(--pure-limestone);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.site-header-inner.site-header-inner--banner .nav-menu-wrap:hover .nav-menu-trigger,
.site-header-inner.site-header-inner--banner .nav-menu-wrap:focus-within .nav-menu-trigger {
  color: var(--koloma-gold);
  border-bottom-color: var(--koloma-gold);
}

.site-header-inner.site-header-inner--banner .nav-menu-trigger:focus-visible {
  outline-color: var(--koloma-gold);
}

/* KLOMA-LA3 — pairs with tenure.html <!-- KLOMA-LA3 --> (.simple-page--content-wide, .license-areas-figure) */

.simple-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 5vw 4rem;
}

.simple-page h1 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--blue-slate);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.simple-page p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--basalt);
  margin-bottom: 1rem;
}

/* Same content width as index #why-h2 .what-section (infographics, charts) */
.simple-page--content-wide {
  max-width: 1200px;
}

.license-areas-figure {
  margin: 1.1rem 0 0;
}

.license-areas-figure + .license-areas-figure {
  margin-top: 2.25rem;
}

.license-areas-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-sizing: border-box;
  border: 1px solid rgba(39, 79, 86, 0.35);
}

.tenure-anchor {
  display: block;
  scroll-margin-top: 1.25rem;
}

.tenure-anchor + .license-areas-figure {
  margin-top: 1.1rem;
}

.license-areas-figure + .tenure-anchor + .license-areas-figure {
  margin-top: 2.25rem;
}

/* Primary / secondary buttons — hero CTAs; .btn-gold may be reused elsewhere */

.btn-gold {
  background: var(--koloma-btn);
  color: var(--basalt);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.btn-gold:hover {
  background: var(--koloma-gold-dark);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border: 2px solid rgba(255,255,255,0.75);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
}

/* KLOMA-S2 — pairs with index <!-- KLOMA-S2 --> — Intro #about (.intro + .topo-bg → also KLOMA-TOPO)
   Eyebrow + .gold-bar shared with dark band (KLOMA-S5), tweaked there. */

.intro {
  padding: 5.5rem 5vw;
  margin: 0;
  max-width: none;
  text-align: center;
}

.intro > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--basalt);
  margin-bottom: 1.2rem;
}

.gold-bar {
  height: 4px;
  background: var(--koloma-gold);
  width: 50px;
  margin: 0 auto 2rem;
}

.intro h2 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--basalt);
  margin-bottom: 1.5rem;
}

.intro p {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.88;
  color: var(--muted);
  max-width: 740px;
  margin: 0 auto 1rem; /* narrower measure than heading row */
}

/* KLOMA-S3 — pairs with index <!-- KLOMA-S3 --> — #why-h2 (.what-section, cards, charts, rethink)
   Uses .topo-bg (KLOMA-TOPO). Scroll-in classes tie to KLOMA-ANIM + <!-- KLOMA-S7 -->. */

.what-section {
  padding: 0 5vw 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Two-column rows: text card + image/diagram */

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--what-2col-gap);
  align-items: start;
  margin-bottom: var(--what-stack-gap);
}

/* “How is Natural H₂ formed?” — match .rethink-editable-grid column width (image + card fill half each) */
.what-grid.image-first {
  margin-top: var(--what-stack-gap);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--what-2col-gap);
}

.what-grid.image-first > * {
  min-width: 0;
}

.what-grid.image-first .geology-panel {
  width: 100%;
  align-items: stretch;
}

.what-grid.image-first .geology-panel img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.what-grid.image-first .formation-row-copy {
  display: flex;
  align-items: center;
  width: 100%;
}

.what-grid.image-first .what-card {
  width: 100%;
}

/* KLOMA-ANIM — pairs with index <!-- KLOMA-S7 --> script; HTML uses .slide-left / .slide-right / .fade-up */

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Elements start invisible, animation triggered by .is-visible class via JS */
.slide-left  { opacity: 0; }
.slide-right { opacity: 0; }
.fade-up     { opacity: 0; }

.slide-left.is-visible  { animation: slide-in-left  0.7s ease forwards; }
.slide-right.is-visible { animation: slide-in-right 0.7s ease forwards; }
.fade-up.is-visible     { animation: fade-in-up     0.7s ease forwards; }

/* Stagger delays for multiple elements */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* --- What cards (tick / cross / question badges) --- */

.what-card {
  background: var(--refined-kaolin);
  border-radius: 12px;
  padding: 2.5rem 2.5rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.what-card-badged {
  position: relative;
  padding: 2rem 2rem 1.8rem 4.8rem;
  overflow: visible;
  z-index: 0;
}

/* Large white disc overlaps Kaolin card; icon PNG sits on this (transparent badge). */
.what-card-badged::before {
  content: "";
  position: absolute;
  left: -52px;
  top: -44px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--white);
  z-index: 1;
}

.what-card-badge {
  position: absolute;
  left: -34px;
  top: -30px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: transparent;
  border: none;
  display: block;
  z-index: 3;
}

.what-card-badge img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.what-card-badged .what-card-text {
  position: relative;
  z-index: 2;
  margin-left: 0;
}

.what-card-badged .what-card-text h3 {
  margin-left: 0.4rem;
}

.what-card-badged-cross {
  padding: 2rem 2rem 1.8rem 4.8rem;
}

.what-card-badged-cross .what-card-badge {
  left: -34px;
  top: -30px;
}

.what-card-badged-cross::before {
  left: -52px;
  top: -44px;
}

.what-card.isnt.what-card-badged-cross {
  padding: 2rem 2rem 1.8rem 4.8rem;
}

.what-card-badged-cross .what-card-text {
  margin-left: 0;
}

.what-card.isnt {
  margin-top: 0;
  padding: 1.5rem 2rem;
}

.what-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(250,188,0,0.12);
  border: 2px solid rgba(250,188,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.what-icon svg {
  width: 34px;
  height: 34px;
}

.what-card-text h3 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: var(--box-heading-size);
  color: var(--basalt);
  margin-bottom: 0.8rem;
}

.what-card-text p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--mid);
}

/* Bullet lists inside what cards */

.check-list {
  list-style: none;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.check-list li {
  font-size: 1rem;
  color: var(--mid);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  line-height: 1.5;
}

.check-list li::before {
  content: '✓';
  color: var(--blue-slate);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.cross-list {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cross-list li {
  font-size: 1rem;
  color: var(--mid);
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  line-height: 1.5;
}

.cross-list li::before {
  content: '✕';
  color: #c0392b;
  font-weight: 700;
  flex-shrink: 0;
}

.cross-list li span {
  display: inline;
}

/* Ensure this phrase visibly renders bold in all browsers */
.what-card.isnt p strong {
  font-family: var(--font-h);
  font-weight: 800 !important;
}

/* Infographic column (geology diagram, formation SVG, etc.) */

.geology-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.geology-panel img {
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* Chart shell + “Natural H₂ advantages” boxed panel */

.panel-shell {
  background: var(--refined-kaolin);
  border-radius: 12px;
  padding: 1.5rem 2rem;
}

.panel-shell--media {
  background: transparent;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

/* Row: emissions/cost chart (left) + advantages card (right) */

.cost-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--what-2col-gap);
  align-items: start;
  margin-top: 0;
}

.cost-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Dark background container for the black-background chart */
.cost-chart-wrap {
  border-radius: 8px;
}
.cost-chart-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Geologic H2 advantages box — sits below the graph */
.advantages-box {
  margin-top: 1rem;
}

.advantages-box--right {
  margin-top: 0;
}

.advantages-box-badged {
  position: relative;
  padding: 2rem 2rem 2.8rem 4.8rem;
  overflow: visible;
  z-index: 0;
}

.advantages-box-badged::before {
  content: "";
  position: absolute;
  left: -52px;
  top: -44px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--white);
  z-index: 1;
}

.advantages-badge {
  position: absolute;
  left: -34px;
  top: -30px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: transparent;
  border: none;
  z-index: 3;
}

.advantages-badge img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.advantages-box-badged > h3,
.advantages-box-badged > p {
  position: relative;
  z-index: 2;
}

.advantages-box-badged > h3 {
  margin-left: 0.45rem;
}
.advantages-box h3 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: var(--box-heading-size);
  color: var(--basalt);
  margin-bottom: 1rem;
}
.advantages-box p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--mid);
  margin-bottom: 0.6rem;
}
.advantages-footnote {
  margin-top: 0.9rem;
  margin-bottom: 0;
  font-style: italic;
  font-size: 0.65rem;
  line-height: 1.25;
  color: var(--mid);
}

.advantages-footnote em {
  font-size: 0.65rem;
  line-height: 1.25;
}
.advantages-box p:last-child { margin-bottom: 0; }
.advantages-box strong { color: var(--blue-slate); font-weight: 600; }
.highlight-gold { color: var(--koloma-gold-dark); font-weight: 600; }

.cost-text h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
  color: var(--basalt);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cost-text p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* --- “Rethinking the Energy Landscape” — image + copy card --- */

.rethink-editable-grid {
  margin-top: var(--what-stack-gap);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--what-2col-gap);
  align-items: start;
}

/* “Where will Natural H₂ be used” — infographic same width as copy card below */

.use-cases-stack {
  margin-top: var(--what-stack-gap);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--what-stack-gap);
}

.use-cases-banner {
  width: 100%;
  /* Paired with .use-cases-stack .rethink-copy-card — same radius on infographic + card */
  border-radius: 24px;
  overflow: hidden;
  line-height: 0;
  isolation: isolate;
  transform: translateZ(0);
}

.use-cases-banner img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}

.use-cases-stack .rethink-copy-card {
  max-width: 100%;
  border-radius: 24px;
}

.use-cases-stack .rethink-copy-card p {
  margin-bottom: 0.55rem;
  line-height: 1.62;
}

.use-cases-stack .rethink-copy-card p:last-of-type {
  margin-bottom: 0;
}

.rethink-left-image img {
  display: block;
  width: 100%;
  height: auto;
}

.rethink-copy-card {
  position: relative;
  background: var(--refined-kaolin);
  border-radius: 24px;
  padding: 2rem 2rem 1.8rem 4.8rem;
  min-height: 300px;
}

.rethink-copy-card h3 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: var(--box-heading-size);
  color: var(--basalt);
  margin-bottom: 0.9rem;
  margin-left: 0;
}

.rethink-copy-card p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--mid);
  margin-left: 0;
}

/* No ::before on this card — white circle + icon only */
.rethink-bulb-badge {
  position: absolute;
  left: -34px;
  top: -30px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  box-sizing: border-box;
  background: var(--white);
  padding: 6px;
  z-index: 2;
}

.rethink-bulb-badge img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Full-width “What Natural H₂ isn’t” row */

.isnt-row {
  margin-top: var(--what-stack-gap);
}

.what-card-full-width {
  width: 100%;
}

/* ── Optional “pillars” strip — not used in current index.html ── */

.pillars {
  background: var(--light-bg);
  padding: 5rem 5vw;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  color: var(--basalt);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pillar {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-top: 4px solid var(--koloma-gold);
}

.pillar-num {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 2rem;
  color: rgba(229,168,0,0.18);
  margin-bottom: 1rem;
  line-height: 1;
}

.pillar h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--basalt);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.pillar p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.78;
  color: var(--muted);
}

/* KLOMA-TOPO — pairs with index <!-- KLOMA-S2 --> and <!-- KLOMA-S3 --> (.topo-bg on both sections) */

.topo-bg {
  background-color: var(--pure-limestone);
  background-image:
    radial-gradient(circle at 12% 20%, rgba(42,157,143,0.06) 0, rgba(42,157,143,0) 28%),
    radial-gradient(circle at 80% 70%, rgba(250,188,0,0.08) 0, rgba(250,188,0,0) 35%);
  background-size: auto;
  background-position: center;
  background-blend-mode: overlay;
  position: relative;
}

.topo-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.88);
  pointer-events: none;
  z-index: 0;
}

.topo-bg > * {
  position: relative;
  z-index: 1;
}

/* KLOMA-S4 — pairs with index <!-- KLOMA-S4 --> — Leaders (two-column cards, icons) */

.leaders {
  background-color: var(--refined-kaolin);
  background-image:
    radial-gradient(circle at 20% 25%, rgba(250,188,0,0.12) 0, rgba(250,188,0,0) 32%),
    radial-gradient(circle at 78% 72%, rgba(42,157,143,0.08) 0, rgba(42,157,143,0) 36%);
  background-size: auto;
  background-position: center;
  background-blend-mode: overlay;
  position: relative;
  padding: 5rem 5vw;
  text-align: center;
}

.leaders::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240,235,224,0.92);
  pointer-events: none;
  z-index: 0;
}

.leaders > * {
  position: relative;
  z-index: 1;
}

.leaders h2 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  color: var(--basalt);
  margin-bottom: 4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.leaders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Large white rounded advantage cards */

.leader-card {
  background: var(--white);
  border-radius: 40px;
  padding: 3.2rem 2.5rem 2.5rem;
  text-align: left;
  position: relative;
  margin-top: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  /* Stronger than 100%: stops iOS Safari “helpful” resizing inside these cards */
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Gold circle icon floating above card */

.leader-icon-wrap {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--koloma-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.leader-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.leader-card h3 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: var(--box-heading-size);
  color: var(--basalt);
  margin-bottom: 1.5rem;
}

.leader-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Real bullet spans (not ::before) — iOS Safari still mis-renders some pseudo-bullet + text rows */
.leader-list li {
  font-weight: 400;
  color: var(--mid);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.8rem;
  line-height: 1.55;
}

.leader-list__mark {
  flex: 0 0 auto;
  color: var(--basalt);
  font-weight: 700;
  font-size: 16px !important;
  line-height: 1.55;
  width: 1ch;
  text-align: center;
}

.leader-list__text {
  flex: 1 1 0;
  min-width: 0;
  font-size: 16px !important;
  line-height: 1.55;
}

@media (min-width: 901px) {
  .leader-list__mark,
  .leader-list__text {
    font-size: 17px !important;
  }
}

/* Wide phone landscape (e.g. 15 Pro Max): short height, often >900px wide */
@media (orientation: landscape) and (max-height: 560px) {
  .leader-list__mark,
  .leader-list__text {
    font-size: 16px !important;
  }
}

.leader-list li a {
  color: var(--basalt);
  text-decoration: underline;
}

.leader-list sub {
  font-size: 0.72em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  bottom: -0.12em;
}

/* Partner logo buttons — Koloma group advantage card */

.leader-card--with-partners {
  padding-bottom: 2rem;
}

.leader-partner-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 2.25rem);
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.leader-partner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.leader-partner-link:hover {
  background-color: rgba(250, 188, 0, 0.12);
}

.leader-partner-link:focus-visible {
  outline: 2px solid var(--koloma-gold);
  outline-offset: 3px;
}

.leader-partner-link img {
  display: block;
  width: auto;
  object-fit: contain;
}

/* Koloma mark reads smaller at equal pixel height — bump height; Kavenex wordmark reads larger — trim */
.leader-partner-link--koloma img {
  height: clamp(40px, 6vw, 50px);
  max-width: min(260px, 48vw);
}

.leader-partner-link--kavenex img {
  height: clamp(26px, 3.8vw, 34px);
  max-width: min(200px, 40vw);
}

/* ── Optional two-column “connected” block — not in current index.html ── */

.connected {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.connected h2 {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  color: var(--basalt);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.connected p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--muted);
}

.btn-outline-teal {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.7rem 1.5rem;
  border: 1.5px solid var(--blue-slate);
  color: var(--blue-slate);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-teal:hover {
  background: var(--blue-slate);
  color: var(--white);
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.partner-logo-text {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--blue-slate);
}

.partner-logo-img {
  height: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ── Optional paired promo cards — not in current index.html ── */

.koloma-cards {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.koloma-card {
  border-radius: 8px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.koloma-card.light {
  background: var(--refined-kaolin);
}

.koloma-card.dark-teal {
  background: #1f7a70;
  color: var(--white);
}

.koloma-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(42,157,143,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.koloma-card.dark-teal .koloma-card-icon {
  background: rgba(255,255,255,0.12);
}

.koloma-card h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.koloma-card.light h3 {
  color: var(--basalt);
}

.koloma-card.dark-teal h3 {
  color: var(--white);
}

.koloma-card p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.78;
}

.koloma-card.light p {
  color: var(--mid);
}

.koloma-card.dark-teal p {
  color: rgba(255,255,255,0.85);
}

/* KLOMA-S4b — pairs with index <!-- KLOMA-S4b --> — map between #why-h2 / .what-section and .leaders
   Width matches PerspectiveUseCases.png (same max-width + gutters as .what-section) */

.australia-map-strip {
  background: var(--white);
  padding: 0;
  text-align: center;
}

.australia-map-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw 2.25rem;
  box-sizing: border-box;
  background: var(--white);
}

.australia-map-heading {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.15vw, 1.95rem);
  color: var(--black);
  line-height: 1.28;
  letter-spacing: 0.02em;
  margin: 0 0 1.35rem;
  text-wrap: balance;
}

/* Show full map outline (no side clipping) while staying responsive (~10% narrower than strip) */
.australia-map-link {
  display: block;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  border-radius: 0;
  line-height: 0;
  background: var(--white);
  transition: opacity 0.2s ease;
}

.australia-map-link:hover {
  opacity: 0.88;
}

.australia-map-link:focus-visible {
  outline: 2px solid var(--koloma-gold);
  outline-offset: 4px;
}

.australia-map-art {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: var(--white);
}

.australia-map-interactive {
  position: relative;
}

.australia-map-hotspot {
  position: absolute;
  display: block;
  border-radius: 6px;
  cursor: pointer;
  z-index: 2;
}

.australia-map-hotspot:focus-visible {
  outline: 2px solid var(--koloma-gold);
  outline-offset: 2px;
}

/* KLOMA-S4c — pairs with index tenure block under <!-- KLOMA-S4b --> map */

.tenure-explore-block {
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: left;
}

.tenure-explore-title {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  color: var(--basalt);
  margin: 0 0 0.35rem;
  letter-spacing: 0.01em;
}

.tenure-explore-subtitle {
  font-family: var(--font-h);
  font-weight: 400;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  color: var(--basalt);
  margin: 0 0 1rem;
}

.tenure-explore-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin-top: 0.5rem;
  border: 1px solid rgba(39, 79, 86, 0.55);
  border-radius: 0;
  background: var(--white);
  line-height: 0;
  box-sizing: border-box;
}

.tenure-explore-art {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  /* Trim baked-in outer border / anti-alias from the PNG so it lines up with the frame */
  clip-path: inset(2px);
}

.tenure-explore-foot {
  margin: 1.35rem 0 0;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.5;
  color: var(--basalt);
}

.tenure-explore-foot strong {
  font-weight: 800;
}

/* KLOMA-S5 — pairs with index <!-- KLOMA-S5 --> — Dark band + .stats-row (reuses .eyebrow, .gold-bar from S2) */

.dark-band {
  background: var(--basalt);
  color: var(--white);
  padding: 5rem 5vw;
  text-align: center;
}

.dark-band .eyebrow {
  color: var(--koloma-gold);
  font-size: clamp(1.35rem, 2.2vw, 1.6rem);
  line-height: 1.2;
}

.dark-band .gold-bar {
  background: var(--koloma-gold);
}

.dark-band h2 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  color: var(--pure-limestone);
  margin-bottom: 1rem;
}

.dark-band p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.88;
  color: var(--pure-limestone);
  max-width: 720px;
  margin: 0 auto 0.9rem;
}

.dark-band-acknowledgment {
  font-size: calc(0.9 * clamp(1rem, 2vw, 1.2rem));
  font-weight: 300;
  line-height: 1.88;
  color: var(--pure-limestone);
  max-width: 820px;
  margin: 3rem auto 0;
}

.stats-row {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.stat-item {
  padding: 2.2rem 3.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 2.1rem;
  color: var(--koloma-gold);
  letter-spacing: -0.02em;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--pure-limestone);
  margin-top: 1rem; /* match .dark-band h2 → body gap */
  display: block;
}

/* ── Optional questions CTA strip — not in current index.html ── */

.questions-cta {
  background: var(--light-bg);
  padding: 3rem 5vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.questions-cta p {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--basalt);
}

.questions-cta p span {
  color: var(--blue-slate);
}

/* ── Optional contact form — not in current index.html ── */

.contact-wrap {
  padding: 5rem 5vw;
  max-width: 820px;
  margin: 0 auto;
}

.contact-wrap h2 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  color: var(--basalt);
  margin-bottom: 0.5rem;
}

.contact-wrap > p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

label {
  display: block;
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.4rem;
}

input, textarea {
  width: 100%;
  background: var(--light-bg);
  border: 1px solid #e0e0e0;
  border-bottom: 2px solid #ccc;
  color: var(--basalt);
  font-family: var(--font-b);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, textarea:focus {
  border-bottom-color: var(--koloma-gold);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  background: var(--koloma-btn);
  color: var(--basalt);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--koloma-gold-dark);
  color: var(--white);
}

#form-confirm {
  display: none;
  color: var(--blue-slate);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* KLOMA-S6 — pairs with index <!-- KLOMA-S6 --> — Footer bar */

footer {
  background: #111;
  padding: 2rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 92px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.footer-brand-text {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.footer-brand-text span {
  color: var(--white);
  font-size: inherit;
  font-weight: inherit;
}

.footer-copy {
  font-size: 1.14rem;
  color: var(--pure-limestone);
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  margin-left: 2rem;
}

.footer-links a {
  font-size: 1.14rem;
  color: var(--pure-limestone);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--pure-limestone);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--koloma-gold);
  outline-offset: 3px;
}

/* KLOMA-RWD — pairs with layout in KLOMA-S1–S6; overlaps KLOMA-ANIM on mobile (scroll effects off) */

@media (max-width: 900px) {

  /* Force ALL grids to single column using flex */
  .what-grid,
  .cost-wrap,
  .rethink-editable-grid,
  .leaders-grid,
  .connected,
  .koloma-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem;
  }

  /* Image always on top, text card underneath */
  .what-grid > div:first-child  { order: 2; }
  .what-grid > div:last-child   { order: 1; }
  .what-grid.image-first > div:first-child { order: 1; }
  .what-grid.image-first > div:last-child  { order: 2; }

  /* Images fill full width */
  .geology-panel { width: 100%; }
  .geology-panel img { max-width: 100% !important; width: 100% !important; max-height: none !important; }
  .cost-chart-wrap { width: 100%; }

  /* Text cards fill full width */
  .what-card { width: 100% !important; padding: 1.5rem; }
  .what-card-badged {
    padding: 1.5rem;
  }
  .what-card-badged-cross {
    padding: 1.5rem;
  }
  .what-card.isnt.what-card-badged-cross {
    padding: 1.5rem;
  }
  .what-card-badged .what-card-text h3 {
    margin-left: 0;
  }
  .what-card-badged-cross .what-card-text {
    margin-left: 0;
  }
  .what-card-badged::before {
    display: none;
  }
  .what-card-badge {
    display: none;
  }
  .what-card.isnt { margin-top: 0; }
  .advantages-box-badged {
    padding: 1.5rem;
  }
  .advantages-box-badged::before {
    display: none;
  }
  .advantages-badge {
    display: none;
  }
  .rethink-editable-grid { gap: 2.3rem !important; }
  .rethink-copy-card {
    padding: 1.4rem 1.25rem 1.1rem;
    min-height: auto;
  }
  .rethink-copy-card h3,
  .rethink-copy-card p {
    margin-left: 0;
  }
  .rethink-bulb-badge {
    display: none;
  }

  /* Disable slide animations on mobile */
  .slide-left, .slide-right {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  /* Hero — stack nav above copy so wrapped nav never overlaps the headline */
  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: min(92vh, 540px);
    padding-bottom: 0;
  }
  .hero nav {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    flex: 0 0 auto;
    padding: 1rem 4vw;
    gap: 0.75rem 1rem;
  }
  .hero .nav-logo img {
    height: clamp(48px, 13vw, 72px);
    max-width: min(280px, 72vw);
  }
  .hero-content {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 1rem 4vw 2.5rem;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-content h1 { white-space: normal; font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; max-width: 100%; }

  /* Sections */
  .what-section { padding: 0 4vw 1rem; }
  .simple-page--content-wide {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .australia-map-strip__inner {
    padding: 0 4vw;
  }

  /* Keep map from dominating small screens (~10% smaller than prior caps) */
  .australia-map-link {
    width: min(62vw, 290px);
    max-width: none;
    margin: 0 auto;
  }
  .australia-map-art {
    width: 100%;
    max-width: 100%;
  }

  .intro { padding: 3rem 4vw; }

  /* Leader cards */
  .leaders { padding: 5rem 4vw 3rem; }
  .leaders-grid { gap: 4rem !important; }
  .leader-card { width: 100%; padding: 4rem 2rem 2rem; margin-top: 3rem; }
  .leader-icon-wrap { width: 72px; height: 72px; top: -36px; }

  /* Dark band stats */
  .stats-row { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1.5rem; }
  .stat-item:last-child { border-bottom: none; }

  /* Purpose page cards */
  .purpose-card { padding: 1.45rem 1.2rem; }
  .purpose-card-grid { gap: 1.35rem; }

  /* Footer */
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* KLOMA-RWD (continued) — ≤480px */

@media (max-width: 480px) {
  .hero nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero .nav-primary {
    width: 100%;
    justify-content: flex-start;
    gap: 0.6rem 1.1rem;
  }
  .hero nav .nav-primary a {
    font-size: 1rem;
  }
  .hero-content h1 { font-size: 1.5rem; }
  .leaders h2 { font-size: 1.1rem; }
  .dark-band h2 { font-size: 1.2rem; }
  .stat-num { font-size: 1.6rem; }
  .what-card { flex-direction: column; }
  .what-icon { margin-bottom: 0.5rem; }
  .leader-card h3 { font-size: 1rem; }
  .leader-list__mark,
  .leader-list__text {
    font-size: 14px !important;
  }

  .australia-map-link {
    width: min(50vw, 198px);
    max-width: none;
  }
  .australia-map-art {
    width: 100%;
    max-width: 100%;
  }

  .tenure-explore-title {
    font-size: 1.2rem;
  }

  .tenure-explore-subtitle {
    font-size: 0.9rem;
    margin-bottom: 0.65rem;
  }

  .tenure-explore-foot {
    margin-top: 0.8rem;
    font-size: 0.72rem;
    line-height: 1.35;
  }
}

/* KLOMA-RWD — prefers-reduced-motion (index <!-- KLOMA-S7 --> also skips observer) */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
