/* ─── ABOUT PAGE HERO ─── */
.page-hero--about {
  background: linear-gradient(135deg, rgba(58, 74, 34, 0.92), rgba(71, 89, 41, 0.88)),
    url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1000&q=65&auto=format&fit=crop') center/cover no-repeat;
}
.page-hero--about::before {
  background: radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.2) 0%, transparent 55%);
}

/* ─── DEFINITION (What is RIPAT?) ─── */
.definition {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.definition-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.definition-bg-photo {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1574943320215-7d46d189a41b?w=1000&q=65&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.14;
  transform: scale(1.05);
}
.definition-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(71, 89, 41, 0.08) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.6;
}
.definition-bg-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 163, 40, 0.18) 0%, transparent 70%);
  top: -120px;
  right: -80px;
}
.def-inner {
  position: relative;
  z-index: 1;
  width: min(var(--site-max), calc(100vw - 2 * var(--site-side)));
  max-width: var(--site-max);
  margin: 0 auto;
}
.def-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.def-visual {
  position: relative;
}
.def-image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(45, 56, 28, 0.06),
    0 20px 50px rgba(45, 56, 28, 0.18),
    0 0 0 1px rgba(71, 89, 41, 0.08);
}
.def-image {
  height: 460px;
  background: url('https://images.unsplash.com/photo-1592982537447-6f2a6a0a9b2b?w=700&q=65&auto=format&fit=crop') center/cover no-repeat;
  transform: scale(1);
  transition: transform 0.6s ease;
}
.def-visual:hover .def-image {
  transform: scale(1.04);
}
.def-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 74, 34, 0.45) 0%, transparent 45%);
  pointer-events: none;
}
.def-image-card {
  position: absolute;
  bottom: 28px;
  left: -16px;
  max-width: 280px;
  background: linear-gradient(145deg, var(--green-dark) 0%, #3a4a22 100%);
  color: var(--white);
  padding: 24px 28px;
  border-radius: 12px;
  border-left: 4px solid var(--gold);
  box-shadow:
    0 12px 32px rgba(45, 56, 28, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.12);
}
.def-image-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--gold-light);
}
.def-image-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}
.def-text-card {
  background: var(--white);
  border-radius: 16px;
  padding: 44px 48px;
  box-shadow:
    0 2px 4px rgba(45, 56, 28, 0.04),
    0 16px 48px rgba(45, 56, 28, 0.1),
    0 0 0 1px rgba(71, 89, 41, 0.06);
}
.def-text-card .section-title {
  margin-bottom: 20px;
}
.def-text-card p {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}
.def-text-card p:last-of-type {
  margin-bottom: 0;
}
.def-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #ebe6dc;
}
.def-actions .btn {
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(71, 89, 41, 0.2);
}
.def-actions .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(71, 89, 41, 0.28);
  transform: translateY(-1px);
}
.def-actions .btn-outline {
  box-shadow: 0 2px 8px rgba(71, 89, 41, 0.08);
  background: var(--white);
}
.def-actions .btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(71, 89, 41, 0.18);
}

/* ─── WHY RIPAT ─── */
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
.why-card {
  border-radius: 12px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.why-card.dark {
  background: linear-gradient(160deg, var(--green-dark) 0%, #3a4a22 100%);
}
.why-card.light {
  background: var(--white);
  border: 1px solid #e8e4dc;
}
.why-card-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.07;
  color: var(--white);
}
.why-card.light .why-card-num { color: var(--green-dark); }
.why-card h3 { font-family: 'Playfair Display', serif; font-size: 22px; margin-bottom: 16px; }
.why-card.dark h3 { color: var(--gold-light); }
.why-card.light h3 { color: var(--green-dark); }
.why-card p { font-size: 15px; line-height: 1.8; }
.why-card.dark p { color: rgba(255, 255, 255, 0.72); }
.why-card.light p { color: var(--text-mid); }
.why-card a {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.why-card.dark a { color: var(--gold-light); border-bottom: 1px solid var(--gold); }
.why-card.light a { color: var(--green-dark); border-bottom: 1px solid var(--green-accent); }

/* ─── WHERE ─── */
.where {
  background: linear-gradient(180deg, #f1ede5 0%, var(--cream) 100%);
  position: relative;
}
.where::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1500382017468-9049fed747f0?w=800&q=65&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.06;
  pointer-events: none;
}
.where > * { position: relative; z-index: 1; }
.where-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.where-item {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(45, 56, 28, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}
.where-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(45, 56, 28, 0.14);
}
.where-icon { font-size: 32px; margin-bottom: 14px; }
.where-item h3 { font-size: 16px; font-weight: 700; color: var(--green-dark); margin-bottom: 10px; }
.where-item p { font-size: 14px; color: var(--text-light); line-height: 1.75; }

/* ─── PROFESSOR ─── */
.professor {
  background: linear-gradient(135deg, rgba(58, 74, 34, 0.95), rgba(71, 89, 41, 0.92)),
    url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=800&q=65&auto=format&fit=crop') center/cover no-repeat;
  padding: 80px var(--site-side);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.professor-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.professor-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 100px;
  color: var(--gold);
  opacity: 0.4;
  line-height: 0.5;
  margin-bottom: 20px;
}
.professor-quote {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 30px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.professor-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.professor-role { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-top: 4px; }
.professor-divider { width: 60px; height: 3px; background: var(--gold); margin: 24px auto; }

/* Impact section — see impact.css */

/* ─── MODEL (vertical steps) ─── */
.model {
  background: var(--white);
  padding: 80px var(--site-side);
}
.model-inner {
  width: min(var(--site-max), calc(100vw - 2 * var(--site-side)));
  max-width: 720px;
  margin: 0 auto;
}
.model-steps {
  margin-top: 48px;
  border-top: 1px solid #e8e4dc;
}
.model-step-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px 28px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid #e8e4dc;
  transition: background 0.2s;
}
.model-step-item:hover {
  background: rgba(248, 245, 239, 0.6);
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 4px;
}
.model-step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--cream);
  border: 1px solid #e0dbd0;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.model-step-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.model-step-body p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ─── BOOKS ─── */
.about-books {
  background: var(--cream);
  padding: 80px var(--site-side);
}
.about-books-inner {
  width: min(var(--site-max), calc(100vw - 2 * var(--site-side)));
  max-width: var(--site-max);
  margin: 0 auto;
}
.about-books .section-subtitle {
  margin-bottom: 40px;
}
.about-books-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.about-book-card {
  background: var(--white);
  border: 1px solid #e0dbd0;
  border-radius: 8px;
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.about-book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.about-book-card-icon {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}
.about-book-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--green-dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.about-book-card p {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 24px;
}
.about-book-card .btn {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .def-grid { grid-template-columns: 1fr; gap: 36px; }
  .def-image { height: 320px; }
  .def-image-card { left: 16px; bottom: 16px; max-width: calc(100% - 32px); }
  .def-text-card { padding: 32px 28px; }
  .why-cards { grid-template-columns: 1fr; }
  .where-grid { grid-template-columns: 1fr 1fr; }
  .about-books-grid { grid-template-columns: 1fr; }
  .model-step-item {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .where-grid { grid-template-columns: 1fr; }
  .def-actions { flex-direction: column; }
  .def-actions .btn { width: 100%; text-align: center; }
  .about-book-card { padding: 28px 24px; }
  .model-step-item:hover { margin: 0; padding-left: 0; padding-right: 0; }
}
