:root {
  color-scheme: dark;
  --bg: #030811;
  --bg-soft: #07101d;
  --surface: rgba(11, 18, 31, 0.74);
  --surface-strong: rgba(17, 27, 43, 0.88);
  --line: rgba(203, 218, 239, 0.18);
  --line-strong: rgba(223, 232, 246, 0.42);
  --text: #f4f7fb;
  --muted: #a9b6c8;
  --dim: #718096;
  --blue: #2e8cff;
  --cyan: #68d9ff;
  --copper: #ffae8f;
  --copper-strong: #ff946d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 54px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 72% 8%, rgba(28, 117, 220, 0.24), transparent 30rem),
    linear-gradient(180deg, #07111e 0%, var(--bg) 34rem, #02060d 100%);
  color: var(--text);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 24px var(--gutter);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    padding 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(3, 8, 17, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  font-size: 41px;
  line-height: 0.82;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand-mark::after {
  content: "CONSULTING";
  display: block;
  margin-top: 8px;
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--muted);
}

.brand-divider {
  width: 1px;
  height: 42px;
  background: var(--copper);
  opacity: 0.8;
}

.brand-text {
  font-size: 12px;
  line-height: 1.2;
  color: #dbe4f0;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  font-size: 13px;
  color: #dce6f2;
}

.nav a,
.footer a,
.text-link {
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.nav a:hover,
.footer a:hover,
.text-link:hover {
  color: var(--copper);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  padding: 0 22px;
  color: var(--text);
  font-size: 13px;
  font-weight: 620;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.header-cta {
  border-color: rgba(255, 174, 143, 0.74);
  background: rgba(10, 16, 27, 0.28);
}

.btn-primary {
  min-height: 48px;
  background: var(--copper);
  border-color: var(--copper);
  color: #180d0a;
  box-shadow: 0 14px 42px rgba(255, 148, 109, 0.18);
}

.btn-primary:hover {
  background: #ffc0a8;
  border-color: #ffc0a8;
}

.btn-secondary {
  min-height: 48px;
  background: rgba(8, 15, 26, 0.5);
}

.btn-secondary:hover {
  border-color: rgba(255, 174, 143, 0.72);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 16, 27, 0.72);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  padding: 136px 0 58px;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 37%;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  opacity: 0.78;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(3, 8, 17, 0.76) 16%, rgba(3, 8, 17, 0.1) 56%),
    linear-gradient(180deg, rgba(3, 8, 17, 0.18), var(--bg) 100%);
}

.hero-light {
  position: absolute;
  left: 22%;
  right: -12%;
  bottom: 12%;
  height: 160px;
  background:
    radial-gradient(closest-side at 52% 50%, rgba(135, 222, 255, 0.9), rgba(43, 132, 255, 0.42) 55%, transparent 100%),
    linear-gradient(90deg, transparent, rgba(92, 178, 255, 0.6), transparent);
  filter: blur(28px);
  opacity: 0.82;
  transform: rotate(-4deg);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 530px;
  grid-template-rows: 1fr auto;
}

.hero-copy {
  max-width: 590px;
}

.hero h1,
.about h2,
.section-heading h2,
.approach h2,
.band-panel h2,
.contact h2 {
  margin: 0;
  font-weight: 430;
  letter-spacing: -0.025em;
}

.hero h1 {
  max-width: 560px;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1;
}

.hero h1::after {
  content: "";
  display: block;
  width: 62px;
  height: 2px;
  margin: 22px 0 0;
  background: var(--copper);
}

.hero p {
  max-width: 520px;
  margin: 24px 0 0;
  color: #bdc8d8;
  font-size: 18px;
  line-height: 1.64;
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 780px;
  padding-top: 28px;
}

.hero-proof article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 16px;
  align-items: start;
}

.hero-proof strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.hero-proof p,
.approach p,
.band-panel p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.line-icon {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  color: rgba(225, 236, 249, 0.72);
}

.line-icon::before,
.line-icon::after {
  content: "";
  position: absolute;
  border: 1px solid currentColor;
}

.shield::before {
  inset: 4px 8px 4px;
  clip-path: polygon(50% 0, 88% 16%, 82% 70%, 50% 100%, 18% 70%, 12% 16%);
}

.shield::after {
  left: 16px;
  top: 10px;
  width: 1px;
  height: 13px;
  border-width: 0 1px 0 0;
}

.chart::before {
  inset: 6px;
  border-width: 0 0 1px 1px;
}

.chart::after {
  left: 8px;
  top: 15px;
  width: 18px;
  height: 10px;
  border-width: 0 0 1px 1px;
  transform: skew(-24deg);
}

.pie::before {
  inset: 4px;
  border-radius: 50%;
}

.pie::after {
  top: 4px;
  left: 17px;
  width: 13px;
  height: 13px;
  border-radius: 0 13px 0 0;
  border-width: 1px 1px 0 0;
}

.rings::before {
  inset: 3px 10px 3px 0;
  border-radius: 50%;
}

.rings::after {
  inset: 3px 0 3px 10px;
  border-radius: 50%;
}

.stack::before {
  left: 3px;
  right: 3px;
  top: 7px;
  height: 8px;
  border-radius: 50%;
  box-shadow:
    0 7px 0 -1px var(--bg),
    0 7px 0 0 currentColor,
    0 14px 0 -1px var(--bg),
    0 14px 0 0 currentColor;
}

.stack::after {
  display: none;
}

.orbit::before {
  inset: 4px;
  border-radius: 50%;
}

.orbit::after {
  inset: 10px -2px;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.target::before {
  inset: 5px;
  border-radius: 50%;
}

.target::after {
  inset: 13px;
  border-radius: 50%;
  box-shadow:
    0 -13px 0 -12px currentColor,
    0 13px 0 -12px currentColor,
    -13px 0 0 -12px currentColor,
    13px 0 0 -12px currentColor;
}

.report::before {
  inset: 5px 8px;
  border-radius: 2px;
}

.report::after {
  left: 13px;
  right: 13px;
  top: 13px;
  height: 8px;
  border-width: 1px 0;
}

section:not(.hero) {
  position: relative;
  padding: 76px 0;
}

.about,
.services,
.approach,
.insights,
.footer {
  background: #020711;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) repeat(2, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 52px;
}

.section-label {
  margin: 0 0 13px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about h2,
.section-heading h2,
.approach h2,
.band-panel h2,
.contact h2 {
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.03;
}

.intro-copy {
  margin: 35px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 28px;
  color: var(--copper);
  font-size: 14px;
  font-weight: 650;
}

.metric-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.metric-rows article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  padding: 38px 32px;
  border-bottom: 1px solid var(--line);
}

.metric-rows article + article {
  border-left: 1px solid var(--line);
}

.metric-rows strong {
  display: block;
  color: var(--copper);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  font-weight: 400;
}

.metric-rows p {
  grid-column: 2;
  margin: 8px 0 0;
  max-width: 260px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.inline {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
}

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

.service-card {
  min-height: 245px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at 50% 100%, rgba(72, 185, 255, 0.16), transparent 54%);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 174, 143, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 50% 100%, rgba(255, 174, 143, 0.2), transparent 58%);
}

.service-number {
  display: block;
  margin-bottom: 22px;
  color: var(--dim);
  font-size: 12px;
}

.service-card h3,
.process-list h3,
.insight-grid h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.14;
  font-weight: 510;
}

.service-card .line-icon {
  margin-bottom: 22px;
}

.service-card p {
  min-height: 76px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.service-card a {
  color: var(--copper);
  font-size: 14px;
  font-weight: 650;
}

.image-band {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 84%, rgba(74, 186, 255, 0.32), transparent 28rem),
    linear-gradient(180deg, #020711, #041325);
}

.image-band-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: stretch;
}

.image-band img,
.insight-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-band img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.band-panel {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(3, 8, 17, 0.62);
}

.band-panel p:last-child {
  margin-top: 22px;
  font-size: 16px;
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.approach h2 {
  margin-bottom: 22px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    radial-gradient(circle at 50% 100%, rgba(72, 185, 255, 0.12), transparent 62%);
}

.process-list strong {
  display: block;
  margin-bottom: 28px;
  color: var(--copper);
  font-size: 26px;
  font-weight: 420;
}

.process-list h3 {
  margin-bottom: 12px;
}

.insight-grid article {
  overflow: hidden;
  background: rgba(10, 16, 27, 0.74);
}

.insight-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.insight-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.insight-grid article {
  padding-bottom: 22px;
}

.insight-grid article > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 12px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-grid time {
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.insight-grid h3 {
  padding: 0 22px;
}

.contact {
  overflow: hidden;
  background:
    linear-gradient(180deg, #020711 0%, rgba(4, 19, 37, 0.96) 100%),
    #041325;
}

.contact-light {
  position: absolute;
  inset: 8% -10% -45% -10%;
  background:
    radial-gradient(circle at 50% 54%, rgba(104, 217, 255, 0.55), rgba(46, 140, 255, 0.32) 28%, transparent 60%),
    linear-gradient(90deg, transparent, rgba(255, 174, 143, 0.12), transparent);
  filter: blur(34px);
  opacity: 0.84;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.contact h2 {
  margin-bottom: 24px;
}

.contact p {
  max-width: 500px;
  font-size: 16px;
}

.contact-details {
  display: grid;
  gap: 13px;
  margin-top: 34px;
  color: #dfe8f4;
  font-size: 15px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 8, 17, 0.72);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: #d9e5f2;
  font-size: 13px;
  font-weight: 650;
}

.contact-form label:nth-child(3),
.contact-form label:nth-child(4),
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  padding: 11px 13px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select option {
  background: #07101d;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(255, 174, 143, 0.12);
  background: rgba(255, 255, 255, 0.075);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--copper);
  font-size: 13px;
}

.footer {
  padding: 54px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 40px;
}

.footer h2 {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
}

.footer a,
.footer span {
  display: block;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

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

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav {
    position: fixed;
    inset: 78px var(--gutter) auto;
    display: grid;
    justify-items: start;
    gap: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(3, 8, 17, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(18px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .nav a {
    width: 100%;
    padding: 15px 10px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

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

  .nav-toggle.is-open span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .header-cta {
    display: none;
  }

  .hero-media {
    inset-left: 18%;
  }

  .hero-proof,
  .metric-rows,
  .service-grid,
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .image-band-grid,
  .approach-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
  }

}

@media (max-width: 680px) {
  :root {
    --gutter: 18px;
  }

  .site-header {
    padding-top: 16px;
  }

  .brand-mark {
    font-size: 32px;
  }

  .brand-mark::after {
    font-size: 8px;
  }

  .brand-text {
    display: none;
  }

  .brand-divider {
    height: 34px;
  }

  .hero {
    min-height: auto;
    padding: 124px 0 52px;
  }

  .hero-media {
    inset: 0 0 20% 0;
    opacity: 0.6;
  }

  .hero-media::before {
    background:
      linear-gradient(90deg, rgba(3, 8, 17, 0.92), rgba(3, 8, 17, 0.54)),
      linear-gradient(180deg, rgba(3, 8, 17, 0.24), var(--bg) 100%);
  }

  .hero-grid {
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .section-heading.inline {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .contact-form .btn {
    width: 100%;
  }

  .hero-proof,
  .metric-rows,
  .service-grid,
  .insight-grid,
  .process-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    gap: 20px;
    padding-top: 46px;
  }

  section:not(.hero) {
    padding: 58px 0;
  }

  .split {
    padding-bottom: 36px;
  }

  .metric-rows article {
    padding-inline: 0;
  }

  .metric-rows article + article {
    border-left: 0;
  }

  .image-band img {
    height: 310px;
  }

  .band-panel,
  .contact-form {
    padding: 22px;
  }

  .process-list strong {
    margin-bottom: 14px;
  }

  .insight-grid img {
    height: 220px;
  }

  .footer-grid {
    gap: 28px;
  }

  .legal {
    display: grid;
  }
}
