:root {
  --black: #050505;
  --ink: #151515;
  --charcoal: #242424;
  --slate: #3d3d3d;
  --muted: #686868;
  --line: #d8d8d8;
  --soft-line: #ededed;
  --paper: #f7f7f7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(247, 247, 247, 0.88);
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--charcoal);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 9px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--black);
  color: var(--white);
  outline: none;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

.hero {
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 8vw, 108px) clamp(20px, 4vw, 56px) clamp(38px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(235, 235, 235, 0.72)),
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.04) 0, rgba(0, 0, 0, 0.04) 1px, transparent 1px, transparent 18px);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--slate);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  color: var(--black);
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  color: var(--black);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--black);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  margin-bottom: 32px;
  color: var(--charcoal);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.hero-copy,
.section-body,
.capability-copy,
.contact-block {
  min-width: 0;
  max-width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

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

.button.secondary {
  background: transparent;
  color: var(--black);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-panel {
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel > img {
  width: min(230px, 58vw);
  height: min(230px, 58vw);
  margin: 0 auto 28px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.signal-list {
  display: grid;
  gap: 12px;
}

.signal-list div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.signal-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  color: var(--black);
}

.signal-list span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(60px, 9vw, 118px) clamp(20px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

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

.section-body > p {
  max-width: 860px;
  color: var(--charcoal);
  font-size: 18px;
}

.metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.metric {
  min-height: 260px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
}

.metric span {
  display: block;
  margin-bottom: 54px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-bottom: 10px;
  color: var(--black);
  font-size: 26px;
  line-height: 1.1;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.service-card {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card span,
.portfolio-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card p,
.why-grid p,
.portfolio-list p,
.capability-copy p {
  color: var(--muted);
}

.capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  margin-top: 30px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-top: 1px solid var(--line);
  color: var(--charcoal);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 10px;
  background: var(--black);
  border-radius: 50%;
}

.portfolio-list {
  display: grid;
  gap: 12px;
}

.portfolio-list article {
  padding: 24px;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
}

.portfolio-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.portfolio-list span,
.portfolio-list p {
  color: #cfcfcf;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.why-grid div {
  padding: 28px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(68px, 9vw, 120px) clamp(20px, 4vw, 56px);
}

.cta h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.contact-block {
  padding: 28px;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
}

.contact-block p,
.contact-block span,
.contact-block a {
  display: block;
  margin-bottom: 8px;
}

.contact-block p {
  font-weight: 800;
}

.contact-block a,
.contact-block span {
  color: #dcdcdc;
  overflow-wrap: anywhere;
}

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

.footer span:last-child {
  color: #c7c7c7;
}

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

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

  .menu-open .nav {
    display: flex;
  }

  .nav a {
    border-radius: 6px;
  }

  .hero-grid,
  .section,
  .capability-layout,
  .cta {
    grid-template-columns: 1fr;
  }

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

  .metric {
    min-height: auto;
  }

  .metric span {
    margin-bottom: 30px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .brand span {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav {
    top: 68px;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-grid {
    max-width: 350px;
    margin-inline: 0;
  }

  h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.08;
  }

  .lead {
    max-width: 100%;
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-card,
  .why-grid div,
  .portfolio-list article,
  .contact-block,
  .metric {
    padding: 22px;
  }

  .footer {
    flex-direction: column;
  }
}
