/*
 * African Broadway design system. Styles ordinary blocks (group, heading,
 * paragraph, image, buttons, gallery, embed) through the classes set on them,
 * so Lydia can edit words and pictures in the block editor without touching
 * layout. Mobile first: base rules are the phone layout; wider screens add.
 *
 * Contents
 *   1  Base            6  Home: hero, collage, marquee
 *   2  Layout          7  Sections: feature, statement, cards, dev, press, bands
 *   3  Type            8  Inner pages: pagehead, split, credits, options, gallery
 *   4  Buttons         9  Donate, contact form
 *   5  Header, footer  10 Motion, print
 */

/* 1 Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.ab-site {
	margin: 0;
	background: var(--ab-paper);
	color: var(--ab-ink);
	font: 400 18px/1.6 var(--ab-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
.ab-site img { display: block; max-width: 100%; height: auto; }
.ab-site a { color: inherit; text-underline-offset: .18em; }
.ab-site a:hover { color: var(--ab-hibiscus); }
.ab-site :focus-visible { outline: 3px solid var(--ab-royal); outline-offset: 3px; }
.ab-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ab-ink); color: var(--ab-paper); padding: 12px 16px; border-radius: 999px; }
.ab-skip:focus { left: 8px; }

/* 2 Layout ---------------------------------------------------------------- */
.ab-wrap { width: 100%; max-width: var(--ab-max); margin-left: auto; margin-right: auto; padding-left: var(--ab-gutter); padding-right: var(--ab-gutter); }
.ab-section { padding-top: var(--ab-section-y); padding-bottom: var(--ab-section-y); position: relative; }
.ab-section.ab-section--tight { padding-top: calc(var(--ab-section-y) * .55); padding-bottom: calc(var(--ab-section-y) * .55); }
.ab-section.ab-rule { border-top: 2px solid var(--ab-ink); }
.ab-page > .wp-block-group, .ab-page > section { margin: 0; }
.ab-grid-2 { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; }
.ab-prose { max-width: var(--ab-prose); }
.ab-prose > * + * { margin-top: 1em; }
.ab-center { text-align: center; margin-left: auto; margin-right: auto; }
.ab-bg-paper-2 { background: var(--ab-paper-2); }
.ab-bg-white { background: var(--ab-white); }
.wp-block-group.ab-stack > * { margin-top: 0; margin-bottom: 0; }
.wp-block-group.ab-stack > * + * { margin-top: 18px; }

/* 3 Type ------------------------------------------------------------------ */
.ab-site h1, .ab-site h2, .ab-site h3, .ab-site h4 {
	font-family: var(--ab-display);
	font-weight: 800;
	letter-spacing: -.025em;
	color: inherit;
	margin: 0 0 .4em;
}
.ab-site h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1; }
.ab-site h2 { font-size: clamp(34px, 4.6vw, 68px); line-height: 1.02; }
.ab-site h3 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.08; }
.ab-site h4 { font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.ab-site p { margin: 0 0 1em; }
.ab-lede { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--ab-ink-soft); max-width: 34em; }
.ab-on-colour .ab-lede, .ab-feature .ab-lede { color: inherit; }
.ab-meta { font: 700 14px/1.3 var(--ab-body); letter-spacing: .06em; text-transform: uppercase; }

/* Highlight: bold text inside an .ab-hl heading gets a marigold underlay. */
.ab-hl strong {
	font-weight: inherit;
	background: linear-gradient(transparent 58%, var(--ab-marigold) 58%, var(--ab-marigold) 90%, transparent 90%);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	padding: 0 .06em;
}
.ab-hl.ab-hl--pink strong { background: linear-gradient(transparent 58%, var(--ab-hibiscus) 58%, var(--ab-hibiscus) 90%, transparent 90%); }

/* Kicker pill (paragraph style). */
.ab-site p.is-style-ab-kicker {
	display: inline-block;
	font: 700 14px/1 var(--ab-body);
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--ab-ink);
	color: var(--ab-paper);
	margin: 0 0 22px;
}
.ab-site p.is-style-ab-kicker.ab-kicker--gold { background: var(--ab-marigold); color: var(--ab-ink); }
.ab-site p.is-style-ab-kicker.ab-kicker--paper { background: var(--ab-paper); color: var(--ab-ink); }
.ab-site p.is-style-ab-kicker.ab-kicker--royal { background: var(--ab-royal); color: #fff; }

/* Big statement (paragraph style). */
.ab-site p.is-style-ab-big { font: 600 clamp(26px, 3.2vw, 44px)/1.2 var(--ab-display); letter-spacing: -.015em; max-width: 26em; }

/* 4 Buttons --------------------------------------------------------------- */
.ab-site .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.ab-site .wp-block-button { margin: 0; }
.ab-site .wp-block-button__link,
.ab-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 17px 26px;
	border-radius: 999px;
	font: 700 16px/1 var(--ab-body);
	text-decoration: none;
	border: 2px solid var(--ab-ink);
	background: var(--ab-ink);
	color: var(--ab-paper);
	cursor: pointer;
	transition: transform .2s, box-shadow .2s, background-color .2s;
}
.ab-site .wp-block-button__link:hover,
.ab-btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ab-ink); color: inherit; }
.ab-site .wp-block-button__link:hover { color: var(--ab-paper); }
.ab-site .is-style-ab-pink .wp-block-button__link, .ab-btn--pink { background: var(--ab-hibiscus); border-color: var(--ab-hibiscus); color: #fff; }
.ab-site .is-style-ab-pink .wp-block-button__link:hover { color: #fff; }
.ab-site .is-style-ab-ghost .wp-block-button__link { background: transparent; color: var(--ab-ink); }
.ab-site .is-style-ab-ghost .wp-block-button__link:hover { color: var(--ab-ink); }
.ab-site .is-style-ab-white .wp-block-button__link { background: #fff; border-color: #fff; color: var(--ab-ink); }
.ab-site .is-style-ab-white .wp-block-button__link:hover { color: var(--ab-ink); }
.ab-site .is-style-ab-royal .wp-block-button__link { background: var(--ab-royal); border-color: var(--ab-royal); color: #fff; }
.ab-site .is-style-ab-royal .wp-block-button__link:hover { color: #fff; }
.ab-site .is-style-ab-gold .wp-block-button__link { background: var(--ab-marigold); color: var(--ab-ink); }
.ab-site .is-style-ab-gold .wp-block-button__link:hover { color: var(--ab-ink); }
/* On coloured bands the outline button turns white. */
.ab-on-colour .is-style-ab-ghost .wp-block-button__link { border-color: #fff; color: #fff; }

/* 5 Header, footer -------------------------------------------------------- */
.ab-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 248, 239, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 2px solid var(--ab-ink); }
.admin-bar .ab-header { top: 46px; }
.ab-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.ab-site .ab-logo { display: block; width: 112px; color: var(--ab-maroon); line-height: 0; }
.ab-site .ab-logo:hover { color: var(--ab-maroon); }
.ab-logo svg { width: 100%; height: auto; display: block; }
.ab-menu-toggle { font: 700 15px/1 var(--ab-body); color: var(--ab-ink); background: var(--ab-marigold); border: 2px solid var(--ab-ink); border-radius: 999px; padding: 12px 16px; cursor: pointer; }
.ab-menu-toggle__close { display: none; }
.ab-nav-open .ab-menu-toggle__open { display: none; }
.ab-nav-open .ab-menu-toggle__close { display: inline; }
.ab-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ab-paper); border-bottom: 2px solid var(--ab-ink); padding: 18px var(--ab-gutter) 28px; }
.ab-nav-open .ab-nav { display: block; }
.ab-nav__list { list-style: none; margin: 0 0 18px; padding: 0; }
.ab-nav__list a { display: block; padding: 12px 0; font: 800 26px/1.1 var(--ab-display); letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid rgba(29, 19, 48, .12); }
.ab-nav__list .current-menu-item > a, .ab-nav__list .current_page_item > a { color: var(--ab-hibiscus); }
.ab-nav__partner, .ab-footer__partner { display: inline-block; background: var(--ab-marigold); color: var(--ab-ink); border: 2px solid var(--ab-ink); border-radius: 999px; padding: 13px 18px; font: 700 15px/1 var(--ab-body); text-decoration: none; white-space: nowrap; }
.ab-nav__partner:hover, .ab-footer__partner:hover { color: var(--ab-ink); box-shadow: 3px 3px 0 var(--ab-ink); }

.ab-footer { background: var(--ab-ink); color: var(--ab-on-dark); padding: 64px 0 32px; font-size: 16px; }
.ab-footer a { text-decoration: none; }
.ab-footer a:hover { color: var(--ab-marigold); }
.ab-footer__grid { display: grid; gap: 36px; }
.ab-site .ab-logo--footer, .ab-site .ab-logo--footer:hover { color: #fff; width: 150px; margin-bottom: 20px; }
.ab-footer__list, .ab-footer__social { list-style: none; margin: 0 0 16px; padding: 0; }
.ab-footer__list li, .ab-footer__social li { margin-bottom: 10px; }
.ab-footer__partner { color: var(--ab-ink); }
.ab-footer__legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ab-footer__legal a { color: inherit; } /* D051: Privacy Policy link */

/* 6 Home: hero, collage, marquee ------------------------------------------ */
.ab-hero { padding-top: clamp(36px, 6vw, 80px); }
.ab-hero__grid { display: grid; gap: 36px; align-items: center; }
.ab-hero h1 { margin-bottom: 28px; }
.ab-collage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.02; margin: 8px auto 0; }
.ab-collage::before { content: ""; position: absolute; z-index: 0; width: 0; height: 0; border-left: 70px solid transparent; border-right: 70px solid transparent; border-bottom: 118px solid var(--ab-hibiscus); right: 40%; top: -5%; transform: rotate(12deg); }
.ab-collage::after { content: ""; position: absolute; z-index: 0; width: 96px; height: 96px; border-radius: 50%; background: var(--ab-royal); right: -2%; bottom: 40%; }
.ab-collage .wp-block-image { position: absolute; z-index: 1; margin: 0; border-radius: var(--ab-radius); overflow: hidden; border: var(--ab-border); box-shadow: var(--ab-shadow); background: var(--ab-ink); }
.ab-collage .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.ab-collage .ab-collage__a { left: 0; top: 4%; width: 58%; height: 58%; transform: rotate(-4deg); }
.ab-collage .ab-collage__b { right: 0; top: 0; width: 46%; height: 44%; transform: rotate(3deg); }
.ab-collage .ab-collage__c { right: 4%; bottom: 0; width: 60%; height: 50%; transform: rotate(-1.5deg); }
.ab-collage .ab-sticker { position: absolute; z-index: 2; left: 6%; bottom: 8%; width: 104px; height: 104px; border-radius: 50%; background: var(--ab-marigold); border: var(--ab-border); display: grid; place-items: center; text-align: center; font: 800 13px/1.05 var(--ab-display); transform: rotate(-10deg); margin: 0; padding: 10px; }

.ab-marquee { background: var(--ab-ink); color: var(--ab-paper); border-top: 2px solid var(--ab-ink); border-bottom: 2px solid var(--ab-ink); overflow: hidden; padding: 0; }
.ab-marquee__track { display: flex; gap: 48px; width: max-content; padding: 20px 0; animation: ab-slide 38s linear infinite; }
.ab-marquee__track p { margin: 0; font: 800 clamp(22px, 3vw, 38px)/1 var(--ab-display); white-space: nowrap; display: flex; align-items: center; gap: 48px; }
.ab-marquee__track p::after { content: "\25B2"; color: var(--ab-marigold); font-size: .7em; }
.ab-marquee__track p.ab-marquee__label { color: var(--ab-marigold); } /* D053: "Our work" */
@keyframes ab-slide { to { transform: translateX(-50%); } }

/* 7 Sections -------------------------------------------------------------- */
.ab-feature { background: var(--ab-hibiscus); color: #fff; overflow: hidden; }
.ab-feature h2 { font-size: clamp(46px, 7vw, 104px); }
.ab-site .is-style-ab-framed { margin: 0; border-radius: var(--ab-radius); overflow: hidden; border: var(--ab-border); box-shadow: 10px 10px 0 var(--ab-ink); transform: rotate(-2deg); }
.ab-site .is-style-ab-framed img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ab-site .is-style-ab-framed.ab-landscape img { aspect-ratio: 3 / 2; }
.ab-feature-video { position: relative; border-radius: var(--ab-radius); overflow: hidden; border: var(--ab-border); box-shadow: 10px 10px 0 var(--ab-ink); transform: rotate(-2deg); background: var(--ab-ink); }
.ab-feature-video .wp-block-embed { margin: 0; }
.ab-feature-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.ab-feature-video.ab-autoplay iframe { pointer-events: none; } /* Playing as a muted loop: the pause button is the control. */
.ab-video-controls { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: flex; gap: 8px; }
.ab-video-toggle { min-height: 44px; padding: 0 18px; font: 700 14px/1 var(--ab-body); color: #fff; background: rgba(29, 19, 48, .82); border: 2px solid #fff; border-radius: 999px; cursor: pointer; }
.ab-video-toggle:hover, .ab-video-toggle:focus-visible { background: var(--ab-ink); outline: 3px solid var(--ab-marigold); outline-offset: 2px; }

.ab-cards { display: grid; gap: 28px; }
.ab-card { background: #fff; border: var(--ab-border); border-radius: var(--ab-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; margin: 0; }
.ab-card:hover { transform: translate(-4px, -4px) rotate(-.6deg); box-shadow: var(--ab-shadow); }
.ab-card > .wp-block-image { margin: 0; border-bottom: var(--ab-border); aspect-ratio: 4 / 3.4; overflow: hidden; }
.ab-card > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.ab-card > .wp-block-image.ab-focus-top img { object-position: 50% 12%; } /* Portrait photos: keep the people, drop the floor. */
.ab-card.ab-card--poster > .wp-block-image { background: #0c3d29; display: grid; place-items: center; padding: 22px 0; }
.ab-card.ab-card--poster > .wp-block-image img { width: 58%; height: auto; object-fit: contain; transform: rotate(-3deg); border-radius: 6px; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.ab-card__body { padding: 22px 24px 26px; }
.ab-card h3 { margin-bottom: 12px; }
.ab-card h3 a { text-decoration: none; }
.ab-site .ab-place { display: inline-block; font: 700 13.5px/1 var(--ab-body); letter-spacing: .05em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; margin: 0 0 10px; background: var(--ab-marigold); }
.ab-card:nth-child(3n+1) .ab-place { background: var(--ab-hibiscus); color: #fff; }
.ab-card:nth-child(3n+3) .ab-place { background: var(--ab-leaf); color: #fff; }
.ab-site .ab-year { font: 600 15px/1 var(--ab-body); color: var(--ab-ink-soft); margin: 0 0 18px; }
.ab-site .ab-more { margin: 0; }
.ab-site .ab-more a { font: 700 15px/1 var(--ab-body); text-decoration: none; border-bottom: 3px solid var(--ab-marigold); padding-bottom: 4px; }

.ab-dev { margin-top: 30px; border: 3px dashed var(--ab-royal); border-radius: var(--ab-radius); padding: 30px clamp(22px, 4vw, 48px); display: grid; gap: 20px; align-items: center; background: #fff; }
.ab-site .ab-badge { display: inline-block; justify-self: start; font: 800 15px/1.05 var(--ab-display); color: #fff; background: var(--ab-royal); border-radius: 999px; padding: 14px 18px; transform: rotate(-4deg); white-space: nowrap; margin: 0; }
.ab-dev h3 { color: var(--ab-royal); }
.ab-dev p { color: var(--ab-ink-soft); margin: 0; }

.ab-press__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.ab-site .ab-press__label { font: 800 22px/1 var(--ab-display); margin: 0 12px 0 0; }
.ab-site .ab-outlet { margin: 0; }
.ab-site .ab-outlet a { display: inline-flex; align-items: center; min-height: 52px; font: 700 15px/1 var(--ab-body); text-decoration: none; padding: 12px 20px; border: 2px solid var(--ab-ink); border-radius: 999px; background: #fff; }
.ab-site .ab-outlet a:hover { background: var(--ab-marigold); color: var(--ab-ink); }
/* Press logos: each outlet's own mark, unaltered, in greyscale until hovered (D022). */
.ab-site figure.ab-outlet { margin: 0; }
.ab-site figure.ab-outlet a { display: inline-flex; align-items: center; justify-content: center; height: 64px; padding: 0 22px; border: 2px solid var(--ab-ink); border-radius: 999px; background: #fff; transition: background-color .2s, transform .2s, box-shadow .2s; }
.ab-site figure.ab-outlet a:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ab-ink); background: #fff; }
.ab-site figure.ab-outlet img { display: block; height: 30px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .8; transition: filter .25s, opacity .25s; }
.ab-site figure.ab-outlet a:hover img, .ab-site figure.ab-outlet a:focus-visible img { filter: none; opacity: 1; }

.ab-band { overflow: hidden; }
.ab-band--marigold { background: var(--ab-marigold); border-top: 2px solid var(--ab-ink); border-bottom: 2px solid var(--ab-ink); }
.ab-band--marigold::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 60px solid var(--ab-coral); right: -180px; top: -220px; opacity: .55; }
.ab-band--royal { background: var(--ab-royal); color: #fff; }
.ab-band--ink { background: var(--ab-ink); color: var(--ab-paper); }
.ab-band--leaf { background: var(--ab-leaf); color: #fff; }
.ab-band--hibiscus { background: var(--ab-hibiscus); color: #fff; } /* D053: casting call. White on hibiscus 4.51:1 (AA). */
.ab-band--hibiscus li::marker { color: var(--ab-marigold); }
.ab-band > .ab-wrap { position: relative; z-index: 1; }

.ab-stage-grid.wp-block-gallery { display: grid !important; gap: 16px; grid-template-columns: repeat(2, 1fr); margin: 32px 0 0; }
.ab-stage-grid.wp-block-gallery .wp-block-image { width: 100% !important; margin: 0 !important; border-radius: 16px; overflow: hidden; border: 3px solid var(--ab-ink); aspect-ratio: 1 / 1; }
.ab-stage-grid.wp-block-gallery .wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; }
.ab-stage-grid.wp-block-gallery .wp-block-image:nth-child(5n+1) { grid-column: span 2; aspect-ratio: 2 / 1; }

/* 8 Inner pages ----------------------------------------------------------- */
.ab-pagehead { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); border-bottom: 2px solid var(--ab-ink); }
.ab-pagehead h1 { max-width: 16em; }
.ab-pagehead.ab-pagehead--hibiscus { background: var(--ab-hibiscus); color: #fff; }
.ab-pagehead.ab-pagehead--royal { background: var(--ab-royal); color: #fff; }
.ab-pagehead.ab-pagehead--marigold { background: var(--ab-marigold); }
.ab-pagehead.ab-pagehead--leaf { background: var(--ab-leaf); color: #fff; }
.ab-pagehead.ab-pagehead--hibiscus .ab-lede, .ab-pagehead.ab-pagehead--royal .ab-lede, .ab-pagehead.ab-pagehead--leaf .ab-lede { color: inherit; }
.ab-pagehead .ab-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ab-pagehead .ab-facts p { margin: 0; font: 700 14px/1 var(--ab-body); letter-spacing: .05em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; background: var(--ab-paper); color: var(--ab-ink); }

.ab-split { display: grid; gap: clamp(28px, 5vw, 80px); align-items: start; }
.ab-split--center { align-items: center; }

.ab-credits { display: grid; gap: 28px; }
.ab-credit { background: #fff; border: var(--ab-border); border-radius: var(--ab-radius); padding: 24px 26px; }
.ab-credit h3 { font-size: 22px; margin-bottom: 14px; }
.ab-credit p { margin: 0 0 8px; }
.ab-credit p strong { display: block; font: 700 13px/1.4 var(--ab-body); letter-spacing: .06em; text-transform: uppercase; color: var(--ab-ink-soft); }
.ab-site .ab-credit .wp-block-list { margin: 0; padding: 0; list-style: none; }
.ab-site .ab-credit .wp-block-list li { padding: 8px 0; border-bottom: 1px solid rgba(29, 19, 48, .12); font-weight: 600; }

.ab-options { display: grid; gap: 24px; }
.ab-option { background: #fff; border: var(--ab-border); border-radius: var(--ab-radius); padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.ab-option:nth-child(1) { box-shadow: 8px 8px 0 var(--ab-hibiscus); }
.ab-option:nth-child(2) { box-shadow: 8px 8px 0 var(--ab-royal); }
.ab-option:nth-child(3) { box-shadow: 8px 8px 0 var(--ab-marigold); }
.ab-option .wp-block-buttons { margin-top: auto; padding-top: 12px; }

.ab-video .wp-block-embed { margin: 0; border: var(--ab-border); border-radius: var(--ab-radius); overflow: hidden; box-shadow: var(--ab-shadow); background: var(--ab-ink); }
.ab-video .wp-block-embed__wrapper { position: relative; }
.ab-video iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }

.ab-photo-grid.wp-block-gallery { display: grid !important; gap: 14px; grid-template-columns: repeat(2, 1fr); margin: 24px 0 0; }
.ab-photo-grid.wp-block-gallery .wp-block-image { width: 100% !important; margin: 0 !important; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; border: 2px solid var(--ab-ink); }
.ab-photo-grid.wp-block-gallery .wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 15%; } /* Tall photos keep faces in the square (D040). */
.ab-poster-figure { margin: 0; max-width: 420px; }
.ab-poster-figure img { border-radius: 10px; border: var(--ab-border); box-shadow: var(--ab-shadow); transform: rotate(-2deg); }

.ab-list-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.ab-site .ab-list-pills li { background: #fff; border: 2px solid var(--ab-ink); border-radius: 999px; padding: 10px 16px; font-weight: 600; }

/* 9 Donate, contact ------------------------------------------------------- */
.ab-donate { margin-top: 24px; scroll-margin-top: 110px; }
.ab-site .ab-donate-label { display: none; } /* Read by ab.js as the button text. */
.ab-donate .ab-stripe { margin-top: 14px; } /* Stripe link sits under the PayPal button. */
.ab-donate .wpedon-container { text-align: left !important; }
.ab-donate .wpedon-form { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ab-donate .wpedon_paypalbuttonimage.ab-hidden { display: none !important; }
.ab-donate .ab-btn { font-size: 17px; }
.ab-donate-note { font-size: 15px; color: var(--ab-ink-soft); margin-top: 12px; }

.ab-email-big { font: 800 clamp(24px, 3.4vw, 44px)/1.1 var(--ab-display); letter-spacing: -.02em; word-break: break-word; }
.ab-email-big a { text-decoration-thickness: 3px; }
.ab-form-card { background: #fff; border: var(--ab-border); border-radius: var(--ab-radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--ab-shadow); }
.ab-form-card .wpforms-container { margin: 0 !important; }
.ab-form-card .wpforms-field-label { font: 700 15px/1.3 var(--ab-body) !important; color: var(--ab-ink) !important; }
.ab-form-card input[type="text"], .ab-form-card input[type="email"], .ab-form-card textarea {
	border: 2px solid var(--ab-ink) !important; border-radius: 12px !important; padding: 12px 14px !important; font: 400 17px/1.4 var(--ab-body) !important; background: var(--ab-paper) !important; max-width: 100% !important;
}
.ab-form-card button[type="submit"], .ab-form-card .wpforms-submit {
	background: var(--ab-hibiscus) !important; color: #fff !important; border: 2px solid var(--ab-hibiscus) !important; border-radius: 999px !important; padding: 16px 28px !important; font: 700 16px/1 var(--ab-body) !important; height: auto !important;
}

/* Wider screens ------------------------------------------------------------ */
@media (min-width: 700px) {
	.ab-cards { grid-template-columns: repeat(2, 1fr); }
	.ab-credits { grid-template-columns: repeat(2, 1fr); }
	.ab-photo-grid.wp-block-gallery { grid-template-columns: repeat(3, 1fr); }
	.ab-stage-grid.wp-block-gallery { grid-template-columns: repeat(4, 1fr); }
	.ab-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
	.ab-collage .ab-sticker { width: 132px; height: 132px; font-size: 16px; }
	.ab-collage::before { border-left-width: 90px; border-right-width: 90px; border-bottom-width: 150px; }
	.ab-collage::after { width: 120px; height: 120px; }
}
@media (min-width: 900px) {
	.ab-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
	.ab-grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
	.ab-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
	.ab-split.ab-split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ab-cards { grid-template-columns: repeat(3, 1fr); }
	.ab-dev { grid-template-columns: auto minmax(0, 1fr) auto; gap: 34px; }
	.ab-options { grid-template-columns: repeat(3, 1fr); }
	.ab-credits { grid-template-columns: repeat(3, 1fr); }
	.ab-photo-grid.wp-block-gallery { grid-template-columns: repeat(4, 1fr); }
	.ab-band .ab-grid-2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
}
@media (min-width: 1100px) {
	.ab-header__bar { min-height: 84px; }
	.ab-site .ab-logo { width: 132px; }
	.ab-site .ab-logo--footer { width: 150px; }
	.ab-menu-toggle { display: none; }
	.ab-nav, .ab-nav-open .ab-nav { display: flex; align-items: center; gap: 26px; position: static; background: none; border: 0; padding: 0; }
	.ab-nav__list { display: flex; gap: 24px; margin: 0; }
	.ab-nav__list a { padding: 0; border: 0; font: 600 15px/1 var(--ab-body); letter-spacing: 0; white-space: nowrap; }
}

/* 11 Search, archives, outline helpers (D039) ----------------------------- */
/* An h2 that looks like an h3: keeps the page outline in order (no h1 to h3 jump). */
.ab-site h2.ab-h3 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.08; }
.ab-search { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; max-width: 40rem; }
.ab-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ab-search input { flex: 1 1 14rem; min-width: 0; min-height: 52px; padding: 0 20px; font: 500 17px/1 var(--ab-body); color: var(--ab-ink); background: #fff; border: var(--ab-border); border-radius: 999px; }
.ab-search button { min-height: 52px; padding: 0 26px; font: 700 16px/1 var(--ab-body); color: #fff; background: var(--ab-ink); border: var(--ab-border); border-radius: 999px; cursor: pointer; }
.ab-search button:hover, .ab-search button:focus-visible { background: var(--ab-hibiscus); border-color: var(--ab-hibiscus); }
.ab-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; max-width: var(--ab-prose); }
.ab-results li { background: #fff; border: var(--ab-border); border-radius: var(--ab-radius); padding: 24px 28px; }
.ab-results h2 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 8px; }
.ab-results h2 a { color: var(--ab-ink); text-decoration: none; }
.ab-results h2 a:hover { color: var(--ab-hibiscus); }
.ab-results p { margin: 0; color: var(--ab-ink-soft); }

/* HOMEBOUND (D052): a stage, not a page header. Ink backdrop, three spotlights, poster-sized title. */
.ab-stagehead { background: var(--ab-ink); color: #fff; position: relative; overflow: hidden; padding-top: clamp(64px, 11vw, 150px); padding-bottom: clamp(64px, 10vw, 140px); }
.ab-stagehead::before { content: ""; position: absolute; inset: -20% -10% auto; height: 140%; pointer-events: none;
	background:
		radial-gradient(ellipse 34% 60% at 18% 0%, rgba(255, 178, 25, .38), transparent 70%),
		radial-gradient(ellipse 30% 55% at 55% 0%, rgba(224, 36, 111, .32), transparent 70%),
		radial-gradient(ellipse 34% 60% at 90% 0%, rgba(59, 47, 209, .45), transparent 70%); }
.ab-stagehead > .ab-wrap { position: relative; z-index: 1; }
.ab-site .ab-stage-title { font-size: clamp(56px, 13vw, 176px); line-height: .9; letter-spacing: .02em; margin: 18px 0 14px; max-width: none; }
.ab-site .ab-stage-title--home { font-size: clamp(44px, 11vw, 96px); overflow-wrap: anywhere; }
@media (min-width: 900px) {
	/* Two columns from here: the title shares the width with the poster, so it scales with its column. */
	.ab-site .ab-stage-title--home { font-size: clamp(40px, 4.6vw, 64px); }
}
.ab-stagehead .ab-meta { color: var(--ab-marigold); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.ab-stage-line { font-family: var(--ab-display); font-weight: 600; font-size: clamp(22px, 2.8vw, 36px); line-height: 1.25; max-width: 30em; margin: 26px 0 34px; color: var(--ab-on-dark); }
.ab-stage-verse { font-family: var(--ab-display); font-weight: 800; font-size: clamp(38px, 7vw, 96px); line-height: 1.02; margin: 18px 0 0; }

/* HOMEBOUND key art (D054) */
.ab-site .ab-poster-wide { margin: 0; border-radius: var(--ab-radius); overflow: hidden; border: 3px solid #fff; box-shadow: 10px 10px 0 var(--ab-marigold); }
.ab-site .ab-poster-wide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.ab-site .ab-poster-hero { margin: 8px 0 22px; }
.ab-site .ab-poster-casting { margin-bottom: 26px; box-shadow: 10px 10px 0 var(--ab-ink); } /* D058: home casting band */
.ab-band--hibiscus .ab-grid-2 { align-items: start; }
/* D063: the home Casting now band is HOMEBOUND navy. A thin marigold rule separates it from the HOMEBOUND section above. */
.ab-band--casting { border-top: 3px solid var(--ab-marigold); }
.ab-band--casting .ab-grid-2 { align-items: start; }
.ab-band--casting li::marker { color: var(--ab-marigold); }
.ab-site .ab-band--casting .ab-poster-casting { box-shadow: 10px 10px 0 var(--ab-marigold); }
.ab-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Forms: checkbox and radio choices sit flush, at body size (D056 audition form). */
.ab-site .wpforms-container .wpforms-field-checkbox ul, .ab-site .wpforms-container .wpforms-field-radio ul { list-style: none; padding-left: 0; margin: 6px 0 0; font-size: 16px; }
.ab-site .wpforms-container .wpforms-field-checkbox li, .ab-site .wpforms-container .wpforms-field-radio li { margin: 0 0 8px; display: flex; gap: 10px; align-items: flex-start; }
.ab-site .wpforms-container .wpforms-field-checkbox input { margin-top: 4px; accent-color: var(--ab-hibiscus); width: 18px; height: 18px; flex: none; }

/* D072: confirmation note for ?ab-ignore=me / off. */
.ab-ignore-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 520px; margin: 0 auto; padding: 14px 18px; background: var(--ab-ink); color: #fff; border: 2px solid var(--ab-marigold); border-radius: 14px; font: 600 15px/1.4 var(--ab-body); text-align: center; }

/* WebP via Imagify wraps images in <picture> (D046). Let the img lay out as if the wrapper were not there. */
.ab-site picture { display: contents; }

/* 10 Motion, print -------------------------------------------------------- */
.ab-js .ab-pop { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1.2); }
.ab-js .ab-pop.ab-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.ab-js .ab-pop { opacity: 1; transform: none; transition: none; }
	.ab-marquee__track { animation: none; }
	html { scroll-behavior: auto; }
}
@media print {
	.ab-header, .ab-footer, .ab-marquee, .ab-collage::before, .ab-collage::after { display: none; }
	body.ab-site { background: #fff; }
}
