:root {
  --white: #ffffff;
  --paper: #f6f8f9;
  --ink: #15191d;
  --graphite: #242b31;
  --muted: #69747d;
  --line: #dfe5e9;
  --bluegray: #536b7a;
  --steel: #8fa1ab;
  --orange: #f47b20;
  --orange-soft: #fff1e8;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
footer[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 229, 233, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--graphite), #465761);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: inset 0 -3px 0 rgba(244, 123, 32, 0.75);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: #35414a;
  font-size: 0.9rem;
  font-weight: 650;
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: 180ms ease;
}

.nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 72px) 44px;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 20, 24, 0.92) 0%, rgba(15, 20, 24, 0.72) 38%, rgba(15, 20, 24, 0.12) 76%),
    linear-gradient(180deg, rgba(15, 20, 24, 0.2), rgba(15, 20, 24, 0.62));
}

.hero-content,
.hero-metrics {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--bluegray);
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 7vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
  line-height: 1.25;
}

.hero-copy {
  width: min(650px, 100%);
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

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

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

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

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

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

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(780px, 100%);
  margin-top: 74px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics span {
  padding: 18px;
  background: rgba(20, 25, 29, 0.62);
  color: rgba(255, 255, 255, 0.78);
}

.hero-metrics strong {
  display: block;
  color: var(--white);
  font-size: 1.35rem;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 122px) 0;
}

.intro-grid,
.credentials,
.vision {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.intro-copy,
.credentials p,
.vision p,
.split p,
.expertise-layout p,
.section-head p {
  color: var(--muted);
  font-size: 1.04rem;
}

.band,
.expertise-band {
  width: 100%;
  max-width: none;
  background: var(--paper);
}

.split,
.expertise-layout {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.image-pair {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 14px;
}

.image-pair img,
.project-grid img,
.vision img {
  width: 100%;
  object-fit: cover;
  background: #d9e1e5;
}

.image-pair img {
  height: 430px;
  border-radius: 8px;
}

.image-pair img:first-child {
  margin-top: 34px;
}

.section-head {
  width: min(820px, 100%);
  margin-bottom: 34px;
}

.section-head.wide {
  width: min(960px, 100%);
}

.leader-grid,
.service-grid {
  display: grid;
  gap: 16px;
}

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

.leader-card,
.service-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.leader-card {
  padding: clamp(24px, 4vw, 40px);
}

.leader-card-photo {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
}

.leader-card-photo h3,
.leader-card-photo .role,
.leader-card-photo p:last-child {
  grid-column: 2;
}

.leader-photo {
  grid-row: 1 / span 3;
  width: 150px;
  height: 190px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px rgba(28, 38, 46, 0.1);
}

.leader-initials {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--white);
  background: var(--graphite);
  font-weight: 800;
  box-shadow: inset 0 -4px 0 var(--orange);
}

.role {
  color: var(--orange);
  font-weight: 800;
}

.leader-card p:last-child,
.service-grid p {
  color: var(--muted);
}

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

.service-grid article {
  min-height: 230px;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 123, 32, 0.45);
  box-shadow: 0 22px 44px rgba(28, 38, 46, 0.08);
}

.service-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--orange);
  font-weight: 800;
}

.expertise-band {
  color: var(--white);
  background: var(--graphite);
}

.expertise-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.expertise-layout h2 {
  color: var(--white);
}

.expertise-layout p {
  color: rgba(255, 255, 255, 0.72);
}

.platform-list,
.credential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-list span,
.credential-list span {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 750;
}

.platform-list span {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.project-grid figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--graphite);
}

.project-grid figure.large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-grid img {
  height: 100%;
  min-height: 260px;
  transition: transform 240ms ease;
}

.project-grid figure:hover img {
  transform: scale(1.035);
}

.project-grid figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--orange);
  color: var(--white);
  background: rgba(19, 24, 28, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.credentials {
  align-items: center;
}

.credential-list span {
  color: var(--graphite);
  background: var(--orange-soft);
  border: 1px solid #ffd8c0;
}

.vision {
  align-items: center;
}

.vision img {
  height: 520px;
  border-radius: 8px;
}

.footer {
  color: rgba(255, 255, 255, 0.78);
  background: #11161a;
  padding: 64px clamp(20px, 5vw, 72px) 30px;
}

.footer-main,
.footer-bottom,
.legal {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.footer-brand {
  margin-bottom: 22px;
  color: var(--white);
}

.footer .brand small,
.footer p {
  color: rgba(255, 255, 255, 0.66);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-bottom a {
  color: var(--white);
}

.legal {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  section[id],
  footer[id] {
    scroll-margin-top: 152px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .intro-grid,
  .split,
  .expertise-layout,
  .credentials,
  .vision,
  .footer-main {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .hero {
    min-height: 880px;
    padding-top: 150px;
  }

  .hero-actions,
  .hero-metrics,
  .leader-grid,
  .service-grid,
  .project-grid,
  .image-pair {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-metrics {
    margin-top: 44px;
  }

  .leader-grid,
  .service-grid {
    display: grid;
  }

  .leader-card-photo {
    grid-template-columns: 1fr;
  }

  .leader-card-photo h3,
  .leader-card-photo .role,
  .leader-card-photo p:last-child {
    grid-column: auto;
  }

  .leader-photo {
    grid-row: auto;
    width: 100%;
    height: 320px;
    margin-bottom: 22px;
  }

  .project-grid figure.large {
    grid-column: auto;
    grid-row: auto;
  }

  .image-pair img,
  .vision img {
    height: 320px;
  }

  .image-pair img:first-child {
    margin-top: 0;
  }
}
