/* Who We Serve page composition. Maps 1:1 to the plain-HTML mockup
   in reference/Design/Page_Samples_PLAINHTML/Who We Serve.html. */

/* ── Scroll-in (page-local delay variants) ────────────────── */

/* Generic .scroll-in (opacity + transform) is defined in page-approach.css.
   This page adds numbered delay variants used by the sample. They're
   harmless if the parent .scroll-in CSS hasn't loaded; just extra
   transition-delay properties on a no-op transition. */
.scroll-in.delay-1 { transition-delay: 0.1s; }
.scroll-in.delay-2 { transition-delay: 0.2s; }
.scroll-in.delay-3 { transition-delay: 0.3s; }

/* ── §1 Page Hero ──────────────────────────────────────────── */

.wws-hero {
  position: relative;
  background: var(--sg-cape-navy);
  color: var(--sg-white);
  margin-top: calc(-1 * var(--sg-nav-height));
  padding: calc(var(--sg-nav-height) + 128px) 56px 140px;
  overflow: hidden;
  isolation: isolate;
}

.wws-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 18% 18%, rgba(26, 86, 219, 0.30), transparent 65%),
    radial-gradient(700px 500px at 82% 90%, rgba(200, 32, 47, 0.16), transparent 70%);
  z-index: -1;
}

.wws-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 64px);
  z-index: -1;
  pointer-events: none;
}

.wws-hero__inner { max-width: 1280px; margin: 0 auto; }

.wws-hero__h1 {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-black);
  font-size: clamp(36px, 5.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--sg-white);
  margin: 0 auto 96px;
  max-width: 22ch;
  text-align: center;
  text-wrap: balance;
}

.wws-hero__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 96px;
}

.wws-hero__col {
  position: relative;
  padding-top: 28px;
}

.wws-hero__col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--sg-hero-blue);
}

.wws-hero__col--contra::before { background: var(--sg-hero-red); }

.wws-hero__col-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--sg-white);
  margin: 0 0 40px;
  max-width: 50ch;
  text-wrap: pretty;
}

.wws-hero__col--contra .wws-hero__col-body {
  color: rgba(255, 255, 255, 0.55);
}

.wws-hero__col-label {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 16px;
  font-weight: var(--sg-w-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sg-hero-blue);
}

.wws-hero__col--contra .wws-hero__col-label {
  color: var(--sg-hero-red);
}

.wws-hero__routes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.wws-hero__route {
  color: var(--sg-white);
  text-decoration: none;
  font-weight: var(--sg-w-semibold);
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wws-hero__route .arrow {
  transition: transform 0.25s ease;
  color: var(--sg-hero-blue);
}

.wws-hero__route:hover {
  color: var(--sg-white);
  border-color: var(--sg-hero-blue);
  text-decoration: none;
}

.wws-hero__route:hover .arrow { transform: translateX(4px); }

@media (max-width: 880px) {
  .wws-hero { padding: calc(var(--sg-nav-height) + 80px) 28px 100px; }
  .wws-hero__h1 { margin-bottom: 64px; }
  .wws-hero__columns { grid-template-columns: 1fr; gap: 48px; margin-bottom: 64px; }
  .wws-hero__routes { gap: 28px; flex-direction: column; align-items: flex-start; }
}

/* ── §2 Executive Leaders ─────────────────────────────────── */

.execs {
  background: var(--sg-white);
  padding: 140px 56px 140px;
}

.execs__inner { max-width: 1200px; margin: 0 auto; }

.execs__label {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sg-hero-blue);
  font-weight: var(--sg-w-bold);
  margin: 0 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.execs__label .rule {
  width: 32px;
  height: 1px;
  background: var(--sg-hero-blue);
  display: inline-block;
}

.execs__head {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px;
  align-items: start;
}

.execs__h2 {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-bold);
  font-size: clamp(36px, 4.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--sg-ink);
  margin: 0 0 32px;
  text-wrap: balance;
  max-width: 18ch;
}

.execs__body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--sg-steel);
  margin: 0 0 18px;
  text-wrap: pretty;
  max-width: 50ch;
}

.execs__body:last-of-type { margin-bottom: 0; }

.execs__right {
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.execs__pull {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-bold);
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--sg-hero-blue);
  margin: 0;
  text-wrap: balance;
  max-width: 28ch;
}

.execs__followon {
  font-size: 22px;
  line-height: 1.5;
  color: var(--sg-hero-red);
  margin: 0;
  text-wrap: pretty;
  max-width: 50ch;
}

/* Layer 2: industry grid */
.execs__industries {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #161d2c;
  display: block;
  text-decoration: none;
  color: var(--sg-white);
  border-radius: 8px;
  isolation: isolate;
}

.industry-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.6s ease;
}

/* When a real photo loads, it covers the gradient. If the image is
   missing or fails (onerror sets display: none), the underlying
   CSS gradient stays visible as the fallback. */
.industry-card__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.industry-card:hover .industry-card__bg {
  transform: scale(1.04);
  filter: brightness(1.12);
}

.industry-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 22, 35, 0) 40%, rgba(15, 22, 35, 0.85) 100%);
}

.industry-card__meta {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.20em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.industry-card__name {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-bold);
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--sg-white);
  margin: 0;
}

/* Per-industry placeholder gradients. Swap to real photography by
   replacing .industry-card__bg with a div using background-image. */
.industry-card__bg--a {
  background:
    radial-gradient(55% 60% at 70% 28%, rgba(26, 86, 219, 0.55), transparent 70%),
    linear-gradient(135deg, #0F1623 0%, #1c2c5a 100%);
}
.industry-card__bg--b {
  background:
    radial-gradient(60% 60% at 30% 70%, rgba(220, 220, 220, 0.10), transparent 70%),
    repeating-linear-gradient(90deg, #1c2330 0 2px, #161d28 2px 6px),
    linear-gradient(160deg, #1c2436 0%, #0F1623 100%);
}
.industry-card__bg--c {
  background:
    radial-gradient(55% 60% at 50% 50%, rgba(200, 32, 47, 0.28), transparent 70%),
    linear-gradient(120deg, #0F1623 0%, #2a1a22 100%);
}
.industry-card__bg--d {
  background:
    radial-gradient(60% 70% at 80% 78%, rgba(26, 86, 219, 0.30), transparent 70%),
    repeating-linear-gradient(120deg, #1a1f2c 0 14px, #131822 14px 28px);
}
.industry-card__bg--e {
  background:
    radial-gradient(55% 60% at 18% 30%, rgba(243, 240, 234, 0.18), transparent 70%),
    linear-gradient(90deg, #0F1623 0%, #1d2538 100%);
}
.industry-card__bg--f {
  background:
    radial-gradient(55% 70% at 60% 40%, rgba(46, 107, 255, 0.22), transparent 70%),
    linear-gradient(200deg, #11192a 0%, #070a11 100%);
}

/* Layer 3: accordion */
.execs__accordion {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 64px;
  align-items: start;
}

.acc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sg-rule);
}

.acc-item {
  border-bottom: 1px solid var(--sg-rule);
}

.acc-button {
  width: 100%;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  padding: 22px 16px 22px 20px;
  margin-left: -23px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  display: block;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.acc-button__label {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-bold);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--sg-ink);
  transition: color 0.2s ease;
  text-wrap: balance;
  display: block;
}

.acc-button:hover .acc-button__label { color: var(--sg-hero-blue); }

.acc-item.is-active .acc-button { border-left-color: var(--sg-hero-blue); }
.acc-item.is-active .acc-button__label { color: var(--sg-hero-blue); }

.acc-detail {
  padding-top: 4px;
  min-height: 240px;
}

.acc-panel { display: none; }
.acc-panel.is-active { display: block; }

.acc-panel__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--sg-steel);
  margin: 0;
  text-wrap: pretty;
  max-width: 58ch;
}

@media (max-width: 1080px) {
  .execs__head { grid-template-columns: 1fr; gap: 40px; }
  .execs__industries { grid-template-columns: repeat(2, 1fr); }
  .execs__accordion { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .execs { padding: 100px 28px; }
  .execs__industries { grid-template-columns: 1fr; }
  .industry-card { aspect-ratio: 16 / 10; }
}

/* ── §3 Founders ───────────────────────────────────────────── */

.founders { position: relative; }

/* Layer 1: Hero Blue centered opener */
.founders__l1 {
  background: var(--sg-hero-blue);
  color: var(--sg-white);
  padding: 140px 56px 80px;
}

.founders__l1-inner { max-width: 1200px; margin: 0 auto; }

.founders__eyebrow {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sg-white);
  font-weight: var(--sg-w-bold);
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-start;
}

.founders__eyebrow .rule {
  width: 32px;
  height: 1px;
  background: var(--sg-white);
  display: inline-block;
}

.founders__h2 {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-black);
  font-size: clamp(36px, 5.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--sg-white);
  margin: 0;
  text-wrap: balance;
  max-width: 22ch;
}

/* Layer 2: 3 cards on Hero Blue */
.founders__l2 {
  background: var(--sg-hero-blue);
  padding: 40px 56px 140px;
}

.founders__l2-inner { max-width: 1200px; margin: 0 auto; }

.founder-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.founder-card {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.25s ease, transform 0.25s ease;
}

.founder-card:hover { background: rgba(255, 255, 255, 0.14); }

.founder-card__image {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  isolation: isolate;
  background: #1c3a8a;
}

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

.founder-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 22, 35, 0.25) 100%);
  pointer-events: none;
}

.founder-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.founder-card__name {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-bold);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--sg-white);
  margin: 0;
}

.founder-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.80);
  margin: 0;
  text-wrap: pretty;
}

/* Layer 3: Warm White editorial narrative */
.founders__l3 {
  background: var(--sg-white);
}

.founders__l3-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.founders__l3-top-text {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}

.founders__l3-top-text h3 {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-bold);
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--sg-ink);
  margin: 0 0 28px;
  text-wrap: balance;
}

.founders__l3-top-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--sg-steel);
  margin: 0;
  text-wrap: pretty;
}

.founders__l3-top-image {
  position: relative;
  background: var(--sg-cape-navy);
  overflow: hidden;
  min-height: 520px;
}

.founders__l3-top-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founders__l3-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.founders__l3-col {
  position: relative;
  padding: 80px 48px;
}

.founders__l3-col + .founders__l3-col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 80px;
  bottom: 80px;
  width: 1px;
  background: var(--sg-rule);
}

.founders__l3-col p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--sg-ink);
  margin: 0 0 32px;
  text-wrap: pretty;
}

.founders__l3-col p:last-of-type { margin-bottom: 0; }

@media (max-width: 1080px) {
  .founders__l3-top { grid-template-columns: 1fr; }
  .founders__l3-top-text { padding: 80px 32px 60px; max-width: 100%; }
  .founders__l3-top-image { min-height: 360px; }
  .founders__l3-bottom { grid-template-columns: 1fr; }
  .founders__l3-col { padding: 60px 32px; }
  .founders__l3-col + .founders__l3-col::before {
    left: 32px;
    right: 32px;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .founder-cards { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .founders__l1 { padding: 100px 28px 64px; }
  .founders__l2 { padding: 24px 28px 100px; }
}

/* ── §4 Investors + Ecosystem ─────────────────────────────── */

.investors {
  position: relative;
  background: var(--sg-cape-navy);
  color: var(--sg-white);
  overflow: hidden;
  isolation: isolate;
}

.investors::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 88% 18%, rgba(26, 86, 219, 0.22), transparent 65%),
    radial-gradient(700px 500px at 10% 88%, rgba(200, 32, 47, 0.10), transparent 70%);
  z-index: -1;
}

.investors::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 64px);
  z-index: -1;
  pointer-events: none;
}

.investors__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
  position: relative;
  z-index: 1;
}

.investors__part1 { padding: 120px 0 96px; }

.investors__eyebrow-wrap { margin-bottom: 56px; }

.investors__eyebrow {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sg-hero-blue);
  font-weight: var(--sg-w-bold);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.investors__eyebrow .rule {
  width: 32px;
  height: 1px;
  background: var(--sg-hero-blue);
  display: inline-block;
}

.investors__part1-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.investors__h2 {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-bold);
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--sg-white);
  margin: 0 0 32px;
  text-wrap: balance;
}

.investors__body {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto;
  max-width: 700px;
  text-wrap: pretty;
}

.investors__part2 {
  padding: 24px 0 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.investors__venn {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin: 0 auto;
}

.investors__venn svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.investors__venn .node-label {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-bold);
  font-size: 13px;
  letter-spacing: 0.04em;
  fill: var(--sg-white);
}

.investors__venn .center-label {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-black);
  font-size: 14px;
  letter-spacing: -0.01em;
  fill: var(--sg-white);
}

.investors__part2-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.investors__h3 {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-bold);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--sg-white);
  margin: 0;
  text-wrap: balance;
}

.investors__part2-body {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  text-wrap: pretty;
}

.investors__part3 {
  padding: 0 0 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.inv-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.inv-card:hover {
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.18);
}

.inv-card__icon {
  width: 32px;
  height: 32px;
  color: var(--sg-hero-blue);
}

.inv-card__icon svg { width: 100%; height: 100%; display: block; }

.inv-card__title {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-bold);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--sg-white);
  margin: 0;
  text-wrap: balance;
}

.inv-card__body {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  text-wrap: pretty;
}

@media (max-width: 1080px) {
  .investors__part2 { grid-template-columns: 1fr; gap: 56px; }
  .investors__part3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .investors__inner { padding: 0 28px; }
  .investors__part1 { padding: 96px 0 64px; }
  .investors__part3 { padding-bottom: 100px; }
}

/* ── §5 Closing CTA ────────────────────────────────────────── */

.wws-close {
  /* Same background pattern as the home and approach closing CTAs */
  background-color: var(--sg-cream);
  background-image:
    linear-gradient(rgba(243, 240, 234, 0.40), rgba(243, 240, 234, 0.55)),
    url('/img/home-cta-bg.webp');
  background-position: center center, center center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  padding: 140px 56px;
}

.wws-close__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.wws-close__eyebrow {
  color: var(--sg-hero-blue);
  margin-bottom: 24px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: var(--sg-w-bold);
}

.wws-close__h2 {
  font-family: var(--sg-font-display);
  font-weight: var(--sg-w-bold);
  font-size: clamp(32px, 3.8vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--sg-ink);
  margin: 0 0 24px;
  text-wrap: balance;
}

.wws-close__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--sg-steel);
  margin: 0 0 40px;
  text-wrap: pretty;
}

.wws-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

@media (max-width: 640px) {
  .wws-close { padding: 100px 28px; }
}
