@font-face {
  font-family: Manrope;
  src: url("/static/public/assets/fonts/manrope-variable.ttf")
    format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/static/public/assets/e476562ec9c1.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --background: #090d10;
  --surface: #10161b;
  --text: #f4f5f3;
  --text-secondary: #b5bdc0;
  --separator: rgba(255, 255, 255, 0.12);
  --primary: #eb3827;
  --primary-hover: #ca3023;
  --font-body: Manrope, sans-serif;
  --font-accent: "Barlow Condensed", sans-serif;
  --container: 1200px;
  --gutter: clamp(24px, 4.5vw, 64px);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --h1: clamp(52px, 4.4vw, 64px);
  --h2: 36px;
  --h3: 20px;
  --body-size: 16px;
  --small-size: 13px;
  /* Aliases keep the existing scene and vehicle components on the same palette. */
  --ink: var(--background);
  --paper: var(--text);
  --muted: var(--text-secondary);
  --red: var(--primary);
  --line: var(--separator);
  color: var(--text);
  background: var(--background);
  font: 400 var(--body-size) / 1.6 var(--font-body);
  color-scheme: dark;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
}
html {
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: #586167 var(--background);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
}
h1 {
  font-size: var(--h1);
}
h2 {
  font-size: var(--h2);
}
h3 {
  font-size: var(--h3);
  letter-spacing: -0.015em;
}
p {
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
address {
  font-style: normal;
  line-height: 1.6;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.muted,
.intro {
  color: var(--text-secondary);
}
.eyebrow {
  font: 600 11px/1.5 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip-path: none;
  background: var(--primary);
  color: white;
}
.button,
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 600 12px/1.4 var(--font-body);
  letter-spacing: 0.025em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
}
.button,
.secondary {
  background: transparent;
  border-color: rgba(244, 245, 243, 0.65);
  color: var(--text);
}
.primary,
.button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.primary:hover,
.button.primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}
.secondary:hover,
.button:not(.primary):hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text);
}
.button:hover {
  text-decoration: none;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.text-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link:hover {
  color: var(--text);
}
.site-header {
  position: relative;
  z-index: 20;
  background: var(--background);
  border-bottom: 1px solid var(--separator);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 80px;
}
.brand {
  flex: none;
  width: 145px;
  display: block;
}
.brand img {
  width: 100%;
  height: auto;
}
.site-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}
.site-navigation > a {
  padding-block: 14px;
}
.site-navigation > a:hover {
  color: var(--text-secondary);
}
.nav-toggle {
  display: none;
}
.workshop-switch {
  font-size: 11px;
  text-transform: none;
}
.motion-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 12px;
  white-space: nowrap;
}
.motion-switch {
  display: inline-block;
  width: 29px;
  height: 17px;
  border: 1px solid #879196;
  border-radius: 20px;
  position: relative;
}
.motion-switch::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--text);
}
.motion-control[aria-pressed="true"] .motion-switch::before {
  left: 14px;
}
.is-interactive .workshop-switch {
  display: none;
}
.site-footer {
  border-top: 1px solid var(--separator);
  font-size: 12px;
  color: var(--text-secondary);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
}
.site-footer p {
  flex: none;
  font-size: 12px;
  color: var(--text);
}
.site-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer a:hover,
.footer-workshop:hover {
  color: var(--text);
}
.footer-workshop {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 0;
  font: inherit;
  white-space: nowrap;
}
.field {
  margin-bottom: 20px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
}
input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #566167;
  border-radius: 2px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
input::placeholder,
textarea::placeholder {
  color: #8f999e;
}
input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  margin: 0 9px 0 0;
  vertical-align: middle;
  accent-color: var(--primary);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 30px 0;
}
legend {
  font: 700 26px/1.2 var(--font-accent);
  margin-bottom: 20px;
}
.field small {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  color: var(--text-secondary);
}
.fields-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.errorlist {
  color: #ffa99f;
  font-size: 14px;
  padding-left: 20px;
  margin: 8px 0 16px;
}
.notice {
  padding: 16px 18px;
  border-left: 3px solid var(--primary);
  background: var(--surface);
  margin: 22px 0;
  overflow-wrap: anywhere;
}
.panel {
  position: relative;
  width: calc(100% - 32px);
  max-width: 600px;
  max-height: 90svh;
  padding: 36px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--separator);
  overflow: auto;
}
.panel::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
.panel h2 {
  font-family: var(--font-accent);
  font-size: 40px;
  margin-top: 16px;
}
.panel p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 20px;
}
.panel a {
  text-decoration: underline;
}
.close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 44px;
  height: 44px;
  font-size: 28px;
}
@media (max-width: 1200px) and (min-width: 701px) {
  .header-inner {
    gap: 16px;
  }
  .site-navigation {
    gap: 18px;
  }
  .brand {
    width: 130px;
  }
  .header .workshop-switch {
    display: none;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
  .site-footer nav {
    gap: 16px;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: 20px;
    --h1: clamp(34px, 9.3vw, 40px);
    --h2: 30px;
    --h3: 19px;
    --body-size: 15px;
  }
  .button,
  .primary,
  .secondary {
    min-height: 44px;
    padding: 12px 15px;
    font-size: 12px;
  }
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding-block: 24px;
  }
  .site-footer nav {
    gap: 8px 20px;
    font-size: 12px;
  }
  .site-footer nav a {
    padding-block: 4px;
  }
  .footer-workshop {
    justify-self: start;
  }
  .fields-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel {
    padding: 30px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 72px;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
  }
  .brand {
    width: 128px;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    padding: 10px;
  }
  .site-header .book-header,
  .site-header .workshop-switch {
    display: none;
  }
  .site-navigation {
    display: none;
    flex-basis: 100%;
    margin: 0;
    padding: 8px 0 20px;
    border-top: 1px solid var(--separator);
    white-space: normal;
  }
  .nav-open .site-navigation {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-navigation > a {
    display: block;
    min-height: 44px;
    padding: 12px 0;
    font-size: 14px;
  }
  .site-navigation .motion-control {
    min-height: 44px;
    font-size: 14px;
  }
  .site-header.nav-open .book-header {
    display: inline-flex;
    margin-bottom: 20px;
  }
  .site-header.nav-open .workshop-switch {
    display: inline-flex;
    margin: 0 0 20px;
  }
}
