/* ==========================================================================
   BOTTLE TOP HILL - COMMUNITY SUSTAINABILITY PROJECT
   Custom Design System & Responsive Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --blue-primary: #07558d;
  --blue-dark: #053a61;
  --blue-light: #e8f3fa;
  --green-primary: #078c50;
  --green-dark: #056b3d;
  --green-soft: #edf6ec;
  --green-border: #cde4ce;
  --yellow-accent: #ffcf27;
  --yellow-warm: #f69c39;
  --coral-accent: #ef6455;
  --cream-bg: #fffdf6;

  /* Typography Colors */
  --text-primary: #07558d;
  --text-dark: #12334a;
  --text-muted: #4e6c80;
  --text-light: #ffffff;

  /* Card & Surface Tokens */
  --surface-card: #ffffff;
  --surface-border: #e0ece0;
  --surface-hover-border: #b8deb9;
  --shadow-sm: 0 4px 14px rgba(7, 85, 141, 0.06);
  --shadow-md: 0 10px 30px rgba(7, 85, 141, 0.1);
  --shadow-lg: 0 18px 45px rgba(7, 85, 141, 0.15);

  /* Typography Families */
  --font-base: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Patrick Hand", cursive;
  --font-script: "Caveat", "Patrick Hand", cursive;

  /* Transitions */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  background-color: var(--cream-bg);
  color: var(--text-dark);
  line-height: 1.55;
  font-size: 1rem;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--green-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 15px;
}

/* Layout Utilities */
.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.section-padding {
  padding: 68px 0;
}

/* --------------------------------------------------------------------------
   3. Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.22s var(--ease-spring), box-shadow 0.22s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background-color: var(--green-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(7, 140, 80, 0.25);
}

.button-primary:hover {
  background-color: var(--green-dark);
  box-shadow: 0 8px 22px rgba(5, 107, 61, 0.35);
}

.button-outline {
  background-color: transparent;
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
}

.button-outline:hover {
  background-color: var(--green-soft);
  color: var(--green-dark);
  border-color: var(--green-dark);
}

.button-white {
  background-color: #ffffff;
  color: var(--blue-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.button-white:hover {
  background-color: #f7fafc;
  color: var(--blue-dark);
}

.btn-arrow {
  font-size: 1.25rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}

.button:hover .btn-arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 253, 246, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(7, 85, 141, 0.08);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 3px 10px rgba(7, 85, 141, 0.15);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  color: var(--blue-primary);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-sub {
  color: var(--green-primary);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--blue-primary);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--green-primary);
}

.nav-cta {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* Hamburger button for mobile */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--blue-primary);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 34px 0 38px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(440px, 1fr) 1.25fr;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding-left: max(20px, calc((100% - 1140px) / 2));
  padding-right: 0;
  box-sizing: border-box;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Authentic extracted sun rays doodle */
.hero-doodle-sun {
  position: absolute;
  left: 0;
  top: 10px;
  width: 44px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Authentic extracted 3-leaf sprout doodle */
.hero-doodle-sprout {
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 38px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Hero text content aligned to the shared vertical guide */
.hero-text-block {
  padding-left: 56px;
}

.hero-heading {
  font-size: clamp(2.85rem, 4.6vw, 4.3rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.headline-blue {
  display: block;
  color: #07558d;
}

.headline-green {
  display: block;
  color: #07864b;
}

.hero-intro {
  font-size: 1.08rem;
  color: #0d4d77;
  font-weight: 700;
  line-height: 1.45;
  max-width: 460px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-btn {
  padding: 13px 26px;
  font-size: 0.96rem;
  font-weight: 800;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.button-primary.hero-btn {
  background-color: #07864b;
  color: #ffffff;
  border: 2px solid #07864b;
  box-shadow: 0 4px 14px rgba(7, 134, 75, 0.2);
}

.button-primary.hero-btn:hover {
  background-color: #056b3d;
  border-color: #056b3d;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(7, 134, 75, 0.28);
}

.button-outline.hero-btn {
  background-color: #ffffff;
  color: #07864b;
  border: 2.2px solid #07864b;
}

.button-outline.hero-btn:hover {
  background-color: #edf6ec;
  border-color: #056b3d;
  color: #056b3d;
  transform: translateY(-2px);
}

.button-outline.hero-btn .btn-arrow {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.button-outline.hero-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Hero Visual / Exact Frame from Reference */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-right: 0;
  overflow: visible;
}

.hero-img {
  width: 100%;
  max-width: 820px;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: 0;
  display: block;
  transition: transform 0.4s var(--ease-spring);
  filter: drop-shadow(0 14px 34px rgba(7, 85, 141, 0.12));
}

.hero-img:hover {
  transform: scale(1.015);
}

/* Star sticker badge */
.star-badge {
  position: absolute;
  right: -10px;
  bottom: -20px;
  width: 135px;
  height: 135px;
  display: grid;
  place-items: center;
  transform: rotate(8deg);
  filter: drop-shadow(0 8px 18px rgba(7, 85, 141, 0.2));
  z-index: 5;
}

.star-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: gentlePulse 4s ease-in-out infinite alternate;
}

@keyframes gentlePulse {
  0% {
    transform: scale(1) rotate(0deg);
  }

  100% {
    transform: scale(1.04) rotate(4deg);
  }
}

.star-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--blue-dark);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 900;
  padding: 10px;
}

.star-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.5px;
}

.star-bold {
  font-size: 0.95rem;
  color: var(--blue-primary);
}

.star-face {
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   6. Three Pillars Strip ("Values")
   -------------------------------------------------------------------------- */
.pillars-section {
  background-color: #edf6ea;
  border-top: 1px solid rgba(12, 139, 80, 0.15);
  border-bottom: 1px solid rgba(12, 139, 80, 0.15);
  padding: 24px 0 26px;
  width: 100%;
}

.pillars-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.15fr;
  align-items: center;
  gap: 28px;
  box-shadow: none;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pillar-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.pillar-text {
  min-width: 0;
}

.pillar-title {
  font-size: 1.18rem;
  font-weight: 900;
  color: #07558d;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
  line-height: 1.2;
}

.pillar-desc {
  font-size: 0.89rem;
  color: #07558d;
  font-weight: 600;
  line-height: 1.4;
}

.pillar-divider {
  width: 1.5px;
  height: 52px;
  background-color: #90bda0;
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   7. What Can You Bring? (Accepted Items)
   -------------------------------------------------------------------------- */
.collect-section {
  padding-top: 40px;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 30px;
}

.collect-header-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.collect-doodle-sun {
  width: clamp(28px, 3.2vw, 38px);
  height: auto;
  flex-shrink: 0;
  margin-top: -3px;
  pointer-events: none;
  user-select: none;
}

.collect-header-text {
  display: flex;
  flex-direction: column;
}

.section-title {
  font-size: clamp(2.1rem, 3.8vw, 2.9rem);
  font-weight: 900;
  color: var(--blue-primary);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 5px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: #235d88;
  font-weight: 600;
  line-height: 1.35;
}

.handwritten-note {
  font-family: var(--font-hand);
  color: var(--blue-primary);
  font-size: 1.25rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 250px;
  text-align: right;
  transform: rotate(-3deg);
  transition: transform 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.handwritten-note:hover {
  color: var(--green-primary);
  transform: rotate(0deg) scale(1.03);
}

.hand-arrow {
  flex-shrink: 0;
  color: var(--blue-primary);
}

.handwritten-note:hover .hand-arrow {
  color: var(--green-primary);
}

/* 4 Cards Grid */
.items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.item-card {
  background-color: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s var(--ease-spring), box-shadow 0.24s ease, border-color 0.24s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--surface-hover-border);
}

.item-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.item-card:hover .item-img {
  transform: scale(1.04);
}

.item-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--blue-primary);
  margin-bottom: 4px;
}

.item-details {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   8. The BTH 12R's Section
   -------------------------------------------------------------------------- */
.twelve-section {
  background-color: #edf7f2;
  border-radius: 36px;
  margin: 30px 0;
}

.twelve-container {
  display: grid;
  grid-template-columns: 1fr 1.18fr 0.95fr;
  align-items: center;
  gap: 36px;
  padding: 10px 0;
}

.twelve-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  color: var(--blue-primary);
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 8px;
}

.twelve-tagline {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.twelve-body {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.twelve-center {
  display: grid;
  place-items: center;
}

.wheel-interactive-wrap {
  position: relative;
  width: min(320px, 92%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.wheel-trigger-btn {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: block;
}

.wheel-trigger-btn:focus-visible {
  outline: 3px solid var(--blue-primary);
  outline-offset: 4px;
}

.wheel-graphic-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 14px 40px rgba(7, 85, 141, 0.18);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
}

.wheel-trigger-btn:hover .wheel-graphic-img {
  transform: rotate(8deg) scale(1.04);
  box-shadow: 0 20px 50px rgba(7, 85, 141, 0.26);
}

.wheel-hint-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(7, 85, 141, 0.92);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  white-space: nowrap;
}

.wheel-trigger-btn:hover .wheel-hint-badge,
.wheel-trigger-btn:focus-visible .wheel-hint-badge {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.twelve-right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 8px;
}

.script-quote {
  font-family: var(--font-script);
  color: var(--blue-primary);
  margin-bottom: 20px;
  line-height: 0.94;
  position: relative;
  display: inline-block;
  transform: rotate(-7.5deg);
  transform-origin: 0% 100%;
  width: fit-content;
}

.script-title,
.script-subtitle {
  display: block;
  font-size: clamp(2.35rem, 3.4vw, 2.95rem);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.twelve-spark-img {
  position: absolute;
  top: -12px;
  right: -36px;
  width: 34px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.twelve-right .twelve-body {
  color: var(--blue-primary);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.48;
  max-width: 310px;
  margin-bottom: 0;
  padding-right: 32px;
}

.twelve-leaf-doodle {
  position: absolute;
  right: 6px;
  bottom: 0px;
  pointer-events: none;
  user-select: none;
}

.twelve-leaf-img {
  width: 32px;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   9. Our Community Impact Section
   -------------------------------------------------------------------------- */
.impact-section {
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: minmax(380px, 1fr) 1.25fr;
  align-items: center;
  gap: 32px;
  width: 100%;
  padding-left: max(20px, calc((100% - 1140px) / 2));
  padding-right: 0;
  box-sizing: border-box;
}

.eyebrow-label {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--blue-primary);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.stats-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: clamp(3.2rem, 5.4vw, 4.4rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
}

.stat-blue {
  color: var(--blue-primary);
}

.stat-green {
  color: #179354;
}

.stat-label {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 8px;
}

.stat-label-blue {
  color: var(--blue-primary);
}

.stat-label-green {
  color: #0b5e3c;
}

.stat-divider {
  width: 3px;
  height: 82px;
  background-color: #179354;
  border-radius: 2px;
  flex-shrink: 0;
}

.impact-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--blue-primary);
  font-weight: 700;
  line-height: 1.35;
}

.impact-spark-doodle {
  flex-shrink: 0;
  display: block;
}

.impact-photo-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 100%;
}

.impact-img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  margin-left: auto;
  transition: transform 0.3s var(--ease-spring);
}

.impact-img:hover {
  transform: scale(1.015);
}

/* --------------------------------------------------------------------------
   10. Awards & Partners Section
   -------------------------------------------------------------------------- */
.awards-section {
  background-color: #ffffff;
  width: 100%;
  padding: 32px 0 36px;
  border-top: 1px solid rgba(7, 85, 141, 0.07);
  border-bottom: 1px solid rgba(7, 85, 141, 0.07);
}

.awards-wrapper {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: grid;
  place-items: center;
}

.awards-strip-img {
  width: 100%;
  max-width: 1040px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* --------------------------------------------------------------------------
   11. Events Section (Call-to-Action)
   -------------------------------------------------------------------------- */
.events-section {
  padding-bottom: 50px;
}

.events-card {
  background: linear-gradient(135deg, var(--green-soft), #e0f2e3);
  border: 1px solid var(--green-border);
  border-radius: 28px;
  padding: 42px 48px;
  box-shadow: var(--shadow-sm);
}

.events-badge {
  display: inline-block;
  background-color: var(--yellow-accent);
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.events-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  color: var(--blue-primary);
  margin-bottom: 12px;
  letter-spacing: -0.8px;
}

.events-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.events-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blue-primary);
}

.events-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.events-link {
  font-weight: 800;
  color: var(--green-primary);
  font-size: 0.94rem;
  transition: color 0.2s ease;
}

.events-link:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   12. Footer with Wave Banner
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background-color: var(--blue-primary);
  color: #ffffff;
  padding-top: 24px;
  margin-top: 55px;
}

.footer-wave-top {
  position: absolute;
  top: -55px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.footer-wave-top svg {
  width: 100%;
  height: 58px;
  display: block;
}

.footer-inner {
  padding: 30px 0 20px;
}

.footer-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-start;
}

.social-link {
  width: auto;
  height: auto;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.2s var(--ease-spring), opacity 0.2s ease;
}

.social-link svg {
  display: block;
}

.social-link:hover {
  background: transparent;
  transform: translateY(-2px) scale(1.08);
  opacity: 0.88;
}

.social-handle {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin-left: 4px;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.footer-banner-heading {
  text-align: center;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1.4;
}

.slogan-line-1 {
  font-family: 'Patrick Hand', cursive, sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: 0.5px;
  transform: rotate(-1.5deg);
  display: block;
  white-space: nowrap;
}

.slogan-line-2-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: rotate(-1.8deg);
}

.slogan-line-2 {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 700;
  color: #fec322;
  line-height: 1;
  letter-spacing: 0.5px;
  display: block;
  white-space: nowrap;
}

.footer-spark-left {
  flex-shrink: 0;
  display: block;
  transform: translateY(1px);
}

.footer-spark-right {
  flex-shrink: 0;
  display: block;
  transform: translateY(1px);
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.footer-info-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.footer-info-item svg {
  flex-shrink: 0;
  display: block;
}

.footer-copyright {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  padding-top: 20px;
}

/* --------------------------------------------------------------------------
   13. Modals & Dialogs
   -------------------------------------------------------------------------- */
.app-modal {
  border: none;
  background: transparent;
  padding: 20px;
  width: min(650px, calc(100% - 30px));
  margin: auto;
  max-height: 90vh;
}

.app-modal::backdrop {
  background: rgba(5, 58, 97, 0.65);
  backdrop-filter: blur(4px);
}

.modal-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.modal-large {
  max-width: 820px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5ece5;
}

.modal-header h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--blue-primary);
}

.modal-close-btn {
  font-size: 2rem;
  color: var(--text-muted);
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--coral-accent);
  background-color: #fceeed;
}

.modal-body {
  overflow-y: auto;
  max-height: 60vh;
  margin-bottom: 24px;
}

.modal-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.accepted-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.accepted-list li {
  padding: 10px 14px;
  background-color: #f7faf7;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  border-left: 4px solid var(--green-primary);
}

.modal-alert {
  background-color: #fff9e6;
  border: 1px solid var(--yellow-accent);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #735102;
}

.modal-wheel-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
}

.modal-wheel-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-wheel-img {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(7, 85, 141, 0.16);
  border: 4px solid #ffffff;
}

.twelve-grid-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.r-pill {
  padding: 12px 14px;
  background-color: var(--green-soft);
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
  border: 1px solid var(--green-border);
}

.r-num {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  border-radius: 50%;
  background-color: var(--green-primary);
  color: #fff;
  text-align: center;
  font-weight: 900;
  font-size: 0.75rem;
  margin-right: 6px;
}

.event-entry {
  display: flex;
  gap: 20px;
  padding: 16px;
  background-color: #f7faf7;
  border-radius: 16px;
  margin-bottom: 14px;
  align-items: center;
}

.event-date-box {
  background-color: var(--blue-primary);
  color: #ffffff;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 65px;
}

.m-month {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.m-day {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.event-info-box h4 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--blue-primary);
  margin-bottom: 4px;
}

.event-info-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.event-hint {
  color: var(--green-primary) !important;
  font-weight: 700;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   14. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-img {
    max-width: 620px;
    margin-inline: auto;
  }

  .pillars-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillar-divider {
    width: 100%;
    height: 1px;
  }

  .items-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .twelve-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .twelve-body {
    max-width: 550px;
    margin-inline: auto;
  }

  .twelve-right {
    align-items: center;
  }

  .twelve-right .script-quote {
    margin-inline: auto;
  }

  .twelve-right .twelve-body {
    padding-right: 0;
    margin-inline: auto;
  }

  .twelve-leaf-doodle {
    position: static;
    margin-top: 10px;
    display: inline-block;
  }

  .impact-grid {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
    gap: 30px;
  }

  .modal-wheel-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .twelve-grid-details {
    grid-template-columns: 1fr;
  }

  .footer-main-row {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .footer-socials,
  .footer-info {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--cream-bg);
    border-bottom: 1px solid var(--surface-border);
    padding: 24px 20px 28px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav .nav-link {
    padding: 12px 10px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .main-nav .nav-link:hover {
    background-color: var(--green-soft);
  }

  .main-nav .nav-cta {
    margin-top: 10px;
  }

  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .handwritten-note {
    text-align: left;
    transform: none;
  }

  .footer-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info {
    justify-content: center;
  }

  .events-card {
    padding: 30px 24px;
  }
}

@media (max-width: 480px) {
  .items-grid {
    grid-template-columns: 1fr;
  }

  .collect-header-left {
    gap: 10px;
  }

  .collect-doodle-sun {
    margin-top: -1px;
  }

  .stats-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .hero-text-block {
    padding-left: 40px;
  }

  .hero-doodle-sun {
    width: 32px;
    top: 6px;
  }

  .hero-doodle-sprout {
    width: 30px;
    bottom: 8px;
    left: 2px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .star-badge {
    width: 110px;
    height: 110px;
    right: -5px;
    bottom: -15px;
  }

  .footer-spark-left,
  .footer-spark-right {
    width: 26px;
    height: 26px;
  }

  .slogan-line-2-wrap {
    gap: 8px;
  }
}

/* --------------------------------------------------------------------------
   15. Accessibility & Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}