@font-face {
  font-family: Cinzel;
  src: url("../fonts/cinzel.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url("../fonts/outfit-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --ink: #f4efe6;
  --muted: #d5c9b6;
  --gold: #f0d48a;
  --gold-2: #f7e7c0;
  --line: rgba(240, 212, 138, 0.28);
  --line-strong: rgba(240, 212, 138, 0.55);
  --pad: clamp(1.1rem, 4vw, 2.4rem);
  --serif: Cinzel, Palatino, "Palatino Linotype", "Times New Roman", serif;
  --sans: Outfit, "Segoe UI", sans-serif;
  --header: 4.75rem;
  color-scheme: dark;
  scrollbar-color: #5c4a28 #000;
  scrollbar-width: thin;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.6rem; scroll-padding-bottom: 4.5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-wrap: balance;
  hyphens: manual;
}

p { margin: 0; }

a { color: inherit; }

::selection { background: #f0d48a; color: #140f08; }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #5c4a28; border: 2px solid #000; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--gold-2);
  color: #140f08;
  padding: 0.6rem 1rem;
  text-decoration: none;
}

.skip:focus { top: 0.75rem; }

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 70;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8a6a32, var(--gold-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.wrap {
  width: min(1120px, calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.section { padding: clamp(5.6rem, 9vw, 7.4rem) 0; position: relative; scroll-margin-top: 1.25rem; }

.section-head { margin-bottom: clamp(1.8rem, 4vw, 3rem); max-width: 40rem; }

.section-head h2,
.shop-copy h2,
#contact h2,
.hero h1 {
  margin: 0;
  color: var(--gold-2);
  line-height: 1.05;
}

.section-head h2,
.shop-copy h2,
#contact h2 {
  font-size: clamp(2rem, 4.5vw, 3.45rem);
  margin-bottom: 0.9rem;
}

.section-head .deck,
.lede {
  margin-top: 1rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: calc(0.7rem + env(safe-area-inset-top)) var(--pad) 0.7rem;
  background: linear-gradient(#000 25%, rgba(0, 0, 0, 0));
}

.site-header.is-scrolled {
  background: #000;
  border-bottom: 1px solid rgba(240, 212, 138, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--gold-2);
  text-decoration: none;
}

.brand img { width: auto; height: 42px; }

.brand-name {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: calc(var(--header) + env(safe-area-inset-top)) var(--pad) 2rem;
  background: rgba(0, 0, 0, 0.97);
  visibility: hidden;
  opacity: 0;
}

.site-nav.is-open { visibility: visible; opacity: 1; }

.site-nav a {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3.1rem);
  line-height: 1.2;
  color: var(--ink);
  text-decoration: none;
  padding: 0.25rem 0;
}

.site-nav a[aria-current="true"] { color: var(--gold-2); }

.nav-toggle,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--gold-2);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 500;
  cursor: pointer;
}

.btn-fill { background: var(--gold-2); color: #140f08; border-color: var(--gold-2); }

.btn:hover,
.nav-toggle:hover { background: var(--gold-2); color: #140f08; }

.btn-fill:hover { background: transparent; color: var(--gold-2); }

.header-actions {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.header-call { display: inline-flex; }

@media (max-width: 899px) {
  .header-call {
    border: 0;
    background: transparent;
    padding: 0.2rem 0.1rem;
    min-height: 44px;
    letter-spacing: 0.02em;
    font-size: 1rem;
    font-weight: 500;
    text-transform: none;
  }

  .header-call:hover {
    background: transparent;
    color: #fff;
  }

  .nav-toggle { padding: 0.55rem 0.7rem; }

  .nav-toggle[aria-expanded="true"] {
    background: var(--gold-2);
    color: #140f08;
  }
}

body.nav-open { overflow: hidden; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(6.4rem + env(safe-area-inset-top)) 0 clamp(3.5rem, 8vh, 6rem);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.moon {
  position: absolute;
  width: min(920px, 88vw);
  right: -8%;
  bottom: -48%;
  opacity: 0.9;
  mask-image: linear-gradient(115deg, transparent 0%, #000 46%);
  -webkit-mask-image: linear-gradient(115deg, transparent 0%, #000 46%);
  animation: floaty 18s ease-in-out infinite alternate;
}

.orbits { position: absolute; inset: 0; }

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: rgba(247, 231, 192, 0.7);
  border-left-color: rgba(240, 212, 138, 0.16);
}

.ring::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 5px;
  height: 5px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 10px var(--gold-2);
}

.r1 { width: 72vmin; height: 72vmin; right: -10vmin; bottom: -24vmin; animation: spin 46s linear infinite; }
.r2 { width: 92vmin; height: 92vmin; right: -20vmin; bottom: -34vmin; animation: spin 80s linear infinite reverse; }
.r3 { width: 54vmin; height: 54vmin; right: -2vmin; bottom: -16vmin; animation: spin 32s linear infinite; }

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(0.75rem, 2vw, 2rem);
  align-items: end;
  width: min(58rem, calc(100% - 2 * var(--pad)));
  margin-left: var(--pad);
}

.hero-lead { min-width: 0; }

.hero-logo,
.brand img { mix-blend-mode: lighten; }

.hero-logo {
  width: clamp(72px, 16vw, 150px);
  height: auto;
  margin: 0 0 0.35rem;
}

.lede,
.cta-row,
.status-line { grid-column: 1 / -1; }

.hero h1 {
  font-size: clamp(2.55rem, 8vw, 5.7rem);
  line-height: 0.94;
  color: var(--ink);
}

.hero h1 span {
  display: block;
  color: var(--gold-2);
  text-shadow: 0 0 28px rgba(240, 212, 138, 0.22);
}

.hero .lede { font-size: 1.12rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.status-line {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.35rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.pulse {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(240, 212, 138, 0.6);
  animation: ping 2.6s ease-out infinite;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker-group { display: flex; }
.ticker span { padding: 0.9rem 0; white-space: nowrap; }
.ticker span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 1rem 0.12rem 1.15rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

/* Services */
.manifest { list-style: none; margin: 0; padding: 0; }
.manifest-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 1rem;
  padding: 1.55rem 0;
  border-top: 1px solid var(--line);
}
.manifest-item:last-child { border-bottom: 1px solid var(--line); }

.idx {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  color: rgba(240, 212, 138, 0.45);
}

@supports (-webkit-text-stroke: 1px #000) {
  .idx { color: transparent; -webkit-text-stroke: 1px rgba(240, 212, 138, 0.7); }
}

.manifest-item:hover .idx,
.manifest-item:focus-within .idx { color: var(--gold-2); -webkit-text-stroke: 0; }

.manifest-item h3 { margin: 0 0 0.45rem; font-size: clamp(1.4rem, 2vw, 1.85rem); color: var(--ink); }
.manifest-item p { color: var(--muted); max-width: 62ch; }

.tag {
  grid-column: 2;
  margin: 0.2rem 0 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.book {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.95rem;
  color: var(--gold-2);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.book svg { width: 16px; height: 16px; }
.book:hover svg { transform: translateX(4px); }

.sky { display: none; }
.sky line { stroke: rgba(240, 212, 138, 0.35); stroke-width: 1; }
.sky circle { fill: #8d7040; }
.svc-layout:has([data-star="testing"]:hover) .star-testing,
.svc-layout:has([data-star="testing"]:focus-within) .star-testing,
.svc-layout:has([data-star="class"]:hover) .star-class,
.svc-layout:has([data-star="class"]:focus-within) .star-class,
.svc-layout:has([data-star="booth"]:hover) .star-booth,
.svc-layout:has([data-star="booth"]:focus-within) .star-booth {
  fill: var(--gold-2);
}

/* Positions */
.lab-shell {
  border: 1px solid var(--line-strong);
  background: rgba(8, 7, 6, 0.9);
}

.lab-tabs { display: none; }

.lab-panel { padding: clamp(1.1rem, 3vw, 2rem); }
.lab-panel + .lab-panel { border-top: 1px solid var(--line); }
.lab-panel h3 { margin: 0 0 0.6rem; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.lab-panel p { color: var(--muted); max-width: 62ch; }

.panel-grid { display: grid; gap: 1.2rem; align-items: center; }
.diagram-wrap { margin: 0; }
.diagram { width: 100%; height: auto; }
.diagram .line { fill: none; stroke: rgba(247, 231, 192, 0.9); stroke-width: 1.5; }
.diagram .faint { fill: none; stroke: rgba(240, 212, 138, 0.38); stroke-width: 1.15; }
.diagram .bead {
  fill: none;
  stroke: #f7e7c0;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
  stroke-dashoffset: 0;
  animation: march 1.15s linear infinite;
}
.diagram-wrap figcaption { margin-top: 0.55rem; color: var(--muted); font-size: 0.88rem; }

.lab-note {
  margin: 1.1rem 0 0;
  padding-left: 0.9rem;
  border-left: 1px solid var(--gold);
  color: var(--muted);
  max-width: 68ch;
}

.js .lab-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem;
  scroll-snap-type: x mandatory;
}

.js .lab-tabs button {
  flex: 1 0 auto;
  min-width: 9.2rem;
  min-height: 48px;
  scroll-snap-align: start;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.js .lab-tabs button[aria-selected="true"] {
  background: var(--gold-2);
  color: #140f08;
  border-color: var(--gold-2);
}

.tab-code { display: block; font-family: var(--serif); font-size: 1.2rem; letter-spacing: 0.08em; }
.tab-name { display: block; margin-top: 0.15rem; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }

.js .lab-panel { display: none; border-top: 0; }
.js .lab-panel.is-active { display: block; }

/* Visit */
.steps { display: grid; gap: 1.6rem; }
.step { border-left: 1px solid var(--line-strong); padding-left: 1rem; }
.step-num {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-family: var(--serif);
  letter-spacing: 0.16em;
  font-size: 0.85rem;
}
.step h3 { margin: 0 0 0.45rem; font-size: 1.45rem; }
.step p { color: var(--muted); max-width: 36ch; }
.step a { color: var(--gold-2); }

/* Shop */
.shop-grid { display: grid; gap: 2rem; }
.shop-copy p + p { margin-top: 1rem; }
.shop-copy p { color: var(--muted); max-width: 62ch; }
.for-list { list-style: none; margin: 1.1rem 0 0; padding: 0; }
.for-list li { position: relative; margin: 0.4rem 0; padding-left: 1.15rem; color: var(--ink); }
.for-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.plate {
  margin: 0;
  padding: 0.4rem 1.15rem;
  background: #070605;
  border: 5px solid #000;
  box-shadow: inset 0 0 0 1px rgba(240, 212, 138, 0.5), 0 0 0 1px rgba(240, 212, 138, 0.45);
}

.plate div {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(240, 212, 138, 0.16);
}

.plate div:last-child { border-bottom: 0; }
.plate dt {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.plate dd { margin: 0; color: var(--ink); }
.plate .emph { color: var(--gold-2); font-family: var(--serif); letter-spacing: 0.06em; }

/* Contact */
.contact-grid { display: grid; gap: 2.2rem; }
.phone-xl {
  display: inline-block;
  margin: 0.35rem 0 0.9rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--gold-2);
  text-decoration: none;
}
.reach { font-style: normal; display: grid; gap: 0.4rem; justify-items: start; }
.reach a { color: var(--ink); overflow-wrap: anywhere; }
.local-time { margin-top: 0.8rem; color: var(--muted); font-size: 0.92rem; }
.text-btn {
  margin-top: 0.2rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
.form-card {
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line-strong);
  background: rgba(8, 7, 6, 0.92);
}
.form-grid { display: grid; gap: 0.95rem; }
.form-row { display: grid; gap: 0.95rem; }
label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.req { color: var(--gold); }
input, select, textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #000;
  color: var(--ink);
  font-size: 1rem;
}
textarea { min-height: 8.5rem; resize: vertical; }
select {
  padding-right: 2.1rem;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form-card .btn { width: 100%; }
.fine { margin-top: 0.75rem; color: var(--muted); font-size: 0.88rem; }
#copy-status { color: var(--gold); font-size: 0.85rem; }

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.4rem 0 calc(2.4rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 1.4rem; }
.site-footer strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--gold-2);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.12em;
}
.site-footer a { color: var(--gold-2); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: grid; gap: 0.3rem; justify-items: start; }
.legal { margin: 1.3rem 0 0; font-size: 0.85rem; }

.mobile-call { display: none; }

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
}

main, .site-footer { position: relative; z-index: 1; }

.will-reveal { opacity: 0; transform: translate3d(0, 16px, 0); }
.will-reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -14px, 0); }
}
@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes march {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -28; }
}
@keyframes ping {
  70%, 100% { box-shadow: 0 0 0 10px rgba(240, 212, 138, 0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 700px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .plate div { grid-template-columns: 9.2rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; }
}

@media (min-width: 800px) {
  .manifest-item { grid-template-columns: 5.2rem minmax(0, 1fr) 9.5rem; gap: 1.4rem; align-items: start; }
  .tag { grid-column: auto; text-align: right; padding-top: 0.45rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .step { border-left: 0; border-top: 1px solid var(--line-strong); padding: 1rem 0 0; }
}

@media (min-width: 880px) {
  .shop-grid { grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr); gap: 3rem; align-items: start; }
  .contact-grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 3rem; align-items: start; }
}

@media (min-width: 900px) {
  .hero {
    display: flex;
    align-items: center;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    height: auto;
    margin: 0;
    overflow: visible;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    width: min(34rem, calc(100vw - var(--pad) - clamp(400px, 28vw, 540px) - clamp(6.5rem, 8vw, 9rem)));
    max-width: none;
    margin-left: var(--pad);
  }
  .hero-lead,
  .hero .lede,
  .hero .cta-row {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .hero .lede { margin-top: 0.85rem; }
  .hero .cta-row { margin-top: 1.15rem; }
  .hero-logo {
    position: absolute;
    top: 50%;
    left: calc(100% + clamp(4.75rem, 6.5vw, 7.5rem));
    right: auto;
    transform: translateY(-50%);
    width: clamp(400px, 28vw, 540px);
    height: auto;
    margin: 0;
    z-index: 2;
  }
  .moon {
    width: 42vw;
    height: 42vw;
    right: -10vw;
    bottom: -14vw;
    top: auto;
    left: auto;
    border-radius: 50%;
    mask-image: radial-gradient(circle at 62% 58%, #000 0%, #000 40%, transparent 68%);
    -webkit-mask-image: radial-gradient(circle at 62% 58%, #000 0%, #000 40%, transparent 68%);
  }
  /* Rings use the moon's center, so they stay on the limb and scale with it. */
  .r1, .r2, .r3 { left: auto; top: auto; display: block; }
  .r1 { width: 34vw; height: 34vw; right: -6vw; bottom: -10vw; }
  .r2 { width: 48vw; height: 48vw; right: -13vw; bottom: -17vw; }
  .r3 { width: 26vw; height: 26vw; right: -2vw; bottom: -6vw; }
}

@media (min-width: 900px) {
  .panel-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 1.5rem; }
  .js .lab-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
  .js .lab-tabs { flex-direction: column; overflow: visible; gap: 0; padding: 0; border-right: 1px solid var(--line); }
  .js .lab-tabs button { min-width: 0; border: 0; border-bottom: 1px solid rgba(240, 212, 138, 0.16); min-height: 5.1rem; }
  .js .lab-tabs button[aria-selected="true"] {
    background: rgba(240, 212, 138, 0.1);
    color: var(--gold-2);
    box-shadow: inset 3px 0 0 var(--gold-2);
  }
  .svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 150px); gap: 2.5rem; align-items: center; }
  .manifest { min-width: 0; }
  .sky { display: block; width: 100%; max-width: 150px; min-width: 0; justify-self: end; height: auto; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .header-call { display: inline-flex; }
  .site-nav {
    position: static;
    inset: auto;
    flex: 1;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1.15rem;
    padding: 0;
    margin-right: 0.4rem;
    background: transparent;
    visibility: visible;
    opacity: 1;
  }
  .site-nav a {
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.3rem 0;
  }
  .site-nav a[aria-current="true"] { color: var(--gold-2); }
}

@media (max-width: 899px) {
  .mobile-call {
    display: flex;
    position: fixed;
    z-index: 35;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    transform: none;
    border-width: 1px 0 0;
    border-color: var(--line-strong);
    background: #000;
    color: var(--gold-2);
    min-height: calc(3.15rem + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: none;
  }
  .mobile-call:hover {
    background: #000;
    color: var(--gold-2);
  }
  body { padding-bottom: calc(3.15rem + env(safe-area-inset-bottom)); }
  body.nav-open .mobile-call { visibility: hidden; }
  .brand-name { display: none; }
}

@media (max-width: 899px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: calc(5.4rem + env(safe-area-inset-top));
    padding-bottom: 2.25rem;
  }

  .hero-copy { display: contents; }

  .hero-lead,
  .hero .lede,
  .hero .cta-row {
    width: min(40rem, calc(100% - 2 * var(--pad)));
    margin-left: auto;
    margin-right: auto;
  }

  .hero-lead { order: 1; }
  .hero h1 { font-size: clamp(2.7rem, 12vw, 4rem); }

  .hero-logo {
    display: block;
    position: absolute;
    z-index: 2;
    width: 118px;
    margin: 0;
    left: calc(var(--pad) + 1.65rem);
    top: calc(5.6rem + env(safe-area-inset-top) + 11.15rem);
  }

  .hero-bg {
    position: relative;
    order: 2;
    height: 340px;
    margin: 0.2rem 0 0.2rem;
    overflow: hidden;
  }

  .hero .lede {
    order: 3;
    margin-top: 0.35rem;
    font-size: 1.05rem;
  }

  .hero .cta-row {
    order: 4;
    margin-top: 1.2rem;
  }

  .moon {
    width: min(720px, 190vw);
    height: auto;
    top: 0;
    right: -42vw;
    bottom: auto;
    left: auto;
    opacity: 1;
    border-radius: 50%;
    mask-image:
      linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%),
      linear-gradient(90deg, transparent 0%, #000 28%);
    -webkit-mask-image:
      linear-gradient(180deg, transparent 0%, #000 16%, #000 84%, transparent 100%),
      linear-gradient(90deg, transparent 0%, #000 28%);
    mask-composite: intersect;
    -webkit-mask-composite: source-in;
  }

  .r1,
  .r3 { display: none; }

  .r2 {
    width: 118vw;
    height: 118vw;
    right: -37vw;
    bottom: -46vw;
    left: auto;
    top: auto;
  }
}

.mobile-call.is-hidden { opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .moon,
  .ring { animation: none; }
}

@media (prefers-reduced-data: reduce) {
  .moon, .ring { display: none; }
}

@media print {
  #stars, .moon, .orbits, .ticker, .progress, .nav-toggle, .mobile-call, .site-nav { display: none !important; }
  .site-header { position: static; background: #fff; }
  body { background: #fff; color: #000; }
  .hero { min-height: 0; }
  a { color: #000; }
}
