/* ============================================================================
   Queensland Downstream — Shared Stylesheet
   ============================================================================
   Brand: maroon #7A1F2E + charcoal #1F1F1F + paper #F5F2EE
   Type:  Georgia (serif headings), system sans (body)
   Built mobile-first, cross-page consistent.
   ============================================================================ */

:root {
  /* Palette */
  --maroon: #7A1F2E;
  --maroon-light: #A8334A;
  --maroon-dark: #5C1622;
  --maroon-ink: #3A0E14;
  --charcoal: #1F1F1F;
  --charcoal-deep: #141414;
  --paper: #F5F2EE;
  --paper-warm: #ECE7DF;
  --line: #E5E0D9;
  --line-dark: #2A2A2A;
  --ink: #1F1F1F;
  --muted: #6B6B6B;
  --muted-light: #8E8E8E;
  --white: #FFFFFF;
  --success: #2D6A4F;
  --warm-accent: #C45E1A;
  /* Type scale */
  --fs-h1: clamp(2.2rem, 5vw, 3.6rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.4rem);
  --fs-h3: 1.35rem;
  --fs-h4: 1.1rem;
  --fs-body: 17px;
  --fs-small: 14px;
  --fs-eyebrow: 12px;
  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;
  --container-wide: 1320px;
  --gap-section: 88px;
  --gap-section-mobile: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  font-size: var(--fs-body);
}

/* ---------------------------------------------------------------------------
   TYPOGRAPHY
   --------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
a { color: var(--maroon); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--maroon-light); text-decoration: underline; }
strong { font-weight: 600; color: var(--charcoal); }
hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }

.eyebrow {
  display: inline-block;
  color: var(--maroon);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--maroon-light); }

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 720px;
}

/* ---------------------------------------------------------------------------
   LAYOUT PRIMITIVES
   --------------------------------------------------------------------------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 28px; }
section { padding: var(--gap-section) 0; }
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section-grey { background: var(--paper-warm); }
.section-dark { background: var(--charcoal); color: #F3F0EC; }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: #FFFFFF; }
.section-dark p { color: #D8D5D0; }
.section-dark .eyebrow { color: var(--maroon-light); }
.section-dark a { color: var(--maroon-light); }
.section-dark a:hover { color: #FFFFFF; }
.section-dark .lead { color: #D8D5D0; }

.section-tight { padding: calc(var(--gap-section) * 0.6) 0; }

/* ---------------------------------------------------------------------------
   UTILITY BAR (above nav) — Brisbane time + temp
   --------------------------------------------------------------------------- */
.utility-bar {
  background: #141414;
  border-bottom: 1px solid #2A2A2A;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  color: #8C8A86;
}
.utility-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 8px 28px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}
.utility-meta {
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
.utility-meta .sep {
  color: var(--maroon-light);
  margin: 0 8px;
}

/* Brisbane temperature gauge — live thermometer */
.temp-gauge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  --temp-color: var(--maroon-light);
}
.temp-gauge .thermo {
  width: 10px;
  height: 18px;
  display: block;
  overflow: visible;
  flex: none;
}
.thermo-track { fill: #3A3A3A; }
.thermo-fill {
  fill: var(--temp-color);
  transition: y .6s ease, height .6s ease, fill .6s ease;
}
.thermo-bulb {
  fill: var(--temp-color);
  transition: fill .6s ease;
}
#utility-temp {
  font-variant-numeric: tabular-nums;
  color: #C9C7C3;
  font-weight: 600;
  letter-spacing: 0.5px;
}
@media (max-width: 880px) {
  .utility-bar { display: none; }
}

/* ---------------------------------------------------------------------------
   NAVIGATION
   --------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: var(--container-wide);
  margin: 0 auto;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  height: 64px;
  flex: 0 1 auto;
  min-width: 0;
}
.nav-logo svg {
  height: 100%;
  width: auto;
  max-width: 100%;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: #F3F0EC;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
  border-bottom-color: var(--maroon-light);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #F3F0EC;
  margin: 5px 0;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------------
   HERO (large home hero)
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  /* Loading state — approximates the Glasshouse Mountains sunset photo so the
     hero is filled instantly (no blank flash) while the image downloads.
     Top: dusk blue. Centre: warm sunset glow. Bottom: dark mountain silhouette. */
  background:
    radial-gradient(ellipse at 55% 70%, rgba(232,150,80,0.85) 0%, rgba(150,70,45,0.40) 38%, transparent 66%),
    linear-gradient(180deg, #283b54 0%, #5d4254 32%, #b9633a 63%, #1d1512 100%);
  background-color: #243240;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-bg svg,
.hero-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-bg .hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Fade in smoothly once loaded — masks any download delay */
  opacity: 0;
  transition: opacity 0.3s ease-in;
}
.hero-bg .hero-photo.loaded {
  opacity: 1;
}
.hero-bg .hero-svg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.35) 45%, rgba(20,20,20,0.78) 100%),
    linear-gradient(90deg, rgba(92,22,34,0.25) 0%, rgba(20,20,20,0) 55%);
  z-index: 2;
}
.hero-inner {
  padding: 96px 28px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 3;
}
.hero h1 {
  color: #FFFFFF;
  max-width: 880px;
  margin-bottom: 18px;
}
.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 720px;
  margin-bottom: 36px;
  font-weight: 400;
}

/* Page hero — smaller, for sub-pages */
.page-hero {
  background: var(--charcoal);
  color: #FFFFFF;
  padding: 80px 0 64px;
  border-top: 1px solid var(--line-dark);
  position: relative;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #FFFFFF; margin-bottom: 12px; }
.page-hero p { color: #C8C5C0; max-width: 720px; font-size: 1.1rem; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-size: cover;
  background-position: center;
}

/* Breadcrumb */
.crumbs {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #A8A6A0;
  margin-bottom: 18px;
}
.crumbs a { color: #A8A6A0; }
.crumbs a:hover { color: #FFFFFF; }
.crumbs .sep { margin: 0 8px; color: var(--maroon-light); }

/* ---------------------------------------------------------------------------
   BUTTONS / CTAs
   --------------------------------------------------------------------------- */
.cta {
  display: inline-block;
  background: var(--maroon);
  color: #FFFFFF;
  padding: 16px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 0;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}
.cta:hover {
  background: var(--maroon-light);
  color: #FFFFFF;
  text-decoration: none;
  transform: translateY(-1px);
}
.cta::after { content: " \2192"; }

.cta-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 14px 28px;
}
.cta-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.cta-secondary {
  display: inline-block;
  color: var(--maroon);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--maroon);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.cta-secondary:hover {
  color: var(--maroon-light);
  border-color: var(--maroon-light);
  text-decoration: none;
}
.cta-secondary::after { content: " \2192"; }

/* ---------------------------------------------------------------------------
   COMPONENTS — VALUE PROPS (3-col)
   --------------------------------------------------------------------------- */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 40px;
}
.col-card { padding: 0; }
.col-card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--maroon);
}
.col-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.col-card p { color: var(--muted); font-size: 1rem; }

/* ---------------------------------------------------------------------------
   COMPONENTS — SPLIT (text + visual)
   --------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-reverse { grid-template-columns: 1fr 1.1fr; }
.split-graphic {
  background: var(--charcoal);
  color: #FFFFFF;
  aspect-ratio: 4/3;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.split-graphic svg,
.split-graphic img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.split-graphic-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,6,8,0.85) 70%, rgba(10,6,8,0.95) 100%);
  color: #FFFFFF;
  z-index: 2;
}
.split-graphic-caption .eyebrow-small {
  font-family: Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #F0A26C;
  margin-bottom: 4px;
}
.split-graphic-caption .title {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.2;
  color: #FFFFFF;
}
/* Map variant — show the whole map; caption sits at the top so it never covers the legend */
.split-graphic--map {
  background: #E8F4FB;
}
.split-graphic--map img {
  object-fit: cover;
  object-position: center;
}
.split-graphic-caption .map-credit {
  margin-top: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.3px;
  color: #E4DAD2;
  opacity: 0.85;
}

/* ---------------------------------------------------------------------------
   COMPONENTS — STATS / NUMBERS
   --------------------------------------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.1;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------------------------------------------------------------------------
   COMPONENTS — PULL QUOTE
   --------------------------------------------------------------------------- */
.pull-quote {
  background: var(--charcoal);
  color: #FFFFFF;
  text-align: center;
  padding: 88px 28px;
  border-top: 4px solid var(--maroon);
}
.pull-quote blockquote {
  font-family: Georgia, serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-style: italic;
  max-width: 880px;
  margin: 0 auto;
  line-height: 1.4;
  color: #FFFFFF;
  position: relative;
}
.pull-quote blockquote::before {
  content: "\201C";
  color: var(--maroon-light);
  font-size: 5rem;
  position: absolute;
  top: -40px;
  left: -24px;
  line-height: 1;
  font-style: normal;
}
.pull-quote cite {
  display: block;
  margin-top: 28px;
  font-size: 0.95rem;
  font-style: normal;
  color: #A8A6A0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   COMPONENTS — TWO-COL TEXT
   --------------------------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 32px;
}
.two-col h3 {
  font-size: 1.4rem;
  color: var(--charcoal);
  border-left: 3px solid var(--maroon);
  padding-left: 14px;
  margin-bottom: 16px;
}

/* ---------------------------------------------------------------------------
   COMPONENTS — STEPS / PILLARS
   --------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  counter-reset: step;
}
.step {
  background: var(--white);
  padding: 32px 28px;
  border-top: 3px solid var(--maroon);
  border-radius: 2px;
  counter-increment: step;
  position: relative;
}
.step::before {
  content: "Pillar " counter(step);
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 700;
  margin-bottom: 8px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.steps-numbered .step::before { content: "Step " counter(step); }

/* ---------------------------------------------------------------------------
   COMPONENTS — VALUES (on dark)
   --------------------------------------------------------------------------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 44px;
}
.value h3 {
  font-family: Georgia, serif;
  color: #FFFFFF;
  font-size: 1.4rem;
  border-bottom: 2px solid var(--maroon-light);
  padding-bottom: 10px;
  margin-bottom: 14px;
  display: inline-block;
}
.value p { color: #C8C5C0; font-size: 1rem; }

/* ---------------------------------------------------------------------------
   COMPONENTS — IMAGE GRID (atmosphere photos)
   --------------------------------------------------------------------------- */
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.img-card {
  margin: 0;
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.img-frame {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1F1F1F 0%, #5C1622 60%, #A8334A 100%);
  overflow: hidden;
}
.img-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.img-card figcaption {
  padding: 22px 26px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}
.img-card figcaption strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 6px;
  font-weight: 700;
}

/* ---------------------------------------------------------------------------
   COMPONENTS — LEADERSHIP / PEOPLE CARDS
   --------------------------------------------------------------------------- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 40px;
}
.person {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0;
  overflow: hidden;
}
.person-portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--line) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 4rem;
  letter-spacing: 2px;
}
.person-portrait .initials {
  font-weight: 700;
  color: var(--maroon);
  opacity: 0.4;
}
.person-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person-body { padding: 22px 24px 28px; }
.person-name {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  color: var(--charcoal);
  font-weight: 700;
  margin: 0 0 4px;
}
.person-role {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 600;
  margin: 0 0 14px;
}
.person-bio { font-size: 0.95rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* ---------------------------------------------------------------------------
   COMPONENTS — POLICY DOC CARDS
   --------------------------------------------------------------------------- */
.doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.doc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--maroon);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.doc-card:hover {
  border-left-color: var(--maroon-light);
  background: var(--paper);
}
.doc-card .doc-meta {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.doc-card .doc-title {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--charcoal);
  font-weight: 700;
  margin: 0;
}
.doc-card .doc-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-top: 8px;
}

/* ---------------------------------------------------------------------------
   COMPONENTS — ARTICLE CARDS (Insights)
   --------------------------------------------------------------------------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.article-card .article-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1F1F1F 0%, #5C1622 100%);
  overflow: hidden;
}
.article-card .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-card .article-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card .article-meta {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.article-card .article-meta .tag {
  color: var(--maroon);
  font-weight: 700;
}
.article-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-card h3 a { color: var(--charcoal); }
.article-card h3 a:hover { color: var(--maroon); text-decoration: none; }
.article-card p { color: var(--muted); font-size: 0.95rem; flex: 1; margin-bottom: 14px; }

/* ---------------------------------------------------------------------------
   COMPONENTS — INSIGHTS ARTICLE PAGE
   --------------------------------------------------------------------------- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 28px 88px;
}
.article-header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.article-header h1 { font-size: clamp(2rem, 4vw, 3rem); }
.article-header .article-meta {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.article-body p,
.article-body li {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink);
}
.article-body p { margin-bottom: 22px; }
.article-body h2 {
  margin-top: 48px;
  font-size: 1.7rem;
}
.article-body h3 {
  margin-top: 36px;
  font-size: 1.3rem;
}
.article-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--maroon);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--charcoal);
}
.article-body ul, .article-body ol { padding-left: 22px; margin-bottom: 22px; }
.article-body ul li, .article-body ol li { margin-bottom: 10px; }

/* ---------------------------------------------------------------------------
   COMPONENTS — IN-PAGE NAV (long pages)
   --------------------------------------------------------------------------- */
.toc {
  background: var(--paper-warm);
  padding: 24px 28px;
  border-left: 3px solid var(--maroon);
  margin: 32px 0;
}
.toc h4 {
  font-family: -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: 8px; }
.toc a {
  color: var(--charcoal);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.toc a:hover {
  color: var(--maroon);
  border-bottom-color: var(--maroon-light);
}

/* ---------------------------------------------------------------------------
   COMPONENTS — ACKNOWLEDGEMENT OF COUNTRY
   --------------------------------------------------------------------------- */
.acknowledgement {
  background: var(--paper-warm);
  border-left: 3px solid var(--warm-accent);
  padding: 28px 32px;
  margin: 40px 0;
}
.acknowledgement h4 {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--warm-accent);
  margin: 0 0 10px;
}
.acknowledgement p {
  font-style: italic;
  color: var(--charcoal);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
   FORM
   --------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-top: 32px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-detail svg {
  width: 22px;
  height: 22px;
  color: var(--maroon);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-detail .label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
  display: block;
}
.contact-detail .value-text {
  color: var(--charcoal);
  font-weight: 500;
}

form.contact-form {
  background: var(--white);
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--maroon);
  background: #FFFFFF;
}
.form-group textarea { resize: vertical; min-height: 120px; }
button.cta-submit {
  width: 100%;
  background: var(--maroon);
  color: #FFFFFF;
  padding: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
button.cta-submit:hover { background: var(--maroon-light); }

.disclaimer {
  background: var(--paper-warm);
  padding: 28px 32px;
  margin-top: 48px;
  font-size: 13px;
  color: var(--muted);
  border-left: 3px solid var(--maroon);
  font-style: italic;
  line-height: 1.65;
}

/* ---------------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------------- */
footer.site-footer {
  background: var(--charcoal);
  color: #D8D5D0;
  padding: 72px 0 0;
  border-top: 1px solid var(--line-dark);
}
.footer-top {
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 48px;
}
.footer-cols h4 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-cols p,
.footer-cols a {
  color: #C8C5C0;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
  display: block;
  margin: 0 0 4px;
}
.footer-cols a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-logo { margin-bottom: 20px; max-width: 300px; }
.footer-logo svg { width: 100%; height: auto; display: block; }
.footer-tagline {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #A8A6A0;
  max-width: 320px;
  margin: 0 0 18px;
}
.footer-acknowledgement {
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
  color: #A8A6A0;
  text-align: center;
  font-style: italic;
  line-height: 1.6;
  max-width: 880px;
  margin: 0 auto;
}
.footer-bar {
  background: var(--charcoal-deep);
  padding: 20px 28px;
  text-align: center;
  font-size: 12px;
  color: #8C8A86;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bar .legal-links a {
  color: #8C8A86;
  margin: 0 8px;
  text-decoration: none;
}
.footer-bar .legal-links a:hover { color: #FFFFFF; }
.footer-bar .sep { color: #4A4A4A; }

/* ---------------------------------------------------------------------------
   ANIMATIONS
   --------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------------
   UTILITIES
   --------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 16px; }
.mb-2 { margin-bottom: 32px; }
.mb-3 { margin-bottom: 48px; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 48px; }

/* ---------------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-logo { height: 48px; }
  .nav-inner { padding: 12px 20px; gap: 12px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--charcoal);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-links.open { max-height: 600px; }
  .nav-links a {
    width: 100%;
    padding: 18px 28px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-links a:hover,
  .nav-links a.active {
    border-bottom-color: var(--line-dark);
    background: #2A2A2A;
  }
  .three-col, .steps, .values, .stat-grid {
    grid-template-columns: 1fr;
  }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .split, .two-col, .contact-grid, .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-reverse { grid-template-columns: 1fr; }
  section { padding: var(--gap-section-mobile) 0; }
  .hero { min-height: 60vh; }
  .hero-inner { padding: 64px 28px; }
  form.contact-form { padding: 24px; }
  .article { padding: 40px 24px 60px; }
  .article-body p, .article-body li { font-size: 1rem; }
}

@media print {
  .nav, footer.site-footer, .cta, .nav-toggle { display: none !important; }
  body { background: white; color: black; }
  .page-hero { background: white; color: black; padding: 20px 0; }
  .page-hero h1, .page-hero p { color: black; }
}
