/* About ReYep page (page-about-reyep.php); hero comes from blog.css */

:root {
  --ab-night: #1a0f2e;
  --ab-night-2: #2a1845;
  --ab-gold: #D4A574;
  --ab-gold-light: #E8C9A1;
  --ab-bronze: #9A6B3C;
  --ab-ink: #2D2A32;
  --ab-muted: #6B6670;
  --ab-line: #E8E4DF;
}

.ab-hero { padding: 64px 0 120px; }
.ab-hero__inner { max-width: 860px; text-align: center; }
.ab-hero__title { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.08; }
.ab-hero .bl-hero__subtitle { margin: 16px auto 0; }

.ab-page { padding-bottom: 88px; }

/* The theme's .container clearfix pseudo-elements would take up grid cells */
.ab-pillars::before, .ab-pillars::after,
.ab-features::before, .ab-features::after,
.ab-duo::before, .ab-duo::after { content: none; display: none; }

/* Intro card overlapping the hero */
.ab-intro {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: -72px auto 0;
  padding: 44px 56px;
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(26, 15, 46, 0.09);
  text-align: center;
}

.ab-intro p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ab-muted);
}

.ab-intro .ab-intro__lead {
  margin-bottom: 18px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  color: var(--ab-ink);
}

.ab-intro strong { color: var(--ab-ink); }
.ab-intro .ab-intro__lead strong { color: #7A5230; font-weight: 600; }

/* Sections */
.ab-section { margin-top: 88px; }

.ab-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ab-bronze);
}

.ab-eyebrow--light { color: var(--ab-gold); }

.ab-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.ab-head h2,
.ab-panel h2,
.ab-vision h2,
.ab-cta h2 {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ab-ink);
}

.ab-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }

.ab-head p:not(.ab-eyebrow) {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ab-muted);
}

.ab-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  color: var(--ab-gold);
  background: linear-gradient(145deg, var(--ab-night-2), var(--ab-night));
  border-radius: 14px;
}

.ab-icon--sm { width: 44px; height: 44px; border-radius: 12px; }

/* Triad of wisdom */
.ab-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-pillar {
  position: relative;
  margin: 0;
  padding: 32px 28px 30px;
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 18px;
}

.ab-pillar .ab-icon { margin-bottom: 20px; }

.ab-pillar__num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(212, 165, 116, 0.35);
}

.ab-pillar h3 {
  margin: 0 0 4px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ab-ink);
}

.ab-pillar p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--ab-muted);
}

.ab-pillar .ab-pillar__tag {
  margin-bottom: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ab-bronze);
}

/* Why / who */
.ab-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ab-panel {
  padding: 40px 40px 36px;
  background: linear-gradient(180deg, #FBF8F4, #fff);
  border: 1px solid var(--ab-line);
  border-radius: 20px;
}

.ab-panel h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 14px; }

.ab-panel p:not(.ab-eyebrow) {
  margin: 0 0 12px;
  line-height: 1.7;
  color: var(--ab-muted);
}

.ab-panel p:last-child { margin-bottom: 0; }
.ab-panel strong { color: var(--ab-ink); }

/* What you get */
.ab-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 16px;
}

.ab-feature h3 {
  margin: 2px 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ab-ink);
}

.ab-feature p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ab-muted);
}

/* Vision band */
.ab-vision {
  position: relative;
  overflow: hidden;
  margin-top: 88px;
  padding: 64px 56px;
  text-align: center;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(124, 143, 214, 0.22), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(212, 165, 116, 0.2), transparent 50%),
    linear-gradient(160deg, var(--ab-night-2), var(--ab-night));
  border-radius: 24px;
}

.ab-vision__inner { position: relative; max-width: 720px; margin: 0 auto; }
.ab-vision h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; margin-bottom: 16px; }

.ab-vision p:not(.ab-eyebrow) {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.ab-vision strong { color: var(--ab-gold-light); }

/* Closing call to action */
.ab-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: 36px 44px;
  background: #FBF4EC;
  border: 1px solid #EFDCC7;
  border-radius: 20px;
}

.ab-cta h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 6px; }
.ab-cta p { margin: 0; max-width: 560px; line-height: 1.6; color: var(--ab-muted); }

.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ab-night);
  text-decoration: none;
  background: var(--ab-gold);
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.ab-btn:hover {
  color: var(--ab-night);
  text-decoration: none;
  background: var(--ab-gold-light);
  box-shadow: 0 10px 26px rgba(212, 165, 116, 0.35);
  transform: translateY(-1px);
}

/* Child pages */
.ab-more__title {
  margin: 0 0 20px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--ab-ink);
}

.ab-more__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-more__grid li { margin: 0; }

.ab-more__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 26px 28px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--ab-line);
  border-radius: 18px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.ab-more__card:hover {
  text-decoration: none;
  border-color: var(--ab-gold);
  box-shadow: 0 12px 30px rgba(26, 15, 46, 0.08);
  transform: translateY(-2px);
}

.ab-more__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ab-ink);
}

.ab-more__text { font-size: 0.93rem; line-height: 1.6; color: var(--ab-muted); }
.ab-more__link { margin-top: auto; font-size: 0.9rem; font-weight: 700; color: #7A5230; }

/* Responsive */
@media (max-width: 900px) {
  .ab-pillars,
  .ab-duo { grid-template-columns: 1fr; }
  .ab-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .ab-hero { padding: 44px 0 96px; }
  .ab-intro { padding: 30px 22px; border-radius: 18px; }
  .ab-section,
  .ab-vision { margin-top: 64px; }
  .ab-panel { padding: 28px 22px; }
  .ab-features,
  .ab-more__grid { grid-template-columns: 1fr; }
  .ab-vision { padding: 44px 22px; }
  .ab-cta { padding: 28px 22px; }
  .ab-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ab-btn, .ab-more__card { transition: none; }
  .ab-btn:hover, .ab-more__card:hover { transform: none; }
}
