/* =============================================================================
   About page (Claude Design About.dc.html). Tokens only (theme.json via the theme.css aliases);
   motion on --m-* / --e-*. Breakpoints: the shared tokens (theme.json, theme.css).
   ============================================================================= */

.ab-wrap { max-width: var(--wp--custom--maxw--content); margin: 0 auto; }
.ab-btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-4); }

/* Navy bands: SectionHead tone="dark" is translucent sand on navy (Eyebrow tone "dark"). */
.ab-navy { background-color: var(--c-navy); color: var(--c-cream); }
.ab-navy .wsp-section-head.is-dark .wsp-eyebrow { color: var(--wp--custom--alpha--sand-80); border-bottom-color: var(--wp--custom--alpha--sand-50); }
.ab-navy .wsp-section-head.is-dark .wsp-section-sub { color: var(--wp--custom--alpha--sand-80); }

/* ---- Hero ---------------------------------------------------------------- */
.ab-hero {
	position: relative; overflow: hidden; background-color: var(--c-white);
	min-height: 760px; display: flex; align-items: center; justify-content: center;
	padding: calc(var(--s-24) + var(--s-20)) var(--s-8) calc(2 * var(--s-24) + var(--s-5));
	border-bottom: 3px dashed var(--c-navy);
}
.ab-hero-art, .ab-hero-floats {
	position: absolute; inset: 0; max-width: var(--wp--custom--maxw--wide); margin: 0 auto; pointer-events: none;
}
.ab-hero-floats { bottom: var(--s-8); }
/* Illustrations (Cara's review, slice 3 #16): smaller than the design's, and never under a photo. From wide (1240),
   where the five photos show, the magnifier and map sit inside the top pair of photos and Pinky and the
   footprints below the side ones; below 1240 the photos are hidden and the illustrations take the corners (at 900 the
   side photos ran into the title). */
.ab-hero-illo { position: absolute; height: auto; display: block; }
.ab-hero-illo.is-mag { left: 21%; top: 4%; width: clamp(56px, 6.5vw, 110px); }
.ab-hero-illo.is-map { right: 21%; top: 3%; width: clamp(60px, 7vw, 120px); }
.ab-hero-illo.is-pinky { left: 9%; bottom: 4%; width: clamp(48px, 7vw, 120px); }
.ab-hero-illo.is-feet { right: 3%; bottom: 6%; width: clamp(60px, 8vw, 140px); }
.ab-hero-float {
	position: absolute; width: clamp(150px, 14vw, 200px); aspect-ratio: 200 / 132; overflow: hidden;
	border: 2px solid var(--c-navy); box-shadow: var(--wp--custom--shadow--navy-6); background-color: var(--c-sand);
}
.ab-hero-float img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-hero-float.is-1 { left: 2.5%; top: var(--s-10); transform: rotate(-6deg); }
.ab-hero-float.is-2 { left: 6%; top: calc(2.9 * var(--s-24)); transform: rotate(4deg); }
.ab-hero-float.is-3 { left: 41%; bottom: var(--s-5); transform: rotate(-3deg); }
.ab-hero-float.is-4 { right: 8%; top: calc(3 * var(--s-24)); transform: rotate(-4deg); }
.ab-hero-float.is-5 { right: 4%; top: var(--s-6); transform: rotate(6deg); }
.ab-hero-copy { position: relative; max-width: var(--wp--custom--maxw--text); margin: 0 auto; text-align: center; }
.ab-hero-eyebrow {
	font-family: var(--f-label); font-size: var(--fs-lede); letter-spacing: var(--wp--custom--ls--greeting);
	color: var(--c-pink-text); margin-bottom: var(--s-4);
}
.ab-hero-title {
	font-family: var(--f-display); font-weight: 700; font-size: var(--wp--preset--font-size--display-hero); line-height: 1.08;
	letter-spacing: var(--wp--custom--ls--hero); color: var(--c-navy); margin: 0 0 var(--s-5); text-wrap: balance;
}
.ab-hero-lede { font-size: var(--fs-lede); color: var(--c-muted); margin: 0 0 var(--s-8); }
@media (max-width: 1239px) {
	.ab-hero-floats { display: none; }
	.ab-hero-illo.is-mag { left: 3.6%; top: 3%; width: clamp(40px, 9vw, 96px); }
	.ab-hero-illo.is-map { right: 6%; top: 2.5%; width: clamp(44px, 9.5vw, 104px); }
	.ab-hero-illo.is-pinky { left: 7.5%; bottom: 6%; width: clamp(40px, 8vw, 88px); }
	.ab-hero-illo.is-feet { right: 2%; bottom: 7%; width: clamp(48px, 10vw, 110px); }
}
@media (max-width: 899px) {
	.ab-hero { min-height: 560px; padding: var(--s-24) var(--s-8) calc(var(--s-24) + var(--s-5)); }
}
@media (max-width: 640px) {
	.ab-hero {
		min-height: 0;
		padding: calc(var(--s-16) + var(--s-2)) var(--wp--custom--section--pad-x-mobile) calc(var(--s-20) + var(--s-2));
	}
	.ab-hero-title { font-size: var(--fs-2xl); line-height: 1.1; }
	.ab-hero-lede { font-size: var(--fs-md); margin-bottom: var(--s-6); }
	.ab-hero-eyebrow { font-size: var(--fs-button); letter-spacing: var(--wp--custom--ls--label); line-height: 1.4; }
	.ab-hero .ab-btn-row { gap: var(--s-3); }
}

/* ---- Our story ------------------------------------------------------------ */
.ab-story-grid {
	max-width: var(--wp--custom--maxw--content); margin: 0 auto;
	display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-16); align-items: start;
}
@media (min-width: 900px) { .ab-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ab-polaroids { position: relative; width: 100%; max-width: 480px; aspect-ratio: 480 / 820; }
.ab-polaroid {
	margin: 0; background-color: var(--c-white);
	box-shadow: var(--wp--custom--shadow--polaroid);
}
.ab-polaroid-photo { aspect-ratio: 3 / 4; overflow: hidden; background-color: var(--c-sand); }
.ab-polaroid-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-polaroid figcaption { text-align: center; font-family: var(--f-display); font-weight: 600; color: var(--c-navy); }
.ab-polaroid.is-1 { position: relative; z-index: var(--wp--custom--z--raised); width: 74%; padding: var(--s-3) var(--s-3) var(--s-10); transform: rotate(-2deg); }
.ab-polaroid.is-1 img { object-position: center top; }
.ab-polaroid.is-1 figcaption { font-size: var(--fs-button); margin-top: var(--s-3); }
.ab-polaroid.is-2, .ab-polaroid.is-3 { position: absolute; padding: var(--s-2) var(--s-2) var(--s-8); }
.ab-polaroid.is-2 { top: 53.7%; left: 0; width: 46%; transform: rotate(5deg); }
.ab-polaroid.is-3 { top: 57.3%; left: 50%; width: 44%; transform: rotate(-6deg); z-index: calc(2 * var(--wp--custom--z--raised)); }
.ab-polaroid.is-2 figcaption, .ab-polaroid.is-3 figcaption { font-size: var(--fs-sm); margin-top: var(--s-2); }
.ab-eyebrow {
	display: inline-block; font-family: var(--f-label); font-size: var(--fs-md); letter-spacing: var(--wp--custom--ls--greeting);
	color: var(--c-pink-text); border-bottom: 2px solid var(--c-pink); padding-bottom: var(--s-1); margin-bottom: var(--s-3);
}
.ab-story-title { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h2-compact); line-height: 1.1; color: var(--c-navy); margin: 0 0 var(--s-6); }
.ab-story-body { display: flex; flex-direction: column; gap: var(--s-4); font-size: var(--fs-md); line-height: 1.7; color: var(--c-body); }
.ab-story-body p { margin: 0; }
.ab-story-coda {
	margin: var(--s-6) 0 0; padding-top: var(--s-6); border-top: 3px dashed var(--c-navy);
	font-style: italic; font-size: var(--fs-md); line-height: var(--wp--custom--lh--body); color: var(--c-muted);
}

/* ---- Where we hunt (crossfading city slideshow of cards) ------------------ */
.ab-where { background: var(--c-navy) repeating-linear-gradient(115deg, transparent, transparent 60px, var(--wp--custom--alpha--sand-07) 60px, var(--wp--custom--alpha--sand-07) 62px); }
/* Every slide shares one grid cell, so the stage is as tall as the tallest card and the cards crossfade in place. */
.ab-where-stage { display: grid; touch-action: pan-y; }
.ab-where-slide {
	position: relative; inset: auto; grid-area: 1 / 1; display: flex; flex-direction: column;
	background-color: var(--c-white); border: 3px solid var(--c-cream); box-shadow: var(--wp--custom--shadow--photo);
	visibility: hidden; transition: opacity var(--m-slow) var(--e-std), visibility var(--m-slow) var(--e-std);
}
/* Inactive cards fade out AND leave the tab order (their "Explore" links), after the fade. */
.ab-where-slide.is-active { visibility: visible; }
/* The photo fills the card (Cara, G9 2026-10-19, replacing her earlier "never cropped"): cover, on each photo's focal
   point (--wsp-pos, about-where.php) so the group stays in frame. */
.ab-where-photo { position: relative; aspect-ratio: 16 / 9; max-height: 640px; overflow: hidden; background-color: var(--c-navy); border-bottom: 3px solid var(--c-navy); }
.ab-where-slide .ab-where-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--wsp-pos, 50% 50%); display: block; }
/* Body: the Built-For card scale (label, 22px title, 15px text) with the city link as its CTA. */
.ab-where-body { padding: var(--s-6) var(--s-8) var(--s-8); text-align: center; }
.ab-where-label { font-family: var(--f-label); font-size: var(--fs-sm); letter-spacing: var(--wp--custom--ls--label); color: var(--c-pink-text); margin-bottom: var(--s-2); }
.ab-where-name { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h3); line-height: var(--wp--custom--lh--tight); color: var(--c-navy); margin: 0 0 var(--s-2); }
.ab-where-desc { font-size: var(--fs-button); line-height: var(--wp--custom--lh--body); color: var(--c-muted); max-width: var(--wp--custom--maxw--prose); margin: 0 auto var(--s-4); text-wrap: pretty; }
.ab-where-link {
	display: inline-block; font-family: var(--f-label); font-size: var(--fs-button); letter-spacing: var(--wp--custom--ls--button);
	color: var(--c-navy); border-bottom: 2px solid var(--c-pink); padding-bottom: var(--s-1);
	transition: color var(--m-fast) var(--e-std);
}
.ab-where-link:hover { color: var(--c-pink-text); }
.ab-where .wsp-carousel-controls { margin-top: var(--s-8); }
.ab-where .wsp-dot span { border-color: var(--c-cream); }
.ab-where .wsp-dot.is-bar[aria-current="true"] span { border-color: var(--c-cream); }
@media (max-width: 640px) {
	.ab-where-photo { aspect-ratio: 4 / 3; }
	.ab-where-body { padding: var(--s-5) var(--s-5) var(--s-6); }
}

/* ---- What we believe ------------------------------------------------------ */
.ab-believe-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-10); align-items: stretch; }
@media (min-width: 900px) { .ab-believe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ab-believe-cards { display: flex; flex-direction: column; gap: var(--s-8); padding-top: var(--s-4); }
.ab-believe-photo { position: relative; min-height: 480px; overflow: hidden; border: 3px solid var(--c-navy); box-shadow: var(--sh-hero); background-color: var(--c-sand); }
.ab-believe-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .ab-believe-photo { min-height: 320px; } }

/* ---- Built for (audience cards) ------------------------------------------- */
/* Four cards: one column on a phone, 2 × 2 up to 1239, one row of four from wide (1240). Never 3 + 1. */
.ab-audiences { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
@media (min-width: 641px) { .ab-audiences { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .ab-audiences { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ab-audience {
	display: flex; flex-direction: column; background-color: var(--c-white); border: 3px solid var(--c-navy);
	box-shadow: var(--wp--custom--shadow--teal-6);
	transition: transform var(--m-base) var(--e-std), box-shadow var(--m-base) var(--e-std);
}
.ab-audience:hover { transform: var(--lift-lg); box-shadow: var(--wp--custom--shadow--pink-9); }
.ab-audience-photo { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 3px solid var(--c-navy); background-color: var(--c-sand); }
.ab-audience-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-audience-body { padding: var(--s-6) var(--s-5) var(--s-8); text-align: center; }
.ab-audience-icon { font-size: var(--fs-lg); line-height: 1; margin-bottom: var(--s-3); }
.ab-audience-title { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-h3); line-height: var(--wp--custom--lh--tight); color: var(--c-navy); margin: 0 0 var(--s-2); }
.ab-audience-text { font-size: var(--fs-button); line-height: var(--wp--custom--lh--body); color: var(--c-muted); margin: 0; text-wrap: pretty; }

/* ---- Why it works (static testimonial cards) ------------------------------ */
/* Three reviews: one column on a tablet, three across from desktop (900). Phones show the carousel instead. */
.ab-reviews { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
@media (min-width: 900px) { .ab-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ab-reviews .wsp-testimonial { padding: var(--s-10); }
/* Phones: the same reviews in Home's testimonial carousel (swipe, dots, eased); the grid hides. */
.ab-reviews-carousel { display: none; }
@media (max-width: 640px) {
	.ab-why:has(.ab-reviews-carousel) .ab-reviews { display: none; }
	.ab-reviews-carousel { display: block; }
}

/* ---- CTA ------------------------------------------------------------------ */
.ab-cta { text-align: center; color: var(--c-cream); }
.ab-cta-inner { max-width: var(--wp--custom--maxw--text); margin: 0 auto; }
.ab-cta .wsp-pinky-badge { margin-bottom: var(--s-6); box-shadow: var(--wp--preset--shadow--sm); }
.ab-cta-title {
	font-family: var(--f-display); font-weight: 700; font-size: var(--wp--preset--font-size--h-1); line-height: 0.95;
	letter-spacing: var(--wp--custom--ls--hero); color: inherit; margin: 0 0 var(--s-4);
}
.ab-cta-text { font-size: var(--fs-lede); line-height: var(--wp--custom--lh--body); color: var(--c-white); margin: 0 0 var(--s-8); }
