/*
Theme Name: sankofa-institute
Theme URI: http://dazzyroots.mooo.com
Description: The Rain Dance Institute — warm earth tones, ochre accents, Cormorant Garamond elegance.
Version: 2.0
Author: The Rain Dance Institute
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* ============================================
   DESIGN TOKENS — Rain Dance Palette
   ============================================ */
:root {
  --ochre:  #B5702A;
  --sand:   #E8DDD0;
  --stone:  #2C2519;
  --dusk:   #4A3F35;
  --ash:    #9A8F84;
  --smoke:  #F3EDE6;
  --bone:   #FAF7F3;
  --rust:   #7A3B1E;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1100px;
  --content-width: 760px;
  --transition: 0.2s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bone);
  color: var(--stone);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ochre); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--rust); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
  color: var(--stone);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 400; }

p { margin-bottom: 1.4rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  display: block;
  margin-bottom: 2rem;
}

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: var(--content-width); margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 2rem; }
.section--dark { background: var(--stone); color: var(--sand); }
.section--smoke { background: var(--smoke); }
.section--bone { background: var(--bone); }
.section-divider { width: 100%; height: 1px; background: rgba(181,112,42,0.15); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--ochre);
  color: var(--ochre);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.btn:hover { background: var(--ochre); color: var(--bone); }
.btn--solid { background: var(--ochre); color: var(--bone); }
.btn--solid:hover { background: var(--rust); border-color: var(--rust); color: var(--bone); }
.btn--light { border-color: rgba(232,221,208,0.4); color: var(--sand); }
.btn--light:hover { background: rgba(232,221,208,0.1); color: var(--sand); }

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 3rem;
  background: rgba(44, 37, 25, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0.5px solid rgba(181,112,42,0.25);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.site-logo__icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 50%;
  display: block;
}
.site-logo__text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--sand);
  line-height: 1;
}
.site-logo__text em {
  font-style: italic;
  color: var(--ochre);
}
.site-logo:hover .site-logo__text { color: var(--bone); }

/* Spotify player in header */
.header-spotify {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
}
.header-spotify iframe {
  display: block;
  border-radius: 10px;
}
@media (max-width: 1100px) {
  .header-spotify,
  .header-spotify iframe {
    display: none !important;
  }
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.site-nav a {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232, 221, 208, 0.8);
  text-decoration: none;
  padding: 0.42rem 0.85rem;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(88,74,58,0.6) 0%, rgba(50,41,31,0.72) 100%);
  border: 0.5px solid rgba(181,112,42,0.18);
  border-bottom-color: rgba(0,0,0,0.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 2px 4px rgba(0,0,0,0.38),
    0 1px 0 rgba(0,0,0,0.28);
  transition: all 0.18s ease;
  position: relative;
  top: 0;
}
.site-nav a:hover {
  color: var(--ochre);
  background: linear-gradient(180deg, rgba(100,84,64,0.68) 0%, rgba(60,50,38,0.8) 100%);
  border-color: rgba(181,112,42,0.32);
  border-bottom-color: rgba(0,0,0,0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 1px 2px rgba(0,0,0,0.3),
    0 0px 0 rgba(0,0,0,0.2);
  top: 1px;
}
.site-nav .current-menu-item a {
  color: var(--ochre);
  background: linear-gradient(180deg, rgba(70,50,24,0.72) 0%, rgba(44,33,16,0.82) 100%);
  border-color: rgba(181,112,42,0.32);
  border-bottom-color: rgba(0,0,0,0.4);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.28),
    0 1px 0 rgba(181,112,42,0.08);
  top: 1px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sand);
  font-size: 1.4rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
  background: var(--bone);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 60%, rgba(181,112,42,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(122,59,30,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero__emblem {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 24px rgba(181,112,42,0.18));
}
.hero__emblem svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.hero__eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1.8rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--stone);
  margin-bottom: 1.5rem;
}

.hero h1 em { font-style: italic; color: var(--ochre); }

.hero__subtitle {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ash);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 3.5rem;
}

.hero__rule {
  width: 48px;
  height: 1px;
  background: var(--ochre);
  margin: 0 auto 3.5rem;
  opacity: 0.5;
  position: relative;
  z-index: 1;
}

.hero__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll span {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
}
.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--ochre), transparent);
  animation: scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.1); }
}

/* ============================================
   PULL QUOTE
   ============================================ */
.pull-quote {
  border-left: 2px solid var(--ochre);
  padding: 0.5rem 0 0.5rem 2rem;
  margin: 3.5rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  color: var(--stone);
  line-height: 1.7;
}

/* ============================================
   OPENING / BODY TEXT
   ============================================ */
.opening-body {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--stone);
  margin-bottom: 1.8rem;
}

/* ============================================
   DARK SECTION (stone background)
   ============================================ */
.dark-section {
  background: var(--stone);
  color: var(--sand);
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem;
}
.dark-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181,112,42,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.dark-section h2 {
  color: var(--sand);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 2.5rem;
}
.dark-section h2 em { color: var(--ochre); font-style: italic; }
.dark-section p {
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(232,221,208,0.75);
  margin-bottom: 1.5rem;
}
.dark-section .eyebrow { color: rgba(181,112,42,0.7); }

/* ============================================
   TRANSMISSION BLOCK
   ============================================ */
.transmission-block {
  background: var(--bone);
  border-left: 2px solid var(--ochre);
  padding: 2rem 2.5rem;
  margin-top: 3.5rem;
}
.transmission-label {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}
.transmission-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  color: var(--dusk);
  line-height: 1.75;
}

/* ============================================
   THEMES GRID
   ============================================ */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 0.5px solid rgba(181,112,42,0.2);
  border-left: 0.5px solid rgba(181,112,42,0.2);
  margin-top: 3rem;
}
.theme-cell {
  padding: 2rem 1.75rem;
  border-right: 0.5px solid rgba(181,112,42,0.2);
  border-bottom: 0.5px solid rgba(181,112,42,0.2);
  transition: background var(--transition);
}
.theme-cell:hover { background: var(--smoke); }
.theme-num {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ochre);
  margin-bottom: 0.7rem;
  font-family: var(--font-sans);
}
.theme-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--stone);
  line-height: 1.4;
}

/* ============================================
   CLOSING SECTION
   ============================================ */
.closing-section {
  background: var(--stone);
  text-align: center;
  padding: 8rem 2rem;
}
.closing-lines { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 4rem; }
.c-line {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(232,221,208,0.55);
  line-height: 1.5;
}
.c-line.bright { color: var(--sand); }
.c-line.final {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--ochre);
  margin-top: 1rem;
}
.closing-rule { width: 32px; height: 1px; background: var(--ochre); margin: 0 auto 3rem; opacity: 0.4; }
.cta-text { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash); }

/* ============================================
   ARTICLE CARDS
   ============================================ */
.card {
  display: flex;
  flex-direction: column;
  border-bottom: 0.5px solid rgba(181,112,42,0.2);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  transition: all var(--transition);
}
.card:hover .card__title a { color: var(--ochre); }
.card__image { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--smoke); margin-bottom: 1.25rem; }
.card__image--placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--stone) 0%, var(--dusk) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--ochre); font-family: var(--font-serif); font-size: 2rem; opacity: 0.5;
  margin-bottom: 1.25rem;
}
.card__category { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ochre); margin-bottom: 0.5rem; display: block; }
.card__title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 0.6rem; line-height: 1.3; }
.card__title a { color: var(--stone); }
.card__excerpt { font-size: 14px; color: var(--ash); line-height: 1.7; margin-bottom: 0.75rem; }
.card__meta { font-size: 11px; color: var(--ash); letter-spacing: 0.04em; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter { background: var(--stone); padding: 7rem 2rem; text-align: center; }
.newsletter h2 { color: var(--sand); margin-bottom: 0.5rem; }
.newsletter p { color: rgba(232,221,208,0.6); margin-bottom: 2.5rem; }
.newsletter__form { display: flex; max-width: 460px; margin: 0 auto; }
.newsletter__input {
  flex: 1; padding: 0.85rem 1.25rem;
  font-size: 0.9rem; font-family: var(--font-sans); font-weight: 300;
  border: 1px solid rgba(181,112,42,0.3); border-right: none;
  background: rgba(255,255,255,0.04); color: var(--sand); outline: none;
}
.newsletter__input::placeholder { color: rgba(232,221,208,0.3); }
.newsletter__input:focus { border-color: var(--ochre); }
.newsletter__btn {
  padding: 0.85rem 1.5rem; background: var(--ochre); color: var(--bone);
  font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background var(--transition); font-family: var(--font-sans);
}
.newsletter__btn:hover { background: var(--rust); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--stone);
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.footer-logo__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-logo:hover .footer-logo__icon { opacity: 1; }
.footer-logo__text {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: rgba(232,221,208,0.5);
  transition: color 0.2s;
}
.footer-logo__text em { font-style: italic; color: rgba(181,112,42,0.6); }
.footer-logo:hover .footer-logo__text { color: rgba(232,221,208,0.8); }
.footer-logo:hover .footer-logo__text em { color: var(--ochre); }
.footer-note { font-size: 11px; color: rgba(154,143,132,0.5); letter-spacing: 0.06em; }

/* ============================================
   SINGLE POST
   ============================================ */
.post-header { background: var(--stone); padding: 7rem 2rem 5rem; }
.post-header h1 { color: var(--sand); max-width: 760px; margin: 0 auto 1rem; }
.post-header .post-meta { color: rgba(232,221,208,0.4); font-size: 11px; letter-spacing: 0.1em; text-align: center; }
.post-content { max-width: var(--content-width); margin: 5rem auto; padding: 0 2rem; }
.post-content h2, .post-content h3 { margin: 2.5rem 0 1rem; }
.post-content p { font-size: 16px; line-height: 1.85; color: var(--dusk); margin-bottom: 1.5rem; }
.post-content blockquote { border-left: 2px solid var(--ochre); padding: 0.5rem 0 0.5rem 2rem; margin: 3rem 0; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--dusk); }

/* ============================================
   PAGE FULL-WIDTH SECTIONS
   ============================================ */
.entry-content > div,
.page-content > div {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Body padding for fixed header */
body { padding-top: 84px; }
.admin-bar body { padding-top: 116px; }
.admin-bar .site-header { top: 32px; }

/* ============================================
   PAGE
   ============================================ */
.post-content--page { max-width: var(--content-width); margin: 0 auto; padding: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* ── Header ── */
  html, body { overflow-x: hidden; }
  .site-header {
    padding: 0.65rem 1.25rem;
  }
  .site-logo__icon { width: 44px; height: 44px; }
  .site-logo__text { display: none; }

  /* ── Full-screen menu overlay ── */
  .site-nav { display: none; }
  .site-nav.is-open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(22, 17, 10, 0.98);
    padding: 5.5rem 2.5rem 3rem;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.is-open ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .site-nav.is-open li {
    border-bottom: 1px solid rgba(181,112,42,0.18);
  }
  .site-nav.is-open li:first-child {
    border-top: 1px solid rgba(181,112,42,0.18);
  }
  .site-nav.is-open a {
    display: block;
    padding: 1.1rem 0;
    font-size: 13px;
    letter-spacing: 0.2em;
    color: rgba(232, 221, 208, 0.9);
    background: none !important;
    border-radius: 0;
    border: none !important;
    box-shadow: none !important;
    top: 0 !important;
    transition: color 0.2s ease;
  }
  .site-nav.is-open a:hover,
  .site-nav.is-open .current-menu-item a {
    color: var(--ochre);
    background: none !important;
    box-shadow: none !important;
    top: 0 !important;
  }

  /* ── Toggle button always on top ── */
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 10001;
    font-size: 1.5rem;
    color: var(--sand);
  }
  .site-header { z-index: 10000; }

  /* ── Layout helpers ── */
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .themes-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 0.75rem; text-align: center; padding: 2rem 1.5rem; }
  .newsletter__form { flex-direction: column; }
  .newsletter__input { border-right: 1px solid rgba(181,112,42,0.3); border-bottom: none; }
  .hero__actions { flex-direction: column; align-items: center; }

  /* ── Typography scale ── */
  h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section { padding: 4rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line { animation: none; }
}

/* ============================================
   HOMEPAGE — RAIN DANCE INSTITUTE
   Immersive scroll-based layout
   ============================================ */

:root {
  --rdi-stone:  #1e1710;
  --rdi-dusk:   #2c2519;
  --rdi-earth:  #4a3f35;
  --rdi-ash:    #9a8f84;
  --rdi-sand:   #e8ddd0;
  --rdi-bone:   #faf7f3;
  --rdi-smoke:  #f3ede6;
  --rdi-ochre:  #b5702a;
  --rdi-rain:   #6a8fa0;
  --rdi-serif:  'Cormorant Garamond', Georgia, serif;
  --rdi-sans:   'Inter', sans-serif;
}

.rdi-container { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem; }
.rdi-container--narrow { max-width: 720px; margin: 0 auto; padding: 0 2.5rem; }
.rdi-section { padding: 8rem 0; }
.rdi-eyebrow { display: block; font-family: var(--rdi-sans); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rdi-ochre); margin-bottom: 1.75rem; }
.rdi-section__heading { font-family: var(--rdi-serif); font-weight: 300; font-size: clamp(2rem,4vw,3rem); color: var(--rdi-dusk); line-height: 1.15; margin-bottom: 3rem; }
.rdi-section__heading em { font-style: italic; color: var(--rdi-ochre); }

.rdi-btn { display: inline-block; font-family: var(--rdi-sans); font-size: 11px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.9rem 2rem; border: 1px solid currentColor; transition: all 0.25s ease; cursor: pointer; text-decoration: none; }
.rdi-btn--solid { background: var(--rdi-dusk); color: var(--rdi-sand); border-color: var(--rdi-dusk); }
.rdi-btn--solid:hover { background: var(--rdi-ochre); border-color: var(--rdi-ochre); color: var(--rdi-bone); }
.rdi-btn--ghost { background: transparent; color: rgba(232,221,208,0.7); border-color: rgba(232,221,208,0.3); }
.rdi-btn--ghost:hover { color: var(--rdi-sand); border-color: var(--rdi-sand); }
.rdi-btn--ochre { background: var(--rdi-ochre); color: var(--rdi-bone); border-color: var(--rdi-ochre); }
.rdi-btn--ochre:hover { background: #8a4f1e; border-color: #8a4f1e; color: var(--rdi-bone); }
.rdi-btn--outline { background: transparent; color: var(--rdi-ochre); border-color: var(--rdi-ochre); }
.rdi-btn--outline:hover { background: var(--rdi-ochre); color: var(--rdi-bone); }

.rdi-fade { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.rdi-fade.is-visible { opacity: 1; transform: translateY(0); }
.rdi-reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s ease, transform 0.9s ease; }
.rdi-reveal.is-visible { opacity: 1; transform: translateY(0); }
.rdi-reveal-item { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rdi-reveal-item.is-visible { opacity: 1; transform: translateY(0); }

/* HERO */
.rdi-hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--rdi-stone); overflow: hidden; }
.rdi-rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.35; }
.rdi-hero__texture { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 55% at 50% 65%, rgba(181,112,42,0.1) 0%, transparent 65%), radial-gradient(ellipse 90% 70% at 20% 30%, rgba(106,143,160,0.07) 0%, transparent 55%); pointer-events: none; }
.rdi-hero__content { position: relative; z-index: 2; text-align: center; max-width: 780px; padding: 2rem; }
.rdi-hero .rdi-eyebrow { color: rgba(181,112,42,0.7); margin-bottom: 2rem; }
.rdi-hero__title { font-family: var(--rdi-serif); font-weight: 300; font-size: clamp(3.5rem,8vw,7rem); color: var(--rdi-sand); line-height: 1.0; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.rdi-hero__title em { font-style: italic; color: var(--rdi-ochre); }
.rdi-hero__sub { font-family: var(--rdi-sans); font-size: clamp(0.8rem,1.5vw,0.95rem); letter-spacing: 0.15em; text-transform: uppercase; color: rgba(232,221,208,0.45); margin-bottom: 3rem; }
.rdi-hero__quote { font-family: var(--rdi-serif); font-style: italic; font-weight: 300; font-size: clamp(1.1rem,2vw,1.35rem); color: rgba(232,221,208,0.6); line-height: 1.75; border: none; background: none; padding: 0; margin: 0 auto 3rem; max-width: 560px; }
.rdi-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.rdi-hero__scroll { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.6rem; z-index: 2; }
.rdi-hero__scroll span { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(232,221,208,0.25); }
.rdi-hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(181,112,42,0.6), transparent); animation: rdi-pulse 2s ease-in-out infinite; }
@keyframes rdi-pulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* INTRO */
.rdi-intro { background: var(--rdi-bone); position: relative; }
.rdi-intro__heading { font-family: var(--rdi-serif); font-weight: 300; font-size: clamp(2.4rem,5vw,4rem); color: var(--rdi-dusk); line-height: 1.1; margin-bottom: 3rem; }
.rdi-intro__heading em { font-style: italic; color: var(--rdi-ochre); }
.rdi-intro__body p { font-family: var(--rdi-serif); font-size: clamp(1.15rem,2vw,1.45rem); font-weight: 300; line-height: 1.8; color: var(--rdi-earth); margin-bottom: 1.5rem; }
.rdi-intro__statement { font-family: var(--rdi-serif) !important; font-style: italic; font-size: clamp(1.3rem,2.5vw,1.7rem) !important; color: var(--rdi-dusk) !important; border-left: 2px solid var(--rdi-ochre); padding-left: 1.5rem; margin-top: 3rem !important; }
.rdi-intro__line { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 60px; background: linear-gradient(to bottom, rgba(181,112,42,0.3), transparent); }

/* THEMES */
.rdi-themes__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; background: rgba(181,112,42,0.15); border: 1px solid rgba(181,112,42,0.15); }
.rdi-theme-card { background: var(--rdi-smoke); padding: 2.5rem 2rem; text-decoration: none; display: flex; flex-direction: column; gap: 0.75rem; transition: background 0.25s ease; }
.rdi-theme-card:hover { background: var(--rdi-bone); }
.rdi-theme-card:hover .rdi-theme-card__arrow { opacity: 1; transform: translateX(0); }
.rdi-theme-card__icon { font-size: 1.4rem; color: var(--rdi-ochre); opacity: 0.7; }
.rdi-theme-card__title { font-family: var(--rdi-serif); font-size: 1.1rem; font-weight: 400; color: var(--rdi-dusk); line-height: 1.35; }
.rdi-theme-card__desc { font-size: 13px; color: var(--rdi-ash); line-height: 1.7; flex: 1; }
.rdi-theme-card__arrow { font-size: 0.9rem; color: var(--rdi-ochre); opacity: 0; transform: translateX(-6px); transition: all 0.25s ease; margin-top: auto; }

/* SOUND */
.rdi-sound__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.rdi-player { background: rgba(255,255,255,0.04); border: 1px solid rgba(181,112,42,0.2); padding: 2rem; }
.rdi-player__visual { margin-bottom: 1.5rem; }
.rdi-player__visual canvas { width: 100%; display: block; }
.rdi-player__label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rdi-ochre); margin-bottom: 0.3rem; }
.rdi-player__track { font-family: var(--rdi-serif); font-style: italic; font-size: 0.95rem; color: rgba(232,221,208,0.45); margin-bottom: 1.5rem; }
.rdi-player__controls { display: flex; align-items: center; gap: 1rem; }
.rdi-play-btn { width: 44px; height: 44px; border-radius: 50%; background: var(--rdi-ochre); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--rdi-bone); font-size: 0.75rem; transition: background 0.2s; flex-shrink: 0; }
.rdi-play-btn:hover { background: #8a4f1e; }
.rdi-player__bar { flex: 1; height: 2px; background: rgba(181,112,42,0.2); }
.rdi-player__progress { height: 100%; background: var(--rdi-ochre); width: 0%; }

/* ROCK ART */
.rdi-rockart__intro { font-family: var(--rdi-serif); font-size: clamp(1.1rem,2vw,1.35rem); font-weight: 300; color: var(--rdi-earth); line-height: 1.8; max-width: 680px; margin-bottom: 4rem; }
.rdi-rockart__intro em { font-style: italic; color: var(--rdi-ochre); }
.rdi-rockart__mosaic { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.rdi-rockart__mosaic .rdi-rockart__panel:nth-child(1) { grid-column: 1; grid-row: 1/3; }
.rdi-rockart__mosaic .rdi-rockart__panel:nth-child(2) { grid-column: 2; grid-row: 1; }
.rdi-rockart__mosaic .rdi-rockart__panel:nth-child(3) { grid-column: 3; grid-row: 1; }
.rdi-rockart__mosaic .rdi-rockart__panel:nth-child(4) { grid-column: 2; grid-row: 2; }
.rdi-rockart__mosaic .rdi-rockart__panel:nth-child(5) { grid-column: 3; grid-row: 2; }
.rdi-rockart__mosaic .rdi-rockart__panel:nth-child(6) { display: none; }
.rdi-rockart__panel { overflow: hidden; position: relative; cursor: pointer; }
.rdi-rockart__panel-inner { position: relative; height: 100%; min-height: 200px; }
.rdi-rockart__panel-inner svg { width: 100%; height: 100%; display: block; transition: transform 0.6s ease; }
.rdi-rockart__panel:hover svg { transform: scale(1.04); }
.rdi-rockart__panel-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.25rem 0.75rem; background: linear-gradient(to top, rgba(30,23,16,0.85), transparent); opacity: 0; transition: opacity 0.3s ease; }
.rdi-rockart__panel:hover .rdi-rockart__panel-label { opacity: 1; }
.rdi-rockart__panel-label span { font-size: 11px; letter-spacing: 0.1em; color: rgba(232,221,208,0.75); text-transform: uppercase; }

/* PHILOSOPHY */
.rdi-philosophy { background: var(--rdi-bone); }
.rdi-philosophy__line { font-family: var(--rdi-serif); font-size: clamp(1.2rem,2.2vw,1.65rem); font-weight: 300; line-height: 1.7; color: rgba(44,37,25,0.55); margin-bottom: 0.5rem; }
.rdi-philosophy__line--em { color: var(--rdi-dusk); font-style: italic; }
.rdi-philosophy__rule { width: 40px; height: 1px; background: var(--rdi-ochre); opacity: 0.4; margin: 2.5rem 0; }
.rdi-philosophy__statement { font-family: var(--rdi-serif); font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 300; font-style: italic; color: var(--rdi-ochre); line-height: 1.5; }

/* ESSAYS */
.rdi-essays__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; }
.rdi-essay-card { display: flex; flex-direction: column; }
.rdi-essay-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--rdi-dusk); margin-bottom: 1.25rem; }
.rdi-essay-card__img--placeholder svg { width: 100%; }
.rdi-essay-card__cat { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rdi-ochre); margin-bottom: 0.5rem; display: block; }
.rdi-essay-card__title { font-family: var(--rdi-serif); font-size: 1.25rem; font-weight: 400; color: var(--rdi-dusk); line-height: 1.3; margin-bottom: 0.75rem; }
.rdi-essay-card__title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.rdi-essay-card__title a:hover { color: var(--rdi-ochre); }
.rdi-essay-card__excerpt { font-size: 14px; color: var(--rdi-ash); line-height: 1.7; flex: 1; margin-bottom: 0.75rem; }
.rdi-essay-card__meta { font-size: 11px; color: var(--rdi-ash); opacity: 0.7; }

/* CLOSING */
.rdi-closing__heading { font-family: var(--rdi-serif); font-weight: 300; font-size: clamp(2.2rem,5vw,3.8rem); color: var(--rdi-sand); line-height: 1.1; margin-bottom: 2rem; }
.rdi-closing__text { font-family: var(--rdi-serif); font-size: clamp(1.1rem,2vw,1.35rem); font-weight: 300; color: rgba(232,221,208,0.6); line-height: 1.8; margin-bottom: 1.25rem; }
.rdi-closing__text--em { font-style: italic; color: rgba(232,221,208,0.8); }
.rdi-closing__rule { width: 32px; height: 1px; background: var(--rdi-ochre); opacity: 0.35; margin: 2.5rem auto; }
.rdi-closing__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* NEWSLETTER */
.rdi-newsletter { background: var(--rdi-stone); padding: 6rem 0; border-top: 1px solid rgba(181,112,42,0.1); }
.rdi-newsletter__form { display: flex; max-width: 460px; margin: 0 auto; }
.rdi-newsletter__input { flex: 1; padding: 0.85rem 1.25rem; font-family: var(--rdi-sans); font-size: 0.9rem; border: 1px solid rgba(181,112,42,0.25); border-right: none; background: rgba(255,255,255,0.04); color: var(--rdi-sand); outline: none; }
.rdi-newsletter__input::placeholder { color: rgba(232,221,208,0.25); }
.rdi-newsletter__btn { padding: 0.85rem 1.5rem; background: var(--rdi-ochre); color: var(--rdi-bone); font-family: var(--rdi-sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; border: none; cursor: pointer; transition: background 0.2s; }
.rdi-newsletter__btn:hover { background: #8a4f1e; }

@media (max-width: 900px) {
  .rdi-themes__grid { grid-template-columns: repeat(2,1fr); }
  .rdi-sound__inner { grid-template-columns: 1fr; gap: 3rem; }
  .rdi-rockart__mosaic { grid-template-columns: repeat(2,1fr); }
  .rdi-rockart__mosaic .rdi-rockart__panel:nth-child(1) { grid-column: 1/3; grid-row: 1; }
  .rdi-rockart__mosaic .rdi-rockart__panel:nth-child(6) { display: block; }
  .rdi-essays__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .rdi-themes__grid { grid-template-columns: 1fr; }
  .rdi-rockart__mosaic { grid-template-columns: 1fr; }
  .rdi-hero__actions, .rdi-closing__actions { flex-direction: column; align-items: center; }
  .rdi-newsletter__form { flex-direction: column; }
  .rdi-newsletter__input { border-right: 1px solid rgba(181,112,42,0.25); border-bottom: none; }
}
