/* ============================================================
   JME Group — v2 Dramatic Typography
   Cool palette · Editorial layouts · Scroll-driven design
   ============================================================ */

:root {
  /* ── Cool palette ── */
  --teal:         #5A8F8F;
  --teal-dark:    #3D7A7A;
  --teal-darker:  #2D5F5F;
  --teal-deep:    #1A4545;
  --teal-light:   #8FB5B5;
  --teal-pale:    #C2D9D9;
  --sage:         #E8F0EE;
  --sage-dark:    #D1E0DC;
  --offwhite:     #F5F9F8;
  --pale:         #EFF4F3;
  --white:        #FAFCFB;
  --text:         #1A2B35;
  --text-mid:     #3D5060;
  --text-light:   #6B8494;
  --heading:      #1A3D3D;
  --dark:         #0F1F25;

  /* ── Typography ── */
  --font-heading: 'Fraunces', serif;
  --font-body:    'Source Sans 3', 'Source Sans Pro', sans-serif;

  /* ── Layout ── */
  --section-pad:      110px;
  --container-max:    1140px;
  --container-narrow: 780px;

  /* ── Effects ── */
  --radius:    20px;
  --radius-sm: 6px;
  --shadow:       0 2px 24px rgba(15, 31, 37, 0.05);
  --shadow-hover: 0 12px 40px rgba(15, 31, 37, 0.08);
  --transition:   0.3s ease;
}


/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-darker); }
ul { list-style: none; }
p + p { margin-top: 1em; }

em { font-style: italic; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }


/* ── Typography scale ── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.15;
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  font-optical-sizing: auto;
}

h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 350; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
.section { position: relative; padding: var(--section-pad) 0; }


/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  z-index: 10001;
  transition: width 0.05s linear;
  pointer-events: none;
}


/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--teal-dark);
  color: var(--offwhite);
}

.btn-primary:hover {
  background: var(--teal-darker);
  color: var(--offwhite);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary:active { transform: translateY(0); }


/* ── Section titles ── */
.section-title {
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-title-line {
  width: 56px;
  height: 2px;
  background: var(--teal-pale);
  margin: 0 auto 44px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: var(--container-narrow);
  margin: 0 auto 56px;
}


/* ── Waves ── */
.wave-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
  margin-bottom: -64px;
}

.wave-divider svg { display: block; width: 100%; height: 64px; transform: scaleY(-1); }
.footer-wave { line-height: 0; pointer-events: none; }
.footer-wave svg { display: block; width: 100%; height: 64px; }


/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.main-nav.scrolled {
  background: rgba(245, 249, 248, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 16px rgba(15, 31, 37, 0.06);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 28px; width: auto; }
.nav-logo:hover { opacity: 0.85; }

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover { color: var(--heading); background: rgba(90, 143, 143, 0.06); }
.nav-link.active { color: var(--heading); font-weight: 600; }

.nav-cta {
  background: var(--teal-dark) !important;
  color: var(--offwhite) !important;
  padding: 8px 22px !important;
  margin-left: 8px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--teal-darker) !important; color: var(--offwhite) !important; }

.nav-close { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 6px;
}

.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s ease; transform-origin: center;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   HERO — Dramatic Type
   ============================================================ */
.hero-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(90, 143, 143, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 75%, rgba(143, 181, 181, 0.05) 0%, transparent 55%),
    linear-gradient(170deg, #EEF4F3 0%, #F2F7F6 40%, #F5F9F8 100%);
  padding-top: 140px;
  padding-bottom: 140px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-headline h1 {
  font-weight: 300;
  font-size: clamp(3.5rem, 8.5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--heading);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
}

.hero-line { display: block; }

.hero-em em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}

/* Testimonial card */
.hero-sidebar {
  padding-left: 0;
  border-left: none;
}

.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px 32px;
  box-shadow: 0 4px 32px rgba(15, 31, 37, 0.08);
  border: 1px solid rgba(194, 217, 217, 0.3);
}

.testimonial-carousel {
  position: relative;
  min-height: 180px;
}

.testimonial {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.testimonial.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial blockquote {
  margin: 0 0 20px;
  padding: 0;
}

.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-mid);
  font-variation-settings: 'SOFT' 60, 'WONK' 0;
}

.testimonial-attr {
  display: flex;
  align-items: center;
  gap: 14px;
}

.attribution-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--sage-dark);
  flex-shrink: 0;
}

.attribution-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  border: 2px solid var(--sage-dark);
}

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

.attribution-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.attribution-text span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--sage-dark);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  color: var(--heading);
  flex-shrink: 0;
  transition: color 0.3s ease, border-color 0.3s ease;
  position: absolute;
  right: 0;
}

.testimonial-arrow:hover {
  color: var(--teal);
  border-color: var(--teal-light);
}

.testimonial-arrow svg { width: 16px; height: 16px; }

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage-dark);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-dot.active {
  background: var(--teal);
  transform: scale(1.25);
}

.testimonial-dot:hover { background: var(--teal-light); }

.hero-btn {
  font-size: 0.88rem;
  margin-top: 24px;
  display: block;
  width: 100%;
  text-align: center;
}


/* ============================================================
   MARQUEE — Scroll-Linked
   ============================================================ */
.marquee-band {
  position: relative;
  z-index: 2;
  background: var(--sage);
  padding: 28px 0 56px;
  margin-bottom: 28px;
}

.marquee-overflow {
  overflow: hidden;
}

.section-wave {
  position: absolute;
  top: -2rem;
  left: 0;
  right: 0;
  width: 100%;
  height: 2rem;
  pointer-events: none;
  z-index: 1;
}

.section-wave img {
  width: 100%;
  height: 100%;
  display: block;
}

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  align-items: center;
}

.marquee-item {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--teal-dark);
  letter-spacing: 0.01em;
  font-variation-settings: 'SOFT' 60, 'WONK' 0;
  padding: 0 16px;
}

.marquee-sep {
  color: var(--teal-dark);
  font-size: 0.8rem;
  padding: 0 8px;
  display: flex;
  align-items: center;
}


/* ============================================================
   MISSION — Editorial Layout
   ============================================================ */
.mission-section {
  background: var(--offwhite);
  padding-bottom: calc(var(--section-pad) + 50px);
  position: relative;
  z-index: 3;
}

.mission-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/mission-bg.jpg') center / cover no-repeat;
  filter: saturate(0) brightness(1.15) contrast(0.85);
  opacity: 0.14;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom right, transparent 20%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,1) 85%);
  mask-image: linear-gradient(to bottom right, transparent 20%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,1) 85%);
  pointer-events: none;
  z-index: 0;
}

.mission-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(90, 143, 143, 0.04);
  mix-blend-mode: color;
  pointer-events: none;
  z-index: 0;
}

.mission-section > *:not(.section-wave) {
  position: relative;
  z-index: 1;
}

.mission-lead {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.35;
  color: var(--heading);
  max-width: 900px;
  margin-bottom: 64px;
  letter-spacing: -0.01em;
  font-variation-settings: 'SOFT' 80, 'WONK' 0;
}

/* Text reveal words */
.reveal-word {
  display: inline-block;
  opacity: 0.12;
  transition: opacity 0.25s ease;
}

.mission-body {
  max-width: 780px;
  margin-bottom: 48px;
}

.mission-body p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.stats-row {
  display: flex;
  gap: 72px;
  margin-bottom: 72px;
}

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

.stat-top {
  display: flex;
  align-items: baseline;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--teal);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  letter-spacing: -0.03em;
}

.stat-plus {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--teal-light);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-top: 4px;
}

.mission-cta {
  text-align: left;
  margin-top: 32px;
  padding-top: 64px;
  max-width: 780px;
}

.cta-divider {
  width: 48px;
  height: 1px;
  background: var(--teal-pale);
  margin: 0 0 48px;
}

.cta-question {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-variation-settings: 'SOFT' 80, 'WONK' 0;
  color: var(--heading);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.cta-question + .cta-question { margin-top: 0.15em; }

.cta-question em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-dark);
}

.prove-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mission-cta.visible .prove-word { opacity: 1; transform: translateY(0); }

.cta-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
  margin-top: 28px;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.cta-link:hover {
  color: var(--teal-darker);
  letter-spacing: 0.06em;
}


/* ============================================================
   APPROACH — Split Layout
   ============================================================ */
.approach-section {
  position: relative;
  z-index: 4;
  background: var(--sage);
  padding-bottom: calc(var(--section-pad) + 50px);
}

.approach-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 80px;
}

.approach-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
}

.approach-intro {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.principles-lead {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 20px;
}

.approach-principles ul { margin: 0; }

.approach-principles li {
  position: relative;
  padding: 14px 0 14px 24px;
  font-size: 1.05rem;
  color: var(--text);
  border-bottom: 1px solid rgba(90, 143, 143, 0.15);
  line-height: 1.6;
}

.approach-principles li:last-child { border-bottom: none; }

.approach-principles li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.4;
}

.approach-pillars {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
}

.pillar {
  position: relative;
  padding-top: 16px;
}

.pillar-number {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  color: var(--teal-light);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 12px;
}

.pillar-icon {
  display: block;
  width: clamp(3.2rem, 6.5vw, 5rem);
  height: clamp(3.2rem, 6.5vw, 5rem);
  color: var(--teal-light);
  margin-bottom: 24px;
}

.pillar-icon--listening {
  width: clamp(2.8rem, 5.8vw, 4.4rem);
  height: clamp(2.8rem, 5.8vw, 4.4rem);
}

.pillar h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 350;
  margin-bottom: 12px;
  color: var(--heading);
}

.pillar p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
}


/* ============================================================
   SERVICES — Numbered Rows
   ============================================================ */
.services-section {
  position: relative;
  z-index: 5;
  background: var(--offwhite);
  padding-bottom: calc(var(--section-pad) + 50px);
}

.services-list {
  max-width: 900px;
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--sage-dark);
  align-items: start;
}

.service-row:first-child {
  border-top: none;
}

.service-number {
  font-family: var(--font-heading);
  font-weight: 200;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--teal-pale);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  letter-spacing: -0.02em;
  padding-top: 4px;
  transition: color 0.4s ease;
}

.service-row:hover .service-number,
.service-row.expanded .service-number {
  color: var(--teal);
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  padding: 4px 0;
}

.service-header h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 350;
  transition: color var(--transition);
}

.service-row:hover .service-header h3 { color: var(--teal-dark); }

.service-toggle {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--heading);
  background: transparent;
  border: 1px solid var(--sage-dark);
  border-radius: 50%;
  transition: color 0.3s ease, transform 0.4s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.service-toggle svg { width: 18px; height: 18px; }

.service-row:hover .service-toggle { color: var(--teal); }
.service-row.expanded .service-toggle { transform: rotate(45deg); color: var(--teal); }

.service-description {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-top: 8px;
}

.service-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}

.service-row.expanded .service-body {
  grid-template-rows: 1fr;
}

.service-body-inner {
  overflow: hidden;
}

.service-body-inner h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-top: 20px;
  margin-bottom: 10px;
}

.service-body-inner ul { margin: 0; }

.service-body-inner li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

.service-body-inner li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-pale);
}


/* ============================================================
   CLIENTS — Cool Gradient
   ============================================================ */
/* Shared gradient spans both the clients and testimonials sections;
   the wrapper stays unpositioned so section.offsetTop (nav scroll-spy)
   remains document-relative */
.clients-wrap {
  background: linear-gradient(180deg, #E8F0EE 0%, #DDE9E6 35%, #DDE9E6 65%, #E8F0EE 100%);
}

.clients-section {
  position: relative;
  z-index: 6;
  padding-bottom: 0;
}

.testimonials-section {
  position: relative;
  z-index: 6;
  padding-top: 0;
  padding-bottom: calc(var(--section-pad) + 50px);
}

.client-categories {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.client-category {
  background: rgba(245, 249, 248, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(194, 217, 217, 0.5);
}

.category-title {
  font-size: 1.1rem;
  color: var(--heading);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--teal-pale);
  font-variation-settings: 'SOFT' 80, 'WONK' 0;
  min-height: 3.6em;
  display: flex;
  align-items: flex-end;
}

.client-list li {
  padding: 10px 0;
  font-size: 0.88rem;
  line-height: 1.2;
  border-bottom: 1px solid rgba(90, 143, 143, 0.14);
}

.client-list li:last-child { border-bottom: none; }

.client-list strong {
  font-weight: 600;
  color: var(--text);
  font-size: 0.88rem;
}

.client-location {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 3px;
}


/* ============================================================
   CLIENT TESTIMONIALS — Own section, visually continuous
   with Who We Serve
   ============================================================ */
.client-testimonials {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 2px solid var(--teal-pale);
  text-align: center;
}

.client-testimonials-heading {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  margin-bottom: 48px;
}

.client-testimonials-carousel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  min-height: 200px;
}

.client-testimonial {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.client-testimonial.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.client-testimonial blockquote {
  margin: 0;
  padding: 0;
}

.client-testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 350;
  line-height: 1.75;
  color: var(--text);
  font-variation-settings: 'SOFT' 60, 'WONK' 0;
  text-align: center;
}

.client-attribution-photo,
.client-attribution-avatar {
  display: flex;
  width: 72px;
  height: 72px;
  margin: 48px auto 0;
}

.client-attribution-avatar {
  background: #fff;
  font-size: 1.25rem;
}

.client-attribution-photo + .client-testimonial-attr,
.client-attribution-avatar + .client-testimonial-attr {
  margin-top: 8px;
}

.client-testimonial-attr {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.client-testimonial-attr strong {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.client-testimonial-attr span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.client-testimonials-nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
}

.client-testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-pale);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.client-testimonial-dot.active {
  background: var(--teal);
  transform: scale(1.25);
}

.client-testimonial-dot:hover { background: var(--teal-light); }

.client-testimonial-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 249, 248, 0.88);
  border: 1px solid var(--teal-pale);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  color: var(--teal-dark);
  flex-shrink: 0;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.client-testimonial-arrow:hover {
  color: var(--teal);
  border-color: var(--teal-light);
}

.client-testimonial-arrow svg { width: 16px; height: 16px; }


/* ============================================================
   ABOUT — Editorial Bio
   ============================================================ */
.about-section {
  position: relative;
  z-index: 7;
  background: var(--offwhite);
  padding-bottom: calc(var(--section-pad) + 50px);
}

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
}

.about-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  object-position: center 15%;
}

.about-name {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
}

.about-role {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 28px;
}

.about-lead {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
  font-variation-settings: 'SOFT' 60, 'WONK' 0;
}

.about-body p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  position: relative;
  z-index: 8;
  background: var(--sage);
  padding-bottom: 80px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  max-width: 940px;
  margin: 0 auto;
}

.contact-intro {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 20px; height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-value { font-size: 1rem; color: var(--text); }
a.contact-value:hover { color: var(--teal-dark); }

.contact-form {
  background: var(--offwhite);
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(194, 217, 217, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--sage-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(90, 143, 143, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { width: 100%; padding: 15px; font-size: 1rem; }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { position: relative; background: var(--sage); }

.footer-body { position: relative; z-index: 9; background: var(--dark); padding: 48px 0 28px; }

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(245, 249, 248, 0.08);
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(245, 249, 248, 0.4);
  margin-top: 4px;
}

.footer-contact { display: flex; gap: 28px; align-items: center; }

.footer-contact a,
.footer-contact span {
  color: rgba(245, 249, 248, 0.5);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--offwhite); }

.footer-bottom { padding-top: 22px; text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(245, 249, 248, 0.28); }


/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.slide-right {
  transform: translateX(-40px) translateY(0);
}

.fade-in.slide-left {
  transform: translateX(40px) translateY(0);
}

.fade-in.scale-in {
  transform: scale(0.92) translateY(16px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

/* Stagger delays for sequential reveals */
.approach-pillars .pillar:nth-child(2) .fade-in,
.approach-pillars .pillar:nth-child(2).fade-in {
  transition-delay: 0.15s;
}

.services-list .service-row:nth-child(2) { transition-delay: 0.08s; }
.services-list .service-row:nth-child(3) { transition-delay: 0.16s; }
.services-list .service-row:nth-child(4) { transition-delay: 0.24s; }


/* ============================================================
   RESPONSIVE — XL Screens
   ============================================================ */
@media (min-width: 1400px) {
  .hero-headline h1 { font-size: 7rem; }
}



/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 960px) {
  :root { --section-pad: 80px; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-sidebar {
    padding-top: 8px;
  }

  .hero-headline { text-align: center; }
  .hero-headline h1 { font-size: clamp(3.5rem, 10vw, 5.5rem); }

  .stats-row {
    gap: 56px;
  }

  .approach-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .approach-title { font-size: clamp(2.2rem, 5vw, 3.5rem); }

  .approach-pillars {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .client-categories {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .client-categories .client-category:first-child {
    grid-column: 1 / -1;
  }

  .about-layout {
    grid-template-columns: 220px 1fr;
    gap: 40px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


/* Tighter nav links so all seven fit on one line above the
   mobile hamburger breakpoint */
@media (max-width: 1024px) and (min-width: 681px) {
  .nav-link { padding: 8px 8px; font-size: 0.85rem; }
  .nav-cta { padding: 8px 16px !important; margin-left: 4px; }
}

@media (max-width: 780px) and (min-width: 681px) {
  .nav-link { padding: 8px 5px; font-size: 0.8rem; }
  .nav-cta { padding: 8px 12px !important; margin-left: 2px; }
  .nav-container { padding: 0 16px; }
}


/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 680px) {
  :root { --section-pad: 60px; }

  body { font-size: 16px; }
  .container { padding: 0 20px; }

  .nav-toggle { display: flex; }

  .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    border: 1px solid var(--sage-dark);
    border-radius: 50%;
    color: var(--heading);
    cursor: pointer;
    padding: 0;
  }
  .nav-close svg { width: 18px; height: 18px; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh; height: 100dvh;
    background: var(--offwhite);
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 0;
    box-shadow: -4px 0 24px rgba(15, 31, 37, 0.1);
    transition: right 0.35s ease;
    z-index: 999;
  }

  .nav-links.open { right: 0; }
  .nav-link { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 300; padding: 12px 16px; width: 100%; }
  .nav-cta { margin-left: 0 !important; margin-top: auto; text-align: center; width: 100%; font-family: var(--font-body); font-size: 17px; font-weight: 600; padding: 14px 36px !important; border-radius: 8px !important; }
  .nav-container { height: 62px; padding: 0 20px; }

  .hero-section {
    padding-top: 110px;
    padding-bottom: 100px;
    min-height: auto;
  }

  .hero-headline { text-align: center; }
  .hero-headline h1 { font-size: clamp(2.8rem, 11vw, 3.8rem); }

  h2 { font-size: clamp(2.8rem, 8vw, 3.6rem); }
  .approach-title { font-size: clamp(2.8rem, 8vw, 3.6rem); }

  .mission-lead { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .mission-section::before { background-position: 70% center; }

  .stat-number { font-size: clamp(5rem, 14vw, 7rem); line-height: 0.75; }
  .stat-label { margin-top: -4px; }
  .stat-plus { font-size: clamp(3rem, 8vw, 5rem); }

  .stats-row { flex-direction: row; gap: 24px; justify-content: flex-start; }

  .service-row { grid-template-columns: 50px 1fr; gap: 16px; }
  .service-number { font-size: 2rem; color: var(--teal); }

  .client-categories { grid-template-columns: 1fr; gap: 20px; }
  .client-categories .client-category:first-child { grid-column: auto; }
  .category-title { font-size: 1.4rem; }

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

  .about-photo-col { max-width: 180px; margin: 0 auto; }
  .about-name, .about-role { text-align: center; }
  .about-text-col { text-align: left; }

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

  .footer-content { flex-direction: column; text-align: center; align-items: center; gap: 24px; }
  .footer-logo { margin: 0 auto; height: 48px; }
  .footer-contact { flex-direction: column; gap: 10px; }

  .btn { font-size: 17px; }

  .wave-divider svg, .footer-wave svg { height: 36px; }
  .wave-divider { margin-bottom: -36px; }

  /* Simplify animations on mobile */
  .fade-in.slide-right,
  .fade-in.slide-left {
    transform: translateY(20px);
  }

  /* Remove animations from stacked cards so spacing stays even */
  .service-row.fade-in,
  .client-category.fade-in {
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in { opacity: 1; transform: none; }
  .reveal-word { opacity: 1 !important; }
  .marquee-track { animation: none; }
}


/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .main-nav, .wave-divider, .footer-wave, .nav-toggle,
  .contact-form-wrapper, .scroll-progress, .marquee-band { display: none; }
  .section { padding: 24px 0; break-inside: avoid; }
  .fade-in { opacity: 1 !important; transform: none !important; }
  .reveal-word { opacity: 1 !important; }
  body { font-size: 12pt; color: #000; }
}
