/* ===========================
   Soror Impact — Stylesheet
   Modern redesign with Fraunces + DM Sans,
   GSAP-driven animations, rounded cards, glassmorphism nav
   =========================== */

/* --- CSS Variables --- */
:root {
  /* Core palette */
  --pink: #DD216F;
  --yellow: #FFDC45;
  --page-bg: #F2A7A7;
  --dark-gray: #414141;
  --light-gray: #E8E6E6;
  --cream: #FDFFED;
  --light-pink: #FFE6E6;
  --olive: #495B44;
  --olive-light: #6B7D66;
  --coral: #F46569;
  --white: #FFFFFF;
  --medium-gray: #999997;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Fluid type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.8125rem, 0.77rem + 0.2vw, 0.9375rem);
  --text-base: clamp(0.9375rem, 0.875rem + 0.3vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.1rem + 1.3vw, 2rem);
  --text-2xl: clamp(1.75rem, 1.3rem + 2.2vw, 3rem);
  --text-3xl: clamp(2.25rem, 1.5rem + 3.5vw, 4.5rem);
  --text-hero: clamp(2.75rem, 1.5rem + 6vw, 5.5rem);

  /* Layout */
  --site-width: 1080px;
  --header-height: 90px;
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container-pad: clamp(1.5rem, 5vw, 6rem);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  color: var(--olive);
  line-height: 1.65;
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--pink);
  color: var(--cream);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-sm);
  z-index: 2000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* --- Focus States --- */
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  transition: all 0.4s var(--ease-smooth);
  will-change: transform;
}

.btn svg {
  transition: transform 0.3s var(--ease-out-back);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ===========================
   Header / Navigation
   =========================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}

#header.scrolled {
  background: rgba(253, 255, 237, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(73, 91, 68, 0.06);
}

#header.nav-hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-svg {
  width: 28px;
  height: 32px;
  fill: var(--pink);
  transition: fill 0.4s ease;
}

.logo-mark:hover .logo-svg {
  fill: var(--olive);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--pink);
  transition: color 0.4s ease;
  line-height: 1;
  letter-spacing: -0.02em;
}

.logo-text:hover {
  color: var(--olive);
}

#main-nav ul {
  display: flex;
  gap: 2rem;
}

#main-nav a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--olive);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding: 8px 0;
  position: relative;
}

#main-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.3s var(--ease-out-expo);
}

#main-nav a:hover::after,
#main-nav a.active::after {
  width: 100%;
}

#main-nav a:hover,
#main-nav a.active {
  color: var(--pink);
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--olive);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.menu-toggle.active span { background: var(--cream); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* Full-Screen Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--olive);
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--cream);
  padding: 0.5rem 0;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out-expo), opacity 0.5s ease, color 0.3s ease;
}

.mobile-menu.active a { transform: translateY(0); opacity: 1; }
.mobile-menu.active a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(6) { transition-delay: 0.3s; }

.mobile-menu a:hover { color: var(--yellow); }

/* ===========================
   Section Headings (shared)
   =========================== */
.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-heading--olive { color: var(--olive); }
.section-heading--pink { color: var(--pink); }
.section-heading--center { text-align: center; }

.section-intro {
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--olive-light);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-intro--dark { color: var(--dark-gray); }
.section-intro--center { text-align: center; margin-inline: auto; }

.section-cta-wrap {
  text-align: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  background: var(--yellow);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: clamp(300px, 50vw, 700px);
  height: clamp(300px, 50vw, 700px);
  background: radial-gradient(ellipse, rgba(221, 33, 111, 0.12) 0%, transparent 70%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.hero-content {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) var(--container-pad);
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  color: var(--pink);
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

/* Word-by-word reveal containers */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.2em;
}

.word > span {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.word.accent {
  font-style: italic;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--olive);
  line-height: 1.6;
  max-width: 48ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  opacity: 0;
  transform: translateY(20px);
}

.btn-hero {
  color: var(--pink);
  border-color: var(--pink);
  opacity: 0;
  transform: translateY(20px);
}

.btn-hero:hover {
  background: var(--pink);
  color: var(--cream);
  border-color: var(--pink);
}

/* ===========================
   Partners Section
   =========================== */
.partners {
  background: var(--dark-gray);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.partners-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.partners-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0.6;
}

.partners-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 1rem;
}

.partner-logo {
  flex: 0 0 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.partner-logo img {
  width: 130px;
  height: auto;
  max-height: 130px;
  object-fit: contain;
  border-radius: var(--radius-md);
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ===========================
   Services Section
   =========================== */
.services {
  background: var(--pink);
  padding: var(--section-pad) 0;
  position: relative;
}

.services-inner {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.services .section-heading {
  color: var(--cream);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.service-card {
  background: rgba(253, 255, 237, 0.1);
  border: 1px solid rgba(253, 255, 237, 0.15);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: transform 0.5s var(--ease-out-expo),
              background 0.4s ease,
              box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  background: rgba(253, 255, 237, 0.18);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-bar {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  transition: width 0.4s var(--ease-out-expo);
}

.service-card:hover .card-bar {
  width: 64px;
}

.service-card[data-accent="light-pink"] .card-bar { background: var(--light-pink); }
.service-card[data-accent="yellow"] .card-bar { background: var(--yellow); }
.service-card[data-accent="coral"] .card-bar { background: var(--coral); }
.service-card[data-accent="cream"] .card-bar { background: var(--cream); }

.service-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.6;
  opacity: 0.85;
}

.btn-services {
  color: var(--cream);
  border-color: var(--cream);
}

.btn-services:hover {
  background: var(--cream);
  color: var(--pink);
  border-color: var(--cream);
}

/* ===========================
   Impact Stats
   =========================== */
.impact-stats {
  background: var(--olive);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--yellow);
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--cream);
  margin-top: 0.75rem;
  line-height: 1.4;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===========================
   Who We Are
   =========================== */
.who-we-are {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.who-content {
  max-width: 680px;
}

.who-content p {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.who-content p strong {
  font-weight: 700;
  color: var(--olive);
}

/* ===========================
   Purpose Section
   =========================== */
.purpose {
  background: var(--light-gray);
  padding: var(--section-pad) 0;
  position: relative;
}

.purpose-content {
  max-width: 680px;
  margin: 0 auto;
}

.purpose-content p {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.purpose-content p strong {
  font-weight: 700;
  color: var(--olive);
}

.purpose-content ul {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.purpose-content ul li {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--dark-gray);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.purpose-content ul li strong {
  font-weight: 700;
  color: var(--olive);
}

/* Commitments */
.commitments {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(73, 91, 68, 0.12);
}

.commitments h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--olive);
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
}

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

.commitment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  border: 1px solid rgba(73, 91, 68, 0.08);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.commitment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(73, 91, 68, 0.08);
}

.commitment-icon {
  color: var(--olive);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.commitment-card p {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--dark-gray);
  line-height: 1.5;
}

.btn-purpose {
  color: var(--olive);
  border-color: var(--olive);
}

.btn-purpose:hover {
  background: var(--olive);
  color: var(--cream);
  border-color: var(--olive);
}

/* ===========================
   Case Studies
   =========================== */
.case-studies {
  background: var(--cream);
  padding: var(--section-pad) 0;
}

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

.case-card {
  background: var(--white);
  border: 1px solid rgba(73, 91, 68, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(73, 91, 68, 0.1);
}

.case-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--cream);
  background: var(--olive);
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.case-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--olive);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.case-card p {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--dark-gray);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.case-footer {
  border-top: 1px solid rgba(73, 91, 68, 0.1);
  padding-top: 1rem;
}

.case-focus {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===========================
   Team Section
   =========================== */
.team {
  background: var(--page-bg);
  padding: var(--section-pad) 0;
}

.team-divider {
  width: 40px;
  height: 3px;
  background: var(--pink);
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 2px;
}

.team-intro {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--dark-gray);
  text-align: center;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
  justify-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.team-member {
  width: 100%;
  text-align: center;
}

.member-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin: 0 auto clamp(0.75rem, 1.5vw, 1.25rem);
  border-radius: var(--radius-xl);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.team-member:hover .member-photo img {
  transform: scale(1.05);
}

.team-member h4 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}

.team-member p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--medium-gray);
  line-height: 1.4;
}

/* ===========================
   Insights Section
   =========================== */
.insights {
  background: var(--light-gray);
  padding: var(--section-pad) 0;
  position: relative;
}

.insights .section-heading {
  color: var(--dark-gray);
}

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

.insight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-bottom: 4px solid var(--olive);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.insight-tag {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.insight-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--dark-gray);
  line-height: 1.3;
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.insight-card p {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--dark-gray);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.insight-cta {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--pink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s var(--ease-out-expo), color 0.3s ease;
}

.insight-card:hover .insight-cta {
  color: var(--olive);
  gap: 0.75rem;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--dark-gray);
  background: var(--cream);
  border: 2px solid rgba(73, 91, 68, 0.15);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23495B44' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(221, 33, 111, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Validation states */
.form-group input:user-invalid,
.form-group textarea:user-invalid,
.form-group select:user-invalid {
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(244, 101, 105, 0.1);
}

.form-error {
  display: block;
  font-size: var(--text-xs);
  color: var(--coral);
  margin-top: 0.375rem;
  min-height: 1.25rem;
}

.btn-contact {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--pink);
  color: var(--cream);
  border-color: var(--pink);
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.btn-contact:hover {
  background: var(--olive);
  border-color: var(--olive);
}

/* ===========================
   Social Link (Fixed)
   =========================== */
.social-link {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--pink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s var(--ease-out-back), box-shadow 0.3s ease;
}

.social-link:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Footer
   =========================== */
#footer {
  background: var(--olive);
  color: var(--cream);
}

/* CTA Band */
.footer-cta {
  padding: clamp(4rem, 8vw, 7rem) var(--container-pad);
  text-align: center;
  max-width: var(--site-width);
  margin: 0 auto;
  border-bottom: 1px solid rgba(253, 255, 237, 0.1);
}

.footer-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 20ch;
  margin-inline: auto;
}

.footer-cta h2 span {
  color: var(--yellow);
}

.btn-footer-cta {
  background: var(--yellow);
  color: var(--olive);
  border-color: var(--yellow);
  border-radius: 100px;
  padding: 1rem 2.5rem;
  font-size: var(--text-base);
}

.btn-footer-cta:hover {
  background: var(--cream);
  border-color: var(--cream);
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(255, 220, 69, 0.25);
}

/* Nav Grid */
.footer-nav {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--container-pad);
  border-bottom: 1px solid rgba(253, 255, 237, 0.08);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--yellow);
  display: block;
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}

.footer-brand-col p {
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--cream);
  opacity: 0.6;
  line-height: 1.6;
  max-width: 28ch;
}

.footer-nav-col h5 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.footer-nav-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--cream);
  padding: 0.3rem 0;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-nav-col a:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 1.25rem var(--container-pad);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--cream);
  opacity: 0.35;
}

.footer-green {
  font-style: italic;
  max-width: 360px;
  text-align: right;
}

/* ===========================
   Grain Texture Overlay
   =========================== */
.grain-texture {
  position: relative;
}

.grain-texture::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

.grain-texture > * {
  position: relative;
  z-index: 1;
}

/* ===========================
   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;
  }

  .word > span {
    transform: none !important;
  }

  .hero-subtitle,
  .btn-hero {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-blob {
    animation: none;
  }
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .cases-grid .case-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .commitments-grid {
    gap: 1rem;
  }

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

  .insights-grid .insight-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

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

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

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .menu-toggle {
    display: flex;
  }

  #main-nav {
    display: none;
  }

  .hero {
    min-height: 85vh;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .cases-grid .case-card:last-child {
    max-width: 100%;
    grid-column: auto;
  }

  .commitments-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insights-grid .insight-card:last-child {
    max-width: 100%;
    grid-column: auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .member-photo {
    max-width: 260px;
  }

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

  .partner-logo {
    flex: 0 0 33.33%;
  }

  .partner-logo img {
    width: 100px;
    height: auto;
    max-height: 100px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-green {
    text-align: center;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .partner-logo img {
    width: 80px;
    height: auto;
    max-height: 80px;
  }

  .stats-grid {
    gap: 1rem;
  }

  .partner-logo {
    flex: 0 0 50%;
  }
}
