/* Raniyaa Distribution — brand tokens: deep maroon + gold, cream ground.
   Sourced from the company's own collateral (AI Raniyaa Distribution.pdf). */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --maroon-900: #33080f;
  --maroon-800: #4c0f1a;
  --maroon-700: #641524;
  --maroon-600: #7a1c2c;
  --gold-300: #ecd68f;
  --gold-400: #ddbb5c;
  --gold-500: #c9a227;
  --gold-600: #a9841c;
  --cream-50: #fdf9f0;
  --cream-100: #f8f0dd;
  --cream-200: #efe2c0;
  --ink-900: #241512;
  --ink-600: #5c4b45;
  --white: #ffffff;

  --bg: var(--cream-50);
  --bg-alt: var(--cream-100);
  --surface: var(--white);
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --accent: var(--gold-500);
  --accent-strong: var(--gold-600);
  --brand: var(--maroon-700);
  --brand-strong: var(--maroon-800);
  --hairline: rgba(100, 21, 36, 0.16);
  --shadow: 0 24px 60px -30px rgba(76, 15, 26, 0.35);

  --radius-card: 16px;
  --radius-input: 8px;
  --nav-height: 76px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c0a0e;
    --bg-alt: #241014;
    --surface: #2b1117;
    --text: var(--cream-100);
    --text-muted: #d3bdae;
    --accent: var(--gold-400);
    --accent-strong: var(--gold-300);
    --brand: var(--maroon-600);
    --brand-strong: var(--maroon-700);
    --hairline: rgba(221, 187, 92, 0.18);
    --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 65%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.97); }
.btn:active::after { opacity: 0.7; transform: scale(1); transition: opacity 0s, transform 0s; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
  .btn::after { display: none; }
}

.btn-primary {
  background: var(--brand);
  color: var(--cream-50);
  box-shadow: 0 14px 30px -12px rgba(76, 15, 26, 0.55);
}
.btn-primary:hover { background: var(--brand-strong); box-shadow: 0 20px 40px -14px rgba(76, 15, 26, 0.65); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--hairline);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand-mark img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}
.brand-mark small {
  display: block;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  position: relative;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 2px;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .nav-links a::after { transition: none; }
}

.nav-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-input);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    padding: 12px 24px 20px;
    gap: 4px;
  }
  .nav-links.is-open a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--hairline);
    width: 100%;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-copy .tagline-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-strong);
  margin-bottom: 22px;
  box-shadow: var(--shadow);
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  max-width: 15ch;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--brand);
}
@media (prefers-color-scheme: dark) {
  .hero-copy h1 em { color: var(--accent); }
}
.hero-copy p.lede {
  margin-top: 20px;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .ring {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px dashed var(--hairline);
}
.hero-visual .glow {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 68%);
  filter: blur(10px);
}
.hero-visual figure {
  position: relative;
  margin: 0;
  width: min(360px, 80%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.hero-visual figure img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.hero-visual figcaption {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--cream-50);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-copy .lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual figure { width: min(260px, 60%); }
}

/* ---------- Section shell ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head h1, .section-head h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.section-head p { margin-top: 16px; color: var(--text-muted); font-size: 1.05rem; }

/* ---------- About / Story ---------- */
/* Faded info-bg.png behind the section; fades out at top and bottom edges */
.about-section { position: relative; }
.about-section > .wrap { position: relative; z-index: 1; }
.about-bg {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.about-bg img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-color-scheme: dark) { .about-bg { opacity: 0.11; } }

/* ---------- Meet Our Directors ---------- */
.director-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
/* Cards break out of the 1200px wrap a little so lines run longer */
@media (min-width: 900px) { .director-cards { margin-inline: -16px; } }
@media (min-width: 1320px) { .director-cards { margin-inline: -60px; } }
.director-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.director-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 15%;
  border-bottom: 3px solid var(--accent);
}
.dc-body { padding: 24px 24px 28px; }
.dc-body h3 { font-size: 1.35rem; }
.dc-role {
  display: block;
  margin: 6px 0 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-strong);
}
.dc-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 12px; }
.dc-body blockquote {
  margin: 20px 0 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--accent);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--text);
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-copy p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 18px;
}
.about-copy p:last-child { margin-bottom: 0; }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.stat-card .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--brand);
  font-weight: 800;
}
@media (prefers-color-scheme: dark) { .stat-card .stat-num { color: var(--accent); } }
.stat-card .stat-label {
  margin-top: 6px;
  font-weight: 600;
  color: var(--text);
}
.stat-card .stat-note {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .stat-card { position: static; }
}

/* ---------- Mission & Vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 64px;
}
.mv-card {
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.mv-card.mission {
  background: var(--brand);
  color: var(--cream-50);
}
.mv-card.vision {
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--text);
}
.mv-card .mv-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.mv-card.mission .mv-icon { background: rgba(255,255,255,0.16); color: var(--gold-300); }
.mv-card.vision .mv-icon { background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-strong); }
.mv-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.mv-card.mission h3 { color: var(--cream-50); }
.mv-card.mission p { color: var(--cream-100); }
.mv-card.vision p { color: var(--text-muted); }

@media (max-width: 760px) {
  .mv-grid { grid-template-columns: 1fr; }
}

.values-list { display: flex; flex-direction: column; }
.value-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
}
.value-row:last-child { border-bottom: 1px solid var(--hairline); }
.value-row .v-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 1.3rem;
}
@media (prefers-color-scheme: dark) { .value-row .v-icon { color: var(--accent); } }
.value-row h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-row p { color: var(--text-muted); max-width: 60ch; }

@media (max-width: 640px) {
  .value-row { grid-template-columns: 44px 1fr; gap: 16px; }
  .value-row .v-icon { width: 44px; height: 44px; font-size: 1.1rem; }
}

/* ---------- Director's message ---------- */
.director-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: center;
}
.director-photo { position: relative; display: flex; justify-content: center; }
.director-photo figure {
  margin: 0;
  width: min(320px, 100%);
  aspect-ratio: 1/1;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(150deg, var(--accent), var(--gold-600));
  box-shadow: var(--shadow);
}
.director-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface);
}
.director-copy .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 3.4rem;
  color: var(--accent);
  line-height: 0.5;
  display: block;
  margin-bottom: 10px;
}
.director-copy p {
  color: var(--text-muted);
  font-size: 1.03rem;
  margin-bottom: 16px;
}
.director-copy p:last-of-type { margin-bottom: 0; }
.director-sig {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.director-sig strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text);
}
.director-sig span {
  font-size: 0.9rem;
  color: var(--accent-strong);
  font-weight: 600;
}

@media (max-width: 860px) {
  .director-grid { grid-template-columns: 1fr; text-align: center; }
  .director-sig { text-align: left; }
}

/* ---------- Why Nirvana band ---------- */
.why-band {
  background: var(--brand);
  color: var(--cream-50);
  border-radius: var(--radius-card);
  padding: 72px 48px;
  text-align: center;
  box-shadow: var(--shadow);
}
.why-band .why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
}
.why-band h2 { color: var(--cream-50); font-size: clamp(1.9rem, 3vw, 2.5rem); }
.why-band p {
  margin: 18px auto 0;
  color: var(--cream-100);
  font-size: 1.08rem;
  max-width: 56ch;
}
.why-pillars {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.why-pillars span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(236, 214, 143, 0.3);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-300);
}
.why-band .btn-primary {
  margin-top: 32px;
  background: var(--accent);
  color: var(--maroon-900);
  box-shadow: none;
}
.why-band .btn-primary:hover { background: var(--gold-400); }

@media (max-width: 640px) {
  .why-band { padding: 48px 28px; }
}

/* ---------- Product cards (Memberships) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 760px) {
  .product-grid { grid-template-columns: 1fr; }
}
/* Odd plan out (Universe) sits centered on its own row at normal card width: (100% - gap) / 2 */
@media (min-width: 761px) {
  .product-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 28px) / 2);
  }
}

.product-card {
  cursor: pointer;
  width: 100%;
  text-align: left;
  font: inherit;
  border: 1.5px solid transparent;
  border-radius: var(--radius-card);
  position: relative;
  padding: 32px 28px;
  background-image: var(--p-grad), linear-gradient(135deg, var(--gold-300), var(--gold-600) 45%, var(--gold-300));
  background-clip: padding-box, border-box;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.2s ease;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}
.product-card:hover { transform: translateY(-3px); filter: brightness(1.05); }
.product-card:active { transform: translateY(-1px) scale(0.99); }
.product-card > * { position: relative; z-index: 1; }

.product-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.product-top img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
}
.product-top .p-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}
.product-tagline { font-size: 0.96rem; color: rgba(255, 255, 255, 0.88); max-width: 42ch; }

.product-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.product-badges span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
}

.product-open-hint {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 16px;
  font-weight: 600;
  font-size: 0.92rem;
}
.product-open-hint i { font-size: 1.05rem; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.product-card:hover .product-open-hint i { transform: translateX(3px); }

/* ---------- Product modal (dialog) ---------- */
dialog.product-modal {
  margin: auto;
  border: 2px solid transparent;
  padding: 0;
  border-radius: var(--radius-card);
  width: min(94vw, 720px);
  max-height: 86vh;
  background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(135deg, var(--gold-300), var(--gold-600) 45%, var(--gold-300));
  background-clip: padding-box, border-box;
  color: var(--text);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.55);
  overscroll-behavior: contain;
  overflow: hidden;
}
dialog.product-modal::backdrop {
  background: rgba(20, 8, 10, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (prefers-reduced-transparency: reduce) {
  dialog.product-modal::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20, 8, 10, 0.82); }
}

.modal-card { display: flex; flex-direction: column; max-height: 86vh; }
.modal-header {
  position: relative;
  flex-shrink: 0;
  padding: 32px 60px 28px 28px;
  background: var(--p-grad);
  color: #fff;
}
.modal-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.18));
  pointer-events: none;
}
.modal-header > * { position: relative; z-index: 1; }
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.3); }
.modal-close:active { transform: scale(0.94); }

.modal-body { padding: 28px 28px 32px; overflow-y: auto; }

.product-eligibility {
  font-weight: 600;
  color: var(--p-accent);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 28px;
}
@media (max-width: 640px) {
  .benefit-grid { grid-template-columns: 1fr; }
}
.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.benefit-row i { color: var(--p-accent); font-size: 1.05rem; margin-top: 2px; flex-shrink: 0; }

.product-voucher {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--p-accent-soft);
  color: var(--p-accent);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.92rem;
}
.product-footnote {
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 0.88rem;
  color: var(--text-muted);
}
.product-cta { margin-top: 26px; }

/* Product theme tokens, sourced from each plan's own collateral */
.theme-pearl  { --p-grad: linear-gradient(135deg, #3a3f47, #8b8f96 45%, #6b1220 100%); --p-accent: #6b1220; --p-accent-soft: rgba(107, 18, 32, 0.12); }
.theme-ocean  { --p-grad: linear-gradient(135deg, #0d2547, #2f5fa8 55%, #9fb8dd 100%); --p-accent: #1b3a6b; --p-accent-soft: rgba(27, 58, 107, 0.12); }
.theme-star   { --p-grad: linear-gradient(135deg, #4c0f1a, #7a1c2c 55%, #ddbb5c 100%); --p-accent: #a9841c; --p-accent-soft: rgba(169, 132, 28, 0.14); }
.theme-galaxy { --p-grad: linear-gradient(135deg, #2b1608, #7a4a1e 55%, #e3c07f 100%); --p-accent: #8a5a22; --p-accent-soft: rgba(138, 90, 34, 0.14); }
.theme-universe { --p-grad: linear-gradient(135deg, #1b1131, #402060 50%, #7d5aa3 80%, #e0c090 100%); --p-accent: #4b2a75; --p-accent-soft: rgba(75, 42, 117, 0.12); }

@media (prefers-color-scheme: dark) {
  .theme-pearl  { --p-accent: #e3a6b4; --p-accent-soft: rgba(227, 166, 180, 0.16); }
  .theme-ocean  { --p-accent: #8fb4e8; --p-accent-soft: rgba(143, 180, 232, 0.16); }
  .theme-star   { --p-accent: #e8cf7a; --p-accent-soft: rgba(232, 207, 122, 0.16); }
  .theme-galaxy { --p-accent: #e3c07f; --p-accent-soft: rgba(227, 192, 127, 0.16); }
  .theme-universe { --p-accent: #e0c090; --p-accent-soft: rgba(224, 192, 144, 0.16); }
}

/* ---------- Page header (Memberships / Contact) ---------- */
.page-header {
  padding: 72px 0 40px;
  text-align: center;
}
.page-header h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.page-header p { margin-top: 16px; color: var(--text-muted); max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 28px;
  margin-bottom: 40px;
}
.contact-panel {
  background: var(--brand);
  color: var(--cream-50);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid rgba(236, 214, 143, 0.22);
}
.contact-item:first-child { border-top: 0; padding-top: 0; }
.contact-item:last-child { padding-bottom: 0; }
.c-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.c-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--gold-300); margin-bottom: 4px; }
.c-value {
  display: block;
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--cream-50);
  overflow-wrap: anywhere;
}
a.c-value { transition: color 0.2s ease; }
a.c-value:hover { color: var(--gold-300); }
.c-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-300);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.c-link:hover { border-color: var(--gold-300); }

/* Gold gradient frame, same treatment as the plan dialogs */
.contact-map {
  padding: 3px;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600) 45%, var(--gold-300));
  box-shadow: var(--shadow);
  min-height: 420px;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 414px;
  border: 0;
  border-radius: calc(var(--radius-card) - 3px);
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: 32px 26px; }
  .contact-map, .contact-map iframe { min-height: 340px; }
}
@media (max-width: 480px) {
  .contact-panel { padding: 28px 20px; }
  .contact-item { grid-template-columns: 40px 1fr; gap: 14px; }
  .c-icon { width: 40px; height: 40px; font-size: 1.05rem; }
  .c-value { font-size: 1.1rem; }
  a.c-value[href^="mailto"] { font-size: 0.98rem; overflow-wrap: normal; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(221, 187, 92, 0.05) 0px, rgba(221, 187, 92, 0.05) 1px, transparent 1px, transparent 15px),
    repeating-linear-gradient(45deg, rgba(221, 187, 92, 0.035) 0px, rgba(221, 187, 92, 0.035) 1px, transparent 1px, transparent 15px),
    var(--maroon-900);
  color: var(--cream-100);
  padding: 64px 0 0;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(221, 187, 92, 0.55), transparent);
}
@media (prefers-color-scheme: dark) { .site-footer { background: repeating-linear-gradient(135deg, rgba(221, 187, 92, 0.06) 0px, rgba(221, 187, 92, 0.06) 1px, transparent 1px, transparent 15px), repeating-linear-gradient(45deg, rgba(221, 187, 92, 0.04) 0px, rgba(221, 187, 92, 0.04) 1px, transparent 1px, transparent 15px), #12060a; } }

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(236, 214, 143, 0.18);
}
.footer-brand .brand-mark { color: var(--cream-50); }
.footer-brand p {
  margin-top: 16px;
  color: rgba(248, 240, 221, 0.72);
  max-width: 42ch;
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  position: relative;
  display: inline-block;
  color: rgba(248, 240, 221, 0.78);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold-300);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.footer-col a:hover { color: var(--gold-300); }
.footer-col a:hover::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .footer-col a::after { transition: none; }
}

.footer-legal {
  padding: 44px 0;
  border-bottom: 1px solid rgba(236, 214, 143, 0.18);
}
.footer-legal .legal-flag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold-300);
  margin-bottom: 18px;
}
.footer-legal .legal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.footer-legal p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(248, 240, 221, 0.75);
}
.footer-legal p + p { margin-top: 14px; }
.footer-legal .legal-note {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--gold-300);
  font-style: italic;
}
@media (max-width: 760px) {
  .footer-top, .footer-legal .legal-body { grid-template-columns: 1fr; }
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(248, 240, 221, 0.55);
  flex-wrap: wrap;
}

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  section { padding: 64px 0; }
}
