@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F;
}
:root {
  color-scheme: dark;
  --ink: #f6f9fc;
  --space: #03090e;
  --panel: #122334;
  --panel-hover: #1b364b;
  --ice: #c1e6f5;
  --ink-text: #d7e3ed;
  --muted: #b9c9d7;
  --line: #364c60;
  --paper: #0a141f;
  --signal: #53dbff;
  --gutter: clamp(20px, 5vw, 74px);
  --max-width: 1512px;
  font-family: Manrope, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.55; }
h1, h2, h3, p, blockquote, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
section[id] { scroll-margin-top: 78px; }
.wrap { width: min(100%, var(--max-width)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--panel);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header, .hero, .site-footer { background: var(--space); color: var(--ink); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  border-bottom: 1px solid var(--line);
}
.header-layout {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.06em;
  white-space: nowrap;
}
.wordmark img { border-radius: 50%; }
.wordmark-slash { color: var(--signal); margin-inline: 2px; }
.navigation { display: flex; align-items: center; gap: clamp(16px, 3vw, 42px); }
.navigation a { color: var(--ink-text); font-size: .925rem; font-weight: 680; white-space: nowrap; }
.navigation a:hover, .site-footer a:hover { color: var(--signal); }
.header-contact, .menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid #758ea3;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 750;
  white-space: nowrap;
}
.header-contact:hover, .menu-button:hover { border-color: var(--signal); color: var(--signal); }
.menu-button, .navigation .mobile-contact { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #020a10; }
.hero-image {
  position: absolute; inset: 0 0 0 auto; z-index: -2;
  width: 76%; height: 100%; object-fit: cover; object-position: 64% center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #020a10 12%, #020a10f5 30%, #020a10bb 45%, transparent 70%);
}
.hero-layout { display: grid; align-items: center; min-height: clamp(550px, 46vw, 700px); padding-block: clamp(68px, 7vw, 100px); }
.hero-copy { max-width: 42rem; }
.hero h1, h2, h3 { letter-spacing: -.06em; }
.hero h1 {
  max-width: 16ch;
  font-size: clamp(3.5rem, 5.25vw, 5.3rem);
  line-height: .99;
  font-weight: 790;
  text-wrap: balance;
}
.hero h1 span { color: var(--ice); }
.hero-description {
  margin-top: 25px;
  max-width: 31rem;
  color: var(--ink-text);
  font-size: clamp(1.04rem, 1.32vw, 1.22rem);
  line-height: 1.58;
  text-wrap: pretty;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero .actions { margin-top: 29px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 800;
  font-size: .94rem;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.button-signal { background: var(--signal); border-color: var(--signal); color: var(--space); }
.button-signal:hover { background: #a3edff; border-color: #a3edff; }
.button-outline { background: #03090eaf; border-color: #97b1c4; color: var(--ink); }
.button-outline:hover { border-color: var(--signal); color: var(--signal); }
.button-dark { color: var(--space); background: var(--signal); }
.button-dark:hover { background: var(--ice); }
.button-paper { border-color: #7893a9; color: var(--ink); }
.button-paper:hover { background: var(--panel-hover); }

.review-demo {
  min-width: 0;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 12px 12px 0 #02070c55;
}
.demo-header {
  min-height: 65px;
  padding: 14px clamp(17px, 2.7vw, 36px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.demo-header h2 { font-size: clamp(1.25rem, 1.7vw, 1.65rem); font-weight: 800; letter-spacing: -.042em; }
.demo-header p, .demo-label { color: var(--muted); font-weight: 770; font-size: .875rem; }
.demo-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-tabs button {
  min-height: 49px;
  padding: 9px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink-text);
  font-size: .94rem;
  font-weight: 800;
}
.demo-tabs button:last-child { border-right: 0; }
.demo-tabs button:hover { background: var(--panel-hover); }
.demo-tabs button[aria-selected="true"] {
  color: var(--space);
  background: var(--signal);
  border-bottom-color: var(--signal);
}
.demo-tabs button:focus-visible { outline-offset: -5px; }
.demo-panels { display: grid; padding: clamp(17px, 2.7vw, 36px); }
.demo-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  min-height: clamp(217px, 20vw, 260px);
}
.demo-panel[inert] { visibility: hidden; }
.demo-panel h3, .demo-panel blockquote {
  margin-block: 11px 20px;
  font-size: clamp(1.49rem, 2.4vw, 2.3rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.047em;
  text-wrap: pretty;
}
.demo-panel mark {
  color: inherit;
  background: linear-gradient(transparent 66%, #245372 66%);
}
.demo-note { margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); }

.section { padding-block: clamp(62px, 7vw, 102px); }
.paper { background: var(--paper); }
.ruled { border-top: 1px solid var(--line); }
.network { background: radial-gradient(ellipse at 86% 100%, #17384f, transparent 60%), #0e2030; }
.network-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 92px); }
.network-copy { max-width: 34rem; }
.network-copy h2 { margin-block: 14px 22px; }
.network-copy > p:not(.network-label) { color: var(--muted); font-size: 1.075rem; }
.network-label { font-weight: 800; }
.network-copy .text-button { margin-top: 16px; }
.section-heading { margin-bottom: clamp(21px, 2.9vw, 39px); }
h2 { font-size: clamp(2.65rem, 5vw, 4.65rem); line-height: 1.02; font-weight: 790; text-wrap: pretty; }
.services-intro p, .contact p, .product p {
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.55;
  text-wrap: pretty;
}
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 4vw, 58px); }
.case {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 20px 11px;
  border-block: 1px solid var(--line);
}
.case-brand { color: var(--ice); font-size: .94rem; font-weight: 800; }
.case h3 {
  max-width: 23ch;
  margin-top: 9px;
  font-weight: 790;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1.13;
  text-wrap: pretty;
}
.case h3 + p { margin-top: 10px; margin-bottom: 10px; color: var(--muted); }
.text-button {
  min-height: 44px;
  margin-top: auto;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ice);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-button:hover { color: var(--signal); }

.signature-service {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: clamp(30px, 6vw, 88px);
  padding-bottom: clamp(40px, 6vw, 78px);
  margin-bottom: clamp(40px, 6vw, 78px);
  border-bottom: 1px solid var(--line);
}
.signature-label { color: var(--signal); font-weight: 700; margin-bottom: 12px; }
.signature-description, .signature-example > p:last-child {
  color: var(--ink-text); margin-top: 18px; max-width: 51ch; line-height: 1.6;
}
.signature-example { border-left: 2px solid #517a94; padding-left: clamp(18px, 3vw, 42px); }
.signature-example h3 { margin-top: 9px; font-size: clamp(1.5rem, 2.4vw, 2.35rem); line-height: 1.15; }
@media (max-width: 720px) { .signature-service { grid-template-columns: minmax(0, 1fr); } }

.services-layout, .approach-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
}
.services-intro h2, .approach-intro h2 { max-width: 12ch; }
.services-intro p { margin-top: 19px; max-width: 25rem; }
.service-list, .process { border-top: 1px solid var(--line); }
.service-list details, .process > div { border-bottom: 1px solid var(--line); }
.service-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding-block: 15px;
  list-style: none;
  font-size: clamp(1.12rem, 1.85vw, 1.63rem);
  font-weight: 790;
  letter-spacing: -.035em;
  line-height: 1.23;
}
.service-list summary:hover { color: var(--signal); }
summary::-webkit-details-marker { display: none; }
.service-list i { position: relative; width: 20px; height: 20px; flex: none; }
.service-list i::before, .service-list i::after {
  content: "";
  position: absolute;
  inset: 9px 3px;
  background: var(--ice);
}
.service-list i::after { transform: rotate(90deg); }
.service-list [open] i::after { display: none; }
.service-list details p { max-width: 55ch; padding: 0 22px 20px 0; color: var(--muted); }
.process > div { padding-block: 15px 17px; }
.process dt { font-size: clamp(1.12rem, 1.85vw, 1.62rem); font-weight: 790; letter-spacing: -.035em; line-height: 1.25; }
.process dd { margin-top: 6px; max-width: 55ch; color: var(--muted); }

.product { border-block: 1px solid var(--line); background: linear-gradient(110deg, #07121e 20%, #102d46 100%); color: var(--ink); }
.product-layout, .contact {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px 35px;
}
.product-layout { padding-block: clamp(48px, 7vw, 90px); }
.product p { margin-top: 13px; color: var(--ink-text); }
.contact h2 { font-size: clamp(2.55rem, 4.7vw, 4.15rem); }
.contact p { margin-top: 13px; }
.contact-actions { padding-bottom: 2px; }
.site-footer { border-top: 1px solid var(--line); }
.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 30px;
  min-height: 75px;
  padding-block: 17px;
  flex-wrap: wrap;
}
.footer-layout > a:last-child { font-size: .925rem; }

dialog {
  width: min(560px, calc(100% - 34px));
  max-height: calc(100% - 36px);
  margin: auto;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 25px 90px #0006;
}
dialog::backdrop { background: #02070de6; }
dialog h2 { margin-block: 8px 16px; font-size: clamp(2.1rem, 5.5vw, 3.35rem); }
dialog form { display: flex; justify-content: flex-end; margin-bottom: 13px; }
.close-button {
  min-height: 40px;
  background: var(--panel);
  padding: 4px 12px;
  border: 1px solid #638096;
  border-radius: 2px;
  font-size: .9rem;
  font-weight: 750;
}
.close-button:hover { color: var(--space); background: var(--signal); }
.case-note { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 15px; color: var(--muted); }

@media (max-width: 1030px) {
  .hero-layout { gap: 29px; }
  .hero h1 { font-size: clamp(3.1rem, 6vw, 3.9rem); }
}
@media (max-width: 820px) {
  section[id] { scroll-margin-top: 66px; }
  .header-layout { min-height: 64px; }
  .header-contact { display: none; }
  .menu-button { display: inline-flex; }
  .navigation { display: none; }
  .navigation.is-open {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    background: var(--space);
    border-bottom: 1px solid #758ea3;
    padding: 5px var(--gutter) 12px;
    gap: 0;
  }
  .navigation a, .navigation .mobile-contact { display: block; padding: 11px 0; font-size: 1rem; }
  .navigation .mobile-contact { color: var(--signal); }
  .hero-image { width: 100%; height: 66%; inset: auto 0 0; object-position: center 62%; }
  .hero::before { background: linear-gradient(180deg, #020a10 29%, #020a10de 46%, #020a1020 72%, transparent); }
  .network-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { min-height: auto; grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 50px clamp(190px, 38vw, 300px); }
  .hero h1 { font-size: clamp(2.95rem, 8.4vw, 4.5rem); max-width: 16ch; }
  .review-demo { width: min(100%, 600px); box-shadow: 6px 6px 0 #02070c55; }
}
@media (max-width: 600px) {
  .hero-layout { padding-block: 38px clamp(155px, 43vw, 235px); }
  .hero h1 { font-size: clamp(2.48rem, 10vw, 3.55rem); text-wrap: pretty; }
  .hero-description { margin-top: 18px; }
  .hero .actions { margin-top: 23px; }
  .button { min-height: 46px; padding-inline: 12px; font-size: .9rem; }
  .demo-panel { min-height: 180px; }
  .demo-panel h3, .demo-panel blockquote { margin-bottom: 12px; }
  .section { padding-block: 52px; }
  .case-grid, .services-layout, .approach-layout { grid-template-columns: minmax(0, 1fr); }
  .case-grid { gap: 20px; }
  .services-intro p { margin-top: 12px; }
  .service-list summary { min-height: 59px; }
  .product-layout, .contact { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* The header floats over the same orbital image on narrow and wide screens. */
.site-header {
  top: 10px;
  width: min(calc(100% - 28px), 1380px);
  margin: 10px auto -70px;
  border: 1px solid #61768a70;
  border-radius: 22px;
  background: #07101de8;
  backdrop-filter: blur(16px);
}
.header-layout { padding-inline: clamp(16px, 2.4vw, 38px); min-height: 68px; }
.button, .menu-button, .header-contact { border-radius: 100px; }
.hero-layout { min-height: clamp(665px, 54vw, 860px); padding-top: 128px; }
.hero h1 { font-size: clamp(4.6rem, 7.8vw, 8.3rem); font-weight: 650; letter-spacing: -.075em; }
.hero h1 span { display: block; }
.hero-description { font-size: clamp(1rem, 1.25vw, 1.18rem); }
.hero-image { width: 86%; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 15%; z-index: -1;
  background: linear-gradient(transparent, #0a141f); pointer-events: none;
}
.signature-example { padding: clamp(24px, 3.8vw, 56px); border: 1px solid #37536b; border-radius: 24px; background: radial-gradient(ellipse at top right, #19374f, #0d1a28 75%); }
.service-list [open] summary { color: var(--ice); }
.platform-note { margin-top: 36px; padding-left: 20px; border-left: 1px solid #4b7e99; max-width: 26rem; }
.platform-note h3 { font-size: 1.4rem; }
.platform-note p { margin-block: 7px; color: var(--muted); }
.platform-note .text-button { display: inline-flex; align-items: center; }
.journal { background: #101e2f; border-block: 1px solid var(--line); }
.journal-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(26px,5vw,72px); }
.journal-entry { display: block; border-top: 1px solid var(--line); padding-block: 1.3rem; }
.journal-entry h3, .journal-entry summary { font-size: clamp(1.55rem,3vw,2.65rem); line-height: 1.13; letter-spacing: -.045em; font-weight: 700; }
.journal-entry a:hover, .journal-entry summary:hover, .article-home:hover { color: var(--signal); }
.journal-meta { color: var(--ice); margin-bottom: 12px; font-size: .94rem; }
.journal-entry p:last-child { margin-top: 10px; color: var(--muted); }
.archive-link { display: inline-flex; padding-block: 12px; text-decoration: underline; text-underline-offset: 5px; }
.article-shell { max-width: 820px; margin: auto; padding: clamp(20px,5vw,64px) var(--gutter) 6rem; }
.article-home { display: inline-block; margin-bottom: clamp(3rem,8vw,7rem); color: var(--ice); }
.article-shell h1 { font-size: clamp(2.5rem,6vw,5rem); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; margin: 0 0 1.5rem; }
.article-prose { max-width: 66ch; }
.article-prose p { margin: 1.2em 0; line-height: 1.75; color: var(--ink-text); }
.article-prose h2, .article-prose h4 { font-size: clamp(1.45rem,3vw,2rem); line-height: 1.17; margin: 1.7em 0 .5em; letter-spacing: -.04em; }
.article-shell footer { margin-top: 2rem; border-top: 1px solid var(--line); }
@media (max-width: 820px) {
  .header-layout { min-height: 56px; }
  .site-header { margin-bottom: -58px; border-radius: 20px; }
  .navigation.is-open { border: 1px solid var(--line); border-radius: 18px; margin-top: 6px; }
  .hero-layout { min-height: auto; padding-top: 106px; padding-bottom: clamp(180px,40vw,320px); }
  .hero h1 { font-size: clamp(3rem,9vw,5.4rem); }
  .hero-image { width: 100%; }
}
@media (max-width: 650px) {
  .journal-layout { grid-template-columns: minmax(0,1fr); }
  .signature-example { padding: 22px; }
}

.orbit-field {
  position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none;
  mask-image: linear-gradient(95deg, transparent 16%, #0004 43%, black 70%);
}
.hero-image { transform: scale(1.035) translate(var(--orbit-x, 0px), var(--orbit-y, 0px)); }
.hero-copy { position: relative; }
.hero h1 span {
  color: #c1e6f5;
  background: linear-gradient(110deg, #f0fbff 4%, #a3d5f3 52%, #80c1e4 72%, #d8f5ff 94%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-copy .signature-label { font-size: .94rem; color: var(--ice); }
.signature-example { position: relative; overflow: hidden; }
.signature-example::before {
  content: ""; position: absolute; top: 0; left: 12%; width: 75%; height: 1px;
  background: linear-gradient(90deg, transparent, #8ddaff, transparent);
}
.network {
  background: radial-gradient(ellipse at 90% 115%, #204860 0%, transparent 62%),
              linear-gradient(145deg, #091420, #0d2030);
}
.review-demo { border-radius: 18px; overflow: hidden; box-shadow: 0 24px 70px #02081055; }
.journal { background: radial-gradient(ellipse at 5% 0, #183149, transparent 55%), #0a1522; }
.button, .navigation a, .text-button { transition: background .22s, color .22s, border-color .22s, box-shadow .22s; }
.button-signal:hover { box-shadow: 0 0 26px #53dbff35; }
@media (max-width: 820px) {
  .orbit-field { mask-image: linear-gradient(180deg, transparent 20%, #0003 48%, black 77%); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: title-arrival .82s cubic-bezier(.22,.65,.22,1) backwards; }
  .hero-copy h1 { animation-delay: .06s; }
  .hero-description { animation-delay: .12s; }
  .hero-copy .actions { animation-delay: .18s; }
  .demo-panel:not([inert]) { animation: panel-arrival .32s ease-out; }
  .service-list details[open] p { animation: panel-arrival .28s ease-out; }
  .hero-image { transition: transform .55s ease-out; }
}
@keyframes title-arrival {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes panel-arrival {
  from { opacity: .3; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (forced-colors: active) {
  .hero h1 span { -webkit-text-fill-color: currentColor; background: none; }
}

#services { background: radial-gradient(ellipse at 15% 20%, #102334, transparent 55%),var(--paper); }
#approach { background: linear-gradient(150deg,#091522,#101e30 70%,#08121b); }
#contact { background: radial-gradient(ellipse at 75% 110%,#1c4860,transparent 58%),#060e19; }
.desk-preview { margin: clamp(32px,5vw,68px) 0 14px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.desk-preview figcaption { padding: 16px 22px; background: #14273a; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; }
.desk-preview figcaption span, .report-intro { color: var(--muted); }
.desk-preview iframe { width: 100%; display: block; border: 0; height: 280px; background: #fff; }
.page-lead { font-size: clamp(1.15rem,2vw,1.45rem); color: var(--ice); line-height: 1.5; }
.story-block { margin: clamp(32px,5vw,64px) 0; border-top: 1px solid var(--line); padding-top: 22px; }
.story-block h2 { font-size: clamp(1.65rem,3vw,2.5rem); margin-bottom: 18px; }
.story-block p { color: var(--ink-text); margin-block: 14px; }
.story-block a:not(.button) { text-decoration: underline; text-underline-offset: .22em; }
.report-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(128px,1fr)); gap: 12px; }
.report-stats > div { padding: 14px; background: var(--panel); border-radius: 12px; }
.report-stats dd { font-size: 2rem; font-weight: 700; color: var(--ice); }
.offline-page { display: none; }
.offline-page:target { display: block; }
body:has(.offline-page:target) > :is(.site-header,main,.site-footer) { display: none; }
@media (max-width: 650px) { .desk-preview iframe { height: 420px; } }
@media (prefers-reduced-motion: no-preference) {
  .block-arrival { animation: section-arrival .7s cubic-bezier(.2,.7,.24,1) backwards; }
  .block-arrival > :nth-child(2), .block-arrival > .signature-service > :nth-child(2) {
    animation: section-arrival .65s .1s cubic-bezier(.2,.7,.24,1) backwards;
  }
  .article-shell > h1, .article-shell > article > header { animation: title-arrival .65s ease-out; }
}
@keyframes section-arrival {
  from { opacity: .12; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}

#services, #networks, #approach, #journal, #contact { position: relative; }
:is(#services,#networks,#approach,#journal,#contact)::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px;
  background: linear-gradient(90deg,transparent,#86cee4 26%,#365e83 60%,transparent);
  pointer-events: none;
}
#networks::before, #contact::before { transform-origin: right; }
@media (prefers-reduced-motion: no-preference) {
  :is(#services,#networks,#approach,#journal,#contact):has(> .block-arrival)::before {
    animation: horizon-arrival .95s ease-out both;
  }
  .network .block-arrival > .review-demo { animation: desk-arrival .8s .1s cubic-bezier(.2,.7,.24,1) backwards; }
}
@keyframes horizon-arrival { from { scale: .08 1; opacity: .1; } to { scale: 1; opacity: 1; } }
@keyframes desk-arrival { from { opacity: .1; transform: translateY(22px) scale(.975); } to { opacity: 1; transform: none; } }

.route-list { display: grid; align-content: start; border-top: 1px solid var(--line); }
.route-list a { display: grid; gap: .25rem; padding: clamp(16px,2.15vw,30px) 14px; border-bottom: 1px solid var(--line); transition: background-color .2s ease; }
.route-list a:hover, .route-list a:focus-visible { background: #152a3b; }
.route-list strong { color: var(--ink); font-size: clamp(1.25rem,2.2vw,2rem); line-height: 1.2; font-weight: 670; letter-spacing: -.045em; }
.route-list span { color: var(--ice); }
.page-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.federal-section {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 70% 135%,#27536b 0, #112b40 29%,#071320 67%);
  border-block: 1px solid #3c5a70;
}
.federal-section::after {
  content: ""; position: absolute; z-index: -1; top: 70%; left: -12%; width: 125%; height: 100%;
  border-top: 1px solid #a9d5ed59; border-radius: 50%; transform: rotate(-7deg); pointer-events: none;
}
.federal-layout { display:grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items:center; gap:clamp(28px,7vw,104px); }
.federal-layout h2 { max-width:16ch; font-weight:670; }
.federal-copy { max-width:40ch; color:var(--ink-text); font-size:clamp(1.05rem,1.55vw,1.25rem); }
.federal-copy .archive-link { font-size:1rem; color:var(--ice); }
.decision-list > div { display:grid; grid-template-columns: minmax(120px,1fr) 3fr; padding:22px 0; gap:20px; border-top:1px solid var(--line); }
.decision-list dt { color:var(--ice); font-weight:700; }
@media(max-width:700px) {
  .federal-layout, .decision-list > div {grid-template-columns:minmax(0,1fr);}
  .decision-list > div { gap:8px; }
}

html:has(.task-dialog[open]) { overflow: hidden; }

.task-dialog {
  width: min(36rem, calc(100% - 28px));
  max-height: calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  padding: clamp(17px, 4vw, 32px);
  border: 1px solid #49637f;
  border-radius: 18px;
  background: #0b1528;
  color: #edf4ff;
  overflow: auto;
  overscroll-behavior: contain;
}

.task-dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.task-dialog-heading h2 { margin: 0; font-size: clamp(1.65rem, 5.5vw, 2.35rem); }
.task-dialog-heading h2:focus { outline: none; }
.task-dialog .close-button { border-radius: 100px; background: transparent; }
.task-dialog .close-button:hover { color: #edf4ff; border-color: #c9d8ff; }
.task-dialog form, .task-dialog label { display: grid; gap: 6px; }
.task-dialog form { gap: 14px; justify-content: stretch; margin: 0; }
.task-dialog label { min-width: 0; font-weight: 650; }

.task-dialog input, .task-dialog textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #647892;
  border-radius: 8px;
  background: #0e1c31;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  font-weight: 450;
}

.task-dialog :is(input, textarea):focus { border-color: #d2dce8; outline: none; }
.task-dialog :is(input, textarea)::placeholder { color: #afc0d8; }
.task-dialog textarea { min-height: 92px; resize: vertical; }
.task-dialog button[type="submit"] { justify-self: start; }
.task-dialog form p { color: #b4c6df; font-size: .9rem; }
.agency-home .menu-drawer .navigation [data-open-task] { text-decoration: underline; text-underline-offset: .3em; }
