/* ============================================================
   The Monday Club — Landing
   Tokens + components translated from the your-music.live
   design system (one bold grotesque voice, four brand fields).
   ============================================================ */

/* ---- Tokens: colour ---- */
:root {
  --ym-blue: #56688F;
  --ri-green: #20281E;
  --gi-orange: #C0521D;
  --gi-orange-2: #E06A38;
  --mc-gold: #D29A3B;

  --accent-red: #E3342B;

  --paper: #F2F0EC;
  --paper-dot: #DDDAD3;
  --ink: #20281E;
  --white: #FFFFFF;

  --ym-blue-deep: #475877;
  --gi-orange-deep: #A44315;
  --mc-gold-deep: #B58129;
  --ink-soft: #313B2E;

  --text-muted-on-dark: rgba(255, 255, 255, 0.72);
  --border-chip-on-dark: rgba(255, 255, 255, 0.85);

  /* ---- Tokens: type ---- */
  --font-sans: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* ---- Tokens: motion ---- */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-fast: 150ms;
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
}
::selection { background: var(--accent-red); color: #fff; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }

/* ---- Motion ---- */
@keyframes heroIn { from { transform: translateY(22px); } to { transform: none; } }
@keyframes mcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes revealUp { from { transform: translateY(46px); } to { transform: none; } }
@keyframes ym-live-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

@media (prefers-reduced-motion: no-preference) {
  .ym-live-dot { animation: ym-live-dot 1.8s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Scroll progress bar ---- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px; width: 100%;
  background: var(--accent-red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 50;
  transition: transform .12s linear;
}

/* ---- Wordmark ---- */
.wm {
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
}
.wm b { font-weight: 700; }
.wm .dot { color: var(--accent-red); font-weight: 700; }

/* ---- Button ---- */
.btn {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-out),
              filter var(--duration-fast) var(--ease-out);
}
.btn:hover { filter: brightness(.92); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid var(--accent-red); outline-offset: 2px; }
.btn--primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--onDark { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--md { font-size: 13px; padding: 10px 20px; }
.btn--lg { font-size: 15px; padding: 13px 26px; }

/* ---- Live badge pill ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(32, 40, 30, .65);
  border-radius: 999px;
  padding: 7px 15px;
}
.badge__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent-red);
  display: block;
}
.badge__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  color: var(--ink);
}

/* ---- Chip (on dark) ---- */
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-chip-on-dark);
  background: transparent;
  color: var(--white);
  white-space: nowrap;
}

/* ---- Section scaffolding ---- */
.section { padding: clamp(64px, 9vw, 124px) clamp(20px, 6vw, 80px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.container { max-width: 1180px; margin: 0 auto; }
.container--narrow { max-width: 1000px; }

.reveal {
  animation: revealUp .8s var(--ease-out) both;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow--gold { color: var(--mc-gold); }
.eyebrow--gold-deep { color: var(--mc-gold-deep); }

.h2 {
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.h2 b { font-weight: 800; }
.h3 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.h3 b { font-weight: 800; }
.lede {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  color: rgba(32, 40, 30, .82);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--mc-gold);
  min-height: 94vh;
  display: flex;
  align-items: center;
}
.hero__header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 6vw, 80px);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 128px clamp(20px, 6vw, 80px) 76px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.hero__copy { animation: heroIn .75s var(--ease-out) both; }
.hero__badge { margin-bottom: 30px; }
.hero h1 {
  max-width: 16ch;
  font-size: clamp(42px, 6.4vw, 82px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--ink);
}
.hero h1 b { font-weight: 800; }
.hero__lede {
  margin-top: 28px;
  max-width: 520px;
  font-size: clamp(16px, 1.55vw, 21px);
  line-height: 1.5;
  color: rgba(32, 40, 30, .82);
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero__cta-note {
  font-size: 14px;
  font-weight: 500;
  color: rgba(32, 40, 30, .72);
}
.hero__art { display: flex; justify-content: center; align-items: center; }

/* Flipping "mc" board — cycles logo ⇄ messages */
.flip {
  width: clamp(220px, 29vw, 400px);
  perspective: 1400px;
  animation: mcFloat 6s ease-in-out 1.1s infinite;
}
.flip__inner {
  position: relative;
  width: 100%;
  aspect-ratio: 123.07 / 139.54;
  transform-style: preserve-3d;
  transition: transform .7s var(--ease-out);
  will-change: transform;
}
.flip__face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flip__face--back { transform: rotateY(180deg); }
.flip__pick {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(32, 40, 30, .18));
}
.flip__label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6% 17% 15%;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--ink);
  font-size: clamp(22px, 3.6vw, 42px);
  pointer-events: none;
}
.flip__label--stack { flex-direction: column; gap: 0.04em; line-height: 1.0; }
.flip__top { font-weight: 400; }
.flip__bottom { font-weight: 800; }

/* ---- "What it is" ---- */
.about__title { max-width: 14ch; margin: 26px 0; }
.about__body {
  max-width: 780px;
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.5;
  color: rgba(32, 40, 30, .82);
}

/* ---- "What you'll learn" ---- */
.learn__sub {
  margin-top: 18px;
  max-width: 620px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--text-muted-on-dark);
}
.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.learn-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 6px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
}
.learn-card__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--mc-gold);
}
.learn-card__text {
  margin: auto 0 0;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.3;
  color: var(--white);
}
.learn-card__text b { font-weight: 800; }

/* ---- Two-column (who / what you get) ---- */
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 5vw, 72px);
}
.two-col .eyebrow { display: block; margin-bottom: 16px; }
.two-col .h3 { margin-bottom: 18px; }

/* ---- Statement panels ---- */
.statement {
  font-size: clamp(26px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--white);
}
.statement b { font-weight: 800; color: var(--mc-gold); }

/* ---- Events ---- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.event-card {
  display: flex;
  align-items: stretch;
  border-radius: 6px;
  overflow: hidden;
}
.event-card__body {
  flex: 1;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event-card__date {
  font-size: 11px;
  color: var(--text-muted-on-dark);
}
.event-card__date b { font-weight: 700; color: var(--white); }
.event-card__title {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.event-card__title b { font-weight: 700; }
.event-card__host {
  font-size: 11px;
  color: var(--text-muted-on-dark);
}
.event-card__chips {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.event-card__rsvp {
  width: 30px;
  border: none;
  cursor: pointer;
  background: var(--gi-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast) var(--ease-out);
}
.event-card__rsvp:hover { background: var(--gi-orange-deep); }
.event-card__rsvp span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

/* ---- Family / bigger picture ---- */
.family__text { max-width: 840px; }
.family__text.statement b { color: var(--white); }
.family-marks {
  display: flex;
  gap: clamp(24px, 4vw, 52px);
  flex-wrap: wrap;
  align-items: center;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}

/* ---- Signup ---- */
.signup {
  position: relative;
  overflow: hidden;
  background: var(--mc-gold);
  padding: clamp(76px, 11vw, 150px) clamp(20px, 6vw, 80px);
}
.signup__pick {
  position: absolute;
  left: -46px;
  bottom: -50px;
  width: clamp(160px, 21vw, 290px);
  height: auto;
  pointer-events: none;
  z-index: 1;
}
.signup__inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.signup h2 {
  margin-top: 20px;
  font-size: clamp(34px, 5.2vw, 70px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.signup h2 b { font-weight: 800; }
.signup__lede {
  margin: 24px auto 0;
  max-width: 560px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  color: rgba(32, 40, 30, .82);
}
.signup__form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.signup__input {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  min-width: 270px;
  outline: none;
}
.signup__input:focus { box-shadow: 0 0 0 3px rgba(32, 40, 30, .22); }
.signup__success {
  margin-top: 40px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  padding: 24px 36px;
  border-radius: 6px;
}
.signup__success-title { font-weight: 800; font-size: 20px; }
.signup__success-note { font-size: 14px; color: var(--text-muted-on-dark); }

.is-hidden { display: none !important; }

/* ---- Footer ---- */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 38px clamp(20px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__left { display: flex; align-items: center; gap: 12px; }
.footer__pick { width: 24px; height: auto; }
.footer__tag { font-size: 13px; color: var(--text-muted-on-dark); }
