/* ============================================
   HOMEPAGE — index.html
   Section-specific styles. Inherits tokens, base,
   nav, footer, buttons, forms, components, animations.
   ============================================ */

/* ----- NAV override on homepage
   ---------------------------------------------------------------------------
   The pill geometry from nav.css (max-width 1180px, calc(100% - 32px),
   top:16px float) applies in every state. Over the hero the chrome
   (background, border, blur, shadow) is stripped so the drone footage
   reads through cleanly — and .nav.scrolled simply re-introduces that
   chrome. No layout shifts; only the surface fades in. */
/* Glass toggles on the ::before (matches nav.css); border + shadow stay on the
   container. Over the hero the surface is transparent; .scrolled / .mega-open
   fade the glass back in. */
.nav .container {
  border-color: transparent;
  box-shadow: none;
}
.nav .container::before {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav.scrolled .container,
.nav.mega-open .container {
  border-color: rgba(255,255,255,0.22);
  box-shadow: var(--shadow-md);
}
.nav.scrolled .container::before,
.nav.mega-open .container::before {
  background: rgba(18,30,54,0.78);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.scrolled .container::before,
  .nav.mega-open .container::before {
    background: rgba(18,30,54,0.34);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    backdrop-filter: blur(22px) saturate(135%);
  }
}

/* Logo stays a constant 36px (inherited from nav.css) in both states —
   no size change between over-hero and scrolled. */

.nav-links { gap: 22px; }

.nav-links a {
  font-size: 0.85rem;
  color: var(--white);
}

/* Contact CTA stays filled Hampton Blue in every state.
   Inherits base + hover from nav.css — no override needed. */

/* Aux cluster (phone, portal) — light in every state now that the nav glass is
   dark navy throughout (over the hero AND when scrolled / mega-open). */
.nav-aux {
  border-left-color: rgba(255,255,255,0.18);
}
.nav-aux a { color: rgba(255,255,255,0.72); }
.nav-aux a:hover { color: var(--white); }

.nav-toggle span { background: var(--white); }

/* The over-hero light nav text above is desktop-only. On mobile (≤1100px) the
   links live inside the white slide-out panel, so they must revert to dark ink
   — otherwise the homepage's white-over-hero color makes them invisible. */
@media (max-width: 1100px) {
  .nav-links a,
  .nav-aux a { color: var(--charcoal); }
}

/* The logo swaps to the dove icon on scroll (driven by the scroll script's
   .is-hidden toggle) — opening the mega over the hero does NOT change it. */

/* ----- HERO ----- */
.hero {
  --scroll-p: 0;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  border-radius: calc(var(--scroll-p) * 28px);
  transform: scale(calc(1 - var(--scroll-p) * 0.025));
  transform-origin: 50% 0%;
  z-index: 2;
  will-change: transform, border-radius, box-shadow;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  /* Mouse-driven parallax (JS lerps --mx, --my for natural smoothing — no CSS transition needed) */
  transform: scale(1.04) translate3d(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -8px), 0);
}

@media (hover: hover) {
  .hero-pattern {
    transform: translate3d(calc(var(--mx, 0) * 18px), calc(var(--my, 0) * 18px), 0);
  }
  .hero-icon {
    transform: translate3d(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 14px), 0);
  }
  .hero-content {
    transform: translate3d(calc(var(--mx, 0) * 5px), calc(var(--my, 0) * 4px), 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .hero-pattern,
  .hero-icon,
  .hero-content { transform: none !important; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg,
    rgba(15,28,55,0.65) 0%,
    rgba(10,18,35,0.55) 50%,
    rgba(0,0,0,0.65) 100%);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    radial-gradient(circle at 20% 50%, var(--white) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, var(--white) 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, var(--white) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 100px 100px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 24px;
}

.hero-icon {
  width: 100px;
  margin-bottom: 32px;
  opacity: 0.9;
  animation: fadeInDown 1s ease forwards;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero h1 strong { font-weight: 700; }

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s ease infinite;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255,255,255,0.5);
}

/* ============================================
   STATS — proof-points strip
   ----------------------------------------------
   Sits between Hero and Purpose. Four oversized
   hairline numerals (Montserrat 200) with small-
   caps labels. Numbers count up from 0 when the
   strip enters the viewport (see site.js).
   ============================================ */
.stats {
  background: var(--white);
  padding-top: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--hairline);
}

.stats-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

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

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
}

.stat-num {
  display: inline-block;
  font-variant-numeric: tabular-nums; /* prevent layout jitter while counting */
}

.stat-suffix {
  font-size: 0.6em;
  font-weight: 300;
  color: var(--warm);
  margin-left: 4px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0;
}

@media (max-width: 768px) {
  .stats { padding-top: 56px; padding-bottom: 56px; }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

/* ============================================
   PURPOSE — Editorial spread
   ----------------------------------------------
   Scripture epigraph above, "PURPOSE" watermark
   behind an asymmetric headline, three numbered
   statements with hairline-thin oversized numerals.
   Replaces the prior two-column grid + quote-card
   layout entirely.
   ============================================ */
.purpose {
  background: var(--white);
  padding-top: 140px;
  padding-bottom: 140px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 0;
  max-width: 1080px;
}

.purpose-label {
  text-align: center;
  margin: 0 auto 56px;
}

/* ----- Scripture overture ----- */
.purpose-overture {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
  padding: 0 12px;
}

.purpose-overture p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.purpose-overture cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-heading);
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm);
}

/* ----- Hairline divider between epigraph and body ----- */
.purpose-rule {
  width: 1px;
  height: 88px;
  margin: 56px auto 56px;
  background: linear-gradient(180deg, transparent, var(--hairline-strong, rgba(31,32,36,0.14)), transparent);
}

/* ----- Headline + "PURPOSE" watermark ----- */
.purpose-headline {
  position: relative;
  margin: 0 auto;
  max-width: 880px;
  padding: 0 12px;
  text-align: left;
}

.purpose-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  font-family: var(--font-heading);
  font-size: clamp(8rem, 18vw, 18rem);
  font-weight: 200;
  letter-spacing: -0.06em;
  color: rgba(44, 74, 110, 0.045); /* Hampton Blue at ~4.5% */
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
  user-select: none;
  line-height: 1;
}

.purpose-headline h2 {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.purpose-headline h2 strong {
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

/* ----- Lead paragraph between headline and numbered statements ----- */
.purpose-lead {
  max-width: 720px;
  margin: 36px auto 96px;
  padding: 0 12px;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-body);
  font-weight: 300;
}

/* ----- Three numbered editorial statements ----- */
.purpose-statements {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  row-gap: 56px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px;
}

.purpose-statements li {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: start;
  column-gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
}

.purpose-statements li:first-child { border-top: 0; padding-top: 0; }

.purpose-num {
  font-family: var(--font-heading);
  font-size: clamp(5.5rem, 9vw, 8.5rem);
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(31, 32, 36, 0.14);
  display: block;
  user-select: none;
  margin-top: -8px;
}

.purpose-statements h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 8px 0 12px;
}

.purpose-statements p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  color: var(--text-body);
  font-weight: 300;
  max-width: 56ch;
}

/* ----- Tablet and below ----- */
@media (max-width: 900px) {
  .purpose { padding-top: 96px; padding-bottom: 96px; }
  .purpose-watermark { display: none; } /* watermark hides — too narrow to land */
  .purpose-rule { height: 64px; margin: 40px auto; }
  .purpose-statements li {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding-top: 28px;
  }
  .purpose-num {
    font-size: clamp(4.5rem, 12vw, 6rem);
    margin-top: 0;
  }
}

/* ----- Reduced motion: keep numerals static (no parallax temptation) ----- */
@media (prefers-reduced-motion: reduce) {
  .purpose-watermark { display: none; }
}

/* ----- VALUES — iconic ledger
   Drops the 4-card grid. Each value is a full-width row: a monumental
   hairline icon on the left (~240px), content on the right (Roman
   numeral kicker + value name + maroon accent rule + body). The
   custom iconography becomes the visual hero — like specimen plates
   from a natural-history book, not 56-pixel decoration.
   ----- */
.values { background: var(--light-gray); }

.values-header {
  text-align: center;
  margin-bottom: 72px;
}

.values-header .section-desc { margin: 0 auto; }
.values-header .divider { margin: 24px auto; }

.values-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1320px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 28px; /* used only when grid wraps */
}

.value-row { display: block; }

/* ----- Photo card
   Each value is a full-bleed photograph with a Hampton-dark gradient
   overlay along the bottom. SVG icon + Roman numeral pinned to the top
   corners; name + accent rule + body text sit at the bottom. Hover
   scales the photo, lifts the card, and grows the accent rule. ----- */
.value-card-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink);
  box-shadow:
    0 12px 28px -8px rgba(20, 36, 58, 0.20),
    0 28px 60px -20px rgba(20, 36, 58, 0.32);
  transition: transform 0.55s var(--ease-calm),
              box-shadow 0.55s var(--ease-calm);
}

.value-card-photo:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 32px -8px rgba(20, 36, 58, 0.26),
    0 36px 72px -22px rgba(20, 36, 58, 0.42);
}

/* NOTE selector includes the img tag — needed because animations.css has a
   global `img[loading="lazy"] { transition: opacity ... }` rule with
   specificity (0,1,1) that would otherwise overwrite this transition stack
   and kill the transform animation (causing a "cut to scale"). With
   `img.value-photo` we match that specificity and win on source order. */
img.value-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
  /* Cinematic Ken Burns drift: long duration + gentle ease-out cubic so
     the scale never snaps. translateZ + backface-visibility keep it on
     the GPU and prevent sub-pixel jitter. The opacity transition is kept
     so the lazy-load fade-in still works. */
  transform: scale(1) translateZ(0);
  transition: transform 2.2s cubic-bezier(0.33, 1, 0.68, 1),
              opacity var(--t-slow) var(--ease-calm);
  will-change: transform;
  backface-visibility: hidden;
}

.value-card-photo:hover img.value-photo { transform: scale(1.07) translateZ(0); }

.value-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Two-layer darkening so text reads against any photo:
     1) Strong bottom-anchored gradient (covers the content region)
     2) A flat low-opacity wash over the whole card to mute bright photos */
  background:
    linear-gradient(
      to top,
      rgba(10, 18, 30, 0.96) 0%,
      rgba(10, 18, 30, 0.92) 28%,
      rgba(10, 18, 30, 0.72) 48%,
      rgba(10, 18, 30, 0.36) 68%,
      rgba(10, 18, 30, 0.10) 88%,
      transparent 100%
    ),
    linear-gradient(rgba(10, 18, 30, 0.18), rgba(10, 18, 30, 0.18));
  pointer-events: none;
}

.value-photo-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 24px 0;
}

.value-photo-icon {
  display: block;
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.7;
  transition: opacity 0.55s var(--ease-soft),
              transform 0.55s var(--ease-soft);
}

.value-photo-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card-photo:hover .value-photo-icon {
  opacity: 1;
  transform: translateY(-2px);
}

.value-card-photo .value-roman {
  display: inline-block;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.value-photo-body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 28px 28px 32px;
}

.value-photo-body h3 {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
  margin: 0 0 18px;
  padding-bottom: 14px;
}

/* Soul-color hairline accent rule — grows on hover */
.value-photo-body h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--warm);
  border-radius: var(--r-pill);
  transition: width 0.5s var(--ease-soft);
}

.value-card-photo:hover .value-photo-body h3::after { width: 72px; }

.value-photo-body p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 300;
  margin: 0;
}

.value-photo-body p + p { margin-top: 10px; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .value-card-photo,
  .value-card-photo:hover,
  .value-photo,
  .value-card-photo:hover .value-photo,
  .value-card-photo:hover .value-photo-icon,
  .value-card-photo:hover .value-photo-body h3::after {
    transition: none;
    transform: none;
    width: 40px; /* keep accent rule static under reduced motion */
  }
}

@media (max-width: 1024px) {
  .values-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 28px;
  }
  .value-card-photo { min-height: 560px; }
}

@media (max-width: 600px) {
  .values-list {
    grid-template-columns: 1fr;
    row-gap: 24px;
    max-width: 520px;
  }
  .value-card-photo { min-height: 540px; }
}


/* ----- MISSION (Hampton Blue floating card on a white page)
   The Mission is the brand's thesis statement. Rendered as a printed-
   letterhead insert: a dark Hampton Blue card with a thin maroon
   accent rule at top, soft drop shadow, a faded brand-mark watermark
   behind the text, and a gradient sheen for depth. Scale + lift
   entrance differentiates it from neighbouring sections.
   ----- */
.mission {
  background: var(--white);
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.mission .container { max-width: 1280px; }

.mission-card {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(56px, 6vw, 80px) clamp(40px, 7vw, 112px);
  /* Base fill: Hampton Blue gradient with a subtle SVG noise grain on top —
     fine pixel texture at ~4% gives the surface a "matte paper" tactility
     rather than reading as flat color. */
  background:
    /* Dark grain — random near-black flecks at low opacity. Adds tactile
       texture without lightening the surface. (Earlier version used white
       noise, which washed out the center.) */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>"),
    radial-gradient(120% 70% at 50% 105%, rgba(0, 0, 0, 0.12), transparent 60%),
    linear-gradient(180deg, #2C4A6E 0%, #233C5A 100%);
  border-radius: 28px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  /* Multi-layer shadow system:
     - 1px white-rgba inset highlight on the top edge → "lit-from-above"
     - tight contact shadow → grounded
     - wide ambient shadow → atmospheric depth */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 2px 4px rgba(20, 36, 58, 0.20),
    0 12px 24px -6px rgba(20, 36, 58, 0.28),
    0 36px 80px -20px rgba(20, 36, 58, 0.45);
}

/* Thin maroon accent rule peeking at the top — the brand's soul color */
.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: var(--warm);
  border-radius: 0 0 var(--r-pill) var(--r-pill);
  z-index: 2;
}

/* Soft top sheen — keeps the card from feeling like a flat rectangle */
.mission-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.10), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Brand-mark watermark — faded icon centered behind the text */
.mission-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.06;
}

.mission-watermark img {
  width: clamp(220px, 30vw, 360px);
  height: auto;
  display: block;
}

/* Stack all real content above the sheen and watermark */
.mission-card > p,
.mission-card > div { position: relative; z-index: 1; }

.mission-card .section-label {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}

.mission-card .divider {
  margin: 0 auto 28px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.mission-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto 22px;
  max-width: 760px;
}

.mission-lead strong {
  font-weight: 600;
  color: #FFFFFF;
  /* Maroon family fails contrast on Hampton Blue. Keep keywords white but
     bolder than the surrounding body; the trio line below carries the
     colored "soul" moment. */
}

.mission-trio {
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 0.95vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin: 6px auto 26px;
}

.mission-trio .dot {
  display: inline-block;
  margin: 0 14px;
  color: rgba(255, 255, 255, 0.3);
}

.mission-body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  max-width: 680px;
  margin: 16px auto 0;
}

/* Custom reveal — soft lift + scale in. Overrides the global .reveal
   transform so the card "settles" into place, distinct from the
   surrounding sections' standard fade-up. */
.mission-card.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.965);
  transition:
    opacity 1.1s var(--ease-calm),
    transform 1.2s var(--ease-calm);
}

.mission-card.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .mission-card.reveal,
  .mission-card.reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 768px) {
  .mission { padding-top: 72px; padding-bottom: 72px; }
  .mission .container { padding: 0 16px; }
  .mission-card { border-radius: 20px; }
  .mission-card::before { width: 48px; height: 3px; }
}


/* ----- SERVICES (sticky stacked deck) ----- */
.services { background: var(--white); }

.services .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  /* Removed align-items: start so .services-left can stretch to the full
     row height. .services-list opts back into top-align via align-self. */
}

/* The outer .services-left fills the entire grid row (no longer sticky
   itself). The INNER wrapper is what's sticky — that way the inner has
   the full row height as its sticky range, and stays pinned until the
   last right-column tile has finished its own sticky pin. */
.services-left {
  align-self: stretch;
  position: relative;
}

.services-left-inner {
  position: sticky;
  top: 120px;
}

.services-list {
  align-self: start;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-item {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--light-gray);
  border-radius: var(--r-md);
  transition: background var(--t-base) var(--ease-soft),
              box-shadow var(--t-base) var(--ease-calm);
  cursor: default;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 120px;
  z-index: 1;
}

.service-item:nth-child(1) { top: 120px; z-index: 1; }
.service-item:nth-child(2) { top: 132px; z-index: 2; }
.service-item:nth-child(3) { top: 144px; z-index: 3; }
.service-item:nth-child(4) { top: 156px; z-index: 4; }

.service-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.service-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-tint-2);
  line-height: 1;
  min-width: 48px;
}

.service-item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.service-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.services-cta {
  margin-top: 32px;
}

/* ----- AGENT DEVELOPMENT ----- */
.development { background: var(--light-gray); }

.development .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dev-steps {
  display: flex;
  flex-direction: column;
}

.dev-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
}

.dev-step:last-child { border-bottom: none; }

/* Hairline numerals — matches the Purpose editorial register so the
   "growth journey" reads as deliberate progression rather than a
   numbered checklist. */
.dev-step-marker {
  min-width: 110px;
  width: auto;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(31, 32, 36, 0.14);
  margin-top: -8px;
  user-select: none;
}

.dev-step { align-items: flex-start; }

.dev-step h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.dev-step p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}


/* ----- CULTURE (dark, section-morph) ----- */
.culture {
  background: var(--black);
  color: var(--white);
  padding: 100px 0;
}

.culture-header {
  text-align: center;
  margin-bottom: 64px;
}

.culture-header .section-label { color: rgba(255,255,255,0.4); }
.culture-header .section-title { color: var(--white); }
.culture-header .divider { margin: 24px auto; }
.culture-header .section-desc {
  margin: 0 auto;
  color: rgba(255,255,255,0.65);
}

/* ----- Culture type pairs — alternating asymmetric spread
   Each pillar sits in a 2-column grid. Odd pairs hug the left,
   even pairs hug the right — the opposing half becomes deliberate
   negative space, like facing pages of a magazine. A small maroon
   hairline accent rule punctuates each paragraph. ----- */
.culture-pairs {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-top: 80px;
}

.culture-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
}

.culture-pair > * { grid-column: 1; }

/* Even pairs (2, 4) — content shifts to the right column,
   inner alignment and accent-rule placement mirror accordingly. */
.culture-pair:nth-child(even) > * { grid-column: 2; }
.culture-pair:nth-child(even) .culture-pair-title { justify-content: flex-end; }
.culture-pair:nth-child(even) p { text-align: right; margin-left: auto; }
.culture-pair:nth-child(even) p::before { left: auto; right: 0; }

.culture-pair-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 32px;
  font-weight: 200;
}

.culture-dominant {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--white);
}

.culture-modifier {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  align-self: flex-end;
  padding-bottom: 14px;
}

.culture-modifier-prefix {
  align-self: flex-end;
  padding-bottom: 14px;
}

.culture-pair p {
  position: relative;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  max-width: 56ch;
  padding-top: 30px;
  margin: 0;
}

/* Maroon hairline accent — the brand's soul color marking each pillar.
   Lives above each paragraph; flips to the right edge for even pairs. */
.culture-pair p::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--warm);
  border-radius: var(--r-pill);
}

@media (max-width: 900px) {
  .culture-pairs { gap: 72px; margin-top: 64px; }
  .culture-pair {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  /* Collapse to a single left-aligned column — alternating asymmetry
     only works at desktop widths. */
  .culture-pair:nth-child(even) > * { grid-column: 1; }
  .culture-pair:nth-child(even) .culture-pair-title { justify-content: flex-start; }
  .culture-pair:nth-child(even) p { text-align: left; margin-left: 0; }
  .culture-pair:nth-child(even) p::before { left: 0; right: auto; }

  .culture-pair-title { gap: 12px; margin-bottom: 24px; }
  .culture-modifier,
  .culture-modifier-prefix {
    padding-bottom: 6px;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }
}

/* ----- MEET THE TEAM — agent spotlight
   Four agent cards in a single row. Portrait photo on top, content
   below — clean split rather than overlay so the agent's role + name
   + specialty all read clearly. Subtle hover lift + photo zoom +
   maroon accent rule grow, consistent with Areas/Values. ----- */
.team {
  background: var(--white);
  padding-top: 120px;
  padding-bottom: 120px;
}

.team-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.team-header .section-desc { margin: 0 auto; }
.team-header .divider { margin: 24px auto; }

.team-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card { display: block; }

.team-card > a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.55s var(--ease-soft);
}

.team-card > a:hover { transform: translateY(-4px); }

.team-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--light-gray);
  box-shadow: 0 8px 24px -10px rgba(20, 36, 58, 0.18);
}

img.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1) translateZ(0);
  transition: transform 2.2s cubic-bezier(0.33, 1, 0.68, 1),
              opacity var(--t-slow) var(--ease-calm);
  will-change: transform;
  backface-visibility: hidden;
}

.team-card > a:hover img.team-photo { transform: scale(1.06) translateZ(0); }

.team-body {
  padding: 20px 4px 0;
}

.team-role {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--warm);
  margin: 0 0 8px;
}

.team-body h3 {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 12px;
}

.team-body h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--warm);
  border-radius: var(--r-pill);
  transition: width 0.5s var(--ease-soft);
}

.team-card > a:hover .team-body h3::after { width: 56px; }

.team-area {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-body);
  font-weight: 300;
  margin: 0;
}

.team-cta {
  margin-top: 56px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .team-card > a,
  .team-card > a:hover,
  img.team-photo,
  .team-card > a:hover img.team-photo,
  .team-card > a:hover .team-body h3::after {
    transition: none;
    transform: none;
    width: 32px;
  }
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .team { padding-top: 80px; padding-bottom: 80px; }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

/* ----- STORIES & INSIGHTS — blog teaser
   Three editorial cards surfacing the latest blog content. Image on
   top (16:10 landscape), then meta row (category + date), headline,
   excerpt, "Read" affordance. Light-gray section background so the
   cards' white surface reads as a lifted editorial moment. ----- */
.insights {
  background: var(--light-gray);
  padding-top: 120px;
  padding-bottom: 120px;
}

.insights-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.insights-header .section-desc { margin: 0 auto; }
.insights-header .divider { margin: 24px auto; }

.insights-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.insight-card { display: block; }

.insight-card > a {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px -4px rgba(20, 36, 58, 0.10);
  transition: transform 0.55s var(--ease-soft),
              box-shadow 0.55s var(--ease-soft);
}

.insight-card > a:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(20, 36, 58, 0.18);
}

.insight-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}

img.insight-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1) translateZ(0);
  transition: transform 2.2s cubic-bezier(0.33, 1, 0.68, 1),
              opacity var(--t-slow) var(--ease-calm);
  will-change: transform;
  backface-visibility: hidden;
}

.insight-card > a:hover img.insight-photo {
  transform: scale(1.06) translateZ(0);
}

/* Bias the crop upward for portrait source images so faces aren't cut
   when displayed in the 16:10 card frame (e.g. the people-first photo). */
img.insight-photo--top { object-position: 50% 20%; }

.insight-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 14px;
}

.insight-cat { color: var(--warm); }
.insight-sep { opacity: 0.5; }

.insight-body h3 {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 14px;
}

.insight-body h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--warm);
  border-radius: var(--r-pill);
  transition: width 0.5s var(--ease-soft);
}

.insight-card > a:hover .insight-body h3::after { width: 60px; }

.insight-excerpt {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body);
  font-weight: 300;
  margin: 0 0 20px;
  flex: 1;
}

.insight-read {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.4s var(--ease-soft);
}

.insight-card > a:hover .insight-read { color: var(--accent-hover, #213c5a); }

.insights-cta {
  margin-top: 56px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .insight-card > a,
  .insight-card > a:hover,
  img.insight-photo,
  .insight-card > a:hover img.insight-photo,
  .insight-card > a:hover .insight-body h3::after {
    transition: none;
    transform: none;
    width: 36px;
  }
}

@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  .insights { padding-top: 80px; padding-bottom: 80px; }
  .insight-body { padding: 22px 22px 24px; }
}

/* ============================================
   COMMUNITY — manifesto editorial spread
   ----------------------------------------------
   Centered head (label / headline / divider / lead) followed by four
   numbered "pledges" — Roman numerals (I / II / III / IV) in maroon,
   each paired with a statement-style h3 and a one-line description.
   Closes with the brand's commitment quote in Cormorant italic.

   Different from Purpose section's pattern in three ways:
   (1) Roman numerals (Purpose uses Arabic 01/02/03)
   (2) Centered layout (Purpose is left-aligned with negative space)
   (3) Closes with scripture-style quote (Purpose opens with one) —
       the two sections bookend the page's contemplative register.
   ============================================ */
.community {
  background: var(--white);
  padding-top: 120px;
  padding-bottom: 120px;
}

.community .container {
  max-width: 1280px;
}

.community-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}

.community-head .divider { margin: 24px auto 28px; }

.community-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 4px;
}

.community-headline strong {
  font-weight: 600;
  color: var(--accent);
}

.community-lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-body);
  margin: 0 auto;
  max-width: 640px;
}

/* ----- Four numbered pledges in a 2-column grid ----- */
.community-manifesto {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 96px;
  row-gap: 28px;
}

.community-pledge {
  display: grid;
  grid-template-columns: 60px 1fr;
  column-gap: 24px;
  align-items: baseline;
}

.community-roman {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--warm);
  text-align: right;
  display: block;
}

.community-pledge-body h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.35;
}

.community-pledge-body p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1rem);
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-body);
  margin: 0;
}

/* ----- Closing commitment quote (Cormorant italic) ----- */
.community-commitment {
  margin: 88px auto 0;
  text-align: center;
  max-width: 720px;
}

.community-commitment-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--warm);
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 20px;
}

.community-commitment-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--warm);
  border-radius: var(--r-pill);
}

.community-commitment-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 800px) {
  .community-manifesto {
    grid-template-columns: 1fr;
    row-gap: 40px;
    max-width: 720px;
  }
}

@media (max-width: 480px) {
  .community { padding-top: 80px; padding-bottom: 80px; }
  .community-pledge {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 8px;
  }
  .community-roman {
    text-align: left;
  }
}

/* ----- CTA / CONTACT (dark gradient, section-morph) ----- */
.cta {
  background: linear-gradient(135deg, var(--charcoal) 0%, #18243a 60%, var(--accent) 100%);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.cta .section-label { color: rgba(255,255,255,0.4); }
.cta .section-title {
  color: var(--white);
  margin-bottom: 16px;
}
.cta .section-desc {
  color: rgba(255,255,255,0.7);
  margin: 0 auto 40px;
}

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

#contactForm {
  text-align: left;
}

#contactForm .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

#contactForm .form-field {
  margin-bottom: 16px;
}

#contactForm .form-field-tall {
  margin-bottom: 20px;
}

#contactForm label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--t-base) var(--ease-soft),
              box-shadow var(--t-base) var(--ease-soft);
}

#contactForm textarea { resize: vertical; }

#contactForm input::placeholder,
#contactForm textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}

.form-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}

.cta .btn-primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta .btn-outline {
  border-color: rgba(255,255,255,0.3);
}

/* Contact form success state */
.contact-success {
  text-align: center;
  padding: 40px 0;
}

.contact-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-success p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}

/* ----- STAGGERED REVEALS ----- */
.values-list > .value-row.reveal:nth-child(1) { transition-delay: 0ms; }
.values-list > .value-row.reveal:nth-child(2) { transition-delay: 120ms; }
.values-list > .value-row.reveal:nth-child(3) { transition-delay: 240ms; }
.values-list > .value-row.reveal:nth-child(4) { transition-delay: 360ms; }

.culture-grid > .culture-card.reveal:nth-child(1) { transition-delay: 0ms; }
.culture-grid > .culture-card.reveal:nth-child(2) { transition-delay: 100ms; }
.culture-grid > .culture-card.reveal:nth-child(3) { transition-delay: 200ms; }
.culture-grid > .culture-card.reveal:nth-child(4) { transition-delay: 300ms; }

.services-list > .service-item.reveal:nth-child(1) { transition-delay: 0ms; }
.services-list > .service-item.reveal:nth-child(2) { transition-delay: 80ms; }
.services-list > .service-item.reveal:nth-child(3) { transition-delay: 160ms; }
.services-list > .service-item.reveal:nth-child(4) { transition-delay: 240ms; }

/* ----- RESPONSIVE ----- */

/* Services + Development stack earlier so the 769–960 tablet band isn't a
   cramped 2-col split with an 80px gutter (these were collapsing only at 768). */
@media (max-width: 960px) {
  .services .container,
  .development .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .services-left { position: static; }
  .service-item {
    position: relative;
    top: auto !important;
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .purpose .container,
  .community .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); }

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

@media (max-width: 600px) {
  /* Let the headline wrap naturally on narrow viewports — manual <br> is too aggressive */
  .hero h1 br { display: none; }
  /* Long culture words ("COLLABORATION") can clip at the 48px floor — let them
     scale down on narrow phones. */
  .culture-dominant { font-size: clamp(2.1rem, 11vw, 6.5rem); }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
