/* =============================================
   MAGNOLIA STRATEGY GROUP - Shared Styles
   Multi-page pharmacy cohort site
   ============================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #F0EADB;
  --cream-deep: #E5DCC8;
  --bone: #F7F2E9;
  --inkwell: #1A1612;
  --inkwell-soft: #4A3F38;
  --inkwell-mute: #7A6F65;
  --soulangeana: #2B7A78;
  --rule: rgba(26, 22, 18, 0.18);
  --rule-strong: rgba(26, 22, 18, 0.35);

  --serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;

  --max: 1080px;
  --prose: 680px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--cream);
  color: var(--inkwell);
}

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

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

/* =============================================
   NAVIGATION (shared across all pages)
   ============================================= */
.page-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(244, 239, 229, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--rule);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--inkwell);
  font-weight: 500;
}
.nav-brand svg { color: var(--inkwell); flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-links a {
  color: var(--inkwell-soft);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--soulangeana); }
.nav-links a.active { color: var(--soulangeana); font-weight: 500; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--soulangeana);
}
.nav-cta {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--soulangeana);
  border: 1.5px solid var(--soulangeana);
  padding: 9px 22px;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--soulangeana);
  color: var(--cream);
}

/* Hamburger toggle - hidden on desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--inkwell);
  padding: 6px;
  flex-shrink: 0;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

/* =============================================
   FULL-VIEWPORT HERO (image background + overlay)
   ============================================= */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 32px 60px;
  overflow: hidden;
}
.page-hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  will-change: transform;
}
.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18,32,32,0.88) 0%, rgba(26,22,18,0.4) 50%, rgba(26,22,18,0.05) 100%);
  z-index: 1;
}
.page-hero .content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  color: #fff;
}

/* =============================================
   SPLIT LAYOUT (image left / text right)
   ============================================= */
.split-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.split-image {
  position: relative;
  overflow: hidden;
}
.split-image .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  will-change: transform;
}
.split-image .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,22,18,0.5) 0%, rgba(26,22,18,0.15) 100%);
  z-index: 1;
}
.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 60px;
  background: var(--cream);
}

/* =============================================
   FULL-PAGE LAYOUT (image fills entire page, content overlaid)
   ============================================= */
.full-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 32px;
  overflow: hidden;
}
.full-page .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
  will-change: transform;
}
.full-page .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(26,22,18,0.7) 0%, rgba(26,22,18,0.25) 100%);
  z-index: 1;
}
.full-page .content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  color: #fff;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.hero-headline {
  font-family: var(--sans);
  font-size: clamp(38px, 5.5vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.hero-headline.serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
  font-weight: 400;
}
.hero-sub.dark {
  color: var(--inkwell-soft);
}
.hero-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--soulangeana);
  color: #fff;
  padding: 16px 44px;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}
.hero-btn:hover { opacity: 0.88; }
.hero-btn.outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.hero-btn.outline:hover {
  border-color: #fff;
  opacity: 1;
}
.hero-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--soulangeana);
  letter-spacing: 0.12em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

/* ============================================
   SECTION SPACING & BACKGROUND UTILITIES
   ============================================ */
.section {
  padding: 5rem 32px;
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.bg-deep {
  background: var(--cream-deep);
}
.bg-cream {
  background: var(--cream);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--inkwell-mute);
  margin-bottom: 16px;
  font-weight: 500;
}
.eyebrow.light { color: rgba(255,255,255,0.5); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--inkwell);
  margin-bottom: 32px;
  max-width: 640px;
}
.section-title.light { color: #fff; }
.section-title.centered { text-align: center; margin-left: auto; margin-right: auto; }

/* =============================================
   ICON-LED CARDS (used on solution, journey)
   ============================================= */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.cards-row.four { grid-template-columns: repeat(4, 1fr); }
.card {
  background: rgba(244, 239, 229, 0.92);
  backdrop-filter: blur(4px);
  padding: 40px 30px 36px;
  text-align: center;
  border-top: 3px solid var(--soulangeana);
  color: var(--inkwell);
}
.card .icon {
  color: var(--soulangeana);
  margin-bottom: 16px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--inkwell);
  margin-bottom: 8px;
}
.card p {
  font-size: 14px;
  color: var(--inkwell-soft);
  line-height: 1.6;
}

/* =============================================
   STEP STRIP
   ============================================= */
.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 780px;
  margin: 0 auto;
}
.step-item {
  flex: 1;
  background: rgba(244, 239, 229, 0.9);
  backdrop-filter: blur(4px);
  padding: 24px 16px;
  text-align: center;
  border: 0.5px solid var(--rule);
  color: var(--inkwell);
}
.step-item .icon { color: var(--soulangeana); margin-bottom: 10px; }
.step-item .num {
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
  color: var(--inkwell-mute);
  margin-bottom: 4px;
}
.step-item .label {
  font-size: 13px;
  font-weight: 500;
  color: var(--inkwell);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.step-arrow {
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

/* =============================================
   STAT GRID
   ============================================= */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  border-top: 0.5px solid rgba(255,255,255,0.2);
  border-bottom: 0.5px solid rgba(255,255,255,0.2);
}
.stat-cell {
  padding: 40px 32px;
  border-right: 0.5px solid rgba(255,255,255,0.2);
  border-bottom: 0.5px solid rgba(255,255,255,0.2);
  text-align: left;
}
.stat-cell:nth-child(2n) { border-right: none; }
.stat-cell:nth-last-child(-n+2) { border-bottom: none; }
.stat-num {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.stat-num .sup {
  font-size: 22px;
  vertical-align: super;
  margin-left: 2px;
  color: rgba(255,255,255,0.6);
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}

/* =============================================
   BENEFIT ROW
   ============================================= */
.benefits-row {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.benefit-item .bi { color: var(--soulangeana); }

/* =============================================
   PROBLEM SECTION (homepage)
   ============================================= */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.problem-card {
  background: var(--cream-deep);
  padding: 40px 30px 36px;
  border-top: 3px solid var(--soulangeana);
  color: var(--inkwell);
}
.problem-card .icon { color: var(--soulangeana); margin-bottom: 16px; }
.problem-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--inkwell);
  margin-bottom: 8px;
}
.problem-card p {
  font-size: 14px;
  color: var(--inkwell-soft);
  line-height: 1.6;
}

/* =============================================
   WHY PHARMACIES MATTER (full-bleed impact section)
   ============================================= */
.why-matters {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 32px;
  overflow: hidden;
  text-align: center;
}
.why-matters .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  will-change: transform;
}
.why-matters .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18,32,32,0.88) 0%, rgba(26,22,18,0.4) 50%, rgba(26,22,18,0.05) 100%);
  z-index: 1;
}
.why-matters .content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  color: #fff;
}

/* =============================================
   THE OFFER (support cards)
   ============================================= */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.support-card {
  background: var(--cream-deep);
  padding: 44px 36px;
  border-top: 3px solid var(--soulangeana);
}
.support-card .icon { color: var(--soulangeana); margin-bottom: 16px; }
.support-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--inkwell);
  margin-bottom: 10px;
}
.support-card p {
  font-size: 14.5px;
  color: var(--inkwell-soft);
  line-height: 1.65;
  margin-bottom: 16px;
}
.support-card ul { list-style: none; }
.support-card ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 0.5px solid var(--rule);
  font-size: 14px;
  color: var(--inkwell-soft);
  line-height: 1.55;
}
.support-card ul li:first-of-type { border-top: none; padding-top: 0; }
.support-card ul li .icon { color: var(--soulangeana); flex-shrink: 0; margin-top: 1px; margin-bottom: 0; }

/* =============================================
   PARTNER ENGAGEMENT SECTION
   ============================================= */
.partner-section {
  text-align: center;
  padding: 80px 32px;
  background: var(--cream-deep);
}
.partner-section .hero-btn.outline {
  background: transparent;
  color: var(--soulangeana);
  border: 1.5px solid var(--soulangeana);
}
.partner-section .hero-btn.outline:hover {
  background: var(--soulangeana);
  color: #fff;
}

/* =============================================
   FOOTER EXTENSIONS (legal, social, reg)
   ============================================= */
.footer-bottom {
  max-width: var(--max);
  margin: 24px auto 0;
  padding-top: 20px;
  border-top: 0.5px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-legal {
  display: flex;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--inkwell-mute);
  flex-wrap: wrap;
}
.footer-legal a { transition: color 0.2s; color: var(--inkwell-mute); }
.footer-legal a:hover { color: var(--soulangeana); }
.footer-legal .sep { color: var(--rule-strong); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.footer-reg {
	  font-size: 10px;
	  letter-spacing: 0.1em;
	  color: var(--inkwell-mute);
	  display: inline-flex;
	  align-items: center;
	  gap: 4px;
	}
	.footer-reg .reg-label {
	  text-transform: uppercase;
	  letter-spacing: 0.16em;
	}
	.footer-reg strong {
	  color: var(--inkwell-soft);
	  font-weight: 500;
	  letter-spacing: 0.04em;
	}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  color: var(--inkwell-mute);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: var(--soulangeana); }
.footer-copy {
	  font-size: 10px;
	  letter-spacing: 0.16em;
	  color: var(--inkwell-mute);
	  white-space: nowrap;
	}
	.footer-credit {
	  font-size: 9px;
	  letter-spacing: 0.1em;
	  color: var(--inkwell-mute);
	  opacity: 0.6;
	  transition: opacity 0.2s;
	}
	.footer-credit a {
	  color: inherit;
	  text-decoration: underline;
	  text-decoration-color: transparent;
	  transition: text-decoration-color 0.2s, color 0.2s;
	}
	.footer-credit a:hover {
	  color: var(--soulangeana);
	  text-decoration-color: var(--soulangeana);
	}

/* =============================================
   SOLUTION / OFFER PAGE
   ============================================= */
.capacity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 860px;
  margin: 0 auto;
}
.capacity-block {
  background: var(--cream-deep);
  padding: 44px 36px;
  border-top: 3px solid var(--soulangeana);
}
.capacity-block .icon { color: var(--soulangeana); margin-bottom: 16px; }
.capacity-block h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--inkwell);
  margin-bottom: 14px;
}
.capacity-block p {
  font-size: 15px;
  color: var(--inkwell-soft);
  line-height: 1.65;
  margin-bottom: 12px;
}
.capacity-block ul { list-style: none; }
.capacity-block ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-top: 0.5px solid var(--rule);
  font-size: 14px;
  color: var(--inkwell-soft);
  line-height: 1.55;
}
.capacity-block ul li:first-of-type { border-top: none; padding-top: 0; }
.capacity-block ul li .icon { color: var(--soulangeana); flex-shrink: 0; margin-top: 2px; margin-bottom: 0; }

.engagement-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 780px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.engagement-step {
  flex: 1;
  min-width: 130px;
  background: var(--cream-deep);
  padding: 28px 20px;
  text-align: center;
  border: 0.5px solid var(--rule);
}
.engagement-step .icon { color: var(--soulangeana); margin-bottom: 8px; }
.engagement-step .label {
  font-size: 12px;
  font-weight: 500;
  color: var(--inkwell);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.engagement-arrow {
  color: var(--inkwell-mute);
  flex-shrink: 0;
}

/* =============================================
   OFFER PAGE - HOW WE WORK
   ============================================= */
.offer-list {
  max-width: 680px;
  margin: 0 auto;
  list-style: none;
}
.offer-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 0.5px solid var(--rule);
  font-size: 15px;
  color: var(--inkwell-soft);
  line-height: 1.6;
}
.offer-list li:first-of-type { border-top: none; padding-top: 0; }
.offer-list li .num {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--soulangeana);
  flex-shrink: 0;
  width: 32px;
  text-align: right;
}

/* =============================================
   POLICY PAGES (numbered sections)
   ============================================= */
.policy-page {
  background: var(--cream);
  padding: 120px 32px 80px;
}
.policy-page .inner {
  max-width: var(--prose);
  margin: 0 auto;
}
.policy-page h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 400;
  line-height: 1.18;
  color: var(--inkwell);
  margin-bottom: 8px;
}
.policy-page .updated {
  font-size: 12px;
  color: var(--inkwell-mute);
  margin-bottom: 40px;
  letter-spacing: 0.06em;
}
.policy-page .section-block {
  margin-bottom: 36px;
  padding-left: 0;
}
.policy-page .section-block .num {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: var(--inkwell);
  display: block;
  margin-bottom: 10px;
}
.policy-page .section-block h2 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: var(--inkwell);
  margin-bottom: 12px;
}
.policy-page .section-block p {
  font-size: 15px;
  color: var(--inkwell-soft);
  line-height: 1.7;
  margin-bottom: 14px;
}
.policy-page .section-block p:last-child {
  margin-bottom: 0;
}
.policy-page .intro {
  font-size: 15px;
  color: var(--inkwell-soft);
  line-height: 1.7;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 0.5px solid var(--rule);
}
.policy-page .contact-block {
  margin-top: 8px;
  padding: 20px 24px;
  background: var(--cream-deep);
  border-top: 2px solid var(--soulangeana);
}
.policy-page .contact-block p {
  font-size: 15px;
  color: var(--inkwell-soft);
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .policy-page { padding: 80px 20px 50px; }
  .policy-page .section-block { margin-bottom: 28px; }
}

/* =============================================
   FOOTER
   ============================================= */
.page-footer {
  background: var(--cream);
  border-top: 0.5px solid var(--rule);
  padding: 64px 32px 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-left svg { color: var(--inkwell); }
.footer-brand {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--inkwell);
  font-weight: 500;
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--inkwell-soft);
}
.footer-right a { transition: color 0.2s; }
.footer-right a:hover { color: var(--soulangeana); }
.footer-right .dot {
  display: inline-block;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--inkwell-mute);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.reveal-fade.visible { opacity: 1; }
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.6s; }

/* =============================================
   PARALLAX(mobile fallback)
   ============================================= */
@supports not (background-attachment: fixed) {
  .page-hero .bg,
  .split-image .bg,
  .full-page .bg {
    background-attachment: scroll;
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* ---- Tablet & below ---- */
@media (max-width: 760px) {
  /* --- Navigation --- */
  .nav-inner { padding: 10px 20px; gap: 10px; }
  .nav-brand { font-size: 13px; letter-spacing: 0.28em; }
  .nav-brand svg { width: 12px; height: auto; }

  /* Show hamburger, hide desktop nav links */
  .nav-toggle { display: flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(240, 234, 219, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 8px 20px 20px;
    gap: 0;
    display: none;
    border-bottom: 0.5px solid var(--rule);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 16px 0;
    font-size: 14px;
    letter-spacing: 0.18em;
    border-top: 0.5px solid var(--rule);
  }
  .nav-links a:first-of-type { border-top: none; }
  .nav-links a.active::after { display: none; }
  .nav-cta { font-size: 11px; padding: 10px 18px; min-height: 42px; display: inline-flex; align-items: center; }

  /* --- Hero --- */
  .page-hero { padding: 80px 20px 50px; min-height: 92vh; }
  .hero-headline { font-size: clamp(30px, 7vw, 42px); }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-btn { padding: 14px 32px; min-height: 48px; display: inline-flex; align-items: center; }

  /* --- Layouts --- */
  .split-page { grid-template-columns: 1fr; min-height: auto; }
  .split-image { min-height: 36vh; }
  .split-content { padding: 50px 24px; }
  .full-page { padding: 80px 20px 50px; }

  /* --- Sections --- */
  .section { padding: 60px 20px; }
  .section-title { font-size: clamp(24px, 5.5vw, 32px); margin-bottom: 24px; }
  .eyebrow { font-size: 10px; margin-bottom: 12px; }

  /* --- Cards --- */
  .cards-row { grid-template-columns: 1fr; gap: 16px; }
  .cards-row.four { grid-template-columns: 1fr 1fr; }
  .card { padding: 32px 24px 28px; }

  /* --- Steps / flow --- */
  .steps-row { flex-direction: column; gap: 4px; }
  .step-arrow { transform: rotate(90deg); }
  .step-item { padding: 18px 14px; }

  /* --- Stats --- */
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat-cell { padding: 28px 22px; }
  .stat-num { font-size: 40px; }

  /* --- Benefits --- */
  .benefits-row { flex-direction: column; align-items: center; gap: 14px; }

  /* --- Problem cards --- */
  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .problem-card { padding: 32px 24px 28px; }

  /* --- Why matters --- */
  .why-matters { min-height: 60vh; padding: 80px 20px 50px; }

  /* --- Support cards --- */
  .support-grid { grid-template-columns: 1fr; gap: 20px; }
  .support-card { padding: 32px 24px; }

  /* --- Partner section --- */
  .partner-section { padding: 60px 20px; }

  /* --- Footer extensions --- */
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-meta { justify-content: center; }
  .footer-copy { white-space: normal; }

  /* --- Footer --- */
  .page-footer { padding: 32px 20px 28px; }
  .footer-inner { flex-direction: column; text-align: center; align-items: flex-start; gap: 14px; }
  .footer-right { gap: 14px; font-size: 10px; flex-wrap: wrap; }
  .footer-right .dot { display: none; }

  /* --- Inline home styles --- */
  .home-intro .inner { grid-template-columns: 1fr; gap: 32px; }
  .audience-row { grid-template-columns: 1fr; }
  .audience-card { padding: 32px 24px; }

  /* --- About page --- */
  .content-grid { grid-template-columns: 1fr; gap: 36px; }
  .pilot-box { padding: 28px 22px; }

  /* --- Solution page --- */
  .channels { grid-template-columns: 1fr; gap: 20px; }
  .channel-card { padding: 32px 24px; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 32px 24px; }
  .flow-row { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .flow-step { min-width: auto; }
  .capacity-grid { grid-template-columns: 1fr; gap: 24px; }
  .capacity-block { padding: 32px 24px; }
  .engagement-flow { flex-direction: column; }
  .engagement-arrow { transform: rotate(90deg); }
  .engagement-step { min-width: auto; }

  /* --- Contact page --- */
  .contact-cards { grid-template-columns: 1fr; gap: 20px; }
  .contact-card { padding: 32px 24px; }
  .contact-card .email-large { font-size: 18px; }
  .form-section { padding: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 14px;
    font-size: 16px; /* prevents iOS zoom on focus */
    min-height: 48px;
  }
  .form-group textarea { min-height: 120px; }
  .form-submit button { width: 100%; padding: 16px 20px; min-height: 52px; }
  .form-note { font-size: 12px; }
}

/* ---- Small phone ---- */
@media (max-width: 480px) {
  .nav-inner { padding: 8px 16px; }
  .nav-links { padding: 4px 16px 16px; }
  .nav-links a { padding: 14px 0; font-size: 13px; }
  .nav-cta { font-size: 10px; padding: 8px 14px; min-height: 38px; }

  .page-hero { padding: 70px 16px 40px; min-height: 85vh; }
  .hero-headline { font-size: clamp(26px, 8vw, 34px); }
  .hero-btn { font-size: 13px; padding: 12px 24px; min-height: 44px; }
  .hero-note { font-size: 11px; }

  .section { padding: 48px 16px; }
  .section-title { font-size: clamp(22px, 6vw, 28px); }
  .cards-row.four { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-cell { border-right: none !important; }
  .stat-cell:nth-last-child(-n+2) { border-bottom: 0.5px solid rgba(255,255,255,0.2); }
  .stat-cell:last-child { border-bottom: none; }
  .stat-num { font-size: 36px; }

  .home-intro { padding: 48px 16px; }
  .home-intro p { font-size: 15px; }

  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; min-height: 44px; }
  .form-group textarea { min-height: 100px; }
  .form-submit button { min-height: 48px; font-size: 13px; }
}

/* ---- Parallax on mobile ---- */
@media (max-width: 760px) {
  .page-hero .bg,
  .split-image .bg,
  .full-page .bg {
    background-attachment: scroll;
  }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-fade, .reveal-scale { opacity: 1; transform: none; transition: none; }
  .page-hero .bg, .split-image .bg, .full-page .bg { background-attachment: scroll; }
  .page-hero .bg, .why-matters .bg-img { transform: none !important; }
}
