:root {
  --ink: #101418;
  --muted: #5a646d;
  --line: #d9e0e5;
  --paper: #f7f8f7;
  --white: #ffffff;
  --steel: #1f3a45;
  --accent: #d3622a;
  --accent-dark: #9d421f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 48px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(16, 20, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  padding: 5px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 20, 24, 0.18);
}

.site-header.is-scrolled .brand-mark {
  border-color: var(--line);
  box-shadow: 0 6px 18px rgba(16, 20, 24, 0.1);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  font-size: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  opacity: 0.84;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 16, 20, 0.88) 0%, rgba(10, 16, 20, 0.68) 38%, rgba(10, 16, 20, 0.08) 78%),
    linear-gradient(0deg, rgba(10, 16, 20, 0.18), rgba(10, 16, 20, 0.18));
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding-top: 60px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 7vw, 90px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

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

.button.primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.dark {
  white-space: nowrap;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0;
}

.services {
  position: relative;
  overflow: hidden;
}

.section-watermark {
  position: absolute;
  z-index: 0;
  top: 80px;
  right: -84px;
  width: min(360px, 34vw);
  opacity: 0.035;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.services > :not(.section-watermark) {
  position: relative;
  z-index: 1;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  gap: clamp(36px, 8vw, 120px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.intro-aside {
  display: grid;
  gap: 24px;
}

.logo-lockup {
  height: 132px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.logo-lockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.intro-aside p,
.band p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: 60px;
  margin-bottom: 44px;
}

.services-lead {
  max-width: 780px;
  margin: -18px 0 42px auto;
  color: var(--muted);
  font-size: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  overflow: hidden;
  background: var(--white);
}

.service-card::after {
  position: absolute;
  right: -26px;
  bottom: -36px;
  width: 132px;
  height: 132px;
  background: url("assets/logo-watchtower.jpeg") center / contain no-repeat;
  content: "";
  opacity: 0.045;
  mix-blend-mode: multiply;
}

.card-number {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 74px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.service-card p,
.proof-item span {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}

.capability-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.capability-group {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability-group h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.capability-group p {
  margin: 0 0 22px;
  color: var(--muted);
}

.capability-group ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-group li {
  position: relative;
  padding-left: 18px;
  color: #27313a;
  font-size: 15px;
}

.capability-group li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.visual-break {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
  align-items: stretch;
  min-height: 520px;
  background: var(--ink);
}

.visual-break-image {
  position: relative;
  overflow: hidden;
}

.visual-break-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 20, 24, 0.12), rgba(16, 20, 24, 0.62));
  content: "";
}

.visual-break-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.88) contrast(1.04);
}

.visual-break-copy {
  position: relative;
  display: grid;
  align-content: center;
  padding: 76px clamp(28px, 5vw, 72px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(31, 58, 69, 0.96), rgba(16, 20, 24, 0.98)),
    var(--steel);
}

.visual-mark {
  position: absolute;
  right: -72px;
  bottom: -88px;
  width: min(320px, 55vw);
  opacity: 0.08;
  mix-blend-mode: screen;
  pointer-events: none;
}

.visual-break h2 {
  max-width: 560px;
  font-size: clamp(34px, 4vw, 54px);
}

.visual-break-copy p:not(.section-kicker) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.6fr);
  gap: clamp(36px, 7vw, 100px);
  padding: 108px clamp(20px, 4vw, 48px);
  color: var(--white);
  background: var(--steel);
}

.band-content {
  width: min(720px, 100%);
  margin-left: auto;
}

.band p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 24px;
}

.steps {
  display: grid;
  gap: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.steps div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 800;
}

.steps p {
  margin: 0;
  font-size: 16px;
}

.proof {
  padding-bottom: 90px;
}

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

.proof-item {
  padding: 0 0 0 22px;
  border-left: 3px solid var(--accent);
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  margin-bottom: 8px;
  font-size: 19px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 76px clamp(20px, 4vw, 48px);
  color: var(--white);
  background: var(--ink);
}

.contact > div {
  max-width: 760px;
}

.contact p {
  max-width: 640px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 48px);
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

@media (max-width: 880px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit;
    background: transparent;
  }

  .nav-toggle-line,
  .nav-toggle-line::before,
  .nav-toggle-line::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .nav-toggle-line::before {
    transform: translateY(-6px);
  }

  .nav-toggle-line::after {
    transform: translateY(4px);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(16, 20, 24, 0.16);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 16, 20, 0.9), rgba(10, 16, 20, 0.52));
  }

  .intro,
  .section-heading,
  .visual-break,
  .band,
  .contact {
    grid-template-columns: 1fr;
  }

  .visual-break {
    min-height: 0;
  }

  .visual-break-image {
    min-height: 340px;
  }

  .service-grid,
  .capability-groups,
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact {
    display: grid;
  }
}

@media (max-width: 600px) {
  .brand-text {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    padding: 5px;
  }

  .hero {
    min-height: 620px;
  }

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

  .section,
  .band {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-watermark {
    top: 96px;
    right: -120px;
    width: 280px;
  }

  .visual-break-image {
    min-height: 260px;
  }

  .visual-break-copy {
    padding: 64px 20px;
  }

  .service-grid,
  .capability-groups,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .services-lead {
    margin: -10px 0 34px;
    font-size: 18px;
  }

  .capability-group {
    padding: 24px;
  }

  .logo-lockup {
    height: 112px;
  }

  .card-number {
    margin-bottom: 44px;
  }

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