:root {
  color-scheme: light;
  --ink: #14231a;
  --muted: #637267;
  --paper: #f5f1e7;
  --surface: #fffaf0;
  --line: rgba(20, 35, 26, 0.16);
  --green: #2e6c43;
  --moss: #6b7f45;
  --copper: #b4703b;
  --clay: #d8c0a0;
  --white: #ffffff;
  --dark: #111b15;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header[data-visible="true"] {
  color: var(--ink);
  background: rgba(245, 241, 231, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 0.9rem;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: currentColor;
  border-radius: 50%;
}

.nav {
  gap: clamp(14px, 2.5vw, 30px);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 19, 14, 0.94) 0%, rgba(12, 19, 14, 0.68) 42%, rgba(12, 19, 14, 0.18) 100%),
    linear-gradient(180deg, rgba(12, 19, 14, 0.42) 0%, rgba(12, 19, 14, 0) 45%, rgba(12, 19, 14, 0.48) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--copper);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.95;
  font-weight: 500;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 500;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.9rem;
}

.button.primary {
  color: var(--dark);
  background: var(--white);
  border-color: var(--white);
}

.button.primary.dark {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.button.secondary {
  color: var(--white);
}

.impact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--dark);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.impact div {
  min-height: 136px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.impact strong,
.impact span {
  display: block;
}

.impact strong {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.impact span {
  color: rgba(255, 255, 255, 0.72);
}

.intro,
.services,
.map-section,
.governance,
.programs,
.membership,
.portal,
.roadmap,
.contact,
.footer {
  padding-inline: clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(28px, 6vw, 80px);
  padding-block: clamp(72px, 10vw, 128px);
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.map-copy h2,
.membership h2,
.portal h2,
.contact h2 {
  margin: 0;
}

.intro > p,
.map-copy p,
.program-list p,
.membership-grid p,
.portal li,
.steps p {
  color: var(--muted);
  line-height: 1.68;
}

.intro > p,
.map-copy p {
  font-size: 1.08rem;
}

.services,
.programs,
.roadmap {
  padding-block: clamp(72px, 10vw, 118px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 300px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--surface);
}

.service-index {
  color: var(--green);
  font-weight: 900;
  font-size: 0.78rem;
}

.service-card h3 {
  margin: 70px 0 18px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.62;
}

.map-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
  padding-block: clamp(72px, 10vw, 128px);
  color: var(--white);
  background: #18251c;
}

.map-copy p {
  color: rgba(255, 255, 255, 0.7);
}

.map-panel {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 62% 40%, rgba(180, 112, 59, 0.24), transparent 28%),
    radial-gradient(circle at 42% 68%, rgba(107, 127, 69, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.map-panel::before {
  content: "";
  position: absolute;
  inset: 72px 88px 84px 96px;
  border-radius: 52% 46% 58% 42% / 42% 56% 46% 58%;
  border: 2px solid rgba(255, 255, 255, 0.32);
  transform: rotate(-12deg);
}

.map-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e2b36f;
  box-shadow: 0 0 0 8px rgba(226, 179, 111, 0.14);
}

.map-dot span {
  position: absolute;
  left: 22px;
  top: -3px;
  font-size: 0.75rem;
  font-weight: 800;
}

.qld { right: 29%; top: 28%; }
.nsw { right: 31%; top: 53%; }
.vic { right: 35%; bottom: 22%; }
.tas { right: 30%; bottom: 10%; }
.wa { left: 22%; top: 48%; }
.sa { left: 48%; top: 56%; }

.map-filter {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin: 18px 0 0 18px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(17, 27, 21, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
}

.governance {
  padding-block: clamp(72px, 10vw, 118px);
  border-bottom: 1px solid var(--line);
}

.governance-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.flow-node {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 900;
  text-align: center;
}

.panel-grid,
.program-list,
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.panel-grid span,
.program-list article,
.membership-grid article {
  background: var(--surface);
  padding: 24px;
}

.panel-grid span {
  font-weight: 800;
}

.program-list h3,
.membership-grid h3 {
  margin-bottom: 12px;
}

.program-list p,
.membership-grid p {
  margin-bottom: 0;
}

.membership {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 7vw, 88px);
  padding-block: clamp(72px, 10vw, 124px);
  background: #e6ddcd;
}

.membership-copy {
  align-self: start;
  position: sticky;
  top: 104px;
}

.membership-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 70px);
  padding-block: clamp(64px, 9vw, 108px);
  color: var(--white);
  background: var(--dark);
}

.portal ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
}

.portal li {
  min-height: 94px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: rgba(255, 255, 255, 0.74);
  background: #18251c;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.steps li {
  padding: clamp(22px, 4vw, 32px);
  background: var(--surface);
}

.steps span {
  display: block;
  margin-bottom: 14px;
  color: var(--copper);
  font-weight: 900;
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-block: clamp(72px, 10vw, 124px);
}

.contact-link {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .impact,
  .service-grid,
  .panel-grid,
  .program-list,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .portal ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    margin-inline: 20px;
    width: auto;
  }

  .intro,
  .map-section,
  .membership,
  .portal,
  .contact {
    grid-template-columns: 1fr;
  }

  .membership-copy {
    position: static;
  }

  .contact {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 3.05rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .impact,
  .service-grid,
  .governance-flow,
  .panel-grid,
  .program-list,
  .membership-grid,
  .portal ul,
  .steps {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 360px;
  }

  .map-panel::before {
    inset: 70px 42px 70px 50px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
