:root {
  color-scheme: dark;
  --background: #080808;
  --foreground: #f9f9f6;
  --muted: #aaa;
  --rule: #343434;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 280px;
  background: var(--background);
}

body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--background);
  background: var(--foreground);
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 0 clamp(24px, 5.2vw, 84px);
}

.masthead,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.masthead {
  min-height: 110px;
  border-bottom: 1px solid var(--rule);
}

.brand-label,
.masthead-note {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.masthead-note {
  color: var(--muted);
  text-align: right;
}

.hero {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 70px 0 84px;
  text-align: center;
}

.wordmark-wrap {
  position: relative;
  padding-right: clamp(22px, 4vw, 64px);
}

.wordmark {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(92px, 19.5vw, 292px);
  font-style: italic;
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.065em;
}

.spark {
  position: absolute;
  top: 7%;
  right: 0;
  width: clamp(24px, 4vw, 60px);
  height: auto;
}

.announcement {
  margin-top: clamp(35px, 4vw, 62px);
}

.announcement h2 {
  margin: 0;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.3;
}

.announcement p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer {
  min-height: 96px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  line-height: 1.5;
}

.domain {
  color: var(--muted);
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--foreground);
  font: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
  cursor: pointer;
}

.contact:hover {
  text-decoration: underline;
}

.contact:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 7px;
}

.dialog-open {
  overflow: hidden;
}

.contact-dialog {
  width: min(600px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  margin: auto;
  padding: 30px 40px 34px;
  border: 1px solid #515151;
  color: var(--foreground);
  background: #0d0d0d;
  overflow-y: auto;
}

.contact-dialog::backdrop {
  background: rgb(0 0 0 / 78%);
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.dialog-eyebrow {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dialog-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -10px -12px -10px 0;
  padding: 0;
  border: 0;
  color: var(--foreground);
  background: none;
  cursor: pointer;
}

.contact-dialog h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 50px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.contact-intro {
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  min-width: 0;
  margin-bottom: 24px;
}

.field label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.4;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #555;
  border-radius: 0;
  color: var(--foreground);
  background: transparent;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .15s ease;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8c8c8c;
  opacity: 1;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 0;
  border-bottom: 2px solid var(--foreground);
}

.field input:disabled,
.field textarea:disabled {
  opacity: .55;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.verification {
  margin: 0 0 20px;
}

.verification-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.verification-note:empty {
  display: none;
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid var(--foreground);
  color: var(--background);
  background: var(--foreground);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.submit-button:hover:not(:disabled) {
  background: #dededb;
}

.submit-button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.dialog-close:focus-visible,
.submit-button:focus-visible,
.contact-alternative a:focus-visible,
.no-script-contact a:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 5px;
}

.form-status {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="error"] {
  padding-left: 12px;
  border-left: 2px solid var(--foreground);
}

.form-status:focus {
  outline: none;
}

.contact-alternative,
.no-script-contact {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.contact-alternative a,
.no-script-contact a {
  color: var(--foreground);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.no-script-contact {
  margin: 0 0 24px;
}

@media (max-width: 600px) {
  .masthead {
    min-height: 84px;
  }

  .brand-label,
  .masthead-note {
    font-size: 10px;
    letter-spacing: .1em;
  }

  .brand-label {
    flex-shrink: 0;
  }

  .masthead-note {
    max-width: 14em;
  }

  .hero {
    padding: 84px 0 96px;
  }

  .wordmark {
    font-size: clamp(92px, 23vw, 138px);
  }

  .footer {
    min-height: 90px;
    gap: 18px;
    font-size: 11px;
  }

  .contact {
    gap: 9px;
  }
}

@media (max-width: 480px) {
  .contact-dialog {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
    padding: 25px 24px 28px;
  }

  .dialog-heading {
    margin-bottom: 25px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field {
    margin-bottom: 20px;
  }

  .field textarea {
    min-height: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .field input,
  .field textarea {
    transition: none;
  }
}

@media (max-width: 340px) {
  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 18px 0;
  }
}
