* { box-sizing: border-box; }

html { background: var(--color-burgundy-dark); }

body {
  margin: 0;
  color: var(--color-surface-light);
  font-family: var(--font-body);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--color-gold); color: var(--color-burgundy-dark); }
a:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 5px; }
.visually-hidden { clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.hero {
  background: var(--color-ink);
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

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

.hero__curl {
  filter: drop-shadow(5px 8px 14px rgb(0 0 0 / 20%));
  height: 100%;
  inset: 0;
  mask-image: linear-gradient(90deg, #000 0 23%, transparent 33%), linear-gradient(180deg, #000 0 54%, transparent 72%);
  mask-composite: intersect;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.hero::before {
  background: linear-gradient(90deg, rgb(22 16 18 / 92%) 0%, rgb(28 19 21 / 77%) 27%, rgb(29 20 22 / 48%) 48%, rgb(23 18 18 / 7%) 72%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-inline: auto;
  max-width: 1440px;
  min-height: 100svh;
  padding: 1.7rem clamp(1.5rem, 5%, 5rem) 4.5rem;
  position: relative;
  z-index: 1;
}

.hero__content { max-width: 40rem; }

.hero__content h1 {
  color: var(--color-surface-light);
  font-family: var(--font-editorial);
  font-size: 5rem;
  font-weight: 400;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

.hero__content p {
  color: var(--color-text-tan-light);
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 1.5rem 0 0;
  max-width: 33rem;
}

.hero__link {
  align-items: center;
  background: var(--gradient-signature-gold);
  border: 1px solid rgb(245 222 166 / 76%);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgb(0 0 0 / 22%), inset 0 1px 0 rgb(255 245 214 / 58%);
  color: #1c1915;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  min-height: 52px;
  margin-top: 2rem;
  padding: 0.75rem 1.35rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero__link:hover {
  box-shadow: 0 16px 34px rgb(0 0 0 / 26%), inset 0 1px 0 rgb(255 245 214 / 68%);
  transform: translateY(-1px);
}

.launch-signup {
  background: var(--color-surface-light);
  color: var(--color-burgundy-dark);
}

.launch-signup__inner {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  margin-inline: auto;
  max-width: 1440px;
  padding: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 5%, 5rem);
}

.launch-signup__intro h2 {
  font-family: var(--font-editorial);
  font-size: clamp(2.15rem, 3.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

.launch-signup__intro p {
  color: var(--color-text-body);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  margin: 1rem 0 0;
  max-width: 35rem;
}

.launch-signup__form > label:first-child {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.launch-signup__entry { display: flex; }

.launch-signup__entry input {
  background: var(--color-paper);
  border: 1px solid var(--color-border-neutral);
  border-radius: 0;
  color: var(--color-burgundy-dark);
  flex: 1;
  font: inherit;
  min-height: 3.5rem;
  min-width: 0;
  padding: 0.8rem 1rem;
}

.launch-signup__entry input::placeholder { color: var(--color-text-body); opacity: 1; }

.launch-signup__entry button {
  background: var(--color-burgundy-dark);
  border: 1px solid var(--color-burgundy-dark);
  color: var(--color-surface-light);
  font: inherit;
  font-weight: 600;
  min-height: 3.5rem;
  padding: 0.8rem 1.4rem;
}

.launch-signup__entry button:disabled { cursor: not-allowed; opacity: 0.82; }
.launch-signup__entry input:disabled { opacity: 1; }

.launch-signup__consent {
  align-items: flex-start;
  display: flex;
  font-size: 0.9rem;
  gap: 0.65rem;
  line-height: 1.4;
  margin-top: 1rem;
}

.launch-signup__consent input {
  accent-color: var(--color-burgundy);
  flex: none;
  height: 1rem;
  margin: 0.15rem 0 0;
  width: 1rem;
}

.launch-signup__note {
  font-size: 0.9rem;
  font-style: italic;
  margin: 0.8rem 0 0 1.65rem;
}

.launch-signup__privacy {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0.5rem 0 0 1.65rem;
}

.launch-signup__privacy a { text-underline-offset: 0.2em; }

.launch-signup__unavailable {
  color: var(--color-text-body);
  font-size: 0.85rem;
  margin: 0.8rem 0 0;
}

.launch-signup__unavailable[data-state="error"],
.flow-action__status[data-state="error"] { color: #9c2834; }

.launch-signup__unavailable[data-state="success"],
.flow-action__status[data-state="success"] { color: #246044; }

.closing {
  background: var(--color-burgundy-dark) url("/assets/blackgold-texture.png") center top / min(1000px, 180%) auto repeat;
  border-top: 1px solid rgb(232 201 139 / 45%);
}

.closing__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  justify-content: center;
  margin-inline: auto;
  min-height: 15rem;
  padding: 2rem 1.5rem;
}

.closing__ornament {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  width: min(22rem, 80vw);
}

.closing__ornament span { flex: 1; height: 1px; }
.closing__ornament span:first-child { background: linear-gradient(90deg, transparent, rgb(232 201 139 / 82%)); }
.closing__ornament span:last-child { background: linear-gradient(90deg, rgb(232 201 139 / 82%), transparent); }
.closing__ornament i { border: 1px solid var(--color-gold); height: 0.5rem; transform: rotate(45deg); width: 0.5rem; }

.closing__footer {
  align-items: center;
  border-top: 1px solid rgb(232 201 139 / 45%);
  color: var(--color-text-tan-light);
  display: flex;
  font-size: 0.85rem;
  justify-content: space-between;
  padding: 1.15rem clamp(1.5rem, 5%, 5rem);
}

.closing__footer a { color: var(--color-gold-light); text-underline-offset: 0.25em; }

.closing img { height: auto; width: 20rem; }

.flow-page { background: var(--color-surface-light); color: var(--color-burgundy-dark); }
.flow-action, .policy-page { margin: auto; max-width: 56rem; min-height: 100svh; padding: clamp(1.5rem, 4vw, 3rem); }
.flow-action { display: flex; flex-direction: column; justify-content: center; }
.flow-action__brand { display: inline-block; margin-bottom: 2.5rem; width: fit-content; }
.flow-action__brand img { height: auto; width: 11rem; }
.flow-action__panel h1, .policy-page h1 { font-family: var(--font-editorial); font-size: clamp(2.4rem, 5vw, 4.25rem); font-weight: 400; line-height: 1.1; margin: 0 0 1rem; }
.flow-action__panel p, .policy-page p { color: var(--color-text-body); line-height: 1.65; }
.flow-action__form button {
  background: var(--color-burgundy-dark);
  border: 1px solid var(--color-burgundy-dark);
  color: var(--color-surface-light);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  min-height: 3.3rem;
  padding: 0.7rem 1.4rem;
}
.flow-action__form button:disabled { cursor: default; opacity: 0.72; }
.flow-action__status { min-height: 1.5rem; }
.flow-action__panel > a, .policy-page a { color: var(--color-burgundy); text-underline-offset: 0.25em; }
.policy-page__body { max-width: 45rem; }
.policy-page .policy-page__draft { color: #9c2834; font-weight: 700; margin-bottom: 1.5rem; }
.policy-page h2 { font-family: var(--font-editorial); font-size: 1.7rem; font-weight: 400; margin: 2.3rem 0 0.5rem; }
.policy-page__body > p:last-child { margin-top: 2.5rem; }

.not-found-page {
  background: var(--color-burgundy-dark) url("/assets/blackgold-texture.png") center top / min(1000px, 180%) auto repeat;
}

.not-found { align-items: center; display: flex; flex-direction: column; gap: clamp(0.75rem, 3svh, 1.5rem); justify-content: center; min-height: 100svh; padding: 1rem; text-align: center; }
.not-found img { height: auto; max-height: 36svh; object-fit: contain; width: min(12rem, 44vw); }
.not-found h1 { font-family: var(--font-editorial); font-size: 2.5rem; font-weight: 400; margin: 0; }
.not-found a { color: var(--color-gold-light); text-underline-offset: 0.3em; }

@media (max-width: 980px) {
  .hero { background: var(--color-burgundy-dark); }

  .hero__image {
    height: 55svh;
    object-position: 68% top;
  }

  .hero__curl {
    height: auto;
    mask-image: linear-gradient(90deg, #000 0 20%, transparent 25%), linear-gradient(180deg, #000 0 55%, transparent 70%);
    max-width: none;
    object-fit: contain;
    width: 750px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgb(22 16 18 / 32%) 0%, transparent 22%, transparent 36%, var(--color-burgundy-dark) 55%);
  }

  .hero__inner { justify-content: flex-start; min-height: 100svh; padding: 1rem 1.35rem 2rem; }
  .hero__content { margin-top: 56svh; }
  .hero__content h1 { font-size: 3.2rem; line-height: 1.06; }
  .hero__content p { font-size: 1.05rem; margin-top: 1rem; }
  .hero__link { margin-top: 1.6rem; }
  .closing img { width: 14.5rem; }
}

@media (max-width: 760px) {
  .launch-signup__inner { align-items: start; gap: 1.8rem; grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .launch-signup__entry { flex-direction: column; gap: 0.75rem; }
  .launch-signup__entry button { width: 100%; }
}

@media (max-width: 380px) {
  .hero__content h1 { font-size: 2.5rem; }
  .hero__link { width: 100%; }
}

@media (max-height: 640px) {
  .hero__inner { padding-top: 0.65rem; padding-bottom: 1.1rem; }
  .hero__content h1 { font-size: 3.1rem; }
  .hero__content p { font-size: 0.95rem; line-height: 1.4; margin-top: 0.65rem; }
  .hero__link { min-height: 44px; margin-top: 0.85rem; }
  .not-found img { max-height: 28svh; width: min(9rem, 38vw); }
  .not-found h1 { font-size: 1.9rem; }
}

@media (max-width: 380px) and (max-height: 640px) {
  .hero__content h1 { font-size: 2.35rem; }
}

@media (max-width: 380px) and (max-height: 500px) {
  .hero__inner { padding-bottom: 0.5rem; }
  .hero__content { margin-top: 52svh; }
}

@media (max-width: 600px) {
  .closing__footer { flex-direction: column; gap: 0.7rem; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__link { transition: none; }
  .hero__link:hover { transform: none; }
}
