:root {
  --ink: #1a0f0a;
  --brand: #ff5b00;
  --accent: #ff5b00;
  --accent-hover: #e64a00;
  --teal: #ffb380;
  --white: #ffffff;
  --text: #f7fafb;
  --text-soft: rgba(247, 250, 251, 0.9);
  --radius: 4px;
  --font-brand: "Outfit", Georgia, sans-serif;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", Georgia, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 4vw, 3.5rem);
}

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

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.7vw, 1.1rem);
  line-height: 1.5;
  color: var(--text);
  background: var(--ink);
}

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

a {
  color: inherit;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--teal);
}

.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;
}

.screen {
  position: relative;
  height: 100svh;
  height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}

.screen-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ink);
  overflow: hidden;
}

.screen-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  filter: blur(6px) brightness(0.30) saturate(1.25) contrast(0.95);
}

.category-marquee {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-evenly;
  gap: clamp(0.15rem, 0.5vh, 0.55rem);
  width: 100%;
  height: 100%;
  padding: clamp(0.5rem, 1.5vh, 1.25rem) 0;
  opacity: 0.85;
  pointer-events: none;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.category-row {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.category-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: max-content;
  height: 100%;
  gap: clamp(4.5rem, 10vw, 8rem);
  animation: marquee-x var(--dur, 105s) linear var(--delay, 0s) infinite;
  animation-direction: var(--anim-dir, normal);
  will-change: transform;
}

.category-track span {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.025rem, 4.65vw, 3.075rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: rgba(247, 250, 251, 0.42);
  white-space: nowrap;
  text-transform: uppercase;
}

.category-row:nth-child(odd) .category-track span {
  color: rgba(255, 179, 128, 0.48);
}

.category-row:nth-child(3n) .category-track span {
  color: rgba(255, 91, 0, 0.52);
}

.screen-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 0, 0, 0.25) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 42%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.screen-body {
  position: relative;
  z-index: 3;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  padding: var(--pad);
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  text-align: center;
  animation: rise 0.85s var(--ease) 0.12s both;
}

.brand {
  margin: 0;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.45rem, 1.4vh, 0.9rem);
  max-width: 100%;
  overflow: visible;
}

.brand-mark {
  width: clamp(8rem, 28vw, 14rem);
  height: auto;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.4));
}

.brand-name {
  display: inline-block;
  max-width: none;
  padding-inline: 0.12em 0.18em;
  margin-inline: -0.12em -0.18em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.75rem, 18vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  white-space: nowrap;
  overflow: visible;
  color: #ff7a14;
  background: linear-gradient(165deg, #ff9a3d 8%, #ff6b00 48%, #e04f00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 48rem);
  padding-bottom: 0.15rem;
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 4.2vw, 2.55rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 clamp(0.55rem, 1.4vh, 0.9rem);
  max-width: 18ch;
}

.lead {
  margin: 0 0 clamp(1.2rem, 3.2vh, 1.75rem);
  color: var(--text-soft);
  max-width: 34ch;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.45;
}

.waitlist {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.45rem;
  width: min(100%, 22rem);
}

.waitlist input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.25;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius);
  outline: none;
  text-align: left;
}

.waitlist input:focus {
  box-shadow: 0 0 0 2px var(--teal);
}

.btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--white);
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.form-note {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  color: var(--teal);
  min-height: 1.2em;
}

.form-note.is-error {
  color: #ff8f7a;
}

.meta {
  margin: clamp(1rem, 2.5vh, 1.5rem) 0 0;
  font-size: clamp(0.72rem, 1.2vw, 0.84rem);
  color: rgba(247, 250, 251, 0.55);
}

.meta a {
  text-decoration: none;
}

.meta a:hover {
  text-decoration: underline;
}

@keyframes marquee-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

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

@media (max-width: 640px) {
  .category-marquee {
    gap: 0.15rem;
    padding: 0.35rem 0;
  }

  .category-row:nth-child(n + 9) {
    display: none;
  }

  .category-track span {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem);
    letter-spacing: -0.02em;
  }

  .brand-mark {
    width: clamp(6.5rem, 34vw, 9.5rem);
  }

  .brand-name {
    font-size: clamp(3.75rem, 20vw, 6rem);
  }

  .copy {
    width: min(100%, 22rem);
  }

  h1 {
    font-size: clamp(1.15rem, 5.2vw, 1.55rem);
  }

  .lead {
    font-size: clamp(0.9rem, 3.6vw, 1.05rem);
    max-width: 32ch;
    margin-bottom: 1rem;
  }

  .waitlist {
    width: min(100%, 18.5rem);
    gap: 0.35rem;
  }

  .waitlist input {
    padding: 0.55rem 0.7rem;
    font-size: 16px;
  }

  .btn {
    padding: 0.55rem 0.75rem;
    font-size: 0.82rem;
  }

  .meta {
    margin-top: 0.75rem;
  }
}

@media (max-height: 620px) {
  .brand-mark {
    width: clamp(5.5rem, 20vw, 7.5rem);
  }

  .brand-name {
    font-size: clamp(3.25rem, 14vw, 5.25rem);
  }

  h1 {
    font-size: clamp(1.05rem, 3.2vw, 1.4rem);
  }

  .lead {
    font-size: clamp(0.88rem, 2vw, 1rem);
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 420px) and (max-height: 700px) {
  html,
  body {
    overflow-y: auto;
  }

  .screen {
    height: auto;
    min-height: 100svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-track,
  .screen-body {
    animation: none !important;
  }

  .category-track {
    transform: none;
  }
}
