:root {
  --cb-navy-950: #03101f;
  --cb-navy-900: #06162d;
  --cb-navy-850: #0a1d35;
  --cb-teal: #08b7a8;
  --cb-teal-dark: #008f83;
  --cb-paper: #f7f8f6;
  --cb-warm: #eeece5;
  --cb-ink: #0a1626;
  --cb-slate: #58697a;
  --cb-line: #d7dde1;
  --cb-max: 1360px;
  --cb-pad: clamp(24px, 5vw, 72px);
  --cb-y: clamp(88px, 10vw, 148px);
  --cb-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-padding-top: 84px;
}

body {
  background: var(--cb-paper);
  color: var(--cb-ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--cb-navy-950);
  background: var(--cb-teal);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(3, 16, 31, 0.72), rgba(3, 16, 31, 0));
  backdrop-filter: none;
  transition:
    background 240ms ease,
    border-color 240ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(3, 16, 31, 0.96);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100%, var(--cb-max));
  max-width: none;
  min-height: 84px;
  padding: 10px var(--cb-pad);
}

.brand-lockup {
  width: clamp(214px, 19vw, 262px);
}

.nav-links {
  gap: clamp(18px, 2.5vw, 38px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  color: inherit;
  transition: color 160ms ease;
}

.nav-links a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--cb-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--cb-ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #fff !important;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-links .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  color: var(--cb-navy-950) !important;
  background: var(--cb-teal);
}

.nav-links .nav-cta:hover {
  color: var(--cb-navy-950) !important;
  background: #fff;
}

.section {
  width: min(100%, var(--cb-max));
  max-width: none;
  padding: var(--cb-y) var(--cb-pad);
}

.hero.section {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(44px, 6vw, 92px);
  width: 100%;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  padding:
    clamp(140px, 16vh, 190px)
    max(var(--cb-pad), calc((100vw - var(--cb-max)) / 2 + var(--cb-pad)))
    clamp(90px, 11vh, 132px);
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(8, 183, 168, 0.2), transparent 30%),
    linear-gradient(115deg, var(--cb-navy-950), var(--cb-navy-900) 56%, #0c2d49);
}

.hero.section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.33;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent, #000 54%);
}

.hero.section::after {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: max(0px, calc((100vw - var(--cb-max)) / 2));
  width: min(50vw, 760px);
  aspect-ratio: 1;
  content: "";
  opacity: 0.8;
  background: url("./assets/market-field.svg?v=20260730") center / contain no-repeat;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--cb-teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 810px;
  margin-bottom: 28px;
  font-size: clamp(3.35rem, 5.2vw, 5.35rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.064em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.9vw, 5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  gap: 30px;
  margin-top: 38px;
  margin-bottom: 25px;
}

.button {
  min-height: 58px;
  padding: 0 24px;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button.primary {
  color: var(--cb-navy-950);
  background: var(--cb-teal);
}

.button.primary:hover {
  color: var(--cb-navy-950);
  background: #fff;
}

.button.secondary {
  min-height: auto;
  padding: 0 0 5px;
  color: #fff;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
}

.button.secondary:hover {
  color: var(--cb-teal);
  border-color: currentColor;
}

.small-note {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.86rem;
}

.hero-panel {
  position: relative;
  z-index: 2;
  align-self: center;
  margin: 0;
  overflow: hidden;
  padding: clamp(30px, 4vw, 52px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(3, 16, 31, 0.72);
  backdrop-filter: blur(18px);
}

.hero-panel::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cb-teal));
}

.panel-label,
.card-tag {
  margin-bottom: 26px;
  padding: 0;
  color: var(--cb-teal);
  border-radius: 0;
  background: transparent;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
}

.hero-panel h2 {
  max-width: 520px;
  margin-bottom: 34px;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.signal-list {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.signal-list li {
  padding: 13px 0 13px 28px;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
}

.signal-list li::before {
  top: 13px;
  color: var(--cb-teal);
}

.trust-strip.section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(calc(100% - 48px), var(--cb-max));
  margin: -44px auto 0;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 24px 80px rgba(3, 16, 31, 0.08);
}

.trust-strip div {
  min-height: 180px;
  padding: 34px;
  border-right: 1px solid var(--cb-line);
  background: #fff;
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip div::before {
  color: var(--cb-teal-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.trust-strip div:nth-child(1)::before {
  content: "01";
}

.trust-strip div:nth-child(2)::before {
  content: "02";
}

.trust-strip div:nth-child(3)::before {
  content: "03";
}

.trust-strip strong {
  margin-top: 20px;
  color: var(--cb-ink);
  font-size: 1.12rem;
  font-weight: 600;
}

.trust-strip span {
  color: var(--cb-slate);
  font-size: 0.88rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(310px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(54px, 9vw, 140px);
  align-items: start;
  padding-top: calc(var(--cb-y) + 28px);
  padding-bottom: var(--cb-y);
}

.section-copy {
  position: sticky;
  top: 130px;
}

.section-copy h2 {
  font-size: clamp(2.7rem, 4.6vw, 4.6rem);
}

.section-copy p:last-child {
  color: var(--cb-slate);
  font-size: 1.02rem;
}

.outcome-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.outcome-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(190px, 0.65fr) minmax(240px, 1fr);
  gap: 20px;
  align-items: start;
  padding: 32px 0;
  border: 0;
  border-top: 1px solid var(--cb-line);
  border-radius: 0;
  background: transparent;
}

.outcome-grid article:last-child {
  border-bottom: 1px solid var(--cb-line);
}

.outcome-grid span {
  margin: 0;
  padding-top: 5px;
  color: var(--cb-teal-dark);
  font-size: 0.68rem;
}

.outcome-grid h3,
.outcome-grid p {
  margin: 0;
}

.outcome-grid p {
  color: var(--cb-slate);
  font-size: 0.94rem;
}

#engagements.section {
  width: 100%;
  padding-right: max(var(--cb-pad), calc((100vw - var(--cb-max)) / 2 + var(--cb-pad)));
  padding-left: max(var(--cb-pad), calc((100vw - var(--cb-max)) / 2 + var(--cb-pad)));
  background: var(--cb-warm);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 50px;
  max-width: none;
  margin-bottom: clamp(48px, 7vw, 84px);
}

.section-heading h2 {
  margin-bottom: 0;
}

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(10, 22, 38, 0.12);
  background: rgba(10, 22, 38, 0.12);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: clamp(30px, 3.5vw, 48px);
  border: 0;
  border-radius: 0;
  background: var(--cb-paper);
}

.service-card.featured-card {
  color: #fff;
  background: var(--cb-navy-900);
}

.service-card .card-tag {
  margin-bottom: 74px;
}

.service-card h3 {
  margin-bottom: 22px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.service-card > p {
  color: var(--cb-slate);
}

.featured-card > p {
  color: rgba(255, 255, 255, 0.62);
}

.mini-list {
  gap: 0;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--cb-line);
}

.featured-card .mini-list {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.16);
}

.mini-list li {
  padding: 9px 0 9px 22px;
  font-size: 0.86rem;
}

.mini-list li::before {
  top: 9px;
}

.standards-section.section {
  width: 100%;
  padding-right: max(var(--cb-pad), calc((100vw - var(--cb-max)) / 2 + var(--cb-pad)));
  padding-left: max(var(--cb-pad), calc((100vw - var(--cb-max)) / 2 + var(--cb-pad)));
  color: #fff;
  background:
    radial-gradient(circle at 8% 20%, rgba(8, 183, 168, 0.15), transparent 27%),
    var(--cb-navy-950);
}

.standards-section .section-heading {
  max-width: 900px;
}

.standards-section .section-heading h2 {
  color: #fff;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.standard-card {
  min-height: 260px;
  padding: clamp(30px, 4vw, 52px);
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
}

.standard-card::before {
  display: block;
  margin-bottom: 46px;
  color: var(--cb-teal);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.standard-card:nth-child(1)::before {
  content: "01";
}

.standard-card:nth-child(2)::before {
  content: "02";
}

.standard-card:nth-child(3)::before {
  content: "03";
}

.standard-card:nth-child(4)::before {
  content: "04";
}

.standard-card p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.58);
}

.fit-section.section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.7fr);
  gap: clamp(60px, 10vw, 160px);
  align-items: end;
}

.fit-section .section-heading {
  display: block;
  margin: 0;
}

.fit-section .section-heading h2 {
  margin: 0;
}

.fit-grid {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.fit-grid h3 {
  color: var(--cb-teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.check-list {
  gap: 0;
  border-top: 1px solid var(--cb-line);
}

.check-list li {
  padding: 17px 0 17px 30px;
  color: var(--cb-slate);
  border-bottom: 1px solid var(--cb-line);
}

.check-list li::before {
  top: 17px;
  color: var(--cb-teal-dark);
}

.proof-section.section {
  width: 100%;
  padding:
    clamp(72px, 8vw, 112px)
    max(var(--cb-pad), calc((100vw - var(--cb-max)) / 2 + var(--cb-pad)));
  color: var(--cb-navy-950);
  background: var(--cb-teal);
}

.proof-card {
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.72fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.proof-card .eyebrow {
  color: var(--cb-navy-950);
}

.proof-card h2,
.proof-card > p:last-child {
  margin-bottom: 0;
}

.proof-card > p:last-child {
  padding-top: 8px;
  color: rgba(3, 16, 31, 0.72);
}

.contact-section.section {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.1fr);
  gap: clamp(50px, 9vw, 132px);
  align-items: start;
  width: 100%;
  color: #fff;
  background: var(--cb-navy-900);
  padding-right: max(var(--cb-pad), calc((100vw - var(--cb-max)) / 2 + var(--cb-pad)));
  padding-left: max(var(--cb-pad), calc((100vw - var(--cb-max)) / 2 + var(--cb-pad)));
}

.contact-copy {
  position: sticky;
  top: 130px;
}

.contact-copy h2 {
  font-size: clamp(2.8rem, 4.7vw, 4.8rem);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.04rem;
}

.contact-form {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: #fff;
}

.zoho-form-card {
  border-radius: 0;
}

.zoho-form-note {
  padding: 18px 22px;
  color: var(--cb-slate);
  background: #f3f5f4;
  font-size: 0.82rem;
}

.zoho-form-note a,
.legal-card a {
  color: var(--cb-teal-dark);
}

.site-footer {
  padding: 0;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--cb-navy-950);
}

.footer-inner {
  display: grid;
  grid-template-columns: 0.75fr 1fr auto;
  gap: 46px;
  align-items: center;
  width: min(100%, var(--cb-max));
  max-width: none;
  padding: 56px var(--cb-pad);
}

.footer-lockup {
  width: 240px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
  text-align: left;
}

.footer-link {
  color: #fff;
  border-bottom: 1px solid var(--cb-teal);
  font-size: 0.86rem;
}

.legal-section.section {
  width: 100%;
  padding-top: 170px;
  background:
    linear-gradient(var(--cb-navy-900) 0 520px, var(--cb-paper) 520px);
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 30px 90px rgba(3, 16, 31, 0.12);
}

.legal-card > .eyebrow {
  color: var(--cb-teal);
}

.legal-card h1 {
  max-width: 780px;
  color: var(--cb-ink);
  font-size: clamp(2.9rem, 5.7vw, 5.5rem);
  font-weight: 400;
  line-height: 0.98;
}

.legal-card h2 {
  margin-top: 54px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
}

.legal-card p,
.legal-card li {
  color: var(--cb-slate);
}

.legal-actions .button {
  color: #fff;
  background: var(--cb-navy-900);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 720ms var(--cb-ease),
    transform 720ms var(--cb-ease);
}

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

@media (max-width: 1050px) {
  .hero.section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero.section::after {
    top: 24%;
    right: -16%;
    width: 82vw;
    opacity: 0.35;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-panel {
    max-width: 720px;
  }

  .cards.three {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 430px;
  }

  .service-card .card-tag {
    margin-bottom: 50px;
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: 76px;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.76rem;
  }

  .trust-strip.section,
  .split-section,
  .fit-section.section,
  .contact-section.section {
    grid-template-columns: 1fr;
  }

  .trust-strip.section {
    margin-top: 0;
  }

  .trust-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--cb-line);
  }

  .section-copy,
  .contact-copy {
    position: static;
  }

  .outcome-grid article {
    grid-template-columns: 46px 1fr;
  }

  .outcome-grid p {
    grid-column: 2;
  }

  .section-heading,
  .proof-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .contact-section.section {
    gap: 60px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 720px) {
  :root {
    --cb-pad: 20px;
    --cb-y: 78px;
  }

  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    background: rgba(3, 16, 31, 0.96);
  }

  .brand-lockup {
    width: 204px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-links .nav-cta {
    min-height: 42px;
    padding: 0 13px;
    font-size: 0.75rem;
  }

  .hero.section {
    padding-top: 126px;
    padding-bottom: 72px;
  }

  .hero.section::after {
    top: 41%;
    right: -34%;
    width: 130vw;
    opacity: 0.26;
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
    line-height: 0.99;
  }

  h2 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .hero-actions .button.primary {
    width: 100%;
  }

  .hero-panel {
    padding: 28px 22px;
  }

  .outcome-grid article {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .service-card,
  .standard-card {
    padding: 28px 24px;
  }

  .service-card {
    min-height: 420px;
  }

  .proof-card {
    gap: 18px;
  }

  .zoho-form-card iframe {
    height: 2250px;
    min-height: 2250px;
  }

  .legal-section.section {
    padding-top: 120px;
  }

  .legal-card {
    padding: 34px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
