:root {
  --bg: #07110d;
  --bg-2: #102119;
  --fg: #f6f1e7;
  --muted: #c9c0b0;
  --faint: #8d907f;
  --gold: #e4d2b0;
  --gold-deep: #b08958;
  --ink: #102117;
  --line: rgba(228, 210, 176, 0.22);
  --glass: rgba(10, 22, 16, 0.55);
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
body.site {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(176, 137, 88, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(36, 92, 68, 0.35), transparent 50%),
    var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-200%);
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 5;
}
.skip:focus { transform: none; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.hp { position: absolute; left: -10000px; opacity: 0; }

.atmosphere { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.55;
}
.orb-a { width: 180px; height: 180px; left: 12%; top: 18%; background: rgba(228, 210, 176, 0.16); }
.orb-b { width: 90px; height: 90px; right: 18%; top: 28%; background: rgba(255, 244, 220, 0.2); }
.orb-c { width: 240px; height: 140px; right: -40px; bottom: 30%; background: rgba(40, 110, 78, 0.28); }

.road {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28vh;
  min-height: 180px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to top, #000 78%, transparent);
}
.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 58%;
  height: 70px;
  background:
    linear-gradient(to top, rgba(16, 33, 23, 0.2), transparent),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(228, 210, 176, 0.18) 18px 20px, transparent 20px 46px, rgba(228, 210, 176, 0.1) 46px 52px);
  opacity: 0.45;
}
.carriageway {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 62%;
  background: linear-gradient(#163028, #0b1611 70%);
  transform: perspective(420px) rotateX(48deg);
  transform-origin: center bottom;
  border-top: 1px solid rgba(228, 210, 176, 0.35);
}
.lane {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 42px, transparent 42px 84px);
  animation: flow 1.1s linear infinite;
  opacity: 0.8;
}
.lane-far { top: 28%; opacity: 0.35; animation-duration: 1.8s; }

.car { position: absolute; width: min(210px, 28vw); filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.35)); }
.car-svg { display: block; width: 100%; height: auto; overflow: visible; }
.body { fill: #f4efe4; }
.glass { fill: #12352a; }
.shine { stroke: rgba(255, 255, 255, 0.35); stroke-width: 2; fill: none; }
.wheel { fill: #101612; transform-box: fill-box; transform-origin: center; animation: spin 0.7s linear infinite; }
.hub { fill: var(--gold); }
.lamp { fill: #fff4d2; }
.tail { fill: #8d3b32; }
.shadow { fill: rgba(0, 0, 0, 0.35); }
.car::after {
  content: "";
  position: absolute;
  top: 42%;
  right: -8%;
  width: 22%;
  height: 10%;
  background: radial-gradient(ellipse at left, rgba(255, 236, 190, 0.7), transparent 72%);
}
.car-near { bottom: 38%; animation: drive 16s linear infinite; animation-delay: -7s; }
.car-near .body { fill: #f7f1e6; }
.car-follow { bottom: 24%; width: min(170px, 20vw); animation: drive 23s linear infinite; animation-delay: -15s; opacity: 0.95; }
.car-follow .body { fill: #d7e6da; }
.car-far { bottom: 54%; width: min(120px, 14vw); animation: drive 27s linear infinite; animation-delay: -12s; opacity: 0.75; }
.car-oncoming {
  bottom: 48%;
  width: min(150px, 18vw);
  animation: approach 19s linear infinite;
  animation-delay: -8s;
}
.car-oncoming .body { fill: #1e4a38; }
.car-oncoming .glass { fill: #d7c4a1; }
.car-oncoming .car-svg { transform: scaleX(-1); }
.car-oncoming::after { right: auto; left: -18%; transform: scaleX(-1); }

@keyframes drive {
  from { transform: translateX(-40vw); }
  to { transform: translateX(120vw); }
}
@keyframes approach {
  from { transform: translateX(120vw); }
  to { transform: translateX(-50vw); }
}
@keyframes flow { to { background-position: -84px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.bar, .colophon {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px var(--pad);
}
.mark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--gold);
}
.bar-nav { display: flex; gap: 22px; align-items: center; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.bar-nav a { text-decoration: none; color: var(--muted); }
.bar-nav a:hover { color: var(--fg); }
.bar-cta {
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--gold) !important;
}
.colophon {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 2;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}

.stage, .sheet, .login-card {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 8vh 0 8vh;
}
.page-home .stage {
  min-height: calc(100vh - 48px);
  padding-top: 6vh;
  padding-bottom: 14vh;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  width: min(1240px, calc(100% - 64px));
  text-align: left;
}
.page-home h1 { font-size: clamp(46px, 5.2vw, 76px); }
.page-home .lead { margin: 0; max-width: 38rem; }
.page-home .wait { margin: 28px 0 0; width: 100%; }
.hero-car { margin: 0; }
.hero-car img { width: 100%; height: auto; display: block; }
.panel {
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, rgba(7, 17, 13, 0.2), #07110d 18%);
  padding: 12vh var(--pad) 12vh;
}
.page-journal .sheet {
  width: min(920px, calc(100% - 48px));
  padding-top: 10vh;
  padding-bottom: 12vh;
}
.page-post .sheet {
  width: min(960px, calc(100% - 48px));
  padding-top: 10vh;
  padding-bottom: 12vh;
}
.page-journal .sheet, .page-post .sheet { margin-left: auto; margin-right: auto; }
.page-journal .kicker, .page-journal h1, .page-journal .lead,
.page-post .kicker, .page-post h1, .page-post time, .page-post .lead {
  text-align: center;
}
.page-post h1 { font-size: clamp(40px, 5vw, 68px); }
.page-post time { margin-bottom: 40px; }
.page-journal .lead, .page-post .lead { text-align: center; }
body:not(.page-home) .colophon { position: relative; margin-top: 24px; }
.kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
h1 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
h1 em { font-style: italic; color: var(--gold); }
.lead { max-width: 40rem; margin: 0 auto; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.lead a { color: var(--gold); }

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.wait {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 14px;
  align-items: center;
  margin: 32px auto 0;
  padding: 14px;
  width: min(640px, 100%);
}
.wait input[type="email"] {
  background: transparent;
  border: 0;
  padding: 12px 8px;
  outline: none;
  width: 100%;
}
.wait button, .actions button, .text-button {
  background: linear-gradient(#f3e6cf, #d7c4a1);
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: none;
}
.wait button:hover, .actions button:hover { filter: brightness(1.05); }
.form-note { grid-column: 1 / -1; margin: 0 8px 6px; color: var(--faint); font-size: 14px; }
.login-card .wait, .stage .wait.glass:not(#waitlist) { grid-template-columns: 1fr; padding: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field span, th, .meta, time {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
  outline: none;
  width: 100%;
}
.field textarea { min-height: 280px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--gold); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  width: min(1120px, calc(100% - 48px));
}
.facts li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--gold);
}
.facts span { color: var(--muted); font-size: 14px; }

.index-list { list-style: none; margin: 48px auto 0; padding: 0; width: min(720px, 100%); }
.index-list a {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  text-decoration: none;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.index-list li:last-child a { border-bottom: 1px solid var(--line); }
.index-list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 32px; }
.index-list em { display: block; margin-top: 6px; color: var(--muted); font-style: normal; }
.index-list a:hover strong { color: var(--gold); }
.prose time { display: block; margin-bottom: 28px; }
.body { max-width: 68ch; margin: 0 auto; font-size: 1.125rem; line-height: 1.75; }
.body h2, .body h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }
.body a { color: var(--gold); }
.body p, .body li { color: #efe7da; }
.body img {
  display: block;
  width: 100%;
  margin: 8px 0 4px;
  border-radius: 16px;
}
.frame { margin: 28px auto 8px; }
.frame figcaption, .cockpit figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}
.frame.cover img, .contents img, .cover-plain {
  width: 100%;
  border-radius: 18px;
  background: #102119;
}
.cover-plain {
  display: grid;
  place-items: center;
  height: 112px;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 13px;
}

.band {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 7vh 0 2vh;
}
.page-home .band,
.page-home .panel {
  background: #07110d;
}
.page-home .band {
  width: 100%;
  padding-left: max(24px, calc((100% - 1120px) / 2));
  padding-right: max(24px, calc((100% - 1120px) / 2));
}
.drive { text-align: center; }
.cockpit {
  margin: 12px auto 0;
  width: min(860px, 100%);
  padding: 56px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(520px 160px at 50% 88%, rgba(228, 210, 176, 0.16), transparent 70%),
    rgba(10, 22, 16, 0.72);
}
.cockpit img { width: min(480px, 88%); }
.cockpit figcaption {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--gold);
}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  text-align: left;
}
.steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.steps span {
  display: block;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 12px;
  margin-bottom: 12px;
}
.steps h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.03em;
}
.steps p { margin: 0; color: var(--muted); }
.report {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 36px 32px;
  text-align: left;
  background: rgba(10, 22, 16, 0.78);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.report h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.report p { color: var(--muted); }
.continue { text-align: center; padding-bottom: 6vh; }
.continue h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
}
.contents { list-style: none; margin: 48px 0 0; padding: 0; }
.contents a {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 28px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.contents li:last-child a { border-bottom: 1px solid var(--line); }
.contents img { height: 112px; object-fit: contain; padding: 12px; }
.contents time {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}
.contents strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
}
.contents em { display: block; margin-top: 6px; color: var(--muted); font-style: normal; }
.contents a:hover strong { color: var(--gold); }
.related { margin-top: 72px; text-align: left; }
.related .kicker { text-align: center; }
.related ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.related a { display: block; text-decoration: none; }
.related img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #102119;
  border-radius: 16px;
  margin-bottom: 14px;
  padding: 12px;
}
.related time {
  display: block;
  margin: 0 0 8px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  text-align: left;
}
.related strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.related em { display: block; margin-top: 8px; color: var(--muted); font-style: normal; font-size: 15px; }
.related a:hover strong { color: var(--gold); }
.visit-lines { list-style: none; margin: 12px 0 0; padding: 0; }
.visit-lines li { border-top: 1px solid var(--line); padding: 14px 0; }
.visit-lines p { margin: 0; }
.visit-lines summary { color: var(--gold); cursor: pointer; margin-top: 6px; }
.checkline { display: flex; gap: 10px; align-items: center; color: var(--muted); }

.admin { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; position: relative; z-index: 2; }
.admin-rail {
  border-right: 1px solid var(--line);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  background: rgba(7, 17, 13, 0.92);
}
.admin-rail nav { display: flex; flex-direction: column; gap: 10px; }
.admin-rail nav a, .rail-quiet { color: var(--muted); text-decoration: none; }
.admin-rail nav a.is-active, .admin-rail a:hover { color: var(--gold); }
.rail-quiet { font-size: 13px; }
.admin-main { padding: 36px var(--pad) 72px; max-width: 1080px; }
.admin h1 { font-size: clamp(40px, 5vw, 64px); }
.flash, .error { margin: 0 0 18px; }
.flash { color: var(--gold); }
.error { color: #e7b2a8; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 12px 0 36px; }
.metric { border-top: 1px solid var(--line); padding-top: 12px; }
.metric span { color: var(--faint); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.metric b { display: block; margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: 42px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin: 12px 0 28px; }
.bars span { flex: 1; background: linear-gradient(#f3e6cf, #8ea892); min-height: 2px; border-radius: 4px 4px 0 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-weight: 400; padding: 0 12px 10px 0; }
td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.split { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 36px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.file-pick { position: relative; overflow: hidden; cursor: pointer; }
.file-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.row-actions form { margin: 0; display: flex; gap: 14px; }
.row-actions button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  color: var(--gold);
}
.row-actions .danger { padding: 0; color: #e7b2a8; }
.danger, .text-button.quiet {
  background: transparent;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
}
code { font-size: 0.95em; color: var(--gold); }

@media (max-width: 800px) {
  .facts, .metrics, .split, .index-list a, .steps, .contents a, .related ol { grid-template-columns: 1fr; }
  .contents img, .cover-plain { height: 180px; }
  .page-home .wait { grid-template-columns: 1fr; }
  .page-home .wait button { width: 100%; min-height: 48px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-rail { position: relative; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .admin-rail nav { flex-direction: row; flex-wrap: wrap; }
  .colophon { position: relative; bottom: auto; flex-wrap: wrap; padding-bottom: 28px; }
  .page-home .stage { grid-template-columns: 1fr; min-height: 0; padding-top: 24px; padding-bottom: 22vh; }
  .hero-car img { width: min(460px, 92%); margin: 8px auto 0; }
  .page-journal .sheet, .page-post .sheet { width: min(720px, calc(100% - 32px)); padding-top: 32px; padding-bottom: 48px; }
  .road { height: 24vh; min-height: 120px; }
  .panel { padding-top: 28px; padding-bottom: 64px; background: #07110d; }
  h1 { font-size: clamp(40px, 12vw, 64px); }
  .index-list strong { font-size: 26px; }
  .bar { align-items: flex-start; }
  .bar-nav { flex-wrap: wrap; justify-content: flex-end; }
  .wait input, .field input, .field textarea, .field select { font-size: 16px; }
  .metric b { font-size: 32px; }
  .admin-main { padding-top: 24px; }
  table { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .lane, .wheel, .car-near, .car-follow, .car-far, .car-oncoming { animation: none; }
  .car-near { left: 8%; }
  .car-follow { left: 42%; }
  .car-oncoming { right: 6%; }
  .car-far { left: 58%; }
}
