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

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #a90e35;
  color: inherit;
}

.shell {
  --plate-fill: rgba(255, 255, 255, 0.12);
  --plate-line: rgba(255, 255, 255, 0.28);
  --inset: 24px;
  --header-gap: 12px;
  --header-bar-h: 44px;
  --slot-size: 44px;
  --header-block-h: calc(var(--header-gap) + var(--header-bar-h));
  min-height: 100dvh;
  background: #a90e35;
}

.site-header {
  padding: 0;
}

.site-header__bar {
  display: flex;
  align-items: center;
  height: var(--header-bar-h);
  padding-left: clamp(20px, 3vw, 48px);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.site-header__mark {
  display: block;
  width: 18px;
  height: 20px;
  fill: #fff;
}

.site-header__brand:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.frame {
  padding: 0 var(--inset) var(--inset);
  min-height: 100dvh;
}

.sections {
  width: min(1440px, 100%);
  max-width: 1440px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--header-gap);
  padding-top: var(--header-gap);
}

.dock {
  position: sticky;
  top: 0;
  z-index: 2;
  width: calc(var(--slot-size) + 18px);
  height: 100dvh;
  margin-bottom: -100dvh;
  pointer-events: none;
}

.nav-pill {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 8px;
  pointer-events: auto;
  border-radius: 999px;
  background: var(--plate-fill);
  border: 1px solid var(--plate-line);
}

.nav-pill__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-pill__item {
  margin: 0;
  padding: 0;
}

.nav-pill__slot,
.dock-mark__slot {
  display: block;
  width: var(--slot-size);
  height: var(--slot-size);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--plate-line);
}

.dock-mark {
  position: absolute;
  left: 0;
  bottom: var(--inset);
  pointer-events: auto;
}

.dock-mark__slot {
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  padding: 0;
  font: inherit;
  cursor: pointer;
  appearance: none;
  transition: transform 0.55s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.dock-mark__slot:hover {
  transform: translateY(-8px);
}

.dock-mark__slot:active {
  transform: translateY(-3px);
  transition-duration: 0.16s;
}

.dock-mark__slot:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.dock-mark__icon {
  width: 26px;
  height: 26px;
}

.canvas {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--inset);
  align-items: center;
  align-content: start;
}

.canvas__pane {
  border-radius: 12px;
  background: var(--plate-fill);
  border: 1px solid var(--plate-line);
}

.canvas__pane--lead {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 48px);
  background: transparent;
  border: none;
  border-radius: 0;
}

.canvas__pane.canvas__pane--aside {
  min-height: 0;
  align-self: start;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

@media (min-width: 720px) {
  .canvas__pane.canvas__pane--aside {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 100%;
    min-height: 0;
  }

}

.canvas__scene {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 6;
}

.canvas__stage {
  position: absolute;
  inset: 0;
}

.canvas__globe {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  cursor: grab;
  touch-action: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.canvas__globe.is-ready {
  opacity: 1;
}

.canvas__frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 96%;
  aspect-ratio: 576 / 1024;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.canvas__frame-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.canvas__widget {
  position: absolute;
  z-index: 1;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.canvas__widget--north {
  top: 10%;
  right: 5%;
  width: 42%;
  height: auto;
  min-height: 16%;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.canvas__stat {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.canvas__stat strong {
  color: #a90e35;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.canvas__stat span {
  color: #fff;
  font-size: calc(15px / 1.2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.canvas__progress {
  height: 8px;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.canvas__progress-indicator {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 1.1s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.canvas__widget--north.is-live .canvas__progress-indicator {
  transform: translateX(-28%);
}

@media (prefers-reduced-motion: reduce) {
  .canvas__progress-indicator {
    transform: translateX(-28%);
    transition: none;
  }

  .canvas__ring-value {
    stroke-dashoffset: 57.18;
    transition: none;
  }
}

.canvas__widget--direct {
  top: 60%;
  left: 5%;
  width: 220px;
  max-width: 100%;
  height: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.canvas__ring {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.canvas__ring-track,
.canvas__ring-value {
  fill: none;
  stroke-width: 3.5;
}

.canvas__ring-track {
  stroke: rgba(22, 22, 22, 0.14);
}

.canvas__ring-value {
  stroke: #fff;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  stroke-dasharray: 87.96;
  stroke-dashoffset: 87.96;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.canvas__widget--direct.is-live .canvas__ring-value {
  stroke-dashoffset: 57.18;
}

.canvas__kicker {
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.canvas__title {
  margin: 0;
  max-width: none;
  color: #fff;
  font-size: min(11.75rem, 4.4vw + 2rem, 14cqi);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.92;
  text-wrap: balance;
}

.canvas__lede {
  max-width: none;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.62;
}

.canvas__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.canvas__cta {
  min-height: 52px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.75, 0.2, 1),
    background-color 0.55s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.canvas__cta--primary {
  background: #fff;
  color: #a90e35;
}

.canvas__cta--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.23);
}

.canvas__cta:hover {
  transform: translateY(-8px);
}

.canvas__cta:active {
  transform: translateY(-3px);
  transition-duration: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  .canvas__cta,
  .dock-mark__slot,
  .canvas__globe {
    transition: none;
  }

  .canvas__cta:hover,
  .canvas__cta:active,
  .dock-mark__slot:hover,
  .dock-mark__slot:active {
    transform: none;
  }
}

.canvas__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.canvas__cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 719px) {
  .shell {
    --slot-size: 40px;
  }

  .frame {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--inset);
    min-height: 100dvh;
    padding-bottom: calc(var(--inset) + env(safe-area-inset-bottom, 0px));
  }

  .sections {
    width: 100%;
    max-width: 1440px;
    padding-bottom: 0;
  }

  .canvas {
    grid-template-columns: 1fr;
    min-height: 0;
    align-items: start;
    gap: 8px;
  }

  .canvas__pane {
    min-height: 0;
  }

  .canvas__pane--lead {
    padding-bottom: 4px;
  }

  .canvas__pane.canvas__pane--aside {
    align-self: stretch;
    width: 100%;
  }

  .canvas__scene {
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
  }

  .canvas__globe {
    width: 100%;
  }

  .dock {
    position: absolute;
    top: calc(var(--header-gap) + 8px);
    left: 50%;
    right: auto;
    bottom: auto;
    z-index: 3;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    max-width: calc(100% - 48px);
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .nav-pill {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    padding: 4px;
    pointer-events: auto;
    background: transparent;
    border: none;
  }

  .nav-pill__list {
    flex-direction: row;
    gap: 0;
  }

  .nav-pill__slot,
  .dock-mark__slot {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .dock-mark {
    position: relative;
    left: auto;
    bottom: auto;
    pointer-events: auto;
  }

  .dock-mark__icon {
    width: 16px;
    height: 16px;
  }
}

.privacy {
  width: min(720px, calc(100% - 40px));
  max-height: min(760px, calc(100dvh - 40px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: #161616;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.28);
}

.privacy::backdrop {
  background: rgba(12, 10, 10, 0.57);
}

.privacy__head {
  padding: 28px 30px 22px;
  border-bottom: 1px solid #ece7e2;
}

.privacy__kicker {
  margin: 0 0 13px;
  color: #a90e35;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.privacy__title {
  margin: 0;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.privacy__copy {
  max-width: 640px;
  margin: 10px 0 0;
  color: #6f6a66;
  font-size: 13px;
  line-height: 1.65;
}

.privacy__body {
  padding: 6px 30px 2px;
}

.privacy__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 19px 0;
  border-bottom: 1px solid #ece7e2;
}

.privacy__row strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.privacy__row p {
  max-width: 515px;
  margin: 5px 0 0;
  color: #6f6a66;
  font-size: 11px;
  line-height: 1.55;
}

.privacy__always {
  color: #9a948e;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.privacy__switch {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d7d2cd;
  cursor: pointer;
}

.privacy__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.13);
  transition: transform 0.2s ease;
}

.privacy__switch[aria-checked="true"] {
  background: #a90e35;
}

.privacy__switch[aria-checked="true"]::after {
  transform: translateX(20px);
}

.privacy__switch:focus-visible {
  outline: 3px solid #a90e35;
  outline-offset: 3px;
}

.privacy__actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 9px;
  padding: 20px 30px 26px;
}

.privacy__action {
  min-height: 46px;
  border: 1px solid #ece7e2;
  border-radius: 13px;
  background: #fff;
  color: #161616;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.privacy__action--primary {
  border-color: #a90e35;
  background: #a90e35;
  color: #fff;
}

.privacy__action:focus-visible {
  outline: 3px solid #a90e35;
  outline-offset: 3px;
}

@media (max-width: 719px) {
  .privacy__head,
  .privacy__body {
    padding-left: 22px;
    padding-right: 22px;
  }

  .privacy__actions {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }
}

html[data-hero="a"] .splash {
  display: none;
}

html[data-hero="b"] {
  overflow-x: clip;
}

html[data-hero="b"]:has(.splash:not(.is-done)) {
  overflow: hidden;
}

html[data-hero="b"] .nav-pill {
  display: none;
}

html[data-hero="b"] .splash {
  position: fixed;
  z-index: 1;
  left: 0;
  right: 0;
  top: calc(var(--header-gap) + var(--header-bar-h));
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: clamp(8px, 1.6vh, 28px) var(--inset) var(--inset);
  background: #a90e35;
  text-align: center;
  transition: opacity 0.6s ease;
}

html[data-hero="b"] .splash.is-done {
  background: transparent;
  opacity: 0;
  pointer-events: none;
}

html[data-hero="b"] .hero__live {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

html[data-hero="b"] .hero__live .canvas__title {
  max-width: none;
  font-size: clamp(2.01rem, 4.58vw, 5.28rem);
  text-align: center;
  transition: opacity 0.9s ease;
}

html[data-hero="b"] .hero__live.is-out .canvas__title {
  opacity: 0;
}

html[data-hero="b"] .splash .canvas__scene {
  width: 630px;
  max-width: 100%;
  aspect-ratio: 1;
  margin-top: 0;
  transform: none;
}

html[data-hero="b"] .hero__cue {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: opacity 0.6s ease;
}

html[data-hero="b"] .hero__cue.is-gone {
  opacity: 0;
}

html[data-hero="b"] .hero__live.is-in .canvas__title,
html[data-hero="b"] .hero__live.is-in .canvas__lede {
  animation: hero-settle 0.15s cubic-bezier(0.2, 0.75, 0.2, 1);
}

@keyframes hero-settle {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 719px) {
  html[data-hero="b"] .dock {
    top: auto;
    right: auto;
    bottom: calc(var(--inset) + env(safe-area-inset-bottom, 0px));
    left: var(--inset);
    width: auto;
    height: auto;
    max-width: none;
    transform: none;
    margin: 0;
  }

  html[data-hero="b"] .splash {
    justify-content: flex-start;
    align-items: center;
    gap: 36px;
    padding-top: clamp(12px, 4vh, 36px);
  }

  html[data-hero="b"] .splash .hero__live {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
  }

  html[data-hero="b"] .hero__live .canvas__title {
    max-width: none;
    font-size: clamp(1.42rem, 7.22vw, 2.19rem);
  }

  html[data-hero="b"] .splash .canvas__scene {
    position: relative;
    flex: 0 0 auto;
    width: min(100%, calc(100svh - 15rem));
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1;
    margin-top: 0;
  }

  html[data-hero="b"] .splash .canvas__globe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  html[data-hero="b"] .hero__cue {
    margin-bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-hero="b"] .splash,
  html[data-hero="b"] .hero__live .canvas__title,
  html[data-hero="b"] .hero__cue {
    animation: none;
    transition: none;
  }
}

.j-access {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(12, 10, 10, 0.57);
}

.j-access[hidden] {
  display: none;
}

.j-access__panel {
  box-sizing: border-box;
  width: min(440px, 100%);
  padding: 28px 24px calc(24px + env(safe-area-inset-bottom, 0px));
  border-radius: 28px 28px 0 0;
  background: #fff;
  color: #161616;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.28);
}

.j-access__panel h2 {
  margin: 0;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.j-access__lede {
  margin: 10px 0 0;
  color: #6f6a66;
  font-size: 15px;
  line-height: 1.55;
}

.j-access__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.j-access__form input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: #f4efe9;
  color: #161616;
  font: inherit;
  font-size: 15px;
}

.j-access__form button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #a90e35;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.j-access__form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.j-access__error {
  margin: 0;
  color: #a90e35;
  font-size: 13px;
}

.j-access__thanks {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

@media (min-width: 720px) {
  .j-access {
    align-items: center;
    padding: 24px;
  }

  .j-access__panel {
    border-radius: 28px;
    padding: 28px 30px;
  }
}

/* landing.css still loads (legal pages + live check). Keep this page on the
   local preview look: wine body, Join as a pill, no old mail-button layout. */
html,
body {
  background: #a90e35;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #a90e35;
  color: inherit;
  font-size: medium;
  font-weight: 400;
  line-height: normal;
}

.canvas__cta {
  appearance: none;
}

.canvas__cta.j-access-open {
  position: static;
  inset: auto;
  z-index: auto;
  display: inline-flex;
  width: auto;
  height: auto;
  min-height: 52px;
  margin: 0;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: #a90e35;
}

.j-access,
.j-access__panel,
.j-access.is-leaving,
.j-access.is-leaving .j-access__panel {
  animation: none;
}

.j-access__panel {
  gap: normal;
  max-width: none;
  width: min(440px, 100%);
}
