:root {
  color-scheme: dark;
  --bg: #080b0d;
  --panel: #10161a;
  --panel-2: #172024;
  --text: #f2f5f3;
  --muted: #aeb8b8;
  --soft: #7c8b8b;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #78d5d7;
  --amber: #d6a444;
  --green: #6d8a67;
  --danger: #c97a58;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 4vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(8, 11, 13, 0.76);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(120, 213, 215, 0.5);
  background: linear-gradient(145deg, rgba(120, 213, 215, 0.16), rgba(214, 164, 68, 0.1));
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.15;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
  color: #d9dfdf;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover,
.nav a.active {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  min-height: 42px;
  padding: 0 14px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 72px) 64px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.98) 0%, rgba(8, 11, 13, 0.84) 32%, rgba(8, 11, 13, 0.32) 74%, rgba(8, 11, 13, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 11, 13, 0.34) 0%, rgba(8, 11, 13, 0.02) 47%, #080b0d 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(780px, calc(100vw - 48px));
  min-width: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: min(800px, calc(100vw - 48px));
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  letter-spacing: 0;
}

.hero-copy {
  max-width: min(620px, calc(100vw - 48px));
  margin-bottom: 34px;
  color: #d1d8d8;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions,
.contact-band,
.compliance-band {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  border-color: rgba(214, 164, 68, 0.72);
  background: var(--amber);
  color: #11100c;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.text-link {
  display: inline-flex;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.text-link::after {
  content: " ->";
  margin-left: 8px;
}

.section {
  padding: clamp(72px, 8vw, 118px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.section-copy {
  max-width: min(560px, calc(100vw - 48px));
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
  background: #0b1012;
}

.intro h2,
.split h2,
.section-heading h2,
.compliance-band h2,
.contact-band h2,
.page-hero h1,
.visual-hero h1 {
  max-width: min(760px, calc(100vw - 48px));
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro p,
.compliance-band p,
.contact-band p,
.page-hero p,
.visual-hero p {
  max-width: min(760px, calc(100vw - 48px));
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(120, 213, 215, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.stats div {
  min-height: 142px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

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

.stats strong {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: clamp(25px, 3vw, 38px);
}

.stats span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(36px, 6vw, 80px);
  background: var(--panel);
}

.capability-list,
.timeline,
.category-list,
.compliance-detail,
.service-grid {
  display: grid;
  gap: 14px;
}

.capability-list article,
.timeline div,
.category-list article,
.compliance-detail article,
.service-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.capability-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
}

.capability-list span,
.timeline span,
.service-grid span {
  color: var(--amber);
  font-weight: 850;
}

.capability-list h3,
.timeline h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.capability-list p,
.timeline p,
.domain-card h3,
.category-list p,
.compliance-detail p,
.service-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.capability-list p {
  grid-column: 2;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
}

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

.domain-grid.expanded {
  border-top: 1px solid var(--line);
}

.domain-card {
  position: relative;
  min-height: 390px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.domain-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  transition: transform 500ms ease, opacity 300ms ease;
}

.domain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 11, 13, 0.05), rgba(8, 11, 13, 0.84)),
    linear-gradient(90deg, rgba(8, 11, 13, 0.66), rgba(8, 11, 13, 0.18));
  z-index: 1;
}

.domain-card::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
  pointer-events: none;
}

.domain-card:hover img {
  opacity: 0.78;
  transform: scale(1.04);
}

.domain-card span,
.domain-card h3 {
  position: relative;
  z-index: 3;
}

.domain-card span {
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.domain-card h3 {
  margin-bottom: 0;
  font-size: 21px;
  font-weight: 650;
}

.compliance-band,
.contact-band {
  justify-content: space-between;
}

.compliance-band {
  background:
    linear-gradient(135deg, rgba(214, 164, 68, 0.12), transparent 45%),
    #0b1012;
}

.contact-band {
  background: var(--panel);
}

.contact-band > div,
.compliance-band > div {
  max-width: min(780px, calc(100vw - 48px));
}

.page-hero {
  min-height: 70vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 72px) 80px;
  background:
    radial-gradient(circle at 80% 20%, rgba(120, 213, 215, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(214, 164, 68, 0.12), transparent 36%),
    #0b1012;
  border-bottom: 1px solid var(--line);
}

.page-hero.compact {
  min-height: 58vh;
}

.page-hero > div,
.visual-hero > div {
  width: 100%;
  min-width: 0;
}

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

.editorial-grid article {
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.editorial-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.timeline {
  grid-template-columns: repeat(3, 1fr);
  background: var(--panel);
}

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

.visual-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
}

.visual-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 13, 0.96), rgba(8, 11, 13, 0.64), rgba(8, 11, 13, 0.18)),
    linear-gradient(180deg, rgba(8, 11, 13, 0.1), #080b0d);
  z-index: 1;
}

.visual-hero > div {
  position: relative;
  z-index: 2;
}

.category-list,
.compliance-detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: 30px;
  align-items: start;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.inquiry-form .trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  min-height: 46px;
  padding: 12px;
  font: inherit;
  font-size: 15px;
}

.inquiry-form textarea,
.inquiry-form .checkbox,
.inquiry-form button {
  grid-column: 1 / -1;
}

.inquiry-form .checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  text-transform: none;
  line-height: 1.5;
}

.inquiry-form .checkbox input {
  min-height: auto;
}

.contact-panel {
  padding: 28px;
  border: 1px solid rgba(214, 164, 68, 0.28);
  background: rgba(214, 164, 68, 0.06);
}

.contact-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.contact-panel a {
  color: var(--cyan);
}

.small-note {
  font-size: 13px;
  color: var(--soft);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #07090a;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
  }

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

  .nav {
    position: fixed;
    inset: 76px 0 auto;
    display: none;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8, 11, 13, 0.97);
    border-bottom: 1px solid var(--line);
  }

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

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

  .hero {
    min-height: 860px;
  }

  .intro,
  .split,
  .compliance-band,
  .contact-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .stats,
  .domain-grid,
  .timeline,
  .editorial-grid,
  .service-grid,
  .category-list,
  .compliance-detail {
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 820px) {
  .hero-content,
  .intro-text,
  .section-heading,
  .split > div,
  .contact-band > div,
  .compliance-band > div,
  .page-hero > div,
  .visual-hero > div {
    max-width: min(342px, calc(100vw - 48px));
  }

  h1 {
    font-size: 36px;
    line-height: 1.06;
  }

  .intro h2,
  .split h2,
  .section-heading h2,
  .compliance-band h2,
  .contact-band h2,
  .page-hero h1,
  .visual-hero h1 {
    font-size: 31px;
    line-height: 1.08;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  main,
  section {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
  }

  .hero {
    min-height: 760px;
    padding-top: 112px;
  }

  .hero-content,
  .intro-text,
  .section-heading,
  .split > div,
  .contact-band > div,
  .compliance-band > div,
  .page-hero > div,
  .visual-hero > div {
    width: 100%;
    max-width: calc(100vw - 48px);
  }

  h1 {
    font-size: 36px;
    line-height: 1.06;
    max-width: 100%;
  }

  .intro h2,
  .split h2,
  .section-heading h2,
  .compliance-band h2,
  .contact-band h2,
  .page-hero h1,
  .visual-hero h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  .eyebrow,
  .section-label {
    font-size: 11px;
    line-height: 1.45;
    max-width: 100%;
  }

  .hero-copy,
  .intro p,
  .compliance-band p,
  .contact-band p,
  .page-hero p,
  .visual-hero p {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-actions,
  .contact-band,
  .compliance-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .capability-list article {
    grid-template-columns: 1fr;
  }

  .capability-list p {
    grid-column: auto;
  }

  .inquiry-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}
