/* ═══════════════════════════════════════════════════════════════════════════
   MEMBERSHIP PAGE
   ═══════════════════════════════════════════════════════════════════════════ */


/* ─── Keyframes ──────────────────────────────────────────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); filter: blur(5px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}


/* ─── Base / Namespace ───────────────────────────────────────────────────── */
.mpw {
  width: 100%;
  font-family: "Inter", sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.mpw * { box-sizing: border-box; }
.mpw a { text-decoration: none; box-shadow: none; }
.mpw ul { list-style: none; padding: 0; margin: 0; }

.mpw .sec { width: 100%; padding: 100px 20px; display: block; }
.mpw .cn  { max-width: 1000px; width: 100%; margin: 0 auto; }
.mpw .cw  { max-width: 1200px; width: 100%; margin: 0 auto; }

.mpw .bg-off { background-color: #FDFBF7; }
.mpw .bg-wh  { background-color: #FFFFFF; }

.mpw .serif { font-family: "Libre Baskerville", serif; font-size: 42px; color: #0d0d0d; line-height: 1.2; margin-bottom: 24px; }
.mpw .sub   { font-family: "Inter", sans-serif; font-size: 18px; line-height: 1.6; color: #555; margin-bottom: 40px; }
.mpw .lbl   { font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; color: #999; display: block; margin-bottom: 15px; font-weight: 600; }

.mpw .box {
  background: #fff;
  border: 1px solid #eee;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.mpw .bg-off .box { background: #FDFBF7; border: 1px solid #EFEFEF; }

.mpw .f-item { display: flex; gap: 15px; margin-bottom: 25px; }
.mpw .f-item:last-child { margin-bottom: 0; }
.mpw .f-icon  { color: #D4C5A9; font-size: 20px; line-height: 1.2; }
.mpw .f-title { font-weight: 600; color: #222; display: block; margin-bottom: 4px; }
.mpw .f-desc  { font-size: 15px; color: #666; line-height: 1.5; }

.mpw .chk-list { margin-top: 30px; }
.mpw .chk-item { display: flex; align-items: center; gap: 12px; font-size: 16px; color: #444; margin-bottom: 12px; }
.mpw .chk-dot  { width: 6px; height: 6px; min-width: 6px; background: #D4C5A9; border-radius: 50%; }

.mpw .btn-gold {
  display: inline-block;
  background-color: #EFE4D2;
  color: #3F3F3C;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.mpw .btn-gold:hover { background-color: #E2D2BC; transform: translateY(-2px); }

.mpw .btn-text {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
  line-height: 1.4;
  margin-top: 15px;
  transition: all 0.3s ease;
}
.mpw .btn-text:hover { color: #000; border-bottom-color: #000; transform: translateY(-1px); }

/* Scroll-triggered animation via Web Animations API */
.mpw .sc-el { opacity: 0; will-change: transform, opacity; }


/* ─── Hero ───────────────────────────────────────────────────────────────── */
.mem-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #aaa;
  margin-bottom: 32px;
  opacity: 0;
}

.mem-eyebrow::before,
.mem-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: #D4C5A9;
  flex-shrink: 0;
}

.mem-hero.play-cinema .mem-eyebrow {
  animation: heroFadeUp 1.0s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}

.mem-hero {
  width: 100%;
  padding: 90px 20px 60px;
  text-align: center;
  will-change: transform; /* parallax target */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
}

.mem-hero-title {
  font-family: "Libre Baskerville", serif;
  font-size: 58px;
  color: #0d0d0d;
  line-height: 1.4;
  margin-bottom: 35px;
}

.hero-line {
  display: block;
  opacity: 0;
}

.hero-sub {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
}

/* ─── Play-cinema trigger (added by JS IntersectionObserver) ─────────────── */
.mem-hero.play-cinema .hero-line:nth-child(1) { animation: heroFadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s  forwards; }
.mem-hero.play-cinema .hero-line:nth-child(2) { animation: heroFadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards; }
.mem-hero.play-cinema .hero-line:nth-child(3) { animation: heroFadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards; }
.mem-hero.play-cinema .hero-sub               { animation: heroFadeUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.65s forwards; }


/* ─── Plans namespace (.tr) ──────────────────────────────────────────────── */
.tr * { box-sizing: border-box; }
.tr a { text-decoration: none; }

.tr {
  font-family: "Inter", sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
}

.tr .sec { width: 100%; padding: 100px 20px; }
.tr .cw  { max-width: 1200px; margin: 0 auto; }
.tr .cn  { max-width: 1000px; margin: 0 auto; }

.tr .bg-off  { background-color: #FDFBF7; }
.tr .bg-wh   { background-color: #FFFFFF; }
.tr .bg-dark { background-color: #1a1a18; }

.tr .lbl {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #999;
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}

.tr .serif {
  font-family: "Libre Baskerville", serif;
  font-size: 42px;
  color: #0d0d0d;
  line-height: 1.2;
  margin-bottom: 24px;
}

.tr .sub {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 40px;
}

.tr .btn-gold {
  display: inline-block;
  background-color: #EFE4D2;
  color: #3F3F3C;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.tr .btn-gold:hover { background-color: #E2D2BC; transform: translateY(-2px); }

/* Photo grid */
.tr .photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  margin-top: 60px;
}

.tr .photo-grid.reverse { direction: rtl; }
.tr .photo-grid.reverse > * { direction: ltr; }

.tr .photo-col {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.tr .photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
  will-change: transform; /* parallax */
}

.tr .photo-grid:hover .photo-col img { transform: scale(1.03); }

.tr .photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(253, 251, 247, 0.3));
}

.tr .photo-grid.reverse .photo-overlay {
  background: linear-gradient(to left, transparent 60%, rgba(255, 255, 255, 0.3));
}

.tr .content-col {
  background: #fff;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tr .bg-off .content-col { background: #FDFBF7; }

.tr .choose-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #444;
  margin-bottom: 11px;
  line-height: 1.5;
}

.tr .choose-dash { color: #D4C5A9; font-weight: 500; min-width: 10px; margin-top: 1px; }

.tr .f-item       { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.tr .f-item:last-child { margin-bottom: 0; }
.tr .f-icon       { color: #D4C5A9; font-size: 16px; line-height: 1.5; min-width: 16px; margin-top: 2px; }
.tr .f-title      { font-weight: 600; color: #222; display: block; margin-bottom: 3px; font-size: 15px; }
.tr .f-desc       { font-size: 14px; color: #666; line-height: 1.5; }

.tr .chk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #444;
  margin-bottom: 11px;
  line-height: 1.5;
}

.tr .chk-dot { width: 6px; height: 6px; min-width: 6px; background: #D4C5A9; border-radius: 50%; margin-top: 8px; }

.tr .tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  background: #EFE4D2;
  color: #6b5c42;
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

/* Manisha dark strip */
.tr .manisha-strip {
  width: 100%;
  background: #1a1a18;
  padding: 0 20px;
  overflow: hidden;
}

.tr .manisha-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: center;
  gap: 80px;
  min-height: 500px;
}

.tr .manisha-photo {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.tr .manisha-photo img {
  width: 100%;
  height: 110%; /* slightly taller to allow parallax room */
  object-fit: cover;
  object-position: 50% 15%;
  display: block;
  filter: grayscale(20%);
  will-change: transform;
}

.tr .manisha-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 70%, #1a1a18);
  pointer-events: none;
}

.tr .manisha-text { padding: 60px 0; }

.tr .manisha-text .serif {
  color: #f5f0e8;
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
}

.tr .manisha-text p { color: #a09585; font-size: 16px; line-height: 1.7; margin-bottom: 30px; }

.tr .manisha-text .sig {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  color: #D4C5A9;
  font-size: 22px;
}

.tr .divider { width: 80px; height: 1px; background: #D4C5A9; margin: 24px 0; }

.tr .best-for {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #888;
}
.tr .best-for strong { color: #555; }

.tr .sc-el { opacity: 0; }
.tr .mm-quote { white-space: nowrap; }


/* ─── FAQ Section helpers ─────────────────────────────────────────────────── */
.mem-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.mem-faq-cta {
  text-align: center;
  margin-top: 100px;
}


/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .tr .sec { padding: 70px 18px; }
  .tr .serif { font-size: 26px !important; }
  .tr .iw-heading { font-size: 20px !important; letter-spacing: -0.01em !important; }
  .tr .sub { font-size: 16px; }

  .tr .photo-grid { grid-template-columns: 1fr; border-radius: 16px; margin-top: 40px; }
  .tr .photo-grid.reverse { direction: ltr; }
  .tr .photo-grid.reverse .content-col { order: 2; }
  .tr .photo-grid.reverse .photo-col   { order: 1; }

  .tr .photo-col { min-height: 260px; }
  .tr .photo-col img { object-position: center 25%; }
  .tr .photo-overlay { display: none; }
  .tr .content-col { padding: 30px 22px; }
  .tr .tag { font-size: 11px; }

  .tr .btn-gold { width: 100%; text-align: center; align-self: stretch; padding: 15px 20px; }

  .tr .manisha-strip  { padding: 0; }
  .tr .manisha-inner  { grid-template-columns: 1fr; gap: 0; min-height: unset; }
  .tr .manisha-photo  { height: 420px; width: 100%; }
  .tr .manisha-photo img { object-position: 50% 30%; }
  .tr .manisha-photo::after { display: none; }
  .tr .manisha-text   { padding: 30px 22px 50px; }
  .tr .manisha-text .serif { font-size: 22px !important; }
  .tr .manisha-text p { font-size: 14px; }
  .tr .manisha-text .sig { font-size: 18px; }
  .tr .mm-quote { white-space: normal; font-size: 13px !important; }
  .tr .f-title  { font-size: 14px; }
  .tr .f-desc   { font-size: 13px; }
  .tr .chk-item { font-size: 14px; }
  .tr .f-icon   { font-size: 10px !important; line-height: 1.6 !important; margin-top: 4px !important; }
}

@media (max-width: 768px) {
  .mpw .sec   { padding: 70px 18px; }
  .mpw .serif { font-size: 28px; }
  .mpw .sub   { font-size: 16px; }
  .mpw .box   { padding: 28px 22px; }
  .mpw .btn-gold { width: 100%; text-align: center; padding: 16px 24px; }

  .mem-hero   { padding: 85px 20px 50px; }
  .mem-hero-title { font-size: 36px !important; line-height: 1.35 !important; }

  .mem-faq-cta { margin-top: 60px; }
}


/* ─── Newsletter ─────────────────────────────────────────────────────────── */
.newsletter-section-bg {
  background-color: #ffffff;
  width: 100%;
}

.newsletter-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  font-family: "Libre Baskerville", serif;
}

.news-text-group { margin-bottom: 50px; }

.news-line-1,
.news-line-2 {
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity, filter;
  color: #0d0d0d;
  line-height: 1.2;
}

.news-line-1 { font-size: 32px; margin-bottom: 15px; }
.news-line-2 { font-size: 42px; margin: 0; }

.form-pill-wrapper {
  display: flex;
  align-items: center;
  background-color: #FAFAFA;
  border-radius: 100px;
  padding: 5px;
  max-width: 520px;
  margin: 0 auto;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  border: none;
  outline: none;
  box-shadow: none;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform, opacity;
}

.form-pill-wrapper:focus-within {
  background-color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: scale(1.02);
}

.newsletter-section.start-anim .news-line-1 {
  animation: cinematicUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.newsletter-section.start-anim .news-line-2 {
  animation: cinematicUp 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.2s;
}

.newsletter-section.start-anim .form-pill-wrapper {
  animation: cinematicUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.4s;
}

.news-input {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #555;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 15px 10px 15px 30px;
  flex-grow: 1;
}

.news-input::placeholder { color: #999; }

.news-btn {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #3F3F3C;
  background-color: #EFE4D2;
  border: none;
  border-radius: 50px;
  padding: 16px 32px;
  cursor: pointer;
  transition: all 0.4s ease;
  white-space: nowrap;
}

.news-btn:hover { background-color: #E2D2BC; color: #222; transform: translateY(-1px); }

#newsletter-message {
  margin-top: 15px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

@media (max-width: 768px) {
  .newsletter-section { padding: 40px 20px; }
  .news-line-1 { font-size: 24px; }
  .news-line-2 { font-size: 30px; }
  .form-pill-wrapper {
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 15px;
    box-shadow: none;
    transform: none;
  }
  .news-input {
    width: 100%;
    background-color: #FAFAFA;
    border-radius: 50px;
    padding: 18px 20px;
    text-align: center;
  }
  .news-btn { width: 100%; padding: 18px 0; }
}
