:root {
  --green-950: #062a1c;
  --green-900: #073f27;
  --green-800: #0b5a37;
  --green-700: #0d713f;
  --sage-100: #edf5ef;
  --sage-200: #dce9df;
  --clay: #a56030;
  --clay-soft: #efe1d3;
  --white: #ffffff;
  --ink: #0b1f17;
  --muted: #52645b;
  --line: rgba(6, 42, 28, 0.14);
  --shadow: 0 18px 45px rgba(7, 63, 39, 0.14);
  --container: min(1200px, calc(100vw - 44px));
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body.is-menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  border-radius: 6px;
  background: var(--green-900);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  z-index: 15;
  top: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 max(22px, calc((100vw - 1200px) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(6, 42, 28, 0.08);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(7, 63, 39, 0.08);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 900;
  color: var(--green-950);
}

.brand-logo {
  display: block;
  width: 282px;
  max-width: 100%;
  height: auto;
  border-radius: 7px;
  background: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--green-700);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta,
.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}

.header-cta,
.button {
  min-height: 48px;
  border-radius: 6px;
  padding: 0 22px;
  font-size: 15px;
}

.header-cta,
.button-primary {
  background: var(--green-800);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(13, 113, 63, 0.24);
}

.button-secondary {
  border: 1px solid rgba(7, 63, 39, 0.38);
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-900);
}

.header-cta svg,
.button svg,
.text-link svg {
  width: 18px;
  height: 18px;
}

.header-cta path,
.button path,
.text-link path,
.scroll-cue path,
.back-to-top path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--green-900);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: min(640px, calc(100svh - 135px));
  display: grid;
  align-items: center;
  overflow: clip;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 32%, rgba(255, 255, 255, 0.1) 58%),
    url("assets/hero-boomteelt.png");
  background-position:
    center,
    center center;
  background-size:
    cover,
    cover;
}

.hero::after {
  position: absolute;
  right: -5vw;
  bottom: -48px;
  left: -5vw;
  height: 92px;
  background: var(--white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  content: "";
}

.hero-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 88px 0 112px;
}

.hero-copy {
  width: min(620px, 100%);
}

.hero h1 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 620px;
}

.hero p {
  margin: 28px 0 0;
  max-width: 520px;
  color: #23362d;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.48;
  font-weight: 560;
}

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

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 50%;
  bottom: 18px;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  transform: translateX(50%);
  border: 1px solid rgba(6, 42, 28, 0.1);
  border-radius: 50%;
  background: var(--white);
  color: var(--green-900);
  box-shadow: 0 10px 28px rgba(6, 42, 28, 0.13);
  text-decoration: none;
}

.scroll-cue svg {
  width: 25px;
  height: 25px;
}

.section {
  padding: 74px 0;
}

.section-open {
  padding-top: 56px;
}

.section-grid,
.members-layout,
.contact-layout {
  width: var(--container);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: clamp(36px, 6vw, 74px);
  align-items: start;
}

.section-title {
  max-width: 330px;
}

.section-icon,
.feature-icon,
.contact-line span {
  display: grid;
  place-items: center;
  color: var(--green-800);
}

.section-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}

.section-icon svg,
.feature-icon svg,
.contact-line svg {
  width: 100%;
  height: 100%;
}

.section-icon path,
.feature-icon path,
.feature-icon circle,
.contact-line path,
.contact-line circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.section h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-title p,
.members-copy p,
.contact-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-title .section-detail {
  color: #3a4d43;
  font-size: 15px;
  line-height: 1.58;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-item {
  min-height: 270px;
  padding: 26px 32px;
  border-right: 1px solid var(--line);
}

.feature-item:last-child {
  border-right: 0;
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border: 1px solid var(--green-700);
  border-radius: 50%;
}

.feature-icon svg {
  width: 30px;
  height: 30px;
}

.feature-item h3,
.activity-copy h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 20px;
  line-height: 1.18;
}

.feature-item p,
.activity-copy p {
  margin: 10px 0 0;
  color: #33483e;
  font-size: 15px;
  line-height: 1.58;
}

.activities-band {
  background: linear-gradient(180deg, #f3f8f4 0%, #edf5ef 100%);
}

.activities-grid {
  align-items: center;
}

.text-link {
  margin-top: 22px;
  color: var(--green-800);
  font-size: 15px;
}

.theme-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.theme-overview span {
  border: 1px solid rgba(7, 63, 39, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--green-900);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.theme-summary {
  max-width: 460px;
  margin-top: 16px;
  color: var(--green-800);
  font-size: 15px;
}

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

.activity-card {
  overflow: hidden;
  border: 1px solid rgba(6, 42, 28, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(7, 63, 39, 0.1);
}

.activity-media {
  min-height: 146px;
  background-image: url("assets/hero-boomteelt.png");
  background-size: cover;
  background-position: center;
}

.activity-media-a {
  background-image: url("assets/activiteit-dagexcursie-2026.png");
  background-position: center 35%;
}

.activity-media-b {
  background-image:
    linear-gradient(135deg, rgba(6, 42, 28, 0.9), rgba(13, 113, 63, 0.76)),
    url("assets/studieclub-logo-mark.png");
  background-size:
    cover,
    72%;
  background-repeat: no-repeat;
  background-position:
    center,
    center;
}

.activity-media-c {
  background-image: url("assets/activiteit-van-tuijl-2025.png");
  background-position: center 18%;
}

.activity-media-d {
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(237, 245, 239, 0.24)),
    url("assets/hero-boomteelt.png");
  background-position:
    center,
    30% 65%;
}

.activity-copy {
  padding: 22px;
}

.activity-copy span {
  display: block;
  margin-bottom: 10px;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.activity-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.activity-themes li {
  border-radius: 999px;
  background: var(--sage-100);
  color: var(--green-900);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.1;
}

.members-section {
  background: var(--white);
}

.members-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(38px, 7vw, 86px);
  align-items: center;
}

.members-copy {
  max-width: 540px;
}

.members-copy .member-profile {
  margin-top: 18px;
  border-left: 3px solid var(--clay);
  padding-left: 16px;
  color: #31483b;
  line-height: 1.65;
}

.members-copy .member-profile strong {
  color: var(--green-950);
}

.member-count-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 18px;
  align-items: center;
  max-width: 420px;
  margin-top: 26px;
  border: 1px solid rgba(7, 63, 39, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbf7 0%, #ffffff 100%);
  padding: 18px 20px;
}

.member-count-kicker {
  grid-column: 1 / -1;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.member-count-card strong {
  color: var(--green-950);
  font-size: clamp(42px, 5vw, 60px);
  line-height: 0.95;
}

.member-count-card p {
  margin: 0;
  color: #35473d;
  font-size: 14px;
}

.member-count-card[data-state="fallback"] {
  border-color: rgba(165, 96, 48, 0.24);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: #263a30;
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--green-800);
  content: "✓";
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.members-image {
  position: relative;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-900);
  box-shadow: var(--shadow);
}

.members-image img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: 50% 58%;
}

.contact-section {
  background: linear-gradient(180deg, #f9fbfa 0%, #ffffff 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.8fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.contact-copy {
  max-width: 520px;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  border-left: 4px solid var(--clay);
  padding: 30px 0 30px 32px;
}

.contact-group {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.contact-group h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 17px;
  line-height: 1.2;
}

.contact-group p,
.contact-group address {
  margin: 8px 0 0;
  color: #263a30;
  font-size: 16px;
  font-style: normal;
  font-weight: 650;
}

.contact-group small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.contact-group a {
  display: block;
  width: fit-content;
  margin-top: 7px;
  color: var(--green-800);
  font-weight: 850;
  text-decoration: none;
}

.contact-group a:hover {
  text-decoration: underline;
}

.contact-address {
  grid-column: 1 / -1;
}

.site-footer {
  display: grid;
  width: 100%;
  min-height: 92px;
  grid-template-columns: 1fr auto auto;
  gap: 34px;
  align-items: center;
  margin: 0;
  padding: 24px max(22px, calc((100vw - 1200px) / 2));
  background: var(--green-900);
  color: var(--white);
}

.site-footer nav {
  display: flex;
  gap: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.footer-meta {
  display: grid;
  gap: 9px;
  justify-items: end;
}

.footer-credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.4;
}

.site-footer a {
  text-decoration: none;
}

.brand-logo-footer {
  width: 252px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.back-to-top {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

[data-reveal],
.js-ready [data-reveal],
.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(165, 96, 48, 0.42);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
    --container: min(100vw - 32px, 760px);
  }

  .site-header {
    height: auto;
    min-height: var(--header-height);
    grid-template-columns: 1fr;
    gap: 10px;
    justify-content: start;
    padding: 12px 16px 10px;
  }

  .header-cta {
    display: none;
  }

  .brand-logo-header {
    width: min(286px, calc(100vw - 32px));
  }

  .menu-button {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    font-size: 14px;
  }

  .site-nav a {
    padding: 0 0 5px;
  }

  .site-nav a:hover,
  .site-nav a.is-active {
    background: transparent;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 70svh;
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.8) 52%, rgba(255, 255, 255, 0.18) 100%),
      url("assets/hero-boomteelt.png");
    background-position:
      center,
      58% center;
  }

  .hero-inner {
    padding: 58px 0 88px;
  }

  .section {
    padding: 58px 0;
  }

  .section-grid,
  .members-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-title {
    max-width: 620px;
  }

  .feature-row,
  .activity-list {
    grid-template-columns: 1fr;
  }

  .feature-row {
    border-top: 0;
  }

  .feature-item {
    min-height: 0;
    border-top: 1px solid var(--line);
    border-right: 0;
    padding: 24px 0;
  }

  .activity-card {
    display: grid;
    grid-template-columns: minmax(160px, 0.72fr) 1fr;
  }

  .activity-media {
    min-height: 100%;
  }

  .members-layout {
    gap: 28px;
  }

  .members-image,
  .members-image img {
    min-height: 300px;
  }

  .contact-layout {
    padding: 20px 0 34px;
  }

  .contact-panel {
    border-left: 0;
    border-top: 4px solid var(--clay);
    padding: 26px 0 0;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .footer-meta {
    grid-column: 1 / -1;
    order: 3;
    justify-items: start;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100vw - 28px, 460px);
  }

  .brand-logo-header {
    width: min(258px, calc(100vw - 28px));
  }

  .hero {
    min-height: 68svh;
    background-position:
      center,
      65% center;
  }

  .hero::after {
    height: 54px;
    bottom: -30px;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero p {
    max-width: 92%;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 330px);
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .section h2 {
    font-size: 34px;
  }

  .activity-card {
    grid-template-columns: 1fr;
  }

  .activity-media {
    min-height: 152px;
  }

  .members-image,
  .members-image img {
    min-height: 250px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-address {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }

  .footer-credit {
    font-size: 12px;
  }

  .back-to-top {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
