/* ==========================================================================
   Continental Trading Company — "The Continental Atlas"
   Paper, ink and international orange. Every section is a numbered plate.
   ========================================================================== */

@property --pp {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

:root {
  --paper: #EEEBE4;
  --paper-2: #E6E2D8;
  --paper-3: #D9D4C8;
  --ink: #0E100F;
  --ink-2: #151816;
  --ink-3: #1D211E;

  --text: #0E100F;
  --text-2: #3B3E3A;
  --mute: #66635B;

  --on-dark: #EEEBE4;
  --on-dark-2: #B9B6AD;
  --mute-d: #8F8C84;

  --line: rgba(14, 16, 15, .12);
  --line-2: rgba(14, 16, 15, .24);
  --line-d: rgba(238, 235, 228, .12);
  --line-d2: rgba(238, 235, 228, .24);

  --signal: #FF4F00;
  --signal-text: #E03E00;

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --pad: clamp(20px, 4vw, 56px);
  --max: 1480px;
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }

/* printed-paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

.mono {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Type ---------- */
.display {
  font-weight: 700;
  font-stretch: 115%;
  font-size: clamp(2.7rem, 6.8vw, 7.2rem);
  line-height: .9;
  letter-spacing: -.05em;
}
.display em,
.hero__title em,
.contact__title em,
.footer__claim em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -.02em;
  color: var(--signal-text);
  padding-right: .04em;
}
[data-theme="dark"] .display em,
[data-theme="dark"] .footer__claim em { color: var(--signal); }

.lede {
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 46ch;
}
[data-theme="dark"] .lede { color: var(--on-dark-2); }

.section-head {
  display: grid;
  gap: 28px;
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 104px);
}
@media (min-width: 960px) {
  .section-head { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; }
  .section-head .lede { justify-self: end; }
}

/* Plate header: the atlas-page running head */
.plate {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(32px, 4.5vw, 64px);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
}
.plate__no { color: var(--text); }
.plate__rule { flex: 1; height: 1px; background: var(--line-2); transform-origin: left; }
[data-theme="dark"] .plate { color: var(--mute-d); }
[data-theme="dark"] .plate__no { color: var(--on-dark); }
[data-theme="dark"] .plate__rule { background: var(--line-d2); }
.plate--ink { color: rgba(14, 16, 15, .78); }
.plate--ink .plate__rule { background: rgba(14, 16, 15, .35); }

.chips {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 500;
  line-height: 1.25;
}
.chips--lg li { font-size: clamp(.95rem, 1.1vw, 1.05rem); padding: 10px 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  --hover-bg: var(--signal);
  --hover-fg: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: .96rem;
  font-weight: 600;
  font-stretch: 108%;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .5s var(--ease), color .35s var(--ease), border-color .35s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--hover-bg);
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--hover-fg); border-color: transparent; }
.btn__arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--signal { --bg: var(--signal); --fg: var(--ink); --hover-bg: var(--ink); --hover-fg: var(--paper); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --hover-bg: var(--ink); --hover-fg: var(--paper); border-color: var(--line-2); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); --hover-bg: var(--signal); --hover-fg: var(--ink); }
.btn--sm { height: 42px; padding: 0 18px; font-size: .88rem; }
[data-theme="dark"] .btn--signal { --hover-bg: var(--paper); --hover-fg: var(--ink); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  color: var(--text);
  border-bottom: 1px solid transparent;
  transition: transform .55s var(--ease), background-color .35s, color .35s, border-color .35s;
}
.nav.is-scrolled {
  background: rgba(238, 235, 228, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav.is-scrolled[data-on="dark"] {
  background: rgba(14, 16, 15, .78);
  color: var(--on-dark);
  border-bottom-color: var(--line-d);
}
.nav.is-scrolled[data-on="signal"] {
  background: rgba(255, 79, 0, .86);
  border-bottom-color: rgba(14, 16, 15, .16);
}
.nav.is-scrolled[data-on="signal"] .nav__cta { --bg: var(--ink); --fg: var(--paper); --hover-bg: var(--paper); --hover-fg: var(--ink); }
.nav.is-scrolled[data-on="dark"] .nav__cta { --hover-bg: var(--paper); --hover-fg: var(--ink); }
.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
}
.brand__mark { width: 34px; height: 34px; flex: none; transition: transform .9s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-30deg); }
.brand__word {
  font-weight: 760;
  font-stretch: 125%;
  font-size: 1.04rem;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.brand__sub {
  padding-left: 11px;
  border-left: 1px solid currentColor;
  font-family: var(--mono);
  font-size: .56rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .72;
}
@media (max-width: 380px) { .brand__sub { display: none; } }

.nav__links { display: none; gap: 2px; }
.nav__links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .25s;
}
.nav__links a:hover { background: rgba(128, 128, 128, .14); }
.nav__links a.is-current::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 3px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--signal);
}
.nav__end { display: flex; align-items: center; gap: 10px; }
.nav__cta { display: none; }

.nav__toggle {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav__toggle-lines { display: grid; gap: 6px; width: 18px; }
.nav__toggle-lines i { display: block; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines i:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 640px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1080px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

body.menu-open .nav { color: var(--on-dark); background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(var(--nav-h) + 20px) var(--pad) 32px;
  overflow-y: auto;
  background: var(--ink);
  color: var(--on-dark);
}
.menu[hidden] { display: none; }
.menu__links { display: grid; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-d);
  font-weight: 700;
  font-stretch: 118%;
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.045em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .2s;
}
.menu__links a:hover { color: var(--signal); }
.menu__links .mono { color: var(--signal); font-size: .7rem; letter-spacing: .08em; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: .04s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .08s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: .12s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .16s; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: .2s; }
.menu__foot { display: grid; gap: 10px; color: var(--mute-d); }
.menu__foot a { color: var(--on-dark); text-decoration: none; text-transform: none; letter-spacing: 0; font-size: .95rem; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
  cursor: crosshair;
}
.hero a, .hero button { cursor: pointer; }

.hero__terrain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  /* thin the contours behind the copy, like a map fading under its labels */
  -webkit-mask-image: radial-gradient(110% 70% at 18% 92%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 38%, #000 78%);
  mask-image: radial-gradient(110% 70% at 18% 92%, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .5) 38%, #000 78%);
}
.hero__terrain.is-ready { opacity: 1; }

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + 18px);
  padding-bottom: 22px;
}

.hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: auto;
  color: var(--mute);
}
/* cartographic label halo keeps small type legible over contour lines */
.hero__meta, .hero__lede, .hero__foot {
  text-shadow: 0 0 2px var(--paper), 0 0 6px var(--paper), 0 0 14px var(--paper);
}
@media (max-width: 520px) {
  .hero__meta > span:first-child { display: none; }
  .hero__meta { justify-content: flex-end; }
}
.hero__status { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.hero__status i,
.division.is-live .division__status i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 79, 0, .55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 79, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 79, 0, 0); }
}

.hero__title {
  margin-top: 48px;
  font-weight: 720;
  font-stretch: 112%;
  font-size: clamp(2.6rem, 10.6vw, 12rem);
  line-height: .86;
  letter-spacing: -.058em;
}
.hero__title .ln { display: block; overflow: hidden; padding: 0 .06em .07em 0; margin-bottom: -.07em; }
.hero__title .ln__in { display: block; }
.hero__title em { font-size: 1.12em; line-height: .7; }

.hero__base {
  display: grid;
  gap: 26px;
  align-items: end;
  margin-top: clamp(28px, 3.6vw, 52px);
}
@media (min-width: 900px) {
  .hero__base { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
}
.hero__lede {
  max-width: 44ch;
  font-size: clamp(1.06rem, 1.35vw, 1.32rem);
  line-height: 1.48;
  color: var(--text-2);
}
.hero__lede strong { color: var(--text); font-weight: 650; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: clamp(28px, 4.5vw, 56px);
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
  color: var(--mute);
}
.hero__hint { display: none; }
.hero__scroll { margin-left: auto; color: var(--text); text-decoration: none; }
.hero__scroll span { display: inline-block; animation: bob 2.4s var(--ease-io) infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

.legend { display: none; align-items: center; gap: 10px; }
.legend i { display: inline-block; width: 20px; border-top: 2px solid var(--ink); }
.legend .legend__line { border-top-width: 1px; opacity: .45; }
.legend .legend__dot { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--signal); }
@media (min-width: 1000px) {
  .legend { display: inline-flex; }
}
@media (hover: hover) and (pointer: fine) {
  .hero__hint { display: inline; }
}
/* no map without JavaScript, so no map key either */
.no-js .hero__hint, .no-js .legend { display: none; }

.hero__reticle {
  position: absolute;
  left: 0; top: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  will-change: transform;
}
.hero__reticle.is-on { opacity: 1; }
.hero__reticle-ring {
  position: absolute;
  left: -19px; top: -19px;
  width: 38px; height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.hero__reticle-ring::before,
.hero__reticle-ring::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.hero__reticle-ring::before { left: 50%; top: -9px; bottom: -9px; width: 1px; }
.hero__reticle-ring::after { top: 50%; left: -9px; right: -9px; height: 1px; }
.hero__reticle-label {
  position: absolute;
  left: 30px; top: 16px;
  display: grid;
  gap: 3px;
  padding: 7px 9px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.2;
  letter-spacing: .05em;
  white-space: nowrap;
}
.hero__reticle-label b { font-weight: 500; }
.hero__reticle-label span { color: var(--signal); }

/* Hero intro */
.js .hero__title .ln__in { transform: translateY(108%); }
.js .hero__meta,
.js .hero__base,
.js .hero__foot { opacity: 0; transform: translateY(16px); }
.is-loaded .hero__title .ln__in { transform: none; transition: transform 1.25s var(--ease); }
.is-loaded .hero__title .ln:nth-child(2) .ln__in { transition-delay: .09s; }
.is-loaded .hero__meta,
.is-loaded .hero__base,
.is-loaded .hero__foot { opacity: 1; transform: none; transition: opacity 1s var(--ease) .35s, transform 1.1s var(--ease) .35s; }
.is-loaded .hero__base { transition-delay: .45s; }
.is-loaded .hero__foot { transition-delay: .6s; }

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticker__list li {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 24px 0 24px 30px;
  font-weight: 600;
  font-stretch: 118%;
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: -.025em;
  white-space: nowrap;
}
.ticker__list li::after {
  content: "";
  width: 9px; height: 9px;
  background: var(--signal);
  transform: rotate(45deg);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   MANIFESTO
   ========================================================================== */
.manifesto { padding: clamp(96px, 13vw, 200px) 0 clamp(88px, 11vw, 170px); }
.manifesto__text {
  font-weight: 560;
  font-stretch: 106%;
  font-size: clamp(1.85rem, 4.15vw, 4.5rem);
  line-height: 1.07;
  letter-spacing: -.038em;
}
.manifesto__text em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -.012em;
}
.js .manifesto__text .sw { color: rgba(14, 16, 15, .15); transition: color .45s var(--ease); }
.js .manifesto__text .sw.is-lit { color: var(--text); }
.js .manifesto__text em .sw.is-lit { color: var(--signal-text); }
.no-js .manifesto__text em { color: var(--signal-text); }

.manifesto__meta {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px 24px;
  max-width: 640px;
  margin: clamp(56px, 7vw, 104px) 0 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  color: var(--text-2);
}
.manifesto__meta .mono { color: var(--signal-text); padding-top: .3em; }

/* ==========================================================================
   STRATA — capabilities as layers of the earth
   ========================================================================== */
.strata { position: relative; padding-top: clamp(24px, 4vw, 60px); padding-bottom: clamp(80px, 10vw, 140px); }
.strata__track { position: relative; }
.strata__grid { display: grid; gap: 48px; }
.strata__figure { order: -1; margin: 0 auto; width: min(100%, 420px); }
.strata__gauge { display: none; }
.strata__nav { display: none; }

.strata__list { list-style: none; margin: 0; padding: 0; display: grid; }
.layer {
  display: grid;
  gap: 12px;
  padding: 30px 0 34px;
  border-top: 1px solid var(--line-2);
}
.layer__geo { color: var(--mute); }
.layer__geo span { color: var(--signal-text); margin-right: 6px; }
.layer__name {
  font-weight: 700;
  font-stretch: 115%;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.layer__tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  line-height: 1.1;
  color: var(--text-2);
}
.layer__desc { max-width: 50ch; color: var(--text-2); }

/* Globe (SVG) */
.globe { width: 100%; height: auto; overflow: visible; }
.globe .g-body { fill: var(--paper-2); }
.globe .g-shade { pointer-events: none; }
.globe .g-grat { fill: none; stroke: var(--ink); stroke-opacity: .16; stroke-width: 1; }
.globe .g-land { fill: url(#g-hatch); stroke: var(--ink); stroke-opacity: .55; stroke-width: 1.1; }
.globe .g-outline { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.globe .g-cut { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.globe .g-ring { stroke: var(--ink); stroke-width: 1; stroke-opacity: .7; }
.globe .g-glow { fill: var(--signal); opacity: 0; transition: opacity .5s var(--ease); }
.globe .g-glow.is-active { opacity: .9; }
.globe .g-num { font-family: var(--mono); font-size: 12px; font-weight: 500; fill: var(--text); letter-spacing: .04em; transition: fill .3s; }
.globe .g-num.is-active { fill: var(--signal-text); font-weight: 600; }
.globe .g-tick { stroke: var(--ink); stroke-width: 1; }
.globe .g-bore-bg { fill: none; stroke: var(--ink); stroke-opacity: .35; stroke-width: 1.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.globe .g-bore { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.globe .g-bit { fill: var(--signal); stroke: var(--ink); stroke-width: 2; }
.globe .g-flag { fill: var(--signal); }
.globe .g-flag-pole { stroke: var(--ink); stroke-width: 2; }
.globe .g-cap { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; fill: var(--mute); text-transform: uppercase; }

/* Pinned scroll-drilling layout (enabled by JS on large screens) */
.strata.is-pinned .strata__track { height: calc(100vh + 7 * 62vh); }
.strata.is-pinned .strata__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}
.strata.is-pinned .strata__grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(40px, 5vw, 96px);
}
.strata.is-pinned .strata__figure { order: 0; width: min(100%, calc(100vh - var(--nav-h) - 80px), 640px); }
.strata.is-pinned .strata__gauge {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
  color: var(--mute);
}
.strata.is-pinned .section-head { margin-bottom: 0; }
.strata__gauge .lead { opacity: .22; }
.strata.is-pinned .strata__gauge strong {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(2.4rem, 3.6vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.strata.is-pinned .strata__list { position: relative; height: clamp(360px, 46vh, 440px); }
/* Inactive layers are only visually hidden, so screen readers can still read every layer. */
.strata.is-pinned .layer {
  position: absolute;
  inset: 0;
  align-content: start;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.strata.is-pinned .layer.is-past { transform: translateY(-30px); }
.strata.is-pinned .layer.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: opacity .6s var(--ease) .1s, transform .8s var(--ease) .1s;
}
.strata.is-pinned .layer__name { font-size: clamp(2.3rem, 3.7vw, 3.9rem); }
.strata.is-pinned .strata__nav { display: flex; gap: 4px; margin-top: 24px; }
.strata__nav button {
  position: relative;
  width: 30px; height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: width .5s var(--ease);
}
.strata__nav button::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 2px;
  background: var(--line-2);
  transition: background-color .3s;
}
.strata__nav button:hover::before { background: var(--ink); }
.strata__nav button.is-active { width: 56px; }
.strata__nav button.is-active::before { background: var(--signal); }

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.products {
  position: relative;
  padding: clamp(96px, 12vw, 180px) 0 clamp(88px, 10vw, 150px);
  background: var(--ink);
  color: var(--on-dark);
}
.products__stack { display: grid; gap: 20px; }

.pcard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 32px;
  padding: clamp(22px, 3vw, 44px);
  border: 1px solid var(--line-d);
  border-radius: 28px;
  background: var(--ink-2);
  transform-origin: 50% 0;
}
.pcard::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -25%; bottom: -45%;
  width: 90%; height: 110%;
  background: radial-gradient(closest-side, var(--accent), transparent);
  opacity: .26;
}
.pcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  background: #050605;
  opacity: calc(var(--p, 0) * .6);
  pointer-events: none;
}

.pcard__info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pcard__head { display: flex; align-items: center; gap: 16px; }
.pcard__logo {
  width: 56px; height: 56px;
  flex: none;
  border-radius: 15px;
  object-fit: cover;
}
.pcard__logo--tile { display: grid; place-items: center; background: #fff; }
.pcard__terr { color: var(--mute-d); margin-bottom: 4px; }
.pcard__name {
  font-weight: 700;
  font-stretch: 118%;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.pcard__headline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.8rem, 2.7vw, 2.75rem);
  line-height: 1.02;
  letter-spacing: -.015em;
}
.pcard__desc { max-width: 48ch; color: var(--on-dark-2); }
.pcard__feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pcard__feats li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  font-size: .95rem;
  line-height: 1.4;
}
.pcard__feats li::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: .42em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transform: rotate(45deg);
}
.pcard__link {
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--line-d2);
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background-color .3s, color .3s, border-color .3s;
}
.pcard__link span { transition: transform .4s var(--ease); }
.pcard__link:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.pcard__link:hover span { transform: translate(3px, -3px); }

.pcard__demo { container-type: inline-size; min-width: 0; display: flex; align-items: center; }

@media (min-width: 1100px) {
  .pcard { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 3.4vw, 56px); }
}
@media (min-width: 1100px) and (min-height: 620px) {
  .products__stack { gap: 12vh; }
  .pcard {
    position: sticky;
    top: calc(var(--nav-h) + 18px + var(--i) * 14px);
    min-height: min(720px, calc(100vh - var(--nav-h) - 56px));
    transform: scale(calc(1 - var(--p, 0) * .05));
  }
}

/* ---------- Product mock UIs (decorative) ---------- */
.ui {
  width: 100%;
  overflow: hidden;
  border-radius: 1.1em;
  background: #fff;
  color: #1B1D21;
  font-family: var(--sans);
  font-stretch: 100%;
  font-size: clamp(8.5px, 2.05cqi, 13.5px);
  line-height: 1.35;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08);
}
.ui__bar {
  display: flex;
  align-items: center;
  gap: .55em;
  height: 2.9em;
  padding: 0 1.15em;
  background: #F3F4F7;
  border-bottom: 1px solid #E6E8EE;
}
.ui__bar i { width: .82em; height: .82em; border-radius: 50%; background: #D7DAE2; }
.ui__bar i:nth-child(1) { background: #FF5F57; }
.ui__bar i:nth-child(2) { background: #FEBC2E; }
.ui__bar i:nth-child(3) { background: #28C840; }
.ui__bar span { margin-left: .8em; font-size: .95em; font-weight: 500; color: #6B7089; }
.ui__body { padding: 1.4em; }

/* RCM Smart */
.ui--rcm { --a: #2563EB; --a2: #06B6D4; }
.rcm-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8em; margin-bottom: 1em; }
.rcm-kpi { display: grid; gap: .1em; padding: .85em 1em; border: 1px solid #E6E8EE; border-radius: .8em; }
.rcm-kpi span { font-size: .8em; color: #6B7089; }
.rcm-kpi b { font-size: 1.75em; font-weight: 700; font-stretch: 105%; letter-spacing: -.02em; }
.rcm-kpi em { font-style: normal; font-size: .76em; color: #8A8FA3; }
.rcm-kpi--hi { border-color: transparent; background: linear-gradient(135deg, var(--a), var(--a2)); color: #fff; }
.rcm-kpi--hi span, .rcm-kpi--hi em { color: rgba(255, 255, 255, .86); }
.rcm-table { overflow: hidden; border: 1px solid #E6E8EE; border-radius: .8em; }
.rcm-row {
  display: grid;
  grid-template-columns: 1.15fr .95fr 1.1fr 1.1fr 1.2fr;
  gap: .6em;
  align-items: center;
  padding: .6em 1em;
  border-top: 1px solid #EEF0F4;
  font-size: .92em;
  white-space: nowrap;
}
.rcm-row > span { overflow: hidden; text-overflow: ellipsis; }
.rcm-row--head { border-top: 0; background: #F7F8FA; color: #6B7089; font-size: .74em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.rcm-id { font-family: var(--mono); font-size: .9em; }
.rcm-score { display: flex; align-items: center; gap: .5em; }
.rcm-score i { position: relative; flex: 1; height: .45em; overflow: hidden; border-radius: 1em; background: #EEF0F4; }
.rcm-score i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--s) * 1%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--a), var(--a2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s var(--ease);
}
.rcm-row:nth-child(5) .rcm-score i::after { background: #F59E0B; }
.rcm-row:nth-child(6) .rcm-score i::after { background: #C3C7D3; }
.rcm-score b { width: 1.6em; font-size: .9em; text-align: right; }
.rcm-act { font-weight: 600; color: var(--a); }
.rcm-act--mute { color: #8A8FA3; }
.rcm-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: .8em; margin-top: 1em; }
.rcm-aging, .rcm-ai { padding: .85em 1em; border: 1px solid #E6E8EE; border-radius: .8em; }
.rcm-ai { background: linear-gradient(180deg, #F5F9FF, #fff); }
.rcm-label { font-size: .74em; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #6B7089; }
.rcm-ai .rcm-label { color: var(--a); }
.rcm-bars { display: flex; align-items: flex-end; gap: .6em; height: 6.4em; margin-top: .6em; }
.rcm-bars div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .3em; }
.rcm-bars i {
  width: 100%;
  height: var(--h);
  border-radius: .35em .35em .15em .15em;
  background: linear-gradient(180deg, var(--a2), var(--a));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1.1s var(--ease);
}
.rcm-bars div:last-child i { background: linear-gradient(180deg, #FB923C, #EF4444); }
.rcm-bars span { font-size: .72em; color: #8A8FA3; }
.rcm-q { margin-top: .5em; font-weight: 650; font-size: .92em; }
.rcm-a { margin-top: .35em; font-size: .85em; line-height: 1.42; color: #4A4F63; }
.pcard.is-in .rcm-score i::after, .pcard.is-in .rcm-bars i { transform: none; }
.pcard.is-in .rcm-bars div:nth-child(2) i { transition-delay: .1s; }
.pcard.is-in .rcm-bars div:nth-child(3) i { transition-delay: .2s; }
.pcard.is-in .rcm-bars div:nth-child(4) i { transition-delay: .3s; }

/* SmartNotes AI */
.ui--sn { --a: #1457EA; --a2: #009DFF; }
.sn-rec { display: flex; align-items: center; gap: .6em; font-size: .95em; }
.sn-dot { width: .7em; height: .7em; border-radius: 50%; background: #EF4444; animation: blink 1.4s steps(2, jump-none) infinite; }
.sn-time { font-family: var(--mono); color: #6B7089; }
.sn-pt { margin-left: auto; padding: .35em .75em; border-radius: 1em; background: #EEF4FF; color: var(--a); font-weight: 600; font-size: .85em; }
.sn-wave { display: flex; align-items: center; gap: .24em; height: 3.6em; margin: 1em 0 1.1em; }
.sn-wave i {
  flex: 1;
  height: 100%;
  border-radius: 1em;
  background: linear-gradient(180deg, var(--a2), var(--a));
  transform: scaleY(.2);
  animation: wave 1.2s ease-in-out infinite;
}
.sn-wave i:nth-child(2n) { animation-duration: .95s; animation-delay: -.3s; }
.sn-wave i:nth-child(3n) { animation-duration: 1.35s; animation-delay: -.7s; }
.sn-wave i:nth-child(5n) { animation-duration: .8s; animation-delay: -.15s; }
.sn-wave i:nth-child(7n) { animation-duration: 1.5s; animation-delay: -.9s; }
.sn-wave i:nth-child(4n+1) { animation-delay: -.45s; }
@keyframes wave { 0%, 100% { transform: scaleY(.16); } 50% { transform: scaleY(1); } }
@keyframes blink { 50% { opacity: .25; } }
.sn-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: .9em; }
.sn-transcript { display: grid; gap: .55em; align-content: start; font-size: .9em; }
.sn-transcript p { padding: .6em .8em; border-radius: .7em; background: #F4F6FA; line-height: 1.38; }
.sn-transcript p:nth-child(even) { background: #EEF4FF; }
.sn-transcript b { margin-right: .3em; color: var(--a); }
.sn-typing span { display: inline-block; width: .45em; height: 1em; margin-left: .15em; vertical-align: -.15em; background: var(--a); animation: blink 1s steps(2, jump-none) infinite; }
.sn-note { display: grid; gap: .75em; padding: .95em 1.05em; border: 1px solid #E3E8F2; border-radius: .9em; background: linear-gradient(180deg, #FAFCFF, #fff); }
.sn-note__head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.sn-note__head em { padding: .22em .65em; border-radius: 1em; background: #ECFDF3; color: #15803D; font-style: normal; font-size: .76em; font-weight: 600; }
.sn-note dl { display: grid; gap: .5em; }
.sn-note dl div { display: grid; grid-template-columns: 1.75em minmax(0, 1fr); gap: .6em; align-items: start; }
.sn-note dt { width: 1.75em; height: 1.75em; display: grid; place-items: center; border-radius: .45em; background: linear-gradient(135deg, var(--a), var(--a2)); color: #fff; font-weight: 700; font-size: .85em; }
.sn-note dd { font-size: .88em; line-height: 1.4; color: #2B2F3A; }
.sn-codes { display: flex; flex-wrap: wrap; gap: .4em; }
.sn-codes span { padding: .32em .6em; border-radius: .5em; background: #EEF4FF; color: var(--a); font-family: var(--mono); font-size: .76em; font-weight: 600; }
.sn-push { justify-self: start; display: inline-flex; align-items: center; gap: .5em; padding: .6em 1.05em; border-radius: .65em; background: #0B1B3F; color: #fff; font-weight: 600; font-size: .88em; }
.sn-push span { color: #4ADE80; }
.js .sn-note dl div { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.pcard.is-in .sn-note dl div { opacity: 1; transform: none; }
.pcard.is-in .sn-note dl div:nth-child(2) { transition-delay: .25s; }
.pcard.is-in .sn-note dl div:nth-child(3) { transition-delay: .5s; }
.pcard.is-in .sn-note dl div:nth-child(4) { transition-delay: .75s; }

/* Reseptive */
.ui--rs { --a: #22A55B; --a2: #4ADD8C; --deep: #051B0E; }
.rs-top { display: flex; align-items: center; gap: .7em; font-size: .95em; }
.rs-live { display: inline-flex; align-items: center; gap: .45em; padding: .3em .75em; border-radius: 1em; background: #E8FAEF; color: #15803D; font-weight: 600; font-size: .88em; }
.rs-dot { width: .6em; height: .6em; border-radius: 50%; background: var(--a); animation: blink 1.4s steps(2, jump-none) infinite; }
.rs-time { font-family: var(--mono); color: #6B7089; }
.rs-line { margin-left: auto; font-size: .85em; color: #6B7089; }
.rs-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: .9em; margin-top: 1em; }
.rs-chat { display: grid; gap: .55em; align-content: start; }
.rs-msg { padding: .65em .85em; border-radius: .8em .8em .8em .2em; background: var(--deep); color: #E6F7EC; font-size: .9em; line-height: 1.4; }
.rs-msg b { display: block; margin-bottom: .15em; color: var(--a2); font-size: .78em; letter-spacing: .06em; text-transform: uppercase; }
.rs-msg--caller { justify-self: end; border-radius: .8em .8em .2em .8em; background: #F1F3F6; color: #1B1D21; }
.rs-msg--caller b { color: #6B7089; }
.rs-wave { display: flex; align-items: center; gap: .22em; height: 2.2em; padding: 0 .3em; }
.rs-wave i { flex: 1; height: 100%; border-radius: 1em; background: linear-gradient(180deg, var(--a2), var(--a)); transform: scaleY(.2); animation: wave 1.1s ease-in-out infinite; }
.rs-wave i:nth-child(2n) { animation-duration: .9s; animation-delay: -.3s; }
.rs-wave i:nth-child(3n) { animation-duration: 1.3s; animation-delay: -.6s; }
.rs-wave i:nth-child(5n) { animation-delay: -.15s; }
.rs-side { display: grid; gap: .7em; align-content: start; }
.rs-card { display: grid; gap: .45em; padding: .85em .95em; border: 1px solid #E3EAE6; border-radius: .85em; }
.rs-k { font-size: .72em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6B7089; }
.rs-slots { display: grid; gap: .35em; margin: 0; padding: 0; list-style: none; }
.rs-slots li { display: flex; gap: .7em; padding: .4em .6em; border-radius: .5em; background: #F7F8FA; font-size: .85em; }
.rs-slots time { width: 2.8em; font-family: var(--mono); font-size: .9em; color: #80819A; }
.rs-slots li.is-new { background: linear-gradient(135deg, var(--a), var(--a2)); color: var(--deep); font-weight: 600; }
.rs-slots li.is-new time { color: var(--deep); }
.rs-ehr p { font-family: var(--mono); font-size: .8em; color: #2B2F3A; }
.rs-ehr em { font-style: normal; margin-right: .4em; padding: .1em .4em; border-radius: .3em; background: #E8FAEF; color: #15803D; font-weight: 600; }
.rs-ok { color: #15803D !important; }
.rs-hand { display: flex; flex-wrap: wrap; align-items: center; gap: .4em .6em; padding: .65em .9em; border-radius: .85em; background: var(--deep); color: #B9E8CB; font-size: .82em; }
.rs-hand span { color: #fff; font-weight: 600; }
.js .rs-msg { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.pcard.is-in .rs-msg { opacity: 1; transform: none; }
.pcard.is-in .rs-msg:nth-child(2) { transition-delay: .35s; }
.pcard.is-in .rs-msg:nth-child(3) { transition-delay: .7s; }

/* EduCore */
.ui--edu { --a: #6C5DD3; --a2: #EC4899; --a3: #FF754C; }
.edu-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .8em; margin-bottom: 1em; }
.edu-title b { display: block; font-size: 1.28em; letter-spacing: -.01em; }
.edu-title span { font-size: .85em; color: #6B7089; }
.edu-sum { display: flex; gap: .4em; }
.edu-sum span { padding: .35em .75em; border-radius: 1em; font-size: .78em; font-weight: 600; }
.edu-sum .is-p, .edu-st::after { background: #ECFDF3; color: #15803D; }
.edu-sum .is-a, .edu-st.is-a::after { background: #FEF2F2; color: #DC2626; }
.edu-sum .is-l, .edu-st.is-l::after { background: #FFFBEB; color: #B45309; }
.edu-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .55em; }
.edu-st { display: flex; align-items: center; gap: .4em; padding: .45em; border: 1px solid #ECEAF7; border-radius: .75em; }
.edu-st i { width: 2.3em; height: 2.3em; flex: none; display: grid; place-items: center; border-radius: 50%; background: #F1EFFD; color: var(--a); font-style: normal; font-size: .78em; font-weight: 700; }
.edu-st::after { content: "P"; width: 1.7em; height: 1.7em; margin-left: auto; display: grid; place-items: center; border-radius: .45em; font-size: .72em; font-weight: 700; }
.edu-st.is-a::after { content: "A"; }
.edu-st.is-l::after { content: "L"; }
.js .edu-st { opacity: 0; transform: scale(.9); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.pcard.is-in .edu-st { opacity: 1; transform: none; }
.pcard.is-in .edu-st:nth-child(6n+2) { transition-delay: .04s; }
.pcard.is-in .edu-st:nth-child(6n+3) { transition-delay: .08s; }
.pcard.is-in .edu-st:nth-child(6n+4) { transition-delay: .12s; }
.pcard.is-in .edu-st:nth-child(6n+5) { transition-delay: .16s; }
.pcard.is-in .edu-st:nth-child(6n) { transition-delay: .2s; }
.edu-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8em; margin-top: 1em; }
.edu-card { display: grid; gap: .35em; padding: 1em 1.1em; border: 1px solid #ECEAF7; border-radius: .9em; background: #FAF9FF; }
.edu-card:first-child { border: 0; background: linear-gradient(135deg, var(--a), var(--a2) 65%, var(--a3)); color: #fff; }
.edu-k { font-size: .72em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.edu-card b { font-size: 1.06em; }
.edu-card em { font-style: normal; font-size: .82em; opacity: .82; }
.edu-prog { display: block; height: .5em; margin: .25em 0; overflow: hidden; border-radius: 1em; background: #E9E6FA; }
.edu-prog i { display: block; width: 75%; height: 100%; background: linear-gradient(90deg, var(--a), var(--a2)); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease) .3s; }
.pcard.is-in .edu-prog i { transform: none; }

/* Nexus */
.ui--nx { --a: #7C3AED; --a2: #DB2777; --a3: #FB923C; }
.ui--nx .ui__body { background: #F5F6FA; }
.nx-hello { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6em; margin-bottom: 1em; }
.nx-hello b { font-family: var(--serif); font-weight: 400; font-size: 1.8em; line-height: 1; }
.nx-hello span { font-size: .9em; color: #6B7089; }
.nx-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.15fr; gap: .8em; }
.nx-tile { display: flex; flex-direction: column; gap: .3em; min-width: 0; padding: 1em; border: 1px solid #ECEEF3; border-radius: 1em; background: #fff; }
.nx-k { font-size: .72em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #80819A; }
.nx-worth b { font-size: 1.9em; letter-spacing: -.02em; color: #15803D; }
.nx-worth em, .nx-budget em { font-style: normal; font-size: .8em; color: #80819A; }
.nx-worth svg { width: 100%; height: 3.4em; margin-top: auto; }
.nx-line { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.pcard.is-in .nx-line { stroke-dashoffset: 0; }
.nx-budget { align-items: flex-start; }
.nx-ring {
  position: relative;
  width: 5.4em; height: 5.4em;
  margin: .35em 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--a2) calc(var(--pp) * 1%), #EEF0F5 0);
  transition: --pp 1.6s var(--ease) .2s;
}
.nx-ring::before { content: ""; position: absolute; inset: .6em; border-radius: 50%; background: #fff; }
.nx-ring b { position: relative; font-size: 1.05em; }
.pcard.is-in .nx-ring { --pp: 62; }
.nx-today { grid-column: 3; grid-row: 1 / span 2; }
.nx-today ul { display: grid; gap: .45em; margin: .35em 0 0; padding: 0; list-style: none; }
.nx-today li { display: flex; align-items: center; gap: .7em; padding: .55em .65em; border-radius: .6em; background: #F7F7FB; font-size: .88em; font-weight: 500; }
.nx-today time { font-family: var(--mono); font-size: .85em; color: #80819A; }
.nx-today li.is-now { background: linear-gradient(135deg, var(--a), var(--a2)); color: #fff; }
.nx-today li.is-now time { color: rgba(255, 255, 255, .8); }
.nx-stack { display: flex; height: .8em; margin: .6em 0 .35em; overflow: hidden; border-radius: 1em; }
.nx-stack i { height: 100%; }
.nx-time .pr { background: #16A34A; }
.nx-time .ne { background: #6C5DD3; }
.nx-time .re { background: #38BDF8; }
.nx-time .dr { background: #F97316; }
.nx-stack .pr { width: 46%; }
.nx-stack .ne { width: 30%; }
.nx-stack .re { width: 16%; }
.nx-stack .dr { width: 8%; }
.nx-time em { display: flex; flex-wrap: wrap; align-items: center; gap: .25em .5em; font-style: normal; font-size: .7em; color: #80819A; }
.nx-time em b { display: inline-block; width: .65em; height: .65em; border-radius: 50%; }
.nx-quote q { font-family: var(--serif); font-style: italic; font-size: 1.28em; line-height: 1.12; }

/* ==========================================================================
   PROCESS — the trail
   ========================================================================== */
.process { padding: clamp(96px, 12vw, 180px) 0 clamp(96px, 12vw, 170px); }
.trail { position: relative; }
.trail__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trail__base { fill: none; stroke: var(--ink); stroke-opacity: .4; stroke-width: 1.5; stroke-dasharray: 1.5 7; stroke-linecap: round; }
.trail__live { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-linecap: round; }
.trail__steps { position: relative; display: grid; gap: clamp(44px, 6vw, 72px); margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding-left: 46px; }
.step__dot {
  position: absolute;
  left: 3px; top: 3px;
  width: 18px; height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  transition: background-color .4s, border-color .4s, transform .6s var(--ease);
}
.step.is-reached .step__dot { background: var(--signal); border-color: var(--signal); transform: scale(1.2); }
.step__card { display: grid; gap: 12px; max-width: 470px; }
.step__num { color: var(--signal-text); }
.step h3 {
  font-weight: 700;
  font-stretch: 115%;
  font-size: clamp(1.7rem, 2.7vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.step p { color: var(--text-2); }
.step .step__num { color: var(--signal-text); }
.step .step__out { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line-2); color: var(--mute); }

@media (min-width: 900px) {
  /* Zig-zag: steps alternate sides and tuck up under each other. */
  .trail__steps { display: flex; flex-direction: column; gap: 0; }
  .step { width: 43%; padding-left: 0; }
  .step + .step { margin-top: -64px; }
  .step:nth-child(odd) { align-self: flex-start; display: flex; justify-content: flex-end; text-align: right; padding-right: 52px; }
  .step:nth-child(even) { align-self: flex-end; padding-left: 52px; }
  .step:nth-child(odd) .step__dot { left: auto; right: 0; }
  .step:nth-child(even) .step__dot { left: 0; }
  .step:nth-child(odd) .step__card { justify-items: end; }
}

/* ==========================================================================
   HORIZONS — atlas of future divisions
   ========================================================================== */
.horizons {
  padding: clamp(96px, 12vw, 180px) 0;
  background: var(--ink);
  color: var(--on-dark);
}
.atlas { display: grid; gap: clamp(28px, 3vw, 44px); }
.atlas__map {
  margin: 0;
  padding: clamp(8px, 1.2vw, 16px);
  border: 1px solid var(--line-d2);
  border-radius: 20px;
  background: radial-gradient(120% 90% at 35% 45%, rgba(255, 79, 0, .07), transparent 60%), var(--ink-2);
}
.atlas__svg { width: 100%; height: auto; overflow: visible; }
.atlas__svg .a-grid { stroke: var(--on-dark); stroke-opacity: .07; stroke-width: 1; fill: none; }
.atlas__svg .a-frame { fill: none; stroke: var(--on-dark); stroke-opacity: .35; stroke-width: 1; }
.atlas__svg .a-tick { stroke: var(--on-dark); stroke-opacity: .4; stroke-width: 1; }
.atlas__svg .a-deg { font-family: var(--mono); font-size: 10px; fill: var(--on-dark); fill-opacity: .45; letter-spacing: .06em; }
.atlas__svg .a-route { fill: none; stroke: var(--signal); stroke-opacity: .55; stroke-width: 1.5; stroke-dasharray: 3 8; stroke-linecap: round; animation: route 1.6s linear infinite; }
.atlas__svg .a-ship { fill: var(--signal); }
.atlas__svg .a-land {
  fill: var(--on-dark);
  fill-opacity: .025;
  stroke: var(--on-dark);
  stroke-opacity: .55;
  stroke-width: 1.4;
  stroke-dasharray: 6 7;
  animation: march 2.4s linear infinite;
  transition: fill-opacity .4s, stroke-opacity .4s;
}
.atlas__svg .a-isle { fill: none; stroke: var(--on-dark); stroke-opacity: .35; stroke-width: 1; stroke-dasharray: 3 4; }
.atlas__svg .a-tech { fill: var(--signal); fill-opacity: .12; stroke: var(--signal); stroke-width: 2; }
.atlas__svg .a-contour { fill: none; stroke: var(--signal); stroke-width: 1.1; }
.atlas__svg .a-pin { fill: var(--signal); }
.atlas__svg .a-pin-ring { fill: none; stroke: var(--signal); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease) infinite; }
.atlas__svg .a-name { font-family: var(--sans); font-stretch: 118%; font-weight: 700; font-size: 17px; letter-spacing: -.02em; fill: var(--on-dark); }
.atlas__svg .a-status { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .1em; fill: var(--mute-d); }
.atlas__svg .a-status.is-live { fill: var(--signal); }
.atlas__svg .a-leader { stroke: var(--on-dark); stroke-opacity: .35; stroke-width: 1; }
.atlas__svg .a-compass path { fill: none; stroke: var(--on-dark); stroke-opacity: .5; stroke-width: 1; }
.atlas__svg .a-compass .a-needle { fill: var(--signal); stroke: none; }
.atlas__svg .a-compass text { font-family: var(--mono); font-size: 11px; fill: var(--on-dark); fill-opacity: .7; }
.atlas__svg .a-scale line { stroke: var(--on-dark); stroke-opacity: .6; stroke-width: 1.5; }
.atlas__svg .a-scale rect { fill: var(--on-dark); fill-opacity: .6; }
.atlas__svg .a-scale text { font-family: var(--mono); font-size: 10px; fill: var(--on-dark); fill-opacity: .55; letter-spacing: .06em; }
.atlas__svg .a-group { transition: opacity .4s; }
.atlas__svg .a-group.is-hot .a-land { fill-opacity: .09; stroke-opacity: 1; }
.atlas.has-hot .atlas__svg .a-group:not(.is-hot) { opacity: .35; }
.atlas.has-hot .atlas__svg .a-routes { opacity: .4; }
@keyframes route { to { stroke-dashoffset: -22; } }
@keyframes march { to { stroke-dashoffset: -26; } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }

.atlas__legend { display: grid; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) {
  .atlas__legend { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 1100px) {
  .atlas__legend { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 28px; }
  .atlas__legend .division:last-child { border-bottom: 0; }
}
.division {
  display: grid;
  gap: 6px;
  padding: 18px 0 20px;
  border-top: 1px solid var(--line-d);
  outline-offset: 6px;
  transition: opacity .35s;
}
.division:last-child { border-bottom: 1px solid var(--line-d); }
.division__status { display: flex; align-items: center; gap: 9px; color: var(--mute-d); }
.division__status i { width: 9px; height: 9px; border: 1.5px dashed var(--mute-d); border-radius: 50%; }
.division.is-live .division__status { color: var(--signal); }
.division.is-live .division__status i { border: 0; }
.division__name { font-weight: 700; font-stretch: 118%; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.035em; }
.division__desc { max-width: 42ch; font-size: .95rem; color: var(--on-dark-2); }
.atlas.has-hot .division:not(.is-hot) { opacity: .4; }

/* ==========================================================================
   COMPANY
   ========================================================================== */
.company { padding: clamp(96px, 12vw, 180px) 0; }
.principles {
  display: grid;
  gap: 1px;
  border-block: 1px solid var(--line-2);
  background: var(--line-2);
}
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.principle {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 30px 28px 38px 0;
  background: var(--paper);
}
@media (min-width: 760px) { .principle { padding: 34px 32px 42px; } }
.principle__no {
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(3.4rem, 5.6vw, 5.4rem);
  line-height: .9;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ink);
  transition: color .45s var(--ease), -webkit-text-stroke-color .45s;
  margin-bottom: 10px;
}
.principle:hover .principle__no { color: var(--signal); -webkit-text-stroke-color: var(--signal); }
.principle h3 { font-weight: 700; font-stretch: 112%; font-size: 1.45rem; line-height: 1.08; letter-spacing: -.035em; }
.principle p { color: var(--text-2); font-size: .98rem; }

.engage { margin-top: clamp(80px, 9vw, 130px); }
.engage__label { margin-bottom: 22px; color: var(--mute); }
.engage__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .engage__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.model {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper-2);
  transition: transform .6s var(--ease), background-color .35s, color .35s !important;
}
.model h3 { font-weight: 700; font-stretch: 118%; font-size: 1.75rem; letter-spacing: -.04em; line-height: 1; }
.model p { max-width: 36ch; color: var(--text-2); transition: color .35s; }
.model__tag { order: -1; color: var(--signal-text); }
.model:hover { transform: translateY(-6px); background: var(--ink); color: var(--on-dark); }
.model:hover p { color: var(--on-dark-2); }
.model:hover .model__tag { color: var(--signal); }

.terrain-known { display: grid; gap: 18px; margin-top: clamp(64px, 7vw, 100px); }
.terrain-known > .mono { color: var(--mute); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  padding: clamp(96px, 12vw, 170px) 0;
  background: var(--signal);
  color: var(--ink);
}
.contact__grid { display: grid; gap: 56px; }
@media (min-width: 1100px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: start; }
}
.contact__title {
  font-weight: 750;
  font-stretch: 118%;
  font-size: clamp(3.4rem, 8.6vw, 9.4rem);
  line-height: .86;
  letter-spacing: -.06em;
}
.contact .contact__title em { color: var(--ink); }
.contact__lede { max-width: 34ch; margin-top: 30px; font-size: clamp(1.1rem, 1.45vw, 1.4rem); line-height: 1.45; }
.contact__details { display: grid; gap: 20px; margin-top: 44px; }
.contact__details dt { color: rgba(14, 16, 15, .78); }
.contact__details dd { margin-top: 6px; font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.2rem); overflow-wrap: anywhere; }
.contact__details a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: background-size .4s var(--ease); }
.contact__details a:hover { background-size: 0 1.5px; background-position: 100% 100%; }

.brief {
  display: grid;
  gap: 28px;
  align-content: start;
  padding: clamp(24px, 3.2vw, 44px);
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 50px 90px -50px rgba(70, 20, 0, .55);
}
.brief__set { display: grid; margin: 0; padding: 0; border: 0; min-width: 0; }
.brief__set legend { margin-bottom: 14px; padding: 0; color: var(--mute); }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pick span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  transition: background-color .2s, color .2s, border-color .2s;
}
.pick label:hover span { border-color: var(--ink); }
.pick input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pick input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.brief__row { display: grid; gap: 28px; }
@media (min-width: 640px) { .brief__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 4px; }
.field label { color: var(--mute); font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.field label span { text-transform: none; letter-spacing: 0; }
.field input,
.field textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1.5px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  transition: border-color .25s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--signal); }
.field.is-invalid input,
.field.is-invalid textarea { border-bottom-color: #C81E1E; }
.brief__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.brief__status { font-size: .95rem; font-weight: 500; }
.brief__status.is-error { color: #B3261E; }
.brief__status.is-ok { color: #15803D; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  overflow: hidden;
  padding-top: clamp(80px, 9vw, 130px);
  background: var(--ink);
  color: var(--on-dark);
}
.footer__top { display: grid; gap: 44px; }
@media (min-width: 760px) { .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__lead { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); } .footer__lead { grid-column: auto; } }
.footer__claim {
  margin-bottom: 30px;
  font-weight: 700;
  font-stretch: 118%;
  font-size: clamp(2.1rem, 3.6vw, 3.5rem);
  line-height: .94;
  letter-spacing: -.05em;
}
.footer__col { display: grid; gap: 11px; align-content: start; }
.footer__col h3 { margin-bottom: 8px; color: var(--mute-d); }
.footer__col a {
  width: fit-content;
  color: var(--on-dark-2);
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease), color .2s;
}
.footer__col a:hover { color: var(--on-dark); background-size: 100% 1px; }

.footer__word {
  margin-top: clamp(64px, 8vw, 120px);
  font-weight: 800;
  font-size: 19vw;
  line-height: .78;
  letter-spacing: -.045em;
  text-align: center;
  white-space: nowrap;
  color: var(--on-dark);
  user-select: none;
  -webkit-user-select: none;
}
.footer__word span { display: inline-block; font-variation-settings: "wdth" 100, "wght" 800; }
.footer__word span.is-dot { color: var(--signal); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 28px;
  margin-top: clamp(28px, 3vw, 44px);
  padding-top: 22px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line-d);
  color: var(--mute-d);
  font-size: .9rem;
}
.footer__divs { color: var(--mute-d); }
.footer__top-link { color: var(--on-dark); text-decoration: none; }
.footer__top-link:hover { color: var(--signal); }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--stagger, 0) * 90ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .plate[data-reveal] { transform: none; }
.js .plate[data-reveal] .plate__rule { transform: scaleX(0); transition: transform 1.4s var(--ease) .15s; }
.js .plate[data-reveal].is-in .plate__rule { transform: none; }

[data-split] .w { display: inline-block; vertical-align: top; }
.js [data-split] .w { overflow: hidden; padding: 0 .06em .1em 0; margin: 0 -.06em -.1em 0; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 42ms); }
.js [data-split].is-in .w > span { transform: none; }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal],
  .js [data-split] .w > span,
  .js .hero__title .ln__in,
  .js .hero__meta, .js .hero__base, .js .hero__foot { opacity: 1 !important; transform: none !important; }
  .ticker__track { animation: none; }
  .js .manifesto__text .sw { color: var(--text); }
  .js .manifesto__text em .sw { color: var(--signal-text); }
}
