/* ==========================================================================
   HAPPIER BODIES - DESIGN SYSTEM & STYLESHEET
   Clean, modern, elegant & fully responsive styling
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Theme Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette */
  --color-forest: #13443a;
  --color-forest-dark: #0e352d;
  --color-coral: #e26a63;
  --color-coral-hover: #cd544d;
  --color-coral-soft: #fdeee7;
  --color-coral-tint: rgba(226, 106, 99, 0.12);

  /* Pastels & Neutrals */
  --color-bg-page: #faf9f5;
  --color-card-mint-bg: #edf6ee;
  --color-card-mint-title: #144439;
  --color-card-blush-bg: #fdf0eb;
  --color-card-blush-title: #e26a63;
  --color-mission-bg: #e4efe5;
  --color-blob-peach: #fbeee7;
  --color-blob-mint: #e8f4ea;
  
  /* Text Colors */
  --color-text-main: #33443f;
  --color-text-muted: #5d6f69;
  --color-text-light: #ffffff;
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Layout & Spacing */
  --container-max-width: 1140px;
  --container-padding: 1.75rem;
  --section-spacing-y: clamp(2.75rem, 5vw, 4.25rem);
  
  /* Shadows & Transitions */
  --shadow-sm: 0 4px 14px rgba(19, 68, 58, 0.05);
  --shadow-md: 0 10px 28px rgba(19, 68, 58, 0.07);
  --shadow-coral: 0 6px 20px rgba(226, 106, 99, 0.25);
  --radius-pill: 9999px;
  --radius-card: 20px;
  --radius-mission: 28px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-page);
  line-height: 1.62;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section {
  scroll-margin-top: 100px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Typography & Utility Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 3.8vw, 3.15rem);
  font-weight: 700;
  color: var(--color-forest);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.accent-serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--color-coral);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 0.8rem 2.15rem;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-outline {
  color: var(--color-coral);
  border: 1.75px solid var(--color-coral);
  background-color: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--color-coral);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
}

.btn-filled {
  background-color: var(--color-coral);
  color: var(--color-text-light);
  border: 1.75px solid var(--color-coral);
  box-shadow: 0 4px 14px rgba(226, 106, 99, 0.22);
}

.btn-filled:hover,
.btn-filled:focus-visible {
  background-color: var(--color-coral-hover);
  border-color: var(--color-coral-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-coral);
}

/* --------------------------------------------------------------------------
   5. Site Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(250, 249, 245, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(19, 68, 58, 0.05);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: 0 4px 16px rgba(19, 68, 58, 0.04);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--color-forest);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-coral);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-coral);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: 6px;
  color: var(--color-forest);
}

.hamburger-line {
  width: 24px;
  height: 2.5px;
  background-color: var(--color-forest);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0.2);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background-color: var(--color-bg-page);
  border-top: 1px solid rgba(19, 68, 58, 0.08);
  padding: 1.25rem var(--container-padding);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-forest);
  display: block;
  padding: 0.4rem 0;
}

.mobile-nav-link:hover {
  color: var(--color-coral);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4.5vw, 4rem);
  overflow: hidden;
}

.hero-bg-blob-right {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50vw;
  max-width: 680px;
  height: 120%;
  background: radial-gradient(circle at 60% 40%, rgba(251, 238, 231, 0.85) 0%, rgba(250, 249, 245, 0) 70%);
  border-radius: 50% 40% 60% 50% / 40% 50% 50% 60%;
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 4.8vw, 4.25rem);
  font-weight: 700;
  color: var(--color-forest);
  line-height: 1.12;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.hero-title .accent-serif-italic {
  display: inline-block;
  color: var(--color-coral);
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: var(--color-forest);
  font-weight: 500;
  margin-bottom: 1.75rem;
  line-height: 1.4;
}

.hero-cta-wrapper {
  margin-top: 0.25rem;
}

/* Hero Media */
.hero-media {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-shape-backdrop {
  position: absolute;
  top: -4%;
  right: -4%;
  width: 106%;
  height: 106%;
  background: linear-gradient(135deg, #fceee7 0%, #fae0d3 100%);
  border-radius: 50px 160px 60px 130px;
  z-index: 1;
  pointer-events: none;
}

.hero-image-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  border-radius: 38px 140px 48px 120px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 4.6;
  background-color: var(--color-card-blush-bg);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-frame:hover .hero-img {
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   7. What We Do Section
   -------------------------------------------------------------------------- */
.what-we-do-section {
  position: relative;
  padding-top: var(--section-spacing-y);
  padding-bottom: var(--section-spacing-y);
}

.what-we-do-container {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.75rem);
}

.what-we-do-media-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.what-we-do-content-col {
  display: flex;
  flex-direction: column;
}

.section-heading-block {
  margin-bottom: 1.75rem;
}

.section-intro {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--color-forest);
  margin-top: 0.75rem;
  line-height: 1.55;
  max-width: 520px;
}

/* Grid of Exactly Two Cards */
.cards-grid-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.card-mint {
  background-color: var(--color-card-mint-bg);
}

.card-blush {
  background-color: var(--color-card-blush-bg);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.title-green {
  color: var(--color-card-mint-title);
}

.title-coral {
  color: var(--color-card-blush-title);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.55;
}

/* Media Framing */
.media-shape-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.shape-backdrop {
  position: absolute;
  top: -3%;
  right: -3%;
  width: 105%;
  height: 105%;
  z-index: 1;
  pointer-events: none;
}

.mint-backdrop {
  background: linear-gradient(135deg, #e8f4ea 0%, #d5e9d6 100%);
  border-radius: 40px 96px 40px 84px;
}

.blush-backdrop {
  background: linear-gradient(135deg, #fbeee7 0%, #f7ded3 100%);
  border-radius: 54px 38px 100px 38px;
}

.mint-backdrop-large {
  background: linear-gradient(135deg, #e7f3e9 0%, #d4e8d7 100%);
  border-radius: 40px 100px 40px 90px;
}

.media-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.what-we-do-frame {
  border-radius: 34px 84px 34px 74px;
  aspect-ratio: 4 / 3.3;
  max-width: 480px;
}

.section-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.media-frame:hover .section-img {
  transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   8. Our Mission Section (Heroic, Compact Sage Treatment, No Photo)
   -------------------------------------------------------------------------- */
.mission-section {
  position: relative;
  background-color: var(--color-mission-bg);
  padding-top: clamp(3.25rem, 6vw, 4.75rem);
  padding-bottom: clamp(3.25rem, 6vw, 4.75rem);
  overflow: hidden;
}

.mission-bg-left {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 40vw;
  height: 140%;
  background: radial-gradient(circle, rgba(251, 238, 231, 0.5) 0%, rgba(228, 239, 229, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mission-bg-right {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 45vw;
  height: 140%;
  background: radial-gradient(circle, rgba(254, 240, 235, 0.55) 0%, rgba(228, 239, 229, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mission-container {
  position: relative;
  z-index: 2;
  max-width: 920px;
  text-align: center;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.mission-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mission-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 1.35rem;
  letter-spacing: -0.015em;
}

.mission-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-forest-dark);
  max-width: 820px;
  margin: 0 auto;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.mission-leaf-icon {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   9. Meet Our Founder Section (Enlarged Photo, Vertically Centered on Desktop)
   -------------------------------------------------------------------------- */
.founder-section {
  position: relative;
  padding-top: var(--section-spacing-y);
  padding-bottom: var(--section-spacing-y);
}

.founder-container {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  align-items: stretch;
  gap: clamp(2rem, 4vw, 3.75rem);
}

/* Founder Headers */
.founder-header-mobile {
  display: none;
}

.founder-header-desktop {
  display: block;
  margin-bottom: 1.35rem;
}

.founder-credential {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 600;
  color: var(--color-coral);
  margin-top: 0.35rem;
}

/* Left Column: Enlarged & Vertically Centered Image */
.founder-media-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.founder-media-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 100%;
  min-height: 520px;
  display: flex;
}

.founder-frame {
  border-radius: 40px 32px 88px 32px;
  width: 100%;
  height: 100%;
  min-height: 520px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

/* Right Column: Biography Content */
.founder-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-bio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.founder-bio p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text-main);
}

/* --------------------------------------------------------------------------
   10. Building Healthy Habits Together Section
   -------------------------------------------------------------------------- */
.partnership-section {
  position: relative;
  padding-top: var(--section-spacing-y);
  padding-bottom: var(--section-spacing-y);
}

.partnership-container {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.75rem);
}

.partnership-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.partnership-title {
  margin-bottom: 1rem;
}

.partnership-intro {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--color-forest);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.partnership-highlight-box {
  background-color: var(--color-card-mint-bg);
  border-left: 3.5px solid var(--color-forest);
  padding: 1.1rem 1.35rem;
  border-radius: 0 14px 14px 0;
  margin-bottom: 1.75rem;
}

.highlight-lead {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.highlight-sub {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.5;
}

.partnership-cta-wrapper {
  margin-top: 0.25rem;
}

.partnership-frame {
  border-radius: 34px 84px 34px 74px;
  aspect-ratio: 4 / 3.2;
  max-width: 480px;
}

/* --------------------------------------------------------------------------
   11. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background-color: #f5faf6;
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: 2rem;
  overflow: hidden;
  border-top: 1px solid rgba(19, 68, 58, 0.06);
}

.footer-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-tagline-top {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-style: italic;
  font-weight: 500;
  color: var(--color-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.dot-separator {
  color: var(--color-coral);
  font-style: normal;
}

.footer-logo-wrapper {
  margin-bottom: 1.25rem;
}

.footer-logo {
  height: 74px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.footer-logo:hover {
  transform: scale(1.03);
}

.footer-tagline-bottom {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  color: var(--color-forest);
  max-width: 600px;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

.footer-meta {
  width: 100%;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(19, 68, 58, 0.08);
}

.copyright {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   12. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet & Smaller Desktop (Max 1024px) */
@media (max-width: 1024px) {
  :root {
    --section-spacing-y: 3rem;
  }

  /* Grid layouts collapse into single column */
  .hero-container,
  .what-we-do-container,
  .founder-container,
  .partnership-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Centered Titles & Content in Tablet / Mobile */
  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .hero-media {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  /* What We Do */
  .section-heading-block {
    text-align: center;
  }

  .section-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .what-we-do-content-col {
    order: 1;
  }
  
  .what-we-do-media-col {
    order: 2;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  /* Founder section responsive hierarchy */
  .founder-header-desktop {
    display: none;
  }

  .founder-header-mobile {
    display: block;
    text-align: center;
    order: 1;
    margin-bottom: 1.25rem;
  }

  .founder-media-col {
    order: 2;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: auto;
  }

  .founder-media-wrapper {
    height: auto;
    min-height: unset;
  }

  .founder-frame {
    height: auto;
    min-height: unset;
    aspect-ratio: 4 / 3.4;
  }

  .founder-content-col {
    order: 3;
    width: 100%;
  }

  /* Habits Section */
  .partnership-content-col {
    order: 1;
    align-items: center;
    text-align: center;
  }

  .partnership-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .partnership-highlight-box {
    text-align: left;
  }

  .partnership-cta-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .partnership-media-col {
    order: 2;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
  :root {
    --container-padding: 1.5rem;
    --section-spacing-y: 2.25rem;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Compact Hero for Mobile */
  .hero-section {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.35rem;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
  }

  .hero-media {
    max-width: 300px;
  }

  .hero-image-frame {
    aspect-ratio: 4 / 4.2;
    border-radius: 30px 100px 38px 90px;
  }

  .hero-shape-backdrop {
    border-radius: 40px 120px 50px 100px;
  }

  /* What We Do */
  .cards-grid-two {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.4rem 1.25rem;
  }

  /* Mission Section */
  .mission-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .mission-statement {
    font-size: 1.15rem;
    line-height: 1.65;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Founder Section in Mobile */
  .founder-media-col {
    max-width: 320px;
  }

  .founder-frame {
    border-radius: 30px 24px 64px 24px;
    aspect-ratio: 4 / 3.2;
  }

  .founder-bio {
    gap: 0.85rem;
  }

  .founder-bio p {
    font-size: 0.95rem;
  }

  /* Habits Section in Mobile */
  .partnership-highlight-box {
    padding: 1rem 1.15rem;
    margin-bottom: 1.35rem;
  }

  .partnership-media-col {
    max-width: 320px;
  }

  /* Footer */
  .footer-tagline-top {
    font-size: 1.15rem;
    gap: 0.5rem;
  }
}

/* Small Mobile (Max 480px) */
@media (max-width: 480px) {
  :root {
    --container-padding: 1.35rem;
    --section-spacing-y: 2rem;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .brand-logo img {
    height: 50px;
  }

  .footer-logo {
    height: 62px;
  }

  .btn {
    width: 100%;
    padding: 0.75rem 1.25rem;
  }

  .mission-statement {
    font-size: 1.05rem;
    line-height: 1.6;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .hero-media,
  .what-we-do-media-col,
  .founder-media-col,
  .partnership-media-col {
    max-width: 280px;
  }
}

/* ==========================================================================
   CONTACT MODAL STYLES (Accessible, Responsive, Brand Consistent)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(14, 53, 45, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  margin: auto;
}

.modal-card {
  position: relative;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 2.4rem 2.25rem 2rem;
  box-shadow: 0 24px 60px rgba(19, 68, 58, 0.18), 0 4px 16px rgba(19, 68, 58, 0.08);
  border: 1px solid rgba(19, 68, 58, 0.08);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(19, 68, 58, 0.2) transparent;
}

.modal-overlay.is-active .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Close button */
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(19, 68, 58, 0.05);
  color: var(--color-forest);
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-close-btn:hover,
.modal-close-btn:focus-visible {
  background-color: var(--color-coral-soft);
  color: var(--color-coral);
  transform: rotate(90deg) scale(1.05);
}

/* Modal Header */
.modal-header {
  margin-bottom: 1.5rem;
  padding-right: 2.5rem; /* space for close button */
}

.modal-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background-color: var(--color-card-mint-bg);
  color: var(--color-forest);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(19, 68, 58, 0.08);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-coral);
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: var(--color-forest);
  line-height: 1.15;
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Form Layout */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-forest);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.required-mark {
  color: var(--color-coral);
  font-weight: 700;
}

.label-optional {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.form-input {
  width: 100%;
  padding: 0.78rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-main);
  background-color: #faf9f5;
  border: 1.5px solid rgba(19, 68, 58, 0.16);
  border-radius: 12px;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input::placeholder {
  color: #9aa8a3;
  font-size: 0.9rem;
}

.form-input:hover {
  border-color: rgba(19, 68, 58, 0.3);
  background-color: #ffffff;
}

.form-input:focus {
  background-color: #ffffff;
  border-color: var(--color-coral);
  box-shadow: 0 0 0 3.5px rgba(226, 106, 99, 0.16);
}

.form-input.is-invalid {
  border-color: #d93838;
  background-color: #fff8f8;
}

.form-input.is-invalid:focus {
  box-shadow: 0 0 0 3.5px rgba(217, 56, 56, 0.16);
}

.field-error {
  display: block;
  font-size: 0.8rem;
  color: #c92a2a;
  margin-top: 0.3rem;
  min-height: 1.1rem;
  line-height: 1.2;
}

.form-textarea {
  resize: vertical;
  min-height: 96px;
  max-height: 220px;
}

/* Custom Select */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.select-chevron {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-forest);
  opacity: 0.7;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.form-select:focus + .select-chevron {
  color: var(--color-coral);
  opacity: 1;
}

/* Modal Actions */
.modal-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0.35rem;
}

.modal-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 2.25rem;
  font-size: 1.02rem;
  cursor: pointer;
}

.submit-btn-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.modal-submit-btn:hover .submit-btn-icon {
  transform: translateX(3px) translateY(-1px);
}

/* Form Status Alerts */
.form-status-alert {
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
  animation: fadeInStatus 0.3s ease;
}

@keyframes fadeInStatus {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-status-alert.is-success {
  background-color: #e9f6ec;
  border: 1px solid #b7e4bf;
  color: #125529;
}

.form-status-alert.is-error {
  background-color: #fdf0f0;
  border: 1px solid #f6caca;
  color: #9d2020;
}

/* Responsive Overrides for Modal */
@media (max-width: 680px) {
  .modal-overlay {
    padding: 0.75rem;
    align-items: flex-end; /* Sheet-like on mobile or center */
  }

  @media (min-height: 600px) {
    .modal-overlay {
      align-items: center;
    }
  }

  .modal-card {
    padding: 1.85rem 1.25rem 1.5rem;
    border-radius: 20px;
    max-height: calc(100vh - 1.5rem);
  }

  .modal-close-btn {
    top: 0.9rem;
    right: 0.9rem;
    width: 38px;
    height: 38px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modal-header {
    margin-bottom: 1.25rem;
  }

  .modal-footer-actions {
    justify-content: stretch;
  }

  .modal-submit-btn {
    width: 100%;
  }
}