@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0b1017;
  --surface: #111923;
  --surface-2: #182330;
  --surface-3: #202d3b;
  --text: #e8eef5;
  --muted: #a7b3c1;
  --faint: #718092;
  --line: rgba(221, 232, 243, 0.14);
  --line-strong: rgba(221, 232, 243, 0.28);
  --accent: #2467d6;
  --accent-dark: #1a4fa8;
  --danger: #ff8e8e;
  --success: #8bd2b0;
  --shadow: 0 24px 70px rgba(3, 9, 17, 0.36);
  --radius: 16px;
  --container: min(1320px, calc(100% - 48px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 3%, rgba(36, 103, 214, 0.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: #f4f8fc;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #70a5ff;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: page-progress linear;
    animation-timeline: scroll();
  }
}

@keyframes page-progress {
  to { transform: scaleX(1); }
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(5.25rem, 9vw, 9rem);
}

.section-tight {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

.surface-section {
  background: var(--surface);
}

.section-heading {
  max-width: 760px;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #9fc0f6;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
.display {
  margin-top: 0;
  color: var(--text);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.55rem, 7vw, 6rem);
  letter-spacing: -0.035em;
  line-height: 0.92;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  letter-spacing: -0.028em;
  line-height: 0.97;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  letter-spacing: -0.018em;
  line-height: 1.05;
}

p {
  margin-top: 0;
}

.lead {
  max-width: 62ch;
  color: #c3cdd8;
  font-size: clamp(1.12rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.muted {
  color: var(--muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 180ms var(--ease),
    background-color 220ms var(--ease),
    border-color 220ms var(--ease),
    color 220ms var(--ease);
}

.btn::after {
  content: "→";
  font-size: 1.1em;
  transition: transform 220ms var(--ease);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 90ms;
}

.btn-primary {
  background: var(--accent);
  color: #f5f8fc;
  box-shadow: 0 12px 32px rgba(36, 103, 214, 0.24);
}

.btn-primary:hover {
  background: #2e73e3;
}

.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(11, 16, 23, 0.5);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(221, 232, 243, 0.5);
  background: rgba(24, 35, 48, 0.78);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a9c9ff;
  font-weight: 600;
}

.text-link::after {
  content: "→";
  transition: transform 200ms var(--ease);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  height: 76px;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 10, 15, 0.72), transparent);
  pointer-events: none;
}

.nav-shell {
  display: grid;
  width: var(--container);
  height: 76px;
  margin-inline: auto;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

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

.brand img {
  width: 186px;
  height: auto;
  padding: 5px 7px;
  border-radius: 8px;
  background: #f3f6f9;
}

.main-nav {
  justify-self: end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.05rem, 2.2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  color: #dce5ef;
  font-size: 0.97rem;
  font-weight: 600;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--accent);
  transition: transform 240ms var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  min-height: 44px;
  padding-inline: 1.05rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 16, 23, 0.68);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 220ms var(--ease), opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 100dvh;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-settle 1.6s var(--ease) both;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 12, 18, 0.95) 0%, rgba(7, 12, 18, 0.82) 34%, rgba(7, 12, 18, 0.2) 72%, rgba(7, 12, 18, 0.3) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 22%);
}

.hero::after {
  content: "";
  position: absolute;
  width: min(46vw, 720px);
  aspect-ratio: 1;
  right: -12vw;
  bottom: -33%;
  z-index: -1;
  border: 1px solid rgba(184, 204, 229, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(184, 204, 229, 0.035),
    0 0 0 118px rgba(184, 204, 229, 0.025);
}

.hero-content {
  width: var(--container);
  margin-inline: auto;
  padding-top: 6rem;
}

.hero-copy {
  max-width: 680px;
  animation: copy-in 1s 120ms var(--ease) both;
}

.hero .lead {
  max-width: 530px;
  margin-bottom: 0;
  color: #d2dbe5;
}

.hero-rail {
  position: absolute;
  right: 2.5vw;
  top: 50%;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
  color: rgba(232, 238, 245, 0.66);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.hero-rail strong {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.02em;
}

@keyframes hero-settle {
  from { opacity: 0.35; transform: scale(1.065); filter: blur(8px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes copy-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Fact rail */
.fact-rail {
  position: relative;
  z-index: 2;
  margin-top: -2px;
  background: var(--bg);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.fact {
  min-height: 150px;
  padding: 2rem clamp(1rem, 3vw, 2.4rem);
  border-right: 1px solid var(--line);
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.fact span {
  color: var(--muted);
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
  isolation: isolate;
}

.service-card:nth-child(1) { grid-column: span 7; }
.service-card:nth-child(2) { grid-column: span 5; }
.service-card:nth-child(3) { grid-column: span 4; }
.service-card:nth-child(4) { grid-column: span 5; }
.service-card:nth-child(5) { grid-column: span 3; }

.service-card.has-image {
  min-height: 480px;
  align-items: flex-end;
}

.service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 500ms var(--ease);
}

.service-card.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 18%, rgba(7, 12, 18, 0.92) 100%);
}

.service-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.service-card-content {
  display: flex;
  width: 100%;
  min-height: inherit;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.6rem);
}

.service-card:not(.has-image) .service-card-content {
  justify-content: space-between;
}

.service-mark {
  position: relative;
  width: 76px;
  aspect-ratio: 1;
  margin-bottom: auto;
  border: 1px solid rgba(163, 190, 229, 0.3);
  border-radius: 50%;
}

.service-mark::before,
.service-mark::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(163, 190, 229, 0.18);
  border-radius: 50%;
}

.service-mark::after {
  inset: 50% 8px auto;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  transform: rotate(-28deg);
  transform-origin: center;
}

.service-card p {
  max-width: 48ch;
  margin-bottom: 1.25rem;
  color: #b9c4cf;
}

.service-card.has-image p {
  color: #d1d9e2;
}

/* Expertise */
.expertise-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.dial-visual {
  position: relative;
  width: min(100%, 540px);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--surface-2) 0 15%, transparent 15.4% 31%, rgba(36, 103, 214, 0.12) 31.4% 32%, transparent 32.4% 48%, rgba(232, 238, 245, 0.08) 48.4% 48.8%, transparent 49%),
    conic-gradient(from 218deg, transparent 0 11%, rgba(36, 103, 214, 0.85) 11% 12%, transparent 12% 24%, rgba(232, 238, 245, 0.13) 24% 24.5%, transparent 24.5% 100%);
  box-shadow: inset 0 0 70px rgba(4, 10, 18, 0.5);
}

.dial-visual::before {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.dial-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
  transform: rotate(-36deg);
  transform-origin: left;
}

.dial-label {
  position: absolute;
  right: 16%;
  bottom: 24%;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 0.95;
  text-align: right;
}

.dial-label small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
}

.capability-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.6rem;
}

.capability-group h3 {
  margin-bottom: 0.9rem;
  font-size: 1.45rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.48rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c3ced9;
  font-size: 0.92rem;
}

/* Marquee */
.maker-strip {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.maker-track {
  display: flex;
  width: max-content;
  animation: maker-scroll 34s linear infinite;
}

.maker-set {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 1.6rem 2rem;
}

.maker-set span {
  color: #8795a5;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@keyframes maker-scroll {
  to { transform: translateX(-50%); }
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-item {
  grid-column: span 4;
  padding: clamp(2rem, 4vw, 3.5rem);
  background: var(--surface);
}

.process-item strong {
  display: block;
  margin-bottom: 1rem;
  color: #8fb8f7;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
}

.process-item p {
  margin-bottom: 0;
  color: var(--muted);
}

/* About preview */
.about-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: stretch;
  gap: 18px;
}

.about-photo {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border-radius: var(--radius);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.timeline-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0 0;
}

.timeline-mini div {
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.timeline-mini strong {
  display: block;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.timeline-mini span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* CTA */
.cta-panel {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  place-items: center;
  isolation: isolate;
  text-align: center;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 50%, rgba(36, 103, 214, 0.25), transparent 28%),
    linear-gradient(135deg, #162231, #0f1721 55%, #18283a);
}

.cta-panel::after {
  content: "";
  position: absolute;
  width: 430px;
  aspect-ratio: 1;
  right: -100px;
  bottom: -210px;
  z-index: -1;
  border: 1px solid rgba(184, 204, 229, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(184, 204, 229, 0.035), 0 0 0 122px rgba(184, 204, 229, 0.02);
}

.cta-inner {
  max-width: 760px;
  padding: 3rem 1.5rem;
}

.cta-inner h2 {
  max-width: 12ch;
  margin-inline: auto;
}

.cta-inner .lead {
  margin-inline: auto;
}

.cta-inner .btn-row {
  justify-content: center;
}

/* Interior hero */
.page-hero {
  position: relative;
  display: grid;
  min-height: min(78dvh, 760px);
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.page-hero.compact {
  min-height: 590px;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 13, 20, 0.94), rgba(8, 13, 20, 0.35) 74%),
    linear-gradient(0deg, var(--bg) 0%, transparent 48%);
}

.page-hero.no-photo::before {
  background:
    radial-gradient(circle at 76% 35%, rgba(36, 103, 214, 0.2), transparent 22rem),
    linear-gradient(150deg, var(--surface-2), var(--bg) 64%);
}

.page-hero.no-photo::after {
  content: "";
  position: absolute;
  top: -24%;
  right: -8vw;
  z-index: -1;
  width: min(62vw, 850px);
  aspect-ratio: 1;
  border: 1px solid rgba(184, 204, 229, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 13%, rgba(36, 103, 214, 0.16) 13.4% 13.8%, transparent 14.2% 31%, rgba(232, 238, 245, 0.08) 31.4% 31.8%, transparent 32.2% 48%, rgba(232, 238, 245, 0.05) 48.4% 48.8%, transparent 49.2%),
    conic-gradient(from 205deg, transparent 0 16%, rgba(36, 103, 214, 0.72) 16% 16.8%, transparent 16.8% 32%, rgba(232, 238, 245, 0.16) 32% 32.5%, transparent 32.5% 100%);
  box-shadow: 0 0 0 58px rgba(184, 204, 229, 0.025), 0 0 0 136px rgba(184, 204, 229, 0.015);
  opacity: 0.92;
  pointer-events: none;
}

.page-hero-content {
  width: var(--container);
  margin-inline: auto;
  padding: 8rem 0 5rem;
}

.page-hero h1 {
  max-width: 15ch;
}

.page-hero .lead {
  max-width: 620px;
}

/* Generic detail layouts */
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.intro-grid h2 {
  position: sticky;
  top: 2rem;
}

.prose {
  max-width: 72ch;
}

.prose > * + * {
  margin-top: 1.4rem;
}

.prose h3 {
  margin-top: 2.4rem;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 2.5rem 0;
}

.check-item {
  position: relative;
  min-height: 92px;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: #ccd5de;
}

.check-item::before {
  content: "";
  position: absolute;
  top: 1.55rem;
  left: 1.35rem;
  width: 12px;
  height: 6px;
  border-bottom: 2px solid #8fb8f7;
  border-left: 2px solid #8fb8f7;
  transform: rotate(-45deg);
}

.media-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  gap: 18px;
}

.media-split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.media-split.reverse .media-frame {
  order: 2;
}

.media-frame {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.info-cluster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.info-block {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--surface);
}

.info-block p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

/* Service overview */
.overview-list {
  display: grid;
  gap: 18px;
}

.overview-item {
  display: grid;
  min-height: 340px;
  overflow: hidden;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.overview-item:nth-child(even) {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.overview-item:nth-child(even) .overview-image {
  order: 2;
}

.overview-image {
  min-height: 340px;
}

.overview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: clamp(3rem, 9vw, 9rem);
}

.faq-intro {
  position: sticky;
  top: 2rem;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 1.6rem 3rem 1.6rem 0;
  cursor: pointer;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.15;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  color: #8fb8f7;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
  transition: transform 240ms var(--ease);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-width: 64ch;
  padding: 0 2.5rem 1.7rem 0;
  color: var(--muted);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 18px;
}

.contact-card,
.form-card {
  border-radius: var(--radius);
  background: var(--surface-2);
}

.contact-card {
  padding: clamp(2rem, 5vw, 4rem);
}

.contact-card address {
  color: #c9d3dc;
  font-style: normal;
}

.contact-methods {
  display: grid;
  gap: 1px;
  margin-top: 2.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.contact-method {
  display: block;
  padding: 1.2rem 1.35rem;
  background: var(--surface);
  transition: background 200ms ease;
}

.contact-method:hover {
  background: var(--surface-3);
}

.contact-method small {
  display: block;
  color: var(--muted);
}

.contact-method strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
}

.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1rem;
  margin-top: 2rem;
  color: var(--muted);
}

.form-card {
  padding: clamp(2rem, 5vw, 4rem);
}

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

.field {
  display: grid;
  gap: 0.5rem;
}

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

.field label {
  color: #dce5ee;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 0.85rem 1rem;
  border: 1px solid #506070;
  border-radius: 12px;
  background: #0f1721;
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8997a6;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #70a5ff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(112, 165, 255, 0.18);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.2em;
  color: var(--danger);
  font-size: 0.9rem;
}

.form-note {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.form-status {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(139, 210, 176, 0.45);
  border-radius: 12px;
  background: rgba(139, 210, 176, 0.08);
  color: var(--success);
}

.form-status.is-visible {
  display: block;
}

/* Product */
.product-spotlight {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.product-gallery,
.product-copy {
  min-height: 540px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.product-gallery {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.product-gallery img {
  width: min(100%, 600px);
  height: auto;
}

.product-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

/* Footer */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #090e14;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 3rem;
}

.footer-brand img {
  width: 220px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #f3f6f9;
}

.footer-brand p {
  max-width: 42ch;
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.footer-column h3 {
  margin-bottom: 1rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-column ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: var(--muted);
}

.footer-column a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.9rem;
}

/* Reveal */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

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

.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }

/* Responsive */
@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .nav-shell {
    grid-template-columns: auto 1fr;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(4) { grid-column: span 7; }
  .service-card:nth-child(2),
  .service-card:nth-child(3) { grid-column: span 5; }
  .service-card:nth-child(5) { grid-column: span 12; min-height: 260px; }

  .expertise-layout {
    gap: 4rem;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 32px, 1320px);
  }

  .site-header,
  .nav-shell {
    height: 68px;
  }

  .brand img {
    width: 164px;
  }

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

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: grid;
    place-items: center;
    visibility: hidden;
    opacity: 0;
    background: rgba(8, 13, 20, 0.97);
    backdrop-filter: blur(20px);
    transition: opacity 260ms var(--ease), visibility 260ms;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.2rem;
  }

  .nav-link {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2rem;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 12, 18, 0.92), rgba(7, 12, 18, 0.4)),
      linear-gradient(0deg, var(--bg) 0%, transparent 30%);
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-rail {
    display: none;
  }

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

  .fact {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .service-grid,
  .expertise-layout,
  .about-preview,
  .intro-grid,
  .media-split,
  .media-split.reverse,
  .faq-layout,
  .contact-grid,
  .product-spotlight {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(n) {
    grid-column: 1 / -1;
  }

  .service-card,
  .service-card.has-image {
    min-height: 390px;
  }

  .dial-visual {
    max-width: 480px;
  }

  .process-item {
    grid-column: 1 / -1;
  }

  .about-photo {
    min-height: 450px;
  }

  .intro-grid h2,
  .faq-intro {
    position: static;
  }

  .media-split.reverse .media-frame {
    order: 0;
  }

  .overview-item,
  .overview-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .overview-item:nth-child(even) .overview-image {
    order: 0;
  }

  .media-frame,
  .product-gallery,
  .product-copy {
    min-height: 420px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 4.7rem);
  }

  h2 {
    font-size: clamp(2.65rem, 13vw, 3.8rem);
  }

  .hero-content {
    padding-top: 5rem;
  }

  .hero::after {
    width: 90vw;
    right: -48vw;
    bottom: -18%;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .btn-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .capability-groups,
  .timeline-mini,
  .check-grid,
  .info-cluster,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .page-hero,
  .page-hero.compact {
    min-height: 620px;
  }

  .page-hero-content {
    padding-bottom: 3.5rem;
  }

  .page-hero-media img {
    object-position: 62% center;
  }

  .page-hero.no-photo::after {
    top: 3%;
    right: -62vw;
    width: 120vw;
    opacity: 0.68;
  }

  .media-frame,
  .about-photo {
    min-height: 360px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .maker-track {
    width: auto;
    animation: none;
  }

  .maker-set:nth-child(2) {
    display: none;
  }

  .maker-set {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .main-nav,
  .btn-secondary,
  .menu-toggle {
    background: var(--bg);
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #d2dbe5;
    --line: rgba(232, 238, 245, 0.38);
    --line-strong: rgba(232, 238, 245, 0.62);
  }
}
