/* ==============================================================
   The Good Health Circle — Stylesheet
   --------------------------------------------------------------
   1.  Design tokens (colours, fonts, sizes) — edit these first
   2.  Base & reset
   3.  Layout helpers
   4.  Buttons & links
   5.  Shared typography (eyebrows, titles, leads)
   6.  Decorations (leaf sprigs, blobs, animation)
   7.  Header & navigation
   8.  Hero
   9.  Topics band
   10. About
   11. Why join cards
   12. How it works
   13. First gathering (event)
   14. Registration form
   15. About NeoGreens
   16. Closing banner
   17. Footer
   18. Responsive (tablet & mobile)
   ============================================================== */


/* 1. DESIGN TOKENS ============================================= */
:root {
  /* Logo colours */
  --forest: #244535;        /* primary green (logo) */
  --forest-dark: #1F3A2D;   /* text on mustard, footer */
  --forest-hover: #1A3328;
  --forest-soft: #2F5643;
  --forest-blob: #2C5140;
  --sage: #8C9F7A;          /* sage green (logo) */
  --sage-light: #9DAF8B;
  --sage-text: #5E7150;     /* darker sage, readable as text */
  --mustard: #E9A23B;       /* mustard (logo) */
  --mustard-light: #EDB25A;
  --mustard-dark: #D9932F;

  /* Neutrals & tints */
  --bg: #FAF8F2;            /* page background */
  --white: #FFFFFF;
  --mist: #EEF1E8;          /* light sage tint */
  --mist-2: #DFE5D4;
  --mist-3: #E6EBDD;
  --cream: #FBEFD9;         /* light mustard tint */
  --border: #E4E6DC;
  --input-border: #C9CFC2;
  --text: #26302A;
  --text-soft: #3C463F;
  --text-muted: #5B635D;
  --on-dark: #E3E9E1;
  --footer-text: #DCE3D8;

  /* Fonts */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Caveat', cursive;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 82px;

  /* Shadows */
  --shadow-sm: 0 10px 26px rgba(36, 69, 53, 0.14);
  --shadow-md: 0 14px 34px rgba(36, 69, 53, 0.10);
  --shadow-lg: 0 24px 50px rgba(36, 69, 53, 0.18);
}


/* 2. BASE & RESET ============================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img.img-svg {
    width: 60px;
}
img { max-width: 100%; display: block; }

a { color: var(--forest); }
a:hover { color: var(--forest-hover); }

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

input, textarea, select, button { font-family: inherit; }

:focus-visible { outline: 2px solid var(--mustard); outline-offset: 2px; }

/* All inline icons are line drawings */
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }


/* 3. LAYOUT HELPERS ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: 110px; padding-bottom: 110px; }

.section-head { text-align: center; margin-bottom: 52px; }


/* 4. BUTTONS & LINKS =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 32px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}


.reg-form input:not([type="checkbox"]):not([type="text"][name="website"]),
.reg-form select,
.reg-form textarea {
  width: 100%;
  box-sizing: border-box;
}

.reg-form input::placeholder,
.reg-form textarea::placeholder {
  color: #888;
  opacity: 1;
}

.reg-form input:focus,
.reg-form select:focus,
.reg-form textarea:focus {
  outline: none;
  border-color: #8a9b63;
}


.btn-sm { padding: 12px 22px; font-size: 15px; }

.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-hover); color: var(--white); }

.btn-mustard { background: var(--mustard); color: var(--forest-dark); font-weight: 600; height: 56px; }
.btn-mustard:hover { background: var(--mustard-dark); color: var(--forest-dark); }
.btn-mustard[disabled] { opacity: .7; cursor: wait; }

.btn-outline {
  border: 2px solid var(--forest);
  color: var(--forest);
  background: transparent;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 16px;
}
.btn-outline:hover { background: var(--forest); color: var(--white); }

.btn-block { width: 100%; }

.link-strong { font-weight: 500; font-size: 16px; }

.link-button {
  margin-top: 24px;
  min-height: 44px;
  background: none;
  border: 0;
  color: var(--forest);
  text-decoration: underline;
  font-size: 15px;
  cursor: pointer;
}


/* 5. SHARED TYPOGRAPHY ========================================= */
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--sage-text);
  font-weight: 500;
}
.eyebrow--mustard { color: var(--mustard); }

.section-title {
  margin: 14px 0 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 46px;
  line-height: 1.15;
  color: var(--forest);
}
.section-head .section-title { margin-bottom: 0; font-size: 44px; }
.section-title--light { color: var(--white); margin-bottom: 20px; }

.lead { font-size: 19px; margin-bottom: 18px; }
.lead:last-child { margin-bottom: 0; }

.text-sage { color: var(--sage-text); }


/* 6. DECORATIONS =============================================== */
.leaf-sprig {
  position: absolute;
  stroke: var(--sage);
  stroke-width: 2;
  pointer-events: none;
}
.leaf-sprig--dark { stroke: var(--forest); }

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.marquee { animation: marquee 36s linear infinite; }
.float { animation: float 6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .marquee, .float { animation: none !important; }
  html { scroll-behavior: auto; }
}


/* 7. HEADER & NAVIGATION ======================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 242, 0.95);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 58px; height: 58px; object-fit: contain; }
.brand-name { font-weight: 600; letter-spacing: 0.14em; font-size: 14px; color: var(--forest); }

.site-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--text); }
.site-nav a:not(.btn):hover { color: var(--forest); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--forest); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* 8. HERO ====================================================== */
.hero { position: relative; overflow: hidden; }

.hero-blob { position: absolute; border-radius: 50%; }
.hero-blob--sage { top: -120px; right: -160px; width: 620px; height: 620px; background: var(--mist); }
.hero-blob--cream { bottom: 40px; left: -90px; width: 220px; height: 220px; background: var(--cream); }

.hero-sprig { top: 40px; left: 46%; width: 110px; height: 110px; opacity: .9; }

.hero-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 64px;
}

.hero-text { flex: 1 1 480px; min-width: 0; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  font-size: 14px;
  color: var(--forest);
  margin-bottom: 28px;
}
.pill-tag {
  background: var(--mustard);
  color: var(--forest-dark);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 78px;
  line-height: 1.02;
  color: var(--forest);
}

.hero-tagline {
  margin-top: 22px;
  font-family: var(--font-script);
  font-size: 40px;
  line-height: 1.2;
  color: var(--forest);
}

.brush-underline { display: block; width: 260px; max-width: 100%; height: 16px; margin-top: 4px; }
.brush-underline path { stroke: var(--mustard); stroke-width: 5; }

.hero-intro { margin-top: 26px; font-size: 19px; max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 36px; }

.hero-facts {
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 15px;
  color: var(--text-soft);
}
.hero-facts li { display: flex; align-items: center; gap: 8px; }

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--forest { background: var(--forest); }
.dot--sage { background: var(--sage); }
.dot--mustard { background: var(--mustard); }

.hero-visual { flex: 1 1 420px; min-width: 0; position: relative; padding: 0 0 40px 20px; }

.hero-photo {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.hero-photo-round {
  position: absolute;
  right: -16px;
  bottom: 0;
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--bg);
  box-shadow: 0 12px 30px rgba(36, 69, 53, 0.18);
}

.hero-badge {
  position: absolute;
  left: -12px;
  bottom: 70px;
  width: 164px;
  height: 164px;
  border-radius: 50%;
  background: var(--mustard);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.2;
  color: var(--forest-dark);
}

.hero-chip {
  position: absolute;
  top: 46px;
  right: -6px;
  background: var(--white);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
}
.hero-chip-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mist);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-chip-icon svg { width: 20px; height: 20px; stroke-width: 1.8; }


/* 9. TOPICS BAND =============================================== */
.topics-band { background: var(--forest); color: var(--white); overflow: hidden; padding: 20px 0; }

.topics-track {
  display: flex;
  width: max-content;
  font-family: var(--font-display);
  font-size: 26px;
  white-space: nowrap;
}
.topics-list { display: flex; align-items: center; gap: 36px; padding-right: 36px; }

.star--mustard { color: var(--mustard); }
.star--sage { color: var(--sage); }


/* 10. ABOUT ==================================================== */
.about {
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    align-items: flex-start;
    /* padding-top: 120px; */
    /* padding-bottom: 80px; */
}

.about-collage {
    flex: 1 1 440px;
    /* min-width: 0; */
    position: relative;
    height: 520px;
}
.about-collage img {
    /* position: absolute; */
    object-fit: cover;
}

.collage-main {
    left: 0;
    top: 0;
    /* width: 62%; */
    height: 100%;
    border-radius: 10px;
}
.collage-side { right: 0; top: 60px; width: 34%; height: 200px; border-radius: 24px; }
.collage-round { right: 4%; bottom: 0; width: 230px; height: 230px; border-radius: 50%; border: 10px solid var(--bg); }
.collage-dot { position: absolute; left: 6%; bottom: 20px; width: 92px; height: 92px; border-radius: 50%; background: var(--sage); }
.collage-sprig { left: 50%; bottom: 150px; width: 70px; height: 70px; stroke-width: 2.5; }

.about-text { flex: 1 1 460px; min-width: 0; }


/* 11. WHY JOIN CARDS =========================================== */
.why { padding-top: 60px; padding-bottom: 120px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}

.feature-art {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature-art::before { content: ""; position: absolute; border-radius: 50%; }
.feature-art svg { position: relative; width: 72px; height: 72px; stroke-width: 1.3; }

.feature-art--forest { background: var(--forest); color: var(--white); }
.feature-art--forest::before { right: -30px; top: -30px; width: 110px; height: 110px; background: var(--forest-soft); }

.feature-art--sage { background: var(--sage); color: var(--forest-dark); }
.feature-art--sage::before { left: -30px; bottom: -40px; width: 120px; height: 120px; background: var(--sage-light); }

.feature-art--mustard { background: var(--mustard); color: var(--forest-dark); }
.feature-art--mustard::before { right: -20px; bottom: -50px; width: 130px; height: 130px; background: var(--mustard-light); }

.feature-art--mist { background: var(--mist); color: var(--forest); }
.feature-art--mist::before { left: -20px; top: -40px; width: 110px; height: 110px; background: var(--mist-2); }

.feature-body { padding: 26px 26px 30px; }
.feature-body h3 { margin-bottom: 8px; font-size: 21px; font-weight: 600; color: var(--forest); }
.feature-body p { font-size: 16px; }


/* 12. HOW IT WORKS ============================================= */
.how { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how .section-head { margin-bottom: 60px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  text-align: center;
}

.step-art {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
}
.step-art svg { width: 62px; height: 62px; stroke-width: 1.4; }
.step-art--mist { background: var(--mist); }
.step-art--cream { background: var(--cream); }
.step-art--sage { background: var(--mist-3); }

.step-num {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
}
.step-num--forest { background: var(--forest); color: var(--white); }
.step-num--mustard { background: var(--mustard); color: var(--forest-dark); }
.step-num--sage { background: var(--sage); color: var(--forest-dark); }

.step h3 { margin-bottom: 8px; font-size: 22px; font-weight: 600; color: var(--forest); }
.step p { margin: 0 auto; font-size: 16px; max-width: 280px; }


/* 13. FIRST GATHERING (EVENT) ================================== */
.event { position: relative; overflow: hidden; background: var(--mist); }

.event-sprig { right: 30px; top: 30px; width: 180px; height: 180px; opacity: .6; stroke-width: 1.6; }

.event-inner { position: relative; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }

.event-text { flex: 1 1 480px; min-width: 0; }
.event-text .section-title { margin-bottom: 18px; }
.event-lead { margin-bottom: 32px; max-width: 520px; }

.ticket {
  display: flex;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ticket-date {
  flex: 0 0 140px;
  background: var(--forest);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.ticket-day { font-size: 14px; letter-spacing: 0.2em; color: var(--mustard); }
.ticket-num { font-family: var(--font-display); font-size: 64px; line-height: 1; font-weight: 600; }
.ticket-month { font-size: 15px; letter-spacing: 0.12em; }

.ticket-details { flex: 1 1 260px; padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.ticket-row { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.ticket-row svg { flex: none; width: 22px; height: 22px; color: var(--forest); stroke-width: 1.7; }

.event-cta { margin-top: 36px; }

.polaroids { flex: 0 1 440px; min-width: 0; position: relative; height: 540px; }

.polaroid {
  position: absolute;
  margin: 0;
  background: var(--white);
}
.polaroid img { width: 100%; object-fit: cover; }
.polaroid figcaption { font-family: var(--font-script); color: var(--forest); text-align: center; }

.polaroid--small {
  left: 0;
  top: 30px;
  width: 220px;
  padding: 14px 14px 6px;
  box-shadow: 0 14px 30px rgba(36, 69, 53, 0.14);
  transform: rotate(-6deg);
}
.polaroid--small img { height: 220px; }
.polaroid--small figcaption { font-size: 24px; padding: 6px 0 4px; }

.polaroid--large {
  right: 0;
  top: 80px;
  width: 320px;
  padding: 16px 16px 8px;
  box-shadow: 0 18px 40px rgba(36, 69, 53, 0.18);
  transform: rotate(4deg);
}
.polaroid--large img { height: 360px; }
.polaroid--large figcaption { font-size: 30px; padding: 10px 0 6px; }


/* 14. REGISTRATION FORM ======================================== */
.join { position: relative; overflow: hidden; background: var(--forest); }

.join-blob {
  position: absolute;
  left: -140px;
  bottom: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--forest-blob);
}
.join-sprig { left: 40px; top: 60px; width: 160px; height: 160px; opacity: .5; stroke-width: 1.6; }

.join-inner { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }

.join-text { flex: 1 1 360px; min-width: 0; color: var(--white); padding-top: 50px; }
.join-lead { color: var(--on-dark); }

.join-free { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.join-free span { font-family: var(--font-script); font-size: 30px; color: var(--mustard); }

.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid; }
.avatar--mustard { border-color: var(--mustard); }
.avatar--sage { border-color: var(--sage); }
.avatar--overlap { margin-left: -28px; }

.form-card {
  flex: 1 1 520px;
  min-width: 0;
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.reg-form { display: flex; flex-direction: column; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

.field label, .field legend {
    font-weight: 500;
    font-size: 15px;
    color: var(--forest);
    padding: 10px 18px;
}
.field legend { margin-bottom: 10px; }

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--input-border);
  border-radius: 12px;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
}
.field input:not([type="checkbox"]),
.field select { height: 50px; padding: 0 16px; }
.field select { padding: 0 12px; }
.field textarea { padding: 14px 16px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--mustard); outline-offset: 1px; }

.field.has-error input { border-color: #B3261E; }
.field-error { color: #B3261E; font-size: 14px; min-height: 0; }
.field-error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--input-border);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 15px;
  min-height: 44px;
  cursor: pointer;
  color: var(--text);
  font-weight: 400;
}
.chip input, .check input { accent-color: var(--forest); margin: 0; flex: none; }
.chip input { width: 16px; height: 16px; }
.chip:has(input:checked) { border-color: var(--forest); background: var(--mist); }

.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status { font-size: 15px; text-align: center; color: #B3261E; }
.form-status:empty { display: none; }

.form-note { font-size: 14px; color: var(--text-muted); text-align: center; }

.form-success { text-align: center; padding: 40px 8px; }
.success-logo { width: 120px; height: 120px; object-fit: contain; margin: 0 auto 16px; }
.form-success h3 { margin-bottom: 12px; font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--forest); }
.form-success p { margin: 0 auto; font-size: 18px; max-width: 400px; }


/* 15. ABOUT NEOGREENS ========================================== */
.neogreens { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 120px; padding-bottom: 120px; }

.neo-visual { flex: 0 1 400px; min-width: 0; display: flex; justify-content: center; }

.neo-ring { position: relative; width: 360px; height: 360px; max-width: 100%; aspect-ratio: 1; }
.neo-ring-dash { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed var(--mustard); }
.neo-ring-inner {
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(36, 69, 53, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.neo-ring-inner img { width: 75%; height: 75%; object-fit: contain; }
.neo-ring-photo {
  position: absolute;
  right: -10px;
  bottom: 10px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--bg);
}
.neo-ring-dot { position: absolute; left: 6px; top: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); }

.neo-text { flex: 1 1 480px; min-width: 0; }
.neo-text .section-title { font-size: 42px; margin-bottom: 22px; }
.neo-text .lead:last-of-type { margin-bottom: 28px; }


/* 16. CLOSING BANNER =========================================== */
.closing-wrap { padding-bottom: 96px; }

.closing {
  position: relative;
  overflow: hidden;
  background: var(--mustard);
  border-radius: 32px;
  padding: 80px 32px;
  text-align: center;
}

.closing-blob { position: absolute; border-radius: 50%; }
.closing-blob--light { right: -60px; top: -60px; width: 220px; height: 220px; background: var(--mustard-light); }
.closing-blob--dark { left: -50px; bottom: -70px; width: 200px; height: 200px; background: var(--mustard-dark); }

.closing-sprig--left { left: 60px; top: 40px; width: 110px; height: 110px; }
.closing-sprig--right { right: 70px; bottom: 30px; width: 100px; height: 100px; transform: scaleX(-1); }

.closing-content { position: relative; }
.closing-title { font-family: var(--font-display); font-weight: 600; font-size: 54px; line-height: 1.1; color: var(--forest-dark); }
.closing-line { margin: 16px 0 32px; font-family: var(--font-script); font-size: 34px; color: var(--forest-dark); }


/* 17. FOOTER =================================================== */
.site-footer { background: var(--forest-dark); color: var(--footer-text); }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
  padding-top: 44px;
  padding-bottom: 44px;
  font-size: 15px;
}

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.footer-logo img { width: 50px; height: 50px; object-fit: contain; }


/* 18. RESPONSIVE =============================================== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title { font-size: 64px; }
  .section { padding-top: 90px; padding-bottom: 90px; }
}

/* Collapse navigation into a menu */
@media (max-width: 900px) {
  :root { --header-h: 74px; }

  .brand-logo { width: 50px; height: 50px; }
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 12px; }

  .header-inner { position: relative; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --gutter: 20px; }

  body { font-size: 16px; }
  .section { padding-top: 72px; padding-bottom: 72px; }

  .brand-name { font-size: 12px; letter-spacing: 0.1em; }

  /* Hero */
  .hero-blob--sage { width: 380px; height: 380px; right: -180px; top: -80px; }
  .hero-sprig { display: none; }
  .hero-inner { padding-top: 40px; padding-bottom: 48px; gap: 40px; }
  .hero-title { font-size: 46px; }
  .hero-tagline { font-size: 32px; }
  .hero-intro, .lead { font-size: 17px; }
  .hero-visual { padding: 0 0 30px 0; }
  .hero-photo { height: 380px; border-radius: 180px 180px 24px 24px; }
  .hero-photo-round { width: 110px; height: 110px; right: -4px; border-width: 6px; }
  .hero-badge { width: 120px; height: 120px; font-size: 16px; padding: 16px; left: -6px; bottom: 40px; }
  .hero-chip { top: 20px; right: 0; font-size: 13px; padding: 10px 12px; }

  /* Topics */
  .topics-track { font-size: 21px; }

  /* Titles */
  .section-title,
  .section-head .section-title,
  .neo-text .section-title { font-size: 34px; }

  /* About collage */
  .about { gap: 40px; padding-top: 72px; padding-bottom: 48px; }
  .about-collage { height: 280px; flex-basis: 100%; }
  .collage-main { height: 290px; }
  .collage-side { height: 150px; top: 40px; }
  .collage-round { width: 150px; height: 150px; border-width: 7px; }
  .collage-dot { width: 64px; height: 64px; }
  .collage-sprig { bottom: 110px; }

  .why { padding-top: 32px; padding-bottom: 72px; }

  /* Event */
  .event-sprig { width: 110px; height: 110px; }
  .event-inner { gap: 40px; }
  .ticket-date { flex-basis: 100%; flex-direction: row; gap: 12px; padding: 16px; }
  .ticket-num { font-size: 40px; }
  .ticket-details { padding: 22px 20px; }
  .polaroids { flex-basis: 100%; height: 440px; }
  .polaroid--small { width: 160px; }
  .polaroid--small img { height: 160px; }
  .polaroid--small figcaption { font-size: 20px; }
  .polaroid--large { width: 240px; top: 70px; }
  .polaroid--large img { height: 280px; }
  .polaroid--large figcaption { font-size: 24px; }

  /* Registration */
  .join-sprig { width: 100px; height: 100px; left: auto; right: 10px; top: 20px; }
  .join-text { padding-top: 0; }
  .form-card { padding: 28px 20px; border-radius: 20px; }

  /* NeoGreens */
  .neogreens { gap: 40px; padding-top: 72px; padding-bottom: 72px; }
  .neo-ring { width: 280px; height: 280px; }
  .neo-ring-photo { width: 76px; height: 76px; }

  /* Closing */
  .closing-wrap { padding-bottom: 64px; }
  .closing { padding: 64px 22px; border-radius: 24px; }
  .closing-title { font-size: 36px; }
  .closing-line { font-size: 27px; }
  .closing-sprig--left { left: 16px; top: 16px; width: 64px; height: 64px; }
  .closing-sprig--right { right: 16px; bottom: 16px; width: 60px; height: 60px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; }
}





@media screen and (max-width: 768px) {
  .site-header .header-inner {
    position: relative;
  }

  .site-header .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
  }

  .site-header .nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #222;
  }

  .site-header .site-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 16px 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1001;
  }

  .site-header .site-nav.active {
    display: flex !important;
  }

  .site-header .site-nav a {
    padding: 12px 0;
  }
}
img.img-view {
    margin: 20px 0px 0px 0px;
    border-radius: 10px;

    max-width: -webkit-fill-available;
}

/* Mobile: 2 columns */
@media (max-width: 767px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    
     .card-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
     .steps > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    
      .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }
    .step-num {
    position: absolute;
    top: 4px;
    right: -14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
}
.step-art svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.4;
}
.step-art {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forest);
}
.feature-art {
    position: relative;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.feature-art svg {
    position: relative;
    width: 50px;
    height: 50px;
    stroke-width: 1.3;
}
img.img-svg {
    width: 40px;
}
}