@font-face {
  font-family: Hub;
  src: url("fonts/space.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: HubMono;
  src: url("fonts/mono.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #eeeef7;
  --muted: #a4a5be;
  --line: #32344c;
  --accent: #ddf2ac;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: #060712;
  color: var(--ink);
  font-family: Hub, sans-serif;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
[hidden] {
  display: none !important;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #ddf2ac;
  outline-offset: 5px;
}
.skip {
  position: fixed;
  z-index: 5;
  top: 10px;
  left: 10px;
  padding: 10px;
  background: #ddf2ac;
  color: #151b12;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.portal-sky {
  position: fixed;
  inset: -100px 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 25%, #433e713d, transparent 40%),
    radial-gradient(ellipse at 90% 80%, #274e5a28, transparent 45%);
}
.portal-sky svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #605c9140;
  stroke-width: 0.8;
  transform: translateY(calc(var(--scene-scroll, 0) * -65px));
}
.portal-sky circle {
  fill: #8a89bb;
}
.portal-sky .sky-orbit {
  fill: none;
  animation: sky-drift 40s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.portal-shell {
  position: relative;
  z-index: 1;
  width: calc(100% - 88px);
  max-width: 1480px;
  margin: 30px auto 55px;
  background: #0d0e20;
  border: 1px solid #45455f;
  border-radius: 16px;
  box-shadow:
    0 0 0 6px #0b0c1acc,
    0 0 0 7px #9d9dca15,
    0 32px 90px #000b;
  overflow: clip;
}
.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 28px clamp(22px, 4vw, 62px);
  border-bottom: 1px solid #32344c;
}
.portal-brand {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  font:
    600 14px Hub,
    sans-serif;
  letter-spacing: 0.1em;
}
.portal-brand svg {
  width: 37px;
  height: 37px;
  fill: none;
  stroke: #d1e7a6;
  stroke-width: 1.1;
}
.portal-brand > span > span {
  display: block;
  margin-top: 5px;
  font:
    400 7px HubMono,
    monospace;
  letter-spacing: 0.07em;
  color: #999ab3;
}
.masthead nav {
  display: flex;
  gap: 35px;
}
.masthead nav a {
  font-size: 10px;
  text-decoration: none;
}
.portal-time {
  display: grid;
  gap: 5px;
  text-align: right;
}
.portal-time span {
  font:
    400 7px HubMono,
    monospace;
  color: #9c9db6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.portal-time time {
  font:
    400 16px HubMono,
    monospace;
  color: #d3d9df;
}
main {
  padding: 0 clamp(22px, 4vw, 62px);
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0 40px;
}
.portal-hero {
  position: sticky;
  top: 30px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 42px 0 25px;
  height: fit-content;
}
.eyebrow {
  font:
    400 8px/1.6 HubMono,
    monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a7abc8;
  margin: 0 0 24px;
}
.portal-hero h1 {
  font:
    500 clamp(52px, 5vw, 68px)/0.9 Hub,
    sans-serif;
  letter-spacing: -0.085em;
  margin: 0;
}
.portal-hero h1 > span {
  color: #d9efaa;
}
.deck {
  font:
    400 24px/1.2 Hub,
    sans-serif;
  color: #afb2ca;
  letter-spacing: -0.045em;
  margin: 25px 0 30px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
}
.portal-primary,
.portal-primary:visited {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  padding: 13px 17px;
  background: #dbedb2;
  color: #1a2416;
  text-decoration: none;
  font-size: 10px;
  border: 1px solid #eef8d6;
  border-radius: 4px;
  box-shadow: 0 5px 13px #0006;
}
.hero-actions > a:last-child {
  font-size: 10px;
  text-underline-offset: 5px;
  color: #bfc6dd;
}
.hero-count {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-top: 32px;
}
.hero-count strong {
  font:
    400 30px HubMono,
    monospace;
  color: #d7d9e5;
  letter-spacing: -0.08em;
}
.hero-count span {
  font:
    400 7px/1.8 HubMono,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9a9db9;
}
.portal-orrery {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  width: 100%;
  margin-top: 25px;
  isolation: isolate;
}
.portal-orrery svg {
  width: 100%;
  height: 100%;
  display: block;
}
.orbit-lines {
  fill: none;
  stroke: #7d83ba;
  stroke-width: 0.8;
  opacity: 0.5;
}
.hub-rotor {
  fill: #ddf2ac;
  transform-origin: 300px 300px;
  animation: hub-orbit 60s linear infinite;
  animation-play-state: paused;
}
.hub-rotor-two {
  fill: #b7beed;
  animation-duration: 84s;
  animation-direction: reverse;
}
.hub-cross {
  stroke: #9a9fc0;
  stroke-width: 1;
  opacity: 0.55;
}
.hub-center {
  fill: #151c2e;
  stroke: #9faeb6;
  stroke-width: 0.8;
}
.hub-mark {
  fill: none;
  stroke: #d8efb3;
  stroke-width: 1.8;
}
.orbit-label {
  position: absolute;
  font:
    400 6px HubMono,
    monospace;
  letter-spacing: 0.18em;
  color: #828aa9;
}
.orbit-label-one {
  top: 7%;
  left: 2%;
}
.orbit-label-two {
  bottom: 6%;
  right: 2%;
}
.service-directory {
  padding: 42px 0 35px;
  min-width: 0;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 25px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.section-heading h2 {
  font:
    500 clamp(34px, 4.7vw, 63px)/1 Hub,
    sans-serif;
  letter-spacing: -0.065em;
  margin: 0;
}
.section-heading h2 > span {
  color: #d8efb3;
}
.service-search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #383d56;
  padding: 11px 14px;
  border-radius: 4px;
  background: #11162a;
  width: 230px;
}
.service-search svg {
  width: 16px;
  fill: none;
  stroke: #a5acc7;
  stroke-width: 1.5;
}
.service-search input {
  background: transparent;
  border: 0;
  outline: 0;
  color: #e1e4ef;
  width: 100%;
  min-width: 0;
  font-size: 10px;
}
.directory-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.directory-controls > div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.directory-controls button {
  border: 1px solid #353b55;
  background: transparent;
  color: #bfc3db;
  padding: 9px 13px;
  font-size: 9px;
  border-radius: 4px;
  cursor: pointer;
}
.directory-controls button[aria-pressed="true"] {
  background: #d8e9b0;
  color: #1b2417;
  border-color: #d8e9b0;
}
.directory-controls > span {
  font:
    400 8px HubMono,
    monospace;
  color: #999fb8;
}
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  min-width: 0;
  border: 1px solid #343b55;
  border-radius: 9px;
  background: linear-gradient(140deg, #1a2036, #11172a);
  box-shadow: 0 6px 18px #0003;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: #83966d;
}
.service-card a {
  display: block;
  height: 100%;
  padding: 25px;
  text-decoration: none;
}
.service-top {
  display: flex;
  align-items: center;
  gap: 13px;
}
.service-top svg {
  width: 26px;
  height: 26px;
  color: #b8c9a6;
}
.service-top > span {
  font:
    400 7px HubMono,
    monospace;
  letter-spacing: 0.1em;
  color: #929bb9;
  text-transform: uppercase;
}
.service-top b {
  margin-left: auto;
  font-size: 18px;
  font-weight: 400;
  color: #a7b59d;
}
.service-card h3 {
  font:
    500 33px/1 Hub,
    sans-serif;
  letter-spacing: -0.045em;
  margin: 31px 0 12px;
}
.service-card p {
  font-size: 10px;
  color: #a1adc7;
  margin: 0;
}
.service-open {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #303c51;
  font:
    400 8px HubMono,
    monospace;
  color: #bcc3d7;
}
.service-open i {
  font-style: normal;
  color: #cfdfa9;
}
.service-card[data-category="AI"] {
  grid-column: 1 / -1;
  background: linear-gradient(130deg, #24352e, #142328);
  border-color: #4d654c;
}
.service-card[data-category="Media"] .service-top svg {
  color: #b8b4e9;
}
.empty-services {
  padding: 35px;
  border: 1px solid #343b55;
  font-size: 13px;
}
.empty-services button {
  background: none;
  border: 0;
  color: #d8efb3;
  text-decoration: underline;
  cursor: pointer;
}
.portal-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  border-top: 1px solid #303850;
  padding: 25px 0 35px;
  color: #9ba6be;
}
.portal-note > span {
  font-size: 30px;
  color: #a9c792;
}
.portal-note p {
  font-size: 10px;
  flex: 1;
  line-height: 1.7;
}
.portal-note > a {
  font-size: 10px;
  color: #c6d5b5;
  text-underline-offset: 5px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 25px clamp(22px, 4vw, 62px);
  border-top: 1px solid #32344c;
  font:
    400 8px HubMono,
    monospace;
  color: #929bb5;
}
footer > span:first-child {
  letter-spacing: 0.16em;
  color: #c1c7d9;
}
footer nav {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
}
footer a {
  text-decoration: none;
}
button[data-ambient-toggle] {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
[data-motion="on"] .hub-rotor,
[data-motion="on"] .sky-orbit {
  animation-play-state: running;
}
@keyframes hub-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes sky-drift {
  to {
    transform: translateY(35px) rotate(2deg);
  }
}
@media (max-width: 1050px) {
  main {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 0 24px;
  }
  .portal-hero {
    gap: 0;
  }
  .portal-hero h1 {
    font-size: 54px;
  }
  .portal-brand > span > span {
    display: none;
  }
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portal-time {
    display: none;
  }
}
@media (max-width: 650px) {
  main {
    display: block;
  }
  .portal-shell {
    width: calc(100% - 24px);
    margin: 12px auto 30px;
    border-radius: 11px;
  }
  .masthead {
    padding-block: 22px;
    gap: 20px;
  }
  .masthead nav {
    gap: 17px;
  }
  .masthead nav a {
    font-size: 8px;
  }
  .portal-brand {
    font-size: 10px;
    gap: 10px;
  }
  .portal-brand svg {
    width: 29px;
  }
  .portal-hero {
    position: static;
    display: block;
    padding: 40px 0 10px;
    gap: 5px;
  }
  .portal-hero h1 {
    font-size: clamp(65px, 19vw, 100px);
  }
  .deck {
    font-size: 30px;
    margin: 24px 0;
  }
  .hero-actions {
    gap: 20px;
  }
  .portal-primary {
    font-size: 9px;
    gap: 20px;
  }
  .hero-actions > a:last-child {
    font-size: 9px;
  }
  .hero-count {
    margin-top: 25px;
  }
  .portal-orrery {
    display: none;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .service-search {
    width: 100%;
  }
  .directory-controls {
    align-items: start;
    flex-direction: column;
    gap: 13px;
  }
  .directory-controls button {
    font-size: 8px;
    padding: 9px 10px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .service-card a {
    padding: 22px;
  }
  .service-card h3 {
    margin-top: 25px;
  }
  .portal-note {
    flex-wrap: wrap;
    gap: 12px;
  }
  .portal-note > a {
    margin-left: 40px;
  }
  footer {
    flex-wrap: wrap;
    gap: 22px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  footer nav {
    gap: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .portal-sky svg,
  .sky-orbit,
  .hub-rotor {
    animation: none !important;
    transform: none !important;
  }
  .service-card {
    transition: none;
  }
  .service-card:hover {
    transform: none;
  }
}
