:root {
  --green: #4d7560;
  --green-dark: #294b3b;
  --green-soft: #edf3ef;
  --gold: #c57a28;
  --gold-dark: #9a5917;
  --gold-soft: #fff6e9;
  --ink: #202820;
  --muted: #626b64;
  --line: #dce4de;
  --surface: #ffffff;
  --page: #f4f6f2;
  --shadow: 0 16px 45px rgba(39, 70, 53, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(197,122,40,.12), transparent 34rem),
    radial-gradient(circle at top right, rgba(77,117,96,.11), transparent 30rem),
    var(--page);
  line-height: 1.55;
}
a { color: inherit; }
.site-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 32px auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero {
  text-align: center;
  padding: 44px 24px 38px;
  background: linear-gradient(180deg, rgba(237,243,239,.95), rgba(255,255,255,1));
}
.logo {
  width: min(310px, 76vw);
  height: auto;
  display: block;
  margin: 0 auto 18px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, p { margin-top: 0; }
h1 {
  max-width: 800px;
  margin: 0 auto 12px;
  font-size: clamp(2.1rem, 5vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.intro {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}
.location-button { margin-top: 22px; }
.range-banner { margin: 0; padding: 0 32px 42px; background: #fff; }
.range-banner img {
  display: block;
  width: 100%;
  height: clamp(230px, 42vw, 430px);
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(38,57,43,.16);
}
section { padding: 42px 32px; border-top: 1px solid var(--line); }
section > h2, .organisation h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}
.section-intro { max-width: 780px; color: var(--muted); margin-bottom: 24px; }
.welcome {
  text-align: center;
  background: #fff;
}
.welcome h2 { margin-bottom: 14px; }
.welcome p:last-child {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.04rem;
}
.come-try { background: var(--gold-soft); }
.event-grid, .card-grid, .membership-grid, .member-grid {
  display: grid;
  gap: 16px;
}
.event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.membership-grid, .member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-card, .link-card, .membership-grid a, .member-grid a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.event-card:hover, .event-card:focus-visible,
.link-card:hover, .link-card:focus-visible,
.membership-grid a:hover, .membership-grid a:focus-visible,
.member-grid a:hover, .member-grid a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(197,122,40,.72);
  box-shadow: 0 12px 28px rgba(39,70,53,.11);
  outline: none;
}
.event-card { display: flex; flex-direction: column; min-height: 150px; padding: 22px; }
.event-card time { font-weight: 850; font-size: 1.08rem; }
.event-card span { color: var(--muted); margin: 4px 0 20px; }
.event-card strong { margin-top: auto; color: var(--gold-dark); }
.link-card { display: flex; align-items: center; gap: 16px; min-height: 132px; padding: 22px; }
.icon {
  display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px;
  border-radius: 14px; background: var(--green-soft); color: var(--green-dark);
  font-size: 1.35rem; font-weight: 900;
}
.text-icon { font-family: Arial, sans-serif; }
.link-card strong, .membership-grid strong, .member-grid strong { display: block; font-size: 1.08rem; }
.link-card small, .membership-grid span, .member-grid span {
  display: block; margin-top: 5px; color: var(--muted); font-size: .94rem;
}
.membership-grid a, .member-grid a { display: block; padding: 22px; min-height: 116px; }
.organisation {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.organisation p:last-child { margin-bottom: 0; color: var(--muted); }
.regional { background: var(--green-soft); }
.national { background: var(--gold-soft); }
.primary-button {
  flex: 0 0 auto; display: inline-block; padding: 14px 20px; border-radius: 999px;
  text-decoration: none; color: #fff; background: var(--green-dark); font-weight: 800;
  transition: transform .18s ease, background .18s ease;
}
.primary-button:hover, .primary-button:focus-visible { transform: translateY(-2px); background: var(--gold-dark); outline: none; }
footer {
  width: min(1120px, calc(100% - 32px)); margin: 0 auto 32px;
  display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .92rem;
}
footer p { margin: 0; }
footer a { color: var(--green-dark); }
@media (max-width: 820px) {
  .membership-grid, .member-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-shell { width: min(100% - 20px, 1120px); margin-top: 10px; border-radius: 20px; }
  .hero { padding: 32px 18px 28px; }
  .logo { width: min(265px, 76vw); }
  .range-banner { padding: 0 12px 28px; }
  .range-banner img { height: 235px; border-radius: 16px; }
  section { padding: 32px 18px; }
  .event-grid, .card-grid { grid-template-columns: 1fr; }
  .organisation { align-items: flex-start; flex-direction: column; }
  .primary-button { width: 100%; text-align: center; }
  footer { width: min(100% - 28px, 1120px); flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
