/* The Rose Society Wellness Club · brand home
   The club's own palette: beige, brown, black and rose gold.
   The event page (/bachata-and-wellness) keeps its flyer look in styles.css. */

:root {
  --beige: #efe3d3;
  --ivory: #f8f1e7;
  --sand: #e2d0ba;
  --brown: #4b3024;
  --brown-deep: #2c1a13;
  --black: #14100e;
  --rosegold: #b9795f;
  --rosegold-ink: #8d5340;   /* rose gold dark enough for small text on beige */
  --rosegold-light: #e3b29c;
  --blush: #f3d2c2;
  --text: #2c1a13;
  --mute: #6f584b;
  --line: rgba(75, 48, 36, 0.18);
  --line-light: rgba(227, 178, 156, 0.26);
  --metal: linear-gradient(176deg, #fbdccb 4%, #eeab8e 30%, #b9603f 56%, #e9a78b 74%, #f7d2bf 96%);
  --serif: "Playfair Display", "Didot", Georgia, serif;
  --sans: "Montserrat", "Avenir Next", system-ui, sans-serif;
  --mark: "Cinzel", "Playfair Display", serif;
  --pad: clamp(1.25rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--beige);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
::selection { background: var(--rosegold-light); color: var(--brown-deep); }
:focus-visible { outline: 2px solid var(--rosegold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 2 * var(--pad)); margin-inline: auto; }

/* ---------- shared pieces ---------- */

.eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--rosegold-ink); }
.eyebrow--light { color: var(--rosegold-light); }

h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.1; letter-spacing: -0.01em; color: var(--brown-deep); }

.sec-head { display: grid; gap: 0.9rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec-head--center { text-align: center; justify-items: center; }
.sec-head__lead { max-width: 52ch; color: var(--mute); font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.9rem;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn--ink { background: var(--brown-deep); color: var(--ivory); box-shadow: 0 14px 30px -16px rgba(44, 26, 19, 0.7); }
.btn--ink:hover { background: var(--black); transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(44, 26, 19, 0.8); }
.btn--line { border-color: rgba(75, 48, 36, 0.45); color: var(--brown-deep); }
.btn--line:hover { border-color: var(--brown-deep); background: rgba(75, 48, 36, 0.06); }
.btn--gold { background: linear-gradient(135deg, #f6cdb8 0%, #e29b7c 42%, #b9603f 100%); color: #1d0f0c; box-shadow: 0 10px 34px -12px rgba(226, 155, 124, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn--gold:hover { transform: translateY(-2px); }
.btn--line-light { border-color: rgba(227, 178, 156, 0.55); color: var(--blush); }
.btn--line-light:hover { border-color: var(--rosegold-light); background: rgba(227, 178, 156, 0.1); }
.btn--cream { background: var(--ivory); color: var(--brown-deep); }
.btn--cream:hover { background: #fff; transform: translateY(-2px); }
.btn--sm { min-height: 2.5rem; padding: 0 1.25rem; font-size: 0.7rem; }
.btn--wide { width: 100%; }

/* ---------- nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem var(--pad);
  padding-top: max(0.9rem, env(safe-area-inset-top));
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.nav.is-stuck { background: rgba(239, 227, 211, 0.86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.nav__mark { font-family: var(--mark); font-size: 0.86rem; letter-spacing: 0.26em; text-transform: uppercase; text-decoration: none; color: var(--brown-deep); white-space: nowrap; }
.nav__mark span { font-size: 0.62em; letter-spacing: 0.36em; vertical-align: 0.2em; margin-right: 0.3em; }
.nav__links { display: none; gap: 2.2rem; }
.nav__links a { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; color: var(--mute); transition: color 0.2s ease; }
.nav__links a:hover { color: var(--brown-deep); }
@media (min-width: 900px) { .nav__links { display: flex; } }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 6.2rem 0 clamp(3rem, 8vw, 5rem);
  background:
    radial-gradient(70% 50% at 85% 30%, rgba(227, 178, 156, 0.4), transparent 70%),
    linear-gradient(180deg, var(--ivory), var(--beige) 70%);
  overflow: hidden;
}
.hero__inner { display: grid; gap: 2.6rem; align-items: center; }
.hero__copy { display: grid; justify-items: center; text-align: center; gap: 1rem; }

/* The logo lockup, set in type */
.brand { display: grid; justify-items: center; font-family: var(--mark); font-weight: 400; text-transform: uppercase; color: var(--brown-deep); line-height: 1; }
.brand__the { font-size: clamp(0.8rem, 2.4vw, 1rem); letter-spacing: 0.5em; margin-right: -0.5em; color: var(--rosegold-ink); margin-bottom: 0.7rem; }
.brand__name { font-size: clamp(2.9rem, 13vw, 5.6rem); letter-spacing: 0.14em; margin-right: -0.14em; line-height: 1.04; text-align: center; }
.brand__rule { position: relative; width: min(13rem, 60%); height: 1px; margin: 1.3rem 0 1rem; background: linear-gradient(90deg, transparent, var(--rosegold), transparent); }
.brand__rule i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; background: var(--rosegold); transform: translate(-50%, -50%) rotate(45deg); }
.brand__sub { font-family: var(--sans); font-size: clamp(0.68rem, 2.2vw, 0.86rem); font-weight: 600; letter-spacing: 0.46em; margin-right: -0.46em; color: var(--rosegold-ink); }

.hero__line { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.45rem, 4.6vw, 2.1rem); line-height: 1.25; color: var(--brown); max-width: 18ch; margin-top: 0.5rem; }
.hero__body { max-width: 42ch; color: var(--mute); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 0.7rem; }

.hero__art { position: relative; width: min(100%, 24rem); justify-self: center; }
.hero__art::before { content: ""; position: absolute; inset: 0; border-radius: 999px 999px 1.5rem 1.5rem; border: 1px solid var(--rosegold); transform: translate(0.8rem, 0.8rem); }
.hero__art img { position: relative; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 1.5rem 1.5rem; box-shadow: 0 40px 70px -40px rgba(44, 26, 19, 0.65); }

@media (min-width: 960px) {
  .hero { min-height: 100svh; display: grid; align-items: center; padding-top: 7rem; }
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 4rem; }
  .hero__copy { justify-items: start; text-align: left; }
  .brand:not(.brand--foot) { justify-items: start; }
  .brand:not(.brand--foot) .brand__name { font-size: clamp(3.6rem, 6.4vw, 5.6rem); text-align: left; }
  .brand:not(.brand--foot) .brand__rule { background: linear-gradient(90deg, var(--rosegold), transparent); }
  .brand:not(.brand--foot) .brand__rule i { left: 0; transform: translate(0, -50%) rotate(45deg); }
  .hero__cta { justify-content: flex-start; }
  .hero__art { justify-self: end; margin-right: 0.8rem; }
  .hero__art { width: min(100%, 30rem, 57svh); }
}

/* Hero fades up with CSS alone, so it never waits on script */
[data-rise] { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 100ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- the club ---------- */

.club { padding-block: clamp(4.5rem, 11vw, 8rem); background: var(--beige); }
.pillars { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { position: relative; display: grid; align-content: start; gap: 0.7rem; padding: 2.4rem 2rem 2.2rem; border-radius: 1.5rem; background: var(--ivory); border: 1px solid var(--line); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(44, 26, 19, 0.55); }
.pillar__no { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--rosegold-ink); }
.pillar h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.9rem; line-height: 1.1; color: var(--brown-deep); }
.pillar h3::after { content: ""; display: block; width: 2.6rem; height: 1px; margin-top: 0.9rem; background: var(--rosegold); }
.pillar p { color: var(--mute); font-size: 0.98rem; }

/* ---------- grand opening event (black and rose gold) ---------- */

.event {
  padding-block: clamp(4.5rem, 11vw, 8rem);
  color: #f8ecdc;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(185, 121, 95, 0.22), transparent 65%),
    linear-gradient(170deg, var(--black) 0%, #1c1310 55%, #2c1a13 100%);
}
.event__inner { display: grid; gap: 2.5rem; align-items: center; }
.event__art { position: relative; display: block; width: min(100%, 26rem); justify-self: center; border-radius: 1.75rem; overflow: hidden; border: 1px solid var(--line-light); box-shadow: 0 40px 80px -40px #000; }
.event__art img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; transition: transform 0.8s ease; }
.event__art:hover img { transform: scale(1.03); }
.event__copy { display: grid; gap: 1.1rem; justify-items: center; text-align: center; }
.event__title {
  font-weight: 800; font-size: clamp(2.9rem, 11vw, 5.4rem); line-height: 0.96; letter-spacing: -0.02em; padding: 0.06em 0.1em 0.14em;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.event__title span { font-weight: 700; }
.event__lead { max-width: 40ch; color: #d9c5b8; font-size: 1.05rem; }
.event__facts { display: grid; width: min(100%, 30rem); border-top: 1px solid var(--line-light); text-align: left; }
.event__facts div { display: grid; grid-template-columns: 5rem 1fr; align-items: baseline; gap: 1rem; padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--line-light); }
.event__facts dt { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--rosegold-light); }
.event__facts dd { font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 3.2vw, 1.25rem); color: #f8ecdc; }
.event__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 0.6rem; }
@media (min-width: 900px) {
  .event__inner { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; }
  .event__art { width: 100%; }
  .event__copy { justify-items: start; text-align: left; }
  .event__title { padding-left: 0; }
  .event__cta { justify-content: flex-start; }
}

/* ---------- vendors (brown) ---------- */

.vendors { padding-block: clamp(4.5rem, 11vw, 8rem) 0; background: var(--beige); }
.vendors__panel {
  display: grid; gap: 2rem; align-items: center; justify-items: start;
  padding: clamp(2.2rem, 6vw, 4.5rem); border-radius: 2rem; color: var(--ivory);
  background: radial-gradient(80% 120% at 100% 0%, rgba(227, 178, 156, 0.28), transparent 60%), linear-gradient(150deg, #5a3a2b, #3a2319);
}
.vendors__copy { display: grid; gap: 1rem; }
.vendors__copy h2 { color: var(--ivory); }
.vendors__copy p:not(.eyebrow) { color: #e6d3c5; max-width: 50ch; }
@media (min-width: 900px) { .vendors__panel { grid-template-columns: 1fr auto; gap: 4rem; } }

/* ---------- join ---------- */

.join { padding-block: clamp(4.5rem, 11vw, 8rem); background: var(--beige); }
.join__inner { display: grid; justify-items: center; }
.join .sec-head { margin-bottom: 2rem; }

.form { width: min(100%, 40rem); display: grid; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 2.4rem); border-radius: 1.75rem; border: 1px solid var(--line); background: var(--ivory); scroll-margin-top: 5.5rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field > span { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--rosegold-ink); }
.field input {
  width: 100%; min-height: 3.2rem; padding: 0 1rem;
  border-radius: 0.9rem; border: 1px solid rgba(75, 48, 36, 0.28);
  background: #fffaf3; color: var(--text);
  font: inherit; font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none; appearance: none;
}
.field input:focus { outline: none; border-color: var(--rosegold); box-shadow: 0 0 0 3px rgba(185, 121, 95, 0.2); }
.form .btn { margin-top: 0.4rem; border: 0; }
.lead-form__error { margin: 0; padding: 0.8rem 1rem; border-radius: 0.9rem; border: 1px solid rgba(170, 60, 45, 0.5); background: rgba(170, 60, 45, 0.08); color: #7c2a1e; font-size: 0.92rem; }
.lead-form__error[hidden] { display: none; }
.lead-form__done { width: min(100%, 40rem); padding: clamp(1.8rem, 5vw, 3rem); border-radius: 1.75rem; border: 1px solid var(--rosegold); background: var(--ivory); text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 3.4vw, 1.6rem); line-height: 1.4; color: var(--brown-deep); scroll-margin-top: 5.5rem; }

/* ---------- footer (black) ---------- */

.foot { display: grid; justify-items: center; gap: 1.8rem; text-align: center; padding: 4.5rem var(--pad) calc(3rem + env(safe-area-inset-bottom)); background: var(--black); color: #bda89c; font-size: 0.9rem; }
.brand--foot { color: var(--blush); }
.brand--foot .brand__the { font-size: 0.62rem; color: var(--rosegold-light); margin-bottom: 0.4rem; }
.brand--foot .brand__name { font-size: 1.4rem; letter-spacing: 0.24em; margin-right: -0.24em; }
.brand--foot .brand__rule { width: 9.5rem; margin: 0.8rem 0 0.6rem; background: linear-gradient(90deg, transparent, var(--rosegold), transparent); }
.brand--foot .brand__rule i { background: var(--rosegold-light); width: 5px; height: 5px; }
.brand--foot .brand__sub { font-size: 0.56rem; color: var(--rosegold-light); }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.8rem; }
.foot__links a { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; color: #d9c5b8; }
.foot__links a:hover { color: #fff; }
.foot__fine { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }

/* ---------- motion ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  [data-rise] { animation: none; }
}
