/* ============================================================
about.css - the combined About page (pages/about.html):
About Yogaverse (heading, three blocks, Follow us) and the founder story.
The founder section reuses the .fd-* styles from founder.css.
Theme tokens only (theme.css), except the social logos' own brand colours.
============================================================ */
.ab-main { background: var(--cream); }
.ab-main:focus { outline: none; } /* focus target for the skip link only */

/* ---------- Heading ---------- */
.ab-hero {
max-width: 1040px;
margin: 0 auto;
padding: clamp(1.4rem, 3.5vw, 2.4rem) clamp(1rem, 4vw, 2.5rem) clamp(0.9rem, 2vw, 1.4rem);
text-align: center;
}
.ab-hero__title {
margin: 0 0 0.7rem;
font-size: clamp(1.55rem, 2.7vw, 2.35rem);
line-height: 1.15;
color: var(--ink-900);
letter-spacing: -0.02em;
}
/* one line wherever it fits; it wraps only on narrow screens */
@media (min-width: 900px) {
.ab-hero__title { white-space: nowrap; }
}
.ab-hero__lead {
margin: 0 auto;
max-width: 44rem;
font-size: clamp(1rem, 1.6vw, 1.1rem);
line-height: 1.65;
color: var(--text);
}

/* ---------- Feature blocks ---------- */
.ab-blocks {
display: grid;
gap: clamp(0.9rem, 2.2vw, 1.3rem);
max-width: 1040px;
margin: 0 auto;
padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(1.4rem, 3.5vw, 2.2rem);
}
.ab-block {
display: grid;
grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
gap: clamp(1rem, 2.6vw, 1.8rem);
align-items: center;
background: var(--paper);
border-radius: 20px;
padding: clamp(1rem, 2.6vw, 1.5rem);
box-shadow: 0 18px 40px -28px rgba(30, 77, 50, 0.35);
}
/* image sides on wide screens: practices photo on the left, Alice & Kevin on the right */
.ab-block--guides .ab-block__media { order: 2; }
.ab-block--text { grid-template-columns: 1fr; }
.ab-block__media {
margin: 0;
border-radius: 16px;
overflow: hidden;
background: rgba(224, 168, 105, 0.12);
}
.ab-block__media img {
display: block;
width: 100%;
height: auto;
}
/* Alice & Kevin: a smaller frame than the other block image (about 60% of its
   width). This block is the third, so its photo sits in the right-hand column. */
.ab-block--guides { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr); }
.ab-block__media--small {
width: 100%;
max-width: 250px;
justify-self: center;
}
.ab-block__body { color: var(--text); font-size: clamp(1rem, 1.6vw, 1.05rem); line-height: 1.68; }
.ab-block__body h2 {
margin: 0 0 0.55rem;
font-size: clamp(1.3rem, 2.6vw, 1.6rem);
line-height: 1.2;
color: var(--ink-900);
}
.ab-block__body p { margin: 0 0 0.75rem; }
.ab-block__body p a {
color: var(--sage-dk);
font-weight: 600;
text-decoration: underline;
text-underline-offset: 2px;
}
.ab-btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
min-height: 44px;
margin-top: 0.1rem;
padding: 0.7rem 1.4rem;
border-radius: 999px;
font-weight: 700;
color: #fff;
text-decoration: none;
background: linear-gradient(120deg, var(--violet), var(--sky));
box-shadow: 0 14px 30px -14px rgba(30, 77, 50, 0.6);
}
.ab-btn:focus-visible,
.ab-block__body p a:focus-visible,
.ab-social__link:focus-visible {
outline: 3px solid rgba(61, 153, 112, 0.7);
outline-offset: 3px;
}

/* ---------- Follow us ---------- */
.ab-follow {
text-align: center;
padding: clamp(1.1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem);
background: var(--paper);
border-radius: 20px;
box-shadow: 0 18px 40px -28px rgba(30, 77, 50, 0.35);
}
.ab-follow h2 {
margin: 0 0 0.4rem;
font-size: clamp(1.3rem, 2.6vw, 1.6rem);
color: var(--ink-900);
}
.ab-follow p {
margin: 0 auto 0.9rem;
max-width: 38rem;
color: var(--text);
line-height: 1.6;
}
.ab-social {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 0.9rem;
}
/* the logos keep their own shapes and brand colours */
.ab-social__link {
width: 48px;
height: 48px;
display: inline-grid;
place-items: center;
border-radius: 12px;
transition: transform 180ms ease;
}
.ab-social__link:hover { transform: translateY(-2px) scale(1.05); }
.ab-social__link svg { display: block; }

/* ---------- Founder story ---------- */
.ab-founder { padding-top: clamp(0.2rem, 1.5vw, 0.6rem); }
.ab-divider {
width: min(160px, 40%);
height: 4px;
margin: 0 auto clamp(1.2rem, 3vw, 1.8rem);
border-radius: 999px;
background: linear-gradient(90deg, var(--violet), var(--sky));
opacity: 0.55;
}
.ab-founder .fd-wrap { padding-bottom: clamp(2rem, 4.5vw, 3rem); }
.ab-founder .fd-story { line-height: 1.7; }

@media (max-width: 760px) {
.ab-block,
.ab-block--guides { grid-template-columns: 1fr; }
.ab-block--guides .ab-block__media { order: 0; }
.ab-block__media--small { max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) {
.ab-social__link { transition: none; }
}
