/* Full-screen index, in the same warm paper and muted gold as the main site. */
.site-nav-toggle {
  position: fixed;
  top: max(20px, env(safe-area-inset-top));
  right: max(22px, env(safe-area-inset-right));
  z-index: 10000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 108px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid rgba(184, 148, 56, .5);
  border-radius: 999px;
  background: rgba(22, 19, 14, .94);
  color: #f2e9d8;
  font: 500 12px/1.2 var(--font);
  letter-spacing: .12em;
  cursor: pointer;
  box-shadow: 0 6px 24px #0002;
  transition: background .2s ease, transform .2s ease;
}
.site-nav-toggle[hidden] { display: none; }
.site-nav-toggle:hover { background: #3d3220; transform: translateY(-2px); }
.nav-menu-icon { position: relative; display: block; width: 18px; height: 14px; }
.nav-menu-icon::before, .nav-menu-icon::after {
  position: absolute; content: ''; height: 1px; width: 18px;
  left: 0; top: 3px; background: currentColor;
}
.nav-menu-icon::after { top: 10px; }
#site-nav-close .nav-menu-icon::before { top: 6px; transform: rotate(45deg); }
#site-nav-close .nav-menu-icon::after { top: 6px; transform: rotate(-45deg); }
.site-navigation {
  position: fixed;
  inset: 0;
  width: 100%; max-width: none;
  height: 100%; max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: #30291f;
  background-color: #f3eee4;
  background-image: linear-gradient(#8a72500a 1px, transparent 1px), linear-gradient(90deg, #8a72500a 1px, transparent 1px);
  background-size: 96px 96px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.site-navigation[open] { display: flex; flex-direction: column; animation: navigation-in .35s ease both; }
.site-navigation::backdrop { background: #15110d70; }
html.site-menu-open { overflow: hidden; }
.navigation-top { padding: 30px 7vw; min-height: 90px; display: flex; align-items: center; }
.navigation-brand { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -.045em; }
.navigation-brand > span { color: #aa9476; }
.navigation-content {
  flex: 1 0 auto;
  width: 100%; max-width: 1440px;
  margin: auto; padding: 6vh 9vw;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center; gap: 8vw;
}
.navigation-kicker { margin: 0 0 24px; font-size: 10px; letter-spacing: .25em; color: #a08557; }
.navigation-intro h2 { margin: 0 0 24px; font-size: clamp(28px, 3.4vw, 50px); font-weight: 400; letter-spacing: .03em; }
.navigation-intro > p:last-child { margin: 0; color: #9c8d7a; font-size: 12px; line-height: 1.8; }
.navigation-links { list-style: none; padding: 0; margin: 0; border-top: 1px solid #ad956644; }
.navigation-links li { border-bottom: 1px solid #ad956644; }
.navigation-links a {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) 26px;
  align-items: center; gap: 18px;
  padding: clamp(18px, 3vh, 34px) 6px;
  text-decoration: none; color: inherit;
  transition: color .2s ease, background .2s ease;
}
.navigation-number { align-self: start; margin-top: 8px; font-size: 10px; color: #a18a65; letter-spacing: .06em; }
.navigation-label { font-size: clamp(26px, 3.2vw, 44px); font-weight: 400; line-height: 1.25; letter-spacing: .06em; }
.navigation-label small { display: block; margin-top: 9px; font-size: 9px; line-height: 1.5; letter-spacing: .19em; color: #9c8d7a; }
.navigation-arrow { font-size: 23px; color: #b99d68; transition: transform .2s ease; }
.navigation-links a:hover, .navigation-links a[aria-current="location"] { color: #9a772d; background: #b8943809; }
.navigation-links a:hover .navigation-arrow { transform: translate(3px, -3px); }
.navigation-links a[aria-current="location"] .navigation-number { font-weight: 700; }
.site-nav-toggle:focus-visible, .navigation-links a:focus-visible { outline: 2px solid #b89438; outline-offset: 4px; }
.navigation-bottom { display: flex; justify-content: space-between; gap: 20px; margin: 0 7vw; padding: 24px 0 max(24px, env(safe-area-inset-bottom)); border-top: 1px solid #ad956633; font-size: 8px; letter-spacing: .13em; color: #aa9678; }
#about, #dc, #venus, #contact { scroll-margin-top: 84px; }
#about:focus, #dc:focus, #venus:focus, #contact:focus { outline: none; }
@keyframes navigation-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .site-nav-toggle { top: max(16px, env(safe-area-inset-top)); right: 16px; min-width: 96px; gap: 14px; }
  .navigation-top { padding: 22px 7vw; min-height: 80px; }
  .navigation-brand { font-size: 18px; }
  .navigation-content { display: block; padding: 3vh 8vw 5vh; }
  .navigation-intro { margin-bottom: 26px; }
  .navigation-kicker { margin-bottom: 12px; font-size: 9px; }
  .navigation-intro h2 { font-size: 26px; margin-bottom: 12px; }
  .navigation-intro > p:last-child { font-size: 11px; }
  .navigation-links a { padding: 20px 4px; gap: 14px; }
  .navigation-label { font-size: 27px; }
  .navigation-bottom { font-size: 7px; }
  .navigation-bottom > span:last-child { display: none; }
}
@media (max-height: 600px) {
  .navigation-content { padding-top: 16px; padding-bottom: 20px; }
  .navigation-links a { padding-block: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-navigation[open] { animation: none; }
  .site-nav-toggle, .navigation-links a, .navigation-arrow { transition: none; }
}
