:root {
  --black: #050505;
  --ink: #0d090a;
  --chocolate: #24100d;
  --wine-dark: #3b0b15;
  --wine: #6e1428;
  --berry: #9a1f3a;
  --milk: #e8ddd6;
  --muted: #9c8f8a;
  --font-sans: Inter, "Avenir Next", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  --font-display: "Iowan Old Style", Baskerville, Georgia, "Times New Roman", serif;
  --page-pad: clamp(1.25rem, 4.2vw, 5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--black);
  color: var(--milk);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

::selection {
  background: var(--berry);
  color: var(--milk);
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--milk);
  color: var(--ink);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 5.75rem;
  padding: 0.9rem var(--page-pad);
  border-bottom: 1px solid transparent;
  background: var(--black);
  transition: min-height 320ms var(--ease-out), border-color 240ms ease;
}

.site-header.is-scrolled {
  min-height: 4.8rem;
  border-color: rgba(232, 221, 214, 0.12);
}

.brand-crop {
  position: relative;
  display: block;
  width: 9.2rem;
  height: 3.25rem;
  overflow: hidden;
  justify-self: start;
  background: #000;
}

.brand-crop img {
  position: absolute;
  top: -1.45rem;
  left: -0.65rem;
  width: 10.4rem;
  max-width: none;
  height: auto;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  border: 1px solid rgba(232, 221, 214, 0.34);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.025em;
  text-align: center;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms var(--ease-out);
}

.header-cta {
  justify-self: end;
  padding: 0.9rem 1.35rem;
  font-size: 0.76rem;
}

.header-cta__short {
  display: none;
}

.header-cta:hover,
.button:hover {
  border-color: var(--milk);
  background: var(--milk);
  color: var(--ink);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 9rem var(--page-pad) 5rem;
  background: #000;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 5.75rem 0 0;
  z-index: -2;
  overflow: hidden;
}

.hero__image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 22%, rgba(0, 0, 0, 0.34) 56%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, transparent 35%, rgba(0, 0, 0, 0.1) 100%);
  content: "";
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.015);
}

.hero__copy {
  grid-column: 1 / span 7;
  max-width: 67rem;
  padding-top: 3rem;
}

h1,
h2,
p {
  text-wrap: pretty;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.045em;
}

h1 em,
h2 em {
  color: var(--berry);
  font-style: normal;
  font-weight: 400;
}

.hero h1 {
  max-width: 11.5ch;
  font-size: clamp(4rem, 7.2vw, 8.25rem);
  line-height: 0.89;
}

.hero__lede {
  max-width: 37rem;
  margin: 2.5rem 0 2.25rem;
  color: rgba(232, 221, 214, 0.72);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.6;
}

.button {
  padding: 1rem 1.55rem;
  background: var(--milk);
  color: var(--ink);
  font-size: 0.78rem;
}

.button:hover {
  border-color: var(--berry);
  background: var(--berry);
  color: var(--milk);
}

.concept {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  overflow: hidden;
  padding: clamp(6rem, 8vw, 8.5rem) var(--page-pad);
  border-radius: clamp(4rem, 10vw, 11rem) 0 0 0;
  background: var(--milk);
  color: var(--ink);
}

.concept__copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 7;
}

.concept h2 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 5.4vw, 6.25rem);
  line-height: 0.93;
}

.concept__copy > p:last-child {
  max-width: 34rem;
  margin: 2.5rem 0 0 16%;
  color: rgba(13, 9, 10, 0.66);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.65;
}

.concept__portal {
  position: relative;
  z-index: 1;
  grid-column: 8 / -1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: clamp(19rem, 27vw, 31rem);
  margin: 0;
}

.concept__portal img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-inline: auto;
}

.principles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  min-height: 100svh;
  padding: clamp(7rem, 10vw, 10rem) var(--page-pad);
  background: var(--black);
}

.principles__image {
  grid-column: 1 / span 7;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 42% 4rem 38% 3rem / 24% 36% 18% 40%;
  background: #080808;
}

.principles__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.principles__image.is-visible img {
  transform: scale(1.025);
}

.principles__copy {
  grid-column: 8 / -1;
  max-width: 40rem;
}

.principles h2 {
  max-width: 9ch;
  font-size: clamp(3.5rem, 5.8vw, 6.5rem);
  line-height: 0.93;
}

.principles__copy > p {
  max-width: 32rem;
  margin: 2.4rem 0 3.25rem;
  color: rgba(232, 221, 214, 0.66);
  font-size: clamp(1rem, 1.16vw, 1.15rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.65;
}

.principles__terms {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(232, 221, 214, 0.16);
  list-style: none;
}

.principles__terms li {
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(232, 221, 214, 0.16);
  color: var(--milk);
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.invitation {
  padding: var(--page-pad);
  background: var(--milk);
  color: var(--milk);
}

.invitation__frame {
  position: relative;
  min-height: min(82svh, 58rem);
  overflow: hidden;
  border-radius: 3.25rem 13rem 3.25rem 3.25rem / 3.25rem 7rem 3.25rem 3.25rem;
  background: #080706;
  isolation: isolate;
}

.invitation__frame::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.82) 37%, transparent 70%);
  content: "";
}

.invitation__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.invitation__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(82svh, 58rem);
  width: min(51%, 42rem);
  padding: clamp(3rem, 7vw, 7.5rem);
}

.invitation h2 {
  max-width: 8ch;
  font-size: clamp(4rem, 6.7vw, 7.5rem);
  line-height: 0.9;
}

.invitation__content > p {
  max-width: 33rem;
  margin: 2.25rem 0 3rem;
  color: rgba(232, 221, 214, 0.68);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.65;
}

.waitlist-form {
  width: min(100%, 40rem);
}

.waitlist-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: stretch;
}

.waitlist-form__field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.3rem;
  justify-content: center;
  padding: 0.7rem 1rem 0.76rem;
  border: 1px solid rgba(232, 221, 214, 0.3);
  border-radius: 1rem;
  background: rgba(13, 9, 10, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  cursor: text;
  transition:
    border-color 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease;
}

.waitlist-form__field:hover {
  border-color: rgba(232, 221, 214, 0.46);
}

.waitlist-form__field:focus-within {
  border-color: rgba(232, 221, 214, 0.72);
  background: rgba(13, 9, 10, 0.74);
  box-shadow: 0 0 0 3px rgba(154, 31, 58, 0.2);
}

.waitlist-form__field > span {
  color: rgba(232, 221, 214, 0.58);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.waitlist-form input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--milk);
  font-size: 1rem;
  font-weight: 450;
  line-height: 1.35;
}

.waitlist-form input::placeholder {
  color: rgba(232, 221, 214, 0.5);
  opacity: 1;
}

.waitlist-form input:focus-visible {
  outline: none;
}

.waitlist-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.75rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid rgba(232, 221, 214, 0.92);
  border-radius: 1rem;
  background: var(--milk);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: 0.025em;
  text-align: center;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    opacity 220ms ease,
    transform 220ms var(--ease-out);
}

.waitlist-form button:hover:not(:disabled) {
  border-color: var(--berry);
  background: var(--berry);
  color: var(--milk);
  transform: translateY(-1px);
}

.waitlist-form button:disabled {
  cursor: default;
  opacity: 0.5;
}

.waitlist-form__row.is-error .waitlist-form__field {
  border-color: #c45368;
  box-shadow: 0 0 0 3px rgba(196, 83, 104, 0.14);
}

.waitlist-form__status {
  min-height: 1.2em;
  margin: 0.72rem 0 0;
  color: #d9a2ad;
  font-size: 0.72rem;
  letter-spacing: 0;
  line-height: 1.5;
}

.waitlist-form__status.is-neutral {
  color: rgba(232, 221, 214, 0.68);
}

.site-footer {
  padding: 2.1rem var(--page-pad) 2.4rem;
  background: var(--milk);
  color: rgba(13, 9, 10, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.015em;
}

.site-footer p {
  margin: 0;
}

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 2.25rem, 0);
  transition: opacity 800ms ease, transform 900ms var(--ease-out);
}

.js [data-reveal="image"] {
  transform: translate3d(0, 2rem, 0) scale(0.985);
  transition-duration: 1000ms;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

section[id] {
  scroll-margin-top: 4.8rem;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr 1fr;
  }

  .header-cta {
    grid-column: 2;
  }

  .hero__copy {
    grid-column: 1 / span 9;
  }

  .hero__image::after {
    background:
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 30%, rgba(0, 0, 0, 0.25) 75%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent 45%);
  }

  .concept__copy {
    grid-column: 1 / span 8;
  }

  .concept__portal {
    grid-column: 8 / -1;
  }

  .principles {
    gap: 3rem;
  }

  .principles__image {
    grid-column: 1 / span 6;
  }

  .principles__copy {
    grid-column: 7 / -1;
  }

  .invitation__content {
    width: min(63%, 42rem);
  }

}

@media (max-width: 760px) {
  .site-header,
  .site-header.is-scrolled {
    min-height: 4.75rem;
    padding-block: 0.6rem;
  }

  .brand-crop {
    width: 7.5rem;
    height: 2.7rem;
  }

  .brand-crop img {
    top: -1.16rem;
    left: -0.5rem;
    width: 8.45rem;
  }

  .header-cta {
    min-height: 2.8rem;
    padding: 0.75rem 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
  }

  .header-cta__full {
    display: none;
  }

  .header-cta__short {
    display: inline;
  }

  .hero {
    display: block;
    min-height: 100svh;
    padding: clamp(21rem, 67vw, 27rem) var(--page-pad) 3rem;
  }

  .hero__image {
    top: 4.75rem;
    bottom: auto;
    height: clamp(13.8rem, 56.3vw, 20rem);
  }

  .hero__image::after {
    background: linear-gradient(0deg, #000 0%, transparent 43%);
  }

  .hero__image img {
    object-fit: cover;
    transform: none;
  }

  .hero__copy {
    padding-top: 0;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.35rem, 15vw, 5rem);
    line-height: 0.91;
  }

  .hero__lede {
    margin: 1.6rem 0 1.75rem;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .concept {
    display: block;
    min-height: 0;
    padding: 5rem var(--page-pad);
    border-radius: 4rem 0 0;
  }

  .concept h2,
  .principles h2,
  .invitation h2 {
    font-size: clamp(3.35rem, 14vw, 5.4rem);
  }

  .concept__copy > p:last-child {
    margin: 1.9rem 0 0;
    font-size: 0.98rem;
  }

  .concept__portal {
    width: min(76vw, 20rem);
    margin: 2.75rem auto 0;
  }

  .principles {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 4rem;
    align-items: stretch;
    padding: 6rem var(--page-pad);
  }

  .principles__image {
    width: 100%;
    border-radius: 38% 2rem 34% 2rem / 18% 28% 15% 34%;
  }

  .principles__copy {
    max-width: none;
  }

  .principles__copy > p {
    margin: 1.9rem 0 2.5rem;
    font-size: 0.98rem;
  }

  .invitation {
    padding: 1.25rem;
  }

  .invitation__frame {
    min-height: 47rem;
    border-radius: 2rem 6rem 2rem 2rem / 2rem 4rem 2rem 2rem;
  }

  .invitation__frame::after {
    background: linear-gradient(0deg, rgba(5, 5, 5, 0.99) 0%, rgba(5, 5, 5, 0.88) 52%, rgba(5, 5, 5, 0.12) 88%);
  }

  .invitation__image {
    object-position: 54% center;
  }

  .invitation__content {
    justify-content: flex-end;
    min-height: 47rem;
    width: 100%;
    padding: 2.25rem 1.35rem 2rem;
  }

  .invitation__content > p {
    margin: 1.5rem 0 2rem;
    font-size: 0.95rem;
  }

  .invitation h2 {
    font-size: clamp(2.8rem, 11vw, 4.5rem);
  }

  .waitlist-form__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .waitlist-form__field {
    min-height: 3.65rem;
    padding: 0.72rem 0.95rem 0.78rem;
  }

  .waitlist-form button {
    width: 100%;
    min-height: 3.4rem;
    justify-content: center;
    padding: 1rem 1.1rem;
  }

  .site-footer {
    padding-block: 1.8rem;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(2.6rem, 10vw, 3.25rem);
  }
}

@media (max-width: 390px) {
  .hero {
    padding-top: 20.5rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12.2vw, 2.6rem);
  }

  .invitation h2 {
    font-size: clamp(2.35rem, 11vw, 2.8rem);
  }

}

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

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