/* VLTRN · Carbon[6] — "The Pressure Chamber"
   Carbon in its pure form: black, white, structure. No gradients, no colour
   decoration. State is carried by inversion, weight and light — the way
   pressure shows itself. One ember, reserved for money running out. */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600&family=Archivo+Black&family=Sometype+Mono:wght@400;500;600&display=swap');

:root {
  /* Carbon. Near-black, imperceptibly cool — pure #000 kills the depth
     that the lattice and the hairlines depend on. */
  --carbon:        oklch(0.145 0.004 265);
  --carbon-raised: oklch(0.192 0.005 265);
  --carbon-edge:   oklch(0.258 0.006 265);
  --carbon-line:   oklch(0.318 0.007 265);

  --white:         oklch(0.981 0.002 265);
  --white-soft:    oklch(0.812 0.004 265);
  --white-faint:   oklch(0.618 0.006 265);
  --white-ghost:   oklch(0.448 0.006 265);

  /* The only chromatic note in the system. Money running out — nothing else. */
  --ember:         oklch(0.712 0.168 55);
  --ember-dim:     oklch(0.472 0.108 55);

  --display: 'Archivo Black', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --sans:    'Archivo', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  --mono:    'Sometype Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --sp-2xs: 4px;  --sp-xs: 8px;  --sp-sm: 12px; --sp-md: 16px;
  --sp-lg: 24px;  --sp-xl: 32px; --sp-2xl: 48px; --sp-3xl: 64px; --sp-4xl: 96px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--carbon);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--white); color: var(--carbon); }
a { color: inherit; }

/* --- the lattice ---------------------------------------------------------- */
#lattice {
  position: fixed;
  inset: 0;
  /* A canvas has an intrinsic 300x150 box — inset alone will not stretch it. */
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.shell { position: relative; z-index: 1; }

.pad { padding-inline: clamp(20px, 6vw, 88px); }
.hold { max-width: 1240px; margin-inline: auto; }

/* --- masthead ------------------------------------------------------------- */
.mast {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding-block: var(--sp-md);
  background: color-mix(in oklab, var(--carbon) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--carbon-edge);
}

.lockup { display: flex; align-items: center; gap: 14px; text-decoration: none; }

.vmark { width: 30px; height: 30px; flex: none; display: block; }
.vmark path, .vmark polygon { fill: var(--white); }

.lockup-type { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.lockup-type b {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.32em;
}
.lockup-type span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--white-faint);
  text-transform: uppercase;
}

.mast-right {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-faint);
}

.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--white);
  display: inline-block;
  margin-right: 7px;
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.28; } }

/* --- hero ----------------------------------------------------------------- */
.hero { padding-block: clamp(56px, 11vw, 132px) clamp(40px, 6vw, 72px); }

.kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin: 0 0 var(--sp-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::after { content: ''; flex: 1; max-width: 90px; height: 1px; background: var(--carbon-line); }

h1.mono-head {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.7rem, 8.5vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0 0 var(--sp-lg);
  max-width: 14ch;
}
h1.mono-head .thin {
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--white-soft);
}

.lede {
  max-width: 56ch;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.68;
  color: var(--white-soft);
  margin: 0 0 var(--sp-md);
}

.signature {
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-top: var(--sp-xl);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--carbon-edge);
  font-size: 14px;
}
.signature b { font-weight: 600; }
.signature span { color: var(--white-faint); }

/* --- the guided rail ------------------------------------------------------ */
.rail {
  display: flex;
  gap: 0;
  border-block: 1px solid var(--carbon-edge);
  margin-bottom: var(--sp-2xl);
  overflow-x: auto;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.rail-step {
  flex: 1;
  min-width: 160px;
  padding: var(--sp-md) var(--sp-md) var(--sp-md) 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-right: 1px solid var(--carbon-edge);
  color: var(--white-ghost);
  transition: color 0.4s var(--ease);
}
.rail-step:last-child { border-right: 0; }
.rail-step.on { color: var(--white); }
.rail-step.done { color: var(--white-faint); }

.rail-n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding-top: 3px;
  flex: none;
}
.rail-step.on .rail-n { color: var(--white); }

.rail-label { font-size: 13px; line-height: 1.35; font-weight: 500; }
.rail-sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-ghost);
  margin-top: 3px;
}

/* --- section heads -------------------------------------------------------- */
.head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
  flex-wrap: wrap;
}
.head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  letter-spacing: -0.028em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.head .note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-left: auto;
}

/* --- choice cards --------------------------------------------------------- */
.choices { display: grid; gap: 1px; background: var(--carbon-edge); border: 1px solid var(--carbon-edge); }

@media (min-width: 900px) {
  .choices.two { grid-template-columns: 1fr 1fr; }
}

.choice {
  background: var(--carbon);
  border: 0;
  padding: clamp(22px, 3vw, 34px);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  position: relative;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
  min-height: 100%;
}

.choice:hover { background: var(--carbon-raised); }
.choice:focus-visible { outline: 2px solid var(--white); outline-offset: -3px; }

/* Selection inverts the card — carbon under pressure becomes light. */
.choice[aria-pressed='true'] { background: var(--white); color: var(--carbon); }
.choice[aria-pressed='true'] .c-spec,
.choice[aria-pressed='true'] .c-blurb { color: color-mix(in oklab, var(--carbon) 68%, transparent); }
.choice[aria-pressed='true'] .c-go { color: var(--carbon); }
.choice[aria-pressed='true'] .flag { border-color: var(--carbon); color: var(--carbon); }

.c-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-lg); }
.c-top > div:first-child { min-width: 0; }
.c-top > div:last-child { flex: none; }

.c-name {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

.c-price {
  font-family: var(--mono);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  white-space: nowrap;
  line-height: 1;
}

.c-spec {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-faint);
}

.c-blurb { font-size: 14px; line-height: 1.62; color: var(--white-soft); margin: 0; max-width: 44ch; }

.flag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--white-faint);
  color: var(--white-faint);
  padding: 3px 7px;
  white-space: nowrap;
  align-self: flex-start;
}

.c-go {
  margin-top: auto;
  padding-top: var(--sp-md);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.c-go::after {
  content: '';
  width: 16px; height: 1px;
  background: currentColor;
  transition: width 0.45s var(--ease-out);
}
.choice:hover .c-go::after { width: 34px; }

.includes { list-style: none; padding: 0; margin: var(--sp-xs) 0 0; display: grid; gap: 6px; font-size: 13px; color: var(--white-soft); }
.includes li { display: flex; gap: 10px; align-items: baseline; }
.includes li::before { content: ''; width: 5px; height: 5px; background: currentColor; flex: none; opacity: 0.6; }
.choice[aria-pressed='true'] .includes { color: color-mix(in oklab, var(--carbon) 72%, transparent); }

/* --- calendar + slots ----------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.cal-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-sm);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--carbon-line);
  margin-bottom: var(--sp-xs);
}
.cal-title { font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.02em; text-transform: uppercase; }

.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  font: inherit; font-family: var(--mono); font-size: 14px; line-height: 1;
  width: 34px; height: 34px;
  background: none; border: 1px solid var(--carbon-line); color: var(--white);
  cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cal-nav button:hover:not(:disabled) { background: var(--white); color: var(--carbon); border-color: var(--white); }
.cal-nav button:disabled { opacity: 0.22; cursor: default; }

.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); }
.dow div {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white-ghost);
  text-align: center; padding-block: var(--sp-sm);
}

.day {
  position: relative; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums;
  background: none; border: 0; color: var(--white-ghost); cursor: default;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.day.free { color: var(--white); cursor: pointer; font-weight: 500; }
.day.free:hover { background: var(--carbon-raised); }
.day.free::after {
  content: ''; position: absolute; bottom: 15%;
  width: 4px; height: 4px; background: currentColor; opacity: 0.75;
}
.day.on { background: var(--white); color: var(--carbon); font-weight: 600; }
.day.today { box-shadow: inset 0 0 0 1px var(--carbon-line); }
.day:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; }

.slots-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-sm);
  padding-bottom: var(--sp-sm); border-bottom: 1px solid var(--carbon-line); margin-bottom: 2px;
}
.slots-when { font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.02em; text-transform: uppercase; }
.slots-count { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white-faint); }

.slot-list { list-style: none; margin: 0; padding: 0; max-height: 420px; overflow-y: auto; }

.slot {
  width: 100%; display: flex; align-items: center; gap: var(--sp-sm);
  padding: 13px var(--sp-sm) 13px 0;
  border: 0; border-bottom: 1px solid var(--carbon-edge);
  background: none; font: inherit; color: inherit; cursor: pointer; text-align: left;
  transition: background-color 0.25s var(--ease), padding-left 0.35s var(--ease-out), color 0.25s var(--ease);
}
.slot:hover { background: var(--carbon-raised); padding-left: 10px; }
.slot[aria-pressed='true'] { background: var(--white); color: var(--carbon); padding-left: 10px; }
.slot:focus-visible { outline: 2px solid var(--white); outline-offset: -2px; }

.slot-time { font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; flex: none; }
.slot-rule { flex: 1; height: 1px; background: var(--carbon-line); min-width: 16px; }
.slot[aria-pressed='true'] .slot-rule { background: color-mix(in oklab, var(--carbon) 40%, transparent); }
.slot-tail { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--white-faint); flex: none; }
.slot[aria-pressed='true'] .slot-tail { color: color-mix(in oklab, var(--carbon) 62%, transparent); }

.empty {
  padding: var(--sp-xl) 0; color: var(--white-faint);
  font-size: 14px; max-width: 34ch; line-height: 1.6;
}

/* --- forms ---------------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-lg); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.wide { grid-column: 1 / -1; }

.field label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--white-faint);
  display: flex; align-items: baseline; gap: 7px;
}
.field label .opt { color: var(--white-ghost); letter-spacing: 0.08em; text-transform: none; font-size: 10px; }

.field input, .field textarea, .field select {
  font: inherit; font-size: 15px;
  color: var(--white);
  background: var(--carbon-raised);
  border: 1px solid var(--carbon-line);
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.58; font-family: var(--sans); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--white); background: var(--carbon);
}
.field input::placeholder, .field textarea::placeholder { color: var(--white-ghost); }
.field .hint { font-size: 12px; color: var(--white-ghost); line-height: 1.5; }

.counter { font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; color: var(--white-ghost); }
.counter.short { color: var(--ember); }

/* --- buttons -------------------------------------------------------------- */
.btn {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--carbon);
  cursor: pointer;
  transition: transform 0.28s var(--ease-out), opacity 0.2s, background-color 0.25s var(--ease), color 0.25s var(--ease);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:disabled { opacity: 0.26; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

.btn.ghost { background: none; color: var(--white); border-color: var(--carbon-line); }
.btn.ghost:hover { border-color: var(--white); background: var(--carbon-raised); transform: none; }
.btn.sm { padding: 10px 18px; font-size: 10px; }

.back {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white-faint); background: none; border: 0; padding: 0; cursor: pointer;
  margin-bottom: var(--sp-lg); display: inline-flex; gap: 10px; align-items: center;
}
.back:hover { color: var(--white); }

/* --- summary bar ---------------------------------------------------------- */
.checkout {
  margin-top: var(--sp-2xl); padding-top: var(--sp-lg);
  border-top: 1px solid var(--carbon-line);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-lg); flex-wrap: wrap;
}
.summary { display: grid; gap: 7px; font-size: 14px; }
.summary .line { display: flex; gap: var(--sp-sm); align-items: baseline; }
.summary .k {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--white-ghost); width: 76px; flex: none;
}
.summary .v { font-weight: 500; }
.summary .total { font-family: var(--mono); font-size: 1.4rem; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

.fine { font-size: 12px; color: var(--white-ghost); max-width: 46ch; line-height: 1.56; margin-top: var(--sp-sm); }

/* --- notices -------------------------------------------------------------- */
.notice {
  padding: 14px 18px;
  border: 1px solid var(--white);
  background: var(--carbon-raised);
  font-size: 13.5px; line-height: 1.5;
  margin-bottom: var(--sp-md);
}
.notice.warn { border-color: var(--ember); color: var(--ember); }
.notice.quiet { border-color: var(--carbon-line); color: var(--white-faint); }

/* --- steps ---------------------------------------------------------------- */
.step { display: none; }
.step.on { display: block; animation: enter 0.65s var(--ease-out) both; }
@keyframes enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.stagger > * { animation: enter 0.6s var(--ease-out) both; }
.stagger > *:nth-child(1) { animation-delay: 0.02s; }
.stagger > *:nth-child(2) { animation-delay: 0.08s; }
.stagger > *:nth-child(3) { animation-delay: 0.14s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.26s; }

/* --- footer --------------------------------------------------------------- */
.foot {
  border-top: 1px solid var(--carbon-edge);
  margin-top: var(--sp-4xl);
  padding-block: var(--sp-lg) var(--sp-2xl);
  display: flex; justify-content: space-between; gap: var(--sp-md); flex-wrap: wrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white-ghost);
}
.foot a { text-decoration: none; border-bottom: 1px solid var(--carbon-line); }
.foot a:hover { color: var(--white); border-color: var(--white); }

/* --- utility -------------------------------------------------------------- */
.mono { font-family: var(--mono); }
.muted { color: var(--white-faint); }
.row { display: flex; gap: var(--sp-sm); align-items: center; flex-wrap: wrap; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.spin {
  display: inline-block; width: 11px; height: 11px;
  border: 1.5px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: -1px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.tz-row {
  margin-top: var(--sp-lg); padding-top: var(--sp-sm);
  border-top: 1px solid var(--carbon-edge);
  display: flex; align-items: center; gap: var(--sp-xs); flex-wrap: wrap;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--white-faint);
}
.tz-row select {
  font: inherit; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em;
  color: var(--white); background: var(--carbon-raised);
  border: 0; border-bottom: 1px solid var(--carbon-line);
  padding: 5px 4px; cursor: pointer; max-width: 250px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  #lattice { display: none; }
}


/* --- carried over from the pages converted onto this system --------------- */
.eyebrow {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--white-faint); margin: 0 0 var(--sp-md);
}
.hero-lede { max-width: 56ch; font-size: 1.02rem; line-height: 1.68; color: var(--white-soft); margin: 0 0 var(--sp-md); }
.head .aside {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--white-faint); margin-left: auto;
}
.head .n { font-family: var(--mono); font-size: 11px; color: var(--white-faint); }
.btn.small { padding: 10px 18px; font-size: 10px; }
.notice.good { border-color: var(--white); color: var(--white); }
.stack { display: grid; gap: var(--sp-md); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* The confirmation seal — a benzene ring, stamped. */
.seal-mark {
  width: 96px; height: 96px; flex: none;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.16em;
  line-height: 1.6; text-align: center; text-transform: uppercase;
  color: var(--carbon); background: var(--white);
  clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0% 50%);
  animation: stamp 0.8s var(--ease-out) both;
}
@keyframes stamp {
  0%   { opacity: 0; transform: scale(1.45) rotate(-14deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
