:root {
  --ink: #171c1d;
  --ink-soft: #223238;
  --paper: #ffffff;
  --paper-soft: #f4f6f6;
  --muted: #66777d;
  --line: #d9e0e2;
  --accent-red: #e40a36;
  --accent-cyan: #45ceee;
  --max-width: 1180px;
  --section-space: 96px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-cyan);
  outline-offset: 4px;
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 56px);
  color: var(--paper);
  background: rgba(23, 28, 29, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--paper);
  background:
    linear-gradient(135deg, transparent 48%, var(--accent-cyan) 49% 51%, transparent 52%),
    var(--accent-red);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 24px;
}

.brand-name {
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.84);
}

.site-nav a:hover {
  color: var(--paper);
}

.site-nav .nav-cta {
  color: var(--paper);
  border-bottom: 2px solid var(--accent-red);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 6vw, 88px);
  min-height: calc(100vh - 83px);
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 56px) 88px;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 18%, rgba(69, 206, 238, 0.18), transparent 28%),
    linear-gradient(135deg, var(--ink) 0%, #111516 56%, var(--ink-soft) 100%);
}

.hero::after {
  position: absolute;
  right: clamp(24px, 8vw, 120px);
  bottom: -130px;
  width: 260px;
  height: 260px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.eyebrow,
.section-kicker,
.sic-code {
  margin: 0 0 18px;
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero h1 em,
.contact h2 em {
  display: block;
  color: var(--accent-cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.hero-copy {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.28rem);
}

.hero-actions,
.contact-content .button {
  margin-top: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 2px solid currentColor;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--paper);
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.button-secondary {
  color: var(--paper);
}

.hero-panel {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.hero-panel span::before {
  width: 9px;
  height: 9px;
  background: var(--accent-red);
  border-radius: 50%;
  content: "";
}

.hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.art-line {
  position: absolute;
  border-color: rgba(255, 255, 255, 0.25);
  border-style: solid;
  content: "";
}

.art-line-one {
  top: 22%;
  right: 9%;
  width: 180px;
  height: 110px;
  border-width: 2px 2px 0 0;
  border-top-right-radius: 8px;
}

.art-line-two {
  left: 5%;
  bottom: 14%;
  width: 220px;
  height: 130px;
  border-width: 0 0 2px 2px;
  border-bottom-left-radius: 8px;
}

.art-dot {
  position: absolute;
  border-radius: 50%;
}

.art-dot-red {
  top: 28%;
  right: 21%;
  width: 18px;
  height: 18px;
  background: var(--accent-red);
}

.art-dot-cyan {
  bottom: 24%;
  left: 17%;
  width: 14px;
  height: 14px;
  background: var(--accent-cyan);
}

.section,
.services,
.approach,
.contact {
  padding: var(--section-space) clamp(20px, 5vw, 56px);
}

.section > *,
.services > *,
.approach > *,
.contact > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.intro {
  text-align: center;
}

.intro h2,
.approach h2,
.fit h2 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1.05;
}

.intro p {
  max-width: 760px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.16rem;
}

.services,
.contact {
  color: var(--paper);
  background:
    linear-gradient(rgba(23, 28, 29, 0.94), rgba(23, 28, 29, 0.94)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 16px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.65fr);
  gap: 36px;
  align-items: end;
}

.section-heading h2,
.contact h2 {
  font-size: clamp(2.1rem, 5vw, 5rem);
  line-height: 1.02;
}

.section-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.theme-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
}

.theme-list li {
  padding: 9px 12px;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 800;
}

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

.service-card {
  min-height: 430px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.service-card h3 {
  margin: 18px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.16;
}

.service-card p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.service-icon {
  position: relative;
  width: 76px;
  height: 76px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--paper);
}

.service-icon::before,
.service-icon::after {
  position: absolute;
  content: "";
}

.service-icon-comms::before {
  inset: 20px 14px;
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
}

.service-icon-comms::after {
  right: 11px;
  bottom: 17px;
  width: 16px;
  height: 16px;
  background: var(--accent-red);
  border-radius: 50%;
}

.service-icon-consulting::before {
  left: 18px;
  bottom: 17px;
  width: 39px;
  height: 34px;
  border-left: 2px solid var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
}

.service-icon-consulting::after {
  left: 23px;
  top: 20px;
  width: 30px;
  height: 22px;
  border-top: 2px solid var(--accent-red);
  border-right: 2px solid var(--accent-red);
  transform: skewY(-18deg);
}

.service-icon-technical::before {
  inset: 16px;
  border: 2px solid var(--accent-cyan);
  transform: rotate(45deg);
}

.service-icon-technical::after {
  left: 31px;
  top: 12px;
  width: 12px;
  height: 50px;
  background: var(--accent-red);
}

.service-icon-support::before {
  left: 17px;
  top: 20px;
  width: 42px;
  height: 30px;
  border: 2px solid var(--accent-cyan);
  border-radius: 6px;
}

.service-icon-support::after {
  left: 29px;
  bottom: 16px;
  width: 18px;
  height: 18px;
  background: var(--accent-red);
  border-radius: 50%;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.step {
  padding: 28px 28px 32px;
  border-top: 3px solid var(--accent-red);
  background: var(--paper-soft);
}

.step-number {
  color: var(--accent-red);
  font-weight: 900;
}

.step h3 {
  margin: 18px 0 12px;
  font-size: 1.45rem;
}

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

.fit {
  padding-top: 0;
}

.fit-box {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.75fr);
  gap: 42px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fit-box > * {
  min-width: 0;
}

.fit-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.fit-list li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 10px;
  background: var(--accent-cyan);
  border-radius: 50%;
  content: "";
}

.contact {
  position: relative;
  overflow: hidden;
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.contact-content p {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.12rem;
}

.contact-art {
  position: absolute;
  right: 6vw;
  top: 50%;
  width: 280px;
  height: 280px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  transform: translateY(-50%);
}

.contact-art::before,
.contact-art::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.contact-art::before {
  left: 38px;
  top: 58px;
  width: 20px;
  height: 20px;
  background: var(--accent-red);
}

.contact-art::after {
  right: 58px;
  bottom: 48px;
  width: 16px;
  height: 16px;
  background: var(--accent-cyan);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 56px);
  color: var(--muted);
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
  border-bottom: 2px solid var(--accent-red);
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .fit-box {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    align-self: start;
    max-width: 460px;
  }

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

@media (max-width: 760px) {
  :root {
    --section-space: 72px;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    padding-top: 64px;
  }

  .hero h1,
  .section h2,
  .contact h2 {
    font-size: clamp(2.25rem, 13vw, 4rem);
  }

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

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

  .fit-box {
    display: block;
  }

  .fit-list {
    margin-top: 28px;
  }

  .contact-art {
    opacity: 0.28;
    right: 16px;
    width: 180px;
    height: 180px;
  }

  .site-footer {
    display: grid;
  }
}

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