:root {
  --ink: #0d1724;
  --muted: #65758a;
  --blue: #123c82;
  --cyan: #0f83b6;
  --teal: #067a78;
  --green: #15975b;
  --lime: #42d690;
  --paper: #ffffff;
  --mist: #f4f8fb;
  --line: #d9e4ee;
  --shadow: 0 24px 70px rgba(13, 23, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 228, 238, 0.82);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 70px);
  right: clamp(18px, 5vw, 70px);
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 131, 182, 0.55), rgba(21, 151, 91, 0.55), transparent);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 54px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(13, 23, 36, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(13, 23, 36, 0.08);
}

.brand-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.12;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: clamp(18px, 5vw, 70px);
  width: min(280px, calc(100vw - 36px));
  display: grid;
  gap: 6px;
  padding: 10px;
  color: #415062;
  font-size: 0.94rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 228, 238, 0.95);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(13, 23, 36, 0.16);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav::before {
  content: "";
  position: absolute;
  right: 22px;
  top: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid rgba(217, 228, 238, 0.95);
  border-top: 1px solid rgba(217, 228, 238, 0.95);
  transform: rotate(45deg);
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.site-nav a {
  position: relative;
  padding: 12px 12px 12px 38px;
  border-radius: 8px;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
  transform: translateY(-50%) scale(0.72);
  opacity: 0.55;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
  background: rgba(15, 131, 182, 0.08);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::before,
.site-nav a.is-active::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: inline-flex;
  min-width: 104px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 23, 36, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.nav-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 131, 182, 0.3);
  box-shadow: 0 16px 34px rgba(13, 23, 36, 0.12);
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.92), rgba(9, 30, 56, 0.66), rgba(7, 17, 31, 0.86)),
    url("operations-bg.png") center / cover;
  color: #ffffff;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.8), transparent 78%);
  pointer-events: none;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, 0.12), transparent 57%);
  animation: sweep 8s linear infinite;
  pointer-events: none;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(60px, 7vw, 110px) clamp(18px, 5vw, 70px);
}

.hero-copy,
.hero-panel,
.page-hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(1.95rem, 4.1vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.hero-lead,
.page-hero p,
.section-copy p,
.card p,
.service-list p,
.roles p,
.image-copy p {
  line-height: 1.68;
}

.hero-lead {
  max-width: 760px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.06rem, 2vw, 1.26rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
  box-shadow: 0 16px 36px rgba(15, 131, 182, 0.28);
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.button:focus-visible,
input:focus,
select:focus,
textarea:focus,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(21, 151, 91, 0.28);
  outline-offset: 3px;
}

.hero-panel {
  min-height: 430px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: linear-gradient(155deg, rgba(8, 19, 35, 0.86), rgba(18, 60, 130, 0.64), rgba(6, 122, 120, 0.62));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.panel-logo {
  width: 132px;
  height: 118px;
  object-fit: contain;
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26);
  animation: logoFloat 6s ease-in-out infinite;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: end;
}

.metric-grid article {
  min-height: 110px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.metric-grid span {
  color: rgba(255,255,255,0.76);
  line-height: 1.45;
}

.page-hero {
  min-height: 390px;
  display: grid;
  align-content: end;
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 70px);
}

.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
}

.section {
  padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.68;
  font-size: 1.08rem;
}

.section-heading .eyebrow {
  color: var(--teal);
}

.section-heading h2,
.split h2 {
  color: var(--ink);
}

.intro-band,
.values-band {
  background:
    radial-gradient(circle at 85% 20%, rgba(15, 131, 182, 0.1), transparent 34%),
    var(--mist);
}

.global-band {
  background:
    radial-gradient(circle at 15% 15%, rgba(18, 60, 130, 0.08), transparent 28%),
    radial-gradient(circle at 88% 30%, rgba(21, 151, 91, 0.1), transparent 30%),
    #ffffff;
}

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

.global-grid article,
.proof-grid article {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(18, 60, 130, 0.22), rgba(15, 131, 182, 0.18), rgba(21, 151, 91, 0.18)) border-box;
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(13, 23, 36, 0.03);
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.global-grid article::before,
.proof-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 32%, rgba(255, 255, 255, 0.9), transparent 58%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.global-grid article:hover,
.proof-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.global-grid article:hover::before,
.proof-grid article:hover::before {
  transform: translateX(130%);
}

.global-grid span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
  border-radius: 8px;
  font-weight: 950;
}

.global-grid h3,
.global-grid p,
.global-grid span,
.proof-grid strong,
.proof-grid p {
  position: relative;
  z-index: 1;
}

.global-grid p,
.proof-grid p {
  color: var(--muted);
  line-height: 1.68;
}

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

.proof-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.08rem;
}

.cards,
.roles {
  display: grid;
  gap: 16px;
}

.service-overview {
  background:
    radial-gradient(circle at 12% 20%, rgba(66, 214, 144, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7fbfd);
}

.capability-grid,
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.capability-grid article,
.process-steps article {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(13, 23, 36, 0.03);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.capability-grid article {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(18, 60, 130, 0.22), rgba(15, 131, 182, 0.16), rgba(21, 151, 91, 0.18)) border-box;
  border-color: transparent;
}

.capability-grid article::before,
.process-steps article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 60, 130, 0.08), transparent 42%, rgba(21, 151, 91, 0.08));
  opacity: 0;
  transition: opacity 190ms ease;
}

.capability-grid article:hover,
.process-steps article:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 131, 182, 0.3);
  box-shadow: var(--shadow);
}

.capability-grid article:hover::before,
.process-steps article:hover::before {
  opacity: 1;
}

.capability-grid h3,
.capability-grid p,
.process-steps h3,
.process-steps p,
.premium-icon,
.process-steps span {
  position: relative;
  z-index: 1;
}

.premium-icon {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(15, 131, 182, 0.24);
}

.premium-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: iconDrift 4.2s ease-in-out infinite;
}

.capability-grid article:nth-child(2) .premium-icon svg {
  animation-delay: 260ms;
}

.capability-grid article:nth-child(3) .premium-icon svg {
  animation-delay: 520ms;
}

.capability-grid p,
.process-steps p {
  color: var(--muted);
  line-height: 1.68;
}

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

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

.values-band .three-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.roles article {
  min-height: 230px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(13, 23, 36, 0.03);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.card:hover,
.roles article:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 131, 182, 0.3);
  box-shadow: var(--shadow);
}

.card p,
.roles p,
.section-copy p,
.service-list p,
.image-copy p {
  color: var(--muted);
}

.card-icon {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(15, 131, 182, 0.2);
}

.card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms ease;
}

.card:hover .card-icon svg {
  transform: scale(1.09) rotate(-4deg);
}

.split,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(30px, 5vw, 76px);
}

.section-copy p {
  margin: 0 0 18px;
  font-size: 1.08rem;
}

.image-split {
  min-height: 540px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.88), rgba(7, 17, 31, 0.52)),
    url("operations-bg.png") center / cover;
  color: #ffffff;
}

.image-copy {
  max-width: 720px;
}

.image-copy h2 {
  color: #ffffff;
}

.image-copy p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: #ffffff;
  font-weight: 950;
  text-decoration: none;
}

.text-link::after {
  content: "->";
  margin-left: 8px;
  transition: transform 180ms ease;
}

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

.service-list {
  display: grid;
  gap: 14px;
}

.service-list article {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 72px minmax(0, 0.6fr) minmax(300px, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-list article h2,
.service-list article p {
  position: relative;
  z-index: 1;
}

.service-list article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 28%, rgba(255, 255, 255, 0.8), transparent 54%);
  transform: translateX(-130%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.service-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 131, 182, 0.28);
  box-shadow: var(--shadow);
}

.service-list article:hover::after {
  transform: translateX(130%);
}

.service-list .service-number {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
  border-radius: 8px;
  font-weight: 950;
}

.service-list h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.process-band {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.92), rgba(9, 30, 56, 0.78)),
    url("operations-bg.png") center / cover;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.process-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(66, 214, 144, 0.16), transparent 26%),
    radial-gradient(circle at 80% 70%, rgba(15, 131, 182, 0.18), transparent 24%);
  pointer-events: none;
}

.process-band .section-heading .eyebrow,
.process-band .section-heading h2 {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.process-steps {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-steps article {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.process-steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 8px;
  font-weight: 950;
}

.process-steps p {
  color: rgba(255, 255, 255, 0.76);
}

.form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.elevated-form {
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #cbd8e4;
  border-radius: 7px;
  font: inherit;
  font-weight: 500;
  background: #ffffff;
}

input[type="file"] {
  padding: 9px;
}

input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 12px;
  padding: 0 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

textarea {
  resize: vertical;
}

.details {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}

.details div {
  padding: 17px;
  border-left: 4px solid var(--teal);
  background: var(--mist);
  border-radius: 0 8px 8px 0;
  transition: transform 180ms ease, background 180ms ease;
}

.details div:hover {
  transform: translateX(4px);
  background: #eef7f5;
}

.details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.details dd {
  margin: 6px 0 0;
  font-weight: 850;
  line-height: 1.5;
}

.map-frame {
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(13, 23, 36, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 70px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--teal);
  font-weight: 950;
  text-decoration: none;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(13, 23, 36, 0.18);
  font-weight: 850;
}

.toast-success {
  background: var(--green);
}

.toast-error {
  background: #9f3434;
}

@keyframes sweep {
  from { transform: translateX(-16%) rotate(10deg); }
  to { transform: translateX(16%) rotate(10deg); }
}

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(66, 214, 144, 0.12); }
  50% { box-shadow: 0 0 0 18px rgba(66, 214, 144, 0.03); }
}

@keyframes scanSweep {
  from { transform: translateX(-18%) rotate(12deg); }
  to { transform: translateX(18%) rotate(12deg); }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

@keyframes iconDrift {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(-3deg); }
}

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

@media (max-width: 1040px) {
  .hero,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .capability-grid,
  .process-steps,
  .global-grid,
  .proof-grid,
  .values-band .three-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-list article {
    grid-template-columns: 60px minmax(0, 1fr);
  }

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

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    left: 18px;
    right: 18px;
    top: 66px;
    width: auto;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }

  .metric-grid,
  .feature-grid,
  .capability-grid,
  .process-steps,
  .global-grid,
  .proof-grid,
  .three-grid,
  .values-band .three-grid,
  .roles,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .roles article {
    min-height: auto;
  }

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

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