:root {
  --ink: #19201f;
  --muted: #5f6b68;
  --paper: #fffdf8;
  --soft: #f3efe5;
  --line: #ded8cb;
  --teal: #0d6862;
  --teal-dark: #06433f;
  --blue: #1769d1;
  --green: #168243;
  --red: #c7392f;
  --coral: #d4644a;
  --wine: #631b2a;
  --gold: #b58a36;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(25, 32, 31, 0.16);
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: var(--header-height);
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(212, 100, 74, 0.16), transparent 28rem),
    linear-gradient(180deg, #fff9f4 0%, var(--paper) 38%, #f7efe9 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(25, 32, 31, 0.76), rgba(25, 32, 31, 0.76)),
    url("assets/hero-community-apartment.png") center / cover;
}

.age-gate.is-hidden {
  display: none;
}

.age-panel {
  width: min(520px, 100%);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
}

.age-panel h1,
.hero h1,
.section-heading h1,
.section-heading h2,
.application-copy h1,
.application-copy h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

.age-panel h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.age-panel p {
  color: var(--muted);
}

.form-hint.is-error {
  color: var(--red);
  font-weight: 800;
}

.age-actions,
.hero-actions,
.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  height: var(--header-height);
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(222, 216, 203, 0.8);
  background: rgba(24, 10, 16, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  font-weight: 800;
}

.brand-logo {
  width: min(210px, 42vw);
  height: 48px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.nav a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: var(--white);
  background: rgba(212, 100, 74, 0.28);
}

.project-progress {
  position: relative;
  z-index: 1;
  padding: 18px clamp(18px, 4vw, 54px) 20px;
  border-bottom: 1px solid var(--line);
  background: #fffefa;
}

.progress-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 16px;
}

.progress-heading span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.progress-heading strong {
  color: var(--blue);
  font-size: 1rem;
}

.progress-timeline {
  --track-height: 4px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.progress-timeline::before {
  position: absolute;
  top: 19px;
  right: 4%;
  left: 4%;
  height: var(--track-height);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0 16.66%, var(--blue) 16.66% 33.33%, var(--red) 33.33% 100%);
  content: "";
}

.progress-timeline li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(25, 32, 31, 0.16);
  font-weight: 950;
}

.step-label {
  max-width: 190px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.progress-timeline .is-complete .step-number {
  background: var(--green);
}

.progress-timeline .is-current .step-number {
  background: var(--blue);
}

.progress-timeline .is-open .step-number {
  background: var(--red);
}

.progress-timeline .is-current .step-label {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: min(600px, calc(100svh - 72px));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.slider {
  min-height: clamp(500px, 58svh, 600px);
  background: #12070b;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 420ms ease,
    visibility 0s linear 420ms;
}

.slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition:
    opacity 420ms ease,
    visibility 0s;
}

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

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(24, 4, 12, 0.92) 0%, rgba(24, 4, 12, 0.68) 42%, rgba(24, 4, 12, 0.18) 78%),
    linear-gradient(0deg, rgba(25, 12, 16, 0.7) 0%, rgba(25, 12, 16, 0.08) 52%);
}

.hero-content {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(680px, calc(100% - 36px));
  margin: 0 clamp(18px, 5.2vw, 80px) clamp(64px, 8vh, 78px);
  color: var(--white);
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(2.35rem, 4.6vw, 4.45rem);
  text-wrap: balance;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}

.hero-actions {
  margin-top: 6px;
}

.slider-controls {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-button,
.slider-dots button {
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: var(--white);
  background: rgba(25, 32, 31, 0.44);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.slider-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
}

.slider-dots button.is-active {
  background: var(--coral);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 210, 200, 0.52);
  border-radius: 999px;
  color: #ffd2c8;
  background: rgba(99, 27, 42, 0.55);
  backdrop-filter: blur(10px);
  margin: 0;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 850;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), var(--wine));
  box-shadow: 0 12px 30px rgba(99, 27, 42, 0.36);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
}

.button.ghost {
  color: var(--teal-dark);
  border-color: var(--line);
  background: var(--white);
}

.button.locked {
  width: 100%;
  color: #60584c;
  background: #eee6d7;
  cursor: not-allowed;
}

.button.locked:hover {
  transform: none;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}

.status-strip div {
  padding: 20px clamp(16px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.status-strip div:last-child {
  border-right: 0;
}

.status-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-strip strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.section {
  padding: clamp(64px, 10vw, 118px) clamp(18px, 5vw, 70px);
}

.section,
.project-progress,
.status-strip,
.site-footer {
  width: 100%;
}

.section.muted {
  background: var(--soft);
}

.section-heading {
  width: min(1040px, 100%);
  margin-bottom: 34px;
}

.section-heading.wide {
  width: min(1280px, 100%);
}

.section-heading.compact {
  margin-bottom: 24px;
}

.section-heading h1,
.section-heading h2,
.application-copy h1,
.application-copy h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.section-heading > p + p,
.section-heading p,
.application-copy > p {
  max-width: 1080px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.wide p {
  max-width: 1180px;
}

.feature-grid,
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card,
.module-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card {
  padding: 24px;
}

.feature-card .icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.feature-card h3,
.module-card strong {
  margin: 18px 0 8px;
  font-size: 1.2rem;
}

.feature-card p,
.module-card p,
.timeline span,
.rules-table span,
.note-list p,
.form-hint,
.form-status,
.site-footer p {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline li {
  min-height: 180px;
  padding: 24px;
  background: var(--paper);
}

.timeline strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 1.2rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.application-copy {
  position: sticky;
  top: 96px;
}

.note-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.note-list p {
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
}

.application-form {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(25, 32, 31, 0.08);
}

.credential-box,
.profile-preview {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(212, 100, 74, 0.42);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(99, 27, 42, 0.08), rgba(255, 255, 255, 0.96));
}

.credential-box p,
.profile-preview p {
  margin: 0;
  color: var(--muted);
}

.credential-box span {
  color: var(--wine);
  font-weight: 950;
}

.member-dashboard {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: start;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.process-steps div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-steps strong {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
}

.process-steps .is-current strong {
  background: var(--blue);
}

.process-steps .is-done strong {
  background: var(--green);
}

.process-steps span {
  font-weight: 850;
}

.profile-preview {
  min-height: 100%;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 4, 12, 0.92), rgba(99, 27, 42, 0.88)),
    url("assets/slider-boudoir-dessous.png") center / cover;
}

.profile-preview h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.profile-preview p,
.profile-preview .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.profile-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-facts span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 850;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
  font-weight: 900;
  font-size: 1.05rem;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfc8ba;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffefa;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(13, 104, 98, 0.24);
  outline-offset: 2px;
}

.checks label {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 650;
}

.checks input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-hint,
.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 0.95rem;
}

.form-status.is-success {
  color: var(--teal-dark);
  font-weight: 850;
}

.form-status.is-error {
  color: #a93422;
  font-weight: 850;
}

.module-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.module-topline span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-topline strong {
  display: block;
}

.rules-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.member-list {
  margin-top: 24px;
}

.rules-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: 24px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.rules-table div:last-child {
  border-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 850;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-nav a.active {
  color: var(--white);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.page-shell {
  min-height: calc(100svh - var(--header-height));
  background: var(--paper);
}

.legal-copy {
  width: min(980px, 100%);
}

.legal-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.05;
}

.legal-copy h2 {
  margin: 34px 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.legal-copy p {
  max-width: 900px;
  color: var(--muted);
}

.legal-note {
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
}

.stacked-forms {
  display: grid;
  gap: 18px;
}

.price {
  margin: 10px 0;
  color: var(--teal-dark);
  font-size: 1.7rem;
  font-weight: 950;
}

@media (max-width: 1040px) {
  .status-strip,
  .feature-grid,
  .module-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .member-dashboard,
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .application-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    padding-top: 134px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    height: 134px;
    min-height: 134px;
    gap: 10px;
  }

  .nav {
    justify-content: flex-start;
    max-height: 58px;
    overflow: auto;
  }

  .nav a {
    white-space: nowrap;
  }

  .project-progress {
    padding-top: 16px;
  }

  .progress-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .progress-timeline::before {
    display: none;
  }

  .hero {
    min-height: 540px;
  }

  .slider {
    min-height: 540px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 30, 28, 0.82) 0%, rgba(7, 30, 28, 0.48) 58%, rgba(7, 30, 28, 0.24) 100%),
      linear-gradient(90deg, rgba(7, 30, 28, 0.5), rgba(7, 30, 28, 0.18));
  }

  .hero-content {
    width: calc(100% - 36px);
    gap: 12px;
    margin: 0 18px 74px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 3.15rem);
  }

  .hero p {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 42px;
    padding-inline: 14px;
  }

  .slider-controls {
    right: auto;
    bottom: 20px;
    left: 18px;
  }

  .status-strip,
  .feature-grid,
  .module-grid,
  .timeline,
  .member-dashboard,
  .process-steps,
  .form-row {
    grid-template-columns: 1fr;
  }

  .status-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-strip div:last-child {
    border-bottom: 0;
  }

  .rules-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
