/*
 * Banded pages (About, Careers, Contact): full-width sections built in the
 * block editor from core blocks with Assemble class names (inc/pages.php). No
 * wireframe: on-system and flagged for design. The vocabulary is the Board
 * page's (community-page.css) and the Summits hero's (page-hero.css): a
 * 1216px column, bands alternating the page background with white and sunken
 * ones, a 5/7 split for heading and copy, display numerals, practice-coloured
 * cards and a closing card with the 3px rule. Also the block editor's styles.
 *
 * Bands: .page-band (+ .is-surface, .is-sunken, .is-dark), each holding a
 * .wrap group. Layouts inside: .band-hero, .band-split, .band-stat,
 * .band-proof, .practice-cards, .band-cta (all core/columns, set as grids).
 */

.page-bands{padding-bottom:var(--s-9)}
.page-bands .wrap{max-width:1216px}
.page-band{padding-block:88px;color:var(--ink-700)}
.page-band.is-surface{background:var(--surface);border-block:1px solid var(--line)}
.page-band.is-sunken{background:var(--surface-sunken)}
.page-band.is-dark{background:var(--footer-bg);color:var(--footer-ink)}
.page-band-hero{padding-block:64px 88px}
.page-band-close{padding-block:var(--s-9) 0}

/* Block defaults inside bands (page-content.css styles the 720px column only). */
.page-band p{margin:0 0 var(--s-5)}
.page-band :where(h1,h2,h3){margin:0 0 var(--s-4)}
.page-band .wp-block-column>:last-child,.page-band .wrap>:last-child{margin-bottom:0}
.page-band .is-style-lead{font-size:1.25rem;line-height:1.65;color:var(--ink-900)}
.page-band .eyebrow{color:var(--ink-700)}
.page-band strong{color:var(--ink-900)}
.page-band figure{margin:0}
.page-band .wp-block-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.page-band .wp-block-columns{display:grid;gap:var(--s-7);margin:0}
.page-band .wp-block-columns+*{margin-top:var(--s-8)}
.page-band .wp-block-column{min-width:0}

/* Hero: kicker, display headline, lead and actions beside the art (Summits hero proportions). */
.band-hero{grid-template-columns:minmax(0,1.05fr) minmax(360px,.85fr);align-items:center}
.band-hero h1{max-width:14ch;margin:12px 0 var(--s-5);font:500 4.375rem/.98 var(--font-display);letter-spacing:-.02em}
.band-hero .is-style-lead{max-width:34ch;margin-bottom:var(--s-6);font-size:1.375rem}
.band-art{display:grid;place-items:center;aspect-ratio:4/3;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md)}
/* The art sits absolutely in the 4:3 frame: a percentage height on a grid item never resolved, so tall art overflowed and was cut off (Kristen, 2026-11-13). */
.band-art{position:relative;overflow:hidden}
.band-art img{position:absolute;inset:6% 4%;width:92%;height:88%;max-width:none;object-fit:contain}
/* The speech-bubble PNGs carry ~25% transparent margin; scale them to fill the frame (Kristen 2026-11-09: the art looked small and "floating"). */
.band-art img[src*="speech-bubbles"]{inset:0;width:100%;height:100%;transform:scale(1.08)}

/* Copy-only hero (Our Team): the headline runs wider. */
.band-hero.is-copy-only{grid-template-columns:minmax(0,1fr)}
.band-hero.is-copy-only h1{max-width:20ch;font-size:3.75rem;line-height:1.02}
.page-band-team .team-grid{margin-top:0;max-width:none}

/* Heading beside copy (the Board page's split). */
.band-split{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start}
.band-split h2{max-width:18ch;font-size:2.625rem;line-height:1.1}
.band-split .is-style-lead{max-width:56ch}

/* A display numeral and its line, beside a figure. On the dark band. */
.band-stat{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:center}
.band-stat__number{margin:0 0 var(--s-3)!important;font:500 9rem/.9 var(--font-display);letter-spacing:-.03em;color:var(--ink-900)}
.band-stat__label{max-width:22ch;font:500 1.875rem/1.2 var(--font-display);letter-spacing:-.012em;color:var(--ink-900)}
.is-dark .band-stat__number,.is-dark .band-stat__label,.is-dark strong{color:var(--surface)}
.band-figure{display:flex;justify-content:center}
.band-figure img{width:auto;max-height:340px}
/* On the dark band the figure sits on a light disc, so the black drawing doesn't sink into the black band (Kristen 2026-11-09). Use the -color file. */
.is-dark .band-figure img{width:320px;height:320px;max-height:none;padding:34px;object-fit:contain;background:var(--surface);border-radius:50%}

/* Proof numeral beside "what it looks like" and its numbered points. */
.band-proof{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start;padding-top:var(--s-7);border-top:1px solid var(--line)}
.band-proof .band-stat__number{font-size:6.5rem;color:var(--accent-ink)}
.band-proof .band-stat__label{max-width:20ch;font-size:1.5625rem}
.band-proof h3{font:500 1.5625rem/1.2 var(--font-text)}
.band-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-6) var(--s-6);margin:var(--s-6) 0 0;padding:0;list-style:none;counter-reset:point}
.band-points li{counter-increment:point;position:relative;margin:0;padding:var(--s-5) 0 0;border-top:1px solid var(--line);font-size:.9375rem;line-height:1.6}
.band-points li::before{content:counter(point,decimal-leading-zero);display:block;margin-bottom:var(--s-3);font:500 1.875rem/1 var(--font-display);color:var(--accent-ink)}
.band-points strong{display:block;margin-bottom:6px;font:500 1.25rem/1.3 var(--font-text);letter-spacing:-.012em}
/* The proof row on its own dark band, matching the stat band above it (Kristen 2026-11-09). */
.is-dark .band-proof{padding-top:0;border-top:0}
.is-dark .band-proof .band-stat__number,.is-dark .band-proof h3,.is-dark .band-points li::before{color:var(--surface)}
.is-dark .band-proof p,.is-dark .band-points li{color:var(--footer-ink)}
.is-dark .band-points li{border-top-color:color-mix(in srgb,var(--surface) 22%,transparent)}
.band-points+.wp-block-buttons{margin-top:var(--s-7)}

/* Practice cards: one per area, coloured from its ramp (class area-<key> → data-area). */
.practice-cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px!important}
.practice-card{display:flex;flex-direction:column;padding:28px 24px 26px;background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--accent);border-radius:var(--r-md)}
.practice-card h3{min-height:2.5em;margin:0 0 var(--s-5);font:500 1.1875rem/1.25 var(--font-text);color:var(--accent-ink);hyphens:manual;overflow-wrap:normal}
.practice-card ul{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.practice-card li{margin:0;padding:3px 8px;border-radius:var(--r-xs);background:color-mix(in srgb,var(--accent-soft) 42%,#fff);color:var(--accent-ink);font:500 .8125rem/1.45 var(--font-label)}

/* Copy beside a form (Contact hero, Careers): the HubSpot card on the right. */
.band-form{grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:start}
.band-form h1{max-width:12ch;margin:12px 0 var(--s-5);font:500 4.375rem/.98 var(--font-display);letter-spacing:-.02em}
.band-form h2{max-width:16ch;font-size:2.625rem;line-height:1.1}
.band-form .hubspot-form{max-width:none;margin:0 0 var(--s-4);padding:36px;box-shadow:var(--shadow-lift)}
.band-form .form-note{font-size:.8125rem;line-height:1.6;color:var(--ink-700)}
.band-form .form-note a{color:var(--ink-900)}
/* Ways in: a ruled list of routes, each with its link. */
.band-routes{margin:var(--s-7) 0 0;padding:0;list-style:none;border-top:1px solid var(--line)}
.band-routes li{margin:0;padding:var(--s-4) 0;border-bottom:1px solid var(--line);font-size:.9375rem;line-height:1.55}
.band-routes strong{display:block;margin-bottom:2px;font:500 1.25rem/1.3 var(--font-text);letter-spacing:-.012em}
.band-routes .link-arrow{display:table;margin-top:6px;color:var(--ink-900)}

/* Team strip ([assemble_team_strip]). */
.team-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--s-5);margin:var(--s-7) 0 0;padding:0;list-style:none}
.team-strip__person a{display:block;color:var(--ink-900);text-decoration:none}
.team-strip__photo{margin-bottom:12px;border-radius:var(--r-sm);transition:transform var(--motion)}
.team-strip__person a:hover .team-strip__photo{transform:translateY(-3px)}
.team-strip__person a:hover .team-strip__name{text-decoration:underline;text-underline-offset:3px}
.team-strip__name{display:block;font:500 1.125rem/1.25 var(--font-text);letter-spacing:-.012em}
.team-strip__role{display:block;margin-top:4px;font-size:.8125rem;line-height:1.5;color:var(--ink-700)}

/* Closing card: copy and actions beside an illustration, with the 3px rule. */
.band-cta{grid-template-columns:minmax(0,1fr) 260px;align-items:center;padding:48px 56px;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:var(--r-md)}
.band-cta h2{max-width:22ch;font-size:2.625rem;line-height:1.1}
.band-cta p{max-width:56ch;font-size:1.125rem}
.band-cta .band-figure img{max-height:260px}

/* Editor: bands keep their padding but sit inside the canvas. */
.editor-styles-wrapper .page-band{padding-inline:var(--s-5)}

@media (max-width:1100px){
	.band-hero,.band-form{grid-template-columns:1fr}
	.band-art{max-width:560px}
	.practice-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
	.team-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:980px){
	.page-band{padding-block:64px}
	.band-split,.band-stat,.band-proof{grid-template-columns:1fr}
	.page-band .wp-block-columns{gap:var(--s-6)}
	.band-stat__number{font-size:7rem}
	.band-figure{justify-content:flex-start}
	.band-figure img{max-height:240px}
	.is-dark .band-figure img{width:220px;height:220px;padding:24px}
	.band-cta{grid-template-columns:1fr;padding:40px}
	.band-cta .band-figure{display:none}
}

@media (max-width:640px){
	.page-band{padding-block:48px}
	.page-band-hero{padding-block:36px 48px}
	.band-hero h1,.band-hero.is-copy-only h1,.band-form h1{font-size:2.5rem;line-height:1.06}
	.band-form h2{font-size:2.125rem}
	.band-form .hubspot-form{padding:22px 18px}
	.band-hero .is-style-lead,.page-band .is-style-lead{font-size:1.125rem}
	.band-split h2,.band-cta h2{font-size:2.125rem}
	.band-stat__number{font-size:5.5rem}
	.band-stat__label{font-size:1.5rem}
	.band-proof .band-stat__number{font-size:4.5rem}
	.band-points{grid-template-columns:1fr}
	.practice-cards{grid-template-columns:1fr}
	.practice-card h3{min-height:0}
	.team-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-5) var(--s-4)}
	.band-cta{padding:28px 22px}
}

/* Logo strip ([assemble_logo_strip], Our Product): linked Summit wordmarks or Board logos under a band's copy. */
.logo-strip{display:flex;flex-wrap:wrap;align-items:center;gap:var(--s-5) var(--s-7);margin:var(--s-8) 0 0;padding:var(--s-6) 0 0;list-style:none;border-top:1px solid var(--line)}
.logo-strip li{margin:0}
.logo-strip a{display:flex;align-items:center;min-height:44px;border-radius:var(--r-sm);transition:opacity var(--motion)}
.logo-strip a:hover{opacity:.7}
.logo-strip img{display:block;width:auto;max-width:132px;height:auto;max-height:26px;object-fit:contain}
.logo-strip--summits{gap:var(--s-5) var(--s-6)}
.logo-strip--communities img{max-width:150px;max-height:44px}
@media (max-width:640px){
	.logo-strip{gap:var(--s-4) var(--s-5)}
	.logo-strip img{max-width:104px;max-height:20px}
	.logo-strip--communities img{max-width:120px;max-height:36px}
}

/* Our Product (Cale 2026-11-17): Assemble first, then the three offerings as cards, then the two companies as a quieter band. */
/* Hero whose lead runs about as wide as the headline, so the band isn't taller than it needs to be (Our Product). */
.is-wide-lead .band-hero .is-style-lead{max-width:26em}
.is-wide-lead .band-hero h1{margin-top:0}
/* Offer cards: art, eyebrow, title, copy, and a link pinned to the bottom. */
.offer-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px!important;margin-top:var(--s-8)}
.offer-card{display:flex;flex-direction:column;padding:28px 28px 30px;background:#fff;border:1px solid var(--line);border-radius:var(--r-md)}
.offer-card .offer-card__art{display:flex;align-items:flex-end;justify-content:center;height:150px;margin:0 0 var(--s-5)}
.offer-card .offer-card__art img{width:auto;height:100%}
.offer-card h3{margin:0 0 var(--s-4);font:500 1.75rem/1.15 var(--font-display);letter-spacing:-.01em;color:var(--ink-900)}
.offer-card p{margin:0 0 var(--s-4);font-size:.9375rem;line-height:1.6}
.offer-card strong{font-weight:600;color:var(--ink-900)}
.offer-card .offer-card__link{margin-top:auto;padding-top:var(--s-3);margin-bottom:0}
/* Companies: heading beside the two companies, each with a tidy grid of six logos and "Show all". */
.page-band-brands{padding-block:72px 16px}
.page-band-brands .band-split{grid-template-columns:minmax(0,1fr) minmax(0,2fr);align-items:start}
.page-band-brands .band-split h2{font-size:1.75rem;line-height:1.2}
.page-band-brands .band-split p{max-width:34ch;font-size:.9375rem}
.brand-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-7)!important}
.brand-card h3{margin:0 0 6px;font:500 1.25rem/1.3 var(--font-text)}
.brand-card .brand-card__logo{margin:0 0 var(--s-3)}
.brand-card .brand-card__logo img{display:block;width:auto;max-width:100%;height:28px}
/* EP's lockup has small type beside a round mark; give it more height so the two read at the same weight. */
.brand-card .brand-card__logo img[src*="/ep-"]{height:44px}
.brand-card .brand-card__logo{display:flex;align-items:flex-end;min-height:44px}
.brand-card p{margin:0;font-size:.9375rem}
.brand-card .logo-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:var(--s-5);padding:0;border-top:1px solid var(--line)}
.brand-card .logo-strip li{display:flex;align-items:center;min-height:64px;border-bottom:1px solid var(--line)}
.brand-card .logo-strip li[hidden]{display:none}
.brand-card .logo-strip a{width:100%;min-height:64px;padding:0 var(--s-3) 0 0}
.brand-card .logo-strip img{max-width:min(100%,104px);max-height:20px}
.brand-card .logo-strip--communities img{max-height:34px}
.logo-strip-toggle{display:inline-flex;align-items:center;min-height:44px;margin-top:var(--s-3);padding:0;border:0;background:none;font:500 .875rem/1.4 var(--font-body);color:var(--ink-900);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;cursor:pointer}
.logo-strip-toggle:hover{text-decoration-thickness:2px}
.logo-strip-toggle[hidden]{display:none}
@media (max-width:980px){
	.offer-cards,.brand-cards,.page-band-brands .band-split{grid-template-columns:1fr}
	.offer-card .offer-card__art{height:120px}
}
@media (max-width:640px){
	.page-band-brands{padding-block:48px 8px}
	.offer-card{padding:24px 22px 26px}
}
