:root {
  --ink: #070b12;
  --ink-soft: #0d1420;
  --panel: #111a28;
  --line: #263244;
  --line-soft: rgba(148, 163, 184, 0.16);
  --text: #f7f9fc;
  --muted: #a9b6c9;
  --blue: #65a8ff;
  --green: #4dd4a7;
  --yellow: #f3c968;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(35, 77, 126, 0.14), transparent 34rem),
    repeating-linear-gradient(128deg, rgba(255, 255, 255, 0.024) 0 1px, transparent 1px 34px),
    var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

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

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 10px max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 11, 18, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 144px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 14px;
  font-weight: 750;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.site-nav .nav-cta {
  padding: 9px 14px;
  color: var(--ink);
  background: var(--white);
  border-radius: 6px;
}

.site-nav a.nav-cta:hover {
  color: var(--ink);
  background: var(--blue);
}

.site-nav a.nav-cta[aria-current="page"] {
  color: var(--ink);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: end;
  min-height: min(780px, calc(100vh - 150px));
  padding-block: clamp(76px, 10vh, 118px) clamp(64px, 8vh, 92px);
}

.eyebrow,
.kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero .lead,
.page-hero .lead {
  max-width: 750px;
  margin-bottom: 34px;
  color: #bdc9da;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
}

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

.availability-note {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 850;
}

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

.button.secondary:hover,
.button.primary:hover {
  color: var(--ink);
  background: var(--blue);
  border-color: var(--blue);
}

.identity {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.identity-photo {
  width: 170px;
  aspect-ratio: 1;
  margin-bottom: 24px;
  object-fit: cover;
  filter: grayscale(1);
  border-radius: 8px;
}

.identity-name {
  margin-bottom: 2px;
  font-size: 20px;
  font-weight: 850;
}

.identity-place {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.identity p:last-of-type {
  color: var(--muted);
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.icon-link img {
  width: 18px;
  height: 18px;
}

.band {
  border-block: 1px solid var(--line-soft);
  background: rgba(13, 20, 32, 0.72);
}

.band-inner,
.section {
  padding-block: clamp(72px, 9vw, 120px);
}

.offer-strip {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.offer-strip h2,
.section-heading h2,
.content-header h2 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.offer-summary {
  color: var(--muted);
  font-size: 18px;
}

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

.term {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding-block: 19px;
  border-bottom: 1px solid var(--line);
}

.term-number {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.term strong {
  display: block;
  margin-bottom: 4px;
}

.term p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: end;
  margin-bottom: 54px;
}

.section-heading > p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.service-list,
.project-list,
.article-list {
  border-top: 1px solid var(--line);
}

.service-row,
.project-row,
.article-row {
  display: grid;
  grid-template-columns: 0.45fr 1.05fr 0.5fr;
  gap: 28px;
  align-items: start;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.service-row h3,
.project-row h3,
.article-row h3 {
  margin-bottom: 8px;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.15;
}

.service-row p,
.project-row p,
.article-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.row-tag {
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.arrow-link {
  justify-self: end;
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
}

.arrow-link:hover,
.text-link:hover {
  color: var(--blue);
}

.featured-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.featured-projects-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-feature {
  min-width: 0;
}

.project-feature-wide {
  grid-column: 1 / -1;
}

.project-feature-wide .project-media {
  aspect-ratio: 16 / 7.5;
}

.project-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.project-media-dashboard img {
  object-position: top;
}

.case-visual {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.project-feature:hover .project-media img {
  transform: scale(1.015);
}

.project-feature h3 {
  margin-bottom: 8px;
  font-size: 29px;
}

.project-feature p {
  color: var(--muted);
}

.section-link {
  margin: 38px 0 0;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero {
  padding-block: clamp(80px, 11vw, 148px) clamp(62px, 8vw, 96px);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero.compact {
  padding-block: clamp(60px, 8vw, 96px);
}

.page-hero h1 {
  font-size: clamp(48px, 7vw, 84px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.page-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(48px, 9vw, 124px);
}

.project-data-grid {
  grid-template-columns: minmax(370px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 7vw, 96px);
}

.page-aside {
  align-self: start;
  position: sticky;
  top: 108px;
}

.page-aside p {
  color: var(--muted);
}

.fact-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.fact-list strong {
  color: var(--text);
}

.prose {
  max-width: 790px;
}

.prose h2 {
  margin: 58px 0 16px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 34px 0 10px;
  font-size: 23px;
}

.prose p,
.prose li {
  color: #c0cada;
  font-size: 17px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
}

.prose a,
.text-link {
  color: var(--blue);
  font-weight: 750;
}

.callout {
  margin-block: 36px;
  padding: 24px 28px;
  border-left: 3px solid var(--green);
  background: rgba(17, 26, 40, 0.72);
}

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

.case-image {
  overflow: hidden;
  margin: 0 0 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.case-image img {
  width: 100%;
}

.contact-band {
  border-top: 1px solid var(--line-soft);
  background:
    linear-gradient(110deg, rgba(101, 168, 255, 0.11), transparent 42%),
    var(--ink-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(42px, 9vw, 120px);
  align-items: end;
}

.contact-layout h2 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.03;
}

.contact-layout p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.contact-links {
  display: grid;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}

.contact-links a:hover {
  color: var(--blue);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-block: 30px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 10px 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
  }

  .identity {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .identity-photo {
    width: 120px;
    margin: 0;
  }

  .offer-strip,
  .section-heading,
  .page-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .featured-projects-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-projects-three .project-feature-last {
    grid-column: 1 / -1;
  }

  .page-aside {
    position: static;
  }

  .service-row,
  .project-row,
  .article-row {
    grid-template-columns: 0.4fr 1.2fr;
  }

  .arrow-link {
    grid-column: 2;
    justify-self: start;
  }
}

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

  .site-header {
    padding-inline: 16px;
  }

  .site-nav .nav-cta {
    padding: 0;
    color: var(--muted);
    background: transparent;
  }

  .site-nav a.nav-cta:hover,
  .site-nav a.nav-cta[aria-current="page"] {
    color: var(--white);
    background: transparent;
  }

  .site-nav {
    gap: 8px;
    font-size: 11px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 46px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .hero {
    padding-top: 58px;
  }

  .identity {
    grid-template-columns: 88px 1fr;
  }

  .identity-photo {
    width: 88px;
  }

  .identity div > p:last-of-type {
    display: none;
  }

  .contact-page .page-aside {
    display: none;
  }

  .featured-projects {
    grid-template-columns: 1fr;
  }

  .service-row,
  .project-row,
  .article-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .arrow-link {
    grid-column: 1;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
