html {
  scroll-behavior: smooth;
  color-scheme: dark;
}
body {
  overflow-x: hidden;
}
.brand-wordmark {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-family: var(--font-geist-sans), Arial, sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.brand-mark {
  font-size: 32px;
  line-height: 0.8;
}
footer .brand-wordmark {
  font-size: 32px;
}
header.is-scrolled {
  background: rgba(10, 10, 9, 0.95);
  border-bottom-color: #262624;
  backdrop-filter: blur(12px);
}
:focus-visible {
  outline: 2px solid #f3783c;
  outline-offset: 5px;
}
section[id] {
  scroll-margin-top: 145px;
}
dialog {
  color: #f5f5ef;
  background: #111110;
  border: 1px solid #383835;
  padding: 0;
  max-height: 90dvh;
  width: min(640px, calc(100% - 32px));
  max-width: 640px;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}
.dialog-inner {
  padding: 32px;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin-bottom: 26px;
}
.dialog-header h3 {
  font-family: var(--font-instrument-serif), Georgia, serif;
  font-size: 32px;
  line-height: 1.15;
  margin-top: 8px;
}
.eyebrow {
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f3783c;
  font-size: 12px;
}
.close-dialog {
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
}
.apply-form {
  display: grid;
  gap: 20px;
}
.apply-form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-family: monospace;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.apply-form input,
.apply-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: #191918;
  border: 1px solid #393937;
  font-size: 16px;
}
.apply-form textarea {
  min-height: 96px;
  resize: vertical;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 5px;
}
.action-primary,
.action-secondary {
  padding: 12px 20px;
  border: 2px solid #f5f5ef;
  font-size: 14px;
  font-weight: 500;
}
.action-primary {
  background: #f5f5ef;
  color: #111;
}
.action-primary:hover {
  background: #f3783c;
  border-color: #f3783c;
}
.action-secondary {
  border-color: #393937;
}
.action-primary:disabled {
  opacity: 0.5;
  cursor: wait;
}
.form-status {
  font-size: 15px;
  line-height: 1.6;
  color: #f5f5ef;
  padding: 16px;
  border: 1px solid #494945;
  background: #1a1a17;
}
.form-status:empty {
  display: none;
}
.form-status[data-error="true"] {
  border-color: #f3783c;
}
.mobile-menu {
  height: 100dvh;
  max-height: 100dvh;
  max-width: none;
  width: 100%;
  border: 0;
  background: #0b0b0a;
  margin: 0;
  padding: 24px;
}
.mobile-menu .dialog-header {
  align-items: center;
  margin-bottom: 56px;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu nav a {
  font-family: var(--font-instrument-serif), Georgia, serif;
  font-size: 38px;
}
.mobile-menu nav small {
  font: 12px monospace;
  color: #f3783c;
  margin-right: 16px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: #f5f5ef;
  color: #111;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
@media (max-width: 600px) {
  .dialog-inner {
    padding: 24px;
  }
  .dialog-header h3 {
    font-size: 28px;
  }
  .form-actions {
    flex-wrap: wrap;
  }
  dialog {
    max-height: 94dvh;
  }
  .brand-wordmark {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
