:root {
  --bg: #090b0a;
  --bg-soft: #0d110f;
  --panel: #101612;
  --panel-2: #131c16;
  --green: #18271e;
  --green-soft: #24392b;
  --gold: #b79a5a;
  --gold-bright: #d6bd7c;
  --ivory: #efe8d8;
  --muted: #a89f8c;
  --line: rgba(183, 154, 90, .28);
  --line-strong: rgba(214, 189, 124, .55);
  --shadow: 0 28px 70px rgba(0,0,0,.34);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% 0%, rgba(38, 60, 45, .22), transparent 32rem),
    linear-gradient(180deg, #090b0a 0%, #0b0e0c 45%, #080a09 100%);
  font-family: var(--sans);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 180px rgba(0,0,0,.78);
}

a {
  color: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

.ambient {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(183,154,90,.08);
  transform: rotate(45deg);
  pointer-events: none;
}

.ambient-one {
  top: 12rem;
  left: -16rem;
}

.ambient-two {
  right: -17rem;
  top: 41rem;
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(183,154,90,.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 40px;
  display: grid;
  place-items: center;
  font: 700 17px/1 var(--serif);
  color: var(--gold-bright);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(27,44,33,.85), rgba(9,12,10,.9));
  clip-path: polygon(50% 0, 92% 14%, 92% 68%, 50% 100%, 8% 68%, 8% 14%);
}

.brand-name {
  font: 600 14px/1.1 var(--serif);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-link:hover {
  color: var(--gold-bright);
}

.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  width: min(900px, 94vw);
  height: 540px;
  opacity: .30;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(183,154,90,.11) 50%, transparent 50.2%),
    radial-gradient(ellipse at center, rgba(35,59,43,.32), transparent 64%);
  border: 1px solid rgba(183,154,90,.08);
  clip-path: polygon(10% 28%, 23% 28%, 28% 18%, 38% 18%, 43% 7%, 57% 7%, 62% 18%, 72% 18%, 77% 28%, 90% 28%, 90% 90%, 10% 90%);
  pointer-events: none;
}

.hero-crest {
  width: 104px;
  height: 124px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--gold-bright);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(24,39,30,.88), rgba(9,12,10,.62));
  clip-path: polygon(50% 0, 92% 13%, 92% 67%, 50% 100%, 8% 67%, 8% 13%);
  box-shadow: 0 0 0 8px rgba(183,154,90,.025);
}

.hero-crest::before,
.hero-crest::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 72px;
  border-top: 1px solid rgba(214,189,124,.45);
  border-bottom: 1px solid rgba(214,189,124,.22);
  top: 22px;
}

.hero-crest::before {
  right: calc(100% + 10px);
  transform: rotate(-16deg);
}

.hero-crest::after {
  left: calc(100% + 10px);
  transform: rotate(16deg);
}

.hero-crest span {
  font: 700 54px/1 var(--serif);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 940px;
  font: 500 clamp(56px, 9vw, 126px)/.84 var(--serif);
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--gold-bright);
  font-size: .64em;
  letter-spacing: .18em;
}

.hero-copy {
  width: min(660px, 100%);
  margin: 32px auto 0;
  color: #c8c0ae;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gateway-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(16,22,18,.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.lock {
  font-size: 8px;
}

.private-button {
  min-width: 310px;
  padding: 15px 24px;
  border: 1px solid rgba(183,154,90,.34);
  border-radius: 4px;
  color: #716d60;
  background: linear-gradient(180deg, rgba(28,48,35,.65), rgba(14,23,18,.72));
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .03em;
  cursor: not-allowed;
}

.hero-rule {
  width: min(760px, 90%);
  margin-top: 54px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  position: relative;
}

.hero-rule span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--bg);
  border: 1px solid var(--gold);
}

.intro {
  padding: 82px 0;
  border-top: 1px solid rgba(183,154,90,.16);
}

.intro-grid {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 42px;
  align-items: center;
}

.estate-seal {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  position: relative;
  color: var(--gold-bright);
  background:
    radial-gradient(circle, rgba(31,52,38,.8), rgba(10,14,11,.95) 68%);
  box-shadow: inset 0 0 0 8px rgba(183,154,90,.04);
}

.estate-seal::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(183,154,90,.2);
  border-radius: 50%;
}

.estate-seal .tree {
  font: 700 62px/1 var(--serif);
  transform: rotate(180deg);
}

.estate-seal small {
  position: absolute;
  bottom: 26px;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.intro h2,
.section-heading h2,
.systems h2,
.manifesto h2,
.sponsors h2 {
  margin: 0;
  font: 500 clamp(34px, 5vw, 58px)/1.05 var(--serif);
  letter-spacing: -.025em;
}

.intro p:not(.section-kicker),
.manifesto p:not(.section-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: #c0b8a6;
  font-size: 18px;
}

.directory {
  padding: 90px 0 96px;
  border-top: 1px solid rgba(183,154,90,.12);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.centered {
  text-align: center;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.directory-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(183,154,90,.24);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(20,29,23,.96), rgba(12,16,13,.98));
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.directory-card:hover {
  transform: translateY(-3px);
  border-color: rgba(214,189,124,.48);
  background:
    linear-gradient(180deg, rgba(25,38,29,.98), rgba(12,17,14,.98));
}

.directory-card.featured {
  border-color: rgba(139,177,143,.36);
  background:
    linear-gradient(180deg, rgba(25,42,31,.98), rgba(12,18,14,.98));
}

.card-icon,
.system-symbol,
.manifesto-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  font: 700 15px/1 var(--serif);
  background: rgba(183,154,90,.04);
}

.directory-card h3,
.sponsor-card h3 {
  margin: 22px 0 8px;
  font: 500 24px/1.15 var(--serif);
}

.directory-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.status i {
  width: 8px;
  height: 8px;
  display: inline-block;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.status.building {
  color: #a9c8aa;
}

.status.building i {
  border-color: #8db28e;
  background: #8db28e;
  box-shadow: 0 0 12px rgba(141,178,142,.55);
}

.status.filled i {
  background: var(--gold);
}

.systems {
  padding: 10px 0 100px;
}

.systems-panel {
  border: 1px solid rgba(183,154,90,.45);
  border-radius: 14px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(140deg, rgba(21,37,27,.98), rgba(12,17,14,.98)),
    #101612;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.systems-panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(183,154,90,.10);
  border-radius: 9px;
  pointer-events: none;
}

.systems-panel::after {
  content: "R";
  position: absolute;
  right: 36px;
  bottom: -68px;
  color: rgba(214,189,124,.035);
  font: 700 250px/1 var(--serif);
  pointer-events: none;
}

.systems-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
}

.systems-badge {
  border: 1px solid rgba(183,154,90,.26);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.system-list {
  border-top: 1px solid rgba(183,154,90,.22);
}

.system-row {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(183,154,90,.14);
}

.system-name {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.system-name strong {
  font: 500 18px/1.2 var(--serif);
  white-space: nowrap;
}

.system-name .system-peer {
  margin-left: 18px;
}

.system-symbol {
  width: 32px;
  height: 32px;
  font-size: 10px;
}

.manifesto {
  padding: 86px 0 94px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 34px;
  border-top: 1px solid rgba(183,154,90,.12);
}

.manifesto-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-size: 26px;
}

.sponsors {
  padding: 90px 0 110px;
  border-top: 1px solid rgba(183,154,90,.12);
}

.sponsors .section-heading {
  margin-bottom: 0;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(36px, 6vw, 82px);
  margin-top: 44px;
}

.sponsor-logo {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.sponsor-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.22));
}

.sponsor-logo.gonce-farms img {
  max-height: 295px;
}

footer {
  border-top: 1px solid rgba(183,154,90,.24);
  padding: 46px 20px 54px;
  text-align: center;
  color: var(--muted);
  background: rgba(4,6,5,.62);
}

.footer-mark {
  width: 40px;
  height: 48px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  color: var(--gold-bright);
  border: 1px solid var(--line-strong);
  clip-path: polygon(50% 0, 92% 14%, 92% 68%, 50% 100%, 8% 68%, 8% 14%);
  font: 700 17px/1 var(--serif);
}

footer p {
  margin: 0 0 4px;
  color: #d7cfbd;
  font-family: var(--serif);
  font-size: 16px;
}

footer p span {
  color: var(--gold);
  padding: 0 8px;
}

footer small {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sponsor-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .sponsor-logo {
    height: 220px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 20px;
  }

  .brand-name {
    font-size: 11px;
  }

  .header-link {
    display: none;
  }

  .hero {
    min-height: 680px;
    padding-top: 70px;
  }

  .hero h1 {
    line-height: .9;
  }

  .hero h1 span {
    display: block;
    margin-top: 12px;
  }

  .intro-grid,
  .manifesto {
    grid-template-columns: 1fr;
  }

  .estate-seal {
    width: 118px;
    height: 118px;
  }

  .directory-grid {
    grid-template-columns: 1fr;
  }

  .directory-card {
    min-height: 0;
  }

  .systems-header {
    flex-direction: column;
  }

  .system-row {
    align-items: flex-start;
    padding: 18px 0;
  }

  .system-name {
    gap: 10px;
    flex-wrap: wrap;
  }

  .system-name .system-peer {
    margin-left: 8px;
  }

  .status {
    flex: 0 0 auto;
    margin-top: 9px;
  }

  .private-button {
    width: min(310px, calc(100vw - 60px));
    min-width: 0;
  }

  .sponsor-logo {
    height: 210px;
  }

  .sponsor-logo img {
    max-height: 195px;
  }

  .sponsor-logo.gonce-farms img {
    max-height: 205px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .directory-card {
    transition: none;
  }
}
