:root {
  --bg: #eef2f5;
  --bg-soft: #f6f8fa;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-strong: #ffffff;
  --line: rgba(35, 58, 70, 0.12);
  --line-strong: rgba(35, 58, 70, 0.22);
  --text: #163140;
  --muted: #657985;
  --muted-strong: #3f5661;
  --brand: #2f8ea0;
  --brand-deep: #163f57;
  --brand-pale: #e7f2f4;
  --accent: #c79a4a;
  --accent-soft: rgba(199, 154, 74, 0.16);
  --shadow: 0 22px 52px rgba(19, 42, 55, 0.09);
  --shadow-soft: 0 10px 24px rgba(19, 42, 55, 0.05);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Barlow", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(47, 142, 160, 0.09), transparent 34%),
    radial-gradient(circle at top right, rgba(199, 154, 74, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fafb 0%, #f1f4f7 42%, #e8eef2 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(28, 61, 78, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 61, 78, 0.025) 1px, transparent 1px);
  background-size: 128px 128px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 88%);
}

body::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(47, 142, 160, 0.05) 50%, transparent 100%);
  opacity: 0.3;
  animation: ambientSweep 18s ease-in-out infinite alternate;
}

.site-shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 28px 0 60px;
}

.site-header {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  animation: fadeSlideDown 700ms ease-out both;
}

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

.brand img {
  width: 188px;
  height: auto;
  display: block;
}

.header-meta {
  display: grid;
  gap: 4px;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(199, 154, 74, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(199, 154, 74, 0.14), rgba(199, 154, 74, 0.04));
  color: var(--brand-deep);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-location {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a,
.contact-details a {
  color: var(--text);
  text-decoration: none;
}

.site-nav a {
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover,
.contact-details a:hover {
  color: var(--brand-deep);
}

.site-nav a:hover {
  border-color: var(--line);
  background: rgba(47, 142, 160, 0.05);
}

.hero,
.section,
.contact-panel {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 22px;
  padding-top: 28px;
}

.hero-copy,
.hero-panel,
.feature-card,
.timeline-step,
.contact-panel,
.function-table,
.visual-frame,
.technical-note,
.ops-card,
.systems-feature {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.hero-copy {
  display: grid;
  gap: 28px;
  padding: 42px;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(199, 154, 74, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(47, 142, 160, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), transparent 44%),
    var(--panel);
  animation: fadeSlideUp 800ms ease-out 120ms both;
}

.hero-copy-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.hero-line {
  margin: 0;
  max-width: 22ch;
  color: var(--muted);
  text-align: right;
  line-height: 1.45;
  font-size: 0.98rem;
}

.hero-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}

.hero-story p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.72;
  font-size: 1.04rem;
}

.hero-story-note {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-story-label,
.hero-data-label,
.hero-sidecard-label,
.technical-note-label,
.hero-panel-badge-label,
.visual-kicker,
.eyebrow,
.step-number {
  font-family: "Space Grotesk", Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-story-label,
.hero-data-label,
.hero-sidecard-label,
.technical-note-label {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.74rem;
}

.hero-story-note strong {
  display: block;
  max-width: 16ch;
  font-size: 1.06rem;
  line-height: 1.45;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  color: var(--brand-deep);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero-data {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hero-data-block {
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.hero-data-block strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-data-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  padding: 20px;
  background:
    radial-gradient(circle at top left, rgba(199, 154, 74, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(47, 142, 160, 0.05), transparent 42%),
    var(--panel-strong);
  animation: fadeSlideUp 800ms ease-out 240ms both;
}

.hero-panel-stack {
  display: grid;
  gap: 18px;
}

.hero-panel-photo-wrap {
  position: relative;
}

.hero-panel-photo {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 38%;
  border: 1px solid rgba(28, 61, 78, 0.12);
  border-radius: calc(var(--radius-lg) - 10px);
  transition: transform 700ms ease;
}

.hero-panel-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(20, 48, 61, 0.92);
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  max-width: 250px;
  animation: fadeSlideUp 700ms ease-out 450ms both;
}

.hero-panel-badge-label {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.68rem;
}

.hero-panel-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.metric-value {
  display: block;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.metric-copy {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.hero-sidecard {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.hero-sidecard-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-strong);
  line-height: 1.8;
}

.hero-sidecard-copy {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.74rem;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Manrope", Arial, sans-serif;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 5.8vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

h2 {
  max-width: 16ch;
  font-size: clamp(2.2rem, 3.2vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.34rem;
  line-height: 1.15;
}

.lead,
.intro-text,
.ops-card p,
.systems-feature p,
.feature-card p,
.timeline-step p,
.contact-copy p,
.contact-details p,
.function-row span:last-child,
.visual-copy,
.technical-note p {
  color: var(--muted);
  line-height: 1.68;
}

.lead {
  max-width: 36ch;
  margin: 0;
  font-size: 1.16rem;
  color: var(--muted-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(28, 79, 103, 0.16);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-deep), #286d86);
  color: #ffffff;
  font-weight: 700;
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.82);
}

.compliance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.compliance-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.compliance-detail {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.compliance-detail strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.96rem;
  color: var(--brand-deep);
}

.compliance-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted-strong);
  line-height: 1.65;
}

.compliance-list li + li {
  margin-top: 8px;
}

.section {
  padding-top: 42px;
  animation: fadeSlideUp 800ms ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 34%;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-heading-wide {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  align-items: end;
}

.intro-text {
  margin: 0;
  max-width: 48ch;
  justify-self: end;
}

.systems-band {
  padding-top: 46px;
}

.systems-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 18px;
}

.systems-feature,
.ops-card,
.feature-card,
.timeline-step,
.contact-panel,
.function-table,
.visual-frame,
.technical-note {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.systems-feature:hover,
.ops-card:hover,
.feature-card:hover,
.timeline-step:hover,
.visual-frame:hover,
.technical-note:hover,
.metric:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(24, 52, 66, 0.12);
  border-color: rgba(28, 61, 78, 0.2);
}

.systems-feature::before,
.ops-card::before,
.feature-card::before,
.timeline-step::before,
.contact-panel::before,
.visual-frame::before,
.technical-note::before,
.function-table::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.systems-feature {
  display: grid;
  align-content: start;
  min-height: 340px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.76) 100%),
    linear-gradient(135deg, rgba(47, 142, 160, 0.12), rgba(28, 79, 103, 0.04)),
    var(--panel);
}

.systems-feature-media {
  margin: -28px -28px 22px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.systems-feature-media img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 700ms ease;
}

.systems-feature:hover .systems-feature-media img,
.visual-frame:hover img,
.hero-panel-photo-wrap:hover .hero-panel-photo {
  transform: scale(1.03);
}

.systems-feature h3 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.systems-rail {
  display: grid;
  gap: 18px;
}

.ops-card {
  padding: 24px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.94)),
    var(--panel);
}

.ops-index {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  color: var(--brand-deep);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.ops-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--brand-deep);
}

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

.technical-main,
.technical-side {
  display: grid;
  gap: 18px;
}

.function-table {
  background: rgba(255, 255, 255, 0.94);
}

.function-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.function-row:first-child {
  border-top: 0;
}

.function-row span:first-child {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  color: var(--brand-deep);
}

.function-row-head {
  background: linear-gradient(90deg, rgba(47, 142, 160, 0.09), rgba(199, 154, 74, 0.08));
}

.function-row-head span {
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visual-frame {
  padding: 20px;
}

.visual-kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.72rem;
}

.visual-copy {
  margin: 12px 0 16px;
}

.visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(28, 61, 78, 0.12);
  border-radius: calc(var(--radius-md) - 8px);
  transition: transform 700ms ease;
}

.technical-note {
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 248, 250, 0.98)),
    var(--panel);
}

.technical-note p {
  margin: 0;
  color: var(--muted-strong);
}

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

.feature-card {
  padding: 26px;
  min-height: 230px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.96)),
    var(--panel);
}

.feature-card p,
.timeline-step p,
.contact-copy p,
.contact-details p {
  margin: 14px 0 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.timeline-step {
  padding: 26px 22px 24px;
  border-left: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(246, 248, 250, 0.96));
}

.timeline-step:first-child {
  border-left: 0;
}

.step-number {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.76rem;
}

.contact {
  padding-bottom: 20px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 28px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(199, 154, 74, 0.11), transparent 24%),
    linear-gradient(135deg, rgba(47, 142, 160, 0.07), transparent 38%),
    var(--panel);
}

.contact-copy {
  display: grid;
  gap: 18px;
}

.contact-copy p {
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 4px;
}

.contact-form-status {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 0.96rem;
  line-height: 1.6;
}

.contact-form-status.is-success {
  border-color: rgba(59, 130, 92, 0.28);
  background: rgba(59, 130, 92, 0.08);
  color: #1f5a38;
}

.contact-form-status.is-error {
  border-color: rgba(179, 83, 51, 0.28);
  background: rgba(179, 83, 51, 0.08);
  color: #7a3020;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--brand-deep);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
  line-height: 1.5;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(47, 142, 160, 0.58);
  box-shadow: 0 0 0 4px rgba(47, 142, 160, 0.12);
  background: #ffffff;
}

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

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-submit {
  justify-self: start;
}

.contact-form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.contact-details {
  display: grid;
  align-content: center;
  justify-content: center;
  justify-items: center;
  gap: 10px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.contact-details a,
.contact-details p {
  font-size: 1.04rem;
}

.service-page {
  background:
    radial-gradient(circle at top left, rgba(92, 150, 46, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(219, 163, 67, 0.12), transparent 24%),
    linear-gradient(180deg, #f9fbf5 0%, #eff4ea 40%, #e4ece3 100%);
}

.service-page::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(92, 150, 46, 0.06) 50%, transparent 100%);
}

.hero-service {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.service-hero-copy {
  background:
    radial-gradient(circle at top right, rgba(219, 163, 67, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(92, 150, 46, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent 44%),
    var(--panel);
}

.service-story {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.service-highlight {
  background:
    linear-gradient(180deg, rgba(92, 150, 46, 0.08), rgba(255, 255, 255, 0.92)),
    var(--bg-soft);
}

.service-panel {
  background:
    radial-gradient(circle at top left, rgba(92, 150, 46, 0.12), transparent 20%),
    radial-gradient(circle at bottom right, rgba(219, 163, 67, 0.1), transparent 28%),
    var(--panel-strong);
}

.service-diagram {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 8px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(240, 245, 236, 0.96)),
    var(--panel);
  overflow: hidden;
}

.service-diagram::before,
.service-diagram::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 220px;
  height: 220px;
  border: 1px dashed rgba(22, 63, 87, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.service-diagram::after {
  width: 300px;
  height: 300px;
  border-color: rgba(92, 150, 46, 0.15);
}

.diagram-core,
.diagram-node {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.diagram-core {
  inset: 50% auto auto 50%;
  width: 190px;
  height: 190px;
  padding: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.98), rgba(233, 241, 226, 0.96)),
    var(--panel-strong);
  transform: translate(-50%, -50%);
}

.diagram-label {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diagram-core strong {
  max-width: 9ch;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.05;
}

.diagram-node {
  width: 132px;
  min-height: 84px;
  padding: 16px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--brand-deep);
}

.node-left-top {
  left: 26px;
  top: 38px;
}

.node-right-top {
  right: 26px;
  top: 38px;
}

.node-left-bottom {
  left: 44px;
  bottom: 34px;
}

.node-right-bottom {
  right: 24px;
  bottom: 34px;
}

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

.service-frame {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(241, 246, 236, 0.98)),
    var(--panel);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-deep);
  font-size: 0.86rem;
  font-weight: 600;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ambientSweep {
  from {
    transform: translateX(-2%);
  }

  to {
    transform: translateX(2%);
  }
}

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

@media (max-width: 1080px) {
  .hero,
  .systems-layout,
  .technical-layout,
  .feature-grid,
  .service-grid,
  .contact-panel,
  .section-heading-wide {
    grid-template-columns: 1fr;
  }

  .intro-text {
    justify-self: start;
  }

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

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

  .timeline-step:nth-child(n + 3) {
    border-top: 0;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 24px, 1280px);
    padding-top: 12px;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .header-meta {
    width: 100%;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-copy,
  .hero-panel,
  .systems-feature,
  .ops-card,
  .feature-card,
  .visual-frame,
  .technical-note,
  .contact-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-copy-top,
  .hero-story,
  .hero-data,
  .hero-panel-meta,
  .hero-trust,
  .feature-grid,
  .service-grid,
  .contact-form-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-line {
    max-width: none;
    text-align: left;
  }

  .hero-panel-photo {
    height: 250px;
  }

  .service-diagram {
    min-height: 420px;
  }

  .diagram-core {
    width: 166px;
    height: 166px;
  }

  .diagram-node {
    width: 116px;
    min-height: 74px;
    font-size: 0.78rem;
  }

  .node-left-top {
    left: 12px;
    top: 26px;
  }

  .node-right-top {
    right: 12px;
    top: 26px;
  }

  .node-left-bottom {
    left: 20px;
    bottom: 22px;
  }

  .node-right-bottom {
    right: 10px;
    bottom: 22px;
  }

  .function-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-step {
    border-left: 0;
    border-top: 0;
  }

  .timeline-step:first-child {
    border-top: 0;
  }

  .contact-details {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  h1,
  h2 {
    max-width: none;
  }
}
