/* nyxaero.com holding page. Tokens and type styles from the NYXAERO brand guidelines (Night theme). */
@font-face { font-family: "Michroma"; src: url("/fonts/Michroma-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/Barlow-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ground: #0a0c0f;
  --line: #2b3038;
  --line-strong: #5a616b;
  --ink: #eceae4;
  --ink-muted: #9ba1aa;
  --font-display: "Michroma", "Eurostile Extended", system-ui, sans-serif;
  --font-sans: "Barlow", "DIN Alternate", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;
  --margin: 80px; /* space-20: desktop page margin */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--ground);
  color: var(--ink);
  font: 400 16px/24px var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
p, h1, figure { margin: 0; }

.top { height: 72px; padding: 0 var(--margin); display: flex; align-items: center; }
.wm { display: block; height: 20px; width: auto; }

.hero {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px var(--margin);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.copy { display: flex; flex-direction: column; gap: 24px; padding-bottom: 32px; }

.eyebrow {
  font: 400 12px/16px var(--font-display);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.display {
  font: 400 48px/56px var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.display span { display: block; }
.lead { font: 400 18px/28px var(--font-sans); max-width: 40ch; }

/* The Λ construction drawing from the guidelines, in hairlines: the wordmark keeps the page's one orange. */
.angle { flex: none; width: min(420px, 32vw); }
.angle svg { display: block; width: 100%; height: auto; overflow: visible; }
.angle line, .angle path { vector-effect: non-scaling-stroke; stroke-width: 1px; }
.g-base { stroke: var(--line); }
.g-lam { fill: none; stroke: var(--line-strong); stroke-linejoin: miter; }
.g-guide { stroke: var(--line-strong); stroke-dasharray: 4 4; }
.g-arc { fill: none; stroke: var(--ink-muted); }
.g-label { fill: var(--ink-muted); font-family: var(--font-mono); font-size: 5px; }

.foot {
  margin: 0 var(--margin);
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  font: 500 12px/16px var(--font-sans);
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

@media (max-width: 1100px) {
  :root { --margin: 40px; }
  .display { font-size: 36px; line-height: 44px; }
}
@media (max-width: 1000px) {
  .angle { display: none; }
}
@media (max-width: 760px) {
  :root { --margin: 16px; }
  .top { height: 56px; }
  .wm { height: 16px; }
  .hero { padding: 48px var(--margin); align-items: flex-start; flex-direction: column; justify-content: center; }
  .copy { padding-bottom: 0; }
  .display { font-size: 20px; line-height: 28px; letter-spacing: 0.06em; }
  .lead { font-size: 16px; line-height: 24px; }
  .angle { display: none; }
}
