:root {
  --beige: #ebe9e2;
  --green: #2e2c1d;
  --grey: #8e8e93;
  --navy: #35353a;
  --design-width: min(100vw, 1728px);
  --font-body: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
  --font-serif: "Noto Serif", "Bodoni MT", "Didot", Georgia, serif;
  --font-script: "Pinyon Script", "Segoe Script", "Brush Script MT", cursive;
  --noise-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 128 128' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.35' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--beige);
  color: var(--green);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: block;
  background-image: var(--noise-texture);
  background-size: 64px 64px;
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.06;
  pointer-events: none;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.landing {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--beige);
}

.hero {
  position: relative;
  height: clamp(560px, 55.3819vw, 957px);
  overflow: hidden;
}

.hero__bg,
.membership__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.hero__bg {
  object-position: center;
}

.social {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.315vw, 40px);
}

.social--hero {
  position: fixed;
  top: clamp(30px, 3.472vw, 60px);
  left: clamp(28px, 3.472vw, 60px);
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(46, 44, 29, 0.32);
  backdrop-filter: blur(6px);
}

.social--footer {
  position: absolute;
  left: 50%;
  bottom: clamp(42px, 4.688vw, 81px);
  z-index: 2;
  transform: translateX(-50%);
}

.social__link {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  opacity: 0.96;
  transition: opacity 180ms ease, transform 180ms ease;
}

.social__link:hover {
  opacity: 0.72;
  transform: translateY(-1px);
}

.social__link img {
  width: 24px;
  height: 24px;
  max-width: none;
  object-fit: contain;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 40px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button--ghost {
  position: fixed;
  top: clamp(26px, 2.894vw, 50px);
  right: clamp(28px, 3.472vw, 60px);
  z-index: 50;
  color: var(--beige);
  border-color: var(--beige);
  background: rgba(46, 44, 29, 0.32);
  backdrop-filter: blur(6px);
}

.button--ghost:hover {
  color: var(--green);
  background: var(--beige);
}

.button--solid {
  color: var(--navy);
  background: var(--grey);
  border-color: var(--grey);
  white-space: nowrap;
}

.button--solid:hover {
  background: #a1a1a7;
  border-color: #a1a1a7;
}

.brand {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: clamp(280px, 36.4vw, 629px);
  aspect-ratio: 629 / 287;
  transform: translate(-50%, -50%);
}

.brand img {
  position: absolute;
  left: 50%;
  max-width: none;
  object-fit: fill;
  transform: translateX(-50%);
}

.brand__the {
  top: 0.34%;
  width: 16.4%;
  height: 19.18%;
}

.brand__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 32.75%;
  transform: translate(-50%, -50%) !important;
}

.brand__rotator {
  display: grid;
  overflow: visible;
  place-items: center;
}

.brand__word {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #2e2c1d;
  filter: blur(8px);
  font-family: var(--font-serif);
  font-size: clamp(58px, 5.45vw, 94px);
  font-stretch: 62.5%;
  font-variation-settings: "wdth" 62.5;
  font-weight: 300;
  letter-spacing: 0.035em;
  line-height: 0.95;
  opacity: 0;
  text-transform: uppercase;
  transform: translate(-50%, -48%) scale(0.96);
  transition: opacity 900ms ease, transform 900ms ease, filter 900ms ease, letter-spacing 900ms ease;
  white-space: nowrap;
  will-change: opacity, transform, filter;
}

.brand__word.is-active {
  filter: blur(0);
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.brand__word.is-medium {
  font-size: clamp(44px, 4.7vw, 80px);
  letter-spacing: 0.03em;
}

.brand__word.is-long {
  font-size: clamp(34px, 4vw, 68px);
  letter-spacing: 0.018em;
}

.brand__club {
  bottom: 0.12%;
  width: 19.88%;
  height: 22.23%;
}

.manifesto {
  position: relative;
  min-height: clamp(1440px, 117.88vw, 2037px);
  padding-top: clamp(130px, 12.731vw, 220px);
  padding-bottom: clamp(160px, 15vw, 260px);
  background: var(--beige);
}

.manifesto::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--noise-texture);
  background-size: 42px 42px;
  content: "";
  mix-blend-mode: multiply;
  opacity: 0.18;
  pointer-events: none;
}

.manifesto__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0 clamp(32px, 6.944vw, 120px);
  font-family: var(--font-serif);
  font-size: clamp(54px, 5.556vw, 96px);
  font-stretch: 62.5%;
  font-variation-settings: "wdth" 62.5;
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.manifesto__content {
  position: relative;
  z-index: 1;
  width: min(1000px, calc(100vw - 48px));
  margin: clamp(120px, 10vw, 173px) auto 0;
}

.manifesto__copy {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.852vw, 32px);
  font-stretch: 87.5%;
  font-variation-settings: "wdth" 87.5;
  font-weight: 300;
  line-height: 1.16;
  text-align: center;
}

.manifesto__copy p {
  margin: 0 0 1.1em;
}

.manifesto__copy p:last-child {
  margin-bottom: 0;
}

.script-word {
  font-family: var(--font-script);
  font-size: 1.375em;
  font-weight: 400;
  line-height: 0;
}

.manifesto__signature {
  margin: clamp(60px, 5.787vw, 100px) 0 0;
  font-family: var(--font-script);
  font-size: clamp(32px, 2.546vw, 44px);
  line-height: 1.15;
  text-align: right;
}

.membership {
  position: relative;
  min-height: clamp(760px, 64.641vw, 1117px);
  overflow: hidden;
}

.membership__bg {
  object-position: center;
}

.waitlist-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  width: min(1000px, calc(100vw - 48px));
  height: 485px;
  min-height: 485px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin: 0;
  padding: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--navy);
  color: var(--grey);
  transform: translate(-50%, -50%);
}

.waitlist-card__heading {
  position: relative;
  display: grid;
  width: max-content;
  min-width: 470px;
  min-height: 132px;
  place-items: start center;
  color: var(--grey);
  text-align: center;
  white-space: nowrap;
}

.waitlist-card__script {
  position: absolute;
  top: 0;
  left: 92px;
  font-family: var(--font-script);
  font-size: 72px;
  line-height: 1;
}

.waitlist-card__caps {
  position: absolute;
  top: 84px;
  left: 0;
  font-family: var(--font-serif);
  font-size: 96px;
  font-stretch: 62.5%;
  font-variation-settings: "wdth" 62.5;
  font-weight: 300;
  line-height: 0.74;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.waitlist-card__fields {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
}

.field__label {
  font-family: var(--font-serif);
  font-size: 16px;
  font-stretch: 62.5%;
  font-variation-settings: "wdth" 62.5;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field__control {
  width: 100%;
  height: 64px;
  padding: 20px;
  border: 1px solid var(--grey);
  border-radius: 4px;
  outline: 0;
  background: transparent;
  color: var(--grey);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field__control::placeholder {
  color: var(--grey);
  opacity: 1;
}

.field__control:focus {
  border-color: var(--beige);
  box-shadow: 0 0 0 1px var(--beige);
}

.field__control.is-invalid,
.consent.is-invalid .consent__box {
  border-color: #c9a068;
}

.field__select-wrap {
  position: relative;
  display: block;
}

.field__control--select {
  padding-right: 56px;
  appearance: none;
}

.field__control--select option {
  color: var(--navy);
  background: var(--beige);
}

.field__icon {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 24px;
  height: 24px;
  pointer-events: none;
  transform: translateY(-50%);
}

.waitlist-card__footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.consent {
  position: relative;
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 20px;
  color: var(--grey);
  cursor: pointer;
}

.consent__input {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.consent__box {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid var(--grey);
  border-radius: 4px;
}

.consent__box::after {
  position: absolute;
  top: 4px;
  left: 8px;
  width: 6px;
  height: 11px;
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  content: "";
  opacity: 0;
  transform: rotate(45deg);
}

.consent__input:checked + .consent__box {
  background: var(--grey);
}

.consent__input:checked + .consent__box::after {
  opacity: 1;
}

.consent__input:focus-visible + .consent__box {
  box-shadow: 0 0 0 2px var(--beige);
}

.consent__text {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
}

.consent__text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-message {
  position: absolute;
  right: 48px;
  bottom: 22px;
  left: 48px;
  min-height: 18px;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
}

.form-message.is-success {
  color: var(--beige);
}

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

.confirmation {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  padding: clamp(64px, 8.8vh, 98px) 24px 60px;
  overflow: hidden;
  background: var(--navy);
  color: var(--grey);
  text-align: center;
}

.confirmation[hidden] {
  display: none;
}

.confirmation__logo {
  position: relative;
  width: clamp(280px, 36.4vw, 629px);
  aspect-ratio: 629 / 287;
  flex: 0 0 auto;
  opacity: 0.92;
}

.confirmation__logo img {
  position: absolute;
  left: 50%;
  max-width: none;
  object-fit: fill;
  transform: translateX(-50%);
}

.confirmation__the {
  top: 0.34%;
  width: 16.4%;
  height: 19.18%;
}

.confirmation__inner {
  top: 50%;
  width: 54.31%;
  height: 32.75%;
  transform: translate(-50%, -50%) !important;
}

.confirmation__club {
  bottom: 0.12%;
  width: 19.88%;
  height: 22.23%;
}

.confirmation__message {
  width: min(443px, calc(100vw - 48px));
  margin-top: clamp(68px, 11vh, 125px);
}

.confirmation__title {
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 1.852vw, 32px);
  font-stretch: 87.5%;
  font-variation-settings: "wdth" 87.5;
  font-weight: 300;
  line-height: 1.18;
}

.confirmation__copy,
.confirmation__notice {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.157vw, 20px);
  font-weight: 300;
  line-height: 1.22;
}

.confirmation__copy p {
  margin: 0 0 24px;
}

.confirmation__copy p:last-child {
  margin-bottom: 24px;
}

.confirmation__notice {
  margin: 0 0 4px;
}

.confirmation__signature {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(36px, 2.315vw, 40px);
  line-height: 1.15;
}

.social--confirmation {
  margin-top: auto;
  padding-top: clamp(64px, 10vh, 120px);
}

@media (max-width: 900px) {
  .manifesto {
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 130px;
  }

  .manifesto__content {
    margin-top: 90px;
  }

  .waitlist-card {
    width: min(720px, calc(100vw - 40px));
    gap: 40px;
    padding: 40px;
  }
}

@media (max-width: 720px) {
  .membership {
    display: flex;
    min-height: 920px;
    align-items: center;
    justify-content: center;
    padding: 96px 20px 120px;
  }

  .waitlist-card {
    position: relative;
    top: auto;
    left: auto;
    width: min(560px, 100%);
    height: auto;
    min-height: 0;
    gap: 34px;
    padding: 34px 24px;
    transform: none;
  }

  .waitlist-card__heading {
    width: 100%;
    min-width: 0;
    min-height: 104px;
  }

  .waitlist-card__script {
    left: 50%;
    font-size: clamp(42px, 8vw, 54px);
    transform: translateX(-50%);
  }

  .waitlist-card__caps {
    top: 60px;
    left: 50%;
    font-size: clamp(54px, 9.5vw, 70px);
    transform: translateX(-50%);
  }

  .waitlist-card__fields {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .waitlist-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .button--solid {
    width: 100%;
  }

  .form-message {
    position: static;
    margin-top: -16px;
  }
}

@media (max-width: 620px) {
  .hero {
    height: 560px;
  }

  .social--hero {
    top: 26px;
    left: 22px;
    gap: 20px;
  }

  .button--ghost {
    top: 24px;
    right: 22px;
    min-height: 42px;
    padding: 10px 24px;
    background: rgba(46, 44, 29, 0.32);
    backdrop-filter: blur(6px);
  }

  .brand {
    width: min(82vw, 360px);
  }

  .manifesto {
    padding-top: 78px;
    padding-bottom: 96px;
  }

  .manifesto__title {
    margin-left: 24px;
    font-size: 44px;
  }

  .manifesto__content {
    width: calc(100vw - 42px);
    margin-top: 74px;
  }

  .manifesto__copy {
    font-size: 18px;
    line-height: 1.24;
  }

  .waitlist-card {
    padding: 34px 22px;
  }

  .waitlist-card__script {
    font-size: 48px;
  }

  .waitlist-card__caps {
    font-size: 58px;
  }

  .consent {
    gap: 14px;
    align-items: flex-start;
  }

  .social--footer {
    bottom: 52px;
  }

  .confirmation {
    padding-top: 70px;
    padding-bottom: 52px;
  }

  .confirmation__logo {
    width: min(82vw, 360px);
  }

  .confirmation__message {
    margin-top: 70px;
  }
}

@media (max-width: 380px) {
  .hero {
    height: 520px;
  }

  .social--hero {
    top: 22px;
    left: 18px;
    gap: 16px;
  }

  .button--ghost {
    top: 20px;
    right: 18px;
    min-height: 40px;
    padding: 9px 18px;
    font-size: 14px;
  }

  .brand {
    width: 84vw;
  }

  .manifesto__title {
    margin-left: 20px;
    font-size: 40px;
  }

  .manifesto__content {
    width: calc(100vw - 36px);
  }

  .manifesto__copy {
    font-size: 17px;
  }

  .waitlist-card {
    padding: 30px 18px;
  }

  .waitlist-card__script {
    font-size: 42px;
  }

  .waitlist-card__caps {
    top: 54px;
    font-size: 46px;
  }

  .field__control {
    height: 58px;
    padding: 17px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .brand__word {
    filter: none;
  }
}
