:root {
  --font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --ink: #f8f5ef;
  --ink-soft: rgba(248, 245, 239, 0.72);
  --ink-muted: rgba(248, 245, 239, 0.52);
  --black: #090908;
  --metal: #9a9487;
  --ice: #b9dff4;
  --red: #9f2c1d;
  --line: rgba(248, 245, 239, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100svh;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  height: 100svh;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1rem, 2vw, 1.75rem);
}

.hero__image,
.hero__image img,
.hero__shade,
.hero__grain {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -4;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.hero__shade {
  z-index: -3;
  background:
    radial-gradient(circle at 23% 36%, rgba(185, 223, 244, 0.22), transparent 28rem),
    linear-gradient(90deg, rgba(4, 4, 3, 0.78) 0%, rgba(4, 4, 3, 0.42) 34%, rgba(4, 4, 3, 0.18) 68%, rgba(4, 4, 3, 0.64) 100%),
    linear-gradient(180deg, rgba(4, 4, 3, 0.28) 0%, rgba(4, 4, 3, 0.08) 48%, rgba(4, 4, 3, 0.72) 100%);
}

.hero__grain {
  z-index: -2;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 92%, transparent 100%);
}

.object-status {
  position: absolute;
  top: clamp(1rem, 2vw, 1.75rem);
  right: clamp(1rem, 2vw, 1.75rem);
  z-index: 2;
  max-width: 14rem;
  margin: 0;
  color: rgba(248, 245, 239, 0.72);
  font-size: 0.67rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.22em;
  text-align: right;
  text-transform: uppercase;
}

.hero__content {
  align-self: end;
  width: min(100%, 36rem);
  padding: 0 0 clamp(9rem, 20vh, 12rem);
}

.specimen-label {
  margin: 0 0 1.35rem;
  color: rgba(248, 245, 239, 0.62);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  max-width: 10.5ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(3.75rem, 7.9vw, 6.9rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.86;
}

h1 span,
h1 em {
  display: block;
}

.object-number {
  margin: 0 0 1.25rem;
  color: rgba(248, 245, 239, 0.66);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.28em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1 em {
  color: #d7edf7;
  font-style: italic;
  font-weight: 300;
  text-shadow: 0 0 30px rgba(185, 223, 244, 0.18);
}

.hero__dek {
  max-width: 31rem;
  margin: 1.15rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 300;
  line-height: 1.48;
}

.waitlist-form {
  width: min(100%, 38rem);
  margin-top: clamp(1.35rem, 3vw, 2.25rem);
}

.waitlist-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 3.5rem;
  border: 1px solid var(--line);
  background: rgba(9, 9, 8, 0.32);
  backdrop-filter: blur(18px);
}

.waitlist-form input {
  min-width: 0;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0 1.1rem;
  background: rgba(248, 245, 239, 0.08);
  color: var(--ink);
  outline: 0;
}

.waitlist-form input::placeholder {
  color: rgba(248, 245, 239, 0.45);
}

.waitlist-form input:focus {
  box-shadow: inset 0 0 0 1px rgba(185, 223, 244, 0.72);
}

.waitlist-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12.5rem;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 0 1.4rem;
  background: var(--ink);
  color: var(--black);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.waitlist-form button:hover,
.waitlist-form button:focus-visible {
  background: var(--ice);
  color: #061017;
}

.waitlist-form button:active {
  transform: translateY(1px);
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.form-note,
.form-message {
  min-height: 1.1rem;
  margin: 0.85rem 0 0;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.45;
}

.form-message {
  margin-top: 0.65rem;
  color: var(--ice);
}

.form-message.is-error {
  color: #ffb7a8;
}

.hero__bottom-rail {
  position: absolute;
  right: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(1rem, 2vw, 1.75rem);
  left: clamp(1rem, 2vw, 1.75rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  z-index: 2;
  color: rgba(248, 245, 239, 0.46);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__bottom-rail span {
  min-width: 0;
  border-top: 1px solid rgba(248, 245, 239, 0.2);
  padding-top: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero__bottom-rail span:nth-child(2) {
  text-align: center;
}

.hero__bottom-rail span:last-child {
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .hero__shade {
    background:
      radial-gradient(circle at 24% 28%, rgba(185, 223, 244, 0.18), transparent 20rem),
      linear-gradient(180deg, rgba(4, 4, 3, 0.12) 0%, rgba(4, 4, 3, 0.24) 36%, rgba(4, 4, 3, 0.82) 100%);
  }

  .hero__content {
    width: 100%;
    padding-bottom: 5.5rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(4rem, 18vw, 7.5rem);
  }
}

@media (max-height: 760px) {
  .hero__bottom-rail {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 1rem;
  }

  .hero__content {
    align-self: start;
    padding-bottom: 0;
    padding-top: clamp(9.25rem, 20vh, 11rem);
  }

  .hero__image img {
    object-position: 50% 42%;
  }

  .object-status {
    max-width: 10.5rem;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .specimen-label {
    max-width: 13rem;
    font-size: 0.62rem;
    line-height: 1.55;
  }

  .hero__dek,
  .hero__release {
    max-width: 22rem;
  }

  .waitlist-form__row {
    grid-template-columns: 1fr;
    min-height: 0;
    border: 0;
    gap: 0.7rem;
    background: transparent;
    backdrop-filter: none;
  }

  .waitlist-form input,
  .waitlist-form button {
    min-height: 3.35rem;
    border: 1px solid var(--line);
  }

  .waitlist-form input {
    background: rgba(9, 9, 8, 0.42);
    backdrop-filter: blur(18px);
  }

  .waitlist-form button {
    width: 100%;
    border-left: 1px solid var(--line);
  }

  .hero__bottom-rail {
    grid-template-columns: 1fr;
    gap: 0;
    font-size: 0.56rem;
  }

  .hero__bottom-rail span {
    display: none;
  }

  .hero__bottom-rail span:last-child {
    display: block;
    text-align: left;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content,
  .object-status,
  .hero__bottom-rail {
    animation: arrive 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .object-status {
    animation-delay: 140ms;
  }

  .hero__bottom-rail {
    animation-delay: 220ms;
  }
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
