:root {
  color-scheme: dark;
  --bg: #131515;
  --panel: #1b1e1e;
  --raised: #232727;
  --line: #363c3b;
  --ink: #eeeae0;
  --muted: #a8aeaa;
  --gold: #d4b879;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.5; }
h1, h2, p { margin: 0; }
.shell { max-width: 1180px; margin: 0 auto; padding: 0 50px; min-height: 100svh; display: flex; flex-direction: column; }
.masthead { min-height: 112px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 16px; letter-spacing: 2.5px; font-weight: 600; }
.monogram { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gold); color: var(--gold); font-family: Georgia, serif; font-size: 27px; font-weight: 400; letter-spacing: 0; }
.workspace-label { color: var(--muted); }
main { padding: 58px 0 64px; }
.intro { margin-bottom: 36px; }
.eyebrow, .category { font-size: 16px; letter-spacing: 1.7px; font-weight: 500; }
.eyebrow { color: var(--muted); margin-bottom: 14px; }
h1 { font-size: clamp(28px, 3vw, 36px); line-height: 1.25; letter-spacing: -1px; font-weight: 500; text-wrap: balance; }
.subtitle { color: var(--muted); margin-top: 12px; font-size: 18px; }
.destinations { display: grid; gap: 16px; }
.destination { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 30px 32px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; color: inherit; text-decoration: none; min-height: 44px; transition: background-color 140ms ease, border-color 140ms ease; }
.destination:hover { background: var(--raised); border-color: var(--gold); }
.destination:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; border-color: var(--gold); }
.category { color: var(--muted); margin-bottom: 8px; }
h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.6px; font-weight: 600; }
.description { margin-top: 10px; text-wrap: pretty; }
.context { color: var(--muted); margin-top: 14px; }
.destination-route { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.open-label { color: var(--gold); display: flex; align-items: center; gap: 20px; font-weight: 600; }
.arrow { font-size: 24px; line-height: 1; }
.hostname { color: var(--muted); font-size: 16px; }
footer { display: flex; justify-content: space-between; gap: 20px; margin-top: auto; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
footer span:last-child { letter-spacing: 1.5px; }

@media (max-width: 850px) {
  .shell { padding: 0 28px; }
  .destination { gap: 24px; padding: 28px; }
  .destination-route { align-items: flex-start; }
  .destination { grid-template-columns: 1fr; }
  .destination-route { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
}

@media (max-width: 540px) {
  .shell { padding: 0 20px; }
  .masthead { min-height: 98px; gap: 14px; flex-wrap: wrap; padding: 22px 0; }
  .brand { gap: 12px; letter-spacing: 2px; }
  .workspace-label { width: 100%; }
  main { padding: 32px 0 36px; }
  .intro { margin-bottom: 26px; }
  .subtitle { font-size: 16px; }
  .destination { padding: 24px 20px; gap: 24px; }
  h2 { font-size: 26px; }
  .destination-route { flex-direction: column; gap: 8px; }
  .open-label { width: 100%; justify-content: space-between; }
  footer { flex-direction: column; gap: 8px; padding: 22px 0 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .destination { transition: none; }
}

@media (forced-colors: active) {
  .destination, .monogram { border-color: ButtonText; }
  .destination:focus-visible { outline-color: Highlight; }
}
