/* Monolithic Bullets — Coming Soon
   Copper-on-charcoal engineering plate + cyan data glow.
   Layout target: reference mock — hero + lower two columns.
   Ballistic readouts are MOCK / ILLUSTRATIVE only. */

:root {
  --bg: #12100e;
  --bg-elev: #1a1714;
  --bg-card: #211d18;
  --bg-card-2: #2a241e;
  --line: #3d342b;
  --line-soft: #2e2822;
  --copper: #c47a4a;
  --copper-bright: #e09a68;
  --copper-dim: #8a5534;
  --cyan: #7ec8e3;
  --cyan-dim: #3a6a7a;
  --steel: #a8b0b8;
  --steel-dim: #6e767e;
  --ink: #efe6db;
  --ink-mute: #b5a898;
  --ok: #5a9a6a;
  --font: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --display: "IBM Plex Sans Condensed", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", ui-monospace, monospace;
  --max: 1100px;
  --radius: 12px;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1000px 520px at 6% -12%, rgba(196, 122, 74, 0.18), transparent 55%),
    radial-gradient(720px 440px at 94% 0%, rgba(126, 200, 227, 0.08), transparent 50%),
    radial-gradient(640px 420px at 50% 115%, rgba(196, 122, 74, 0.07), transparent 60%),
    var(--bg);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a {
  color: var(--copper-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: #f0c49a; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--copper); color: #1a120c;
  padding: 0.55rem 1rem; z-index: 100; font-weight: 600;
  border-radius: 4px;
}
.skip:focus { left: 0.75rem; top: 0.75rem; outline: none; }

/* —— Blurred teaser layer —— */
.teasers {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.teaser {
  position: absolute;
  filter: blur(14px) grayscale(0.55) saturate(0.7);
  opacity: 0.16;
  mix-blend-mode: screen;
  transform: scale(1.08);
}
.teaser-a { width: min(520px, 70vw); top: 6%; right: -4%; }
.teaser-b { width: min(480px, 65vw); bottom: 8%; left: -6%; opacity: 0.12; }
.teaser-c { width: min(420px, 55vw); top: 42%; left: 28%; opacity: 0.09; filter: blur(18px) grayscale(0.7); }

.plate {
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column;
  isolation: isolate;
}
.plate-bg {
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.4; pointer-events: none;
  background-image: url("assets/plate-bg.svg");
  background-size: cover; background-position: center;
}
.plate-frame {
  position: absolute; inset: 0.65rem;
  border: 1px solid var(--line); border-radius: 4px;
  pointer-events: none; z-index: 0;
}
.plate-frame::before, .plate-frame::after,
.frame-corner {
  content: ""; position: absolute;
  width: 14px; height: 14px;
  border-color: var(--copper-dim); border-style: solid; opacity: 0.75;
}
.plate-frame::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.plate-frame::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.frame-corner.tr { top: calc(0.65rem - 1px); right: calc(0.65rem - 1px); border-width: 2px 2px 0 0; content: none; }
.frame-corner.bl { bottom: calc(0.65rem - 1px); left: calc(0.65rem - 1px); border-width: 0 0 2px 2px; content: none; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto; position: relative; z-index: 1;
}

/* Header */
.site-header { padding: 1.25rem 0 0.5rem; }
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand:focus-visible { border-radius: 8px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 9px;
  background: linear-gradient(145deg, #e09a68, #8a5534 55%, #3d2a1c);
  border: 1px solid rgba(240, 196, 154, 0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 0 18px rgba(196,122,74,0.28);
  display: grid; place-items: center; flex-shrink: 0;
}
.brand-text strong {
  display: block; font-family: var(--display);
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.brand-text span { display: block; font-size: 0.72rem; color: var(--ink-mute); margin-top: 0.1rem; }
.arrive {
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(126, 200, 227, 0.32);
  background: rgba(126, 200, 227, 0.07);
  padding: 0.42rem 0.8rem; border-radius: 999px;
  white-space: nowrap;
}

/* —— Hero: copy | large vertical bullet —— */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: center;
  padding: 1.75rem 0 1.5rem;
}

.hero-copy {
  opacity: 1;
  animation: rise-in 0.9s var(--ease-out) both;
}
.hero-visual {
  display: flex; flex-direction: column; align-items: center;
  opacity: 1;
  animation: rise-in 1.05s var(--ease-out) 0.12s both;
}

@keyframes rise-in {
  from { opacity: 0.001; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.spec-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--copper-bright);
  border: 1px dashed var(--copper-dim);
  background: rgba(196, 122, 74, 0.08);
  padding: 0.4rem 0.75rem; border-radius: 4px;
  margin-bottom: 1.25rem;
}
.spec-badge .led {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 10px rgba(224, 154, 104, 0.85);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}

.hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 5.4vw, 3.4rem);
  line-height: 1.02; letter-spacing: 0.005em;
}

.tagline {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  color: var(--copper-bright); font-weight: 500;
  letter-spacing: 0.01em;
}
.lede {
  margin: 0 0 1.15rem;
  color: var(--ink-mute);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 40ch;
}
.arrive-line {
  margin: 0 0 1.35rem;
  font-family: var(--mono); font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan);
}

.spec-row {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-bottom: 0;
}
.chip {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--steel); border: 1px solid var(--line);
  background: rgba(0,0,0,0.28); padding: 0.3rem 0.55rem; border-radius: 3px;
}
.chip.copper { color: var(--copper-bright); border-color: var(--copper-dim); }
.chip.cyan { color: var(--cyan); border-color: var(--cyan-dim); }

/* —— Large vertical bullet —— */
.bullet-stage {
  position: relative;
  width: min(240px, 58vw);
  aspect-ratio: 140 / 300;
  margin: 0 auto;
  padding: 0.25rem 0.5rem 0.5rem;
}
.bullet-glow {
  position: absolute;
  inset: 12% 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(196,122,74,0.32), transparent 68%);
  filter: blur(18px);
  animation: glow-breathe 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.bullet-stage .bullet-svg {
  position: relative; z-index: 1;
  width: 100%; height: auto;
  filter: drop-shadow(0 0 22px rgba(196,122,74,0.42));
  animation: float-y 6s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.dim-callout {
  position: absolute; right: -0.15rem; top: 18%;
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--copper); opacity: 0.9;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-left: 1px dashed var(--copper-dim);
  padding-left: 0.35rem;
  z-index: 2;
  white-space: nowrap;
}

/* —— Lower: waitlist | ballistic (side-by-side; not under hero) —— */
.lower {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.5rem 2rem;
  align-items: start;
  padding: 0.75rem 0 2.75rem;
  opacity: 1;
  animation: rise-in 0.85s var(--ease-out) 0.15s both;
}
.lower > .waitlist,
.lower > .hud {
  min-width: 0;
  width: 100%;
}
.lower > .hud {
  position: sticky;
  top: 1rem;
}

/* —— Mock ballistic HUD —— */
.hud {
  position: relative;
  background: linear-gradient(165deg, rgba(33,29,24,0.94), rgba(18,16,14,0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 40px rgba(126, 200, 227, 0.06);
  padding: 1.05rem 1.1rem 1.15rem;
  overflow: hidden;
}
.hud::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(126,200,227,0.045) 50%, transparent 100%);
  animation: sweep 7s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes sweep {
  0%, 100% { transform: translateX(-30%); }
  50% { transform: translateX(30%); }
}
.hud-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.75rem; margin-bottom: 0.85rem; flex-wrap: wrap;
  position: relative; z-index: 1;
}
.hud-label {
  font-family: var(--mono); font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
}
.hud-demo {
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--copper-bright);
  border: 1px solid rgba(196,122,74,0.45);
  padding: 0.22rem 0.5rem; border-radius: 3px;
  background: rgba(196,122,74,0.08);
}
.hud-cart {
  font-family: var(--display); font-weight: 600;
  font-size: 1.15rem; margin: 0 0 0.35rem;
  position: relative; z-index: 1;
}
.hud-sub {
  margin: 0 0 0.95rem; font-size: 0.78rem; color: var(--steel-dim);
  font-family: var(--mono); letter-spacing: 0.03em; line-height: 1.4;
  position: relative; z-index: 1;
}

.hud-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem; margin-bottom: 0.95rem;
  position: relative; z-index: 1;
}
.readout {
  border: 1px solid var(--line-soft);
  background: rgba(0,0,0,0.28);
  border-radius: 8px; padding: 0.55rem 0.55rem 0.6rem;
  min-width: 0;
}
.readout .k {
  display: block; font-family: var(--mono);
  font-size: 0.58rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: #9aa3ab; margin-bottom: 0.25rem;
  line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.readout .k abbr {
  text-decoration: none;
  border-bottom: 1px dotted var(--steel-dim);
  cursor: help;
}
.readout .v {
  font-family: var(--mono); font-size: 0.95rem; font-weight: 500;
  color: var(--copper-bright); text-shadow: 0 0 12px rgba(196,122,74,0.25);
}
.readout .v.cyan {
  color: var(--cyan); text-shadow: 0 0 12px rgba(126,200,227,0.3);
}
.readout .u { font-size: 0.7rem; color: var(--steel-dim); margin-left: 0.15rem; }

.trace-wrap {
  position: relative; z-index: 1;
  border: 1px dashed rgba(126,200,227,0.22);
  border-radius: 8px; padding: 0.5rem 0.55rem 0.4rem;
  background: rgba(0,0,0,0.22);
}
.trace-wrap svg { width: 100%; height: auto; }
.trace-caption {
  margin: 0.4rem 0 0;
  font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--steel-dim); text-align: center; line-height: 1.35;
}
.crosshair {
  position: absolute; top: 52%; right: 8%;
  width: 64px; height: 64px; pointer-events: none; opacity: 0.32; z-index: 0;
}
.crosshair::before, .crosshair::after {
  content: ""; position: absolute; background: var(--cyan);
}
.crosshair::before { left: 50%; top: 10%; bottom: 10%; width: 1px; transform: translateX(-50%); }
.crosshair::after { top: 50%; left: 10%; right: 10%; height: 1px; transform: translateY(-50%); }
.dash-pulse {
  stroke-dasharray: 4 6;
  animation: dashmove 12s linear infinite;
}
@keyframes dashmove { to { stroke-dashoffset: -120; } }

/* —— Waitlist —— */
.waitlist {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.25rem 1.25rem;
  text-align: left;
}
.waitlist-title {
  margin: 0 0 0.55rem;
  font-family: var(--display); font-weight: 600;
  font-size: 1.25rem; letter-spacing: 0.01em;
  color: var(--ink);
}
.waitlist-intro {
  margin: 0 0 1.15rem; font-size: 0.95rem;
  color: var(--ink-mute); line-height: 1.45;
}
.waitlist .field { margin-bottom: 1rem; }
.waitlist .field label {
  display: block; font-size: 0.9rem; font-weight: 500;
  color: var(--ink); margin-bottom: 0.4rem; line-height: 1.35;
}
.waitlist .field .opt,
.waitlist .field .req {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase; margin-left: 0.35rem;
}
.waitlist .field .opt { color: var(--steel-dim); }
.waitlist .field .req { color: var(--copper-bright); }
.waitlist input[type="text"],
.waitlist input[type="email"],
.waitlist textarea {
  width: 100%; appearance: none;
  border: 1px solid var(--line); background: var(--bg);
  color: var(--ink); border-radius: 8px;
  padding: 0.7rem 0.9rem; font: inherit; font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
  resize: vertical;
}
.waitlist textarea { min-height: 4.5rem; }
.waitlist input::placeholder,
.waitlist textarea::placeholder {
  color: var(--steel-dim); opacity: 0.85;
}
.waitlist input:hover,
.waitlist textarea:hover {
  border-color: #4a4036;
}
.waitlist input:focus,
.waitlist textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(196, 122, 74, 0.28);
}
.waitlist input:focus-visible,
.waitlist textarea:focus-visible {
  outline: none;
}
.waitlist-actions { margin-top: 0.5rem; }
.waitlist-actions button {
  width: 100%; appearance: none;
  border: 1px solid #e0a878;
  background: linear-gradient(180deg, #d48955, #a05a32);
  color: #1a120c; font: inherit; font-weight: 600; font-size: 1rem;
  min-height: 3rem;
  padding: 0.8rem 1.1rem; border-radius: 8px; cursor: pointer;
  transition: filter 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 18px rgba(196, 122, 74, 0.22);
}
.waitlist-actions button:hover { filter: brightness(1.07); }
.waitlist-actions button:active { filter: brightness(0.97); }
.waitlist-actions button:focus-visible {
  outline: 2px solid var(--copper-bright);
  outline-offset: 3px;
}
.waitlist-actions button:disabled {
  opacity: 0.55; cursor: not-allowed; filter: none; box-shadow: none;
}
.waitlist-note {
  margin: 0.7rem 0 0; font-size: 0.78rem; color: var(--steel-dim); line-height: 1.45;
}
.waitlist-status {
  margin: 0.65rem 0 0; font-size: 0.88rem; color: var(--ok); min-height: 1.2em;
}
.waitlist-status[hidden] { display: none; }
.waitlist-status.error { color: #d08070; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 1.1rem 0 1.4rem; position: relative; z-index: 1;
  margin-top: auto;
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--steel-dim);
}
.footer-inner .mono {
  font-family: var(--mono); letter-spacing: 0.04em; color: var(--ink-mute);
}

/* —— Mobile —— */
@media (max-width: 860px) {
  .wrap { width: min(100% - 1.5rem, var(--max)); }
  .plate-frame { inset: 0.4rem; }
  .frame-corner.tr { top: calc(0.4rem - 1px); right: calc(0.4rem - 1px); }
  .frame-corner.bl { bottom: calc(0.4rem - 1px); left: calc(0.4rem - 1px); }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 1.15rem 0 1.1rem;
  }
  .hero-visual { order: -1; }
  .lede { max-width: none; }

  .bullet-stage {
    width: min(200px, 52vw);
    margin: 0 auto;
  }
  .dim-callout {
    writing-mode: horizontal-tb; transform: none;
    right: auto; left: 50%; top: auto; bottom: -0.15rem;
    translate: -50% 0; border-left: none;
    border-top: 1px dashed var(--copper-dim);
    padding-left: 0; padding-top: 0.3rem;
  }

  .lower {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0.35rem 0 2rem;
  }
  .waitlist { padding: 1.15rem 1.05rem 1.1rem; }
}

@media (max-width: 480px) {
  .site-header { padding: 1rem 0 0.25rem; }
  .brand-mark { width: 36px; height: 36px; border-radius: 8px; }
  .brand-text strong { font-size: 0.82rem; }
  .arrive { font-size: 0.62rem; padding: 0.35rem 0.65rem; letter-spacing: 0.1em; }

  .hero h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .spec-badge { margin-bottom: 1rem; }

  .hud-grid { grid-template-columns: repeat(2, 1fr); }
  .readout .k { font-size: 0.55rem; white-space: normal; }

  .footer-inner {
    flex-direction: column; align-items: flex-start; gap: 0.45rem;
  }
}

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
  .spec-badge .led,
  .hud::before,
  .dash-pulse,
  .bullet-glow,
  .bullet-stage .bullet-svg,
  .hero-copy,
  .hero-visual,
  .lower {
    animation: none !important;
  }
  .hero-copy,
  .hero-visual,
  .lower {
    opacity: 1;
    transform: none;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
