:root {
  --blue: #173b5c;
  --blue-deep: #0b1f33;
  --blue-soft: #e8f0f7;
  --red: #c8102e;
  --red-dark: #a50d25;
  --paper: #ffffff;
  --plan: #f3f5f7;
  --line: #dfe5eb;
  --text: #4a5563;
  --muted: #718096;
  --shadow: 0 18px 44px rgba(11, 31, 51, 0.12);
  --radius: 8px;
  --container: min(100% - 48px, 1240px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: var(--container);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 40px rgba(11, 31, 51, 0.12);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(23, 59, 92, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-deep);
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 42px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -16px;
  width: 44px;
  height: 70px;
  transform: rotate(32deg);
  background: var(--red);
}

.brand-mark span {
  position: relative;
  z-index: 1;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 15px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand .custom-logo {
  width: auto;
  max-width: 160px;
  max-height: 42px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-deep);
}

.site-nav a {
  position: relative;
  outline-offset: 8px;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-cta,
.button-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 10px 22px rgba(200, 16, 46, 0.24);
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: white;
  color: var(--blue);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  padding: 13px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: white;
}

.hero {
  position: relative;
  min-height: 690px;
  padding: 136px 0 82px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(120deg, rgba(11, 31, 51, 0.96), rgba(23, 59, 92, 0.9)),
    radial-gradient(circle at 78% 20%, rgba(200, 16, 46, 0.3), transparent 30%),
    var(--blue-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, black 18%, black 84%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -220px;
  width: 36vw;
  min-width: 420px;
  height: 980px;
  transform: rotate(28deg);
  background: rgba(200, 16, 46, 0.62);
}

.page-grid,
.section,
.trust-inner,
.site-footer,
.final-cta-inner {
  width: var(--container);
  margin-inline: auto;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-copy {
  grid-column: span 6;
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero .eyebrow,
.process-band .eyebrow,
.final-cta .eyebrow {
  color: #ff6a7d;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--blue-deep);
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  color: white;
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  max-width: 760px;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 21px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 42px 0 0;
}

.hero-proof div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof dt {
  color: white;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-proof dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  grid-column: 7 / -1;
}

.blueprint-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04));
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.28);
}

.blueprint-card svg {
  width: 100%;
  height: auto;
}

.hero-photo {
  width: 100%;
  min-height: 440px;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}

.hero-photo-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(11, 31, 51, 0.76);
  color: white;
  backdrop-filter: blur(12px);
}

.hero-photo-caption span {
  color: #ff6a7d;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-photo-caption strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 21px;
  line-height: 1.2;
}

.red-diagonal {
  position: absolute;
  right: 9%;
  top: -80px;
  z-index: 1;
  width: 26px;
  height: 720px;
  transform: rotate(34deg);
  background: rgba(200, 16, 46, 0.86);
}

.axis,
.model path,
.callouts path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.76);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.model path:nth-child(n + 5) {
  stroke: rgba(11, 31, 51, 0.58);
  stroke-width: 2.2;
}

.callouts circle {
  fill: var(--red);
}

.callouts text {
  fill: white;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -44px;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.trust-inner span {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 18px;
  color: var(--blue-deep);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
  text-align: center;
  border-right: 1px solid var(--line);
}

.trust-inner span:last-child {
  border-right: 0;
}

.section {
  padding-block: 112px;
}

.section.light,
.section.method {
  width: 100%;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  background:
    linear-gradient(90deg, rgba(23, 59, 92, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(23, 59, 92, 0.035) 1px, transparent 1px),
    var(--plan);
  background-size: 44px 44px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
}

.section-heading p:not(.eyebrow),
.split-layout > div > p:not(.eyebrow),
.method-panel p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 19px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1240px;
  margin-inline: auto;
}

.mission-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(11, 31, 51, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mission-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 16, 46, 0.28);
  box-shadow: 0 20px 38px rgba(11, 31, 51, 0.12);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: #fff1f3;
  color: var(--red);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

h3 {
  font-size: 1.28rem;
}

.mission-card p {
  margin: 14px 0 0;
}

.technical-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 34px auto 0;
}

.technical-gallery figure {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--blue-deep);
  box-shadow: 0 12px 30px rgba(11, 31, 51, 0.1);
}

.technical-gallery img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: 0.92;
}

.technical-gallery figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(11, 31, 51, 0.82);
  color: white;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.process-band {
  position: relative;
  width: 100%;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  color: white;
  background: var(--blue-deep);
}

.process-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background:
    linear-gradient(30deg, transparent 48%, white 49%, white 50%, transparent 51%),
    linear-gradient(150deg, transparent 48%, white 49%, white 50%, transparent 51%);
  background-size: 90px 90px;
}

.split-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
  max-width: 1240px;
  margin-inline: auto;
}

.split-layout h2,
.process-band h2,
.final-cta h2 {
  color: white;
}

.process-band .split-layout > div > p:not(.eyebrow),
.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 700;
}

.timeline span {
  color: #ff6a7d;
  font-size: 14px;
}

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

.audience-grid article {
  padding: 26px;
  border-left: 4px solid var(--red);
  background: white;
  box-shadow: 0 12px 28px rgba(11, 31, 51, 0.08);
}

.audience-grid strong,
.audience-grid span {
  display: block;
}

.audience-grid strong {
  color: var(--blue-deep);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 20px;
}

.audience-grid span {
  margin-top: 8px;
}

.projects {
  padding-top: 108px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.project-card.featured {
  grid-row: span 2;
}

.project-visual {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background-color: var(--blue);
  background-image:
    linear-gradient(140deg, rgba(11, 31, 51, 0.25), rgba(11, 31, 51, 0.9)),
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
}

.featured .project-visual {
  min-height: 430px;
}

.project-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.03);
}

.visual-1 {
  position: relative;
}

.visual-1::before,
.visual-2::before,
.visual-3::before {
  content: "";
  display: block;
  width: 58%;
  height: 58%;
  margin: 12% auto 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  transform: skewY(-20deg) rotate(-8deg);
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.6) 49%, transparent 51%),
    linear-gradient(rgba(255,255,255,0.38) 1px, transparent 1px);
  background-size: 44px 100%, 100% 38px;
  box-shadow: 24px 32px 0 rgba(200, 16, 46, 0.72);
}

.project-visual::before {
  display: none;
}

.visual-2 {
  background-color: #234f73;
}

.visual-3 {
  background-color: #102e4b;
}

.project-content {
  padding: 26px;
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 7px 11px;
  background: #fff1f3;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-content p {
  margin: 13px 0 0;
}

.project-content dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0 0;
}

.project-content dl div {
  padding: 14px;
  border-radius: 8px;
  background: var(--plan);
}

.project-content dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-content dd {
  margin: 4px 0 0;
  color: var(--blue-deep);
  font-weight: 800;
}

.method .split-layout {
  grid-template-columns: 4fr 8fr;
}

.method-panel {
  position: sticky;
  top: 130px;
  padding: 34px;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.method-steps {
  display: grid;
  gap: 16px;
}

.method-steps article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.method-steps span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-weight: 800;
}

.method-steps strong {
  color: var(--blue-deep);
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 19px;
}

.method-steps p {
  margin: 0;
}

.final-cta {
  padding: 96px 0;
  background:
    linear-gradient(110deg, rgba(200, 16, 46, 0.94), rgba(11, 31, 51, 0.92)),
    var(--red);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.final-cta h2 {
  max-width: 830px;
}

.button-primary.light-on-red {
  background: white;
  color: var(--red);
  box-shadow: none;
}

.button-primary.light-on-red:hover {
  background: var(--blue-soft);
}

.button-secondary.light {
  color: white;
  border-color: rgba(255, 255, 255, 0.64);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 32px;
  padding: 54px 0 76px;
}

.footer-brand {
  margin-bottom: 18px;
}

.site-footer p {
  max-width: 430px;
  margin: 0;
}

.site-footer address,
.site-footer nav {
  display: grid;
  gap: 8px;
  font-style: normal;
}

.business-card {
  width: min(100%, 360px);
  margin-top: 14px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(11, 31, 51, 0.12);
}

.site-footer strong,
.site-footer a:hover {
  color: var(--blue-deep);
}

.mobile-call {
  display: none;
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 32px, 720px);
  }

  .site-header {
    top: 10px;
    border-radius: 8px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 10px;
    font-size: 18px;
  }

  .site-nav .nav-cta {
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
    padding: 138px 0 78px;
  }

  .hero-grid,
  .split-layout,
  .method .split-layout,
  .final-cta-inner,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual {
    grid-column: auto;
  }

  .hero-visual {
    order: 2;
  }

  .hero-proof,
  .trust-inner,
  .mission-grid,
  .technical-gallery,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .project-card.featured {
    grid-row: auto;
  }

  .method-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 100%);
  }

  body {
    font-size: 16px;
    padding-bottom: 70px;
  }

  .brand-copy {
    display: none;
  }

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

  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions,
  .final-cta .hero-actions {
    display: grid;
    width: 100%;
  }

  .hero-proof,
  .trust-inner,
  .mission-grid,
  .technical-gallery,
  .audience-grid,
  .project-content dl {
    grid-template-columns: 1fr;
  }

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

  .trust-inner {
    border-radius: 0;
    width: 100%;
  }

  .trust-inner span {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding-block: 68px;
  }

  .section.light,
  .section.method,
  .process-band {
    padding-inline: 12px;
  }

  .section-heading {
    margin-bottom: 32px;
    text-align: left;
  }

  .mission-card,
  .method-panel,
  .method-steps article,
  .project-content {
    padding: 22px;
  }

  .method-steps article {
    grid-template-columns: 1fr;
  }

  .method-steps span {
    grid-row: auto;
  }

  .featured .project-visual,
  .project-visual {
    min-height: 250px;
  }

  .hero-photo {
    min-height: 360px;
  }

  .hero-photo-caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .final-cta {
    padding: 72px 0;
  }

  .mobile-call {
    position: fixed;
    z-index: 30;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    min-height: 52px;
    border-radius: 999px;
    background: var(--red);
    color: white;
    box-shadow: 0 12px 28px rgba(200, 16, 46, 0.34);
    font-weight: 800;
  }
}
