@font-face {
  font-family: "UnifrakturMaguntia";
  src: url("/assets/fonts/unifrakturmaguntia-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("/assets/fonts/syne-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("/assets/fonts/syne-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Syne";
  src: url("/assets/fonts/syne-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --void: #070707;
  --panel: #0e0e0e;
  --bone: #f4f0ea;
  --muted: rgba(244, 240, 234, 0.56);
  --faint: rgba(244, 240, 234, 0.32);
  --crimson: #8b1a2a;
  --crimson-bright: #c42d42;
  --stitch: rgba(196, 45, 66, 0.55);
  --rule: rgba(244, 240, 234, 0.12);
  --gothic: "UnifrakturMaguntia", Georgia, serif;
  --sans: "Syne", system-ui, sans-serif;
  --content: 62rem;
  --gutter: clamp(1rem, 4vw, 1.5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
html, body { min-height: 100%; }
body {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--bone);
  background: var(--void);
  overflow-x: clip;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--crimson-bright); color: var(--bone); }

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--crimson-bright);
  outline-offset: 3px;
}

.void {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 35% at 50% 0%, rgba(196, 45, 66, 0.14), transparent 58%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(20, 20, 20, 0.9), transparent 55%),
    linear-gradient(180deg, #0a0a0a 0%, var(--void) 42%, #050505 100%);
}
.void::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.beam {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(28rem, 55vw);
  height: 100%;
  translate: -50% 0;
  background: linear-gradient(90deg, transparent, rgba(244, 240, 234, 0.025), transparent);
  clip-path: polygon(42% 0, 58% 0, 72% 100%, 28% 100%);
}

.hem {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--stitch) 0,
      var(--stitch) 8px,
      transparent 8px,
      transparent 14px
    );
  opacity: 0.65;
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding:
    clamp(1.25rem, 4vw, 2rem)
    max(var(--gutter), env(safe-area-inset-right))
    clamp(1.5rem, 5vw, 2.5rem)
    max(var(--gutter), env(safe-area-inset-left));
}

.runway {
  width: min(var(--content), 100%);
  min-width: 0;
}

.runway-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: clamp(1.25rem, 3.5vw, 2rem);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--rule);
}
.runway-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--bone);
}
.runway-mark {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  flex-shrink: 0;
}
.runway-brand span {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.runway-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson-bright);
  border: 1px solid var(--stitch);
  padding: 0.35rem 0.65rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.gothic-stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3.5vw, 2rem) clamp(0.75rem, 2.5vw, 1.25rem);
  border: 1px solid var(--rule);
  background:
    linear-gradient(165deg, rgba(14, 14, 14, 0.98), rgba(8, 8, 8, 0.99));
  container-type: inline-size;
  position: relative;
  overflow: hidden;
}
.gothic-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--crimson-bright), var(--crimson), transparent);
  opacity: 0.85;
}

.soon-chip {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone);
  background: var(--crimson);
  transform: skewX(-8deg);
}

.gothic-stage h1 {
  line-height: 0.88;
  margin-bottom: 0.85rem;
  overflow-wrap: anywhere;
}
.gothic-stage .blackletter {
  display: block;
  font-family: var(--gothic);
  font-weight: 400;
  font-size: clamp(3.5rem, 1.5rem + 14cqi, 7.5rem);
  letter-spacing: 0.02em;
  color: var(--bone);
  text-shadow: 0 0 40px rgba(196, 45, 66, 0.15);
}
.gothic-stage .tld {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(0.95rem, 0.5rem + 3cqi, 1.35rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

@supports not (font-size: 1cqi) {
  .gothic-stage .blackletter { font-size: clamp(3.5rem, 1.5rem + 12vw, 7.5rem); }
  .gothic-stage .tld { font-size: clamp(0.95rem, 0.5rem + 2.5vw, 1.35rem); }
}

.hook {
  font-size: clamp(0.82rem, 2vw, 0.92rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
  max-width: 28ch;
}

.spec-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.logo-frame {
  min-width: 0;
  padding: 3px;
  border: 1px solid var(--rule);
  background: linear-gradient(145deg, rgba(244, 240, 234, 0.08), rgba(196, 45, 66, 0.25));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}
.logo-frame img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--void);
}
.logo-frame figcaption {
  margin-top: 0.4rem;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
}

.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  min-width: 0;
}
.specs div {
  min-width: 0;
  padding: 0.7rem 0.65rem;
  border: 1px solid var(--rule);
  background: rgba(0, 0, 0, 0.35);
}
.specs dt {
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.22rem;
}
.specs dd {
  font-weight: 600;
  font-size: clamp(0.82rem, 2vw, 0.92rem);
  color: var(--bone);
  overflow-wrap: anywhere;
}
.specs dd.hot { color: var(--crimson-bright); }

.closing {
  padding: clamp(1.15rem, 3.5vw, 1.5rem);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--crimson);
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.98), rgba(7, 7, 7, 0.99));
}
.closing h2 {
  font-weight: 700;
  font-size: clamp(1.15rem, 2.8vw, 1.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.closing .lead {
  font-size: clamp(0.88rem, 2vw, 0.98rem);
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 48ch;
}
.closing .lead em {
  font-style: normal;
  color: var(--bone);
  font-weight: 600;
}
.closing .sub {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.65rem 1.3rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.actions a:first-child {
  color: var(--bone);
  background: var(--crimson-bright);
  border-color: var(--crimson-bright);
}
.actions a:first-child:hover {
  background: #d63a50;
  border-color: #d63a50;
}
.actions a.secondary {
  color: var(--bone);
  background: transparent;
  border-color: var(--rule);
}
.actions a.secondary:hover {
  border-color: var(--crimson-bright);
  background: rgba(196, 45, 66, 0.08);
}
.mail-line {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.mail-line a {
  color: var(--crimson-bright);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.mail-line a:hover { color: var(--bone); }

.disclaimer {
  font-size: 0.66rem;
  line-height: 1.62;
  color: var(--faint);
  max-width: 42rem;
}

.site-foot {
  padding-top: 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
  }
  .gothic-stage {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .specs {
    grid-template-columns: 1fr;
  }
  .gothic-stage .tld {
    letter-spacing: 0.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* 404 */
.error {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
}
.error-card {
  width: min(22rem, 100%);
  text-align: center;
  padding: clamp(1.75rem, 5vw, 2.25rem);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--crimson);
  background: linear-gradient(165deg, rgba(14, 14, 14, 0.98), rgba(7, 7, 7, 0.99));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5);
}
.error-mark {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  margin: 0 auto 1rem;
}
.error-card h1 {
  font-family: var(--gothic);
  font-size: clamp(2.75rem, 12vw, 3.75rem);
  color: var(--bone);
  margin-bottom: 0.5rem;
  line-height: 1;
}
.error-card p {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.error-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.65rem 1.3rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone);
  background: var(--crimson-bright);
  border: 1px solid var(--crimson-bright);
}
.error-card a:hover {
  background: #d63a50;
}
