:root {
  --wine: #5d2638;
  --wine-dark: #351820;
  --wine-soft: #7c4053;
  --cream: #f8f2e9;
  --cream-deep: #eee2d2;
  --paper: #fffdf9;
  --ink: #2a1e20;
  --muted: #6f6261;
  --gold: #c7a66a;
  --gold-light: #e5d2aa;
  --line: rgba(53, 24, 32, 0.14);
  --shadow: 0 22px 60px rgba(53, 24, 32, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  border-radius: 99px;
  color: white;
  background: var(--wine-dark);
}

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

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

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 3rem));
  min-height: 86px;
  margin: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-name em {
  color: var(--gold-light);
  font-size: 0.8em;
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  background: var(--gold-light);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.65rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 99px;
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--wine-dark);
  background: white;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  color: white;
  background: transparent;
}

.menu-button > span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(860px, 93vh);
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--wine-dark);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  animation: hero-in 1.4s ease both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(31, 13, 18, 0.9) 0%, rgba(50, 21, 29, 0.7) 38%, rgba(50, 21, 29, 0.1) 68%),
    linear-gradient(0deg, rgba(31, 13, 18, 0.35), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 3rem));
  margin: 86px auto 0;
}

.hero-content > * {
  max-width: 610px;
}

.eyebrow,
.section-kicker,
.event-type,
.footer-label {
  margin: 0 0 1rem;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold-light);
}

.hero h1,
.section-heading h2,
.events h2,
.about h2,
.join h2,
.intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
}

.hero-copy {
  max-width: 580px;
  margin: 1.65rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  color: var(--wine-dark);
  background: var(--cream);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.button-primary:hover {
  background: white;
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.48);
  color: white;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  margin: 2.4rem 0 0;
  padding: 1.3rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  list-style: none;
}

.trust-row span {
  margin-right: 0.35rem;
  color: var(--gold-light);
}

.section-pad {
  padding: 7.5rem max(1.5rem, calc((100vw - 1180px) / 2));
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 8vw;
  align-items: start;
  background: var(--paper);
}

.intro h2,
.section-heading h2,
.events h2,
.about h2,
.join h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
}

.intro-body {
  max-width: 650px;
  padding-top: 1rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.65;
}

.intro-body p {
  margin: 0 0 1.2rem;
}

.benefits {
  background:
    radial-gradient(circle at 8% 12%, rgba(199, 166, 106, 0.18), transparent 27%),
    var(--cream);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-heading > p:last-child {
  max-width: 560px;
  margin: 1.2rem auto 0;
  color: var(--muted);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  position: relative;
  min-height: 340px;
  padding: 2.1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 253, 249, 0.72);
}

.benefit-card.featured {
  color: white;
  background: var(--wine);
  box-shadow: var(--shadow);
  transform: translateY(-1rem);
}

.card-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1rem;
}

.benefit-card h3 {
  max-width: 260px;
  margin: 4rem 0 1rem;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.15;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
}

.benefit-card.featured p {
  color: rgba(255, 255, 255, 0.75);
}

.events {
  color: white;
  background:
    linear-gradient(120deg, rgba(199, 166, 106, 0.08), transparent 35%),
    var(--wine-dark);
}

.events-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-kicker.light,
.events .section-kicker {
  color: var(--gold-light);
}

.events-heading > p {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.68);
}

.event-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.event-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.event-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(229, 210, 170, 0.5);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.event-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.event-card p {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.event-card .event-type {
  margin: 0 0 0.25rem;
  color: var(--gold-light);
  font-size: 0.68rem;
}

.event-tag {
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.73rem;
  letter-spacing: 0.03em;
}

.event-note {
  max-width: 650px;
  margin: 2rem 0 0 auto;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  text-align: right;
}

.about {
  position: relative;
  display: grid;
  min-height: 620px;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 4rem;
  align-items: center;
  overflow: hidden;
  background: var(--paper);
}

.about::before {
  position: absolute;
  top: 3rem;
  right: -10rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  content: "";
  opacity: 0.55;
}

.about-quote {
  color: var(--cream-deep);
  font-family: var(--serif);
  font-size: clamp(12rem, 25vw, 22rem);
  line-height: 0.65;
  text-align: center;
}

.about-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.about-copy > p:not(.section-kicker) {
  max-width: 660px;
  margin: 1.8rem 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.about-values span {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--gold-light);
  border-radius: 99px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 700;
}

.join {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  gap: 7vw;
  align-items: start;
  color: white;
  background: var(--wine);
}

.join-copy {
  position: sticky;
  top: 3rem;
}

.join-copy > p:not(.section-kicker) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
}

.join-note {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.join-note > span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 2rem;
}

.join-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.join-note strong {
  color: white;
}

.join-form {
  padding: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(42, 16, 25, 0.28);
}

.preference-form {
  min-height: 630px;
}

.form-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #8b7c79;
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.private-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--wine);
}

.progress-track {
  height: 4px;
  margin: 0.8rem 0 2.2rem;
  overflow: hidden;
  border-radius: 99px;
  background: var(--cream-deep);
}

.progress-track span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--wine), #a34d67);
  transition: width 260ms ease;
}

.form-step {
  animation: step-in 260ms ease both;
}

.form-step[hidden] {
  display: none;
}

.step-heading {
  max-width: 540px;
  margin: 0 auto 2rem;
  text-align: center;
}

.step-heading p {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step-heading h3 {
  margin: 0;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.step-heading > span {
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.details-heading {
  margin-bottom: 1.5rem;
}

.preference-options,
.age-options {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.preference-options {
  grid-template-columns: repeat(3, 1fr);
}

.preference-card,
.age-card {
  position: relative;
  display: flex;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  background: white;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.preference-card {
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.35rem 0.8rem;
  text-align: center;
}

.preference-card:hover,
.age-card:hover {
  border-color: rgba(93, 38, 56, 0.42);
  transform: translateY(-2px);
}

.preference-card:has(input:checked),
.age-card:has(input:checked) {
  border-color: var(--wine);
  box-shadow: 0 0 0 2px rgba(93, 38, 56, 0.12), 0 14px 32px rgba(53, 24, 32, 0.1);
}

.preference-card input,
.age-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-symbol {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 1rem;
  place-items: center;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  color: var(--wine);
  background: var(--cream);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.preference-card strong {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.preference-card small {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.choice-check {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: transparent;
  background: var(--cream);
  font-size: 0.7rem;
}

.preference-card:has(input:checked) .choice-check {
  color: white;
  background: var(--wine);
}

.age-options {
  grid-template-columns: repeat(2, 1fr);
}

.age-card {
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 1.15rem 1.25rem;
}

.age-card span {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.6rem;
}

.age-card small {
  color: var(--muted);
  font-size: 0.72rem;
}

.step-error {
  display: none;
  margin: 0.8rem 0 0;
  color: #8d1e2b;
  font-size: 0.78rem;
  text-align: center;
}

.step-error.visible {
  display: block;
}

.form-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.form-navigation.end {
  justify-content: flex-end;
}

.step-next {
  min-width: 150px;
  border: 0;
  color: white;
  background: var(--wine-dark);
  cursor: pointer;
}

.step-back {
  min-height: 46px;
  padding: 0.6rem 0.3rem;
  border: 0;
  color: var(--wine);
  background: transparent;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--gold-light);
  text-underline-offset: 0.35rem;
}

.step-back:hover,
.step-back:focus-visible {
  color: var(--wine-dark);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1.15rem;
}

.field label,
.choice-group legend {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--wine-dark);
  font-size: 0.82rem;
  font-weight: 750;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(53, 24, 32, 0.22);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(93, 38, 56, 0.12);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: #a92936;
}

.field-error {
  display: none;
  margin-top: 0.3rem;
  color: #8d1e2b;
  font-size: 0.76rem;
}

.field.invalid .field-error,
.consent-error.visible {
  display: block;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
}

.choice-group legend {
  width: 100%;
}

.choice-group label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
}

.choice-group input,
.consent input {
  accent-color: var(--wine);
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.45;
}

.consent input {
  margin-top: 0.15rem;
}

.button-form {
  width: auto;
  min-width: 230px;
  margin-top: 0;
  border: 0;
  color: white;
  background: var(--wine-dark);
  cursor: pointer;
}

.button-form:hover {
  box-shadow: 0 12px 26px rgba(53, 24, 32, 0.2);
}

.telegram-mark {
  margin-right: 0.5rem;
  color: var(--gold-light);
  transform: rotate(-18deg);
}

.form-privacy {
  margin: 0.75rem 0 0;
  color: #887a77;
  font-size: 0.7rem;
  text-align: center;
}

.form-success {
  display: none;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 1.2rem;
  padding: 1rem;
  border: 1px solid #b9ceb8;
  border-radius: 12px;
  color: #29492a;
  background: #edf5ec;
}

.form-success.visible {
  display: flex;
}

.form-success > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #486f49;
}

.form-success h3,
.form-success p {
  margin: 0;
}

.form-success h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.form-success p {
  margin-top: 0.2rem;
  font-size: 0.78rem;
}

.form-config-error {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #dfb8a4;
  border-radius: 12px;
  color: #7d331e;
  background: #fff1e9;
  font-size: 0.8rem;
}

.form-config-error.visible {
  display: block;
}

.join {
  display: block;
  color: white;
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 25, 50, 0.16), transparent 30%),
    radial-gradient(circle at 100% 85%, rgba(93, 38, 56, 0.12), transparent 28%),
    #070707;
}

.join-form {
  width: min(1040px, 100%);
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  border: 0;
  color: white;
  background: transparent;
  box-shadow: none;
}

.access-intro {
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
}

.member-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 60, 96, 0.42);
  border-radius: 99px;
  color: #ff546f;
  background: rgba(255, 46, 84, 0.08);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.access-intro h2 {
  margin: 0;
  color: white;
  font-family: var(--sans);
  font-size: clamp(3rem, 7vw, 5.7rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.access-intro h2 em {
  color: #ff3f60;
  font-style: normal;
}

.access-subtitle {
  margin: 1.2rem 0 0;
  color: white;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 760;
}

.access-copy {
  max-width: 620px;
  margin: 0.8rem auto 0;
  color: #8f8f8f;
  font-size: 0.9rem;
}

.countdown-panel {
  position: relative;
  max-width: 650px;
  margin: 1.8rem auto 0;
  padding: 1.15rem 1.5rem;
  border: 1px solid #333;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.countdown-panel p {
  margin: 0;
  color: #c7c7c7;
  font-size: 0.86rem;
}

.countdown-panel p + p {
  margin-top: 0.2rem;
}

.countdown-panel strong {
  color: #ff4967;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.countdown-panel.expired {
  border-color: rgba(255, 73, 103, 0.6);
  background: rgba(255, 73, 103, 0.08);
}

#restart-session {
  margin-top: 0.7rem;
  padding: 0;
  border: 0;
  color: #ff6b83;
  background: transparent;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.screening-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1rem;
}

.screening-badges span {
  padding: 0.32rem 0.7rem;
  border: 1px solid #292929;
  border-radius: 99px;
  color: #7f7f7f;
  background: #101010;
  font-size: 0.68rem;
}

.screening-card {
  margin-top: 4rem;
  padding: 1.5rem;
  border: 1px solid #292929;
  border-radius: 28px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.025), transparent 32%),
    #0c0c0c;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

.screening-card .form-status {
  color: #6f6f6f;
}

.screening-card .private-label {
  color: #8f8f8f;
}

.screening-card .progress-track {
  margin-bottom: 2.7rem;
  background: #292929;
}

.screening-card .progress-track span {
  background: linear-gradient(90deg, #ff3154, #ff5c76);
}

.screening-card .step-heading h3 {
  color: white;
  font-family: var(--sans);
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  font-weight: 840;
  letter-spacing: -0.055em;
}

.screening-card .step-heading p {
  color: #ff4967;
}

.screening-card .step-heading > span {
  color: #777;
  font-size: 0.8rem;
}

.portrait-options,
.goal-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.portrait-card {
  position: relative;
  min-width: 0;
  height: 390px;
  overflow: hidden;
  border: 1px solid #2b2b2b;
  border-radius: 18px;
  cursor: pointer;
  background: #151515;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.portrait-card:hover {
  border-color: rgba(255, 73, 103, 0.62);
  transform: translateY(-3px);
}

.portrait-card:has(input:focus-visible) {
  outline: 3px solid rgba(255, 73, 103, 0.3);
  outline-offset: 3px;
}

.portrait-card:has(input:checked) {
  border-color: #ff4967;
  box-shadow: 0 0 0 2px rgba(255, 73, 103, 0.18);
}

.portrait-card input,
.goal-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.portrait-card img,
.portrait-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portrait-card img {
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 300ms ease, filter 180ms ease;
}

.portrait-card:hover img,
.portrait-card:has(input:checked) img {
  filter: saturate(1) contrast(1.02);
  transform: scale(1.025);
}

.portrait-shade {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, transparent 42%);
}

.portrait-card strong {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: white;
  font-size: 1.1rem;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.portrait-card .choice-check {
  z-index: 3;
  color: transparent;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(6px);
}

.portrait-card:has(input:checked) .choice-check {
  color: white;
  background: #ff3f60;
}

.goal-card {
  position: relative;
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  border: 1px solid #2d2d2d;
  border-radius: 18px;
  color: #aaa;
  cursor: pointer;
  background: #121212;
  text-align: center;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.goal-card:hover,
.goal-card:has(input:checked) {
  border-color: #ff4967;
  color: white;
  background: #191115;
  transform: translateY(-2px);
}

.goal-card > span {
  color: #ff4967;
  font-family: var(--serif);
  font-size: 2rem;
}

.goal-card strong {
  margin-top: 0.55rem;
  color: white;
  font-size: 0.95rem;
}

.goal-card small {
  margin-top: 0.35rem;
  color: #717171;
  font-size: 0.72rem;
}

.screening-card .step-next,
.screening-card .button-form {
  color: white;
  background: linear-gradient(90deg, #e92e4e, #ff4c69);
}

.screening-card .step-next:disabled,
.screening-card .button-form:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.screening-card .step-back {
  color: #b0b0b0;
  text-decoration-color: #555;
}

.screening-card .field label,
.screening-card .choice-group legend {
  color: #d2d2d2;
}

.screening-card .field input,
.screening-card .field select {
  border-color: #333;
  color: white;
  background: #151515;
}

.screening-card .field input::placeholder {
  color: #676767;
}

.screening-card .consent {
  color: #8d8d8d;
}

.screening-card .form-privacy {
  color: #686868;
}

.screening-card .field-error,
.screening-card .step-error,
.screening-card .consent-error {
  color: #ff7188;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  padding: 4.5rem max(1.5rem, calc((100vw - 1180px) / 2)) 1.5rem;
  color: var(--cream);
  background: #211518;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.6fr;
  gap: 4rem;
  padding-bottom: 4rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-top > div:first-child > p,
.footer-contact p {
  max-width: 370px;
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.85rem;
}

.footer-contact a,
.footer-links a {
  display: block;
  width: fit-content;
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 0.25rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-label {
  color: var(--gold-light) !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.73rem;
}

.footer-bottom p {
  margin: 0;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

@media (max-width: 820px) {
  .brand,
  .menu-button {
    position: relative;
    z-index: 30;
  }

  .header-inner {
    width: min(100% - 2rem, 1180px);
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 20;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    visibility: hidden;
    opacity: 0;
    color: white;
    background: var(--wine-dark);
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 400;
  }

  .site-nav .nav-cta {
    padding: 0.5rem 1.2rem;
  }

  .hero {
    min-height: 820px;
    align-items: end;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(31, 13, 18, 0.98) 0%, rgba(42, 19, 25, 0.76) 56%, rgba(42, 19, 25, 0.18) 100%);
  }

  .hero-content {
    width: calc(100% - 2rem);
    margin: 0 auto 3.5rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .section-pad {
    padding: 5rem 1.25rem;
  }

  .intro,
  .events-heading,
  .about,
  .join {
    grid-template-columns: 1fr;
  }

  .intro,
  .about,
  .join {
    gap: 2rem;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }

  .benefit-card.featured {
    transform: none;
  }

  .benefit-card h3 {
    margin-top: 2.5rem;
  }

  .events-heading {
    gap: 1rem;
  }

  .about-quote {
    display: none;
  }

  .about {
    min-height: auto;
  }

  .about-copy {
    max-width: 680px;
  }

  .join-copy {
    position: static;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .brand-name {
    font-size: 1.15rem;
  }

  .hero {
    min-height: 780px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-row {
    display: grid;
    gap: 0.45rem;
  }

  .event-card {
    grid-template-columns: 44px 1fr;
    gap: 0.8rem;
  }

  .event-icon {
    width: 40px;
    height: 40px;
  }

  .event-tag {
    grid-column: 2;
    width: fit-content;
  }

  .event-note {
    text-align: left;
  }

  .join-form {
    padding: 1.3rem;
  }

  .preference-form {
    min-height: 0;
  }

  .preference-options {
    grid-template-columns: 1fr;
  }

  .preference-card {
    min-height: 108px;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 0 0.8rem;
    align-content: center;
    justify-items: start;
    padding: 0.9rem 2.8rem 0.9rem 0.9rem;
    text-align: left;
  }

  .choice-symbol {
    width: 46px;
    height: 46px;
    grid-row: 1 / 3;
    margin: 0;
  }

  .preference-card small {
    margin: 0;
  }

  .age-options {
    grid-template-columns: 1fr 1fr;
  }

  .age-card {
    min-height: 96px;
    padding: 0.9rem;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 410px) {
  .age-options {
    grid-template-columns: 1fr;
  }

  .final-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

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

@media (max-width: 680px) {
  .access-intro h2 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .screening-card {
    margin-top: 2.8rem;
    padding: 1rem;
    border-radius: 20px;
  }

  .portrait-options,
  .goal-options {
    grid-template-columns: 1fr;
  }

  .portrait-card {
    width: min(100%, 360px);
    height: 360px;
    margin: 0 auto;
  }

  .goal-card {
    min-height: 120px;
  }

  .screening-badges {
    gap: 0.35rem;
  }
}
