/* Phase 0 foundation. Shared header and footer are reserved for Phase 1. */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--amp-black); }
body {
  margin: 0;
  color: var(--bone);
  background: var(--amp-black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}
main { padding: 24px; }
:focus-visible {
  outline: 2px solid var(--feedback-blue);
  outline-offset: 2px;
}

/* Phase 1 shell. Scope all additions to subpages to preserve the approved home. */
.site-page { --shell-gutter: clamp(20px, 5vw, 80px); }
.site-page a { color: var(--bone); text-decoration: none; }
.site-page a:hover { color: var(--feedback-blue); }
.site-page :is(a, button) {
  transition: color 260ms var(--ease-micro), border-color 260ms var(--ease-micro);
}
.site-page :focus-visible {
  outline: 2px solid var(--feedback-blue);
  outline-offset: 2px;
}
.site-page .skip-link {
  position: fixed;
  top: 8px;
  left: var(--shell-gutter);
  z-index: 30;
  padding: 12px 16px;
  background: var(--amp-black);
  transform: translateY(-150%);
}
.site-page .skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--shell-gutter);
  background: var(--amp-black);
  border-bottom: 1px solid var(--asphalt);
}
.site-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1;
  text-transform: uppercase;
}
.site-nav ul, .site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-nav ul { display: flex; gap: clamp(12px, 2vw, 32px); }
.site-nav a, .menu-toggle, .menu-close {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-page a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--feedback-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.menu-toggle, .menu-close {
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--bone);
  background: transparent;
  border: 1px solid var(--bone);
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}
.menu-toggle:hover, .menu-close:hover { color: var(--feedback-blue); border-color: var(--feedback-blue); }
.menu-toggle { display: none; }
.menu-icon { display: grid; gap: 4px; width: 18px; pointer-events: none; }
.menu-icon::before, .menu-icon::after { content: ""; height: 1px; background: currentColor; }
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 20px var(--shell-gutter);
  overflow-y: auto;
  color: var(--bone);
  background: var(--amp-black);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.mobile-menu::backdrop { background: var(--amp-black); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mobile-menu__title { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 400; text-transform: uppercase; }
.mobile-menu .site-nav { margin-top: clamp(24px, 8vh, 80px); }
.mobile-menu .site-nav ul { flex-direction: column; gap: 8px; }
.mobile-menu .site-nav a { display: flex; min-height: 56px; font-size: clamp(16px, 4vw, 24px); }
html:has(.mobile-menu[open]) { overflow: hidden; }
.site-page .shell-main {
  max-width: 1660px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 104px) var(--shell-gutter);
  scroll-margin-top: 100px;
}
.shell-main h1 { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 7vw, 96px); line-height: 1.1; font-weight: 400; text-transform: uppercase; }
.site-footer {
  padding: clamp(60px, 10vh, 120px) var(--shell-gutter) 0;
  background: var(--amp-black);
  border-top: 1px solid var(--asphalt);
}
.site-footer__top {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(28px, 4vw, 70px);
  padding-bottom: clamp(50px, 8vh, 100px);
}
.site-footer__statement { margin: 0; max-width: 30ch; font-family: var(--font-editorial); font-style: italic; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; }
.site-footer__col h2 { margin: 0 0 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; }
.site-footer__col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 16px; }
.site-footer__mark { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 15.5vw, 272px); line-height: 1; letter-spacing: -.015em; text-align: center; text-transform: uppercase; }
.site-footer__mark span { color: var(--feedback-blue); }
.site-footer__base { max-width: 1500px; margin: clamp(16px, 3vh, 34px) auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: clamp(20px, 3vh, 34px) 0 clamp(24px, 4vh, 44px); border-top: 1px solid var(--asphalt); font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
@media (max-width: 1000px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__statement { grid-column: 1 / -1; }
  .site-header { flex-wrap: wrap; gap: 12px; }
  .site-header > .site-nav { width: 100%; }
  .site-header > .site-nav ul { flex-wrap: wrap; }
  .nav-ready .site-header > .site-nav { display: none; }
  .nav-ready .menu-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .site-footer__top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .site-page :is(a, button) { transition: none; }
  .site-page { scroll-behavior: auto; }
}
