@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --green-900: #12361f;
  --green-800: #174428;
  --green-700: #1f5c36;
  --green-600: #2a7246;
  --green-100: #e4efe6;
  --gold: #e8b23a;
  --gold-soft: #fbefd2;
  --cream: #fbf8f1;
  --paper: #ffffff;
  --ink: #1b221e;
  --muted: #47524b;
  --line: #e2dccd;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(18 54 31 / .06), 0 6px 20px rgb(18 54 31 / .08);
  --wrap: 72rem;
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.1875rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green-700); text-underline-offset: .18em; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--paper); padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

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

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 2rem; padding-block: .9rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--green-900); font-size: 1.3rem; line-height: 1.1;
}
.brand img { width: 3rem; height: 3rem; }
.brand strong { display: block; font-size: 1.5rem; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-weight: 700; text-decoration: none; padding: .3rem 0; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; }

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1.1rem; text-decoration: none; line-height: 1.2;
  background: var(--green-700); color: #fff; border: 2px solid var(--green-700);
}
.btn:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--green-900); }
.btn-gold:hover { background: #f2c45a; border-color: #f2c45a; color: var(--green-900); }
.btn-ghost { background: transparent; border-color: rgb(255 255 255 / .7); color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Hero */
.hero { background: var(--green-800); color: #fff; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center;
  padding-block: 3.5rem;
}
.hero h1 { color: #fff; }
.eyebrow {
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem;
  color: var(--gold); margin-bottom: .8rem;
}
.lede { font-size: 1.35rem; max-width: 34rem; color: #eef4ef; }
.lede strong { color: #fff; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 10px 40px rgb(0 0 0 / .35);
}
.free-badge {
  position: absolute; left: -1.2rem; bottom: -1.2rem;
  width: 8.5rem; height: 8.5rem; border-radius: 50%;
  background: var(--gold); color: var(--green-900);
  display: grid; place-content: center; text-align: center; line-height: 1.05;
  font-weight: 700; font-size: 1.05rem; transform: rotate(-8deg);
  box-shadow: 0 6px 18px rgb(0 0 0 / .3);
}
.free-badge b { display: block; font-size: 2.1rem; }

/* Membership ribbon */
.ribbon { background: var(--gold-soft); border-bottom: 1px solid #efdcae; }
.ribbon p { margin: 0; padding-block: .9rem; text-align: center; color: var(--green-900); }

/* Key facts */
.facts { padding-block: 3rem 1rem; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.fact {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem; box-shadow: var(--shadow);
}
.fact svg { width: 2.4rem; height: 2.4rem; color: var(--green-600); margin-bottom: .6rem; }
.fact h3 { font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.fact p { font-size: 1.3rem; font-weight: 700; color: var(--green-900); margin: 0; line-height: 1.3; }

/* Sections */
.section { padding-block: 4rem; }
.section.alt { background: var(--green-100); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.intro { font-size: 1.3rem; max-width: 46rem; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow);
}
.card img { border-radius: 10px; margin-bottom: 1.2rem; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem 0; }
.steps li { counter-increment: step; position: relative; padding-left: 3.6rem; margin-bottom: 1.2rem; min-height: 2.6rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -.1rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--green-700); color: #fff; font-weight: 700;
  display: grid; place-content: center;
}
.note { background: var(--paper); border-left: 5px solid var(--gold); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; }

/* Prices */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-block: 1.5rem; }
.price {
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; text-align: center;
}
.price.featured { border-color: var(--gold); background: var(--gold-soft); }
.price-label { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1rem; color: var(--muted); margin-bottom: .2rem; }
.price-amount { font-size: 3.2rem; font-weight: 700; color: var(--green-900); line-height: 1.1; margin-bottom: .3rem; }
.price p:last-child { margin: 0; }

/* News and events */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.news-list { display: grid; gap: 1.2rem; }
.news-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); }
.news-item time { display: block; color: var(--muted); font-size: 1rem; margin-bottom: .2rem; }
.news-item h3 { margin-bottom: .4rem; }
.news-item img { border-radius: 10px; margin-bottom: 1rem; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.news-item p:last-child { margin-bottom: 0; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.events li { background: var(--paper); border-left: 6px solid var(--green-600); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
.events .when { display: block; font-weight: 700; color: var(--green-700); }
.events h3 { font-size: 1.25rem; margin: .1rem 0 .3rem; }
.events p { margin: 0; color: var(--muted); }
.empty { color: var(--muted); font-style: italic; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 0; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { margin-top: .5rem; color: var(--muted); font-size: 1.05rem; }

/* Find us */
address { font-style: normal; font-size: 1.3rem; line-height: 1.45; margin-bottom: 1.2rem; }
.find-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.find-list li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.find-list li:last-child { border-bottom: 0; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--paper); }
.map iframe { display: block; width: 100%; height: 26rem; border: 0; }
.map p { margin: 0; padding: .8rem 1rem; font-size: 1rem; }
.hall-photo { margin: 2rem 0 0; }
.hall-photo img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.hall-photo figcaption { margin-top: .5rem; color: var(--muted); font-size: 1rem; }

/* Page header for inner pages */
.page-head { background: var(--green-800); color: #fff; padding-block: 3rem; }
.page-head h1 { color: #fff; margin: 0 0 .4rem; }
.page-head p { margin: 0; font-size: 1.3rem; color: #eef4ef; }

/* Footer */
.site-footer { background: var(--green-900); color: #dfe9e2; padding-block: 2.8rem; font-size: 1.05rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { color: #fff; font-size: 1.2rem; margin-bottom: .6rem; }
.site-footer p { margin: 0 0 .4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }

@media (max-width: 60rem) {
  .hero-inner, .two-col, .news-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 2.5rem 3.5rem; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .free-badge { left: auto; right: .8rem; bottom: -1.4rem; width: 7.2rem; height: 7.2rem; font-size: .95rem; }
  .free-badge b { font-size: 1.8rem; }
}
@media (max-width: 30rem) {
  body { font-size: 1.125rem; }
  .facts-grid { grid-template-columns: 1fr; }
  .site-nav ul { gap: .1rem 1rem; }
  .section { padding-block: 3rem; }
}

.btn-outline { background: transparent; color: var(--green-700); }
.btn-outline:hover { background: var(--green-100); color: var(--green-900); }
