/* About page */
.aap-about .ab-h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; margin: 0 0 16px; }
.aap-about .ab-center { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.aap-about .ab-sub { color: var(--aap-muted); margin: 0; }
.aap-about .aap-band--mint, .aap-about .aap-band--cream, .aap-about .aap-band--blush { padding-block: 72px; }
.aap-about .aap-section { padding-block: 72px; }

/* Reveal */
.aap-js .ab-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--aap-ease), transform .7s var(--aap-ease); }
.aap-js .ab-reveal.is-in { opacity: 1; transform: none; }

/* Hero */
.ab-hero { background: var(--aap-cream); padding: 56px 0 72px; overflow: hidden; }
.ab-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.ab-hero__title { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; margin: 0 0 20px; }
.ab-hero__title em { color: var(--aap-accent); font-style: italic; }
.ab-hero__lede { font-size: 19px; color: var(--aap-muted); max-width: 540px; margin-bottom: 28px; }
.ab-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-hero__art { position: relative; min-height: 460px; }
.ab-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero__main { position: absolute; inset: 0 0 60px 60px; border-radius: 28px; overflow: hidden; box-shadow: var(--aap-shadow); }
.ab-hero__small { position: absolute; width: 40%; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; border: 6px solid var(--aap-cream); box-shadow: var(--aap-shadow); }
.ab-hero__small--a { left: 0; bottom: 0; animation: ab-float 7s ease-in-out infinite; }
.ab-hero__small--b { right: -10px; top: -14px; width: 30%; animation: ab-float 8s ease-in-out -2s infinite; }
.ab-badge { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 10px 24px rgba(28, 25, 23, .14); white-space: nowrap; }
.ab-badge .aap-ico { color: #C2334B; fill: #C2334B; }
.ab-badge--1 { right: 18%; bottom: 22px; animation: ab-float 6s ease-in-out -1s infinite; }
.ab-badge--2 { left: 30%; top: 38%; color: var(--aap-accent); animation: ab-float 7s ease-in-out -3s infinite; }
@keyframes ab-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Stats */
.ab-stats { background: var(--aap-accent); color: #fff; padding: 40px 0; }
.ab-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.ab-stat strong { display: block; font-family: var(--aap-serif); font-weight: 400; font-size: clamp(40px, 5vw, 58px); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.ab-stat span { font-size: 15px; opacity: .85; }
.ab-stat + .ab-stat { border-left: 1px solid rgba(255, 255, 255, .18); }

/* Story */
.ab-story__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ab-story__img { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; }
.ab-story__img img { width: 100%; height: 100%; object-fit: cover; }
.ab-story__text p { font-size: 18px; }
.ab-story__sig { border-left: 4px solid var(--aap-accent); padding: 6px 0 6px 18px; font-size: 19px !important; }

/* Mission and vision */
.ab-seg { display: flex; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 5px; background: #fff; border-radius: 999px; border: 1px solid var(--aap-line); overflow-x: auto; }
.ab-seg button, .ab-chips button { border: 0; background: none; padding: 11px 22px; border-radius: 999px; font-weight: 700; color: var(--aap-ink); white-space: nowrap; transition: background .2s, color .2s; }
.ab-seg button:hover, .ab-chips button:hover { background: var(--aap-cream); color: var(--aap-ink); }
.ab-seg button[aria-selected="true"], .ab-chips button[aria-selected="true"] { background: var(--aap-accent); color: #fff; }
.ab-mv__panel { position: relative; max-width: 880px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 48px 56px; text-align: center; box-shadow: 0 10px 30px rgba(0, 79, 68, .08); animation: ab-in .45s var(--aap-ease); }
.ab-mv__num { position: absolute; top: 18px; left: 26px; font-family: var(--aap-serif); font-size: 64px; line-height: 1; color: var(--aap-mint); }
.ab-mv__quote { font-family: var(--aap-serif); font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; margin: 0 0 18px; color: var(--aap-accent); }
.ab-mv__panel p { color: var(--aap-muted); max-width: 640px; margin: 0 auto; }
@keyframes ab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Values flip cards */
.ab-flip-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ab-flip { display: block; width: 100%; height: 230px; padding: 0; border: 0; background: none; perspective: 1000px; text-align: left; color: var(--aap-ink); }
.ab-flip__inner { position: relative; display: block; width: 100%; height: 100%; transition: transform .6s var(--aap-ease); transform-style: preserve-3d; }
.ab-flip[aria-pressed="true"] .ab-flip__inner { transform: rotateY(180deg); }
@media (hover: hover) { .ab-flip:hover .ab-flip__inner { transform: rotateY(180deg); } }
.ab-flip__front, .ab-flip__back { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; border-radius: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.ab-flip__front { background: var(--aap-cream); border: 1px solid var(--aap-line); }
.ab-flip-grid li:nth-child(3n+2) .ab-flip__front { background: var(--aap-mint); }
.ab-flip-grid li:nth-child(3n) .ab-flip__front { background: var(--aap-blush); }
.ab-flip__back { background: var(--aap-accent); color: #fff; transform: rotateY(180deg); justify-content: flex-start; gap: 10px; }
.ab-flip__n { font-family: var(--aap-serif); font-size: 44px; line-height: 1; color: var(--aap-accent); opacity: .35; }
.ab-flip__t { font-family: var(--aap-serif); font-size: 30px; line-height: 1.1; }
.ab-flip__t--sm { font-size: 22px; }
.ab-flip__d { font-size: 16px; line-height: 1.5; opacity: .92; }
.ab-flip__hint { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--aap-muted); }

/* Stage picker */
.ab-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.ab-chips button { background: #fff; border: 1px solid var(--aap-line); }
.ab-stage { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; background: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 10px 30px rgba(28, 25, 23, .06); animation: ab-in .45s var(--aap-ease); }
.ab-stage__intro h3 { font-size: 34px; margin-bottom: 10px; }
.ab-stage__intro p { color: var(--aap-muted); font-size: 18px; }
.ab-stage__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ab-stage__list { list-style: none; display: grid; gap: 10px; }
.ab-stage__list a { display: grid; grid-template-columns: 64px 1fr 20px; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; border: 1px solid var(--aap-line); transition: border-color .2s, transform .2s var(--aap-ease), background .2s; }
.ab-stage__list a:hover { border-color: var(--aap-accent); background: var(--aap-mint); transform: translateX(4px); }
.ab-stage__thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--aap-cream); }
.ab-stage__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ab-stage__title { font-family: var(--aap-serif); font-size: 19px; line-height: 1.2; }
.ab-stage__list .aap-ico { color: var(--aap-accent); }
.ab-stage__empty { padding: 20px; background: var(--aap-cream); border-radius: 14px; color: var(--aap-muted); }

/* How we work */
.ab-how__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.ab-how__intro { position: sticky; top: 100px; }
.ab-how__intro p { font-size: 18px; color: var(--aap-muted); }
.ab-how__img { margin: 28px 0 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.ab-how__img img { width: 100%; height: 100%; object-fit: cover; }
.ab-steps { list-style: none; position: relative; display: grid; gap: 18px; }
.ab-steps::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 2px; background: var(--aap-line); }
.ab-steps li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--aap-line); transition: box-shadow .25s, transform .25s var(--aap-ease); }
.ab-steps li:hover { box-shadow: var(--aap-shadow); transform: translateY(-2px); }
.ab-steps__n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -8px; border-radius: 50%; background: var(--aap-accent); color: #fff; font-family: var(--aap-serif); font-size: 22px; line-height: 1; }
.ab-steps h3 { font-size: 23px; margin: 6px 0 6px; }
.ab-steps p { margin: 0; color: var(--aap-muted); }
.ab-sources { margin-top: 56px; padding: 28px; border-radius: 20px; background: var(--aap-cream); text-align: center; }
.ab-sources__title { font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--aap-accent); margin-bottom: 14px !important; }
.ab-sources ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ab-sources li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--aap-line); font-size: 14px; font-weight: 600; }

/* About the author */
.ab-team__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.ab-team__card { background: #fff; border-radius: 24px; padding: 36px; text-align: center; box-shadow: 0 10px 30px rgba(28, 25, 23, .06); }
.ab-team__avatar { width: 132px; height: 132px; margin: 0 auto 20px; border-radius: 34px; background: var(--aap-accent); display: grid; place-items: center; transform: rotate(-4deg); box-shadow: 0 14px 30px rgba(0, 79, 68, .28); transition: transform .4s var(--aap-ease); }
.ab-team__card:hover .ab-team__avatar { transform: rotate(3deg) scale(1.04); }
.ab-team__avatar span { font-family: var(--aap-serif); font-size: 96px; line-height: 1; color: var(--aap-cream); margin-top: -12px; }
.ab-team__name { font-size: 30px !important; }
.ab-team__role { color: var(--aap-muted); font-weight: 600; }
.ab-team__tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.ab-team__tags li { padding: 6px 12px; border-radius: 999px; background: var(--aap-blush); font-size: 13px; font-weight: 700; }
.ab-team__bio p { font-size: 18px; }
.ab-team__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.ab-team__facts div { background: #fff; border-radius: 16px; padding: 16px; }
.ab-team__facts strong { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--aap-accent); margin-bottom: 4px; }
.ab-team__facts span { font-size: 15px; line-height: 1.4; }
.ab-team__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-team__cta .aap-btn { display: inline-flex; align-items: center; gap: 8px; }
.ab-latest { margin-top: 56px; }
.ab-latest__title { font-size: 28px; margin-bottom: 20px; }

/* Truths */
.ab-truths__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.ab-truths__img { margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 1; }
.ab-truths__img img { width: 100%; height: 100%; object-fit: cover; }
.ab-truths__quote { font-family: var(--aap-serif); font-size: clamp(30px, 3.8vw, 48px); line-height: 1.12; margin: 6px 0 28px !important; min-height: 2.3em; transition: opacity .3s, transform .3s var(--aap-ease); }
.ab-truths__quote::before { content: "\201C"; display: block; font-size: 1.6em; line-height: .6; color: var(--aap-accent); opacity: .4; }
.ab-truths__quote.is-out { opacity: 0; transform: translateY(8px); }

/* FAQ */
.ab-acc { background: #fff; border-radius: 20px; padding: 6px 28px; border-top: 0; }
.ab-acc .aap-acc__item:last-child { border-bottom: 0; }
.ab-acc .aap-acc__btn { font-size: 21px; padding: 20px 0; gap: 16px; }
.ab-acc__panel p { color: var(--aap-muted); margin: 0 0 20px; }

/* Contact */
.ab-contact__box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 48px; border-radius: 24px; background: var(--aap-ink); color: #fff; }
.ab-contact__box .ab-h2 { color: #fff; }
.ab-contact__box p { opacity: .8; max-width: 560px; margin: 0; }
.ab-contact__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-contact__box .aap-btn--outline { color: #fff !important; border-color: #fff; }
.ab-contact__box .aap-btn--outline:hover { background: #fff; color: var(--aap-ink) !important; }
.ab-disclaimer { margin: 18px 0 0; font-size: 14px; color: var(--aap-muted); text-align: center; }

@media (prefers-reduced-motion: reduce) {
	.ab-hero__small, .ab-badge { animation: none !important; }
	.ab-flip__inner, .ab-mv__panel, .ab-stage { transition: none; animation: none; }
}

@media (max-width: 960px) {
	.ab-hero__grid, .ab-story__grid, .ab-how__grid, .ab-team__grid, .ab-truths__grid, .ab-stage { grid-template-columns: 1fr; }
	.ab-hero__art { min-height: 380px; }
	.ab-how__intro { position: static; }
	.ab-flip-grid { grid-template-columns: repeat(2, 1fr); }
	.ab-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
	.ab-stat:nth-child(3) { border-left: 0; }
	.ab-story__img, .ab-truths__img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
	.aap-about .aap-band--mint, .aap-about .aap-band--cream, .aap-about .aap-band--blush, .aap-about .aap-section { padding-block: 52px; }
	.ab-hero { padding: 36px 0 52px; }
	.ab-hero__art { min-height: 300px; }
	.ab-hero__main { inset: 0 0 40px 30px; }
	.ab-badge { font-size: 12px; padding: 8px 12px; }
	.ab-badge--2 { left: 12%; top: 44%; }
	.ab-flip-grid { grid-template-columns: 1fr; }
	.ab-flip { height: 200px; }
	.ab-mv__panel { padding: 40px 22px 28px; }
	.ab-mv__num { font-size: 44px; top: 12px; left: 16px; }
	.ab-stage { padding: 22px; }
	.ab-team__facts { grid-template-columns: 1fr; }
	.ab-acc { padding: 4px 18px; }
	.ab-acc .aap-acc__btn { font-size: 19px; }
	.ab-contact__box { padding: 28px 24px; }
	.ab-seg button { padding: 10px 16px; }
}
