:root {
  color-scheme: dark;
  --background: #10141f;
  --text: #eee9e2;
  --secondary: #b5bccb;
  --muted: #8e99af;
  --line: #303746;
  --mint: #afe2d6;
  --lilac: #d6aceb;
  --peach: #f5bf9c;
  --surface: #1b2230;
  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Trebuchet MS", "Segoe UI", sans-serif;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--background);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 760px;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at 78% 25%, #25263866, transparent 58%);
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 6px;
}
::selection { color: var(--background); background: var(--mint); }
button { cursor: pointer; }
.page-shell { width: min(1264px, calc(100% - 112px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  transform: translateY(-160%);
  color: var(--background);
  background: var(--mint);
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; align-items: center; gap: 13px; font-size: 17px; font-weight: 650; letter-spacing: .12em; }
.wordmark img { flex-shrink: 0; }
.wordmark-small { font-size: 10px; letter-spacing: .2em; margin-left: 3px; color: var(--secondary); }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; gap: 7px; color: var(--secondary); }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after { content: ""; position: absolute; bottom: 2px; left: 0; width: 18px; height: 2px; background: var(--mint); }
.site-nav a span { font-size: 16px; color: var(--muted); }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; color: var(--secondary); font-size: 11px; line-height: 1.7; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow-line { width: 24px; height: 1px; background: var(--mint); }
h1, h2 { font-weight: 600; }
h1 em, h2 em { font-family: var(--font-body); font-weight: 400; color: var(--mint); }
.intro { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 28px; padding: 76px 0 79px; }
.intro-copy { position: relative; z-index: 1; }
.intro h1 { font-family: var(--font-display); font-size: clamp(48px, 5.3vw, 77px); line-height: 1.08; letter-spacing: -.045em; margin: 28px 0; }
.intro h1 em { font-weight: 400; }
.intro-body { max-width: 490px; color: var(--secondary); font-size: 17px; line-height: 1.85; }
.intro-body p { margin: 0 0 17px; }
.intro-body p:last-child { margin-bottom: 0; }
.identity-art { position: relative; margin: -18px -18px 0 0; min-width: 0; }
.orbit-scene { display: block; width: 100%; height: auto; overflow: visible; }
.hero-logo { position: absolute; left: 15%; top: 18%; width: 70%; height: auto; filter: drop-shadow(0 0 24px #d44cda20); }
.hero-logo img { display: block; width: 100%; height: auto; }
.identity-art figcaption { color: var(--muted); font-size: 11px; letter-spacing: .08em; line-height: 1.8; position: absolute; bottom: 2%; right: 0; text-align: right; }
.identity-art figcaption span { color: var(--secondary); }
.explore-section { border-top: 1px solid var(--line); padding: 64px 0 66px; display: grid; grid-template-columns: 1fr 1.17fr; gap: 76px; }
.section-heading h2 { font-family: var(--font-display); font-size: clamp(30px, 3.1vw, 43px); line-height: 1.2; letter-spacing: -.025em; margin: 18px 0 0; }
.section-heading h2 em { color: var(--text); }
.explore-copy { padding-top: 27px; }
.explore-copy > p { color: var(--secondary); font-size: 17px; line-height: 1.85; margin: 0; max-width: 590px; }
.explore-copy strong { color: var(--text); font-weight: 500; }
.space-list { display: flex; flex-wrap: wrap; gap: 12px 20px; padding: 0; margin: 28px 0 0; list-style: none; color: var(--muted); font-size: 11px; letter-spacing: .025em; }
.space-list li { display: flex; gap: 8px; align-items: center; }
.space-list li::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.space-list .space-focus { color: var(--mint); }
.space-list .space-focus::before { background: var(--mint); }
.purpose-section { position: relative; padding: 57px 0 76px; border-top: 1px solid var(--line); }
.purpose-statement { margin: 25px 0 0; max-width: 950px; font-family: var(--font-display); font-size: clamp(27px, 3.3vw, 44px); line-height: 1.45; letter-spacing: -.025em; }
.purpose-statement span { color: var(--lilac); font-weight: 600; }
.recruitment-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.17fr); gap: 76px; padding: 64px 0 76px; border-top: 1px solid var(--line); scroll-margin-top: 32px; }
.recruitment-lead { max-width: 350px; margin: 22px 0 0; font-size: 17px; line-height: 1.85; color: var(--secondary); }
.public-channel { margin-top: 38px; padding-left: 22px; border-left: 1px solid #526e6d; max-width: 350px; }
.public-channel .channel-name { font-family: var(--font-display); font-size: 24px; line-height: 1.4; letter-spacing: -.025em; color: var(--mint); margin: 12px 0 9px; }
.public-channel > p:last-child { color: var(--secondary); font-size: 14px; line-height: 1.8; margin: 0; }
.recruitment-details h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.015em; line-height: 1.4; margin: 3px 0 17px; }
.recruitment-details > p { color: var(--secondary); font-size: 16px; line-height: 1.85; margin: 0 0 17px; }
.recruitment-details > p strong { color: var(--text); font-weight: 500; }
.recruitment-details > p + h3 { margin-top: 36px; }
.requirements-list { list-style: none; padding: 0; margin: 0; }
.requirements-list li { border-top: 1px solid var(--line); padding: 18px 0; }
.requirements-list li:last-child { padding-bottom: 0; }
.requirements-list strong { font-size: 15px; font-weight: 600; line-height: 1.6; }
.requirements-list p { color: var(--secondary); font-size: 14px; line-height: 1.8; margin: 6px 0 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; min-height: 95px; padding: 24px 0; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.6; color: var(--muted); }
.site-footer > :first-child { color: var(--secondary); }
.site-footer a { min-height: 44px; display: inline-flex; gap: 8px; align-items: center; color: var(--secondary); }
.site-footer a:hover { color: var(--mint); }

/* The directory shares the same typography and navigation as the About page. */
.directory-intro { padding: 66px 0 34px; }
.directory-intro h1 { font-family: var(--font-display); font-size: clamp(42px, 4.9vw, 67px); letter-spacing: -.045em; line-height: 1.15; margin: 22px 0 18px; }
.directory-intro > p:last-child { font-size: 16px; line-height: 1.8; color: var(--secondary); margin-bottom: 0; }
.directory-controls { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 8px 0 27px; }
.search-field { width: min(360px, 100%); }
.search-field label { display: block; color: var(--secondary); font-size: 11px; margin-bottom: 9px; }
.search-input-wrap { position: relative; }
.search-input-wrap svg { position: absolute; pointer-events: none; left: 14px; top: 15px; width: 18px; height: 18px; stroke: var(--muted); stroke-width: 1.5; fill: none; }
.search-input-wrap input { display: block; width: 100%; min-height: 48px; border: 1px solid #444f62; background: #171d29; color: var(--text); border-radius: 3px; padding: 12px 48px 12px 42px; font-size: 15px; }
.search-input-wrap input::placeholder { color: #9ca7bb; opacity: 1; }
.search-input-wrap kbd { position: absolute; top: 15px; right: 15px; color: var(--muted); font-size: 13px; pointer-events: none; }
.search-input-wrap:focus-within kbd { visibility: hidden; }
.category-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.category-filters button { min-height: 46px; padding: 11px 14px; border: 1px solid transparent; background: transparent; color: var(--secondary); font-size: 12px; border-radius: 3px; }
.category-filters button:hover { background: var(--surface); color: var(--text); }
.category-filters button[aria-pressed="true"] { color: var(--mint); border-color: #526e6d; background: #afe2d60b; }
.category-filters button span { color: var(--muted); margin-left: 7px; font-size: 10px; font-variant-numeric: tabular-nums; }
.directory-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-bottom: 1px solid var(--line); padding: 0 0 16px; color: var(--muted); font-size: 11px; }
.directory-meta p { margin: 0; line-height: 1.6; }
.directory-meta #result-count { color: var(--secondary); }
.directory-groups { display: grid; grid-template-columns: 1fr 1.13fr; gap: 76px; padding: 35px 0 72px; }
.directory-groups.single-group { grid-template-columns: minmax(0, 800px); }
.catalog-group { min-width: 0; }
.group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.group-heading h2 { font-size: 11px; text-transform: uppercase; letter-spacing: .15em; color: var(--mint); margin: 0; line-height: 1.7; }
.catalog-group[data-category="tools"] .group-heading h2 { color: var(--lilac); }
.group-count { font-size: 10px; color: var(--muted); font-variant-numeric: tabular-nums; }
.service-list { margin: 0; padding: 0; list-style: none; }
.service-item { border-bottom: 1px solid var(--line); }
.service-link { min-height: 98px; display: grid; grid-template-columns: 35px 1fr 18px; align-items: center; gap: 17px; padding: 20px 0; }
.service-symbol { display: grid; place-items: center; width: 35px; height: 35px; color: var(--mint); font: 10px/1 ui-monospace, "Cascadia Code", monospace; letter-spacing: .05em; border: 1px solid #42565c; border-radius: 50%; }
.catalog-group[data-category="tools"] .service-symbol { color: var(--lilac); border-color: #55495f; }
.service-copy { min-width: 0; }
.service-name { display: block; color: var(--text); font-size: 17px; font-weight: 450; line-height: 1.5; overflow-wrap: anywhere; }
.service-description { display: block; margin-top: 4px; font-size: 12px; line-height: 1.75; color: var(--muted); overflow-wrap: anywhere; }
.service-arrow { color: var(--muted); font-size: 18px; justify-self: end; transition: transform .15s ease; }
.service-link:hover .service-name { color: var(--mint); }
.service-link:hover .service-arrow { color: var(--mint); transform: translate(2px, -2px); }
.service-link:focus-visible { outline-offset: 3px; }
.empty-state { padding: 58px 0 76px; text-align: center; }
.empty-state h2 { font: 500 34px/1.3 var(--font-display); }
.empty-state p { color: var(--secondary); font-size: 15px; line-height: 1.8; }
.empty-state button { min-height: 46px; color: var(--mint); background: transparent; border: 1px solid #526e6d; border-radius: 3px; padding: 10px 18px; margin-top: 9px; }
.empty-state button:hover { background: var(--surface); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 1500px) {
  .intro { padding-block: 84px; }
  .intro h1 { font-size: 80px; }
}
@media (max-width: 1000px) {
  .page-shell { width: calc(100% - 72px); }
  .intro { gap: 8px; padding-block: 64px; }
  .intro h1 { font-size: clamp(43px, 5.6vw, 65px); }
  .intro-body { font-size: 16px; }
  .identity-art { margin-right: -8px; }
  .identity-art figcaption { bottom: -9%; }
  .explore-section, .recruitment-section, .directory-groups { gap: 42px; }
  .purpose-statement { padding-right: 25px; }
  .directory-controls { align-items: start; flex-direction: column; gap: 18px; }
  .search-field { width: 100%; max-width: 500px; }
}
@media (max-width: 700px) {
  .page-shell { width: calc(100% - 44px); }
  .site-header { min-height: 86px; gap: 16px; }
  .wordmark { gap: 8px; font-size: 14px; letter-spacing: .1em; }
  .wordmark img { width: 29px; height: 29px; }
  .wordmark-small { display: none; }
  .site-nav { gap: 23px; font-size: 13px; }
  .site-nav a { min-height: 46px; }
  .intro { grid-template-columns: 1fr; padding: 43px 0 39px; gap: 22px; }
  .intro h1 { font-size: clamp(43px, 9.4vw, 63px); margin-block: 23px; }
  .intro-body { font-size: 16px; line-height: 1.85; max-width: 530px; }
  .identity-art { width: min(335px, 84%); margin: -7px auto 9px; }
  .identity-art figcaption { bottom: -3%; right: -9%; font-size: 10px; }
  .eyebrow { font-size: 10px; letter-spacing: .13em; }
  .explore-section { grid-template-columns: 1fr; gap: 22px; padding-block: 39px; }
  .section-heading h2 { font-size: 34px; }
  .explore-copy { padding-top: 0; }
  .explore-copy > p { font-size: 16px; }
  .space-list { font-size: 11px; margin-top: 22px; gap: 13px 18px; }
  .purpose-section { padding: 38px 0 48px; }
  .purpose-statement { font-size: clamp(27px, 6.1vw, 34px); line-height: 1.5; padding-right: 8px; margin-top: 20px; }
  .recruitment-section { grid-template-columns: 1fr; gap: 36px; padding: 39px 0 48px; }
  .recruitment-lead { font-size: 16px; margin-top: 18px; }
  .public-channel { margin-top: 26px; padding-left: 18px; }
  .site-footer { min-height: 110px; gap: 10px; font-size: 10px; }
  .site-footer > :nth-child(2) { order: 3; flex-basis: 100%; }
  .directory-intro { padding: 43px 0 30px; }
  .directory-intro h1 { font-size: 47px; }
  .directory-intro > p:last-child { font-size: 15px; }
  .directory-controls { padding-bottom: 22px; gap: 18px; }
  .category-filters { gap: 2px; width: 100%; }
  .category-filters button { padding-inline: 12px; font-size: 11px; }
  .category-filters button span { margin-left: 4px; }
  .search-input-wrap input { font-size: 16px; }
  .search-input-wrap kbd { display: none; }
  .directory-groups { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 44px; gap: 42px; }
  .service-link { min-height: 94px; gap: 14px; }
  .service-name { font-size: 16px; }
  .directory-meta { font-size: 10px; }
}
@media (max-width: 360px) {
  .page-shell { width: calc(100% - 36px); }
  .site-header { flex-wrap: wrap; column-gap: 12px; row-gap: 4px; padding-block: 14px; }
  .site-nav { gap: 16px; margin-left: auto; }
  .intro h1 { font-size: 42px; }
  .directory-intro h1 { font-size: 40px; }
  .category-filters button { padding-inline: 10px; }
  .directory-meta { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
