@font-face {
  font-family: "League Gothic";
  font-style: normal;
  font-weight: 400;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/fonts/LeagueGothic-wdth.ttf") format("truetype");
}

:root {
  --ink: #020b08;
  --ink-raised: #07140f;
  --ivory: #f4f1ea;
  --ivory-muted: rgba(244, 241, 234, 0.76);
  --cobalt: #265cff;
  --cobalt-soft: rgba(38, 92, 255, 0.72);
  --line: rgba(244, 241, 234, 0.18);
  --font-display:
    "League Gothic", "Avenir Next Condensed", "Arial Narrow",
    "Helvetica Neue Condensed", Impact, sans-serif;
  --font-copy: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-system:
    ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
  color-scheme: dark;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-copy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border: 1px solid var(--cobalt);
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.maintenance-page {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: 62%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 12%,
    #000 28%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 12%,
    #000 28%,
    #000 100%
  );
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 11, 8, 0.18), transparent 28%),
    linear-gradient(0deg, rgba(2, 11, 8, 0.34), transparent 24%);
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 50% center;
  animation: photo-arrive 1.6s cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(51%, 49rem);
  min-height: 100svh;
  padding: max(7vh, 4rem) clamp(2.5rem, 5vw, 6rem) clamp(2.5rem, 5vw, 5rem);
  flex-direction: column;
  justify-content: center;
}

.nameplate {
  max-width: 100%;
  margin: 0;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(9rem, 15.6vw, 15rem);
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.82;
  text-transform: uppercase;
  white-space: nowrap;
  animation: copy-arrive 0.85s 0.08s cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.headline {
  max-width: 24ch;
  margin: clamp(1.7rem, 3.2vh, 2.75rem) 0 0;
  color: var(--ivory);
  font-size: clamp(1.55rem, 2.15vw, 2.6rem);
  font-weight: 450;
  letter-spacing: -0.025em;
  line-height: 1.08;
  animation: copy-arrive 0.85s 0.16s cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.summary {
  max-width: 38ch;
  margin: clamp(1.25rem, 2.4vh, 2rem) 0 0;
  color: var(--ivory-muted);
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  letter-spacing: -0.01em;
  line-height: 1.5;
  animation: copy-arrive 0.85s 0.24s cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.actions {
  display: grid;
  width: min(100%, 22rem);
  margin-top: clamp(2.25rem, 5vh, 4.5rem);
  gap: 0.95rem;
  animation: copy-arrive 0.85s 0.32s cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.action-link {
  position: relative;
  display: block;
  width: 100%;
  padding: 0.72rem 0 0.68rem;
  border: 0;
  border-bottom: 1px solid var(--cobalt-soft);
  background: none;
  color: var(--ivory);
  font-size: clamp(1rem, 1.05vw, 1.1rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 180ms ease,
    padding-left 180ms ease;
}

.action-link::after {
  position: absolute;
  right: -0.25rem;
  bottom: -0.25rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cobalt);
  content: "";
  transform: scale(0.72);
  transition: transform 180ms ease;
}

.action-link:hover {
  padding-left: 0.35rem;
  color: #7f9cff;
}

.action-link:hover::after {
  transform: scale(1);
}

.action-link:focus-visible,
.dialog-close:focus-visible,
.send-button:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 4px;
}

.system-traces {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.trace {
  position: absolute;
  display: block;
  height: 1px;
  background: var(--cobalt-soft);
  transform: scaleX(0);
  transform-origin: left;
  animation: trace-draw 0.9s 0.62s ease-out forwards;
}

.trace i,
.trace::before,
.trace::after {
  position: absolute;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--cobalt);
  content: "";
}

.trace i {
  top: -0.2rem;
  right: -0.2rem;
}

.trace::before {
  top: -0.2rem;
  left: -0.2rem;
}

.trace-top {
  top: 4.2%;
  left: 4.4%;
  width: min(31vw, 29rem);
}

.trace-top::after {
  top: -0.2rem;
  left: 58%;
  transform: scale(0.55);
}

.trace-bottom {
  bottom: 5.7%;
  left: 4.4%;
  width: min(36vw, 34rem);
  animation-delay: 0.74s;
}

.trace-bottom::after {
  top: -0.2rem;
  left: 77%;
  transform: scale(0.55);
}

.contact-dialog {
  width: min(92vw, 38rem);
  max-height: min(90svh, 52rem);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(38, 92, 255, 0.7);
  border-radius: 0;
  background: var(--ink-raised);
  color: var(--ivory);
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.62);
}

.contact-dialog::backdrop {
  background: rgba(0, 5, 3, 0.78);
  backdrop-filter: blur(8px);
}

.contact-dialog[open] {
  animation: dialog-arrive 240ms ease-out both;
}

.dialog-shell {
  position: relative;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
}

.dialog-close svg {
  width: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.6;
}

.dialog-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 11vw, 6rem);
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.86;
  text-transform: uppercase;
}

.dialog-heading p {
  margin: 0.75rem 0 0;
  color: var(--ivory-muted);
  font-family: var(--font-system);
  font-size: 0.92rem;
}

.contact-form {
  display: grid;
  margin-top: 2rem;
  gap: 1.15rem;
}

.contact-form label {
  display: grid;
  gap: 0.48rem;
}

.contact-form label > span {
  color: var(--ivory-muted);
  font-family: var(--font-system);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.32);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
  font-size: 1rem;
  line-height: 1.45;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--cobalt);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-footer {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  gap: 1rem;
  justify-content: space-between;
}

.privacy-note {
  max-width: 20ch;
  margin: 0;
  color: var(--ivory-muted);
  font-family: var(--font-system);
  font-size: 0.72rem;
  line-height: 1.4;
}

.send-button {
  min-height: 2.9rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--cobalt);
  background: var(--cobalt);
  color: white;
  font-family: var(--font-system);
  font-size: 0.86rem;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.send-button:hover {
  background: transparent;
  color: var(--ivory);
}

.send-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--ivory-muted);
  font-family: var(--font-system);
  font-size: 0.78rem;
  line-height: 1.4;
}

.form-status[data-state="success"] {
  color: #8be4a8;
}

.form-status[data-state="error"] {
  color: #ff9a92;
}

@keyframes photo-arrive {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes copy-arrive {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes trace-draw {
  to {
    transform: scaleX(1);
  }
}

@keyframes dialog-arrive {
  from {
    opacity: 0;
    transform: translateY(0.75rem) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  .hero-copy {
    width: 55%;
    padding-left: 2.5rem;
  }

  .hero-media {
    width: 66%;
  }

  .nameplate {
    font-size: clamp(7.5rem, 15vw, 10rem);
  }
}

@media (max-width: 899px) {
  .maintenance-page {
    display: block;
    min-height: max(100svh, 47rem);
  }

  .hero-media {
    inset: auto 0 0;
    width: 100%;
    height: clamp(28rem, 60svh, 36rem);
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-media::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
    background: linear-gradient(
      180deg,
      var(--ink) 0%,
      rgba(2, 11, 8, 0.96) 5%,
      rgba(2, 11, 8, 0.72) 18%,
      rgba(2, 11, 8, 0.18) 36%,
      transparent 54%
    );
  }

  .hero-media::after {
    z-index: 1;
    background: linear-gradient(0deg, rgba(2, 11, 8, 0.34) 0%, transparent 22%);
  }

  .hero-media img {
    height: 100%;
    object-position: 54% center;
    animation: photo-arrive-mobile 1.45s cubic-bezier(0.2, 0.72, 0.2, 1) both;
  }

  .hero-copy {
    width: 100%;
    min-height: max(100svh, 47rem);
    padding: max(3.2rem, calc(env(safe-area-inset-top) + 2rem))
      clamp(1.25rem, 6vw, 2.25rem)
      max(2.25rem, calc(env(safe-area-inset-bottom) + 1.5rem));
    justify-content: flex-start;
  }

  .nameplate {
    max-width: none;
    font-size: clamp(6.4rem, 31vw, 9rem);
    letter-spacing: 0.01em;
    line-height: 0.82;
  }

  .headline {
    max-width: 31ch;
    margin-top: clamp(0.9rem, 2.2vh, 1.35rem);
    font-size: clamp(1.35rem, 4.7vw, 1.55rem);
    line-height: 1.16;
  }

  .summary {
    max-width: 37ch;
    margin-top: 1rem;
    font-size: clamp(0.95rem, 3.5vw, 1.05rem);
    line-height: 1.48;
  }

  .actions {
    width: max-content;
    max-width: 100%;
    margin-top: clamp(1rem, 2.2vh, 1.4rem);
    gap: 0.25rem;
  }

  .action-link {
    width: fit-content;
    min-height: 2.75rem;
    padding-right: 0;
    font-size: 1rem;
  }

  .action-link::after {
    display: none;
  }

  .system-traces {
    display: none;
  }
}

@media (max-width: 420px) {
  .nameplate {
    font-size: clamp(6.15rem, 30.5vw, 7.6rem);
  }

  .headline {
    font-size: clamp(1.25rem, 5.2vw, 1.45rem);
  }

  .summary {
    max-width: 36ch;
    font-size: clamp(0.92rem, 3.8vw, 1rem);
  }
}

@media (max-width: 899px) and (max-height: 700px) {
  .hero-copy {
    min-height: 45rem;
  }

  .nameplate {
    font-size: clamp(5.8rem, 28vw, 7.25rem);
  }
}

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

@keyframes photo-arrive-mobile {
  from {
    opacity: 0;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
