/* ===================================================================
   PLAY TO HEAL — Shared Design System
   Edit the variables below to re-theme the entire site.
=================================================================== */

:root {
  /* --- Color palette: pulled from the Play to Heal logo (soft blue, sage, teal) --- */
  --color-bg: #f7f9fb;            /* cool off-white base, matches logo background */
  --color-bg-alt: #eef3f9;        /* light blue-tinted — alternating sections */
  --color-bg-sage: #edf4ee;       /* soft sage tint — alternating sections */
  --color-surface: #ffffff;       /* card / form backgrounds */

  --color-text: #32363c;          /* cool charcoal — body text, matches logo wordmark */
  --color-text-soft: #5c6570;     /* muted text */
  --color-text-on-dark: #f2f5f9;

  --color-primary: #6f89b3;       /* light blue — brand primary, from logo swirl */
  --color-primary-dark: #2b3f56;  /* deep navy-blue — headings, dark sections, footer */
  --color-primary-light: #e3eaf5;

  --color-secondary: #3d8a85;     /* deeper teal — from PlayWell Slimes mark, CTAs / accents */
  --color-secondary-dark: #285c58;
  --color-secondary-light: #dcefec;

  --color-accent: #9fc0a0;        /* sage green — from logo swirl gradient */
  --color-gold: #8aa8cc;          /* soft slate blue — highlights, stats (no warm gold in logo) */

  --color-border: #dde5ef;
  --color-shadow: rgba(45, 60, 90, 0.08);

  /* --- Type --- */
  --font-heading: 'Times New Roman', Times, Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --radius-md: 14px;
  --radius-lg: 24px;
}

/* ===================== Base ===================== */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 106%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 600;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-top: 0; }
a { color: var(--color-primary-dark); }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.3rem; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

/* ===================== Layout helpers ===================== */
.section {
  padding: 5.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.section-alt { background: var(--color-bg-alt); }
.section-sage { background: var(--color-bg-sage); }
.section-dark {
  background: var(--color-primary-dark);
  color: var(--color-text-on-dark);
}
.section-dark h2, .section-dark h3 { color: #fff; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.section-inner--narrow { max-width: 780px; }

.section-header {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-header.align-left { margin: 0 0 3rem; text-align: left; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--color-secondary-dark);
  background: none;
  padding: 0;
  margin-bottom: 0.9rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--color-text-soft);
}

/* Hand-drawn squiggle underline accent for headings */
.underline-accent {
  position: relative;
  display: inline-block;
}
.underline-accent svg {
  position: absolute;
  left: 0;
  bottom: -0.35em;
  width: 100%;
  height: 0.4em;
}

/* ===================== Organic blob decorations ===================== */
.blob-decor {
  position: absolute;
  border-radius: 58% 42% 53% 47% / 44% 56% 44% 56%;
  z-index: 0;
  opacity: 0.3;
  pointer-events: none;
}
.blob-sage { background: linear-gradient(135deg, #d5e8d6, #9fc0a0); }
.blob-teal { background: linear-gradient(135deg, #cdeae6, #4f9b96); }
.blob-blue { background: linear-gradient(135deg, #dce6f5, #7c96be); }
.blob-mist { background: linear-gradient(135deg, #eef1f6, #b9c8dd); }

/* Subtle dot-grid texture */
.texture-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--color-border) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(75, 122, 103, 0.3);
}
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; }

.btn-secondary {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(201, 123, 74, 0.3);
}
.btn-secondary:hover { background: var(--color-secondary-dark); color: #fff; }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--color-primary-dark);
}
.btn-outline:hover { background: rgba(75, 122, 103, 0.08); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

.btn-large { font-size: 1.1rem; padding: 1rem 2.25rem; }
.btn-block { width: 100%; justify-content: center; }

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===================== Header / Nav ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
}
.logo-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: inline-block;
  border-radius: 50%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: nowrap;
}
.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--color-primary-dark); }
.main-nav a[aria-current="page"] { border-bottom: 2px solid var(--color-secondary); padding-bottom: 2px; }

.header-ctas {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.mobile-cta-item { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 4px 6px;
  color: var(--color-primary-dark);
  position: relative;
  z-index: 601;
}
.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 18px;
}
.nav-toggle-bars span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-toggle-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===================== Hero ===================== */
.hero {
  padding: 4.5rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-inner.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow { margin-bottom: 1.25rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero-sub {
  font-size: 1.25rem;
  color: var(--color-text-soft);
  max-width: 54ch;
  margin-bottom: 2rem;
}
.hero-page {
  text-align: center;
  padding: 4rem 1.5rem;
}
.hero-page .hero-sub { margin-left: auto; margin-right: auto; }
.hero-page .cta-row { justify-content: center; }

/* ===================== Impact Stats ===================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-card {
  padding: 1.5rem 1rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--color-gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.section-dark .stat-number { color: var(--color-gold); }
.stat-label {
  font-size: 1rem;
  color: var(--color-text-soft);
}
.section-dark .stat-label { color: var(--color-text-on-dark); opacity: 0.85; }

/* ===================== Cards ===================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 14px var(--color-shadow);
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-bg-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--color-text-soft); margin: 0; }
.card .btn { margin-top: 1.25rem; }

.card-accent-top {
  border-top: 5px solid var(--color-primary);
}
.card-grid .card:nth-child(3n+2).card-accent-top { border-top-color: var(--color-secondary); }
.card-grid .card:nth-child(3n+3).card-accent-top { border-top-color: var(--color-accent); }

/* ===================== Icon sizing (replaces emoji glyphs) ===================== */
.card-icon svg,
.quote-card-icon svg,
.contact-info-icon svg,
.illustration-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-primary-dark);
  display: block;
}
.ph-icon svg {
  width: 34px;
  height: 34px;
  color: var(--color-primary);
  display: block;
  margin: 0 auto 0.5rem;
}
.team-photo svg {
  width: 34px;
  height: 34px;
  color: var(--color-primary-dark);
  display: block;
}

/* ===================== Photo placeholders ===================== */
/*
  Swap these placeholders for real photos when available:
  Replace <div class="photo-placeholder">...</div> with
  <img src="images/your-photo.jpg" alt="Description of the photo" class="photo-img">
*/
.photo-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: var(--color-bg-sage);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-soft);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 1rem;
}
.photo-placeholder span { display: block; }
.photo-placeholder .ph-icon { font-size: 1.8rem; margin-bottom: 0.4rem; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.photo-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ===================== Testimonials ===================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 0;
  border: 1px solid var(--color-border);
  position: relative;
}
.testimonial-quote-mark {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-secondary-light);
  line-height: 1;
  margin-bottom: 0.25rem;
  display: block;
}
.testimonial-card p.quote {
  font-size: 1.08rem;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--color-primary-dark); font-size: 0.95rem; }
.author-role { font-size: 0.85rem; color: var(--color-text-soft); }

/* ===================== Research quote cards (Why Play Matters) ===================== */
.quote-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.quote-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px var(--color-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.quote-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.quote-card:nth-child(3n+1) .quote-card-icon { background: var(--color-primary-light); }
.quote-card:nth-child(3n+2) .quote-card-icon { background: var(--color-secondary-light); }
.quote-card:nth-child(3n+3) .quote-card-icon { background: var(--color-bg-sage); }

.quote-card-text {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.45;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.quote-card-source {
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: auto;
}
.quote-card-org {
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 0.95rem;
  display: block;
}
.quote-card-citation {
  font-size: 0.8rem;
  color: var(--color-text-soft);
  display: block;
  margin-top: 0.2rem;
}
.quote-card-philosophy .quote-card-org {
  color: var(--color-secondary-dark);
}

/* Pull-quote band */
.pull-quote-band {
  text-align: center;
  padding: 1rem 1rem;
}
.pull-quote-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.4;
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-primary-dark);
}
.section-dark .pull-quote-text { color: #fff; }

/* Disclaimer */
.disclaimer-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  font-size: 0.88rem;
  color: var(--color-text-soft);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* Abstract hero illustration (blobs + floating icon badges) */
.illustration {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.illustration-icon {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: 0 8px 24px var(--color-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* ===================== Founder story ===================== */
.founder-intro {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.founder-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  aspect-ratio: 1;
}
.founder-name {
  margin-bottom: 0.25rem;
}
.founder-role {
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  font-weight: 700;
}
.story-text p {
  color: var(--color-text-soft);
  font-size: 1.08rem;
  margin-bottom: 1.4rem;
}
.story-text p:last-child { margin-bottom: 0; }
.story-closing {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark) !important;
  text-align: center;
  margin-top: 2rem !important;
}

/* ===================== Timeline ===================== */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 760px;
}
.timeline li {
  position: relative;
  padding: 0 0 2.5rem 2.25rem;
  border-left: 2px solid var(--color-border);
}
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 3px solid var(--color-bg);
}
.timeline-year {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-secondary-dark);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  display: block;
}

/* ===================== Values / Team ===================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.team-card { text-align: center; }
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-bg-sage);
  border: 1.5px dashed var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 auto 1rem;
}
.team-name { font-weight: 700; margin-bottom: 0.15rem; }
.team-role { color: var(--color-text-soft); font-size: 0.9rem; }

/* ===================== Logo strip ===================== */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  align-items: center;
}
.logo-chip {
  padding: 0.9rem 1.75rem;
  border: 1.5px dashed var(--color-border);
  border-radius: 999px;
  color: var(--color-text-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ===================== Steps ===================== */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.75rem;
  border: 1px solid var(--color-border);
}
.step-number {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--color-text-soft); margin: 0; }

/* ===================== Event cards ===================== */
.event-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.event-date {
  text-align: center;
  background: var(--color-bg-sage);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
}
.event-date .month {
  display: block;
  font-weight: 700;
  color: var(--color-secondary-dark);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.event-date .day {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}
.event-info h3 { margin-bottom: 0.35rem; }
.event-info p { color: var(--color-text-soft); margin: 0; }
.event-meta {
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin-top: 0.35rem;
}

/* ===================== PlayWell Slimes sub-brand lockup (Shop hero) ===================== */
.shop-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}
.shop-brand-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; object-fit: cover; }
.shop-brand-lockup-text { display: flex; flex-direction: column; text-align: left; }
.shop-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-text);
  line-height: 1.1;
}
.shop-brand-tagline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-secondary-dark);
}

/* ===================== Coming Soon panel (Shop) ===================== */
.coming-soon-panel {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-surface);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
}
.coming-soon-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

/* ===================== Product grid (Shop) ===================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card .photo-placeholder {
  border-radius: 0;
  border-width: 0 0 1.5px 0;
  aspect-ratio: 1;
}
.product-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 0.3rem; }
.product-desc { color: var(--color-text-soft); font-size: 0.95rem; margin-bottom: 1rem; }
.product-price {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  margin-top: auto;
}
.product-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
  align-self: flex-start;
}

/* ===================== Forms ===================== */
.form-card {
  max-width: 640px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
}
.form-row { margin-bottom: 1.4rem; display: flex; flex-direction: column; }
.form-row-group { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-row label { font-weight: 700; margin-bottom: 0.5rem; font-size: 1rem; }
.form-row input,
.form-row textarea,
.form-row select {
  font-family: var(--font-body);
  font-size: 1.02rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus { border-color: var(--color-primary); }
.form-note {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  min-height: 1.5em;
}
.form-help { font-size: 0.85rem; color: var(--color-text-soft); margin-top: 0.35rem; }

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 460px;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--color-border);
  font-size: 1rem;
}

/* ===================== FAQ ===================== */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.faq-item summary {
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
  color: var(--color-primary-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--color-secondary);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin-top: 0.85rem; color: var(--color-text-soft); }

/* ===================== CTA band ===================== */
.cta-band {
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 60ch; margin: 0 auto 1.75rem; }
.cta-band .cta-row { justify-content: center; }

.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* ===================== Contact info list ===================== */
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1.25rem;
}
.contact-info-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===================== Footer ===================== */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-text-on-dark);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand .logo { color: #fff; margin-bottom: 0.9rem; }
.footer-brand p { color: rgba(255,255,255,0.75); max-width: 32ch; }
.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.25rem;
}
.footer-social a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-social a:hover { color: var(--color-secondary-light); }

.footer-col h4 { color: #fff; margin-bottom: 1.1rem; font-size: 1.05rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner.hero-split { grid-template-columns: 1fr; }
  .hero-inner.hero-split .hero-art { order: -1; }
  .testimonial-grid,
  .product-grid,
  .card-grid.cols-3,
  .involve-grid,
  .quote-card-grid,
  .photo-grid.cols-3 { grid-template-columns: 1fr 1fr; }
}

/* Nav collapses into a full-screen overlay menu below this width — kept separate
   from the content-grid breakpoints below since the nav needs more room to breathe.
   The overlay sits at a lower z-index than .site-header, so the header (logo +
   close button) stays visible on top of it — no header-height math required. */
@media (max-width: 1100px) {
  .main-nav ul {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    display: none;
    padding: 6rem 1.5rem 2.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav ul.open { display: flex; }
  .main-nav li { width: 100%; }
  .main-nav li:not(.mobile-cta-item) { border-bottom: 1px solid var(--color-border); }
  .main-nav a { display: block; padding: 1.1rem 0.25rem; width: 100%; font-size: 1.15rem; font-weight: 700; color: var(--color-primary-dark); }
  .main-nav a[aria-current="page"] { border-bottom: none; color: var(--color-secondary-dark); }
  .header-ctas { display: none; }
  .mobile-cta-item { display: block; padding: 0.6rem 0 0; width: 100%; }
  .mobile-cta-item:nth-of-type(1) { margin-top: 1.5rem; }
  .mobile-cta-item .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 720px) {
  html { font-size: 100%; }
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.8rem; }

  .stats-grid,
  .card-grid, .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4,
  .team-grid,
  .testimonial-grid,
  .product-grid,
  .involve-grid,
  .quote-card-grid,
  .photo-grid, .photo-grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .pull-quote-text { font-size: 1.5rem; }
  .form-row-group { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; text-align: left; }
  .event-date { justify-self: start; width: 90px; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-band { padding: 2.25rem 1.5rem; }
}
