/* ==========================================================================
   Vomnetwork Merch — waitlist landing
   Tokens, then each section in page order.
   ========================================================================== */

:root {
  --black: #0e0e0c;
  --ink: #161614;
  --paper: #f4f1ea;
  --white: #f7f4ee;
  --muted: #5e5c56;
  --line: rgba(22, 22, 20, 0.14);
  --line-light: rgba(247, 244, 238, 0.22);
  --yellow: #f2d230;
  --danger: #ffb4ae;
  --overlay: rgba(0, 0, 0, 0.42);

  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: clamp(4.5rem, 10vw, 8rem);
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --nav-h: 4.25rem;
  --max: 90rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.7s;
  --shadow-focus: 0 0 0 2px var(--yellow);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}

img,
video {
  max-width: 100%;
  display: block;
}

h1, h2, h3, p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

::selection {
  background: var(--yellow);
  color: var(--black);
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 40;
  transform: translateY(-150%);
  background: var(--yellow);
  color: var(--black);
  padding: 0.6rem 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.skip:focus {
  transform: none;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ==========================================================================
   Buttons and text links
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 3.25rem;
  margin-top: 1.75rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  cursor: pointer;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn__arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn__arrow,
.text-link:hover span:last-child {
  transform: translateX(4px);
}

@media (min-width: 768px) {
  .btn {
    width: auto;
    min-width: 16.5rem;
    justify-self: start;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  margin-top: 1.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
}

.text-link span:last-child {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.85rem var(--gutter);
  color: var(--white);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav[data-theme="dark"]:not(.is-top) {
  background: rgba(14, 14, 12, 0.88);
  backdrop-filter: blur(14px);
}

.nav[data-theme="light"] {
  color: var(--black);
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(14px);
}

.nav__brand,
.nav__link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__brand {
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 420px) {
  .nav__brand,
  .nav__link {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .nav__brand {
    letter-spacing: 0.01em;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 1.35rem;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}

.hero__media,
.hero__overlay,
.hero__video {
  position: absolute;
  inset: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.28) 46%, rgba(0, 0, 0, 0.45) 100%);
}

.hero__content,
.hero__hint {
  position: relative;
  z-index: 1;
}

.hero__content {
  margin-top: auto;
  max-width: 68rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.9rem, 16.2vw, 11.5rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

.hero__copy {
  max-width: 34rem;
  margin-top: 1.35rem;
  font-weight: 300;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.5;
  color: rgba(247, 244, 238, 0.86);
}

.hero .btn {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.hero .btn:hover {
  background: transparent;
  color: var(--white);
}

.hero__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 2.75rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__hint-arrow {
  display: inline-block;
  animation: nudge 1.8s var(--ease) infinite;
}

.hero__eyebrow,
.hero__title,
.hero__copy,
.hero .btn,
.hero__hint {
  animation: rise 1s var(--ease) both;
}

.hero__title { animation-delay: 0.08s; }
.hero__copy { animation-delay: 0.16s; }
.hero .btn { animation-delay: 0.24s; }
.hero__hint { animation-delay: 0.4s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ==========================================================================
   Introduction
   ========================================================================== */

.intro {
  padding: var(--space-xl) var(--gutter);
  background: var(--paper);
}

.intro__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.intro__title {
  max-width: 16ch;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 8.4vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.intro__title span {
  display: block;
}

.intro__title .is-italic {
  font-style: italic;
}

.intro__body {
  max-width: 36rem;
  margin-top: 2rem;
  font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

@media (min-width: 900px) {
  .intro__body {
    margin-left: 42%;
  }
}

/* ==========================================================================
   Teaser
   ========================================================================== */

.teaser {
  background: var(--black);
  color: var(--white);
}

.teaser__grid {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem;
}

.shot {
  position: relative;
  margin: 0;
  min-height: 78vw;
  overflow: hidden;
  background: #1a1a18;
}

.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.15s var(--ease);
}

.shot--logo img {
  object-position: center 42%;
}

.shot--wide img {
  object-position: 68% 30%;
  transform: scale(1.18);
}

.shot--logo::after,
.shot--wide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08) 50%);
  pointer-events: none;
}

.shot--mark {
  display: flex;
  align-items: flex-end;
  min-height: 92vw;
  background: var(--yellow);
  color: var(--black);
}

.shot__phrase {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.15rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 16vw, 7.5rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

@media (hover: hover) {
  .shot--logo:hover img,
  .shot--mark:hover img {
    transform: scale(1.06);
  }

  .shot--wide:hover img {
    transform: scale(1.28);
  }
}

@media (min-width: 768px) {
  .teaser__grid {
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-rows: minmax(32rem, 74vh) minmax(18rem, 40vh);
    gap: 0.7rem;
    padding: 0.7rem;
  }

  .shot,
  .shot--mark {
    min-height: 0;
    height: 100%;
  }

  .shot--wide {
    grid-column: 1 / -1;
  }

  .shot__phrase {
    padding: 2rem;
    font-size: clamp(4.5rem, 6.4vw, 7.8rem);
  }
}

/* ==========================================================================
   Benefits
   ========================================================================== */

.benefits {
  padding: var(--space-xl) var(--gutter);
  background: var(--paper);
}

.benefits__list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2.75rem;
  border-top: 1px solid var(--line);
}

.benefits__list li {
  padding-top: 1.5rem;
}

.benefits__num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.benefits__title {
  margin: 0.85rem 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.benefits__list p {
  max-width: 24rem;
  margin: 0;
  font-weight: 300;
  color: var(--muted);
}

@media (min-width: 768px) {
  .benefits__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .benefits__list li {
    padding: 1.75rem 1.75rem 0 0;
  }

  .benefits__list li + li {
    padding-left: 1.75rem;
    border-left: 1px solid var(--line);
  }
}

/* ==========================================================================
   Waitlist
   ========================================================================== */

.waitlist {
  padding: var(--space-xl) var(--gutter);
  background: var(--black);
  color: var(--white);
  color-scheme: dark;
}

.waitlist__layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2.75rem;
}

.waitlist__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.6rem, 16vw, 8.5rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.waitlist__title span {
  display: block;
}

.waitlist__intro p {
  max-width: 28rem;
  margin-top: 1.4rem;
  font-weight: 300;
  color: rgba(247, 244, 238, 0.78);
}

.waitlist__note {
  margin-top: 0.85rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--white);
}

.form {
  display: grid;
  gap: 1.35rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.optional {
  letter-spacing: 0.12em;
  color: rgba(247, 244, 238, 0.5);
}

.req {
  color: var(--yellow);
}

.field input,
.field select {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
}

.field select {
  appearance: none;
  padding-right: 1.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23f7f4ee' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  cursor: pointer;
}

.field select:has(option[value=""]:checked) {
  color: rgba(247, 244, 238, 0.48);
}

.field input:focus-visible,
.field select:focus-visible {
  outline: none;
  border-bottom-color: var(--yellow);
  box-shadow: inset 0 -2px 0 var(--yellow);
}

.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
  box-shadow: 0 0 0 1000px var(--black) inset;
  transition: background-color 9999s ease-out;
}

.field__error,
.form__error {
  min-height: 0;
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--danger);
}

.field__error:empty,
.form__error:empty {
  display: none;
}

.field-row {
  display: grid;
  gap: 1.35rem;
}

.waitlist .btn {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--black);
}

.waitlist .btn:hover {
  background: transparent;
  color: var(--yellow);
}

.waitlist .btn:focus-visible {
  outline-color: var(--white);
}

.waitlist .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.waitlist__success {
  padding-top: 0.5rem;
}

.waitlist__panel {
  min-width: 0;
  container-type: inline-size;
}

.waitlist__success h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 14cqi, 6rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.waitlist__success h3 span {
  display: block;
}

.waitlist__success p {
  margin-top: 1rem;
  font-weight: 300;
  color: rgba(247, 244, 238, 0.78);
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 2rem;
  }
}

@media (min-width: 900px) {
  .waitlist__layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }
}

/* ==========================================================================
   Community
   ========================================================================== */

.community {
  padding: var(--space-xl) var(--gutter);
  background: var(--paper);
}

.community__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.community__title {
  max-width: 12ch;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.community__aside {
  max-width: 32rem;
}

.community__aside p {
  margin-top: 1.5rem;
  font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

@media (min-width: 900px) {
  .community__aside {
    margin-left: auto;
    margin-top: -2rem;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 4.5rem var(--gutter) 1.75rem;
  background: var(--black);
  color: var(--white);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-width: var(--max);
  margin: 0 auto;
}

.footer__brand {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.footer__tag {
  margin-top: 0.45rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.footer__links a:hover {
  color: var(--yellow);
}

.footer__legal {
  max-width: var(--max);
  margin: 3.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
  color: rgba(247, 244, 238, 0.62);
  font-size: 0.82rem;
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
