:root {
  --navy: #07182b;
  --navy-deep: #04101c;
  --navy-mid: #0d2744;
  --teal: #2bb8c6;
  --teal-bright: #4ad4e0;
  --teal-soft: #e4f7f9;
  --teal-dark: #167f8a;
  --ink: #102033;
  --muted: #5a6b7d;
  --paper: #f3f6fa;
  --white: #ffffff;
  --line: #d7e0ea;
  --line-dark: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 60px rgba(7, 24, 43, 0.08);
  --radius: 20px;
  --header-h: 128px;
  --max: 1240px;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 0.7em;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.1rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 44rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  background: var(--teal);
  color: var(--navy-deep);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(7, 24, 43, 0.06);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 19.25rem;
  gap: 0.42rem;
}

.logo img {
  width: 100%;
  height: auto;
  max-width: none;
}

.logo-tagline {
  display: block;
  width: 100%;
  margin: 0;
  color: #5b6570;
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 0.25rem 1.65rem;
}

.nav > a,
.nav-item > a {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--navy);
}

.nav > a:not(.btn),
.nav-item > a {
  padding: 0 0.15rem;
}

.nav > .btn {
  align-self: center;
}

.nav > a:hover,
.nav-item > a:hover,
.nav a[aria-current="page"] {
  color: var(--teal-dark);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 300px;
  padding: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.is-open .mega {
  display: grid;
  gap: 0.15rem;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.mega a {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  font-size: 0.92rem;
}

.mega a:hover {
  background: var(--teal-soft);
}

.mega small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: var(--navy-deep);
  box-shadow: 0 12px 28px rgba(43, 184, 198, 0.28);
}

.btn-primary:hover {
  background: var(--teal-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 6.2rem 0 0;
  background:
    radial-gradient(circle at 88% 8%, rgba(43, 184, 198, 0.22), transparent 26%),
    radial-gradient(circle at 8% 88%, rgba(43, 184, 198, 0.08), transparent 24%),
    linear-gradient(165deg, #040d16 0%, #07182b 46%, #0b3052 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 80% 30%, #000 0%, transparent 62%);
  pointer-events: none;
}

.hero-pixels {
  position: absolute;
  right: 6%;
  top: 12%;
  width: 320px;
  height: 320px;
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: end;
  padding-bottom: 4.5rem;
}

.hero h1 {
  color: var(--white);
  max-width: 14ch;
  margin-bottom: 1.15rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-bright);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 2.1rem;
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-aside {
  display: grid;
  gap: 0.8rem;
}

.hero-metric {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
}

.hero-metric b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.hero-metric span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.hero-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  background: rgba(4, 13, 22, 0.55);
}

.hero-rail div {
  padding: 1.35rem 1.5rem;
  border-right: 1px solid var(--line-dark);
}

.hero-rail div:last-child {
  border-right: 0;
}

.hero-rail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.hero-rail span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.marquee {
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.35rem 0;
}

.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee b {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a8b9c;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  padding: 6.2rem 0;
}

.section-alt {
  background: var(--paper);
}

.section-dark {
  background:
    radial-gradient(circle at 80% 0%, rgba(43, 184, 198, 0.12), transparent 28%),
    var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-head {
  max-width: 42rem;
  margin-bottom: 3rem;
}

.section-head.wide {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.capability-row {
  display: grid;
  grid-template-columns: 120px 1.1fr 1.4fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.capability-row:last-child {
  border-bottom: 1px solid var(--line);
}

.capability-row:hover h3 {
  color: var(--teal-dark);
}

.capability-row .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.08em;
}

.capability-row p {
  color: var(--muted);
  margin: 0;
}

.capability-row .go {
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-weight: 700;
  white-space: nowrap;
  padding-top: 0.2rem;
}

.card-grid,
.industry-grid,
.insight-grid,
.principle-grid {
  display: grid;
  gap: 1.15rem;
}

.card-grid,
.insight-grid {
  grid-template-columns: repeat(2, 1fr);
}

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

.principle-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card,
.industry,
.insight,
.principle {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.65rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.industry:hover,
.insight:hover {
  transform: translateY(-5px);
  border-color: #b7e6ec;
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.15rem;
  border-radius: 14px;
  background: var(--teal-soft);
}

.card-link,
.insight-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--teal-dark);
  font-family: var(--font-display);
  font-weight: 700;
}

.industry {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.industry span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process article {
  position: relative;
  padding: 1.7rem 1.35rem;
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.process .num {
  display: block;
  margin-bottom: 1rem;
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.checklist {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.9rem;
  border-bottom: 1px solid var(--line);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--teal);
}

.cta-band {
  background:
    radial-gradient(circle at 12% 20%, rgba(43, 184, 198, 0.2), transparent 30%),
    var(--navy);
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
  max-width: 16ch;
}

.cta-band .lede {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  align-items: center;
}

.service-block + .service-block {
  margin-top: 1.25rem;
}

.service-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  padding: 2.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.service-block ul {
  margin: 0.8rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.4rem;
}

.contact-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-meta {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.4rem;
}

.contact-meta a,
.contact-meta p {
  color: var(--ink);
}

.map-frame {
  width: 100%;
  height: 220px;
  margin-top: 0.4rem;
  border: 0;
  border-radius: 16px;
}

.contact-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 0.15rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: #fbfdff;
  color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(43, 184, 198, 0.35);
  border-color: var(--teal);
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form-note,
.form-status {
  margin-top: 0.95rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status[data-state="error"] {
  color: #9b2c2c;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 4.2rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 2.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .logo {
  background: #fff;
  padding: 0.85rem 1rem 0.8rem;
  border-radius: 14px;
}

.site-footer .logo-lockup {
  width: 16.5rem;
}

.site-footer .logo img {
  width: 100%;
  height: auto;
  background: none;
  padding: 0;
  border-radius: 0;
}

.site-footer .logo-tagline {
  color: #5b6570;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.5rem;
}

.site-footer a:hover {
  color: var(--teal-bright);
}

.copyright {
  padding-top: 1.3rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.42);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-hero {
  padding: 5rem 0 3.4rem;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 0%, rgba(43, 184, 198, 0.18), transparent 28%),
    linear-gradient(165deg, #040d16 0%, #07182b 70%);
}

.page-hero h1,
.page-hero .lede {
  color: var(--white);
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .eyebrow {
  color: var(--teal-bright);
}

.legal {
  max-width: 46rem;
}

.legal h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

.article + .article {
  margin-top: 1.25rem;
}

.article {
  padding: 2.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .contact-layout,
  .service-block,
  .footer-grid,
  .cta-inner,
  .card-grid,
  .insight-grid,
  .industry-grid,
  .principle-grid,
  .process,
  .form-grid,
  .hero-rail,
  .capability-row,
  .section-head.wide {
    grid-template-columns: 1fr;
  }

  .hero-pixels {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem 1.25rem 1.2rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav > a,
  .nav .btn,
  .nav-item > a {
    width: 100%;
    padding: 0.85rem 0;
  }

  .mega {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.6rem 0.6rem;
    transition: none;
  }

  .mega::before {
    display: none;
  }

  .nav-item.is-open .mega {
    display: grid;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-grid {
    padding-bottom: 2.5rem;
  }

  .section {
    padding: 4rem 0;
  }

  .logo-lockup {
    width: min(16.5rem, 72vw);
  }

  .logo-tagline {
    font-size: 0.48rem;
    letter-spacing: 0.03em;
    white-space: normal;
  }

  .header-inner {
    min-height: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track,
  .reveal,
  .btn,
  .card {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
