/* Page-scoped flagship Services candidate — isolated local preview only */
.services-flagship-page {
  --sf-navy: #071426;
  --sf-navy-soft: #10243d;
  --sf-ink: #0b1627;
  --sf-teal: #087e83;
  --sf-teal-soft: #bde4e1;
  --sf-teal-fog: #eef8f7;
  --sf-cream: #fffdfa;
  --sf-warm: #f7f1e4;
  --sf-gold: #c9a84c;
  --sf-shadow: 0 34px 90px rgba(7, 20, 38, .16);
  background: var(--sf-cream);
  color: var(--sf-ink);
  overflow-x: hidden;
}

.services-flagship-page main {
  background:
    linear-gradient(180deg, #fffdfa 0%, #ffffff 32%, #fffdfa 100%);
}

.services-flagship-page .wrap {
  max-width: 1220px;
}

.services-flagship-page .eyebrow {
  color: var(--sf-teal);
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sf-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 84px) 0 clamp(54px, 7vw, 86px);
  background:
    radial-gradient(900px 430px at 76% 2%, rgba(0, 212, 212, .22), transparent 72%),
    radial-gradient(640px 360px at 10% 12%, rgba(201, 168, 76, .16), transparent 76%),
    linear-gradient(180deg, #fffdfa 0%, #f1faf9 62%, #fffdfa 100%);
}

.sf-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -1px;
  height: 128px;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0), #fffdfa 84%);
  pointer-events: none;
}

.sf-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 42px);
  align-items: center;
  justify-items: center;
}

.sf-hero-copy {
  max-width: 660px;
  text-align: center;
}

.sf-hero h1 {
  margin: 6px 0 16px;
  color: var(--sf-navy);
  font-size: clamp(2.5rem, 4.7vw, 4.45rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.sf-hero-copy > p:last-child {
  color: #243650;
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  font-weight: 650;
  line-height: 1.62;
}

.sf-service-box {
  position: relative;
  overflow: hidden;
  width: min(100%, 760px);
  justify-self: center;
  border: 1px solid rgba(8, 126, 131, .36);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 253, 250, .94)),
    radial-gradient(540px 280px at 100% 0%, rgba(189, 228, 225, .46), transparent 70%);
  box-shadow:
    var(--sf-shadow),
    0 0 0 8px rgba(0, 212, 212, .035),
    inset 0 1px 0 rgba(255, 255, 255, .8);
  padding: clamp(24px, 3.8vw, 42px);
}

.sf-service-box::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 168, 76, .30);
  border-radius: 22px;
  pointer-events: none;
}

.sf-service-box::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(8, 126, 131, .12);
  filter: blur(2px);
  pointer-events: none;
}

.sf-box-header,
.sf-service-pair {
  position: relative;
  z-index: 1;
}

.sf-box-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--sf-teal);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sf-box-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--sf-gold);
}

.sf-box-header h2 {
  max-width: 560px;
  color: var(--sf-navy);
  font-size: clamp(1.55rem, 2.4vw, 2.28rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.sf-service-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  margin-top: clamp(22px, 3.2vw, 34px);
}

.sf-service-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: clamp(16px, 2.5vw, 24px);
  border-radius: 22px;
  background: rgba(255, 253, 250, .70);
}

.sf-choice-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(8, 126, 131, .25);
  border-radius: 999px;
  color: var(--sf-teal);
  background: #fff;
  font-size: .78rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(7, 20, 38, .08);
}

.sf-service-choice h3 {
  margin: 0 0 8px;
  color: var(--sf-navy);
  font-size: clamp(1.16rem, 1.8vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.sf-service-choice p {
  color: #33465f;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.56;
}

.sf-gold-divider {
  width: 1px;
  min-height: 126px;
  background: linear-gradient(180deg, transparent, rgba(201, 168, 76, .78), transparent);
}

.sf-band {
  position: relative;
  padding: clamp(58px, 8vw, 104px) 0;
}

.sf-split {
  display: grid;
  grid-template-columns: minmax(0, .56fr) minmax(300px, .44fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.sf-editorial-copy {
  max-width: 650px;
}

.sf-editorial-copy h2,
.sf-industry-title h2,
.sf-final-card h2 {
  color: inherit;
  font-size: clamp(2.05rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}

.sf-editorial-copy p {
  margin-top: 18px;
  color: inherit;
  font-size: clamp(1.01rem, 1.36vw, 1.13rem);
  line-height: 1.72;
}

.sf-band-navy {
  margin-top: 4px;
  color: #f8fbfb;
  background:
    radial-gradient(760px 420px at 82% 14%, rgba(0, 212, 212, .18), transparent 70%),
    linear-gradient(135deg, #071426 0%, #10243d 58%, #071426 100%);
}

.sf-band-navy::before,
.sf-band-navy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .62), transparent);
}

.sf-band-navy::before { top: 0; }
.sf-band-navy::after { bottom: 0; }

.sf-band-navy .sf-editorial-copy p {
  color: rgba(248, 251, 251, .82);
}

.sf-inclusion-panel {
  border: 1px solid rgba(189, 228, 225, .24);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .045));
  box-shadow: 0 28px 70px rgba(0, 0, 0, .22);
  padding: clamp(24px, 3vw, 34px);
  backdrop-filter: blur(14px);
}

.sf-panel-line {
  display: block;
  width: 74px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 99px;
  background: var(--sf-gold);
}

.sf-inclusion-panel h3 {
  margin-bottom: 22px;
  color: #fffdfa;
  font-size: clamp(1.35rem, 2vw, 1.78rem);
}

.sf-inclusion-panel ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-inclusion-panel li {
  display: grid;
  gap: 5px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(189, 228, 225, .16);
}

.sf-inclusion-panel li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sf-inclusion-panel strong {
  color: #fff;
  font-size: 1rem;
}

.sf-inclusion-panel span {
  color: rgba(248, 251, 251, .72);
  line-height: 1.55;
}

.sf-industry-bridge {
  padding: clamp(56px, 7vw, 94px) 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 250, .96), rgba(238, 248, 247, .88), rgba(255, 253, 250, .96));
}

.sf-industry-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(210px, .28fr) minmax(360px, .52fr) minmax(190px, auto);
  width: min(100%, 1080px);
  margin: 0 auto;
  gap: clamp(28px, 4.5vw, 62px);
  align-items: center;
  border: 1px solid rgba(8, 126, 131, .22);
  border-radius: 34px;
  background:
    radial-gradient(560px 260px at 92% 12%, rgba(201, 168, 76, .16), transparent 72%),
    radial-gradient(520px 260px at 0% 100%, rgba(189, 228, 225, .34), transparent 70%),
    rgba(255, 255, 255, .82);
  box-shadow: 0 30px 76px rgba(7, 20, 38, .11);
  padding: clamp(34px, 5vw, 58px);
}

.sf-industry-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(201, 168, 76, .24);
  border-radius: 24px;
  pointer-events: none;
}

.sf-industry-title,
.sf-industry-copy,
.sf-industry-link {
  position: relative;
  z-index: 1;
}

.sf-industry-title h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
}

.sf-large-line {
  margin: 0 0 12px;
  color: var(--sf-navy);
  font-size: clamp(1.32rem, 2.15vw, 1.9rem);
  font-weight: 800;
  line-height: 1.18;
  text-wrap: balance;
}

.sf-industry-copy p:last-child {
  max-width: 640px;
  color: #3d5068;
  font-size: clamp(1.01rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.sf-industry-link {
  white-space: nowrap;
  justify-self: end;
}

.sf-band-cream {
  color: var(--sf-ink);
  background:
    radial-gradient(700px 360px at 9% 14%, rgba(201, 168, 76, .16), transparent 74%),
    linear-gradient(180deg, #fffdfa 0%, #f7f1e4 52%, #fffdfa 100%);
}

.sf-training-split {
  grid-template-columns: minmax(300px, .42fr) minmax(0, .58fr);
}

.sf-training-frame {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(8, 126, 131, .24);
  border-radius: 30px;
  background: linear-gradient(155deg, rgba(255, 255, 255, .82), rgba(255, 253, 250, .60));
  box-shadow: 0 28px 70px rgba(7, 20, 38, .12);
  padding: clamp(22px, 3vw, 34px);
}

.sf-training-frame div {
  padding: 18px 18px 18px 22px;
  border-left: 3px solid rgba(201, 168, 76, .80);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.sf-training-frame span {
  display: block;
  margin-bottom: 6px;
  color: var(--sf-teal);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.sf-training-frame p {
  color: #263952;
  font-weight: 700;
  line-height: 1.52;
}

.sf-band-cream .sf-editorial-copy p {
  color: #33465f;
}

.sf-band-cream .btn {
  margin-top: 24px;
}

.sf-final-cta {
  padding: clamp(48px, 7vw, 86px) 0 clamp(58px, 8vw, 100px);
  text-align: center;
  background: #fffdfa;
}

.sf-final-card {
  width: min(100%, 820px);
  margin: 0 auto;
  border: 1px solid rgba(8, 126, 131, .26);
  border-radius: 30px;
  background:
    radial-gradient(520px 260px at 50% 0%, rgba(189, 228, 225, .38), transparent 70%),
    linear-gradient(180deg, #ffffff, #fffdfa);
  box-shadow: 0 30px 74px rgba(7, 20, 38, .12);
  padding: clamp(30px, 5vw, 54px);
}

.sf-final-card h2 {
  margin-top: 4px;
  color: var(--sf-navy);
}

.sf-final-card p:not(.eyebrow) {
  max-width: 660px;
  margin: 16px auto 26px;
  color: #33465f;
  font-size: clamp(1.02rem, 1.35vw, 1.14rem);
  line-height: 1.65;
}

.services-flagship-page a:focus-visible,
.services-flagship-page button:focus-visible {
  outline: 3px solid rgba(201, 168, 76, .82);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .sf-hero-inner,
  .sf-split,
  .sf-training-split,
  .sf-industry-card {
    grid-template-columns: 1fr;
  }

  .sf-hero-copy,
  .sf-editorial-copy,
  .sf-service-box {
    max-width: none;
  }

  .sf-hero-copy {
    text-align: center;
    margin: 0 auto;
  }

  .sf-service-box {
    width: 100%;
  }

  .sf-industry-card {
    text-align: center;
    justify-items: center;
    width: min(100%, 820px);
  }

  .sf-industry-copy p:last-child {
    margin-inline: auto;
  }

  .sf-industry-link {
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .sf-hero {
    padding: 38px 0 48px;
  }

  .sf-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3rem);
    letter-spacing: -.045em;
  }

  .sf-service-pair {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sf-gold-divider {
    width: 100%;
    min-height: 1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .85), transparent);
  }

  .sf-service-choice {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
  }

  .sf-band {
    padding: 50px 0;
  }

  .sf-editorial-copy h2,
  .sf-final-card h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .sf-industry-title h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .sf-industry-link,
  .sf-final-card .btn,
  .sf-band-cream .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .sf-service-box,
  .sf-final-card,
  .sf-industry-card,
  .sf-inclusion-panel,
  .sf-training-frame {
    border-radius: 24px;
  }

  .sf-service-box {
    padding: 22px 18px;
  }

  .sf-service-box::before {
    inset: 8px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-flagship-page *,
  .services-flagship-page *::before,
  .services-flagship-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
