@charset "UTF-8";

:root {
  color-scheme: dark;
  --ink: #e2ede1;
  --muted: #b5c4b9;
  --sage: #88a187;
  --sage-deep: #526b5a;
  --gold: #e2ac09;
  --panel: rgba(8, 18, 19, .82);
  --panel-soft: rgba(11, 24, 24, .72);
  --line: rgba(180, 203, 184, .2);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0 !important;
  min-width: 320px;
  color: var(--ink) !important;
  background-color: #122022 !important;
  background-image: linear-gradient(180deg, rgba(7, 17, 18, .2), rgba(7, 17, 18, .72)), url("/images/deep.jpg") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
  font-family: Ubuntu, "Segoe UI", system-ui, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  overflow-wrap: anywhere;
}

img, video, iframe, object, embed { max-width: 100% !important; }
img { height: auto; }
a { color: #e5c968; text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { color: #f5df99; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #e6c55c;
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: #101918;
  background: #d7e5d1;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 9999;
  inset: 0 0 auto;
  min-height: 70px;
  padding: 10px clamp(14px, 3vw, 36px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  background: rgba(8, 17, 19, .94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .24);
  backdrop-filter: blur(14px);
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
}
.brand-mark { color: var(--sage); font-size: 1.6rem; line-height: 1; }
.brand-name { font-size: 1.12rem; }
.brand-caption {
  color: #95a69a;
  font-size: .73rem;
  font-weight: 400;
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}
.nav-group { position: relative; }
.nav-group > summary, .nav-direct {
  display: block;
  padding: 9px 10px;
  color: #d7e1d8;
  border-radius: 9px;
  cursor: pointer;
  list-style: none;
  text-decoration: none;
  font-size: .9rem;
  white-space: nowrap;
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: "⌄"; padding-left: 7px; color: var(--sage); }
.nav-group[open] > summary, .nav-group > summary:hover, .nav-direct:hover {
  color: #fff;
  background: rgba(136, 161, 135, .18);
}
.nav-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 3;
  width: min(320px, 88vw);
  max-height: min(72vh, 640px);
  overflow: auto;
  padding: 8px;
  display: grid;
  gap: 2px;
  background: #101c1d;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .42);
}
.nav-panel a {
  padding: 8px 10px;
  color: #dce7dc;
  border-radius: 7px;
  text-decoration: none;
  font-size: .88rem;
}
.nav-panel a:hover { background: rgba(136, 161, 135, .17); }
.nav-panel .nav-join { color: #f4d36a; border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: 3px; }
.nav-toggle { display: none; }

body.site-subpage { padding: 94px clamp(12px, 2.5vw, 28px) 36px !important; }
body.site-subpage > section.home-button { display: none !important; }
body.site-subpage .table-scroll {
  max-width: min(100%, 1120px);
  margin: 1rem auto;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border-radius: 8px;
}
body.site-subpage table {
  max-width: 100% !important;
  height: auto !important;
  border-color: rgba(190, 207, 190, .32) !important;
}
body.site-subpage td, body.site-subpage th { line-height: 1.5; }
body.site-subpage pre, body.site-subpage code { overflow-wrap: anywhere; }
body.site-subpage pre { max-width: 100%; overflow-x: auto; padding: 14px; background: rgba(3, 10, 11, .65); border: 1px solid var(--line); border-radius: 9px; }
body.site-subpage input, body.site-subpage select, body.site-subpage textarea, body.site-subpage button { max-width: 100%; font: inherit; }
body.site-subpage .bottom-text { position: static !important; display: block; margin: 30px auto 0; text-align: center; }
body.site-subpage .bottom-text2 { position: static !important; }

body.site-home { padding: 0 !important; min-height: 100vh; }
.home-main { width: min(1160px, calc(100% - 36px)); margin: 0 auto; padding: 102px 0 52px; }
.hero {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(30px, 7vw, 80px) 0 clamp(36px, 6vw, 70px);
}
.eyebrow, .section-kicker {
  color: #b6c8b7;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 850px;
  margin: 10px 0 14px;
  color: #f0f3eb;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.03;
}
.hero h1 span { color: #a7bea6; }
.hero-copy { max-width: 650px; margin: 0; color: #d0dbd1; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 25px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(208, 221, 207, .35);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(5, 15, 17, .45);
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.button:hover { color: #fff; background: rgba(136, 161, 135, .22); transform: translateY(-1px); }
.button-primary { border-color: #94ad92; color: #101918; background: #a9bea4; }
.button-primary:hover { color: #0c1513; background: #c1d1b9; }
.connect-card {
  display: grid;
  grid-template-columns: minmax(190px, .75fr) 1.25fr;
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 4vw, 34px);
  background: linear-gradient(120deg, rgba(12, 27, 27, .88), rgba(11, 21, 22, .76));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}
.connect-title { margin: 0; color: #edf2e8; font-size: 1.18rem; }
.connect-subtitle { margin: 5px 0 0; color: #a9b9ac; font-size: .9rem; }
.connect-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.connect-item { padding: 12px 14px; background: rgba(0, 0, 0, .2); border: 1px solid rgba(190, 207, 190, .13); border-radius: 12px; }
.connect-item span { display: block; color: #99ad9c; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; }
.connect-item strong { display: block; margin-top: 3px; color: #e5ede3; font-size: .98rem; overflow-wrap: anywhere; }
.directory-section { padding-top: clamp(46px, 7vw, 80px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 22px; }
.section-heading h2 { margin: 3px 0 0; color: #f0f3eb; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -.035em; }
.section-heading p:last-child { max-width: 440px; margin: 0; color: #a9b9ac; }
.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.directory-card {
  min-width: 0;
  padding: 21px 22px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}
.directory-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.directory-card h3 { margin: 0; color: #d9e5d7; font-size: 1.17rem; font-weight: 700; }
.join-chip { padding: 4px 10px; color: #d5e0d1; background: rgba(136, 161, 135, .16); border: 1px solid rgba(136, 161, 135, .34); border-radius: 999px; font-size: .78rem; text-decoration: none; white-space: nowrap; }
.join-chip:hover { background: rgba(136, 161, 135, .27); }
.directory-description { margin: 7px 0 12px; color: #aab9ad; font-size: .91rem; }
.directory-card ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 18px; margin: 0; padding: 0; list-style: none; }
.directory-card li a { display: inline-block; padding: 3px 0; color: #e3c767; font-size: .92rem; }
.directory-card li a:hover { color: #f5df99; }
.site-footer { width: min(1160px, calc(100% - 36px)); margin: 0 auto; padding: 25px 0 32px; color: #9eada1; border-top: 1px solid var(--line); font-size: .83rem; }
.site-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 22px; }
.site-footer a { color: #d5c06c; }

@media (max-width: 1024px) {
  .site-header { min-height: 64px; flex-wrap: wrap; gap: 0 14px; }
  .brand-caption { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    padding: 8px 11px;
    color: var(--ink);
    background: rgba(136, 161, 135, .12);
    border: 1px solid var(--line);
    border-radius: 9px;
    font: inherit;
    cursor: pointer;
  }
  .nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after { width: 16px; height: 2px; display: block; background: #bdcdbd; content: ""; }
  .nav-toggle-lines { position: relative; }
  .nav-toggle-lines::before { position: absolute; top: -5px; }
  .nav-toggle-lines::after { position: absolute; top: 5px; }
  .primary-nav { display: none; flex: 1 0 100%; max-height: calc(100vh - 75px); overflow-y: auto; padding: 12px 0 5px; align-items: stretch; justify-content: start; flex-direction: column; }
  .site-header.nav-open .primary-nav { display: flex; }
  .nav-group > summary, .nav-direct { padding: 10px 12px; }
  .nav-panel { position: static; width: auto; max-height: none; margin: 3px 0 7px 8px; box-shadow: none; background: rgba(2, 8, 9, .45); }
  .nav-group[open] > summary::after { content: "⌃"; }
  body.site-subpage { padding-top: 82px !important; }
  .home-main { padding-top: 88px; }
}
@media (max-width: 650px) {
  body { background-attachment: scroll !important; }
  .home-main { width: min(100% - 28px, 1160px); padding-top: 82px; }
  .hero { min-height: 0; padding: 50px 0 32px; }
  .hero h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { width: 100%; align-items: stretch; }
  .hero-actions .button { flex: 1 1 100%; }
  .connect-card { grid-template-columns: 1fr; gap: 17px; padding: 18px; }
  .connect-details { grid-template-columns: 1fr; }
  .connect-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
  .connect-item strong { margin-top: 0; text-align: right; }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: 7px; }
  .directory-grid { grid-template-columns: 1fr; gap: 11px; }
  .directory-card { padding: 18px; }
  .directory-card ul { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { width: calc(100% - 28px); }
  .site-footer-inner { display: block; }
  body.site-subpage { padding: 82px 11px 28px !important; }
  body.site-subpage table { font-size: .9rem; }
  body.site-subpage .table-scroll { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
