:root {
  color-scheme: light;
  --navy: #08090a;
  --navy-2: #151719;
  --ink: #17212b;
  --muted: #5f6f7e;
  --paper: #f7f3ec;
  --white: #ffffff;
  --teal: #245f3d;
  --teal-bright: #45b26e;
  --gold: #6f1d2d;
  --blue: #4a7fa3;
  --green: #6c865c;
  --red: #b5655a;
  --line: #dce5e9;
  --shadow: 0 18px 50px rgba(11, 30, 46, 0.15);
  --radius: 8px;
  --content: 1160px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy);
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 233, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(var(--content), calc(100% - 2rem));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo {
  width: clamp(230px, 22vw, 270px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.1rem;
  color: #2a3a48;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--teal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.nav-cta:hover {
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.65rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: clamp(530px, 74svh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 20, 34, 0.94) 0%, rgba(9, 28, 45, 0.86) 34%, rgba(12, 34, 55, 0.2) 74%),
    url("assets/dcs-hero-workbench.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 34, 55, 0.2), rgba(12, 34, 55, 0.36));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 3.8rem) 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--teal-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.9rem, 8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

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

.button-primary:hover {
  background: #8f2c40;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1.45rem 0 0;
  padding: 0;
}

.signal-list li {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 700;
}

.section,
.intro-band,
.about-section,
.catalis-band {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-inner {
  width: min(var(--content), calc(100% - 2rem));
  margin: 0 auto;
}

.intro-band {
  padding: 2rem 0;
  background: var(--paper);
  border-bottom: 1px solid #e8dfd0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.intro-grid h2,
.about-copy h2,
.section-heading h2,
.split-layout h2,
.catalis-panel h2,
.contact-layout h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-grid p:last-child,
.about-copy p,
.split-layout > div:first-child p:last-child,
.contact-layout > div:first-child p:last-child {
  margin: 0;
  color: #314355;
  font-size: 1.06rem;
}

.about-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.about-copy .section-kicker {
  margin-bottom: 0;
}

.credential-panel {
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  background: #101314;
  color: var(--white);
  padding: clamp(1.2rem, 3vw, 1.6rem);
  box-shadow: var(--shadow);
}

.credential-group + .credential-group {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.credential-group h3 {
  margin: 0 0 0.65rem;
  color: #f6f1e8;
  font-size: 1.08rem;
  line-height: 1.2;
}

.credential-group ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.credential-group p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.services-section {
  background: var(--white);
}

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

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

.service-card {
  min-height: 280px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(11, 30, 46, 0.07);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin: 1rem 0 0.7rem;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.18;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: #eef7f6;
  color: var(--teal);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accent-gold {
  border-top-color: var(--gold);
}

.accent-gold .service-icon {
  color: var(--gold);
  background: #fff6e8;
}

.accent-blue {
  border-top-color: var(--blue);
}

.accent-blue .service-icon {
  color: var(--blue);
  background: #eef6fb;
}

.accent-slate {
  border-top-color: #55606b;
}

.accent-slate .service-icon {
  color: #55606b;
  background: #f1f3f5;
}

.accent-green {
  border-top-color: var(--green);
}

.accent-green .service-icon {
  color: var(--green);
  background: #f0f5ec;
}

.accent-red {
  border-top-color: var(--red);
}

.accent-red .service-icon {
  color: var(--red);
  background: #fbefed;
}

.approach-section {
  background: #eef4f3;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.split-layout > div:first-child {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.approach-list {
  display: grid;
  gap: 1rem;
}

.approach-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #cbdcdb;
}

.approach-item:first-child {
  border-top: 1px solid #cbdcdb;
}

.approach-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

.approach-item h3 {
  margin: 0 0 0.3rem;
  color: var(--navy);
  font-size: 1.2rem;
}

.approach-item p {
  margin: 0;
  color: #465967;
}

.catalis-band {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--navy);
  color: var(--white);
}

.catalis-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.catalis-panel h2 {
  color: var(--white);
}

.catalis-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.catalis-panel a {
  color: #f2c46a;
  font-weight: 800;
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-actions {
  display: grid;
  gap: 0.8rem;
}

.contact-link {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid #ded6ca;
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}

.contact-link:hover {
  box-shadow: 0 10px 28px rgba(11, 30, 46, 0.12);
}

.contact-link span,
.contact-link strong {
  display: block;
}

.contact-link span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-link strong {
  margin-top: 0.25rem;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.primary-contact {
  border-left-color: var(--gold);
}

.catalis-contact {
  border-left-color: var(--blue);
}

.site-footer {
  background: #111a22;
  color: rgba(255, 255, 255, 0.78);
  padding: 1.25rem 0;
}

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

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .brand-logo {
    width: clamp(210px, 48vw, 260px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid #edf1f3;
  }

  .nav-cta {
    margin-top: 0.6rem;
    border-bottom: 0;
  }

  .hero {
    min-height: clamp(540px, 72svh, 680px);
    background:
      linear-gradient(90deg, rgba(7, 20, 34, 0.94) 0%, rgba(9, 28, 45, 0.82) 48%, rgba(12, 34, 55, 0.44) 100%),
      url("assets/dcs-hero-workbench.png") 58% center / cover no-repeat;
  }

  .intro-grid,
  .about-layout,
  .split-layout,
  .catalis-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split-layout > div:first-child {
    position: static;
  }

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

@media (max-width: 640px) {
  .brand-logo {
    width: min(210px, 56vw);
  }

  .hero {
    min-height: 72svh;
  }

  .hero-content {
    padding: 3.4rem 0 3.2rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .service-card {
    min-height: auto;
  }

  .section-heading {
    display: block;
  }

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