:root {
  --ink: #06162d;
  --navy: #082448;
  --blue: #149bed;
  --blue-dark: #0875bc;
  --orange: #ff681f;
  --orange-dark: #e95312;
  --steel: #547089;
  --mist: #eef6fb;
  --paper: #fbfdff;
  --line: #d8e3ec;
  --warm: #d89b38;
  --green: #35806b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 22, 45, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 15% 20%, #06162d 0 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, #ff681f 0 1px, transparent 1px);
  background-size: 22px 22px, 28px 28px;
  mix-blend-mode: multiply;
}

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

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

.site-header {
  position: absolute;
  top: clamp(14px, 3vw, 38px);
  right: clamp(14px, 3vw, 38px);
  left: clamp(14px, 3vw, 38px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: rgba(30, 31, 29, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  backdrop-filter: blur(20px);
  transition:
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(30, 31, 29, 0.5);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.brand img {
  width: 74px;
  height: 46px;
  object-fit: contain;
  object-position: center;
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 750;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.nav-cta {
  gap: 10px;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
}

.button.primary {
  gap: 10px;
  color: var(--white);
  background: #1e6f86;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(30, 111, 134, 0.26);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: rgba(6, 22, 45, 0.14);
  border-radius: 999px;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh + 1px);
  min-height: calc(100dvh + 1px);
  margin: 0;
  padding: clamp(112px, 16vh, 170px) clamp(28px, 6vw, 92px) clamp(52px, 9vh, 92px);
  overflow: hidden;
  color: var(--white);
  border-radius: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(31, 255, 202, 0.32), transparent 28%),
    radial-gradient(circle at 82% 64%, rgba(20, 155, 237, 0.28), transparent 30%),
    linear-gradient(135deg, #06162d 0%, #15144f 48%, #0875bc 100%);
  isolation: isolate;
}

.hero-media,
.hero-poster,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: 0;
  overflow: hidden;
  background: #06162d;
}

.hero-poster,
.hero-video {
  object-fit: cover;
  object-position: center;
}

.hero-poster {
  z-index: 0;
  transform: scale(1.02);
}

.hero-video {
  z-index: 1;
  display: block;
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-media.is-video-ready .hero-video {
  opacity: 1;
}

.hero-media::after {
  position: absolute;
  inset: -1px;
  z-index: 2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 22, 45, 0.92) 0%, rgba(6, 22, 45, 0.72) 34%, rgba(6, 22, 45, 0.28) 68%, rgba(6, 22, 45, 0.1) 100%),
    radial-gradient(circle at 12% 72%, rgba(6, 22, 45, 0.58), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(20, 155, 237, 0.12), transparent 28%);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 22, 45, 0.18), transparent 22%),
    linear-gradient(0deg, rgba(6, 22, 45, 0.5), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 4;
  width: min(860px, 100%);
  max-width: 860px;
  padding: 0;
  margin: 0 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(217, 242, 247, 0.9);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;
  color: inherit;
  font-family:
    "Segoe UI Variable Display", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: clamp(3.1rem, 7vw, 7.2rem);
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 520px;
  margin-right: auto;
  margin-bottom: 32px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 560;
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.statement-band {
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.statement-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 4vw, 58px);
  width: min(100% - 32px, 1880px);
  margin-inline: auto;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.statement-track span {
  font-size: clamp(1.15rem, 3vw, 2.7rem);
  font-weight: 950;
  white-space: nowrap;
}

.statement-track span:nth-child(even) {
  color: #f7b287;
}

.cred-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(980px, calc(100% - 36px));
  margin: clamp(22px, 3vw, 34px) auto 0;
}

.cred-bar p {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 0;
  padding: 10px 16px;
  color: #314d65;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 217, 228, 0.82);
  border-radius: 999px;
}

.section {
  padding: clamp(46px, 6vw, 76px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.services-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.services-section .section-heading {
  max-width: 760px;
  margin-bottom: 0;
}

.services-section .section-heading .eyebrow {
  color: #1e6f86;
}

.services-section .section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: #496178;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--ink);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 900;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(6, 22, 45, 0.08);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.carousel-button:hover {
  background: #eef8fc;
  border-color: rgba(20, 155, 237, 0.36);
  transform: translateY(-1px);
}

.section-heading h2,
.contact-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
  background: #fbfdff;
}

.intro-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
  color: #314d65;
  font-size: 1rem;
  line-height: 1.62;
}

.intro-copy p {
  margin: 0;
}

.fit-section {
  background: #fbfdff;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fit-grid article {
  min-height: 160px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fit-grid article::before {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 24px;
  content: "";
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: 999px;
}

.fit-grid h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.12;
}

.fit-grid p {
  margin-bottom: 0;
  color: #496178;
}

.services-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

.service-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  margin-inline: clamp(-72px, -5vw, -20px);
  padding: 4px clamp(20px, 5vw, 72px) 18px;
  scroll-padding-inline: clamp(20px, 5vw, 72px);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(30, 111, 134, 0.5) rgba(203, 217, 228, 0.38);
}

.service-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 min(420px, 82vw);
  min-height: 256px;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 252, 0.9)),
    radial-gradient(circle at 92% 8%, rgba(20, 155, 237, 0.18), transparent 32%);
  border: 1px solid rgba(203, 217, 228, 0.9);
  border-radius: 10px;
  scroll-snap-align: start;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(20, 155, 237, 0.5);
  box-shadow: 0 18px 42px rgba(6, 22, 45, 0.1);
  transform: translateY(-2px);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 28px;
  margin-bottom: 58px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 950;
  background: rgba(20, 155, 237, 0.1);
  border-radius: 999px;
}

.service-card:nth-child(2n) .service-icon {
  color: var(--orange-dark);
  background: rgba(255, 104, 31, 0.1);
}

.service-card:nth-child(3n) .service-icon {
  color: var(--green);
  background: rgba(25, 123, 103, 0.1);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.38rem;
  line-height: 1.1;
}

.service-card p {
  margin-bottom: 0;
  color: #496178;
}

.process-section {
  color: var(--white);
  background: var(--ink);
}

.process-section .eyebrow {
  color: #6ac3f8;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.process-track article {
  min-height: 190px;
  padding: 22px;
  background: var(--ink);
}

.process-track span {
  display: block;
  margin-bottom: 42px;
  color: #6ac3f8;
  font-size: 0.78rem;
  font-weight: 950;
}

.process-track h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.process-track p {
  margin-bottom: 0;
  color: #c6d7e5;
}

.engagements-section {
  background: #f6fafc;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.engagement-grid article {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.engagement-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 950;
  background: transparent;
  border-radius: 0;
}

.engagement-grid article:nth-child(2) span {
  color: var(--orange-dark);
  background: transparent;
}

.engagement-grid article:nth-child(3) span {
  color: var(--green);
  background: transparent;
}

.engagement-grid h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
  line-height: 1.1;
}

.engagement-grid p {
  color: #496178;
}

.engagement-grid a {
  width: fit-content;
  margin-top: auto;
  color: var(--orange-dark);
  font-weight: 900;
  border-bottom: 2px solid rgba(233, 83, 18, 0.28);
}

.faq-section {
  background: var(--white);
}

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

.faq-list details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #496178;
}

.contact-section {
  background: #eaf3f7;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(24px, 4vw, 46px);
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(6, 22, 45, 0.98), rgba(8, 36, 72, 0.96)),
    url("assets/forward-forge-mark-white.png") right -40px center / min(42vw, 520px) no-repeat;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-panel .eyebrow {
  color: #6ac3f8;
}

.contact-panel p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 16px;
  color: #d8e7f2;
  font-size: 1.08rem;
}

.contact-direct {
  display: grid;
  gap: 6px;
  margin-top: 20px;
  color: #d8e7f2;
}

.contact-direct span {
  color: #6ac3f8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-direct a {
  width: fit-content;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 850;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #233b51;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd9e4;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue-dark);
  outline: 3px solid rgba(20, 155, 237, 0.18);
}

.contact-form .button {
  width: 100%;
  margin-top: 2px;
  border: 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: #d8e7f2;
  background: var(--ink);
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  margin: 0;
  text-align: right;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
}

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

@media (max-width: 1060px) {
  .site-header {
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .intro-section,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100vh + 1px);
    min-height: calc(100dvh + 1px);
  }

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

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

  .process-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 14px;
    right: 14px;
    left: 14px;
    min-height: 62px;
    padding-inline: 14px;
    border-radius: 18px;
  }

  .brand span {
    max-width: 146px;
    font-size: 0.9rem;
    white-space: normal;
    line-height: 1.08;
  }

  .brand img {
    width: 48px;
    height: 32px;
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .hero {
    min-height: calc(100vh + 1px);
    min-height: calc(100dvh + 1px);
    margin: 0;
    padding: 108px 22px 42px;
    border-radius: 0;
  }

  .hero-content {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.55rem, 11.2vw, 4rem);
    line-height: 0.98;
  }

  .hero-copy {
    font-size: 1rem;
  }

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

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

  .carousel-controls {
    align-self: flex-end;
  }

  .cred-bar p {
    min-height: 36px;
  }

  .section {
    padding: 46px 16px;
  }

  .section-heading h2,
  .contact-panel h2 {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .process-track {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-basis: min(330px, 86vw);
    min-height: auto;
  }

  .engagement-grid article {
    min-height: auto;
  }

  .engagement-grid span {
    margin-bottom: 48px;
  }

  .process-track article,
  .process-track article:nth-child(2) {
    min-height: 250px;
  }

  .process-track span {
    margin-bottom: 48px;
  }

  .contact-panel {
    padding: 24px 16px;
  }

  .contact-form {
    padding: 16px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer p {
    justify-content: flex-start;
    text-align: left;
  }
}

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

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

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