:root {
  --gold: #d5a642;
  --gold-2: #f0c86a;
  --graphite: #667077;
  --steel: #b9bec4;
  --ink: #0d1113;
  --coal: #151a1d;
  --mist: #f3f0ea;
  --white: #ffffff;
  --green: #83b847;
  --blue: #3c83c8;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  color-scheme: dark;
}

[data-theme="light"] {
  --ink: #f7f4ee;
  --coal: #ffffff;
  --mist: #1b2328;
  --white: #101416;
  --shadow: 0 18px 54px rgba(65, 65, 65, .16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
  transition: background .35s ease, color .35s ease;
}

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

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--mist) 14%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--coal) 84%, transparent);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.brand {
  width: 170px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
}

.brand img {
  width: 138px;
  max-height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .26));
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 34px);
  color: color-mix(in srgb, var(--mist) 78%, transparent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  padding: 10px 0;
}

.main-nav a:hover {
  color: var(--gold-2);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--mist) 10%, transparent);
  color: var(--mist);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.toggle-track {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--gold);
  padding: 3px;
}

.toggle-thumb {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #111;
  transition: transform .25s ease, background .25s ease;
}

[data-theme="light"] .toggle-thumb {
  transform: translateX(20px);
  background: #fff;
}

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

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 9, 10, .92), rgba(7, 9, 10, .62) 45%, rgba(7, 9, 10, .22)),
    linear-gradient(0deg, var(--ink), transparent 32%);
}

[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .88), rgba(255, 255, 255, .62) 45%, rgba(255, 255, 255, .12)),
    linear-gradient(0deg, var(--ink), transparent 26%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 780px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: .95;
  font-weight: 800;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.12;
}

.hero-copy {
  max-width: 680px;
  color: color-mix(in srgb, var(--mist) 82%, transparent);
  font-size: clamp(17px, 1.5vw, 21px);
}

.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-radius: 6px;
  font-weight: 800;
}

.button.primary {
  background: var(--gold);
  color: #111;
}

.button.secondary {
  border: 1px solid color-mix(in srgb, var(--mist) 32%, transparent);
  color: var(--mist);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 74px);
  bottom: 72px;
  z-index: 3;
  width: min(260px, calc(100vw - 40px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  background: rgba(13, 17, 19, .72);
  backdrop-filter: blur(14px);
}

[data-theme="light"] .hero-panel {
  background: rgba(255, 255, 255, .76);
}

.hero-panel span,
.hero-panel small {
  display: block;
  color: color-mix(in srgb, var(--mist) 72%, transparent);
  font-size: 13px;
}

.hero-panel strong {
  display: block;
  color: var(--gold-2);
  font-size: 58px;
  line-height: 1;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid color-mix(in srgb, var(--mist) 12%, transparent);
  background: var(--coal);
}

.stats-band div {
  min-height: 132px;
  padding: 26px clamp(18px, 3vw, 46px);
  border-right: 1px solid color-mix(in srgb, var(--mist) 12%, transparent);
}

.stats-band strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1;
}

.stats-band span {
  color: color-mix(in srgb, var(--mist) 70%, transparent);
  font-weight: 700;
}

.section {
  padding: clamp(74px, 10vw, 132px) clamp(20px, 5vw, 74px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
}

.section-copy p:not(.eyebrow),
.mission-band p:not(.eyebrow),
.transformation p {
  color: color-mix(in srgb, var(--mist) 75%, transparent);
  font-size: 17px;
}

.image-stack {
  position: relative;
  min-height: 580px;
}

.image-stack img,
.capability-media img,
.service-card img,
.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-main {
  position: absolute;
  inset: 0 0 auto auto;
  width: 78%;
  height: 430px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stack-accent {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58%;
  height: 300px;
  border: 10px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mission-band {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  background: var(--coal);
}

.section-heading {
  width: 100%;
  max-width: 820px;
  margin-bottom: 46px;
}

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

.service-card,
.value-grid article,
.team-grid article {
  border: 1px solid color-mix(in srgb, var(--mist) 12%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--coal) 88%, var(--mist) 3%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
}

.service-card {
  min-height: 580px;
  display: grid;
  grid-template-rows: 270px 1fr;
  overflow: hidden;
}

.service-card div {
  padding: 28px;
}

.service-number {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
}

.service-card p,
.value-grid p,
.team-grid span,
.capability-list li {
  color: color-mix(in srgb, var(--mist) 72%, transparent);
}

.capability {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, .9fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--coal) 92%, var(--blue) 8%), var(--ink));
}

.capability-media {
  height: min(620px, 70vh);
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
}

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

.capability-list li {
  padding-left: 28px;
  position: relative;
  font-weight: 600;
}

.capability-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
}

.values {
  background: var(--coal);
}

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

.value-grid article {
  min-height: 190px;
  padding: 28px;
}

.value-grid article:nth-child(3n) {
  border-top-color: color-mix(in srgb, var(--green) 58%, transparent);
}

.transformation {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(32px, 7vw, 100px);
  background:
    linear-gradient(rgba(13, 17, 19, .84), rgba(13, 17, 19, .9)),
    url("assets/pdf-image-03-1228x788.jpg") center/cover fixed;
}

[data-theme="light"] .transformation {
  background:
    linear-gradient(rgba(255, 255, 255, .86), rgba(255, 255, 255, .9)),
    url("assets/pdf-image-03-1228x788.jpg") center/cover fixed;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.team-grid article {
  min-height: 180px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.team-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: .8fr 1fr;
  min-height: 680px;
  background: var(--coal);
}

.contact-image {
  min-height: 420px;
}

.contact-content {
  align-self: center;
  padding: clamp(52px, 7vw, 96px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.contact-grid a,
.contact-grid p {
  min-height: 104px;
  margin: 0;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--mist) 13%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ink) 68%, transparent);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-grid span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-2);
  font-size: 11px;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 74px);
  border-top: 1px solid color-mix(in srgb, var(--mist) 12%, transparent);
  background: var(--ink);
}

.site-footer img {
  width: 148px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .22));
}

.site-footer p {
  max-width: 560px;
  margin: 0;
  color: color-mix(in srgb, var(--mist) 70%, transparent);
  text-align: right;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 4px 6px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .split,
  .mission-band,
  .capability,
  .transformation,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .contact-content {
    padding-inline: clamp(20px, 5vw, 74px);
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    gap: 10px;
    overflow: hidden;
  }

  .brand {
    width: 134px;
  }

  .brand img {
    width: 106px;
  }

  .theme-toggle {
    position: absolute;
    top: 14px;
    left: 164px;
    padding-inline: 8px;
    width: 54px;
  }

  .toggle-label {
    display: none;
  }

  .toggle-track {
    width: 38px;
  }

  [data-theme="light"] .toggle-thumb {
    transform: translateX(12px);
  }

  .main-nav {
    gap: 16px;
    font-size: 12px;
  }

  .hero {
    min-height: 820px;
    padding: 180px 20px 54px;
  }

  .hero-content {
    max-width: 350px;
  }

  h1 {
    font-size: 38px;
  }

  .stats-band,
  .service-grid,
  .value-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--mist) 12%, transparent);
  }

  .image-stack {
    min-height: 470px;
  }

  .stack-main {
    width: 100%;
    height: 330px;
  }

  .stack-accent {
    width: 72%;
    height: 210px;
    border-width: 7px;
  }

  .service-card {
    min-height: auto;
    grid-template-rows: 230px auto;
  }

  .capability-media {
    min-height: 320px;
  }

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

  .site-footer p {
    text-align: left;
  }
}
