:root {
  color-scheme: light;
  --ink: #10191f;
  --muted: #59636a;
  --paper: #f6f7f5;
  --white: #fff;
  --line: #d9dedc;
  --blue: #1688d4;
  --red: #ed3030;
  --yellow: #f3bc20;
  --page-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

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

.site-header {
  width: min(var(--page-width), calc(100% - 80px));
  height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: 178px;
  height: 72px;
}

.brand-crop {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.brand-crop img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a,
.back-to-top {
  transition: color 160ms ease;
}

.site-nav a:hover,
.back-to-top:hover {
  color: var(--red);
}

.site-nav .nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
  width: min(var(--page-width), calc(100% - 80px));
  min-height: 630px;
  margin: 0 auto;
  padding: 68px 0 96px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: 8px;
  animation: arrive 650ms ease-out both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgb(237 48 48 / 12%);
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(54px, 6vw, 82px);
  line-height: 0.99;
}

h1 em,
h2 em {
  color: var(--red);
  font-weight: 400;
}

.hero-intro {
  max-width: 430px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

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

.button-primary:hover {
  background: #c91f28;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  color: var(--blue);
  font-size: 17px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translate(3px, -2px);
}

.hero-note {
  margin: 48px 0 0;
  color: #7a8388;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hero-note span {
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 18px 20px 0;
  animation: arrive 700ms 100ms ease-out both;
}

.visual-topline,
.visual-caption {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.visual-topline {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.visual-topline span:last-child {
  color: var(--red);
}

.visual-grid {
  position: absolute;
  inset: 48px 0 38px;
  background-image: linear-gradient(rgb(16 25 31 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(16 25 31 / 5%) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.visual-logo {
  position: relative;
  display: grid;
  min-height: 286px;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 48px rgb(16 25 31 / 8%);
}

.visual-logo img {
  display: block;
  width: 108%;
  max-width: none;
  height: auto;
}

.visual-caption {
  align-items: center;
  padding-top: 16px;
  line-height: 1.5;
}

.caption-index {
  align-self: flex-start;
  color: var(--blue);
}

.caption-mark {
  color: var(--red);
  font-size: 19px;
}

.visual-edge {
  position: absolute;
  z-index: -1;
  top: 80px;
  right: -10px;
  width: 9px;
  height: 114px;
  background: var(--yellow);
}

.hero-bottom {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.section-wrap {
  width: min(var(--page-width), calc(100% - 80px));
  margin: 0 auto;
}

.capabilities {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10%;
  padding-top: 110px;
  padding-bottom: 120px;
  border-top: 1px solid var(--line);
}

.section-heading .eyebrow {
  margin-bottom: 22px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1.04;
}

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

.capability {
  display: grid;
  grid-template-columns: 40px 1fr 28px;
  gap: 18px;
  align-items: start;
  padding: 24px 0 23px;
  border-bottom: 1px solid var(--line);
}

.capability-number {
  padding-top: 4px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

.capability h3 {
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 650;
}

.capability p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.capability-symbol {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 14px;
}

.symbol-blue { color: var(--blue); }
.symbol-yellow { color: #a98000; }
.symbol-red { color: var(--red); }

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

.approach-inner {
  position: relative;
  width: min(var(--page-width), calc(100% - 80px));
  margin: 0 auto;
  padding: 90px 0 96px;
}

.approach .eyebrow {
  color: #b5c0c4;
}

.eyebrow-rule {
  width: 25px;
  height: 2px;
  background: var(--yellow);
}

.approach-content {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 12%;
  align-items: end;
}

.approach h2 {
  font-size: clamp(48px, 6vw, 76px);
}

.approach h2 em {
  color: #4ca9e4;
}

.approach-copy {
  max-width: 400px;
  padding-bottom: 4px;
}

.approach-copy p {
  margin-bottom: 24px;
  color: #c5ced1;
  font-size: 15px;
  line-height: 1.75;
}

.approach-copy .text-link span {
  color: var(--yellow);
}

.approach-stamp {
  position: absolute;
  right: 0;
  top: 68px;
  display: flex;
  width: 85px;
  height: 85px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgb(255 255 255 / 34%);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transform: rotate(8deg);
}

.approach-stamp b {
  margin-top: 4px;
  color: var(--yellow);
  font-size: 16px;
}

.contact {
  padding-top: 82px;
  padding-bottom: 90px;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-main {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.contact h2 {
  font-size: clamp(44px, 5.2vw, 68px);
}

.button-dark {
  min-width: 170px;
  margin-bottom: 8px;
  color: var(--white);
  background: var(--ink);
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 82px;
  padding: 0 max(40px, calc((100% - var(--page-width)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.footer-brand {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.footer-brand span {
  margin-left: 2px;
  color: var(--red);
  font-size: 8px;
  vertical-align: top;
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.back-to-top {
  justify-self: end;
  font-weight: 650;
}

.back-to-top span {
  margin-left: 8px;
  color: var(--blue);
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .section-wrap,
  .approach-inner {
    width: min(100% - 48px, 700px);
  }

  .site-header { height: 82px; }
  .brand { width: 150px; height: 62px; }
  .site-nav { gap: 22px; }

  .hero {
    grid-template-columns: 1fr 0.9fr;
    gap: 28px;
    min-height: 580px;
    padding-top: 58px;
  }

  h1 { font-size: clamp(52px, 7.2vw, 68px); }
  .hero-visual { padding-right: 8px; padding-left: 8px; }
  .visual-logo { min-height: 225px; }
  .hero-actions { gap: 18px; }
  .capabilities { gap: 6%; }
  .approach-content { gap: 7%; }
  .approach-stamp { top: 40px; }
  .site-footer { padding-right: 24px; padding-left: 24px; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 72px; }

  .site-header,
  .hero,
  .section-wrap,
  .approach-inner {
    width: calc(100% - 40px);
  }

  .site-header { height: 74px; }
  .brand { width: 128px; height: 56px; }
  .site-nav { gap: 0; }
  .site-nav > a:not(.nav-contact) { display: none; }
  .site-nav .nav-contact { padding: 10px 11px; font-size: 11px; }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
    padding: 62px 0 78px;
  }

  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 20px; font-size: 9px; }
  h1 { max-width: 460px; font-size: clamp(48px, 14vw, 68px); }
  .hero-intro { max-width: 360px; font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-note { margin-top: 30px; }
  .hero-visual { padding: 0 8px; }
  .visual-logo { min-height: 205px; }
  .visual-edge { right: -1px; }

  .hero-bottom { bottom: 23px; font-size: 7px; }
  .capabilities { display: block; padding-top: 72px; padding-bottom: 78px; }
  .section-heading { margin-bottom: 40px; }
  h2 { font-size: 43px; }
  .capability { grid-template-columns: 28px 1fr 25px; gap: 12px; }
  .capability h3 { font-size: 14px; }
  .capability p { font-size: 12px; }

  .approach-inner { padding: 72px 0 76px; }
  .approach-content { display: block; }
  .approach h2 { margin-bottom: 28px; font-size: 53px; }
  .approach-copy { max-width: 470px; }
  .approach-copy p { font-size: 14px; }
  .approach-stamp { top: 25px; width: 64px; height: 64px; font-size: 6px; }
  .approach-stamp b { font-size: 13px; }

  .contact { padding-top: 65px; padding-bottom: 70px; }
  .contact-main { align-items: flex-start; flex-direction: column; gap: 26px; }
  .contact h2 { font-size: 48px; }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 10px 20px;
    min-height: 106px;
    padding: 20px;
  }

  .site-footer p { grid-column: 1; grid-row: 2; }
  .back-to-top { grid-column: 2; grid-row: 1; }
  .site-footer small { grid-column: 2; grid-row: 2; justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}