:root {
  --ink: #17313a;
  --muted: #5f6f69;
  --paper: #fffaf1;
  --white: #ffffff;
  --lake: #1f6f78;
  --lake-dark: #124b54;
  --leaf: #6b8b53;
  --gold: #d99d3f;
  --clay: #c96f4a;
  --mist: #e8f0ec;
  --line: rgba(23, 49, 58, 0.14);
  --shadow: 0 18px 50px rgba(23, 49, 58, 0.16);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

body,
button,
input,
textarea {
  font: inherit;
}

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

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

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--lake);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--lake-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--mist);
  outline: none;
}

.hero {
  min-height: clamp(640px, 86vh, 820px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(80px, 12vw, 150px) clamp(20px, 6vw, 72px) clamp(48px, 8vw, 84px);
  background: linear-gradient(90deg, rgba(12, 33, 39, 0.82) 0%, rgba(12, 33, 39, 0.62) 42%, rgba(12, 33, 39, 0.12) 78%), url("https://media.easysite.co.nz/v1/image/fiordlandfamiliesnetwork.com/hero.png?width=1500") center/cover;
  color: var(--white);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.96;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-intro {
  max-width: 650px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
}

.button-primary {
  background: var(--gold);
  color: #211606;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #efb253;
  outline: none;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.quick-panel {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(12, 33, 39, 0.58);
  padding: 22px;
  backdrop-filter: blur(14px);
}

.panel-label {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-panel li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-panel li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro-band a {
  min-height: 126px;
  padding: clamp(20px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.intro-band a:last-child {
  border-right: 0;
}

.intro-band a:hover,
.intro-band a:focus-visible {
  background: var(--mist);
  outline: none;
}

.intro-band span,
.activity-card span,
.newsletter-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-band strong {
  display: block;
  max-width: 310px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.section,
.feature-section,
.admin-preview,
.contact-section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin-bottom: clamp(28px, 5vw, 56px);
}

h2 {
  max-width: 850px;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.24rem;
  line-height: 1.2;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 48px);
  color: var(--muted);
  font-size: 1.08rem;
}

.about-section {
  background: linear-gradient(180deg, #fffaf1 0%, #f5ead6 100%);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.activity-card {
  min-height: 225px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(23, 49, 58, 0.07);
}

.activity-card p,
.feature-section p,
.resource-list li,
.contact-section p {
  color: var(--muted);
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  background: var(--lake-dark);
  color: var(--white);
}

.feature-section p {
  max-width: 580px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.newsletter-list {
  display: grid;
  gap: 12px;
}

.newsletter-list article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(160px, 0.8fr);
  gap: 18px;
  align-items: center;
  min-height: 88px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-list p {
  margin-top: 0;
  font-size: 0.95rem;
}

.resources-section {
  background: #f6f4e7;
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.resource-list {
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.resource-list.accent {
  background: #f0e0c8;
}

.resource-list h3 {
  margin-bottom: 18px;
}

.resource-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-top: 1px solid var(--line);
}

.resource-list li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--leaf);
}

.admin-preview {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  background: var(--white);
}

.admin-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-items span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--mist);
  color: var(--lake-dark);
  font-weight: 800;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  color: var(--white);
}

.contact-section div {
  max-width: 760px;
}

.contact-section p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 72px);
  background: #10252c;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer p:first-child {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header,
  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-nav {
    justify-content: flex-start;
  }
  .hero,
  .feature-section,
  .admin-preview,
  .section-heading,
  .resource-layout {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    background-position: 58% center;
  }
  .intro-band,
  .activity-grid,
  .two-column {
    grid-template-columns: 1fr;
  }
  .intro-band a {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .newsletter-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
@media (max-width: 620px) {
  .site-header {
    position: static;
    padding: 14px 16px;
  }
  .brand {
    min-width: 0;
  }
  .site-nav a {
    padding: 8px 9px;
    font-size: 0.86rem;
  }
  .hero {
    padding: 62px 18px 28px;
    background: linear-gradient(180deg, rgba(12, 33, 39, 0.82) 0%, rgba(12, 33, 39, 0.66) 52%, rgba(12, 33, 39, 0.44) 100%), url("https://media.easysite.co.nz/v1/image/fiordlandfamiliesnetwork.com/hero.png?width=1000") 62% center/cover;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 15vw, 4rem);
  }
  .button,
  .hero-actions {
    width: 100%;
  }
  .quick-panel {
    padding: 18px;
  }
  .section,
  .feature-section,
  .admin-preview,
  .contact-section {
    padding: 50px 18px;
  }
  .activity-card {
    min-height: auto;
    padding: 20px;
  }
}