@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,900;1,700&family=Open+Sans:wght@300;400;500;600&display=swap");

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --m900: #8c1d81;
  --m800: #591c51;
  --m900-10: rgba(140, 29, 129, 0.1);
  --m900-06: rgba(140, 29, 129, 0.06);
  --m900-20: rgba(140, 29, 129, 0.2);
  --m900-40: rgba(140, 29, 129, 0.4);

  --ink: #0e0c0e;
  --ink-2: #160e15;
  --ink-3: #1e1220;
  --cream: #f5f0f4;
  --cream-2: #e8dde6;
  --muted: #7a6878;
  --muted-2: #a896a5;

  /* Light surface system */
  --surface: #ffffff;
  --surface-2: #faf7fa;
  --surface-3: #f3edf2;
  --body-text: #2d1f2b;
  --body-muted: #6b5568;
  --body-soft: #9b87966;

  --font-display: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-inout: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ── RESET ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--surface);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 80ms;
}
.reveal-delay-2 {
  transition-delay: 160ms;
}
.reveal-delay-3 {
  transition-delay: 240ms;
}
.reveal-delay-4 {
  transition-delay: 320ms;
}
.reveal-delay-5 {
  transition-delay: 400ms;
}
.reveal-delay-6 {
  transition-delay: 480ms;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 4rem;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition:
    background 300ms var(--ease-out),
    backdrop-filter 300ms var(--ease-out),
    border-color 300ms var(--ease-out),
    box-shadow 300ms var(--ease-out);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-color: var(--m900-20);
  box-shadow: 0 1px 24px rgba(140, 29, 129, 0.07);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--m900);
  transition: color 200ms var(--ease-out);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.nav-logo img {
  width: 70px;
}
.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body-muted);
  transition: color 200ms var(--ease-out);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--m900);
  transition: width 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--m900);
  }
  .nav-links a:hover::after {
    width: 100%;
  }
}
.nav-cta {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--m900);
  padding: 0.6rem 1.4rem;
  transition:
    background 200ms var(--ease-out),
    transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-cta:hover {
    background: var(--m800);
    transform: translateY(-1px);
  }
}
.nav-cta:active {
  transform: scale(0.97);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 4rem;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 55% at 80% 30%,
      rgba(140, 29, 129, 0.07) 0%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 50% at 5% 75%,
      rgba(89, 28, 81, 0.05) 0%,
      transparent 65%
    );
  pointer-events: none;
}
.hero-rule {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 38%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 8%,
    var(--m900-20) 35%,
    var(--m900-40) 50%,
    var(--m900-20) 65%,
    transparent 92%
  );
}
.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  padding-top: 9rem;
  position: relative;
}
.hero-left {
  padding-right: 5.5rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 600ms 100ms var(--ease-out) forwards;
}
.eyebrow-line {
  width: 1.75rem;
  height: 1px;
  background: var(--m900);
}
.eyebrow-text {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--m900);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 6.8rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--body-text);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 700ms 180ms var(--ease-out) forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--m900);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--body-muted);
  max-width: 40ch;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 700ms 280ms var(--ease-out) forwards;
}
.hero-actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 700ms 360ms var(--ease-out) forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.85rem;
  background: var(--m900);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 200ms var(--ease-out),
    transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--m800);
    transform: translateY(-2px);
  }
}
.btn-primary:active {
  transform: scale(0.97);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.85rem;
  border: 1.5px solid var(--m900-40);
  color: var(--m900);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    border-color 200ms var(--ease-out),
    background 200ms var(--ease-out),
    transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    border-color: var(--m900);
    background: var(--m900-06);
    transform: translateY(-2px);
  }
}
.btn-ghost:active {
  transform: scale(0.97);
}

.hero-right {
  padding-left: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  animation: fadeUp 800ms 400ms var(--ease-out) forwards;
}
.hero-stat {
  padding: 1.6rem 1.75rem;
  border-left: 2px solid var(--m900);
  background: var(--surface-3);
  transition: background 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hero-stat:hover {
    background: var(--m900-10);
  }
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--m900);
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body-muted);
}
.hero-quote {
  padding: 1.75rem;
  border: 1px solid var(--m900-20);
  background: var(--surface);
  position: relative;
  transition:
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .hero-quote:hover {
    border-color: var(--m900-40);
    box-shadow: 0 4px 20px rgba(140, 29, 129, 0.08);
  }
}
.hero-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--m900-20);
  position: absolute;
  top: -0.6rem;
  left: 1.25rem;
  line-height: 1;
}
.hero-quote-text {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.65;
  color: var(--body-text);
  padding-top: 0.9rem;
}
.hero-quote-attr {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--m900);
}
.hero-bottom {
  padding: 1.75rem 0;
  border-top: 1px solid var(--m900-20);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  position: relative;
}
.hero-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--body-muted);
}
.hero-platforms {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.platform-link {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-muted);
  transition: color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .platform-link:hover {
    color: var(--m900);
  }
}

/* ── SHARED ─────────────────────────────────────────────── */
.section {
  padding: 6rem 4rem;
}
.section--alt {
  background: var(--surface-2);
}
.section--stripe {
  background: var(--surface-3);
  border-top: 1px solid var(--m900-20);
  border-bottom: 1px solid var(--m900-20);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.section-label-line {
  width: 1.5rem;
  height: 1px;
  background: var(--m900);
}
.section-label-text {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--m900);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--body-text);
}
.section-title em {
  font-style: italic;
  color: var(--m900);
}

/* ── ABOUT ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5.5rem;
  align-items: start;
  margin-top: 3rem;
}
.about-body {
  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--body-muted);
}
.about-body p + p {
  margin-top: 1.1rem;
}
.about-body strong {
  color: var(--body-text);
  font-weight: 600;
}
.ht {
  color: var(--m900);
  font-family: var(--font-display);
  font-size: 0.9em;
  font-weight: 700;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--m900-20);
}
.pillar {
  background: var(--surface-2);
  padding: 1.4rem 1.65rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: background 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .pillar:hover {
    background: var(--m900-06);
  }
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--m900);
  margin-top: 0.3rem;
  min-width: 1.4rem;
}
.pillar-body h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--body-text);
  margin-bottom: 0.3rem;
}
.pillar-body p {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--body-muted);
  line-height: 1.6;
}

/* ── TOPICS ─────────────────────────────────────────────── */
.topics-intro {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--body-muted);
  max-width: 50ch;
  margin: 0.75rem 0 3rem;
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--m900-20);
}
.topic-card {
  background: var(--surface);
  padding: 2.25rem 1.85rem;
  position: relative;
  overflow: hidden;
  transition: background 220ms var(--ease-out);
}
.topic-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--m900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .topic-card:hover {
    background: var(--m900-06);
  }
  .topic-card:hover::after {
    transform: scaleX(1);
  }
}
.topic-num {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--m900-40);
  margin-bottom: 1.1rem;
}
.topic-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--body-text);
  margin-bottom: 0.65rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.topic-desc {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--body-muted);
  line-height: 1.65;
}

/* ── FORMATS ────────────────────────────────────────────── */
.formats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  margin-top: 3.25rem;
}
.format-card {
  padding: 2rem 1.85rem;
  border: 1px solid var(--m900-20);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition:
    border-color 220ms var(--ease-out),
    background 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .format-card:hover {
    border-color: var(--m900-40);
    background: var(--m900-06);
    box-shadow: 0 4px 24px rgba(140, 29, 129, 0.07);
  }
}
.format-icon {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--m900-40);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  transition:
    border-color 220ms var(--ease-out),
    background 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .format-card:hover .format-icon {
    border-color: var(--m900);
    background: var(--m900-10);
  }
}
.format-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--m900);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.format-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--body-text);
}
.format-desc {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--body-muted);
  line-height: 1.65;
}
.format-tag {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--m900);
  margin-top: auto;
}

/* ── LEAD ───────────────────────────────────────────────── */
.lead {
  background: url(./images/Mrs-Obasa.webp);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
}
.lead::before {
  content: "";
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(140, 29, 129, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5.5rem;
  align-items: start;
}
.lead-name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--body-text);
  margin-bottom: 0.45rem;
}
.lead-role {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--m900);
  margin-bottom: 1.75rem;
}
.lead-bio {
  font-size: 0.93rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--body-muted);
  background: var(--surface-2);
  padding: 20px;
}
.lead-bio p + p {
  margin-top: 0.9rem;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--m900-20);
  margin-top: 2rem;
}
.credential {
  background: var(--surface-2);
  padding: 0.95rem 1.4rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--body-muted);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: background 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .credential:hover {
    background: var(--m900-06);
    color: var(--body-text);
  }
}
.credential::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--m900);
  flex-shrink: 0;
}

.soc-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.85rem;
  flex-wrap: wrap;
}
.soc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--m900-20);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-muted);
  transition:
    border-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    transform 160ms var(--ease-out);
  background: var(--surface-2);
}
@media (hover: hover) and (pointer: fine) {
  .soc-link:hover {
    border-color: var(--m900);
    color: var(--m900);
    transform: translateY(-1px);
  }
}
.soc-link:active {
  transform: scale(0.97);
}
.soc-link svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.lead-quote {
  padding: 2.5rem;
  border: 1px solid var(--m900-20);
  background: var(--surface);
  margin-bottom: 1.5rem;
  transition:
    border-color 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .lead-quote:hover {
    border-color: var(--m900-40);
    box-shadow: 0 4px 24px rgba(140, 29, 129, 0.08);
  }
}
.lead-quote-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.5;
  color: var(--body-text);
  margin-bottom: 0.85rem;
}
.lead-quote-attr {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m900);
}
.lead-platform-box {
  padding: 2rem 2.25rem;
  border: 1px solid var(--m900-20);
  background: var(--surface-2);
}
.lead-platform-body {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--body-muted);
  line-height: 1.75;
}
.lead-platform-body strong {
  color: var(--body-text);
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   GALLERY CAROUSEL SECTION
   Paste after your existing style.css rules.
   Depends on the tokens already defined in :root
───────────────────────────────────────────── */

/* Section wrapper */
.gallery-section {
  background: var(--surface-2);
  border-top: 1px solid var(--m900-20);
  border-bottom: 1px solid var(--m900-20);
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

/* Header — respects the 4rem side padding from .section */
.gallery-header {
  padding: 0 4rem 3rem;
}

/* Track wrapper — full bleed, clips overflow */
.gallery-track-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}
.gallery-track-wrap:last-of-type {
  margin-bottom: 0;
}

/* The scrolling strip */
.gallery-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}

/* LTR: slides move left */
@keyframes scroll-ltr {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* RTL: slides move right */
@keyframes scroll-rtl {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.track-ltr {
  animation: scroll-ltr 36s linear infinite;
}

.track-rtl {
  animation: scroll-rtl 40s linear infinite;
}

/* Pause on hover — respects user focus too */
.gallery-track-wrap:hover .gallery-track,
.gallery-track-wrap:focus-within .gallery-track {
  animation-play-state: paused;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .track-ltr,
  .track-rtl {
    animation: none;
  }
  .gallery-track {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}

/* Individual slide */
.gallery-slide {
  flex-shrink: 0;
  width: 320px;
}

/* Image container + overlay */
.gallery-img-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-track-wrap:hover .gallery-img-wrap img {
  transform: scale(1.04);
}

/* Caption overlay — slides up on hover */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(89, 28, 81, 0.82) 0%,
    rgba(140, 29, 129, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.1rem;
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-img-wrap:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  transform: translateY(6px);
  transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-img-wrap:hover .gallery-overlay span {
  transform: translateY(0);
}

/* Edge fade masks — punch through the overflow */
.gallery-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10rem;
  pointer-events: none;
  z-index: 2;
}

.gallery-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--surface-2), transparent);
}

.gallery-fade--right {
  right: 0;
  background: linear-gradient(to left, var(--surface-2), transparent);
}

/* Responsive — narrower slides on small screens */
@media (max-width: 768px) {
  .gallery-header {
    padding: 0 1.25rem 2.5rem;
  }

  .gallery-slide {
    width: 220px;
  }

  .gallery-img-wrap {
    height: 150px;
  }

  .gallery-fade {
    width: 4rem;
  }

  .track-ltr {
    animation-duration: 24s;
  }

  .track-rtl {
    animation-duration: 28s;
  }
}

/* bookes section */

.books-section {
  padding: 100px 20px;
  background: var(--surface-2);
  font-family: var(--font-body);
}

.books-container {
  max-width: 1200px;
  margin: 0 auto;
}

.books-header {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.books-eyebrow {
  display: inline-block;
  margin-bottom: 15px;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--m900-10);
  color: var(--m900);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.books-header h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.books-header p {
  color: var(--body-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.book-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--cream-2);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(89, 28, 81, 0.12);
}

.book-image {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: var(--surface-3);
}

.book-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.book-content {
  padding: 25px;
}

.book-content h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.book-content p {
  min-height: 75px;
  margin-bottom: 25px;
  color: var(--body-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.book-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.book-price {
  color: var(--m900);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.purchase-btn {
  padding: 12px 22px;
  border-radius: 50px;
  background: var(--m900);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.3s ease;
}

.purchase-btn:hover {
  background: var(--m800);
}

@media (max-width: 1024px) {
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .books-section {
    padding: 70px 20px;
  }

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

  .book-image {
    height: 280px;
  }
}
/* ── FOR YOU ────────────────────────────────────────────── */
.for-you-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: 3rem;
}
.for-you-card {
  padding: 1.6rem 1.5rem;
  border-left: 2px solid var(--m900-20);
  background: var(--surface);
  transition:
    border-color 220ms var(--ease-out),
    background 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .for-you-card:hover {
    border-color: var(--m900);
    background: var(--m900-06);
  }
}
.for-you-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--body-text);
  margin-bottom: 0.35rem;
}
.for-you-card p {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--body-muted);
  line-height: 1.65;
}

/* ── JOIN ───────────────────────────────────────────────── */
.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: 3.25rem;
}
.join-card {
  padding: 2.1rem 1.85rem;
  background: var(--surface);
  border: 1px solid var(--m900-20);
  transition:
    border-color 220ms var(--ease-out),
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .join-card:hover {
    border-color: var(--m900-40);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(140, 29, 129, 0.1);
  }
}
.join-card-label {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--m900);
  margin-bottom: 0.85rem;
}
.join-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--body-text);
  margin-bottom: 0.65rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.join-card-desc {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--body-muted);
  line-height: 1.65;
  margin-bottom: 1.6rem;
}
.join-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--m900);
  border-bottom: 1.5px solid var(--m900-40);
  padding-bottom: 0.1rem;
  transition:
    color 200ms var(--ease-out),
    border-color 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .join-action:hover {
    color: var(--m800);
    border-color: var(--m800);
  }
}

/* ── CLOSING ────────────────────────────────────────────── */
.closing {
  background: var(--m900);
  padding: 7rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "CHARACTER";
  position: absolute;
  font-family: var(--font-display);
  font-size: 17vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.07);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.03em;
}
.closing-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
}
.closing-sub {
  font-size: 0.97rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  max-width: 46ch;
  margin: 0 auto 2.5rem;
  position: relative;
}
.closing-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.85rem;
  background: #fff;
  color: var(--m900);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 200ms var(--ease-out),
    transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-white:hover {
    background: var(--cream-2);
    transform: translateY(-2px);
  }
}
.btn-white:active {
  transform: scale(0.97);
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.85rem;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    transform 160ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    transform: translateY(-2px);
  }
}
.btn-outline-white:active {
  transform: scale(0.97);
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--m800);
  padding: 2.25rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-2);
}
.footer-links {
  display: flex;
  gap: 1.85rem;
  list-style: none;
}
.footer-links a {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .footer-links a:hover {
    color: var(--cream);
  }
}
.footer-copy {
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
}

/* ── KEYFRAMES ──────────────────────────────────────────── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav {
    padding: 1rem 2rem;
  }
  .hero,
  .section {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 7rem;
  }
  .hero-left {
    padding-right: 0;
  }
  .hero-right {
    padding-left: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hero-stat,
  .hero-quote {
    flex: 1;
    min-width: 240px;
  }
  .hero-rule {
    display: none;
  }
  .about-grid,
  .lead-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .for-you-grid,
  .join-grid,
  .formats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .closing {
    padding: 4.5rem 2rem;
  }
  footer {
    padding: 1.75rem 2rem;
  }
}
@media (max-width: 620px) {
  .nav-links {
    display: none;
  }
  .hero,
  .section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .topics-grid,
  .formats-grid,
  .for-you-grid,
  .join-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .closing-actions {
    flex-direction: column;
    align-items: center;
  }
  footer {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-logo img {
    width: 50px;
  }
  #rcvlogo {
    display: none;
  }
  .lead {
    background-size: cover;
  }
}
