@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@700;800;900&display=swap");

:root {
  --navy: #12382d;
  --ink: #08251f;
  --cyan: #b6d6b0;
  --purple: #c5a55a;
  --text: #f4f1e8;
  --muted: #b7cbbd;
  --line: rgba(226, 239, 225, 0.18);
  --paper: #f4f1e8;
  --paper-text: #17342b;
  --soft: #e6efe6;
  --shadow: 0 22px 70px rgba(3, 25, 18, 0.32);
  --hero-image: url("assets/hyperealiti-hero-forest-corporate.jpg");
}

.theme-picker {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
  font-size: 0.9rem;
}
.theme-picker-toggle,
.theme-picker-panel,
.theme-picker-preset,
.theme-picker-reset {
  font: inherit;
}
.theme-picker-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.theme-picker-toggle::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan) 50%, var(--purple) 50%);
}
.theme-picker-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink);
  color: var(--text);
  box-shadow: var(--shadow);
}
.theme-picker-panel[hidden] { display: none; }
.theme-picker-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.theme-picker-heading strong { font-size: 1rem; }
.theme-picker-heading span,
.theme-picker-hint { color: var(--muted); }
.theme-picker-heading span { font-size: 0.78rem; }
.theme-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.theme-picker-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
}
.theme-picker-field label { color: var(--muted); font-size: 0.78rem; }
.theme-picker-field input {
  width: 32px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}
.theme-picker-field input::-webkit-color-swatch-wrapper { padding: 0; }
.theme-picker-field input::-webkit-color-swatch { border: 1px solid var(--line); border-radius: 4px; }
.theme-picker-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.theme-picker-preset {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--paper-text);
  cursor: pointer;
}
.theme-picker-preset:hover,
.theme-picker-preset:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.theme-picker-hint {
  margin-top: 12px;
  font-size: 0.75rem;
  line-height: 1.45;
}
.theme-picker-reset {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cyan);
  cursor: pointer;
}
@media (max-width: 767px) {
  .theme-picker {
    position: fixed;
    top: auto;
    left: 12px;
    right: auto;
    bottom: 12px;
  }
  .theme-picker-panel {
    top: auto;
    right: auto;
    bottom: calc(100% + 10px);
    left: -2px;
    width: min(320px, calc(100vw - 24px));
    max-height: calc(100svh - 80px);
    padding: 12px;
    overflow-y: auto;
  }
  .theme-picker-heading {
    margin-bottom: 10px;
  }
  .theme-picker-grid {
    gap: 6px;
  }
  .theme-picker-field {
    min-height: 36px;
    padding: 6px 7px;
    gap: 6px;
  }
  .theme-picker-field label {
    font-size: 0.7rem;
  }
  .theme-picker-field input {
    width: 28px;
    height: 22px;
  }
  .theme-picker-presets {
    gap: 6px;
    margin-top: 10px;
  }
  .theme-picker-preset {
    padding: 5px 8px;
    font-size: 0.8rem;
  }
  .theme-picker-hint {
    margin-top: 9px;
    font-size: 0.7rem;
  }
  .theme-picker-reset {
    margin-top: 8px;
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .theme-picker {
    top: 88px;
    right: 16px;
  }
}

.interactive-preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #051712;
  color: #ffffff;
  opacity: 1;
  transition: opacity 420ms ease, visibility 420ms ease;
}
.interactive-preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.interactive-preloader-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(260px, calc(100% - 48px));
}
.interactive-preloader-logo {
  width: min(180px, 62vw);
  height: auto;
  max-height: 72px;
  object-fit: contain;
}
.interactive-preloader p {
  color: #a9c9bb;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.interactive-preloader-track {
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.interactive-preloader-track span {
  display: block;
  width: 35%;
  height: 100%;
  border-radius: inherit;
  background: #18d68a;
  animation: interactiveLoader 1.1s ease-in-out infinite;
}
@keyframes interactiveLoader {
  0% { transform: translateX(-120%); }
  50% { transform: translateX(180%); }
  100% { transform: translateX(320%); }
}

.interactive-hero-page .hero {
  background: #051712;
  isolation: isolate;
}
.interactive-hero-page .hero::before,
.interactive-hero-page .hero::after {
  display: none;
}
.interactive-hero-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: #051712;
}
.interactive-hero-layer {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  will-change: transform;
  transition: transform 180ms ease-out;
  transform-origin: center;
}
.interactive-hero-layer.is-base { z-index: 0; }
.interactive-hero-layer.is-atmosphere {
  z-index: 1;
  opacity: 0.22;
  filter: saturate(0.78) brightness(0.82);
}
.interactive-hero-layer.is-globe {
  z-index: 2;
  opacity: 0.16;
  filter: saturate(0.78) brightness(0.82);
}
.interactive-hero-layer.is-foreground {
  z-index: 3;
  opacity: 0.14;
  filter: saturate(0.78) brightness(0.82);
}
.interactive-hero-page .hero .container { z-index: 4; }
.interactive-hero-page .hero .container > * {
  opacity: 0;
  transform: translateY(26px);
}
.interactive-hero-page.interactive-hero-ready .hero .container > * {
  animation: interactiveTextReveal 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.interactive-hero-page.interactive-hero-ready .hero .container > *:nth-child(1) { animation-delay: 120ms; }
.interactive-hero-page.interactive-hero-ready .hero .container > *:nth-child(2) { animation-delay: 260ms; }
.interactive-hero-page.interactive-hero-ready .hero .container > *:nth-child(3) { animation-delay: 420ms; }
.interactive-hero-page.interactive-hero-ready .hero .container > *:nth-child(4) { animation-delay: 580ms; }
@keyframes interactiveTextReveal {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}
@media (max-width: 767px) {
  .interactive-hero-layer {
    inset: -8%;
    width: 116%;
    height: 116%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .interactive-preloader-track span { animation: none; width: 100%; }
  .interactive-hero-layer { transition: none; }
  .interactive-hero-page .hero .container > * {
    animation: none !important;
    filter: none;
    opacity: 1;
    transform: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--navy);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.label {
  color: var(--cyan);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}
.section { padding: 88px 0; }
.section.light { background: var(--paper); color: var(--paper-text); }
.section.light .label { color: #2d7d52; }
.section.dark { background: var(--ink); }
h1, h2, h3 { font-family: Inter, Arial, sans-serif; line-height: 1.05; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(2.25rem, 4.5vw, 4.65rem); max-width: 760px; }
h2 { font-size: clamp(1.75rem, 2.65vw, 2.85rem); }
h3 { font-size: 1.28rem; }
p { margin: 0; color: var(--muted); }
.light p { color: #344d5f; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 15, 30, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Montserrat, Inter, Arial, sans-serif;
  font-weight: 900;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(0, 200, 255, 0.28));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d7e0ef;
  font-weight: 700;
  font-size: 0.94rem;
}
.nav-links a {
  position: relative;
  padding: 8px 0;
  transition: color 180ms ease, opacity 180ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--cyan);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.menu-btn {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06); color: white; border-radius: 8px;
}
.menu-btn span {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  margin: 3px auto;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}
.btn.primary {
  background: var(--cyan);
  color: var(--ink);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--cyan) 14%, transparent);
}
.btn.primary:hover,
.btn.primary:focus-visible {
  background: color-mix(in srgb, var(--cyan) 82%, black);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--cyan) 10%, transparent);
}
.scroll-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(0,200,255,0.34);
  border-radius: 50%;
  background: rgba(8,15,30,0.94);
  color: var(--cyan);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, background 180ms ease;
}
.scroll-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.scroll-to-top:hover,
.scroll-to-top:focus-visible {
  background: #12253a;
}
.scroll-to-top:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.btn.outline {
  border-color: transparent;
  color: rgba(255,255,255,0.92);
  background: transparent;
  font-weight: 600;
  padding-right: 18px;
}
.btn.outline svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}
.btn.outline:hover svg,
.btn.outline:focus-visible svg {
  transform: translateX(3px);
}
.btn.outline:hover,
.btn.outline:focus-visible {
  background: transparent;
  color: var(--cyan);
}
.btn.dark { background: var(--navy); color: white; }

.hero {
  min-height: calc(100vh - 76px);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  background: var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image) right center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(72px, 12vh, 110px);
}
.hero p {
  max-width: 650px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-top: 20px;
  color: #d7e4f7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero .label {
  display: inline-block;
  margin-bottom: 16px;
}
.hero-video {
  min-height: calc(100svh - 76px);
  background: var(--hero-image) center / cover no-repeat, var(--ink);
}
.hero-video::before {
  z-index: 0;
  background: none;
}
.hero-video::after {
  z-index: 0;
  display: none;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 320ms ease;
}
.hero-bg-video.is-loaded {
  opacity: 0.72;
}
.hero-bg-video.is-looping-out {
  opacity: 0;
  transition-duration: 420ms;
}
.hero-video .container {
  max-width: 1180px;
}
.hero-video h1 {
  max-width: 820px;
  text-shadow:
    0 2px 2px rgba(0,0,0,0.72),
    0 12px 32px rgba(0,0,0,0.62),
    0 0 46px rgba(0,0,0,0.48);
}
.hero-video p {
  color: #d5dfed;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.82),
    0 8px 24px rgba(0,0,0,0.62);
}
.hero-video .label {
  text-shadow:
    0 1px 2px rgba(0,0,0,0.85),
    0 0 18px rgba(0,0,0,0.65);
}

.page-hero {
  padding: 90px 0 72px;
  background: var(--hero-image) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.breadcrumb { color: var(--muted); margin-bottom: 14px; font-size: 0.94rem; }

.services-page {
  background: var(--ink);
}
.services-hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at 25% 78%, rgba(0,200,255,0.22), transparent 2px),
    radial-gradient(circle at 74% 35%, rgba(108,58,255,0.18), transparent 30%),
    var(--ink);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
  border-bottom: 1px solid var(--line);
}
.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.8fr);
  gap: 58px;
  align-items: center;
}
.services-hero-copy {
  min-width: 0;
}
.services-hero h1 {
  max-width: 720px;
  font-size: clamp(2.2rem, 3.9vw, 4.15rem);
  line-height: 1.04;
}
.services-hero p {
  max-width: 560px;
  margin-top: 24px;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  color: #bac5d5;
}
.services-hero-visual {
  min-height: 330px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.services-hero-visual::before {
  content: "";
  position: absolute;
  inset: 28px -18px -18px 52px;
  z-index: 0;
  border-radius: 8px;
  display: none;
}
.services-hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0,200,255,0.2);
  box-shadow: 0 22px 60px rgba(0,0,0,0.28);
}
.services-hero-visual img:first-child {
  grid-row: span 2;
}
.service-hero-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  width: 142px;
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(8,15,30,0.84);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 52px rgba(0,0,0,0.28);
}
.service-hero-badge strong {
  color: var(--cyan);
  font-family: Inter, Arial, sans-serif;
  font-size: 2.45rem;
  line-height: 1;
}
.service-hero-badge span {
  color: #d4dfef;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}
.services-value-bar {
  background: linear-gradient(to bottom, #0b2d23 0%, #0b2d23 86%, #092820 100%);
  border: 0;
  box-shadow: inset 0 -1px 0 rgba(226,239,225,0.05);
}
.service-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.service-value-grid article {
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 0;
}
.service-value-grid .icon {
  margin: 0;
  flex: 0 0 auto;
}
.service-value-grid h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
}
.service-value-grid p {
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.service-catalog {
  background: var(--ink);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-tile,
.service-consult {
  min-height: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.13);
  background: #121a2a;
  padding: 24px 24px 14px;
  box-shadow: 0 20px 64px rgba(0,0,0,0.15);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.service-tile:hover,
.service-consult:hover {
  transform: translateY(-6px);
  border-color: rgba(0,200,255,0.55);
  box-shadow: 0 24px 72px rgba(0,200,255,0.12);
}
.service-tile .service-no {
  display: inline-flex;
  align-items: center;
  margin: 22px 0 12px;
  color: rgba(0,200,255,0.76);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}
.service-tile .service-no.purple {
  color: rgba(108,58,255,0.62);
}
.service-tile-image {
  width: calc(100% + 48px);
  max-width: none;
  height: 210px;
  margin: -24px -24px 0;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  opacity: 0.9;
  transition: transform 260ms ease, opacity 260ms ease;
}
.service-tile:hover .service-tile-image {
  transform: scale(1.04);
  opacity: 1;
}
.service-tile > .label {
  margin-top: 14px;
}
.service-tile h2,
.service-consult h2 {
  font-size: clamp(1.35rem, 1.75vw, 1.75rem);
  line-height: 1.12;
  margin-top: 16px;
  margin-bottom: 10px;
}
.service-card-title {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}
.service-card-title:hover,
.service-card-title:focus-visible {
  color: var(--cyan);
}
.service-consult h2 {
  margin-top: 0;
}
.service-tile p,
.service-consult p {
  color: #b9c3d2;
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1.65;
}
.service-tile .link {
  margin-top: 22px;
  padding-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.service-tile .link.purple {
  color: var(--cyan);
}
.link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}
.link:hover svg,
.link:focus-visible svg {
  transform: translateX(3px);
}
.service-consult {
  grid-column: 1 / -1;
  width: 100%;
  background:
    radial-gradient(circle at 88% 16%, rgba(0,200,255,0.16), transparent 28%),
    linear-gradient(135deg, rgba(108,58,255,0.18), rgba(0,200,255,0.12)),
    #101a31;
  border-color: rgba(0,200,255,0.34);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: center;
}
.service-consult p {
  max-width: 620px;
  margin-bottom: 34px;
}
.service-consult .btn {
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.service-consult-copy {
  display: grid;
  justify-items: start;
}
.consult-points {
  display: grid;
  gap: 12px;
}
.consult-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.06);
  color: #d4dfef;
  font-weight: 900;
}
.consult-points span::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(0,200,255,0.65);
}
.services-newsletter {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 62px 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 520px);
  gap: 32px;
  align-items: center;
}
.newsletter-inner h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.55rem);
}
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.newsletter-field {
  display: grid;
  flex: 1;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.newsletter-field input { width: 100%; }
.newsletter-form input {
  border-radius: 8px 0 0 8px;
  border-color: rgba(255,255,255,0.14);
  background: #101a2b;
  color: white;
}
.newsletter-form .btn {
  border-radius: 0 8px 8px 0;
  min-width: 110px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.service-detail-page {
  background: var(--ink);
}
.service-detail-hero {
  min-height: 500px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px),
    radial-gradient(circle at 78% 34%, rgba(108,58,255,0.18), transparent 30%),
    var(--ink);
  background-size: 28px 28px, 28px 28px, auto, auto;
  border-bottom: 1px solid var(--line);
}
.service-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 44px;
  align-items: center;
}
.service-detail-hero h1 {
  max-width: 720px;
  font-size: clamp(2.05rem, 3.35vw, 3.45rem);
  line-height: 1.04;
}
.service-detail-hero p {
  max-width: 520px;
  color: #bac5d5;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  padding-bottom: 20px;
}
.service-status-banner {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin: 22px 0 18px;
  padding: 12px 18px;
  border: 1px solid rgba(244, 216, 135, 0.7);
  border-radius: 999px;
  background: rgba(212, 183, 108, 0.18);
  color: #ffe69b;
  box-shadow: 0 10px 30px rgba(212, 183, 108, 0.12);
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}
.service-hero-aside {
  display: grid;
  gap: 18px;
}
.service-visual {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(0,200,255,0.24);
  background: #101827;
  box-shadow: 0 20px 70px rgba(0,0,0,0.28);
}
.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(8,15,30,0.78));
}
.service-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.service-visual figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: #d8e5f5;
  font-size: 0.88rem;
  font-weight: 800;
}
.service-overview,
.service-process {
  background: #101827;
}
.service-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: start;
}
.service-facts {
  display: grid;
  gap: 22px;
  position: sticky;
  top: 96px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  padding: 28px;
  box-shadow: 0 20px 64px rgba(0,0,0,0.16);
}
.service-facts strong {
  display: block;
  margin-bottom: 10px;
  color: white;
}
.service-facts ul {
  margin: 0;
  padding-left: 18px;
  color: #c7d2e2;
}
.service-features,
.service-use-cases {
  background: var(--ink);
}
.service-tile.compact {
  min-height: 240px;
  padding-top: 84px;
}
.service-tile.compact h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.service-tile.compact .tile-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(0,200,255,0.12);
  color: var(--cyan);
  border: 1px solid rgba(255,255,255,0.1);
  font-weight: 900;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.process-step {
  min-height: 220px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.13);
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  padding: 24px;
  position: relative;
}
.process-step span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,200,255,0.13);
  color: var(--cyan);
  font-weight: 900;
  margin-bottom: 28px;
}
.process-step h3 {
  margin-bottom: 10px;
}
.process-step p {
  color: #c7d2e2;
}

.about-page {
  background: var(--ink);
}
.about-hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 76% 30%, rgba(108,58,255,0.24), transparent 30%),
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 28px 28px, 28px 28px, auto;
  border-bottom: 1px solid var(--line);
}
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: 58px;
  align-items: center;
}
.about-hero-copy {
  min-width: 0;
}
.about-hero h1 {
  max-width: 700px;
  font-size: clamp(2.2rem, 3.85vw, 4.05rem);
  line-height: 1.04;
}
.about-hero h1 span {
  display: block;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0,200,255,0.25);
}
.about-hero p {
  max-width: 640px;
  margin-top: 24px;
  color: #d0d8e6;
}
.about-hero-visual {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(0,200,255,0.24);
  background: #101827;
  box-shadow: 0 26px 80px rgba(0,0,0,0.32);
}
.about-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
}
.about-hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.about-hero-visual figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  background: rgba(4, 11, 24, 0.9);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  backdrop-filter: blur(5px);
}
.about-hero-visual strong {
  color: white;
  font-size: 1.05rem;
}
.about-hero-visual span {
  color: #c8d6e8;
  font-size: 0.92rem;
  line-height: 1.5;
}
.about-mv {
  background: #0b1324;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mission-card {
  min-height: 245px;
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--cyan);
  box-shadow: 0 18px 60px rgba(0,0,0,0.18);
}
.mission-card.vision {
  border-color: var(--purple);
}
.mission-card h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin: 20px 0 12px;
}
.mission-card p {
  color: #d1d9e6;
}
.genesis-section {
  background: #08251f;
}
.genesis-intro {
  max-width: 880px;
  margin: 0 auto 68px;
  text-align: center;
}
.genesis-intro h2 {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
}
.genesis-intro h2 span {
  color: var(--cyan);
  text-shadow: 0 0 24px rgba(182,214,176,0.22);
}
.genesis-intro > strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.genesis-intro > p {
  max-width: 780px;
  margin: 22px auto 28px;
  color: var(--muted);
  line-height: 1.8;
}
.center-head {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  margin-bottom: 54px;
}
.center-head span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(182,214,176,0.7);
}
.genesis-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.genesis-pills span,
.genesis-tags span {
  border: 1px solid rgba(182,214,176,0.2);
  border-radius: 999px;
  color: #d9e6d7;
  font-size: 0.82rem;
}
.genesis-pills span {
  padding: 9px 15px;
}
.genesis-pills b {
  color: var(--cyan);
}
.genesis-timeline {
  width: min(920px, 100%);
  margin: 0 auto;
  position: relative;
  display: grid;
  gap: 38px;
}
.genesis-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(182,214,176,0.2);
}
.genesis-card {
  width: calc(50% - 44px);
  padding: 26px;
  border-radius: 12px;
  border: 1px solid rgba(182,214,176,0.2);
  background: linear-gradient(145deg, rgba(18,56,45,0.92), rgba(8,37,31,0.72));
  box-shadow: 0 18px 54px rgba(0,0,0,0.18);
  position: relative;
}
.genesis-card:nth-child(even) {
  margin-left: calc(50% + 44px);
  border-color: rgba(197,165,90,0.35);
}
.genesis-card::after {
  content: "";
  position: absolute;
  top: 34px;
  right: -55px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(182,214,176,0.65);
}
.genesis-card:nth-child(even)::after {
  right: auto;
  left: -55px;
  background: var(--purple);
  box-shadow: 0 0 18px rgba(197,165,90,0.65);
}
.genesis-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.genesis-card-meta strong {
  color: var(--cyan);
  font-family: Inter, Arial, sans-serif;
  font-size: 1.45rem;
}
.genesis-card:nth-child(even) .genesis-card-meta strong {
  color: var(--purple);
}
.genesis-card-meta span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.genesis-card h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.18;
}
.genesis-card p {
  color: #c3d3c5;
  line-height: 1.7;
}
.genesis-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.genesis-tags span {
  padding: 6px 10px;
  color: var(--cyan);
  font-size: 0.72rem;
}
.genesis-future {
  max-width: 920px;
  margin: 72px auto 0;
  padding: 42px 34px;
  border: 1px solid rgba(182,214,176,0.24);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(18,56,45,0.94), rgba(24,28,61,0.72));
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.genesis-future .label {
  color: var(--cyan);
  letter-spacing: 0.18em;
}
.genesis-future h2 {
  max-width: 720px;
  margin: 20px auto 14px;
  color: var(--text);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.22;
}
.genesis-future p {
  max-width: 720px;
  margin: 0 auto;
  color: #c3d3c5;
  line-height: 1.8;
}
.protocol-section {
  background:
    linear-gradient(rgba(0,200,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.035) 1px, transparent 1px),
    #0b1324;
  background-size: 28px 28px;
}
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.protocol-item {
  text-align: center;
}
.protocol-item .icon {
  margin: 0 auto 18px;
  background: rgba(201, 242, 122, 0.08);
  border: 1px solid rgba(201, 242, 122, 0.20);
}
.protocol-item h3 {
  margin-bottom: 10px;
}
.protocol-item p {
  color: #c8d3e3;
}
.global-node {
  background: #101827;
}
.node-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 54px;
  align-items: center;
}
.node-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 11px;
  color: #fff;
  font-weight: 800;
}
.node-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 10px;
  box-shadow: 0 0 12px rgba(0,200,255,0.7);
}
.node-map {
  min-height: 360px;
  position: relative;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  overflow: hidden;
  background:
    linear-gradient(rgba(8,15,30,0.08), rgba(8,15,30,0.2)),
    url("assets/global-node-map.jpg") center / cover no-repeat,
    #121b2c;
  box-shadow: inset 0 0 80px rgba(0,0,0,0.36), 0 20px 70px rgba(0,0,0,0.22);
}
.node-map::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 38px 38px;
}
.node-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 18px rgba(255,255,255,0.015);
}
.map-panel-line {
  position: absolute;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  opacity: 0.8;
}
.map-panel-line.top { top: 26px; }
.map-panel-line.bottom { bottom: 26px; }
.map-arc {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(145,169,198,0.14);
  border-color: rgba(145,169,198,0.16) transparent transparent transparent;
  border-radius: 50%;
  pointer-events: none;
}
.arc-one {
  width: 58%;
  height: 44%;
  left: 19%;
  top: 30%;
  transform: rotate(-10deg);
}
.arc-two {
  width: 48%;
  height: 34%;
  left: 28%;
  top: 38%;
  transform: rotate(15deg);
}
.arc-three {
  width: 72%;
  height: 50%;
  left: 13%;
  top: 42%;
  transform: rotate(8deg);
}
.node-pin {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--purple);
  border: 3px solid rgba(197,165,90,0.48);
  box-shadow: 0 0 18px rgba(197,165,90,0.9), 0 0 42px rgba(197,165,90,0.3);
  animation: nodePulse 2.4s ease-out infinite;
}
.node-pin::before,
.node-pin::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
  animation: nodeRing 2.4s ease-out infinite;
}
.node-pin::after {
  animation-delay: 0.8s;
}
.node-pin.canada { left: 27.5%; top: 36%; color: var(--purple); }
.node-pin.pakistan { left: 66%; top: 48%; color: var(--purple); animation-delay: 0.7s; }
@keyframes nodePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
@keyframes nodeRing {
  0% { transform: scale(0.45); opacity: 0.8; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}

.stats {
  background: #06101d;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-light {
  background:
    linear-gradient(90deg, rgba(0,200,255,0.08), transparent 32%, rgba(108,58,255,0.08)),
    #f7fbff;
  color: var(--paper-text);
  border-top: 1px solid #dce8f2;
  border-bottom: 1px solid #dce8f2;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat {
  padding: 34px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 8px;
  justify-items: center;
}
.stat:first-child { border-left: 0; }
.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: white;
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat span {
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.stats-light .stat { border-left-color: #dce8f2; }
.stats-light .stat strong { color: var(--navy); }
.stats-light .stat span { color: #536074; }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.copy-stack { display: grid; gap: 20px; }
.visual-panel {
  min-height: 390px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.visual-panel img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
}
.about-snapshot {
  background:
    radial-gradient(circle at 13% 18%, rgba(0,200,255,0.12), transparent 26%),
    radial-gradient(circle at 78% 70%, rgba(108,58,255,0.12), transparent 30%),
    #101827;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.about-snapshot p {
  color: #c7d2e2;
}
.about-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #dce8f2;
  box-shadow: 0 24px 70px rgba(10,22,40,0.18);
}
.section:not(.light) .about-image {
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.copy-stack .link {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.outcomes-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8,15,30,0.98), rgba(11,28,49,0.96)),
    radial-gradient(circle at 80% 18%, rgba(0,200,255,0.18), transparent 28%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.outcomes-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.outcomes-band .container { position: relative; z-index: 1; }
.outcomes-band .section-head {
  align-items: end;
}
.outcomes-band .section-head p {
  max-width: 520px;
  color: #d2ddef;
  font-size: 1rem;
}
.outcomes-band .card {
  display: flex;
  flex-direction: column;
  min-height: 218px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.045));
  border-color: rgba(255,255,255,0.12);
}
.outcomes-band .card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,200,255,0.6);
  box-shadow: 0 24px 60px rgba(0,200,255,0.12);
}
.outcomes-band .icon {
  background: rgba(201, 242, 122, 0.08);
  border: 1px solid rgba(201, 242, 122, 0.20);
}

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.partner-card-logo { display: block; width: 100%; max-width: 220px; height: 86px; object-fit: contain; margin: 0 auto 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
  padding: 24px;
  box-shadow: 0 18px 52px rgba(0,0,0,0.16);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(0,200,255,0.62); box-shadow: 0 22px 64px rgba(0,200,255,0.14); }
.light .card {
  color: var(--paper-text);
  background: #fff;
  border-color: #dbe6ef;
  box-shadow: 0 14px 40px rgba(10,22,40,0.08);
}
.icon {
  width: 48px; height: 48px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(201, 242, 122, 0.08);
  border: 1px solid rgba(201, 242, 122, 0.20);
  color: #C9F27A;
  font-weight: 900;
  margin-bottom: 18px;
}
.icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mission-card .icon svg { width: 36px; height: 36px; }
.outcomes-band .card h3 {
  margin-bottom: 10px;
}
.outcomes-band .card p {
  color: #c6d3e3;
  line-height: 1.7;
}
.service-no { color: var(--cyan); font-weight: 900; margin-bottom: 14px; }
.link { color: var(--cyan); font-weight: 900; display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}
.section-head p { max-width: 560px; }
.services-showcase {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.services-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(0,200,255,0.11), transparent 26%),
    radial-gradient(circle at 88% 72%, rgba(108,58,255,0.13), transparent 28%),
    linear-gradient(180deg, var(--ink), #0d1728);
}
.services-showcase .container { position: relative; z-index: 1; }
.services-showcase p {
  color: #c7d2e2;
}
.carousel-head {
  align-items: end;
  gap: 48px;
}
.carousel-head h2 {
  max-width: 620px;
  font-size: clamp(1.75rem, 2.6vw, 2.8rem);
  line-height: 1.1;
}
.carousel-copy {
  max-width: 500px;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 18px;
}
.carousel-copy p {
  max-width: 360px;
  font-size: 0.98rem;
  line-height: 1.6;
}
.carousel-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.88);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background 180ms ease;
}
.carousel-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel-btn:hover,
.carousel-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0,200,255,0.34);
  color: var(--cyan);
  background: rgba(0,200,255,0.08);
}
.service-carousel {
  margin: 8px -10px 0;
  overflow: hidden;
  padding: 10px;
}
.service-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.service-track::-webkit-scrollbar { display: none; }
.service-track .service-card {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  isolation: isolate;
  padding-top: 0;
  background: linear-gradient(180deg, rgba(18,26,42,0.96), rgba(12,19,31,1));
  color: white;
  border-color: rgba(255,255,255,0.13);
}
.service-track .service-card::before {
  content: none;
}
.service-track .service-card::after {
  content: none;
}
.service-card-image {
  width: calc(100% + 48px);
  max-width: none;
  height: 200px;
  margin: -24px -24px 18px;
  object-fit: cover;
  border-bottom: 1px solid rgba(0,200,255,0.18);
  opacity: 0.92;
  transition: transform 260ms ease, opacity 260ms ease;
}
.service-track .service-card h3 {
  font-size: 1.28rem;
  line-height: 1.18;
  margin-bottom: 8px;
  min-height: 2.36em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.service-status-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  margin: 0 0 14px;
  padding: 6px 10px;
  border: 1px solid rgba(244, 216, 135, 0.5);
  border-radius: 999px;
  background: rgba(212, 183, 108, 0.14);
  color: #f6d887;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@media (max-width: 620px) {
  .service-status-note {
    padding-inline: 8px;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
  }
}
.service-track .service-card p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #b9c3d2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}
.service-track .service-card .link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-track .service-card:hover,
.service-track .service-card.is-active {
  border-color: rgba(0,200,255,0.72);
}
.service-track .service-card:hover {
  transform: none;
  box-shadow: none;
}
.service-track .service-card:hover p,
.service-track .service-card.is-active p { color: #d2deef; }
.service-track .service-card:hover .service-card-image { opacity: 1; }
.carousel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}
.services-showcase .btn.dark {
  background: var(--cyan);
  color: #05101d;
  box-shadow: 0 12px 34px rgba(0,200,255,0.22);
}
.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: #c8d7e5;
  cursor: pointer;
  padding: 0;
  transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}
.carousel-dot:hover,
.carousel-dot:focus-visible {
  background: rgba(0,200,255,0.72);
  transform: scale(1.08);
}
.carousel-dot.active {
  width: 34px;
  border-radius: 999px;
  background: var(--cyan);
}
.partners {
  background: #0e1929;
  border-bottom: 1px solid var(--line);
}
.home-page .partners .section-head h2 {
  font-weight: 700;
}
.home-page .partners .section-head > .link {
  margin-top: 0;
  font-weight: 700;
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.logo {
  min-width: 0;
  min-height: 84px;
  padding: 14px 18px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #dce7f5;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  transition: border-color 180ms ease, background 180ms ease;
}
.logo img {
  width: 100%;
  max-width: 136px;
  height: 52px;
  object-fit: contain;
}
.logo:hover {
  border-color: rgba(0,200,255,0.45);
}

.cta {
  padding: 64px 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--cyan) 18%, transparent), color-mix(in srgb, var(--purple) 28%, transparent)), var(--ink);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 2.65vw, 2.75rem);
}
.cta .btn {
  min-width: 150px;
  white-space: nowrap;
}

.footer {
  background: #050b15;
  border-top: 1px solid var(--line);
  padding: 62px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 0.8fr 1fr;
  gap: 38px;
}
.footer-brand { display: none; }
.footer-grid > div {
  min-width: 0;
}
.footer-services a,
.footer-more-services a {
  white-space: nowrap;
}
.footer-service-note {
  display: block;
  margin: -2px 0 10px;
  color: rgba(183, 203, 189, 0.62);
  font-size: 0.76rem;
  line-height: 1.35;
  white-space: normal;
}
.footer h3 {
  font-size: 0.92rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  line-height: 1.25;
}
.footer a,
.footer p {
  color: #b8c4d5;
  display: block;
  margin: 8px 0;
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.footer a:hover {
  color: var(--cyan);
}
.footer a:focus-visible {
  color: var(--cyan);
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}
.footer-brand p {
  max-width: 310px;
  line-height: 1.7;
}
.bottom {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 14px;
  flex-wrap: wrap;
  color: #93a3b8;
  font-size: 0.82rem;
  line-height: 1.5;
}
.bottom .copyright { text-align: left; }
.bottom .footer-privacy { margin: 0; color: #b8c4d5; }
.bottom .footer-privacy:hover { color: var(--cyan); }

/* Privacy policy and not-found pages use the same Forest Corporate tokens as the rest of the site. */
.privacy-page,
.error-page { background: var(--ink); color: var(--text); }
.privacy-hero,
.error-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(182, 214, 176, 0.12), transparent 28rem),
    linear-gradient(rgba(182, 214, 176, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 214, 176, 0.04) 1px, transparent 1px),
    #0d3026;
  background-size: auto, 32px 32px, 32px 32px, auto;
}
.privacy-hero-inner { min-height: 360px; display: flex; flex-direction: column; justify-content: center; padding-top: 76px; padding-bottom: 76px; }
.privacy-hero h1 { max-width: 780px; margin: 14px 0 16px; font-size: clamp(3rem, 7vw, 6rem); line-height: .98; }
.privacy-hero h1 span { color: var(--cyan); }
.privacy-hero p { max-width: 680px; color: #d5e6dc; font-size: 1.1rem; line-height: 1.7; }
.privacy-hero .privacy-meta { margin-top: 16px; color: #a8c1b3; font-size: .88rem; }
.privacy-content { background: var(--paper); color: var(--paper-text); }
.privacy-layout { display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 1.6fr); gap: 42px; align-items: start; }
.privacy-summary { position: sticky; top: 104px; background: #10372b; color: #f4f1e8; border-color: #28634d; padding: 28px; }
.privacy-summary h2 { margin: 12px 0; color: #f4f1e8; font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.privacy-summary p { color: #d5e6dc; }
.privacy-summary .link { display: inline-block; margin-top: 18px; }
.privacy-sections { display: grid; gap: 18px; }
.privacy-card { position: relative; padding: 28px 30px 28px 86px; border: 1px solid #d3ddd2; border-radius: 14px; background: #fbfaf5; box-shadow: 0 12px 28px rgba(23, 52, 43, .06); }
.privacy-card h2 { margin: 0 0 12px; color: #12382d; font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.privacy-card p, .privacy-card li { color: #486258; line-height: 1.7; }
.privacy-card p + p { margin-top: 12px; }
.privacy-card ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.privacy-card a { color: #276b4b; text-decoration: underline; text-underline-offset: 3px; }
.privacy-number { position: absolute; top: 28px; left: 28px; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #dcebd8; color: #276b4b; font-weight: 800; font-size: .82rem; letter-spacing: .08em; }
.privacy-contact-card { background: #10372b; border-color: #28634d; }
.privacy-contact-card h2, .privacy-contact-card p, .privacy-contact-card li { color: #f4f1e8; }
.privacy-contact-card .privacy-number { background: #c5a55a; color: #10291f; }
.privacy-contact-card a { color: #b6d6b0; }
.error-hero { min-height: 620px; display: grid; place-items: center; padding: 70px 0; }
.error-card { width: min(100% - 40px, 820px); padding: clamp(34px, 7vw, 78px); border: 1px solid rgba(182, 214, 176, .24); border-radius: 18px; background: rgba(16, 55, 43, .88); box-shadow: 18px 18px 0 rgba(197, 165, 90, .9); }
.error-code { margin: 18px 0 8px; color: #f4f1e8; font-size: clamp(5rem, 18vw, 10rem); font-weight: 900; line-height: .8; letter-spacing: -.1em; }
.error-card h1 { max-width: 600px; margin: 28px 0 12px; color: #f4f1e8; font-size: clamp(1.8rem, 4vw, 3rem); }
.error-card > p:not(.error-code) { max-width: 600px; color: #cfe1d5; font-size: 1.05rem; line-height: 1.7; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@media (max-width: 800px) {
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-summary { position: static; }
}
@media (max-width: 620px) {
  .bottom { align-items: flex-start; flex-direction: column; }
  .privacy-card { padding: 72px 22px 24px; }
  .privacy-number { top: 24px; left: 22px; }
  .error-card { box-shadow: 10px 10px 0 rgba(197, 165, 90, .9); }
  .error-actions, .error-actions .btn { width: 100%; }
}

.blog-page,
.blog-single-page,
.contact-page {
  background: var(--ink);
}
.blog-hero,
.contact-hero,
.article-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 24%, rgba(108,58,255,0.16), transparent 28%),
    linear-gradient(rgba(0,200,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.04) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 28px 28px, 28px 28px, auto;
}
.blog-hero {
  padding: 86px 0 74px;
}
.blog-hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.blog-hero h1,
.contact-hero h1,
.article-hero h1 {
  /* font-size: clamp(2.25rem, 4.4vw, 4.65rem); */
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  line-height: 1.04;
}
.blog-hero p,
.contact-hero p {
  max-width: 700px;
  color: #d2dbea;
  font-size: 1.08rem;
}
.author-row,
.article-author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.author-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(0,200,255,0.4);
  background: rgba(0,200,255,0.12);
  color: var(--cyan);
  font-weight: 900;
}
.author-row small,
.article-author small {
  display: block;
  color: #aab8cf;
}
.featured-visual {
  margin: 0;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow);
}
.featured-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.featured-visual figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(8,15,30,0.86);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.featured-visual strong {
  color: var(--cyan);
}
.featured-visual span {
  color: #c4d0df;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.blog-listing,
.related-insights,
.contact-workspace {
  background: var(--ink);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card,
.subscribe-card,
.contact-form-panel,
.contact-card,
.contact-map-card {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #121a2a;
  overflow: hidden;
  box-shadow: 0 20px 64px rgba(0,0,0,0.18);
}
.insight-card {
  padding: 0 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  color: inherit;
  text-decoration: none;
}
.insight-card[hidden] {
  display: none;
}
.insight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,200,255,0.62);
  box-shadow: 0 22px 64px rgba(0,200,255,0.14);
}
.insight-card img {
  width: calc(100% + 56px);
  max-width: none;
  height: 190px;
  margin: 0 -28px 22px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.insight-card h2,
.insight-card h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 12px 0;
}
.insight-card p {
  color: #c7d2e2;
}
.post-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
  color: #aab8cf;
  font-size: 0.78rem;
  text-transform: uppercase;
}
.subscribe-card {
  padding: 34px;
  background:
    radial-gradient(circle at 82% 20%, rgba(108,58,255,0.24), transparent 34%),
    #121a2a;
}
.newsletter-form.compact {
  display: grid;
}
.newsletter-form.compact input,
.newsletter-form.compact .btn {
  width: 100%;
  border-radius: 8px;
}
.article-hero {
  padding: 70px 0 36px;
  text-align: center;
}
.article-kicker {
  display: flex;
  justify-content: center;
  gap: 14px;
  color: #aab8cf;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.article-kicker span:first-child,
.article-hero h1 span {
  color: var(--cyan);
}
.article-hero h1 {
  margin: 0 auto 22px;
  max-width: 880px;
}
.article-author {
  justify-content: center;
}
.article-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
}
.article-content {
  width: min(760px, calc(100% - 40px));
  margin: 52px auto 0;
  padding-bottom: 76px;
}
.article-content p,
.article-content li {
  color: #d0d9e6;
}
.article-content h2 {
  margin: 34px 0 14px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}
.article-content blockquote,
.article-spotlight {
  margin: 42px 0;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid rgba(0,200,255,0.28);
  background: linear-gradient(145deg, rgba(0,200,255,0.08), rgba(108,58,255,0.08));
}
.article-content blockquote {
  border-left: 3px solid var(--cyan);
}
.article-content blockquote p {
  color: white;
  font-weight: 800;
  font-style: italic;
}
.article-content cite {
  color: var(--cyan);
  font-style: normal;
  font-weight: 900;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.tag-row span {
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #c7d2e2;
  font-size: 0.82rem;
}
.contact-hero {
  padding: 100px 0 50px;
}
.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  gap: 58px;
  align-items: center;
}
.contact-hero h1 {
  max-width: 760px;
  margin: 12px 0 22px;
}
.contact-hero-panel {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.16);
  background: #121a2a;
  box-shadow: var(--shadow);
}
.contact-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}
.contact-hero-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.contact-hero-panel figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  display: grid;
  gap: 4px;
}
.contact-hero-panel strong {
  color: white;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.contact-form-panel,
.contact-card {
  padding: clamp(26px, 3.2vw, 42px);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.contact-form-panel {
  display: grid;
  gap: 22px;
  border-radius: 14px;
  background: linear-gradient(145deg, #141e31, #0f1829);
}
.contact-form-panel label {
  display: grid;
  gap: 8px;
  color: #d9e4f2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(23,52,43,0.18);
  border-radius: 10px;
  background: #1a2436;
  color: var(--paper-text);
  padding: 14px 16px;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}
.contact-form-panel input::placeholder,
.contact-form-panel textarea::placeholder {
  color: #7b8290;
  opacity: 1;
}
.contact-form-panel input:focus,
.contact-form-panel select:focus,
.contact-form-panel textarea:focus {
  border-color: rgba(0,200,255,0.62);
  box-shadow: 0 0 0 0.2rem rgba(0,200,255,0.14);
  transform: translateY(-1px);
}
.contact-form-panel .is-invalid {
  border-color: #ff5f7d;
  background: rgba(255,95,125,0.06);
  box-shadow: 0 0 0 0.18rem rgba(255,95,125,0.12);
}
.contact-form-panel .is-valid {
  border-color: #24d89f;
  background: rgba(36,216,159,0.055);
  box-shadow: 0 0 0 0.18rem rgba(36,216,159,0.11);
}
form[data-validate-form] .is-invalid,
.cta-modal-form .is-invalid {
  border-color: #ff5f7d;
  background: rgba(255,95,125,0.06);
  box-shadow: 0 0 0 0.18rem rgba(255,95,125,0.12);
}
form[data-validate-form] .is-valid,
.cta-modal-form .is-valid {
  border-color: #24d89f;
  background: rgba(36,216,159,0.055);
  box-shadow: 0 0 0 0.18rem rgba(36,216,159,0.11);
}
.invalid-feedback,
.valid-feedback {
  display: block;
  visibility: hidden;
  min-height: 18px;
  margin-top: 3px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.contact-form-panel .invalid-feedback,
.contact-form-panel .valid-feedback {
  height: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}
.contact-form-panel .is-invalid ~ .invalid-feedback,
.contact-form-panel .is-valid ~ .valid-feedback {
  height: auto;
  min-height: 18px;
  margin-top: 3px;
}
.is-invalid ~ .invalid-feedback {
  visibility: visible;
  color: #ff8ca0;
}
.is-valid ~ .valid-feedback {
  visibility: visible;
  color: #55e3b7;
}
.contact-form-panel textarea {
  min-height: 168px;
  resize: vertical;
}
.contact-form-panel button[type="submit"] {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  margin-top: 2px;
  border-radius: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.contact-form-panel .success {
  padding: 12px 14px;
  border: 1px solid rgba(45,125,82,0.35);
  border-radius: 10px;
  background: rgba(45,125,82,0.1);
}
.contact-side {
  display: grid;
  gap: 28px;
}
.contact-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.18rem, 1.6vw, 1.6rem);
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.contact-card h3 {
  margin: 28px 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.office-item {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 16px 0;
}
.office-item span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(0,200,255,0.1);
  color: var(--cyan);
  font-weight: 900;
  flex: 0 0 auto;
}
.office-item svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.office-item strong {
  display: block;
  color: white;
}
.contact-map-card {
  position: relative;
  margin: 0;
}
.contact-map-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.72;
}
.contact-map-card figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  display: grid;
  gap: 4px;
}
.contact-map-card strong {
  color: white;
}

.timeline { display: grid; gap: 18px; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 18px; }
.timeline-year { color: var(--cyan); font-weight: 900; }
.map {
  min-height: 360px;
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 38%, rgba(0,200,255,0.22), transparent 3%),
    radial-gradient(circle at 62% 52%, rgba(0,200,255,0.24), transparent 3%),
    radial-gradient(circle at 48% 43%, rgba(108,58,255,0.2), transparent 3%),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  overflow: hidden;
}
.map::before {
  content: "";
  position: absolute;
  inset: 35px;
  background-image: linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 38px 38px;
  border-radius: 8px;
}
.pin { position: absolute; color: white; font-weight: 900; background: var(--cyan); padding: 7px 10px; border-radius: 8px; color: #06111f; }
.pin.ca { left: 20%; top: 35%; }
.pin.pk { left: 61%; top: 51%; }
.pin.es { left: 47%; top: 41%; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.filter {
  border: 1px solid #dbe6ef;
  background: white;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  font-weight: 900;
  color: var(--paper-text);
  cursor: pointer;
}
.filter.active { background: var(--navy); color: white; border-color: var(--navy); }

.form-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 32px; align-items: start; }
form { display: grid; gap: 14px; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid #dbe6ef;
  background: white;
  padding: 12px 14px;
  font: inherit;
  color: var(--paper-text);
}
textarea { min-height: 150px; resize: vertical; }
.error { color: #ff4f72; min-height: 18px; font-size: 0.86rem; }
.success { color: #00a16a; font-weight: 900; min-height: 20px; }
.quick-facts { position: sticky; top: 96px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 12px; border-radius: 8px; background: rgba(0,200,255,0.12); color: var(--cyan); font-weight: 900; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }
  .menu-btn span {
    margin: 0 auto;
    transition: transform 180ms ease, opacity 180ms ease;
  }
  .menu-btn[aria-expanded="true"] span:first-child {
    transform: translateY(6px) rotate(45deg);
  }
  .menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-btn[aria-expanded="true"] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }
  .nav-links {
    position: fixed; top: 76px; right: 0; left: 0;
    display: none; flex-direction: column; align-items: stretch;
    gap: 0;
    padding: 8px 20px 12px;
    background: rgba(8, 15, 30, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-links a {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links a:last-child {
    border-bottom: 0;
  }
  .nav-links a::after {
    content: none;
  }
  .nav-links a.active {
    background: rgba(0,200,255,0.07);
  }
  .nav-links.open { display: flex; }
  .split, .form-grid { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
  }
  .footer-services a,
  .footer-more-services a { white-space: normal; }
  .logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog-hero-grid,
  .contact-hero-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .mission-grid, .node-grid { grid-template-columns: 1fr; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-hero-grid,
  .service-detail-hero-grid,
  .service-overview-grid,
  .newsletter-inner { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .service-value-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .service-facts { position: static; }
  .service-value-grid article:nth-child(odd) { border-left: 0; }
  .service-consult {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .protocol-grid { grid-template-columns: repeat(2, 1fr); }
  .about-hero { min-height: auto; padding: 72px 0; }
  .services-hero { min-height: auto; padding: 72px 0; }
  .services-hero-visual { min-height: 300px; }
  .genesis-timeline::before { left: 12px; }
  .genesis-card,
  .genesis-card:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 34px;
  }
  .genesis-card::after,
  .genesis-card:nth-child(even)::after {
    left: 5px;
    right: auto;
  }
  .section-head, .cta-inner { align-items: start; flex-direction: column; }
  .home-page .partners .section-head {
    align-items: center;
    text-align: center;
  }
  .home-page .partners .section-head > .link {
    margin-top: 2px;
  }
  .carousel-copy {
    max-width: none;
    align-items: start;
    justify-content: space-between;
    width: 100%;
  }
  .service-track { grid-auto-columns: minmax(280px, calc((100% - 20px) / 2)); }
  .hero::before {
    background: var(--hero-image) center / cover no-repeat;
  }
  .hero-video {
    min-height: calc(92svh - 76px);
  }
  .hero-video::before {
    background: none;
  }
  .hero-video .container {
    padding: 46px 0;
  }
}

@media (max-width: 767px) {
  .hero-video {
    background: var(--hero-image) center / cover no-repeat, var(--ink);
  }
  .hero-bg-video {
    display: none;
  }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 64px 0; }
  .home-page .outcomes-band .section-head {
    align-items: center;
    text-align: center;
  }
  .home-page .outcomes-band .section-head > div,
  .home-page .outcomes-band .section-head p {
    width: 100%;
  }
  .home-page .hero::after {
    display: block;
    background: linear-gradient(to bottom, transparent 34%, rgba(8, 37, 31, 0.9) 100%);
  }
  .home-page .hero-actions .btn.outline {
    background: rgba(8, 37, 31, 0.9);
    border-color: var(--cyan);
    color: var(--paper);
    box-shadow: 0 8px 22px rgba(3, 25, 18, 0.24);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .logo { min-height: 76px; padding: 12px; }
  .logo img { height: 46px; }
  .stats-grid, .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .catalog-grid,
  .service-value-grid { grid-template-columns: 1fr; }
  .blog-grid,
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .service-detail-hero { min-height: auto; padding: 42px 0 58px; }
  .service-detail-hero-grid { gap: 34px; }
  .service-detail-hero h1 { font-size: clamp(1.95rem, 9vw, 2.65rem); }
  .service-detail-hero p { padding-bottom: 0; }
  .service-consult { grid-column: auto; }
  .service-value-grid article {
    padding: 22px 0;
    min-height: auto;
  }
  .service-tile,
  .service-consult { min-height: auto; padding: 20px 20px 10px; }
  .service-tile-image {
    width: calc(100% + 40px);
    height: 190px;
    margin: -20px -20px 0;
  }
  .newsletter-form { flex-direction: column; gap: 12px; }
  .newsletter-form input,
  .newsletter-form .btn { border-radius: 8px; width: 100%; }
  .protocol-grid { grid-template-columns: 1fr; }
  .about-hero h1,
  .services-hero h1,
  .hero h1 { font-size: clamp(2.05rem, 10vw, 2.9rem); }
  .genesis-intro { margin-bottom: 46px; }
  .genesis-intro h2 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .genesis-future { margin-top: 52px; padding: 32px 20px; }
  .genesis-future h2 br { display: none; }
  .about-hero-visual figcaption { left: 10px; right: 10px; bottom: 10px; padding: 14px 15px; }
  .mission-card { padding: 24px; }
  .node-map { min-height: 260px; }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .hero-actions .btn, .cta .btn { width: 100%; }
  .hero-video {
    min-height: auto;
  }
  .hero-video::before {
    background: none;
  }
  .hero-video::after {
    background-size: 42px 42px;
  }
  .hero-bg-video {
    display: none;
    object-position: center;
  }
  .hero-video p {
    font-size: 1rem;
  }
  .service-track { grid-auto-columns: 86%; }
  .services-showcase .carousel-controls { display: none; }
  .services-showcase .carousel-footer { align-items: center; flex-direction: column; }
  .services-showcase .carousel-dots { justify-content: center; width: 100%; }
  .carousel-copy { flex-direction: column; }
  .carousel-controls { width: 100%; }
  .carousel-btn { flex: 1; }
  .services-hero-visual {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .services-hero-visual img,
  .services-hero-visual img:first-child {
    grid-row: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .services-hero-visual img:nth-child(n+3) { display: none; }
  .blog-hero,
  .contact-hero,
  .article-hero { padding: 62px 0 42px; }
  .featured-visual figcaption {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .article-content { width: min(100% - 28px, 760px); }
  .contact-form-panel,
  .contact-card,
  .subscribe-card { padding: 24px; }
  .service-hero-badge {
    right: 14px;
    bottom: 14px;
    width: 118px;
    min-height: 92px;
    padding: 14px;
  }
  .service-hero-badge strong { font-size: 2rem; }
  .visual-panel { min-height: 280px; }
  .visual-panel img { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
  }
  .hero-video::before {
    background: none;
  }
  .scroll-to-top {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Forest Corporate palette overrides (kept last so legacy page rules inherit it). */
.theme-picker-toggle::before { background: linear-gradient(135deg, var(--cyan) 50%, var(--purple) 50%); }
.interactive-preloader,
.interactive-hero-page .hero,
.interactive-hero-scene { background: #06251d; }
.site-header { background: rgba(8, 37, 31, 0.9); }
.btn.primary { background: var(--purple); color: #10291f; }
.btn.primary:hover,
.btn.primary:focus-visible { background: #d4b76c; color: #10291f; }
.btn.outline { border-color: var(--cyan); color: var(--cyan); }
.btn.outline:hover,
.btn.outline:focus-visible { background: var(--cyan); color: #10291f; }
.section.dark,
.footer { background: var(--ink); }
.card,
.service-tile,
.insight-card,
.contact-card,
.service-facts,
.service-consult,
.subscribe-card { background: #10372b; border-color: rgba(182, 214, 176, 0.18); }
.service-card,
.service-tile.compact { background: #0d3026; }
.section.light,
.contact-workspace,
.service-overview,
.service-features,
.service-process,
.service-use-cases { background: var(--paper); color: var(--paper-text); }
.page-hero,
.services-hero,
.service-detail-hero,
.contact-hero,
.blog-hero { background-color: #0d3026; }
.label,
.link,
.service-no,
.timeline-year { color: var(--cyan); }
.pill { background: rgba(182, 214, 176, 0.14); color: var(--cyan); }
.filter.active { background: var(--navy); border-color: var(--navy); }
.node-pin.canada,
.node-pin.pakistan { color: var(--purple); }

/* Service detail contrast corrections. */
.service-detail-page .service-overview,
.service-detail-page .service-features,
.service-detail-page .service-process,
.service-detail-page .service-use-cases {
  background: #f4f1e8;
  color: #17342b;
}
.service-detail-page .service-overview h2,
.service-detail-page .service-features h2,
.service-detail-page .service-process h2,
.service-detail-page .service-use-cases h2 {
  color: #12382d;
}
.service-detail-page .service-overview p,
.service-detail-page .service-features .section-head p,
.service-detail-page .service-process .section-head p {
  color: #486258;
}
.service-detail-page .service-overview .label,
.service-detail-page .service-features .label,
.service-detail-page .service-process .label,
.service-detail-page .service-use-cases .label {
  color: #3f805d;
}
.service-detail-page .service-use-cases h2 {
  margin-bottom: 20px;
}
.service-detail-page .service-facts {
  background: #0d3026;
  border-color: #28634d;
}
.service-detail-page .service-facts h3,
.service-detail-page .service-facts strong {
  color: #f4f1e8;
}
.service-detail-page .service-facts ul {
  color: #d8e9df;
}
.service-detail-page .service-tile.compact h3,
.service-detail-page .service-process .card h3 {
  color: #f4f1e8;
}
.service-detail-page .service-tile.compact p,
.service-detail-page .service-process .card p {
  color: #d5e6dc;
}
.service-detail-page .service-tile.compact .tile-icon {
  background: #14543f;
  border-color: #3c8a68;
  color: #d7eddd;
}
.service-detail-page .pill {
  background: #dcebd8;
  color: #276b4b;
  border: 1px solid #b8d5bd;
}
.service-catalog .service-tile > .link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.home-page .stats .stat strong {
  font-size: clamp(2.15rem, 3.5vw, 3.05rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.home-page .stats .stat span {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.home-page .about-snapshot .link {
  font-size: 0.92rem;
  font-weight: 600;
  gap: 8px;
}
.service-detail-page .service-features .service-tile.compact {
  padding-top: 28px;
}
.stats,
.services-value-bar { background: #0b2d23; }
.newsletter-form input,
.contact-form-panel input,
.contact-form-panel textarea,
.contact-form-panel select { background: #f8f6ef; color: var(--paper-text); border-color: #cbd8ca; }
.newsletter-form input:focus,
.contact-form-panel input:focus,
.contact-form-panel textarea:focus,
.contact-form-panel select:focus { outline-color: var(--purple); border-color: var(--purple); }
.services-newsletter {
  padding: 54px 0;
}
.services-newsletter .newsletter-inner {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 580px);
  gap: clamp(28px, 6vw, 82px);
}
.services-newsletter .newsletter-form {
  align-items: flex-end;
  gap: 12px;
  margin-top: 0;
}
.services-newsletter .newsletter-field {
  gap: 7px;
  min-width: 0;
}
.services-newsletter .newsletter-field input {
  min-height: 48px;
  border-radius: 8px;
}
.services-newsletter .newsletter-form .btn {
  align-self: flex-end;
  height: 48px;
  min-height: 48px;
  min-width: 112px;
  border-radius: 8px;
  padding: 0 22px;
}
.services-newsletter .invalid-feedback,
.services-newsletter .valid-feedback {
  display: none;
  min-height: 0;
  margin: 0;
}
.services-newsletter .is-invalid ~ .invalid-feedback,
.services-newsletter .is-valid ~ .valid-feedback {
  display: block;
  min-height: 18px;
  margin-top: 4px;
}
.services-newsletter .is-valid ~ .valid-feedback {
  display: none;
}
.success { color: #2d7d52; }

.hero-grid { position: relative; min-height: inherit; }
.hero-grid .hero-copy { position: relative; z-index: 2; }
.footer-grid > div:last-child p { line-height: 1.8; }

.cta-modal[hidden] { display: none; }
body.cta-modal-open { overflow: hidden; }
.cta-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}
.cta-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 16, 12, 0.78);
  backdrop-filter: blur(8px);
}
.cta-modal-dialog {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid rgba(182, 214, 176, 0.3);
  border-radius: 12px;
  background: #10372b;
  color: var(--text);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}
.cta-modal-dialog h2 { margin: 8px 42px 8px 0; font-size: clamp(1.9rem, 4vw, 2.45rem); line-height: 1.05; }
.cta-modal-intro { color: var(--muted); margin-bottom: 20px; }
.cta-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(182, 214, 176, 0.24);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.cta-modal-close:hover,
.cta-modal-close:focus-visible { background: rgba(182, 214, 176, 0.12); color: var(--cyan); }
.cta-modal-form { display: grid; gap: 12px; }
.cta-modal-form label { display: grid; gap: 6px; color: var(--soft); font-size: 0.88rem; font-weight: 700; }
.cta-modal-form input,
.cta-modal-form textarea {
  width: 100%;
  border: 1px solid rgba(182, 214, 176, 0.24);
  border-radius: 7px;
  padding: 11px 12px;
  background: rgba(4, 29, 22, 0.72);
  color: var(--text);
  font: inherit;
}
.cta-modal-form textarea { resize: vertical; min-height: 110px; }
.cta-modal-form .cta-security {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.cta-security input { width: 120px; }
.cta-modal-form [data-cta-submit] { width: 100%; margin-top: 2px; }
.cta-modal-form input:focus,
.cta-modal-form textarea:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.cta-modal-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cta-modal-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cta-modal-status { min-height: 1.4em; margin: 0; color: var(--muted); }
.cta-modal-status[data-state="success"] { color: var(--cyan); }
.cta-modal-status[data-state="error"] { color: #f5a6a6; }
.muted { color: var(--muted); font-weight: 500; }
.required-label-text::after { content: " *"; color: #ff9eb0; font-weight: 700; }
@media (max-width: 560px) {
  .cta-modal-dialog { padding: 24px 20px; }
  .cta-modal-fields { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .services-newsletter .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .services-newsletter .newsletter-inner > div {
    text-align: center;
  }
  .services-newsletter .newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 0;
    gap: 12px;
  }
  .services-newsletter .newsletter-field,
  .services-newsletter .newsletter-field input,
  .services-newsletter .newsletter-form .btn {
    width: 100%;
  }
  .services-newsletter .newsletter-form .btn {
    border-radius: 8px;
  }
}

