:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #111111;
  --panel: #181818;
  --panel-soft: #242424;
  --white: #ffffff;
  --muted: #b9b9b9;
  --line: rgba(255, 255, 255, 0.16);
  --purple: #8a35ff;
  --teal: #20c997;
  --cyan: #70e2d1;
  --max: 1180px;
  --header-h: clamp(58px, 8vh, 84px);
  --pad-section: clamp(28px, 5vh, 60px);
  --gap-heading: clamp(16px, 3vh, 28px);
  --pad-card: clamp(14px, 2.4vh, 22px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-200%);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header[data-elevated="true"],
.site-header.nav-active {
  background: rgba(5, 5, 5, 0.92);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
}

.brand-lockup {
  display: grid;
  line-height: 1;
}

.brand-word {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  padding-right: 30px;
  color: currentColor;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-tagline {
  justify-self: end;
  color: #a5a5ad;
  font-size: clamp(12px, 1.2vw, 17px);
  font-weight: 400;
  letter-spacing: 0;
}

.edge-mark {
  position: absolute;
  top: -8px;
  right: 0;
  width: 36px;
  height: 30px;
}

.edge-mark span {
  position: absolute;
  width: 22px;
  height: 18px;
  border-top: 8px solid var(--teal);
  border-right: 8px solid var(--teal);
  border-radius: 3px 3px 0 0;
}

.edge-mark span:first-child {
  top: 0;
  right: 0;
}

.edge-mark span:last-child {
  top: 12px;
  right: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: #e9e9e9;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

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

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 116px clamp(20px, 6vw, 72px) 74px;
}

.hero-media,
.story-media {
  background-position: center;
  background-size: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-operations-1800.webp");
  filter: grayscale(0.25);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.77) 42%, rgba(5, 5, 5, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.1) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: clamp(12px, 2.4vh, 22px);
  font-size: clamp(38px, min(7.5vw, 11vh), 92px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: clamp(12px, 2vh, 20px);
  font-size: clamp(26px, min(3.8vw, 6vh), 50px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: clamp(8px, 1.4vh, 14px);
  font-size: clamp(17px, min(2.1vw, 3.2vh), 26px);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  color: #efefef;
  font-size: clamp(18px, 2vw, 24px);
}

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

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

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

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.04);
}

.hero-proof {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: 34px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  max-width: 470px;
  gap: 10px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.44);
  color: #f2f2f2;
  font-size: 12px;
  font-weight: 800;
}

.section-band,
.approach {
  background: var(--white);
  color: var(--ink);
}

.section-inner,
.section,
.metrics,
.contact,
.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.approach > .section-inner,
.screen .intro > .section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.screen {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
}

.screen .intro {
  flex: 1;
  display: flex;
  align-items: center;
}

.intro {
  padding: clamp(30px, 5.5vh, 66px) 0;
}

.intro-grid,
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.intro p:not(.eyebrow),
.approach p {
  color: #363636;
  font-size: clamp(14px, min(1.25vw, 2.1vh), 18px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric {
  min-height: clamp(110px, 17vh, 160px);
  padding: clamp(22px, 3.2vw, 36px);
  border-right: 1px solid var(--line);
  background: var(--panel);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  margin-bottom: clamp(14px, 3.2vh, 32px);
  color: var(--teal);
  font-size: 15px;
}

.metric span {
  display: block;
  max-width: 260px;
  color: #f0f0f0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.12;
}

.section {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: var(--header-h) 0 var(--pad-section);
}

.section.no-top {
  padding-top: var(--pad-section);
}

.section-heading {
  max-width: 820px;
  margin-bottom: var(--gap-heading);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.expertise-card {
  min-height: 0;
  padding: var(--pad-card) clamp(14px, 1.4vw, 20px) calc(var(--pad-card) + 4px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f4f4f4;
  color: var(--ink);
}

.expertise-card.dark {
  background: var(--panel);
  color: var(--white);
}

.expertise-card p {
  margin-bottom: 0;
  color: inherit;
  font-size: clamp(13px, min(1.05vw, 1.8vh), 15px);
  line-height: 1.45;
  opacity: 0.74;
}

.card-index {
  display: inline-block;
  margin-bottom: clamp(10px, 2.2vh, 20px);
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
}

.solution-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  min-height: 100vh;
  min-height: 100svh;
  background: #ededed;
  color: var(--ink);
}

.solution-visual {
  min-height: clamp(240px, 40vh, 440px);
  overflow: hidden;
}

.solution-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-copy {
  display: grid;
  align-content: center;
  padding: calc(var(--header-h) + 12px) clamp(24px, 5vw, 64px) clamp(28px, 5vh, 48px);
}

.solution-copy p {
  color: #303030;
  font-size: clamp(14px, min(1.2vw, 2vh), 17px);
}

.check-list {
  display: grid;
  gap: clamp(6px, 1.2vh, 12px);
  margin: clamp(14px, 2.4vh, 24px) 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  color: #202020;
  font-size: clamp(13px, min(1.05vw, 1.8vh), 16px);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--purple);
  content: ">";
}

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

.solution-row {
  display: grid;
  grid-template-columns: clamp(38px, 4vw, 60px) minmax(200px, 0.8fr) minmax(240px, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  padding: clamp(10px, 1.9vh, 18px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.solution-row span {
  color: var(--teal);
  font-weight: 800;
}

.solution-row strong {
  font-size: clamp(16px, min(1.7vw, 2.6vh), 21px);
  line-height: 1.18;
}

.solution-row p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(13px, min(1.05vw, 1.8vh), 15px);
  line-height: 1.45;
}

.approach {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  padding: var(--header-h) 0 72px;
}

.steps {
  display: grid;
  gap: clamp(8px, 1.4vh, 14px);
}

.step {
  padding: clamp(14px, 2.4vh, 24px);
  border-left: 5px solid var(--purple);
  background: #f1f1f1;
}

.step span {
  display: block;
  margin-bottom: clamp(4px, 0.9vh, 8px);
  font-size: clamp(17px, min(1.8vw, 2.8vh), 22px);
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
}

.split-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  min-height: clamp(320px, 56vh, 440px);
  background: var(--panel);
}

.story-media {
  min-height: clamp(220px, 36vh, 380px);
  background-image: url("assets/story-consultants-1200.webp");
}

.story-copy {
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 68px);
}

.story-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 64px);
  align-content: center;
  padding: clamp(38px, 5vw, 56px) 0;
}

.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 38px);
}

.contact-copy .eyebrow {
  margin-bottom: 10px;
}

.contact-cta {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 18px;
}

.contact-email {
  position: relative;
  margin: 0;
  color: var(--white);
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-cta .button {
  min-height: 42px;
  padding: 10px 18px;
}

.contact-email::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.contact-email:hover::after,
.contact-email:focus-visible::after {
  transform: scaleX(1);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (max-height: 560px) {
  .hero,
  .screen,
  .section,
  .approach,
  .solution-feature,
  .contact {
    min-height: 0;
  }

  .solution-feature,
  .split-story {
    grid-template-columns: 1fr;
  }

  .solution-visual,
  .story-media {
    min-height: 200px;
  }
}

@media (max-width: 980px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-feature,
  .split-story,
  .contact,
  .intro-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

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

  .metric,
  .metric:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .solution-row {
    grid-template-columns: 52px 1fr;
  }

  .solution-row p {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .brand-word {
    padding-right: 24px;
    font-size: 18px;
  }

  .brand-tagline {
    font-size: 12px;
  }

  .edge-mark {
    top: -6px;
    width: 28px;
    height: 24px;
  }

  .edge-mark span {
    width: 17px;
    height: 14px;
    border-top-width: 6px;
    border-right-width: 6px;
  }

  .edge-mark span:last-child {
    top: 9px;
    right: 11px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 67px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-header.nav-active .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 92vh;
    padding: 110px 20px 122px;
  }

  h1 {
    font-size: clamp(48px, 18vw, 78px);
  }

  .hero-proof {
    right: 20px;
    bottom: 24px;
    left: 20px;
  }

  .section,
  .approach {
    padding-block: 72px;
  }

  .contact {
    gap: 24px;
    padding-block: 40px;
  }

  .hero,
  .screen,
  .section,
  .approach,
  .solution-feature,
  .contact {
    min-height: 0;
  }

  .hero {
    min-height: 92svh;
  }

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

  .expertise-card {
    min-height: 310px;
  }

  .card-index {
    margin-bottom: 46px;
  }

  .solution-feature {
    min-height: 0;
  }

  .solution-visual,
  .story-media {
    min-height: 310px;
  }

  .solution-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .solution-row p {
    grid-column: auto;
  }

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