:root{color-scheme:dark;--bg:#111411;--surface:#191d18;--edge:#333b30;--gold:#eec76b;--text:#f1eee3;--muted:#b0b8a8}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:1rem/1.65 system-ui,sans-serif}a{color:var(--gold)}a:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:5px}header,footer,main{width:min(1100px,92%);margin:auto}header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1.1rem 0;border-bottom:1px solid var(--edge)}nav{display:flex;gap:.8rem 1.35rem;flex-wrap:wrap}header a,nav a,.tile{text-decoration:none}nav a{color:var(--muted)}nav a[aria-current]{color:var(--gold);text-decoration:underline;text-underline-offset:.35em}.brand,.eyebrow,.status,dt{font: .78rem/1.5 ui-monospace,monospace;letter-spacing:.1em;text-transform:uppercase}.brand{font-weight:bold}.eyebrow,.status{color:var(--gold)}main{padding:clamp(2rem,7vw,6rem) 0}h1{font-size:clamp(2.6rem,7vw,6rem);line-height:1;letter-spacing:-.065em;margin:.25em 0}h2{line-height:1.25;margin-top:0}p{max-width:65ch}.lede{font-size:clamp(1.1rem,2.5vw,1.5rem);color:var(--muted)}.hero{display:grid;grid-template-columns:3fr 2fr;gap:2rem;align-items:center}.hero svg{width:100%;max-height:320px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem;margin-top:2rem}.tile,.panel,details{background:var(--surface);border:1px solid var(--edge);padding:1.35rem;border-radius:8px}.tile p,.note,dt,footer{color:var(--muted)}.tile:hover{border-color:var(--gold)}details{margin:.65rem 0}summary{cursor:pointer;color:var(--gold)}dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:1rem}dd{margin:0;font-size:2rem;font-variant-numeric:tabular-nums}footer{border-top:1px solid var(--edge);padding:1rem 0;font-size:.85rem}.skip{position:absolute;left:-9999px}.skip:focus{position:static}@media(max-width:650px){.hero{grid-template-columns:1fr}.hero svg{max-height:210px}}
dl{grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:.3rem 1rem}dd{text-align:right}

.architecture-main { width: min(1380px, 94%); }
.golden-board {
  margin-block: 2.5rem;
  padding: clamp(1rem, 3vw, 2.5rem);
  border: 1px solid #5f4a38;
  border-radius: 1.5rem;
  background:
    radial-gradient(ellipse at 8% 10%, #372841 0%, transparent 38%),
    radial-gradient(ellipse at 80% 80%, #233a35 0%, transparent 45%),
    #191820;
}
.golden-board > h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.05em; margin-bottom: .45rem; }
.trail-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.trail-start { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-block: 1.6rem; }
.board-marker, .trail-signal {
  margin: 0; padding: .55rem .9rem; border: 1px solid #8c724e;
  border-radius: 2rem; color: #ffdf94; font-size: .85rem; font-weight: 700;
}
.trail-signal { border-color: #688a79; color: #c7eedb; }
.trail-signal a { color: inherit; }
.board-trail {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem;
  margin: 0; padding: 0; list-style: none;
}
.board-trail > li {
  --district: #efb9d6; --district-bg: #3d2840;
  position: relative; min-width: 0;
}
.board-trail > li:nth-child(n + 5):nth-child(-n + 8) { --district: #b5dfc7; --district-bg: #203a34; }
.board-trail > li:nth-child(n + 9):nth-child(-n + 12) { --district: #ffe09b; --district-bg: #423424; }
.board-trail > li:nth-child(n + 13) { --district: #c9c2fa; --district-bg: #302b49; }
.board-trail details, .trail-button {
  display: block; width: 100%; height: 100%; box-sizing: border-box; margin: 0;
  color: #f7eff6; border: 1px solid #857582; border-radius: 1rem;
  background: linear-gradient(155deg, var(--district-bg), #211d29);
  font: inherit; text-align: left;
}
.board-trail details { padding: 0; }
.board-trail [hidden], .trail-panel[hidden] { display: none; }
.board-trail summary, .trail-button {
  cursor: pointer; padding: .85rem; list-style: none;
}
.board-trail summary::-webkit-details-marker { display: none; }
.board-trail summary:focus-visible, .trail-button:focus-visible, .badge-proof:focus-visible {
  outline: 2px solid #ffdf94; outline-offset: 3px;
}
.trail-stop, .trail-district { display: flex; align-items: center; gap: .45rem; }
.trail-district {
  color: var(--district); font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: .55rem;
}
.trail-district svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.trail-number {
  display: inline-grid; width: 1.8rem; height: 1.8rem; place-items: center;
  border-radius: 50%; background: var(--district); color: #23182a;
  font: 800 .74rem system-ui, sans-serif;
}
.trail-project, .trail-preview, .trail-status { display: block; }
.trail-project { margin-top: .55rem; font-weight: 800; font-size: .95rem; line-height: 1.2; }
.trail-preview { margin-top: .35rem; color: #eee1ef; font-size: .82rem; line-height: 1.35; }
.trail-status { margin-top: .55rem; color: var(--district); font-size: .7rem; font-weight: 800; }
.trail-featured details, .trail-featured .trail-button { border-color: var(--district); }
.trail-button[aria-pressed="true"], .board-trail details[open] { border-color: #ffdf94; box-shadow: 0 0 0 1px #ffdf94; }
.trail-evidence { padding: 0 .85rem .85rem; }
.trail-evidence p, .trail-panel p { margin: .55rem 0; }
.trail-panel {
  align-self: start; min-width: 0; padding: 1rem; border: 1px solid #8c724e;
  border-radius: 1rem; background: #251f2d;
}
.trail-panel h3 { margin: .35rem 0; font-size: 1.25rem; line-height: 1.2; }
.badge-proof { font-weight: 750; color: #ffdf94; }
.trail-finish {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
  margin-block: 1.5rem; padding: 1rem; border: 1px solid #e4b75e; border-radius: 1rem;
  background: radial-gradient(ellipse at 0% 50%, #62462d, #272034 65%);
}
.trail-finish img { width: 7rem; height: 7rem; object-fit: contain; }
.trail-finish p, .trail-finish h3 { margin: .15rem 0; }
.trail-finish h3 { font-size: clamp(1.35rem, 3vw, 2.2rem); }
.board-trail > li:not(:last-child)::after {
  position: absolute; z-index: 1; right: 50%; bottom: -.85rem; height: .85rem;
  border-right: 3px solid var(--district); content: ""; pointer-events: none;
}
@media (min-width: 800px) {
  .board-trail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .board-trail > li:nth-child(8n + 5) { grid-column: 4; }
  .board-trail > li:nth-child(8n + 6) { grid-column: 3; }
  .board-trail > li:nth-child(8n + 7) { grid-column: 2; }
  .board-trail > li:nth-child(8n + 8) { grid-column: 1; }
  .board-trail > li:nth-child(n + 5):nth-child(-n + 8) { grid-row: 2; }
  .board-trail > li:nth-child(n + 13) { grid-row: 4; }
  .board-trail > li:not(:nth-child(4n))::after {
    top: 50%; right: -.85rem; bottom: auto; width: .85rem; height: 0;
    border-right: 0; border-top: 3px solid var(--district);
  }
  .board-trail > li:nth-child(n + 5):nth-child(-n + 7)::after,
  .board-trail > li:nth-child(n + 13):nth-child(-n + 15)::after { right: auto; left: -.85rem; }
}
@media (min-width: 1080px) {
  .trail-enhanced .trail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 23%); gap: 1.25rem; }
  .trail-panel { position: sticky; top: 1rem; }
}

.board-trail > li {
  display: flex;
  flex-direction: column;
  border: 1px solid #857582;
  border-radius: 1rem;
  background: linear-gradient(155deg, var(--district-bg), #211d29);
}
.board-trail > li.trail-featured { border-color: var(--district); }
.trail-heading { padding: .85rem .85rem 0; }
.trail-heading .trail-stop { width: fit-content; }
.trail-heading .badge-proof { text-underline-offset: .15em; }
.trail-link-icon { font-size: .8rem; }
.board-trail details, .board-trail .trail-button {
  flex: 1;
  height: auto;
  border: 0;
  border-radius: 0 0 1rem 1rem;
  background: transparent;
}
.board-trail .trail-button[aria-pressed="true"], .board-trail details[open] {
  box-shadow: none;
  background: #ffdf9410;
}
.trail-action {
  display: block;
  margin-top: .5rem;
  color: #ffdf94;
  font-size: .75rem;
  text-decoration: underline;
  text-underline-offset: .15em;
}
