:root {
  --blue: #1168a7;
  --blue-bright: #1686cf;
  --blue-soft: #dcecf7;
  --ink: #07111c;
  --ink-soft: #101e2c;
  --paper: #f5f6f7;
  --white: #ffffff;
  --grey: #aab3bd;
  --grey-dark: #5b6773;
  --line: #d8dde2;
  --container: 1180px;
  --radius: 4px;
  --shadow: 0 24px 80px rgba(7, 17, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(90px, 11vw, 150px);
}

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

.section-pale {
  background: var(--paper);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(7, 17, 28, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(7, 17, 28, 0.05);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand img {
  width: min(300px, 34vw);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 38px);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header.is-scrolled .main-nav {
  color: var(--ink);
}

.main-nav > a:not(.nav-cta) {
  position: relative;
}

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

.main-nav > a:not(.nav-cta):hover::after,
.main-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 13px 18px;
  color: var(--white);
  background: var(--blue);
  transition: background 180ms ease;
}

.nav-cta:hover {
  background: var(--blue-bright);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 27px;
  height: 2px;
  margin: 7px auto;
  background: var(--white);
  transition: transform 180ms ease;
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

.hero {
  position: relative;
  display: flex;
  min-height: 820px;
  padding-top: 88px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 17, 28, 0.98) 0%, rgba(7, 17, 28, 0.87) 48%, rgba(7, 17, 28, 0.22) 100%);
  content: "";
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  filter: saturate(0.78) contrast(1.08);
  transform: scale(1.025);
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.09;
  background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}

.hero-content {
  align-self: center;
  padding-top: 40px;
  padding-bottom: 150px;
}

.eyebrow,
.section-label {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  color: #83c8f3;
}

.eyebrow span {
  width: 34px;
  height: 2px;
  margin-right: 12px;
  background: var(--blue-bright);
  box-shadow: 0 0 16px var(--blue-bright);
}

.section-label-light {
  color: #6cb8e8;
}

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

h1,
h2 {
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 {
  max-width: 940px;
  margin-bottom: 34px;
  font-size: clamp(3.8rem, 7.7vw, 7.3rem);
}

h1 em {
  color: #8bc9ee;
  font-style: normal;
  font-weight: 350;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.3vw, 5.3rem);
}

h3 {
  line-height: 1.18;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 38px;
  color: #d7e0e8;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px 24px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button svg,
.text-link svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-bright);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.hero-facts {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts > div {
  display: flex;
  min-height: 115px;
  align-items: center;
  gap: 18px;
  padding: 20px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-facts > div:first-child {
  padding-left: 0;
}

.hero-facts > div:last-child {
  border-right: 0;
}

.hero-facts strong {
  color: #8bc9ee;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
}

.hero-facts span {
  color: #c4cdd5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.intro-grid,
.about-grid,
.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(50px, 10vw, 150px);
}

.intro-copy {
  align-self: end;
  color: var(--grey-dark);
  font-size: 1.13rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: end;
  gap: 60px;
  margin-bottom: 64px;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--grey);
}

.section-heading-dark > p {
  color: var(--grey-dark);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.service-card {
  position: relative;
  min-height: 530px;
  padding: clamp(30px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transition: background 250ms ease, transform 250ms ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:hover {
  background: var(--ink-soft);
  transform: translateY(-5px);
}

.service-card-accent::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--blue-bright);
  box-shadow: 0 0 20px rgba(22, 134, 207, 0.7);
  content: "";
}

.service-number {
  margin-bottom: 50px;
  color: #536170;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 30px;
  place-items: center;
  color: #77c4f1;
  background: rgba(17, 104, 167, 0.17);
}

.service-icon svg {
  width: 35px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.service-card h3 {
  margin-bottom: 18px;
  font-size: 1.75rem;
}

.service-card p {
  color: #aeb9c4;
}

.service-card ul {
  margin: 28px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #d8dfe5;
  font-size: 0.9rem;
  list-style: none;
}

.service-card li {
  position: relative;
  margin: 8px 0;
  padding-left: 18px;
}

.service-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-bright);
  content: "";
}

.materials-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(60px, 10vw, 140px);
}

.materials-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}

.materials-copy h2 {
  margin-bottom: 32px;
  font-size: clamp(2.8rem, 4.5vw, 4.7rem);
}

.materials-copy > p:not(.section-label) {
  margin-bottom: 28px;
  color: var(--grey-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.material-row {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.material-row:first-child {
  border-top: 1px solid var(--line);
}

.material-index {
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
}

.material-row h3 {
  margin-bottom: 6px;
  font-size: 1.4rem;
}

.material-row p {
  margin-bottom: 0;
  color: var(--grey-dark);
  font-size: 0.92rem;
}

.material-tags {
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

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

.project {
  position: relative;
  grid-column: span 5;
  min-height: 410px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.project-large {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 842px;
}

.project-wide {
  grid-column: 8 / span 5;
}

.project::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(7, 17, 28, 0.86) 100%);
  content: "";
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2,.7,.2,1);
}

.project:hover img {
  transform: scale(1.045);
}

.project figcaption {
  position: absolute;
  z-index: 1;
  right: 30px;
  bottom: 28px;
  left: 30px;
  color: var(--white);
}

.project figcaption span {
  color: #8bc9ee;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project figcaption h3 {
  margin: 5px 0 0;
  font-size: 1.45rem;
}

.process .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(70px, 11vw, 160px);
}

.process-intro h2 {
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-list li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li:first-child {
  padding-top: 0;
}

.process-list > li > span {
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 800;
}

.process-list h3 {
  margin-bottom: 7px;
  font-size: 1.35rem;
}

.process-list p {
  margin-bottom: 0;
  color: var(--grey-dark);
}

.about-copy {
  color: #b8c2cb;
  font-size: 1.12rem;
}

.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 42px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.about-meta span,
.about-meta strong {
  display: block;
}

.about-meta span {
  margin-bottom: 6px;
  color: #657584;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-meta strong {
  color: var(--white);
  font-size: 0.95rem;
}

.cta-section {
  padding-block: clamp(90px, 10vw, 130px);
  background: var(--blue-soft);
}

.cta-inner {
  align-items: end;
}

.cta-action > p {
  margin-bottom: 28px;
  color: #405565;
}

.site-footer {
  padding-top: 70px;
  color: #b8c2cb;
  background: #030a11;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.6fr;
  gap: 60px;
  padding-bottom: 60px;
}

.footer-logo {
  width: min(320px, 100%);
}

.footer-contact p {
  margin-bottom: 2px;
}

.footer-contact a {
  display: block;
  width: fit-content;
  margin-top: 7px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--white);
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #8bc9ee;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #6d7a86;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-page {
  min-height: 100vh;
  padding-top: 88px;
  background: var(--paper);
}

.legal-hero {
  padding-block: 90px 50px;
  color: var(--white);
  background: var(--ink);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6rem);
}

.legal-content {
  max-width: 820px;
  padding-block: 70px 110px;
}

.legal-content h2 {
  margin: 45px 0 16px;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.legal-content h3 {
  margin: 30px 0 10px;
}

.legal-content a {
  color: var(--blue);
  text-decoration: underline;
}

.legal-note {
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 87px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 50px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    color: var(--white);
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
    font-size: 1.05rem;
  }

  .main-nav .nav-cta {
    margin-top: 28px;
    padding: 18px;
    border: 0;
    text-align: center;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

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

  .service-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .materials-grid,
  .process .container {
    grid-template-columns: 1fr;
  }

  .materials-copy {
    position: static;
  }

  .project {
    grid-column: span 6;
  }

  .project-large {
    grid-column: span 6;
    min-height: 620px;
  }

  .project-wide {
    grid-column: 7 / span 6;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 235px;
  }

  .main-nav {
    top: 73px;
  }

  .hero {
    min-height: 860px;
    padding-top: 74px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(7, 17, 28, 0.95) 0%, rgba(7, 17, 28, 0.78) 65%, rgba(7, 17, 28, 0.93) 100%);
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-content {
    align-self: flex-start;
    padding-top: 110px;
    padding-bottom: 250px;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts > div {
    min-height: 68px;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-facts > div:first-child {
    padding-left: 0;
  }

  .hero-facts > div:last-child {
    border-bottom: 0;
  }

  .hero-facts strong {
    min-width: 110px;
  }

  .intro-grid,
  .about-grid,
  .cta-inner,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .material-row {
    grid-template-columns: 36px 1fr;
  }

  .material-tags {
    grid-column: 2;
    text-align: left;
  }

  .project-grid {
    display: block;
  }

  .project,
  .project-large,
  .project-wide {
    min-height: 440px;
    margin-bottom: 18px;
  }

  .about-meta,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main {
    gap: 38px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
}

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

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