:root {
  color-scheme: dark;
  --black: #080808;
  --surface: #101010;
  --line: #302e2b;
  --text: #f3efe8;
  --muted: #bdb7ad;
  --highlight: #e0cfae;
  --gutter: clamp(21px, 5.4vw, 88px);
  background: var(--black);
  color: var(--text);
  font: 400 16px/1.6 "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--highlight); outline-offset: 4px; }
.site-header {
  position: sticky;
  z-index: 12;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 76px;
  padding: 10px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: #090909f5;
}
.route-home .site-header { position: absolute; inset: 0 0 auto; background: #080808b5; border-color: #fff3; }
.site-mark { width: clamp(115px, 15vw, 153px); justify-self: start; display: inline-block; }
.site-mark img { width: 100%; height: auto; }
.site-header nav { display: flex; gap: clamp(15px, 2.6vw, 36px); align-items: center; }
.site-header nav a {
  padding: 6px 0 4px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}
.site-header nav a:hover, .site-header nav a[aria-current] {
  color: var(--text);
  border-bottom-color: var(--highlight);
}
.site-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid #c9bba488;
  text-decoration: none;
  white-space: nowrap;
  color: var(--text);
  background: #08080886;
  font-size: 14px;
  line-height: 1.25;
  transition: border-color .2s, background .2s;
}
.site-cta:hover { border-color: var(--highlight); background: #29241d; }
.site-header > .site-cta { justify-self: end; }
.site-menu { display: none; }
.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: start;
  gap: 24px;
  padding: 34px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  background: var(--black);
  color: var(--text);
}
.site-footer span { display: block; color: var(--muted); font-size: 13px; }
.site-footer address { font-style: normal; }
.site-footer a { text-underline-offset: 4px; }
.site-missing { min-height: 50vh; padding: 80px var(--gutter); }
@media(max-width: 780px) {
  .site-header { grid-template-columns: auto 1fr auto; gap: 0 11px; min-height: 64px; }
  .site-header > .site-cta { grid-column: 3; grid-row: 1; }
  .site-menu {
    display: inline-block;
    justify-self: end;
    border: 0;
    padding: 9px 2px;
    background: none;
    color: var(--text);
    font-size: 14px;
  }
  .site-header nav { display: none; grid-column: 1 / -1; flex-wrap: wrap; padding: 12px 0 4px; }
  .site-header nav.is-open { display: flex; }
  .route-home .site-header:has(nav.is-open) { background: #0a0a0a; }
}
@media(max-width: 590px) {
  .site-footer { grid-template-columns: 1fr; gap: 14px; }
  .site-mark { width: 116px; }
  .site-header > .site-cta { padding-inline: 9px; font-size: 13px; }
}
@media(prefers-reduced-motion: reduce) { .site-cta { transition: none; } }
