/* ============================================================
   MODERN MOVEMENT AUSTRALIA — Australian landscape palette
   ============================================================ */

:root {
  /* ============================================================
     MOREL'S MARK — Forest palette
     Same variable names as MMA's Ocean palette — ocean becomes
     forest, sky stays sky (forests have sky), sand stays sand
     (leaf-litter forest floor), ochre becomes bark, eucalypt
     prominent, sun becomes filtered forest light.
     ============================================================ */

  /* Ocean variables → Deep Forest (primary brand) */
  --ocean: #3D6B48;        /* deep forest green, primary brand */
  --ocean-deep: #1F4A2E;   /* near-black forest, darkest */
  --ocean-light: #6E9472;  /* mid forest, lighter accents */

  /* Sky — kept (still sky above the trees) */
  --sky: #A8C5B0;          /* leaf-canopy filtered light */
  --sky-pale: #D8E5D5;     /* pale sage mist */

  /* Sand — kept (leaf-litter forest floor) */
  --sand: #E0D5B8;         /* warm leaf-litter */
  --sand-warm: #C8B894;    /* drier leaves */
  --sand-pale: #F2EDDC;    /* pale forest-floor cream */

  /* Ochre → Bark (warm brown accents) */
  --ochre: #8B6B47;        /* tree bark, warm brown */
  --ochre-deep: #5C4422;   /* dark bark, near-black brown */
  --ochre-light: #B89478;  /* light bark, weathered timber */

  /* Eucalypt — kept prominent (gum leaves) */
  --eucalypt: #7A9D7E;     /* eucalypt grey-green */
  --eucalypt-deep: #5C8266;
  --eucalypt-light: #A4BFA8;

  /* Sun → Filtered light through canopy (muted gold) */
  --sun: #C9A766;          /* muted gold, dappled forest light */
  --sun-deep: #9A7C3E;
  --sun-pale: #E5D4A4;

  /* Neutrals — slightly cooler/greener than MMA */
  --paper: #F8F6EE;        /* paper with a forest-cream tint */
  --paper-warm: #EDE5D0;
  --charcoal: #1A2620;     /* near-black with a green tint */
  --rule: #C8C0AE;
  --text: #1A2620;
  --text-soft: #3F4D45;
  --steel: #5F6F66;

  /* Legacy mappings — keep old names alive so all existing CSS rules continue working */
  --navy-deep: var(--ocean-deep);
  --navy: var(--ocean);
  --navy-mid: var(--ocean-light);
  --gold: var(--sun);
  --gold-deep: var(--sun-deep);
  --gold-soft: var(--sun-pale);
  --red: var(--ochre);
  --green-deep: var(--eucalypt-deep);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; }
a.body-link {
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  transition: border-color 0.15s, color 0.15s;
}
a.body-link:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }

h1, h2, h3, h4, h5 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--navy-deep);
}

/* ── COLOUR BAR (top) ── */
.colour-bar { display: flex; height: 4px; }
.colour-bar span { flex: 1; }
.cb-1 { background: var(--sky); }
.cb-2 { background: var(--ocean); }
.cb-3 { background: var(--ochre); }
.cb-4 { background: var(--eucalypt); }

/* ── TOPNAV ── */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 14px 36px;
  background: var(--navy-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--navy-mid);
}
.topnav .nav-links {
  flex: 1 1 auto;
  min-width: 0;
}
.topnav .nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.topnav .logo-mark {
  display: block;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 6px;
}
.topnav .nav-name {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.topnav .nav-tagline {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 4px;
}
.topnav .nav-links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 12px 14px;
  align-items: center;
  justify-content: flex-end;
}
.topnav .nav-links > li {
  position: relative;
}
.topnav .nav-links a {
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.topnav .nav-links a:hover,
.topnav .nav-links a.active {
  border-bottom-color: var(--gold);
  color: var(--gold-soft);
}

/* DROPDOWN INFRASTRUCTURE — dormant by default. Activate by adding class "has-dropdown" to <li>. */
.topnav .nav-links li.has-dropdown > a::after {
  content: " \25BE";
  font-size: 0.85em;
  color: var(--gold);
}
.topnav .nav-links li.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -10px;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--gold);
  padding: 10px 0;
  min-width: 220px;
  z-index: 100;
  list-style: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.topnav .nav-links li.has-dropdown:hover .dropdown,
.topnav .nav-links li.has-dropdown:focus-within .dropdown {
  display: block;
}
.topnav .nav-links li.has-dropdown .dropdown li {
  display: block;
  width: 100%;
}
.topnav .nav-links li.has-dropdown .dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  letter-spacing: 0.05em;
  border-bottom: none;
  border-left: 3px solid transparent;
  white-space: nowrap;
}
.topnav .nav-links li.has-dropdown .dropdown a:hover,
.topnav .nav-links li.has-dropdown .dropdown a.active {
  border-left-color: var(--gold);
  border-bottom: none;
  background: rgba(255,255,255,0.05);
  color: var(--gold-soft);
}

/* ── HAMBURGER BUTTON ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s, width 0.25s;
  transform-origin: center;
}
/* X state when open */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV ── */
@media (max-width: 980px) {
  .topnav {
    padding: 14px 20px;
    flex-wrap: wrap;
    position: relative;
  }
  .nav-toggle {
    display: flex;
  }
  .topnav .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: var(--navy-deep);
    border-top: 1px solid var(--navy-mid);
    padding: 8px 0 16px;
    order: 3;
  }
  .topnav .nav-links.open {
    display: flex;
  }
  .topnav .nav-links li {
    width: 100%;
  }
  .topnav .nav-links a {
    display: block;
    padding: 11px 20px;
    font-size: 16px;
    border-bottom: none;
    border-left: 3px solid transparent;
    letter-spacing: 0.06em;
  }
  .topnav .nav-links a:hover,
  .topnav .nav-links a.active {
    border-left-color: var(--gold);
    border-bottom: none;
    background: rgba(255,255,255,0.05);
  }
  .topnav .nav-logo {
    flex: 1;
  }
  .topnav .nav-name { font-size: 15px; }
  .topnav .nav-tagline { display: none; }

  /* Mobile dropdowns flatten inline rather than hover-flyout */
  .topnav .nav-links li.has-dropdown .dropdown {
    display: block;
    position: static;
    background: rgba(0,0,0,0.25);
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 0;
    min-width: 0;
    box-shadow: none;
  }
  .topnav .nav-links li.has-dropdown .dropdown a {
    padding: 9px 38px;
    font-size: 14px;
  }
  .topnav .nav-links li.has-dropdown > a::after {
    content: "";
  }
}

/* ── HERO ── */
.hero {
  background: linear-gradient(180deg, var(--sky) 0%, var(--ocean-light) 35%, var(--ocean) 70%, var(--ocean-deep) 100%);
  color: #fff;
  padding: 100px 36px 120px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 24px;
  font-weight: 600;
}
.hero h1 {
  font-size: 88px;
  line-height: 0.96;
  color: #fff;
  margin-bottom: 32px;
  max-width: 900px;
}
.hero .hero-lede {
  font-size: 22px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  max-width: 720px;
  margin-bottom: 40px;
}
.hero .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 16px 28px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.hero .hero-cta:hover { background: var(--gold-soft); transform: translateY(-1px); }

@media (max-width: 768px) {
  .hero { padding: 60px 24px 80px; }
  .hero h1 { font-size: 48px; }
  .hero .hero-lede { font-size: 18px; }
}

/* ── SECTIONS ── */
.section {
  padding: 96px 36px;
  background: var(--paper);
}
.section.alt { background: var(--paper-warm); }
.section.dark { background: var(--navy-deep); color: #fff; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
  font-weight: 700;
}
.section.dark .section-label { color: var(--gold-soft); }
.section h2 {
  font-size: 56px;
  line-height: 1.02;
  margin-bottom: 28px;
  max-width: 820px;
}
.section h3 {
  font-size: 28px;
  line-height: 1.1;
  margin: 40px 0 16px;
}
.section p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  max-width: 760px;
  margin-bottom: 18px;
}
.section.dark p { color: rgba(255,255,255,0.84); }
.section .lead {
  font-size: 22px;
  line-height: 1.5;
  color: var(--text);
  max-width: 800px;
  margin-bottom: 32px;
}
.section.dark .lead { color: rgba(255,255,255,0.92); }

@media (max-width: 768px) {
  .section { padding: 60px 24px; }
  .section h2 { font-size: 36px; }
  .section .lead { font-size: 18px; }
}

/* ── TWELVE PILLARS GRID ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.pillar {
  padding: 28px;
  background: #fff;
  border-left: 4px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.pillar .pillar-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 8px;
}
.pillar h3 {
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--navy-deep);
}
.pillar p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
}

/* ── BIG NUMBERS ── */
.big-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.big-num {
  text-align: center;
  padding: 24px 16px;
}
.big-num .n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: 1;
  color: var(--gold);
  display: block;
}
.big-num .label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 8px;
  font-weight: 600;
}
.section.dark .big-num .label { color: rgba(255,255,255,0.7); }
.section.dark .big-num .n { color: var(--gold-soft); }

/* ── COMPARISON TABLE ── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 15px;
}
.compare-table thead th {
  text-align: left;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  padding: 16px;
  border-bottom: 2px solid var(--navy-deep);
}
.compare-table thead th.dimension { background: transparent; }
.compare-table thead th.sbc { color: var(--green-deep); }
.compare-table thead th.hsra { color: var(--red); }
.compare-table tbody td {
  padding: 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
  line-height: 1.5;
}
.compare-table tbody td:first-child {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
  width: 22%;
}
.compare-table tbody td.sbc-cell { background: rgba(46, 107, 58, 0.04); }
.compare-table tbody td strong { color: var(--navy-deep); }

@media (max-width: 768px) {
  .compare-table { font-size: 13px; }
  .compare-table thead th { font-size: 18px; padding: 10px; }
  .compare-table tbody td { padding: 10px; }
  .compare-table tbody td:first-child { font-size: 12px; }
}

/* ── MAP ── */
.map-embed-wrap {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 36px auto 0;
  aspect-ratio: 16 / 9;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
}
.map-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 64px 36px;
  text-align: center;
}
.cta-banner h2 {
  color: var(--navy-deep);
  font-size: 48px;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 19px;
  color: var(--navy-deep);
  max-width: 720px;
  margin: 0 auto 32px;
}
.cta-banner .cta-btn {
  display: inline-block;
  background: var(--navy-deep);
  color: var(--gold-soft);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 16px 32px;
  margin: 0 8px 8px;
  transition: background 0.15s;
}
.cta-banner .cta-btn:hover { background: var(--navy); }
.cta-banner .cta-btn.secondary {
  background: transparent;
  color: var(--navy-deep);
  border: 2px solid var(--navy-deep);
}
.cta-banner .cta-btn.secondary:hover { background: var(--navy-deep); color: var(--gold-soft); }

/* ── PHASES SUMMARY ── */
.phase-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.phase-card {
  padding: 32px 24px;
  background: var(--paper);
  border-top: 4px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.phase-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.phase-card .phase-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 8px;
}
.phase-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--navy-deep);
}
.phase-card p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 64px 36px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
footer h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 16px;
  font-weight: 700;
}
footer p {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 480px;
}
footer .nav-list { list-style: none; }
footer .nav-list li { margin-bottom: 8px; }
footer .nav-list a {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  transition: color 0.15s;
}
footer .nav-list a:hover { color: var(--gold-soft); }
.footer-bottom {
  max-width: 1100px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--navy-mid);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── OUTCOMES (themed) ── */
.outcomes-section {
  margin-top: 56px;
}
.outcomes-section h3.theme-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 0.02em;
  color: var(--gold);
  margin-bottom: 8px;
  border-bottom: 2px solid var(--rule);
  padding-bottom: 12px;
}
.outcomes-section .theme-blurb {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 28px;
  max-width: 720px;
  font-style: italic;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}
.outcome {
  padding: 24px 26px;
  background: #fff;
  border-left: 4px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.outcome:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.outcome .outcome-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.outcome h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  color: var(--navy-deep);
  line-height: 1.15;
}
.outcome p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}
.outcome.headline {
  background: var(--paper-warm);
  border-left: 4px solid var(--red);
}
.outcome.headline .outcome-num {
  color: var(--red);
}

/* The deal banner */
.the-deal {
  background: var(--paper-warm);
  padding: 48px 36px;
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}
.the-deal-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.the-deal h2 {
  font-size: 56px;
  margin-bottom: 16px;
  color: var(--navy-deep);
}
.the-deal-pitch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 32px;
}
.the-deal-col {
  padding: 24px;
  background: #fff;
}
.the-deal-col h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--navy-deep);
  margin: 0 0 8px;
}
.the-deal-col .figure {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  line-height: 1;
  color: var(--gold-deep);
  margin: 4px 0 12px;
}
.the-deal-col p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  color: var(--text);
}
.the-deal-summary {
  margin-top: 32px;
  padding: 20px 24px;
  border-left: 4px solid var(--red);
  background: #fff;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

/* What else section */
.what-else {
  background: var(--navy-deep);
  color: #fff;
  padding: 64px 36px;
}
.what-else-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.what-else h2 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 16px;
}
.what-else p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  line-height: 1.55;
  max-width: 800px;
  margin-bottom: 16px;
}
.what-else .submit-line {
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.06);
  border-left: 3px solid var(--gold);
  font-style: italic;
}

@media (max-width: 768px) {
  .the-deal h2 { font-size: 36px; }
  .what-else h2 { font-size: 32px; }
}

/* ── AUSTRALIAN LANDSCAPE SECTIONS ── */
/* Section variants that evoke specific landscapes */

.section.ocean {
  background: linear-gradient(180deg, var(--sky-pale) 0%, #fff 100%);
}

.section.beach {
  background: linear-gradient(180deg, var(--sky-pale) 0%, var(--sand-pale) 100%);
}

.section.desert {
  background: linear-gradient(180deg, var(--sand-pale) 0%, var(--sand-warm) 100%);
}

.section.outback {
  background: var(--ochre);
  color: #fff;
}
.section.outback h2, .section.outback h3 {
  color: #fff;
  text-shadow: 0 1px 4px rgba(80, 30, 10, 0.4);
}
.section.outback p {
  color: rgba(255,255,255,0.96);
  text-shadow: 0 1px 3px rgba(80, 30, 10, 0.3);
}
.section.outback .section-label { color: var(--sand-pale); }

.section.bush {
  background: var(--eucalypt-deep);
  color: #fff;
}
.section.bush h2, .section.bush h3 { color: #fff; }
.section.bush p { color: rgba(255,255,255,0.92); }
.section.bush .section-label { color: var(--sun-pale); }

.section.deep-ocean {
  background: linear-gradient(180deg, var(--ocean) 0%, var(--ocean-deep) 100%);
  color: #fff;
}
.section.deep-ocean h2, .section.deep-ocean h3 { color: #fff; }
.section.deep-ocean p { color: rgba(255,255,255,0.92); }
.section.deep-ocean .section-label { color: var(--sky-pale); }

/* Horizon divider — thin band evoking the landscape break between sections */
.horizon {
  height: 32px;
  background: linear-gradient(180deg, transparent 0%, var(--sand) 50%, var(--ochre) 100%);
}
.horizon.beach-to-ocean {
  background: linear-gradient(180deg, var(--sand-pale) 0%, var(--sky-pale) 50%, var(--ocean-light) 100%);
}
.horizon.bush-to-sky {
  background: linear-gradient(180deg, var(--eucalypt) 0%, var(--sky-pale) 100%);
}

/* Wave divider — SVG-friendly section break */
.wave-divider {
  height: 60px;
  background: var(--ocean-light);
  position: relative;
  overflow: hidden;
}
.wave-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 60' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 0 Q 300 30 600 15 T 1200 20 V60 H0 Z' fill='%23FBF8F2'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}

/* Outcome cards refreshed for landscape palette */
.outcome { 
  background: #fff; 
  border-left: 4px solid var(--ocean); 
}
.outcome.headline {
  background: var(--sand-pale);
  border-left: 4px solid var(--ochre);
}
.outcome.headline .outcome-num {
  color: var(--ochre);
}

/* Theme titles — coloured per category */
.outcomes-section.theme-energy .theme-title { color: var(--sun-deep); }
.outcomes-section.theme-transport .theme-title { color: var(--ocean-deep); }
.outcomes-section.theme-economic .theme-title { color: var(--ochre-deep); }
.outcomes-section.theme-strategic .theme-title { color: var(--eucalypt-deep); }
.outcomes-section.theme-knowledge .theme-title { color: var(--ocean-deep); }

/* ── HERO LANDSCAPE BAND ── */
/* Full-width landscape image displayed below hero, edge-to-edge */
.hero-landscape {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  background: var(--ocean-deep);
  overflow: hidden;
}
.hero-landscape img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  margin: 0 auto;
}
.hero-landscape figcaption {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: var(--steel);
  font-style: italic;
  text-align: center;
  padding: 12px 24px;
  background: var(--paper);
}

/* ── HERO WITH BACKGROUND IMAGE ── */
/* Modifier on .hero. The actual background-image URL is set inline on the
   element so each page can use a different image. The CSS just sets up the
   sizing, positioning, and ensures the gradient overlay sits properly. */
.hero.hero-image {
  /* Gradient is added to the inline background-image declaration so the
     dark overlay sits on top of the image. background-image inline overrides
     the default sky-to-ocean gradient from .hero. */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Increase padding slightly so the image gets vertical room */
  padding: 120px 36px 140px;
  position: relative;
}
/* Ensure hero text reads strongly over the image */
.hero.hero-image .hero-eyebrow {
  color: var(--sun-pale);
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
}
.hero.hero-image h1 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.hero.hero-image .hero-lede {
  color: rgba(255,255,255,0.96);
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
}

/* Slight tightening on smaller screens */
@media (max-width: 768px) {
  .hero.hero-image {
    padding: 80px 24px 100px;
  }
}

/* ── CONTACT CARD ── */
/* Two-column "Founder + Channels" card matching MMC contact layout */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 48px;
  border-top: 3px solid var(--sun);
  max-width: 1100px;
}
.contact-col {
  padding: 40px 36px;
}
.contact-col-light {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: none;
}
.contact-col-dark {
  background: var(--ocean-deep);
  color: #fff;
}
.contact-col-dark .contact-label,
.contact-col-light .contact-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 18px;
}
.contact-col-light h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 0.02em;
  color: var(--ocean-deep);
  margin-bottom: 22px;
}
.contact-col-light .contact-line {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 6px;
  color: var(--text);
}
.contact-col-light .contact-bio {
  margin-top: 22px;
  font-family: 'Barlow', sans-serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}
.contact-channel {
  margin-bottom: 32px;
}
.contact-channel:last-child {
  margin-bottom: 0;
}
.channel-label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.channel-value {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  word-break: break-all;
}
.channel-value:hover {
  color: var(--sun-pale);
  border-bottom-color: var(--sun);
}
.channel-note {
  margin-top: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}

@media (max-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-col-light {
    border-bottom: none;
  }
  .contact-col-dark {
    border: 1px solid var(--rule);
    border-top: none;
  }
  .channel-value {
    font-size: 19px;
  }
}

/* ── PHASE IMAGE SLOTS ── */
/* Image holders for the plan page — designed to take any image type
   (map, illustration, photograph, render). Width-flexible. */
.phase-image {
  margin: 32px 0;
  padding: 0;
  width: 100%;
}
.phase-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
}
.phase-image-placeholder {
  width: 100%;
  min-height: 240px;
  background: var(--paper-warm);
  border: 1px dashed var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  font-style: italic;
}
.phase-image figcaption {
  margin-top: 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel);
  font-style: italic;
  text-align: center;
}

/* ── SPUR CARDS (compact phase entries with own image slots) ── */
.spur-card {
  margin-top: 40px;
  padding: 24px 28px;
  background: #fff;
  border-left: 4px solid var(--ocean);
}
.spur-card:first-of-type {
  margin-top: 32px;
}
.spur-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--ocean-deep);
  margin-bottom: 8px;
}
.spur-card .spur-id {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 6px;
}
.spur-card p {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.spur-card .phase-image {
  margin: 18px 0 0;
}
.spur-card .phase-image-placeholder {
  min-height: 180px;
  font-size: 13px;
}

/* ── HORIZON NAV CARDS ── */
/* Three time-horizon entry points on the Movement page */
.horizon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.horizon-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 5px solid var(--ocean);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.horizon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(15, 92, 138, 0.15);
}
.horizon-card.horizon-now { border-top-color: var(--ochre); }
.horizon-card.horizon-next { border-top-color: var(--ocean); }
.horizon-card.horizon-continental { border-top-color: var(--eucalypt-deep); }

.horizon-card .horizon-when {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}
.horizon-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 0.02em;
  color: var(--ocean-deep);
  margin-bottom: 14px;
}
.horizon-card.horizon-now h3 { color: var(--ochre-deep); }
.horizon-card.horizon-continental h3 { color: var(--eucalypt-deep); }

.horizon-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 18px;
  flex: 1;
}
.horizon-card .horizon-arrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean);
  border-bottom: 1px solid var(--ocean-light);
  padding-bottom: 2px;
  align-self: flex-start;
}
.horizon-card.horizon-now .horizon-arrow { color: var(--ochre-deep); border-bottom-color: var(--ochre-light); }
.horizon-card.horizon-continental .horizon-arrow { color: var(--eucalypt-deep); border-bottom-color: var(--eucalypt); }

/* ── JOURNEY TIMES TABLE ── */
.journey-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
}
.journey-table caption {
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  padding-bottom: 10px;
}
.journey-table thead th {
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean-deep);
  padding: 10px 14px;
  border-bottom: 2px solid var(--ocean);
  background: var(--paper-warm);
}
.journey-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}
.journey-table tbody tr:hover {
  background: var(--sand-pale);
}
.journey-table .journey-pair {
  font-weight: 600;
  color: var(--text);
}
.journey-table .journey-distance {
  color: var(--steel);
  font-size: 14px;
}
.journey-table .journey-time {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--ocean-deep);
}
.journey-table .journey-time.freight {
  color: var(--ochre-deep);
}
.journey-note {
  font-size: 13px;
  font-style: italic;
  color: var(--steel);
  margin-top: 8px;
}

/* On dark sections */
.section.deep-ocean .journey-table thead th,
.section.bush .journey-table thead th,
.section.outback .journey-table thead th {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-bottom-color: var(--sun);
}
.section.deep-ocean .journey-table tbody td,
.section.bush .journey-table tbody td,
.section.outback .journey-table tbody td {
  color: rgba(255,255,255,0.95);
  border-bottom-color: rgba(255,255,255,0.15);
}
.section.deep-ocean .journey-table .journey-time,
.section.bush .journey-table .journey-time,
.section.outback .journey-table .journey-time {
  color: var(--sun-pale);
}
.section.deep-ocean .journey-table tbody tr:hover,
.section.bush .journey-table tbody tr:hover,
.section.outback .journey-table tbody tr:hover {
  background: rgba(255,255,255,0.05);
}

/* ── STATION LIST (interstations on route pages) ── */
.station-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}
.station-list li {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ocean-deep);
  padding: 8px 14px;
  background: var(--paper-warm);
  border-radius: 4px;
  margin: 4px 0;
  white-space: nowrap;
}
.station-list li.endpoint {
  background: var(--ocean);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.station-list li::after {
  content: '→';
  margin-left: 14px;
  color: var(--steel);
  font-weight: 400;
}
.station-list li:last-child::after {
  content: '';
  margin: 0;
}
.station-count {
  font-size: 14px;
  color: var(--steel);
  font-style: italic;
  margin-top: 12px;
}


/* ============================================================ */
/* MEMO STYLING - extracted from Memo 1 inline, shared by all   */
/* MMA memos. Format spec: see MEMO-FORMAT-SPEC.md              */
/* ============================================================ */
  /* Memo-specific styling — adapted from MMC memo format for MMA palette */
  .memo-layout {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 48px;
  }
  @media (max-width: 880px) {
    .memo-layout {
      grid-template-columns: 1fr;
      padding: 0 20px;
    }
  }
  .memo-body {
    font-family: 'Source Serif Pro', Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text);
    max-width: 720px;
  }
  .memo-body h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 56px;
    line-height: 1.05;
    color: var(--ocean-deep);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
  }
  .memo-subtitle {
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    line-height: 1.4;
    color: var(--text-soft);
    font-weight: 300;
    margin: 0 0 28px;
    font-style: normal;
  }
  .memo-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    margin-bottom: 28px;
  }
  .memo-meta div {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .memo-meta strong {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--steel);
  }
  .memo-abstract {
    background: var(--sand-pale);
    border-left: 4px solid var(--sun-deep);
    padding: 20px 24px;
    margin: 24px 0 32px;
    font-style: italic;
    font-size: 17px;
    line-height: 1.65;
    position: relative;
  }
  .memo-abstract::before {
    content: 'Abstract';
    position: absolute;
    top: -10px;
    left: 16px;
    background: var(--sand-pale);
    padding: 0 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sun-deep);
    font-style: normal;
  }
  .figure-callout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 28px 0;
  }
  .fc-item {
    background: #fff;
    border: 1px solid var(--rule);
    border-top: 3px solid var(--ocean);
    padding: 16px 18px;
    text-align: left;
  }
  .fc-num {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    line-height: 1;
    color: var(--ocean-deep);
    margin-bottom: 4px;
    letter-spacing: 0.01em;
  }
  .fc-label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--steel);
    line-height: 1.4;
  }
  .memo-body h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    line-height: 1.15;
    color: var(--ocean-deep);
    margin: 48px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ocean);
    letter-spacing: 0.01em;
  }
  .memo-body h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ocean-deep);
    margin: 32px 0 12px;
  }
  .memo-body p {
    margin: 0 0 18px;
  }
  .memo-body ul, .memo-body ol {
    margin: 0 0 18px 0;
    padding-left: 24px;
  }
  .memo-body li {
    margin-bottom: 8px;
  }
  .memo-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    line-height: 1.5;
  }
  .memo-body thead th {
    text-align: left;
    padding: 10px 14px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ocean-deep);
    background: var(--sand-pale);
    border-bottom: 2px solid var(--ocean);
  }
  .memo-body tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--rule);
    vertical-align: top;
  }
  .memo-body tbody tr:last-child td {
    border-bottom: 2px solid var(--ocean-light);
  }
  .memo-body blockquote {
    background: var(--sand-pale);
    border-left: 4px solid var(--sun-deep);
    padding: 16px 22px;
    margin: 24px 0;
    font-size: 18px;
    line-height: 1.6;
  }
  .memo-toc {
    position: sticky;
    top: 80px;
    align-self: start;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
  }
  .memo-toc h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--steel);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--rule);
  }
  .memo-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .memo-toc li {
    margin-bottom: 8px;
    line-height: 1.4;
  }
  .memo-toc li.l2 {
    padding-left: 14px;
    font-size: 13px;
    margin-bottom: 4px;
  }
  .memo-toc a {
    color: var(--ocean-deep);
    text-decoration: none;
  }
  .memo-toc a:hover {
    color: var(--ochre);
    text-decoration: underline;
  }
  @media (max-width: 880px) {
    .memo-toc {
      position: static;
      margin-bottom: 24px;
    }
  }
  .memo-footer {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 2px solid var(--ocean);
  }
  .ai-disclosure {
    background: var(--paper-warm);
    border: 1px solid var(--rule);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-soft);
  }
  .cite-block {
    margin-bottom: 24px;
  }
  .cite-label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 8px;
  }
  .cite-block code {
    display: block;
    font-family: 'Source Serif Pro', Georgia, serif;
    font-size: 14px;
    line-height: 1.5;
    background: var(--sand-pale);
    border-left: 3px solid var(--ocean);
    padding: 12px 16px;
    color: var(--text);
    word-break: break-word;
  }
  .share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
  }
  .share-row a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--rule);
    color: var(--ocean-deep);
    text-decoration: none;
  }
  .share-row a:hover {
    border-color: var(--ocean);
    background: var(--sand-pale);
  }
  .related-memos h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--steel);
    margin: 0 0 12px;
  }
  .related-memos ul {
    list-style: none;
    padding: 0;
  }
  .related-memos li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--rule);
  }
  .related-memos a {
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--ocean-deep);
    text-decoration: none;
  }
  .related-memos a:hover {
    color: var(--ochre);
  }
  .rel-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    color: var(--text-soft);
    margin-top: 4px;
  }
  .breadcrumb {
    border-bottom: 1px solid var(--rule);
    padding: 12px 0;
    background: var(--sand-pale);
  }
  .breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--steel);
  }
  .breadcrumb-inner a {
    color: var(--ocean-deep);
    text-decoration: none;
  }
  .breadcrumb-inner a:hover {
    text-decoration: underline;
  }
  .breadcrumb .sep {
    margin: 0 8px;
    color: var(--rule);
  }

  /* Solar region images */
  .solar-hero {
    margin: 0 0 32px;
    border: 1px solid var(--rule);
    border-top: 4px solid var(--sun-deep);
    background: #fff;
    overflow: hidden;
  }
  .solar-hero img {
    display: block;
    width: 100%;
    height: auto;
  }
  .solar-hero figcaption {
    padding: 12px 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--steel);
    background: var(--sand-pale);
    border-top: 1px solid var(--rule);
  }
  .region-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 24px 0 32px;
  }
  @media (max-width: 600px) {
    .region-grid { grid-template-columns: 1fr; }
  }
  .region-tile {
    border: 1px solid var(--rule);
    border-top: 3px solid var(--ocean);
    background: #fff;
    overflow: hidden;
    margin: 0;
  }
  .region-tile img {
    display: block;
    width: 100%;
    height: auto;
  }
  .region-tile figcaption {
    padding: 10px 14px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ocean-deep);
    background: var(--sand-pale);
    border-top: 1px solid var(--rule);
    line-height: 1.5;
  }
  .region-tile figcaption .area {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    color: var(--text-soft);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    margin-top: 2px;
  }

/* ROI SECTIONS (on topic pages) — cons of current vs pros of MMA plan */
.cp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .cp-grid {
    grid-template-columns: 1fr;
  }
}
.cp-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cp-column > h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 6px;
  padding-bottom: 12px;
  border-bottom: 2px solid;
}
.cp-cons > h3 {
  color: #b94a3a;
  border-bottom-color: #d8867a;
}
.cp-pros > h3 {
  color: var(--eucalypt-deep);
  border-bottom-color: var(--eucalypt);
}
.cp-item {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid;
}
.cp-item.con {
  border-left-color: #b94a3a;
}
.cp-item.pro {
  border-left-color: var(--eucalypt-deep);
}
.cp-item h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ocean-deep);
  margin: 0 0 8px;
  line-height: 1.35;
}
.cp-item p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

/* Legacy roi-pros (kept for backward compatibility on roi.html structural advantages section) */
.roi-pros {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 22px 28px;
  margin-top: 32px;
}
.roi-pro {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--eucalypt-deep);
}
.roi-pro h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ocean-deep);
  margin: 0 0 10px;
}
.roi-pro p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ============================================================
   MMM v2.0 ADDITIONS — extends MMA base
   ============================================================ */

.hero-dek {
  font-family: 'Source Serif Pro', serif;
  font-size: 24px;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  margin: 12px 0 16px;
  line-height: 1.4;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  max-width: 620px;
  margin: 0 auto 24px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--ocean-deep);
  padding: 14px 26px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
  color: var(--ocean-deep);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 14px 26px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.section-paper {
  background: var(--paper-warm);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--ocean-deep);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.section-lede {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 680px;
  margin-bottom: 24px;
  line-height: 1.55;
}

/* Pillar card link arrow */
.pillar-link {
  display: inline-block;
  margin-top: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ocean);
}

/* Logo mark in nav — give it the M favicon styling */
.logo-mark {
  border-radius: 4px;
  background: #0a0a0a;
}



/* ============================================================
   LIBRARY & MEMOS PAGE STYLES (from MMA library.html — blocks 1+3)
   ============================================================ */

  /* Library page */
  .library-intro {
    margin-bottom: 32px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
  }
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 40px;
    padding: 16px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .filter-bar .filter-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--steel);
    padding: 8px 4px;
    margin-right: 8px;
  }
  .filter-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--rule);
    color: var(--ocean-deep);
    cursor: pointer;
    transition: all 0.15s ease;
  }
  .filter-btn:hover {
    border-color: var(--ocean);
    background: var(--paper-warm);
  }
  .filter-btn.active {
    background: var(--ocean);
    color: #fff;
    border-color: var(--ocean);
  }

  .lib-section {
    margin-top: 56px;
  }
  .lib-section:first-of-type {
    margin-top: 0;
  }
  .lib-section-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ocean);
  }
  .lib-section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 0.04em;
    color: var(--ocean-deep);
    margin: 0;
  }
  .lib-section-count {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--steel);
  }

  .lib-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
  }

  .lib-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-left: 4px solid var(--ocean);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    transition: all 0.15s ease;
  }
  .lib-card:hover {
    border-left-color: var(--ochre);
    box-shadow: 0 3px 12px rgba(15,92,138,0.1);
  }
  .lib-card.placeholder {
    border-left-color: var(--rule);
    background: var(--paper-warm);
  }
  .lib-card.placeholder:hover {
    border-left-color: var(--steel);
  }
  .lib-card .card-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ochre);
    margin-bottom: 8px;
  }
  .lib-card.placeholder .card-tag {
    color: var(--steel);
  }
  .lib-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.02em;
    color: var(--ocean-deep);
    margin: 0 0 10px;
  }
  .lib-card.placeholder h3 {
    color: var(--text-soft);
  }
  .lib-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    margin: 0 0 16px;
    flex: 1;
  }
  .lib-card .card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
  }
  .lib-card .view-btn {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ocean);
    text-decoration: none;
    border-bottom: 1px solid var(--ocean-light);
    padding-bottom: 1px;
  }
  .lib-card .view-btn:hover {
    color: var(--ocean-deep);
    border-bottom-color: var(--ocean-deep);
  }
  .lib-card .download-btn {
    font-size: 18px;
    color: var(--ocean);
    text-decoration: none;
    line-height: 1;
  }
  .lib-card .download-btn:hover {
    color: var(--ocean-deep);
  }
  .lib-card .pending-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--steel);
    font-style: italic;
  }

  .lib-subsection-header {
    margin: 24px 0 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ochre-deep);
    border-bottom: 1px dashed var(--rule);
    padding-bottom: 8px;
  }

  /* MEMO CATEGORY GROUP */
  .memo-category {
    margin-bottom: 48px;
  }
  .memo-category:last-child {
    margin-bottom: 0;
  }
  .memo-category-header {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 12px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ochre);
  }
  .memo-category-header h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ocean-deep);
    margin: 0;
  }
  .memo-category-header .memo-category-count {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--ochre-deep);
    text-transform: uppercase;
  }
  .memo-category-header .memo-category-blurb {
    font-size: 14px;
    color: var(--text-soft);
    font-style: italic;
    margin-left: auto;
    text-align: right;
    max-width: 50%;
  }
  @media (max-width: 700px) {
    .memo-category-header {
      flex-wrap: wrap;
    }
    .memo-category-header .memo-category-blurb {
      flex-basis: 100%;
      margin-left: 0;
      text-align: left;
      max-width: 100%;
    }
  }

  .lib-empty-note {
    font-size: 14px;
    color: var(--steel);
    font-style: italic;
    padding: 24px;
    background: var(--paper-warm);
    border: 1px dashed var(--rule);
    text-align: center;
  }



.lib-filter-section {
  background: var(--paper-warm);
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
}
.lib-filter-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.lib-filter-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 14px;
}
.lib-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lib-filter-pill {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  border-radius: 22px;
  transition: all 0.15s ease;
  user-select: none;
}
.lib-filter-pill:hover {
  border-color: var(--ocean);
  color: var(--ocean-deep);
}
.lib-filter-pill.active {
  background: var(--ocean-deep);
  border-color: var(--ocean-deep);
  color: #fff;
}
.lib-category-section {
  scroll-margin-top: 100px;
  margin-bottom: 56px;
}
.lib-category-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ocean-deep);
}
.lib-category-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.02em;
  color: var(--ocean-deep);
  margin: 0;
}
.lib-category-header .lib-cat-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--steel);
  text-transform: uppercase;
}
.lib-category-section.hidden { display: none; }

/* ============================================================
   PILLAR GRID (5-stream layout on home page)
   ============================================================ */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.pillar-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ochre);
  padding: 22px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s, border-left-color 0.15s;
  display: block;
}

.pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,38,60,0.08);
  border-left-color: var(--gold);
}

.pillar-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ocean-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.pillar-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
}

/* Stream-specific left-border colours — MMM forest variants */
.pillar-card.mfg       { border-left-color: var(--ocean); }       /* life-science: deep forest */
.pillar-card.defence   { border-left-color: var(--ochre); }       /* religion: bark */
.pillar-card.water     { border-left-color: var(--eucalypt-deep); } /* history: eucalypt-deep */
.pillar-card.energy    { border-left-color: var(--charcoal); }    /* politics: charcoal */
.pillar-card.statecraft{ border-left-color: var(--ochre-deep); }  /* statecraft: dark bark */
.pillar-card.farming   { border-left-color: var(--sun); }         /* etymology: gold */
