/* Vorpal Hedge · holding page. Tokens follow brand/VORPAL-BRAND-v2.1.md. */

:root {
  --ink: #07041D;
  --ink-75: #4F4D66;
  --ink-50: #8A8899;
  --ink-25: #C5C4CC;
  --crimson: #7A1F2A;
  --crimson-75: #90575F;
  --copper: #B66D00;
  --paper: #F5F1EA;
  --silver: #E2E2E6;
  --midnight-25: #C2CBD2;

  --serif: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  --sans: 'Mulish', 'Avenir Next', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

  --pad-x: clamp(20px, 6.67vw, 96px);
  --pad-top: clamp(24px, 2.8vw, 40px);
  --panel-pad: clamp(22px, 2.5vw, 36px);
  --logo-w: clamp(112px, 9.2vw, 132px);
  --wedge: clamp(280px, 46vw, 660px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--silver);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { list-style: none; padding: 0; }
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }

.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
}
.eyebrow--copper { color: var(--copper); }
.anchor { flex: none; width: 14px; height: 11px; fill: currentColor; }

/* Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: var(--pad-top) var(--pad-x) 56px;
}

.noise {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  font-family: var(--mono);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-75);
}
.noise span {
  position: absolute;
  left: 0;
  top: 0;
  visibility: hidden;
  white-space: nowrap;
  text-decoration-line: line-through;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  transition: color 1.8s ease-in-out, text-decoration-color 1.8s ease-in-out;
}
.noise span.is-struck {
  color: var(--ink-25);
  text-decoration-color: var(--copper);
  transition-duration: 0.22s;
  transition-timing-function: ease-out;
}
.noise span.is-struck.is-soft { color: var(--ink-50); }

.hero__wedge {
  position: absolute;
  height: var(--wedge);
  width: auto;
  left: calc(var(--wedge) * -0.15);
  bottom: calc(var(--wedge) * -0.38);
  pointer-events: none;
  animation: wedge-in 600ms var(--ease-out) both;
}

.hero__logo {
  position: absolute;
  top: var(--pad-top);
  right: calc(var(--pad-x) + var(--panel-pad) + 1px); /* lines up with the button's right edge */
  width: var(--logo-w);
  height: auto;
}

.hero__eyebrow {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: calc(100% - var(--logo-w) - var(--panel-pad) - 24px);
  font-size: clamp(11px, 0.85vw, 12px);
}

.hero__title {
  position: relative;
  width: fit-content;
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 10.4vw, 150px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero__title span { display: block; }
.hero__title em { font-style: italic; color: var(--copper); }

.hero__row {
  position: relative;
  margin-top: clamp(64px, 6.7vw, 96px);
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  column-gap: 40px;
}
.hero__col { flex: 0 1 720px; min-width: 0; }
.hero__spacer { flex: 1 1 320px; min-height: min(calc(var(--wedge) * 0.62 - 56px), 290px); }

.hero__deck {
  width: fit-content;
  max-width: 600px;
  font-weight: 300;
  font-size: clamp(19px, 1.53vw, 22px);
  line-height: 1.45;
  text-wrap: pretty;
}
.hero__deck span { display: block; }

/* Waitlist -------------------------------------------------------- */

.waitlist {
  margin-top: 44px;
  background: var(--ink);
  border: 1px solid var(--ink-75);
  border-top: 2px solid var(--crimson);
  padding: var(--panel-pad);
}
.waitlist__title {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: 1.25;
  text-wrap: balance;
}
.waitlist__form { margin-top: 24px; }
/* Honeypot field: off screen for people, still in the form for bots. */
.waitlist__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.label {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.waitlist__fields { display: flex; flex-wrap: wrap; row-gap: 8px; margin-top: 10px; }

.field {
  flex: 999 1 240px;
  min-width: 0;
  height: 52px;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0 18px;
  background: var(--midnight-25);
  color: var(--ink);
  font: 400 17px/1.4 var(--sans);
  outline: 2px solid transparent;
  outline-offset: 3px;
}
.field::placeholder { color: var(--ink-75); opacity: 1; }
.field:focus { outline-color: var(--copper); }
.field[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--crimson); }

.button {
  flex: 1 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 26px;
  border: 0;
  border-radius: 0;
  background: var(--crimson);
  color: var(--paper);
  font: 500 13px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease-out;
}
.button:hover { background: var(--crimson-75); }
.button:disabled { opacity: 0.5; cursor: not-allowed; }
.button .anchor { width: 10px; height: 8px; fill: var(--copper); }

.waitlist__done {
  min-height: 76px;
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  outline: none;
}
.waitlist__notes {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font: 500 12px/1.25 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-25);
}
.waitlist__notes p { text-wrap: balance; }
.waitlist__status.is-alert,
.waitlist__status.is-done { color: var(--paper); }

/* Evolution ------------------------------------------------------- */

.evolution { padding: clamp(72px, 8.9vw, 128px) var(--pad-x) 0; }
.evolution__body {
  margin-top: 24px;
  padding-top: 26px;
  border-top: 2px solid var(--crimson);
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: clamp(19px, 1.53vw, 22px);
  font-weight: 300;
  line-height: 1.5;
}
.evolution__body p { max-width: 68ch; text-wrap: pretty; }

/* Main ------------------------------------------------------------ */

.main {
  padding: clamp(72px, 8.9vw, 128px) var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: clamp(48px, 8vw, 120px);
  row-gap: 72px;
}

.changes { flex: 1 1 520px; min-width: 0; }
.changes__list { margin-top: 24px; }
.change {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 12px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--ink-25);
}
.change:first-child { border-top: 2px solid var(--crimson); }
.change:last-child { border-bottom: 1px solid var(--ink-25); }
.change__label {
  flex: 0 0 150px;
  margin-top: 8px;
  font: 500 12px/1.5 var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-75);
}
.change__label b { font-weight: 500; color: var(--crimson); }
.change__body { flex: 1 1 280px; min-width: 0; }
.change__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.12;
}
.change__title--cut {
  text-decoration: line-through;
  text-decoration-color: var(--crimson);
  text-decoration-thickness: 3px;
}
.change__text {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-75);
  text-wrap: pretty;
}

.aside {
  flex: 1 1 400px;
  min-width: 0;
  padding-top: 50px;
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 6vw, 88px);
}

.doctrine { display: flex; gap: clamp(20px, 2vw, 28px); }
.doctrine__rail { flex: none; width: 24px; display: flex; flex-direction: column; align-items: center; }
.doctrine__rail svg { width: 24px; height: 30px; fill: var(--crimson); }
.doctrine__rail::after { content: ""; width: 2px; flex: 1; background: var(--crimson); }
.doctrine__body { min-width: 0; padding: 2px 0 4px; }
.doctrine blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 3.9vw, 56px);
  line-height: 1.05;
}
.doctrine blockquote span { display: block; }

.links { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.links li { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.links .anchor { width: 12px; height: 9px; fill: var(--crimson); }
.links a {
  display: inline-block;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--crimson);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  transition: color 200ms ease-out, transform 200ms ease-out;
}
.links a:hover { color: var(--crimson); transform: translateY(-2px); }

/* Footer ---------------------------------------------------------- */

.footer { background: var(--ink); color: var(--paper); padding: 6px var(--pad-x); }
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 40px;
  row-gap: 4px;
}
.footer__brand { display: flex; align-items: center; gap: 16px; min-height: 44px; }
.footer__mark { flex: none; height: 26px; width: auto; }
.footer__tagline { font-family: var(--serif); font-size: 16px; line-height: 1.3; text-wrap: balance; }
.footer__tagline .accent { color: var(--copper); }
.footer__copy {
  display: flex;
  align-items: center;
  min-height: 44px;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-25);
}
.footer__about {
  margin-bottom: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--ink-75);
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-25);
  text-wrap: pretty;
}

/* Motion ---------------------------------------------------------- */

@keyframes wedge-in {
  from { transform: translateX(-20%) scale(0.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0ms !important;
  }
}
