:root {
  --navy: #071d3a;
  --navy-soft: #102946;

  --blue: #1769e8;
  --blue-light: #6fa5f4;

  --text: #17283e;
  --muted: #6c7887;

  --bg: #f4f2ee;
  --surface: rgba(255, 255, 255, 0.52);

  --line: rgba(7, 29, 58, 0.11);

  --max: 1180px;
}


/* ======================================================
   RESET
====================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


html {
  scroll-behavior: smooth;
}


body {
  min-height: 100vh;

  font-family: "Manrope", sans-serif;

  color: var(--text);

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(190, 216, 255, 0.48),
      transparent 28rem
    ),
    linear-gradient(
      135deg,
      #f7f5f2,
      #edf1f7
    );

  overflow-x: hidden;
}


a {
  color: inherit;
}


img {
  max-width: 100%;
}


/* ======================================================
   BACKGROUND
====================================================== */

.ambient {
  position: fixed;

  border-radius: 50%;

  filter: blur(40px);

  pointer-events: none;

  z-index: -1;
}


.ambient-one {
  width: 720px;
  height: 720px;

  top: -420px;
  left: 50%;

  background:
    radial-gradient(
      circle,
      rgba(23, 105, 232, 0.13),
      transparent 68%
    );

  animation: ambientOne 18s ease-in-out infinite alternate;
}


.ambient-two {
  width: 620px;
  height: 620px;

  bottom: -360px;
  right: -240px;

  background:
    radial-gradient(
      circle,
      rgba(95, 155, 255, 0.12),
      transparent 68%
    );

  animation: ambientTwo 22s ease-in-out infinite alternate;
}


@keyframes ambientOne {
  from {
    transform:
      translateX(-58%)
      translateY(-30px);
  }

  to {
    transform:
      translateX(-42%)
      translateY(80px);
  }
}


@keyframes ambientTwo {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-120px, -80px);
  }
}


/* ======================================================
   HEADER
====================================================== */

.site-header {
  position: fixed;

  top: 0;
  left: 50%;

  transform: translateX(-50%);

  width:
    min(
      var(--max),
      calc(100% - 44px)
    );

  height: 82px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  z-index: 50;

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    backdrop-filter 0.25s ease;
}


.site-header.scrolled {
  top: 12px;

  height: 62px;

  padding:
    0 18px;

  border:
    1px solid
    rgba(255, 255, 255, 0.58);

  border-radius: 999px;

  background:
    rgba(246, 247, 249, 0.72);

  backdrop-filter:
    blur(18px);

  box-shadow:
    0 12px 45px
    rgba(7, 29, 58, 0.07);
}


.header-logo {
  width: 128px;

  display: block;
}


.desktop-nav {
  display: flex;

  align-items: center;

  gap: 30px;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 0.82rem;

  font-weight: 600;
}


.desktop-nav a {
  text-decoration: none;

  color:
    rgba(7, 29, 58, 0.72);

  transition:
    color 0.2s ease;
}


.desktop-nav a:hover {
  color: var(--blue);
}


.desktop-nav .nav-cta {
  padding:
    10px 17px;

  border:
    1px solid
    rgba(23, 105, 232, 0.23);

  border-radius: 999px;

  color: var(--blue);
}


.menu-button,
.mobile-nav {
  display: none;
}


/* ======================================================
   GLOBAL SECTIONS
====================================================== */

.section {
  width:
    min(
      var(--max),
      calc(100% - 44px)
    );

  margin: 0 auto;

  padding:
    110px 0;
}


.section-kicker,
.eyebrow {
  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 0.69rem;

  font-weight: 700;

  letter-spacing: 0.24em;

  color: var(--blue);
}


.section-heading {
  max-width: 790px;

  margin-bottom: 58px;
}


.section-heading h2,
.why-intro h2,
.about-copy h2,
.contact-panel h2,
.depth-inner h2 {
  margin-top: 18px;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size:
    clamp(
      2.4rem,
      5vw,
      4.5rem
    );

  line-height: 1.05;

  letter-spacing: -0.045em;

  font-weight: 550;

  color: var(--navy);
}


.section-heading h2 span,
.why-intro h2 span,
.about-copy h2 span,
.contact-panel h2 span,
.depth-inner h2 span {
  color: var(--blue);
}


.section-heading > p:last-child {
  margin-top: 24px;

  max-width: 680px;

  color: var(--muted);

  font-size: 1.04rem;

  line-height: 1.75;
}


/* ======================================================
   HERO
====================================================== */

.hero {
  min-height: 100vh;

  padding-top: 130px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  position: relative;
}


.hero-logo-wrap {
  margin-bottom: 26px;
}


.hero-logo {
  width: 250px;
}


.eyebrow {
  margin-bottom: 27px;
}


/* ======================================================
   CENTERED HEADLINE REEL
====================================================== */

.phrase-stage {
  width: 100%;

  display: flex;

  justify-content: center;

  margin-bottom: 34px;
}


/*
  The window spans the available width.

  Each COMPLETE phrase is centered independently,
  so changing word length cannot move the visual center.
*/

.phrase-window {
  width: 100%;

  height: 1.08em;

  overflow: hidden;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size:
    clamp(
      3.3rem,
      7.3vw,
      6.6rem
    );

  line-height: 1.08;

  letter-spacing: -0.055em;
}


.phrase-reel {
  width: 100%;

  display: flex;
  flex-direction: column;

  transform:
    translate3d(
      0,
      0,
      0
    );

  will-change:
    transform;
}


.phrase {
  width: 100%;

  height: 1.08em;

  flex:
    0 0
    1.08em;

  display: flex;

  justify-content: center;
  align-items: center;

  gap: 0.16em;

  white-space: nowrap;
}


.phrase span {
  color: var(--navy);

  font-weight: 500;
}


.phrase strong {
  font-weight: 600;
}


.tone-1 {
  color:
    rgba(
      23,
      105,
      232,
      0.34
    );
}


.tone-2 {
  color:
    rgba(
      23,
      105,
      232,
      0.44
    );
}


.tone-3 {
  color:
    rgba(
      23,
      105,
      232,
      0.55
    );
}


.tone-4 {
  color:
    rgba(
      23,
      105,
      232,
      0.70
    );
}


.tone-adapt {
  color: var(--blue);

  font-weight: 700 !important;
}


.hero-copy {
  max-width: 740px;

  color: var(--muted);

  font-size:
    clamp(
      1rem,
      1.7vw,
      1.2rem
    );

  line-height: 1.75;
}


.hero-actions {
  display: flex;

  justify-content: center;

  gap: 13px;

  margin-top: 36px;
}


.button {
  display: inline-flex;

  justify-content: center;
  align-items: center;

  padding:
    13px 20px;

  border-radius: 999px;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 0.82rem;

  font-weight: 600;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}


.button:hover {
  transform:
    translateY(-2px);
}


.button-primary {
  color: white;

  background:
    var(--navy);

  box-shadow:
    0 14px 30px
    rgba(7, 29, 58, 0.12);
}


.button-primary:hover {
  box-shadow:
    0 18px 35px
    rgba(7, 29, 58, 0.18);
}


.button-secondary {
  color: var(--navy);

  border:
    1px solid
    rgba(7, 29, 58, 0.14);

  background:
    rgba(255, 255, 255, 0.35);
}


.scroll-cue {
  position: absolute;

  bottom: 28px;

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 8px;

  text-decoration: none;

  color:
    rgba(7, 29, 58, 0.47);

  font-size: 0.64rem;

  text-transform: uppercase;

  letter-spacing: 0.18em;
}


.scroll-cue i {
  width: 1px;
  height: 30px;

  background:
    linear-gradient(
      var(--blue),
      transparent
    );

  animation:
    scrollCue
    1.8s
    ease-in-out
    infinite;
}


@keyframes scrollCue {
  0%,
  100% {
    transform:
      scaleY(0.45);

    transform-origin:
      top;
  }

  50% {
    transform:
      scaleY(1);
  }
}


/* ======================================================
   SERVICES
====================================================== */

.services {
  padding-top: 140px;
}


.service-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 18px;
}


.service-card {
  min-height: 385px;

  padding: 34px;

  border:
    1px solid
    rgba(255, 255, 255, 0.72);

  border-radius: 24px;

  background:
    rgba(255, 255, 255, 0.43);

  backdrop-filter:
    blur(8px);

  box-shadow:
    0 16px 50px
    rgba(7, 29, 58, 0.035);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}


.service-card:hover {
  transform:
    translateY(-6px);

  border-color:
    rgba(23, 105, 232, 0.20);

  box-shadow:
    0 24px 60px
    rgba(7, 29, 58, 0.07);
}


.service-number {
  margin-bottom: 46px;

  font-family:
    "Space Grotesk",
    sans-serif;

  color:
    rgba(23, 105, 232, 0.62);

  font-size: 0.72rem;

  letter-spacing: 0.12em;
}


.service-card h3 {
  max-width: 420px;

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 1.65rem;

  line-height: 1.18;

  letter-spacing: -0.025em;

  color: var(--navy);
}


.service-card > p {
  margin-top: 17px;

  max-width: 500px;

  line-height: 1.68;

  color: var(--muted);
}


.service-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-top: 28px;
}


.service-tags span {
  padding:
    7px 10px;

  border-radius: 999px;

  background:
    rgba(23, 105, 232, 0.065);

  color:
    rgba(7, 29, 58, 0.74);

  font-size: 0.70rem;
}


.tooling-note {
  margin-top: 22px;

  padding:
    27px 30px;

  display: grid;

  grid-template-columns:
    200px 1fr;

  gap: 30px;

  align-items: start;

  border-top:
    1px solid
    var(--line);

  border-bottom:
    1px solid
    var(--line);
}


.tooling-label {
  font-family:
    "Space Grotesk",
    sans-serif;

  color: var(--blue);

  font-weight: 600;
}


.tooling-note p {
  color: var(--muted);

  line-height: 1.7;
}


/* ======================================================
   APPROACH
====================================================== */

.approach {
  padding-top: 150px;
}


.approach-track {
  display: grid;

  grid-template-columns:
    1fr auto
    1fr auto
    1fr auto
    1fr;

  align-items: start;
}


.approach-track article {
  padding-right: 18px;
}


.approach-track article > span {
  display: inline-block;

  margin-bottom: 22px;

  color:
    rgba(23, 105, 232, 0.55);

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 0.68rem;
}


.approach-track h3 {
  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 1.55rem;

  color: var(--navy);
}


.approach-track p {
  margin-top: 12px;

  color: var(--muted);

  line-height: 1.62;
}


.track-line {
  width: 55px;

  height: 1px;

  margin:
    50px 17px
    0 0;

  background:
    linear-gradient(
      to right,
      var(--blue),
      rgba(23, 105, 232, 0.10)
    );
}


/* ======================================================
   WHY
====================================================== */

.why {
  display: grid;

  grid-template-columns:
    0.92fr
    1.08fr;

  gap: 90px;

  align-items: start;

  padding-top: 155px;
}


.why-intro {
  position: sticky;

  top: 120px;
}


.why-intro > p:last-child {
  margin-top: 24px;

  max-width: 500px;

  color: var(--muted);

  line-height: 1.76;
}


.difference-list {
  border-top:
    1px solid
    var(--line);
}


.difference {
  display: grid;

  grid-template-columns:
    20px 1fr;

  gap: 20px;

  padding:
    30px 0;

  border-bottom:
    1px solid
    var(--line);
}


.difference-marker {
  width: 7px;
  height: 7px;

  margin-top: 9px;

  border-radius: 50%;

  background: var(--blue);

  box-shadow:
    0 0 0 6px
    rgba(23, 105, 232, 0.08);
}


.difference h3 {
  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 1.25rem;

  color: var(--navy);
}


.difference p {
  margin-top: 9px;

  color: var(--muted);

  line-height: 1.65;
}


/* ======================================================
   DEPTH
====================================================== */

.depth-band {
  margin-top: 100px;

  padding:
    105px
    22px;

  color: white;

  background:
    linear-gradient(
      135deg,
      #071d3a,
      #0c2e57
    );
}


.depth-inner {
  width:
    min(
      var(--max),
      100%
    );

  margin: 0 auto;
}


.depth-inner .section-kicker {
  color:
    #78adff;
}


.depth-inner h2 {
  max-width: 770px;

  color: white;
}


.depth-inner h2 span {
  color:
    #7fb2ff;
}


.depth-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 1px;

  margin-top: 58px;

  background:
    rgba(255, 255, 255, 0.12);
}


.depth-grid div {
  min-height: 210px;

  padding:
    30px;

  background:
    rgba(7, 29, 58, 0.96);
}


.depth-grid h3 {
  font-family:
    "Space Grotesk",
    sans-serif;

  font-size: 1.15rem;
}


.depth-grid p {
  margin-top: 19px;

  color:
    rgba(255, 255, 255, 0.60);

  line-height: 1.85;

  font-size: 0.88rem;
}


/* ======================================================
   ABOUT
====================================================== */

.about {
  display: grid;

  grid-template-columns:
    0.65fr
    1.35fr;

  gap: 80px;

  padding-top: 150px;
}


.about-copy {
  max-width: 720px;
}


.about-copy h2 {
  margin-top: 0;
}


.about-copy > p {
  margin-top: 25px;

  color: var(--muted);

  font-size: 1.02rem;

  line-height: 1.76;
}


.about-copy .about-boundary {
  padding-top: 22px;

  border-top:
    1px solid
    var(--line);

  font-size: 0.88rem;

  color:
    rgba(7, 29, 58, 0.55);
}


/* ======================================================
   CONTACT
====================================================== */

.contact-section {
  padding-top: 110px;
  padding-bottom: 130px;
}


.contact-panel {
  padding:
    70px;

  border-radius: 32px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.68),
      rgba(225, 236, 252, 0.55)
    );

  border:
    1px solid
    rgba(255, 255, 255, 0.72);

  box-shadow:
    0 30px 80px
    rgba(7, 29, 58, 0.06);
}


.contact-panel h2 {
  max-width: 850px;
}


.contact-panel > p {
  max-width: 610px;

  margin-top: 24px;

  color: var(--muted);

  line-height: 1.72;
}


.contact-email {
  display: inline-flex;

  align-items: center;

  gap: 15px;

  margin-top: 36px;

  padding-bottom: 5px;

  border-bottom:
    1px solid
    rgba(23, 105, 232, 0.35);

  text-decoration: none;

  color: var(--blue);

  font-family:
    "Space Grotesk",
    sans-serif;

  font-size:
    clamp(
      1.2rem,
      2.5vw,
      1.8rem
    );
}


.contact-email span {
  transition:
    transform 0.2s ease;
}


.contact-email:hover span {
  transform:
    translate(
      4px,
      -4px
    );
}


/* ======================================================
   FOOTER
====================================================== */

.site-footer {
  width:
    min(
      var(--max),
      calc(100% - 44px)
    );

  margin: 0 auto;

  padding:
    30px 0
    40px;

  border-top:
    1px solid
    var(--line);

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  color:
    rgba(7, 29, 58, 0.50);

  font-size: 0.70rem;
}


.footer-brand {
  display: flex;

  align-items: center;

  gap: 24px;
}


.footer-brand img {
  width: 110px;
}


.footer-brand span {
  letter-spacing: 0.10em;
}


.footer-brand b {
  padding:
    0 6px;

  color: var(--blue);
}


.footer-meta {
  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 7px;
}


.footer-meta a {
  color: var(--blue);

  text-decoration: none;
}


/* ======================================================
   SCROLL REVEAL
====================================================== */

.reveal {
  opacity: 0;

  transform:
    translateY(20px);

  transition:
    opacity 0.75s ease,
    transform 0.75s
    cubic-bezier(
      .2,
      .75,
      .25,
      1
    );
}


.reveal.visible {
  opacity: 1;

  transform:
    translateY(0);
}


/* ======================================================
   TABLET / MOBILE
====================================================== */

@media (max-width: 900px) {

  .desktop-nav {
    display: none;
  }


  .menu-button {
    display: flex;

    width: 42px;
    height: 42px;

    border: 0;

    background:
      transparent;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 6px;

    cursor: pointer;
  }


  .menu-button span {
    width: 19px;
    height: 1px;

    background: var(--navy);

    transition:
      transform 0.2s ease;
  }


  .mobile-nav {
    position: fixed;

    top: 82px;
    right: 22px;

    width: 220px;

    padding: 16px;

    display: flex;

    flex-direction: column;

    gap: 4px;

    border:
      1px solid
      rgba(255, 255, 255, 0.72);

    border-radius: 18px;

    background:
      rgba(247, 248, 250, 0.92);

    backdrop-filter:
      blur(18px);

    box-shadow:
      0 20px 50px
      rgba(7, 29, 58, 0.10);

    opacity: 0;

    pointer-events: none;

    transform:
      translateY(-8px);

    transition:
      opacity 0.2s ease,
      transform 0.2s ease;

    z-index: 60;
  }


  .mobile-nav.open {
    opacity: 1;

    pointer-events: auto;

    transform:
      translateY(0);
  }


  .mobile-nav a {
    padding:
      11px 12px;

    border-radius: 10px;

    color: var(--navy);

    text-decoration: none;

    font-family:
      "Space Grotesk",
      sans-serif;

    font-size: 0.86rem;
  }


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


  .service-card {
    min-height: auto;
  }


  .approach-track {
    grid-template-columns: 1fr;

    gap: 34px;
  }


  .track-line {
    display: none;
  }


  .why {
    grid-template-columns: 1fr;

    gap: 55px;
  }


  .why-intro {
    position: static;
  }


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


  .about {
    grid-template-columns: 1fr;

    gap: 34px;
  }

}


@media (max-width: 650px) {

  .site-header {
    width:
      calc(100% - 30px);
  }


  .header-logo {
    width: 112px;
  }


  .section {
    width:
      calc(100% - 30px);

    padding:
      82px 0;
  }


  .hero {
    min-height: 100svh;

    padding-top: 120px;
    padding-bottom: 70px;
  }


  .hero-logo {
    width: 205px;
  }


  .eyebrow {
    font-size: 0.59rem;

    letter-spacing: 0.16em;
  }


  .phrase-window {
    font-size:
      clamp(
        2.25rem,
        11.5vw,
        3.6rem
      );
  }


  .phrase {
    gap: 0.12em;
  }


  .hero-copy {
    font-size: 0.97rem;

    line-height: 1.65;
  }


  .hero-actions {
    width: 100%;

    flex-direction: column;

    align-items: stretch;

    max-width: 330px;
  }


  .button {
    width: 100%;
  }


  .scroll-cue {
    display: none;
  }


  .section-heading {
    margin-bottom: 38px;
  }


  .service-card {
    padding: 26px;

    border-radius: 20px;
  }


  .service-number {
    margin-bottom: 32px;
  }


  .tooling-note {
    grid-template-columns: 1fr;

    gap: 12px;

    padding:
      24px 4px;
  }


  .depth-band {
    margin-top: 50px;

    padding:
      78px 15px;
  }


  .depth-grid {
    margin-top: 40px;
  }


  .depth-grid div {
    min-height: 170px;

    padding: 26px;
  }


  .contact-panel {
    padding:
      42px 25px;

    border-radius: 24px;
  }


  .site-footer {
    width:
      calc(100% - 30px);

    flex-direction: column;

    align-items: flex-start;

    gap: 24px;
  }


  .footer-brand {
    flex-direction: column;

    align-items: flex-start;

    gap: 14px;
  }


  .footer-meta {
    align-items: flex-start;
  }

}


/* ======================================================
   ACCESSIBILITY
====================================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    animation: none !important;

    transition: none !important;
  }


  .reveal {
    opacity: 1;

    transform: none;
  }

}
