/* ─────────────────────────────────────────
   IMPORTS & RESET
───────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* scroll-behavior handled by GSAP scrub — native smooth-scroll removed to avoid conflict */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  background: #f8f8f8;
  overflow-x: hidden;
}

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

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


/* ─────────────────────────────────────────
   ANIMATION KEYFRAMES
───────────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes photoReveal {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}

/* Utility: initially hidden before JS triggers */
.anim-hidden {
  opacity: 0;
}


/* ─────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 75px;
  background: rgba(33, 33, 33, 0.05);
  backdrop-filter: blur(11.2px);
  -webkit-backdrop-filter: blur(11.2px);
  border-bottom: 1px solid rgba(123, 123, 123, 0.31);

  /* entrance animation */
  animation: fadeInDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav-logo img {
  width: 84px;
  height: 58px;
  max-width: none;
  object-fit: contain;
}

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

.nav-link {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 6px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 5px;
  height: 5px;
  background: #1CF0FF;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover::after {
  transform: translateX(-50%) scale(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: #fff;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 400;
  color: #2b2b2b;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: #f0f0f0;
}

.nav-cta-arrow {
  width: 23px;
  height: 23px;
}


/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  display: flex;
  width: 100%;
  height: 100vh;
  min-height: 600px;

  /* Sticks in place while about section slides over it */
  position: sticky;
  top: 0;
  z-index: 1;
  will-change: transform, opacity;
  transform-origin: top center;
}


/* ── LEFT PANEL ── */
.hero-left {
  position: relative;
  width: 50%;
  background-color: #165d79;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* Decorative swoosh pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-pattern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Text content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 90px 80px 90px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 752px;
  color: #fff;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;

  /* animation */
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero-title {
  font-size: clamp(42px, 3.75vw, 72px);
  font-weight: 400;
  line-height: 1.11;

  /* animation */
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.hero-desc {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 513px;

  /* animation */
  opacity: 0;
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}


/* ── RIGHT PANEL ── */
.hero-right {
  position: relative;
  width: 50%;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  /* animation */
  opacity: 0;
  animation: photoReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* Dark gradient at the bottom of the photo */
.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}

/* Pills */
.hero-pills {
  position: absolute;
  bottom: 120px;
  left: 74px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: 2;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 22px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  color: #fff;
  font-size: clamp(20px, 1.72vw, 33px);
  font-weight: 400;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;

  /* animation */
  opacity: 0;
}

.pill:nth-child(1) { animation: fadeInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.0s both; }
.pill:nth-child(2) { animation: fadeInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.15s both; }
.pill:nth-child(3) { animation: fadeInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.3s both; }

.pill.is-active {
  border-color: #1CF0FF;
  background: rgba(28, 240, 255, 0.08);
}

.pill-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.pill.is-active .pill-dot {
  background: #1CF0FF;
  box-shadow: 0 0 6px rgba(28, 240, 255, 0.8);
  transform: scale(1.2);
}


/* ─────────────────────────────────────────
   SCROLL-TRIGGERED ANIMATIONS (for later sections)
   Classes toggled by IntersectionObserver
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─────────────────────────────────────────
   MARKETS TICKER STRIP (fixed, sits below the nav)
───────────────────────────────────────── */
.ticker {
  position: fixed;
  top: 92px;
  left: 0;
  width: 100%;
  z-index: 99;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 11px 0;
  animation: ticker-scroll 90s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: #0c455c;
  letter-spacing: 0.01em;
}

.ticker-sym {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0c455c;
}

.ticker-val {
  color: #2d2d2d;
  font-variant-numeric: tabular-nums;
}

.ticker-chg {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.ticker-chg.is-up   { color: #1a8a4a; }
.ticker-chg.is-down { color: #c43232; }

@media (max-width: 768px) {
  .ticker { top: 86px; }
  .ticker-track {
    gap: 26px;
    padding: 9px 0;
    animation-duration: 70s;
  }
  .ticker-item { font-size: 12px; gap: 7px; }
  .ticker-chg  { font-size: 11px; }
}

/* ─────────────────────────────────────────
   ABOUT SECTION — STICKY SCROLL
───────────────────────────────────────── */

.about-section {
  position: relative;
  z-index: 2;
}

.about-sticky {
  height: 100vh;
  background: #165d79;
  display: flex;
  align-items: center;
  overflow: hidden;
}


/* ── Left photo panel ── */
.about-left {
  position: relative;
  width: 50%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

/* Diagonal stripe texture overlay
   mix-blend-mode: multiply → white areas of the PNG become transparent,
   the blue lines show as slightly darker teal stripes on the panel. */
.about-stripes {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/about-pattern.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.about-photo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Photo swaps between slides */
.about-photo.is-leaving {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
}
.about-photo.is-entering {
  opacity: 0;
  transform: translateX(-50%) translateY(-16px);
}


/* ── Right slides ── */
.about-right {
  flex: 1;
  padding: 0 100px 0 73px;
  position: relative;
  overflow: hidden;
}

.about-slides {
  position: relative;
  min-height: 320px;
}

/* Each slide */
.about-slide {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

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

.about-slide.is-leaving {
  opacity: 0;
  transform: translateY(-32px);
  position: absolute;
}

/* Label */
.about-label {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-size: 22px;
  font-weight: 400;
}

.about-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

/* Heading */
.about-heading {
  display: flex;
  flex-direction: column;
  font-size: clamp(32px, 3.75vw, 72px);
  font-weight: 400;
  line-height: 1.11;
  color: #fff;
}

.line-bright {
  color: #fff;
}

.line-dim {
  color: rgba(255, 255, 255, 0.14);
}

/* Description */
.about-desc {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.55;
  color: #fff;
  max-width: 620px;
}

/* ── Scroll-driven clip reveal ──
   Each text element sits inside an overflow:hidden wrapper (.line-wrap).
   Text starts translated fully below the clip, slides up on scroll progress. */
.line-wrap {
  overflow: hidden;
}

/* desc wrapper needs a bit of vertical padding so descenders aren't clipped */
.desc-wrap {
  padding-bottom: 4px;
}

.line-bright,
.line-dim,
.about-desc {
  display: block;
  /* initial translateY set by GSAP — do not set here */
  will-change: transform;
}

/* .text-revealed transitions handled entirely by GSAP */



/* ── About responsive ── */
@media (max-width: 1024px) {
  .about-right {
    padding: 0 48px 0 40px;
  }
}

@media (max-width: 768px) {
  .about-sticky {
    flex-direction: column;
    height: auto;
    min-height: unset;
    padding-bottom: 0;
  }

  .about-left {
    width: 100%;
    height: 55dvh;
    min-height: 300px;
    order: 1;
  }

  .about-photo {
    height: 110%;
    left: 50%;
    bottom: 0;
    object-position: bottom center;
  }

  .about-right {
    width: 100%;
    padding: 40px 24px 32px 24px;
    overflow: visible;
    order: -1;
  }

  .about-slides {
    min-height: unset;
  }

  .about-slide {
    position: relative;
    inset: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .about-heading {
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1.2;
  }

  .about-desc {
    font-size: 16px;
    max-width: 100%;
  }

  .about-label {
    font-size: 16px;
  }
}


/* ─────────────────────────────────────────
   SERVICES SECTION
───────────────────────────────────────── */
.services-section {
  position: relative;
  z-index: 3;
  background: #ffffff;
  padding: 79px clamp(24px, 4.7vw, 90px);
  display: flex;
  flex-direction: column;
  gap: 68px;
}

/* Header row */
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.services-header-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 895px;
}

.services-label {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 22px;
  color: #2d2d2d;
}

.services-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1CF0FF;
  flex-shrink: 0;
}

.services-heading {
  font-size: clamp(36px, 3.75vw, 72px);
  font-weight: 400;
  line-height: 1.11;
  color: #0c455c;
}

.services-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 47px;
  background: #0b3c4f;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  border-radius: 44px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.services-cta-btn:hover {
  background: #165d79;
}

.services-cta-btn img {
  width: 23px;
  height: 23px;
}

/* Cards row */
.services-cards {
  display: flex;
  gap: 20px;
}

.services-card {
  flex: 1;
  min-width: 0;
  min-height: 574px;
  background: #f5f2ed;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 97px 30px 79px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-card:hover {
  transform: translateY(-4px);
}

.card-image {
  width: 255px;
  height: 255px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin-bottom: 52px;
}

.card-title {
  font-size: 28px;
  font-weight: 400;
  line-height: 30px;
  color: #1c1c1c;
  max-width: 260px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 32px;
  transition: opacity 0.2s ease;
}

.card-link:hover {
  opacity: 0.7;
}

/* ── Services responsive ── */
@media (max-width: 1024px) {
  .services-cards {
    flex-wrap: wrap;
  }

  .services-card {
    flex: 1 1 calc(50% - 10px);
    min-width: 280px;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
    gap: 40px;
  }

  .services-header {
    padding: 0 24px;
  }

  .services-cards {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 24px 16px;
    gap: 16px;
    scrollbar-width: thin;
    scrollbar-color: #0c455c rgba(0, 0, 0, 0.1);
  }

  .services-cards::-webkit-scrollbar {
    height: 3px;
  }
  .services-cards::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
  }
  .services-cards::-webkit-scrollbar-thumb {
    background: #0c455c;
    border-radius: 2px;
  }

  .services-card {
    flex: 0 0 64%;
    min-height: 380px;
    padding: 40px 20px 32px;
    scroll-snap-align: start;
  }

  .card-image {
    width: 150px;
    height: 150px;
    margin-bottom: 22px;
  }

  .card-title {
    font-size: 19px;
    line-height: 24px;
  }

  .card-link {
    font-size: 14px;
    padding-top: 20px;
  }

  .services-cta-btn {
    padding: 14px 28px;
    font-size: 15px;
  }
}


/* ─────────────────────────────────────────
   VISION SECTION
───────────────────────────────────────── */
.vision-section {
  position: relative;
  z-index: 4;
  background: #f8f8f8;
  overflow: hidden;
}

/* Decorative vertical grid lines */
.vision-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(24px, 7.9vw, 152px);
}

.vgl {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
}

.vgl::after {
  content: '';
  position: absolute;
  top: -30%;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(22, 93, 121, 0.55), transparent);
  animation: vgl-sweep 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.vgl:nth-child(2)::after { animation-delay: 0.7s; }
.vgl:nth-child(3)::after { animation-delay: 1.4s; }
.vgl:nth-child(4)::after { animation-delay: 2.1s; }
.vgl:nth-child(5)::after { animation-delay: 2.8s; }

@keyframes vgl-sweep {
  0%   { top: -30%; }
  100% { top: 110%; }
}

/* Inner wrapper */
.vision-inner {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 9.8vw, 189px) clamp(24px, 7.9vw, 152px) clamp(60px, 9.8vw, 189px);
  display: flex;
  flex-direction: column;
}

/* Top area: label + columns */
.vision-top {
  display: flex;
  gap: clamp(32px, 12.9vw, 247px);
  align-items: flex-start;
}

.vision-label {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 22px;
  color: #2d2d2d;
  flex-shrink: 0;
  padding-top: 6px;
}

.vision-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1CF0FF;
  flex-shrink: 0;
}

/* Two columns */
.vision-columns {
  display: flex;
  gap: clamp(32px, 6vw, 116px);
  align-items: flex-start;
  flex: 1;
}

/* Left col */
.vision-left {
  flex: 1;
  max-width: 595px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.vision-subheading {
  font-size: clamp(24px, 2.2vw, 42px);
  font-weight: 400;
  line-height: 1.07;
  color: rgba(12, 69, 92, 0.97);
  max-width: 514px;
}

/* Values list */
.vision-values {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.vision-value {
  font-size: clamp(22px, 2.4vw, 46px);
  font-weight: 400;
  line-height: 1.25;
  color: rgba(12, 69, 92, 0.49);
  cursor: pointer;
  transition: color 0.35s ease, opacity 0.35s ease;
}

.vision-value.is-active {
  color: rgba(12, 69, 92, 0.97);
}

.vision-value:hover:not(.is-active) {
  color: rgba(12, 69, 92, 0.7);
}

/* Right col: image + caption card */
.vision-right {
  flex-shrink: 0;
  width: 550px;
  max-width: 100%;
}

.vision-card {
  position: relative;
}

.vision-card-img-wrap {
  position: relative;
  width: 100%;
  height: 777px;
  overflow: hidden;
}

.vision-card-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.35s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.vision-card-img.is-swapping {
  opacity: 0;
}

.vision-card:hover .vision-card-img {
  transform: scale(1.04);
}

.vision-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

/* Decorative cyan-line "rain" overlay at the top of the image */
.vision-card-rain {
  position: absolute;
  inset: 0 0 auto 0;
  height: 67%;
  background-image: url('../assets/images/vision-rain.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: top center;
  pointer-events: none;
}

/* Caption card overlaps the image bottom */
.vision-card-caption {
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 8px;
  z-index: 2;
  background: #f7f7f7;
  padding: 31px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.35s ease;
}

.vision-card-caption.is-swapping {
  opacity: 0;
}

.vision-caption-title {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.41;
  color: #000;
}

.vision-caption-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: #000;
}

/* ── Vision responsive ── */
@media (max-width: 1024px) {
  .vision-top {
    flex-direction: column;
    gap: 32px;
    width: 100%;
    box-sizing: border-box;
  }

  .vision-columns {
    flex-direction: column;
    gap: 48px;
    width: 100%;
    box-sizing: border-box;
  }

  .vision-left {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .vision-right {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }

  .vision-card {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    background: #f7f7f7;
  }

  .vision-card-img-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    box-sizing: border-box;
  }

  .vision-card-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
  }

  .vision-card-rain {
    width: 100%;
    max-width: 100%;
  }

  /* Move caption out of overlap on mobile: stack below the image */
  .vision-card-caption {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 18px 20px 22px;
  }
}

@media (max-width: 768px) {
  .vision-grid { display: none; }

  .vision-inner {
    padding: 60px 40px 40px;
  }

  .vision-left,
  .vision-right {
    width: 100%;
    box-sizing: border-box;
  }

  /* Horizontal scrollable values row on mobile */
  .vision-values {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    -webkit-overflow-scrolling: touch;
    gap: 28px;
    margin: 0;
    padding: 12px 4px 20px;
    scrollbar-width: thin;
    scrollbar-color: #0c455c rgba(0, 0, 0, 0.1);
  }

  .vision-values::-webkit-scrollbar {
    height: 3px;
  }
  .vision-values::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
  }
  .vision-values::-webkit-scrollbar-thumb {
    background: #0c455c;
    border-radius: 2px;
  }

  .vision-value {
    font-size: 26px;
    line-height: 1.1;
    white-space: nowrap;
    scroll-snap-align: start;
    flex: 0 0 auto;
  }

  .vision-caption-title {
    font-size: 22px;
    line-height: 1.2;
  }

  .vision-caption-desc {
    font-size: 13px;
    line-height: 1.45;
  }
}


/* ─────────────────────────────────────────
   CTA BANNER SECTION
───────────────────────────────────────── */
.cta-section {
  position: relative;
  z-index: 6;
  min-height: 62vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.51);
}

.cta-content {
  position: relative;
  z-index: 1;
  padding: clamp(48px, 6vw, 100px) clamp(24px, 7.9vw, 152px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 28px);
  max-width: 800px;
}

.cta-heading {
  font-size: clamp(36px, 4.8vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

.cta-sub {
  font-size: clamp(14px, 1.3vw, 22px);
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  margin: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #2b2b2b;
  font-size: clamp(12px, 1vw, 18px);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: clamp(12px, 1.2vw, 18px) clamp(24px, 2.5vw, 47px);
  border-radius: 44px;
  transition: background 0.25s ease, color 0.25s ease;
  margin-top: 4px;
}

.cta-btn:hover {
  background: #165d79;
  color: #fff;
}

.cta-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.cta-btn:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 768px) {
  .cta-content {
    max-width: 100%;
  }

  .cta-sub br {
    display: none;
  }
}


/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 7;
  background: #0a506c;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  padding: clamp(48px, 5.5vw, 80px) 75px;
  gap: 0;
}

/* Vertical dividers */
.footer-divider-v {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 clamp(32px, 4vw, 72px);
}

/* Shared col */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 24px);
}

/* Brand col */
.footer-logo-link {
  display: inline-block;
}

.footer-logo {
  width: clamp(100px, 11vw, 175px);
  height: auto;
  display: block;
}

.footer-tagline {
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 320px;
  margin: 0;
}

/* Nav col */
.footer-col-heading {
  font-size: clamp(14px, 1.1vw, 20px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.footer-links a {
  font-size: clamp(14px, 1.1vw, 20px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* Contact col */
.footer-address {
  font-size: clamp(16px, 1.5vw, 26px);
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.59);
  margin: 0;
}

.footer-contact-link {
  display: block;
  font-size: clamp(14px, 1.2vw, 22px);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.59);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: #fff;
}

/* Horizontal divider */
.footer-divider-h {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 75px;
}

/* Bottom bar */
.footer-bottom {
  padding: clamp(18px, 2vw, 28px) 75px;
}

.footer-copy {
  font-size: clamp(13px, 1vw, 20px);
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Mobile */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px 0;
  }

  .footer-divider-v {
    display: none;
  }

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

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-col--contact {
    grid-column: auto;
  }

  .footer-address {
    font-size: clamp(18px, 5vw, 28px);
  }
}


/* ─────────────────────────────────────────
   GSAP WORD SPLIT
───────────────────────────────────────── */
.gsap-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
}
.gsap-word {
  display: inline-block;
  will-change: transform;
}


/* Stagger delays for child elements */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }


/* ─────────────────────────────────────────
   HAMBURGER BUTTON (hidden on desktop)
───────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Animate to X when open */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ─────────────────────────────────────────
   TABLET  (≤ 1024px)
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .navbar {
    padding: 16px 40px;
  }

  .nav-links {
    gap: 32px;
  }

  .nav-link {
    font-size: 15px;
  }

  .nav-cta {
    font-size: 15px;
    padding: 9px 14px;
  }

  .hero-content {
    padding: 0 48px 64px 48px;
  }

  .hero-pills {
    left: 32px;
    bottom: 80px;
    gap: 14px;
  }

  .pill {
    font-size: clamp(16px, 2vw, 24px);
    padding: 5px 18px;
  }
}


/* ─────────────────────────────────────────
   MOBILE  (≤ 768px)
───────────────────────────────────────── */
@media (max-width: 768px) {

  /* ── Nav ── */
  .navbar {
    padding: 14px 20px;
    background: rgba(22, 93, 121, 0.75);
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    /* hidden by default, slides down on open */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: rgba(22, 93, 121, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.4s ease;
    z-index: 99;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    font-size: 24px;
  }

  .nav-cta {
    font-size: 18px;
    padding: 12px 24px;
  }

  /* ── Hero: stack vertically ── */
  .hero {
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
  }

  /* Text panel first on mobile */
  .hero-left {
    width: 100%;
    min-height: 55dvh;
    align-items: center;
    justify-content: center;
    order: -1;
    /* Top padding clears the fixed nav (~92px) + ticker (~44px) so the
       title isn't hidden behind the chrome on mobile. */
    padding-top: 160px;
    box-sizing: border-box;
  }

  /* Photo panel below */
  .hero-right {
    width: 100%;
    height: 45dvh;
    min-height: 260px;
  }

  .hero-photo {
    object-position: top center;
  }

  /* Pills: side by side */
  .hero-pills {
    bottom: 16px;
    left: 12px;
    right: 12px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .pill {
    font-size: 16px;
    padding: 10px 20px;
  }

  .hero-content {
    padding: 32px 24px;
    max-width: 100%;
    gap: 10px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-title {
    font-size: clamp(28px, 7vw, 44px);
    line-height: 1.15;
  }

  .hero-desc {
    font-size: 16px;
    max-width: 100%;
  }
}


/* ─────────────────────────────────────────
   SMALL MOBILE  (≤ 400px)
───────────────────────────────────────── */
@media (max-width: 400px) {
  .nav-logo img {
    width: 60px;
    height: auto;
  }

  .hero-title {
    font-size: clamp(26px, 8vw, 36px);
  }

  .hero-desc {
    font-size: 14px;
  }
}


/* ═══════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS FIXES
═══════════════════════════════════════════════════════ */

/* ─── CRITICAL: About text clip not reset on mobile ─── */
@media (max-width: 768px) {
  .line-bright,
  .line-dim,
  .about-desc {
    transform: translateY(0) !important;
    transition: none !important;
  }
}

/* ─── ≤ 768px additions ─── */
@media (max-width: 768px) {

  /* NAVBAR */
  .nav-logo img {
    width: 70px;
    height: auto;
  }
  .nav-links .nav-cta {
    margin-top: 8px;
    background: #fff;
    color: #2b2b2b;
    border-radius: 24px;
    padding: 14px 32px;
    font-size: 20px;
  }

  /* HERO */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }
  .hero-right {
    height: 45vh;
    height: 45dvh;
    min-height: 260px;
  }
  .hero-left {
    min-height: 55vh;
    min-height: 55dvh;
  }
  .hero-pills {
    right: 12px;
    left: 12px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pill {
    font-size: 15px;
    padding: 8px 18px;
  }

  /* ABOUT */
  .about-sticky {
    padding-top: 74px;
  }
  .about-left {
    height: 55vh;
    height: 55dvh;
    min-height: 280px;
  }
  .about-slide + .about-slide {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  /* SERVICES */
  .services-heading {
    font-size: clamp(26px, 7vw, 40px);
    line-height: 1.2;
  }
  .services-label {
    font-size: 16px;
  }
  .services-cta-btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .services-card {
    height: auto;
    min-height: 340px;
  }
  .card-content {
    padding: 28px 24px;
  }

  /* VISION */
  .vision-inner {
    padding: 60px 24px 60px;
  }
  .vision-label {
    font-size: 16px;
  }
  .vision-caption-title {
    font-size: 22px;
    line-height: 1.3;
  }
  .vision-caption-desc {
    font-size: 14px;
  }
  .vision-card-caption {
    margin-left: 0;
  }

  /* CTA BANNER */
  .cta-btn {
    font-size: 14px;
    padding: 14px 28px;
    letter-spacing: 0.03em;
  }
  .cta-section {
    min-height: 50vh;
  }

  /* FOOTER — fix critical 75px padding crushing to 170px content width */
  .footer-main {
    padding: 48px 24px;
  }
  .footer-divider-h {
    margin: 0 24px;
  }
  .footer-bottom {
    padding: 20px 24px;
  }
}


/* ─── ≤ 400px additions ─── */
@media (max-width: 400px) {

  /* HERO */
  .pill {
    font-size: 13px;
    padding: 4px 10px;
    white-space: normal;
  }

  /* VISION — 1-column stats on tiny phones */
  .vision-stats {
    grid-template-columns: 1fr;
  }
  .vision-stat {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-left: 16px;
  }
  .vision-stat:first-child {
    border-top: none;
    border-left: 4px solid #165d79;
  }

  /* CTA BANNER */
  .cta-heading {
    font-size: 28px;
  }
  .cta-btn {
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }

  /* FOOTER */
  .footer-main {
    padding: 40px 20px;
    gap: 28px;
  }
  .footer-divider-h {
    margin: 0 20px;
  }
  .footer-bottom {
    padding: 16px 20px;
  }
  .footer-tagline {
    max-width: 100%;
  }
}


/* ─────────────────────────────────────────
   ABOUT PAGE — HERO
   Figma frame: 1920 × 818 (node 2047:3662)
───────────────────────────────────────── */
.about-hero {
  position: relative;
  background: #165d79;
  width: 100%;
  /* Maintain Figma aspect ratio; cap at 818px on huge screens */
  aspect-ratio: 1920 / 818;
  max-height: 818px;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
}

/* Lighter-blue diagonal-cut polygon — Figma Vector 25 (1576×588 at 345, 230) */
.about-hero-vector {
  position: absolute;
  left: calc(345 / 1920 * 100%);
  top: calc(230 / 818 * 100%);
  width: calc(1576 / 1920 * 100%);
  height: calc(588 / 818 * 100%);
  z-index: 1;
  pointer-events: none;
}

/* Warm-yellow vertical line pattern — Figma Frame 15 + Frame 29 */
.about-hero-lines {
  position: absolute;
  left: calc(48 / 1920 * 100%);
  width: calc(1785 / 1920 * 100%);
  opacity: 0.22;
  pointer-events: none;
  z-index: 2;
}
.about-hero-lines--top {
  top: 0;
  height: calc(813.768 / 818 * 100%);
}
.about-hero-lines--bottom {
  /* Frame 29 is offset 20px right per the design */
  left: calc(88 / 1920 * 100%);
  top: calc(557.85 / 818 * 100%);
  height: calc(257.15 / 818 * 100%);
}

/* Right-side photo — Figma Frame 1261152328 (1003×818 at 914,0).
   New asset is 960×818 (matches frame height exactly). */
.about-hero-photo {
  position: absolute;
  top: 0;
  left: calc(914 / 1920 * 100%);
  width: calc(1003 / 1920 * 100%);
  height: 100%;
  overflow: hidden;
  z-index: 3;
}
.about-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Left-side text — Figma Frame at (90, 319), 513 wide */
.about-hero-text {
  position: absolute;
  left: calc(90 / 1920 * 100%);
  top: calc(319 / 818 * 100%);
  width: calc(513 / 1920 * 100%);
  min-width: 320px;
  max-width: 513px;
  z-index: 4;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-hero-title {
  font-size: clamp(40px, 3.75vw, 72px);
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
  color: #fff;
  white-space: nowrap;
}

.about-hero-desc {
  font-size: clamp(14px, 1.15vw, 22px);
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

/* Active nav link style */
.nav-link.is-active {
  color: #fff;
  opacity: 1;
}

/* ── About hero responsive ── */
@media (max-width: 900px) {
  .about-hero {
    aspect-ratio: auto;
    max-height: none;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  /* Photo stacks below text */
  .about-hero-photo {
    position: relative;
    left: 0;
    width: 100%;
    height: clamp(280px, 60vw, 420px);
    order: 2;
  }
  .about-hero-photo img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-hero-text {
    position: relative;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    /* Top padding clears the fixed nav (~92px) + ticker (~44px) so the
       title isn't hidden behind the chrome on mobile. */
    padding: 160px 28px 64px;
    order: 1;
  }

  .about-hero-title {
    white-space: normal;
  }

  /* Decorative layers cover only the upper text area */
  .about-hero-vector,
  .about-hero-lines--top {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }

  .about-hero-lines--bottom {
    display: none;
  }
}


/* ─────────────────────────────────────────
   ABOUT PAGE — QUOTE SECTION
   Figma frame: 1920 × 735 (node 2059:3723)
───────────────────────────────────────── */
.about-quote {
  position: relative;
  background: #f8f8f8;
  width: 100%;
  padding: clamp(80px, 12vw, 232px) clamp(24px, 6vw, 90px) clamp(80px, 12vw, 232px);
  display: flex;
  justify-content: center;
}

.about-quote-inner {
  width: 100%;
  max-width: 1148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.about-quote-text {
  margin: 0;
  font-size: clamp(36px, 6.5vw, 100px);
  line-height: 1.11;
  font-weight: 400;
  text-align: center;
  color: #0c455c;
  word-spacing: 0.05em;
}

/* Each word starts dim — JS scrubs them to the bright color on scroll */
.about-quote-text .qw {
  color: rgba(12, 69, 92, 0.12);
  transition: color 0.25s ease;
  display: inline-block;
}

.about-quote-author {
  margin: 0;
  font-size: clamp(16px, 1.15vw, 22px);
  line-height: 1.3;
  font-weight: 400;
  color: #7d7d7d;
  white-space: nowrap;
}

/* ── Quote responsive ── */
@media (max-width: 768px) {
  .about-quote {
    padding: 80px 28px;
  }
}


/* ─────────────────────────────────────────
   ABOUT PAGE — UDGIT BIO SECTION
   Figma frame: 1920 × 1002 (node 2059:3945)
───────────────────────────────────────── */
.about-udgit {
  position: relative;
  background: #165d79;
  width: 100%;
  /* Keep Figma proportion; collapse on narrow viewports via media query */
  aspect-ratio: 1920 / 1002;
  max-height: 1002px;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

/* Left photo (965 wide of 1920 = 50.26%) */
.about-udgit-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(965 / 1920 * 100%);
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.about-udgit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Right text column. Figma:
   - heading at (1092, 307)
   - body at  (1092, 394), width 670  */
.about-udgit-text {
  position: absolute;
  left: calc(1092 / 1920 * 100%);
  top: calc(307 / 1002 * 100%);
  width: calc(670 / 1920 * 100%);
  max-width: 670px;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-udgit-title {
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1.41;
  letter-spacing: -0.02em;
  color: #c1c1c1;
}

.about-udgit-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-udgit-body p {
  margin: 0;
  font-family: 'Inter', 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 0.94vw, 18px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #fff;
}

/* ── Udgit responsive ── */
@media (max-width: 900px) {
  .about-udgit {
    aspect-ratio: auto;
    max-height: none;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .about-udgit-photo {
    position: relative;
    width: 100%;
    height: clamp(320px, 80vw, 520px);
  }

  .about-udgit-text {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    padding: 56px 28px 72px;
    box-sizing: border-box;
    gap: 20px;
  }
}


/* ─────────────────────────────────────────
   ABOUT PAGE — PURPOSE SECTION
   Figma frame: 1920 × 1002 (node 2059:3952)
   Mirror of the Udgit section: photo right, darker bg.
───────────────────────────────────────── */
.about-purpose {
  position: relative;
  background: #053446;
  width: 100%;
  aspect-ratio: 1920 / 1002;
  max-height: 1002px;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

/* Right photo (959 wide of 1920 ≈ 49.95%) */
.about-purpose-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(959 / 1920 * 100%);
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.about-purpose-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Left text column. Figma:
   - heading at (165, 269), width 659
   - body at  (165, 432), width 670  */
.about-purpose-text {
  position: absolute;
  left: calc(165 / 1920 * 100%);
  top: calc(269 / 1002 * 100%);
  width: calc(670 / 1920 * 100%);
  max-width: 670px;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.about-purpose-title {
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #c1c1c1;
  max-width: 659px;
}

.about-purpose-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-purpose-body p {
  margin: 0;
  font-family: 'Inter', 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 0.94vw, 18px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #fff;
}

/* ── Purpose responsive ── */
@media (max-width: 900px) {
  .about-purpose {
    aspect-ratio: auto;
    max-height: none;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .about-purpose-photo {
    position: relative;
    right: auto;
    width: 100%;
    height: clamp(320px, 80vw, 520px);
    order: 1;
  }

  .about-purpose-text {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    padding: 56px 28px 72px;
    box-sizing: border-box;
    gap: 24px;
    order: 2;
  }
}


/* ─────────────────────────────────────────
   ABOUT PAGE — PHILOSOPHY CARDS
   Figma frame: 1920 × ~870 (node 2059:3953)
   Cards are 431 × 481, gap 23. 3.5 visible, rest scrolls.
───────────────────────────────────────── */
.philosophy {
  position: relative;
  background: #fff;
  padding: clamp(60px, 8vw, 115px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
}

.philosophy-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 100px);
  padding: 0 clamp(24px, 9vw, 173px);
  margin-bottom: clamp(48px, 5vw, 84px);
  flex-wrap: wrap;
}

.philosophy-title {
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 2.2vw, 42px);
  line-height: 1.41;
  letter-spacing: -0.02em;
  color: #0c455c;
  white-space: nowrap;
}

.philosophy-sub {
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 1.7vw, 32px);
  line-height: 1.41;
  color: rgba(12, 69, 92, 0.97);
  max-width: 514px;
}

/* Horizontal scroll row — left aligned with section padding,
   right open so cards visibly overflow past the viewport edge. */
.philosophy-cards {
  display: flex;
  gap: 23px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: clamp(24px, 8.6vw, 165px);
  -webkit-overflow-scrolling: touch;
  padding: 0 0 28px clamp(24px, 8.6vw, 165px);
  scrollbar-width: thin;
  scrollbar-color: #0c455c rgba(0, 0, 0, 0.08);
}

.philosophy-cards::-webkit-scrollbar {
  height: 4px;
}
.philosophy-cards::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}
.philosophy-cards::-webkit-scrollbar-thumb {
  background: #0c455c;
  border-radius: 2px;
}

/* Each card sized so ~3.5 fit on screen between the left
   section padding and the right viewport edge. With 4 cards
   present, the last card naturally overflows the viewport. */
.philosophy-card {
  position: relative;
  flex: 0 0 calc((100vw - clamp(24px, 8.6vw, 165px) - 2.5 * 23px) / 3.5);
  max-width: 431px;
  aspect-ratio: 431 / 481;
  overflow: hidden;
  scroll-snap-align: start;
  isolation: isolate;
  background: #111;
}

/* Right-side trailing spacer so the last card doesn't snap flush
   to the viewport edge when scrolled to the end. */
.philosophy-cards::after {
  content: '';
  flex: 0 0 clamp(24px, 4vw, 80px);
}

/* Stack of images inside the card */
.philosophy-card-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.philosophy-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.philosophy-card-img.is-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
}

/* Hover: image blurs + slight zoom; overlay deepens */
.philosophy-card:hover .philosophy-card-img.is-active {
  transform: scale(1.07);
  filter: blur(10px);
}
.philosophy-card:hover .philosophy-card-shade {
  background: rgba(0, 0, 0, 0.55);
}

.philosophy-card-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 1;
  transition: background 0.55s ease;
}

.philosophy-card--dark .philosophy-card-shade {
  background: rgba(0, 0, 0, 0.48);
}

.philosophy-card-body {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #fff;
}

.philosophy-card-title {
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 1.8vw, 34px);
  line-height: 1.4;
  color: #fff;
}

/* Body copy hidden by default — slides in + fades on hover */
.philosophy-card-desc {
  margin: 0;
  font-family: 'Inter', 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 0.94vw, 18px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #fff;
  max-width: 373px;
  opacity: 0;
  transform: translateY(14px);
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.philosophy-card:hover .philosophy-card-desc {
  opacity: 1;
  transform: translateY(0);
  max-height: 260px;
}

/* ── Philosophy responsive ── */
@media (max-width: 1024px) {
  .philosophy-cards {
    gap: 20px;
    padding: 0 0 24px 40px;
    scroll-padding-left: 40px;
  }

  .philosophy-card {
    /* 2.5 visible on tablet, right side overflows */
    flex: 0 0 calc((100vw - 40px - 1.5 * 20px) / 2.5);
  }
}

@media (max-width: 768px) {
  .philosophy-header {
    flex-direction: column;
    padding: 0 28px;
    margin-bottom: 36px;
    gap: 18px;
  }

  .philosophy-title {
    white-space: normal;
  }

  .philosophy-cards {
    gap: 16px;
    padding: 0 0 24px 28px;
    scroll-padding-left: 28px;
  }

  .philosophy-card {
    /* ~1.2 visible on phone, next card peeks off the right */
    flex: 0 0 calc((100vw - 28px - 0.2 * 16px) / 1.2);
    aspect-ratio: 360 / 420;
  }

  .philosophy-card-body {
    left: 22px;
    right: 22px;
    bottom: 22px;
    gap: 10px;
  }
}

/* Touch devices can't hover — keep the body copy revealed so
   users still see the description. */
@media (hover: none) and (pointer: coarse) {
  .philosophy-card-desc {
    opacity: 1;
    transform: translateY(0);
    max-height: 320px;
  }
  .philosophy-card-img.is-active {
    filter: blur(0);
  }
}

/* ─────────────────────────────────────────
   ABOUT — WHO WE SERVE
   Light-blue field with warm vertical line
   pattern, horizontal scroll row of beige
   cards. Uses same left padding + gap as
   the philosophy section above.
───────────────────────────────────────── */
.serve {
  position: relative;
  background: #c3e9f8;
  padding: clamp(60px, 8vw, 90px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
  isolation: isolate;
}

.serve-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.serve-bg-lines {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.18;
}

.serve-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 100px);
  padding: 0 clamp(24px, 8.6vw, 165px);
  margin-bottom: clamp(48px, 5vw, 86px);
  flex-wrap: wrap;
}

.serve-title {
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 2.2vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0c455c;
  white-space: nowrap;
}

.serve-sub {
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.7vw, 32px);
  line-height: 1.41;
  color: rgba(12, 69, 92, 0.97);
  max-width: 838px;
}

/* Horizontal scroll row — matches philosophy section padding/gap */
.serve-cards {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 23px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: clamp(24px, 8.6vw, 165px);
  -webkit-overflow-scrolling: touch;
  padding: 0 0 28px clamp(24px, 8.6vw, 165px);
  scrollbar-width: thin;
  scrollbar-color: #0c455c rgba(0, 0, 0, 0.08);
}

.serve-cards::-webkit-scrollbar {
  height: 4px;
}
.serve-cards::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}
.serve-cards::-webkit-scrollbar-thumb {
  background: #0c455c;
  border-radius: 2px;
}

/* Right-side trailing spacer */
.serve-cards::after {
  content: '';
  flex: 0 0 clamp(24px, 4vw, 80px);
}

.serve-card {
  position: relative;
  flex: 0 0 calc((100vw - clamp(24px, 8.6vw, 165px) - 2.5 * 23px) / 3.5);
  max-width: 431px;
  min-height: calc((100vw - clamp(24px, 8.6vw, 165px) - 2.5 * 23px) / 3.5 * 360 / 431);
  background: #f5f2ed;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 28px;
  box-sizing: border-box;
}

.serve-card-img-wrap {
  width: 58%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.serve-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.serve-card-caption {
  margin: clamp(14px, 1.6vw, 26px) auto 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 24px);
  line-height: 1.15;
  color: #1c1c1c;
  text-align: center;
  max-width: 349px;
}

/* ── Who We Serve responsive ── */
@media (max-width: 1024px) {
  .serve-cards {
    gap: 20px;
    padding: 0 0 24px 40px;
    scroll-padding-left: 40px;
  }

  .serve-card {
    flex: 0 0 calc((100vw - 40px - 1.5 * 20px) / 2.5);
    min-height: calc((100vw - 40px - 1.5 * 20px) / 2.5 * 360 / 431);
  }
}

@media (max-width: 768px) {
  .serve-header {
    flex-direction: column;
    padding: 0 28px;
    margin-bottom: 36px;
    gap: 18px;
  }

  .serve-title {
    white-space: normal;
  }

  .serve-cards {
    gap: 16px;
    padding: 0 0 24px 28px;
    scroll-padding-left: 28px;
  }

  .serve-card {
    flex: 0 0 calc((100vw - 28px - 0.2 * 16px) / 1.2);
    min-height: 240px;
    padding: 20px 14px 22px;
  }

  .serve-card-caption {
    font-size: 15px;
    margin-top: 14px;
  }
}

/* ─────────────────────────────────────────
   ABOUT — OUR COMMITMENT
   Figma node 2059:4062. 1920 × 1002.
   Photo left (965 wide), teal-blue bg
   (#165d79), heading + body in right column.
───────────────────────────────────────── */
.commitment {
  position: relative;
  background: #165d79;
  width: 100%;
  aspect-ratio: 1920 / 1002;
  max-height: 1002px;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

/* Left photo (965 wide of 1920 ≈ 50.26%) */
.commitment-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(965 / 1920 * 100%);
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.commitment-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Right text column. Figma:
   - heading at (1092, 397), 42 / 59.2
   - body at  (1092, 484), 670 wide, 18 / 20  */
.commitment-text {
  position: absolute;
  left: calc(1092 / 1920 * 100%);
  top: calc(397 / 1002 * 100%);
  width: calc(670 / 1920 * 100%);
  max-width: 670px;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.commitment-title {
  margin: 0;
  font-family: 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1.41;
  letter-spacing: -0.02em;
  color: #c1c1c1;
}

.commitment-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.commitment-body p {
  margin: 0;
  font-family: 'Inter', 'Geist', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 0.94vw, 18px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: #fff;
}

/* ── Commitment responsive ── */
@media (max-width: 900px) {
  .commitment {
    aspect-ratio: auto;
    max-height: none;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .commitment-photo {
    position: relative;
    left: auto;
    width: 100%;
    height: clamp(320px, 80vw, 520px);
    order: 1;
  }

  .commitment-text {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    padding: 56px 28px 72px;
    box-sizing: border-box;
    gap: 24px;
    order: 2;
  }
}

