:root {
  --black: #050708;
  --ink: #101820;
  --muted: #5f6f76;
  --line: #d8e4e8;
  --soft: #ededef;
  --white: #ffffff;
  --blue: #a7e1fa;
  --blue-strong: #80bcf8;
  --teal: #197491;
  --teal-deep: #0d5268;
  --sage: #5a8993;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(5, 7, 8, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--soft);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px clamp(20px, 4vw, 56px);
  color: var(--white);
  transition: background 260ms ease, box-shadow 260ms ease, min-height 260ms ease;
}

.site-header.scrolled,
.site-header.nav-active {
  min-height: 68px;
  background: rgba(5, 7, 8, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 168px;
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(167, 225, 250, 0.8);
  border-radius: 999px;
  color: var(--black);
  background: var(--blue);
}

.site-nav .nav-cta::after {
  display: none;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(820px, 88svh);
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.96), rgba(5, 7, 8, 0.68) 46%, rgba(5, 7, 8, 0.26)),
    linear-gradient(180deg, rgba(5, 7, 8, 0.2), rgba(5, 7, 8, 0.76));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(32px, 7vw, 96px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 122px 0 72px;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

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

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

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(2.55rem, 7.2vw, 5.7rem);
  line-height: 0.97;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-lede {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.6;
}

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

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

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

.button.primary {
  color: var(--black);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(128, 188, 248, 0.28);
}

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

.hero-panel {
  align-self: end;
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(5, 7, 8, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.panel-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1.1;
}

.hero-panel p {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.panel-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.panel-metrics span {
  padding-top: 14px;
  border-top: 1px solid rgba(167, 225, 250, 0.34);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.2;
}

.panel-metrics b {
  display: block;
  color: var(--white);
  font-size: 1.75rem;
}

.intro-band {
  padding: clamp(56px, 9vw, 108px) 0;
  background: var(--white);
}

.intro-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto clamp(34px, 6vw, 68px);
  text-align: center;
}

.intro-copy {
  display: grid;
  gap: 20px;
}

.intro-copy p,
.profile-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.78;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--black);
  color: var(--white);
}

.proof-item {
  min-height: 182px;
  padding: clamp(26px, 4vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-item span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 850;
  text-transform: uppercase;
}

.proof-item strong {
  display: block;
  max-width: 360px;
  font-size: clamp(1.25rem, 2.8vw, 2.15rem);
  line-height: 1.08;
}

.expertise-section {
  padding: clamp(62px, 10vw, 120px) 0;
  background: linear-gradient(180deg, var(--soft), #f8fbfc);
}

.expertise-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.expertise-tabs {
  display: grid;
  gap: 10px;
  align-content: start;
}

.expertise-tab {
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.expertise-tab:hover,
.expertise-tab:focus-visible,
.expertise-tab.active {
  border-color: rgba(25, 116, 145, 0.36);
  background: #e9f8fd;
  transform: translateX(4px);
}

.expertise-detail {
  min-height: 455px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-kicker {
  margin: 0 0 18px;
  color: var(--teal);
  font-weight: 850;
  text-transform: uppercase;
}

.expertise-detail h3 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.expertise-detail p {
  max-width: 790px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.expertise-detail ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.expertise-detail li {
  min-height: 124px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  line-height: 1.45;
}

.method-section {
  padding: clamp(62px, 10vw, 120px) 0;
  background: var(--black);
  color: var(--white);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(34px, 7vw, 84px);
}

.method-section .eyebrow.dark,
.method-section .section-heading h2 {
  color: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.step {
  min-height: 228px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.step span {
  color: var(--blue);
  font-weight: 900;
}

.step h3 {
  margin: 42px 0 12px;
  font-size: 1.35rem;
}

.step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.profile-section {
  padding: clamp(62px, 10vw, 118px) 0;
  background: var(--white);
}

.profile-grid {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.profile-media {
  position: relative;
}

.profile-media::before {
  content: "";
  position: absolute;
  inset: auto 28px 0 -18px;
  height: 78%;
  border-radius: var(--radius);
  background: var(--sage);
}

.profile-media img {
  position: relative;
  width: min(100%, 390px);
  margin-left: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-copy h2,
.contact-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
}

.profile-copy {
  display: grid;
  gap: 20px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.profile-tags span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  font-weight: 750;
}

.contact-section {
  padding: clamp(62px, 10vw, 112px) 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 7, 8, 0.94), rgba(5, 7, 8, 0.76)),
    url("assets/operations.webp") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 74px);
  align-items: start;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-links a {
  width: fit-content;
  color: var(--blue);
  font-weight: 850;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(5, 7, 8, 0.62);
  backdrop-filter: blur(18px);
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(167, 225, 250, 0.12);
}

.contact-form .button {
  width: fit-content;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 4vw, 56px);
  background: var(--black);
  color: rgba(255, 255, 255, 0.66);
}

.site-footer img {
  width: 150px;
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .site-nav {
    position: fixed;
    inset: 68px 14px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(5, 7, 8, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

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

  .site-nav .nav-cta {
    margin-top: 8px;
    justify-content: center;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-grid,
  .intro-layout,
  .expertise-shell,
  .method-grid,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: start;
    max-width: 540px;
  }

  .expertise-detail ul {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .profile-media img {
    margin: 0 auto;
  }

  .profile-media::before {
    inset: auto 14% 0 12%;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-grid {
    width: calc(100% - 28px);
    max-width: 1160px;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand img {
    width: 132px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-grid {
    padding: 100px 0 46px;
  }

  h1 {
    font-size: 1.96rem;
    line-height: 1.04;
  }

  .hero-lede {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .section-heading h2,
  .profile-copy h2,
  .contact-copy h2,
  .expertise-detail h3 {
    font-size: 1.88rem;
    line-height: 1.08;
  }

  .hero-actions,
  .panel-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    padding: 20px;
  }

  .panel-metrics {
    display: grid;
  }

  .expertise-detail {
    min-height: auto;
  }

  .expertise-tab {
    min-height: 58px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
