/* ==========================================================================
   Ascend Administrators — theme styles
   HSL triplet tokens match the original build so inline SVG art works as-is.
   ========================================================================== */
:root {
	--background: 160 20% 95%;
	--bg: 160 20% 95%;
	--surface: 0 0% 100%;
	--ink: 210 60% 12%;
	--navy: 207 77% 20%;
	--deep: 207 80% 15%;
	--teal: 171 64% 29%;
	--mint: 158 55% 50%;
	--muted-text: 207 16% 38%;
	--rule: 186 28% 85%;
	--on-dark: 168 38% 93%;
	--on-dark-2: 196 24% 73%;
	--white: 0 0% 100%;
	--slope: 9vw;
	--asc-navy: hsl(var(--navy));
	--f-head: var(--wp--preset--font-family--heading);
	--f-mono: var(--wp--preset--font-family--mono);
	--section-y: clamp(68px, 9vw, 120px);
}

body { -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin-top: 0; }
a { text-underline-offset: .18em; }
:where(.wp-site-blocks) > * { margin-block: 0; }
.wp-site-blocks { overflow-x: clip; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* ---------- Page scaffolding ---------- */
body .wp-block-post-content > * { margin-block: 0; }
.asc-section { padding-block: var(--section-y); position: relative; }
.asc-bg-surface { background: hsl(var(--surface)); }
.asc-bg-bg { background: hsl(var(--bg)); }
.asc-bg-navy { background: hsl(var(--navy)); }
.asc-bg-deep { background: hsl(var(--deep)); }

.asc-bg-navy, .asc-bg-deep { color: hsl(var(--on-dark-2)); }
.asc-bg-navy :is(h1, h2, h3, h4), .asc-bg-deep :is(h1, h2, h3, h4) { color: hsl(var(--on-dark)); }
.asc-bg-navy .asc-eyebrow, .asc-bg-deep .asc-eyebrow { color: hsl(var(--mint)); }
.asc-bg-navy a:not(.wp-element-button), .asc-bg-deep a:not(.wp-element-button) { color: hsl(var(--mint)); }

/* Constrained sections: left-align narrow children with the 1180px content edge instead of centering them */
body .asc-section:not(.wp-block-cover) > :not(.alignfull):not(.alignwide),
body .wp-block-cover.asc-section > .wp-block-cover__inner-container > :not(.alignfull):not(.alignwide) {
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important;
	margin-right: auto !important;
}

/* Slanted top edge that tucks under the previous section */
body .wp-block-post-content > .asc-slant,
body .is-root-container > .asc-slant {
	clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0 100%);
	margin-top: calc(var(--slope) * -1);
	padding-top: calc(var(--slope) + clamp(56px, 8vw, 96px));
}

/* ---------- Type ---------- */
.asc-display {
	font-family: var(--f-head); font-stretch: 118%; font-weight: 900;
	font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -0.02em; line-height: 1;
	text-transform: uppercase; color: hsl(var(--navy)); margin: 0;
}
.asc-display--md { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.04; text-transform: none; }
.asc-display--sm { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.asc-title {
	font-family: var(--f-head); font-stretch: 118%; font-weight: 800;
	font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.01em; line-height: 1.02;
	text-transform: uppercase; margin: 0;
}
.asc-h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.75rem); text-transform: none; margin: 0 0 .75rem; }
.asc-outline { color: transparent; -webkit-text-stroke: 1.8px hsl(var(--teal)); }
.asc-accent { color: hsl(var(--teal)); }
.asc-bg-navy .asc-accent, .asc-bg-deep .asc-accent { color: hsl(var(--mint)); }

.asc-eyebrow {
	font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em;
	text-transform: uppercase; color: hsl(var(--teal)); margin: 0 0 1rem;
}
.asc-eyebrow--rule { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.asc-eyebrow--rule::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: none; }
.asc-lede { color: hsl(var(--muted-text)); font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 52ch; margin: 1.5rem 0 0; line-height: 1.65; }
.asc-sub { color: hsl(var(--muted-text)); max-width: 62ch; margin: .9rem 0 0; }
.asc-bg-navy .asc-sub, .asc-bg-deep .asc-sub, .asc-bg-navy .asc-lede { color: hsl(var(--on-dark-2)); }

.asc-section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.asc-section-head > * { margin-block-start: 0; }

/* ---------- Buttons ---------- */
.wp-block-buttons { gap: .75rem; margin-top: 2rem; }
.wp-block-button__link { display: inline-flex; align-items: center; gap: .5rem; font-stretch: 110%; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.is-style-asc-primary .wp-block-button__link,
.is-style-asc-mint .wp-block-button__link { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%); padding-right: 36px; }
.is-style-asc-primary .wp-block-button__link::after,
.is-style-asc-mint .wp-block-button__link::after { content: "\2192"; font-weight: 700; }
.is-style-asc-primary .wp-block-button__link { background: hsl(var(--teal)); color: #fff; }
.is-style-asc-primary .wp-block-button__link:hover { background: hsl(var(--navy)); color: #fff; }
.is-style-asc-mint .wp-block-button__link { background: hsl(var(--mint)); color: hsl(var(--navy)); }
.is-style-asc-mint .wp-block-button__link:hover { background: hsl(var(--on-dark)); color: hsl(var(--navy)); }
.is-style-asc-outline .wp-block-button__link { background: transparent; color: hsl(var(--navy)); border: 1px solid hsl(var(--navy)); }
.is-style-asc-outline .wp-block-button__link:hover { background: hsl(var(--navy)); color: #fff; }
.is-style-asc-outline-light .wp-block-button__link { background: transparent; color: hsl(var(--on-dark)); border: 1px solid hsl(var(--on-dark) / .45); }
.is-style-asc-outline-light .wp-block-button__link:hover { border-color: hsl(var(--mint)); color: hsl(var(--mint)); }
.wp-block-button__link:focus-visible { outline: 2px solid hsl(var(--mint)); outline-offset: 3px; }

/* ---------- Header ---------- */
.asc-header-wrap { position: sticky; top: 0; z-index: 50; }
.admin-bar .asc-header-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .asc-header-wrap { top: 46px; } }
.asc-header {
	background: hsl(var(--white) / .97);
	border-bottom: 1px solid hsl(var(--rule));
}
.asc-header-bar { gap: 1.5rem; padding-block: .85rem; }
.asc-header .asc-logo { margin: 0; flex: none; }
.asc-header .asc-logo img { max-height: 38px; width: auto !important; display: block; }
.asc-nav { margin-left: auto; font-size: .875rem; font-weight: 500; gap: 1.5rem; }
.asc-nav .wp-block-navigation-item__content { color: hsl(var(--muted-text)); text-decoration: none; }
.asc-nav .wp-block-navigation-item__content:hover,
.asc-nav .current-menu-item > .wp-block-navigation-item__content { color: hsl(var(--teal)); }
.asc-nav .asc-nav-mobile-only { display: none; }
.asc-header-actions { gap: 1rem; flex: none; }
.asc-header-actions .wp-block-buttons { margin: 0; }
.asc-header-actions .wp-block-button__link { padding: 11px 30px 11px 22px; }
.asc-member-link { margin: 0; font-size: .875rem; font-weight: 600; }
.asc-member-link a { color: hsl(var(--navy)); text-decoration: none; }
.asc-member-link a:hover { color: hsl(var(--teal)); }
.asc-nav .wp-block-navigation__responsive-container-open { color: hsl(var(--navy)); }
.asc-nav .wp-block-navigation__responsive-container.is-menu-open { background: hsl(var(--navy)); color: hsl(var(--on-dark)); padding: 2rem; }
.asc-nav .is-menu-open .wp-block-navigation-item__content { color: hsl(var(--on-dark)); font-family: var(--f-head); font-size: 1.5rem; font-weight: 800; font-stretch: 112%; }
.asc-nav .is-menu-open .wp-block-navigation__container { gap: 1.1rem; }
@media (max-width: 599px) {
	body .asc-header-actions { display: none; }
	.asc-nav .is-menu-open .asc-nav-mobile-only { display: flex; }
	.asc-nav .is-menu-open .asc-nav-cta .wp-block-navigation-item__content { color: hsl(var(--mint)); }
}
@media (min-width: 600px) and (max-width: 1020px) {
	.asc-member-link { display: none; }
	.asc-nav { gap: 1rem; }
}

/* ---------- Heroes (Cover blocks) ----------
   Three modes, chosen in the editor's "Hero background" panel:
   1. As designed: no media. The overlay carries the light grid (or the navy grid on About).
   2. Image: a photo under a navy overlay; text flips to white.
   3. Video: a muted, autoplaying, looping video under a navy overlay; text flips to white. */
.wp-block-cover.asc-hero {
	min-height: 0; align-items: stretch;
	padding: clamp(48px, 7vw, 88px) var(--wp--style--root--padding-right, clamp(1rem, 4vw, 2rem)) clamp(56px, 8vw, 104px) var(--wp--style--root--padding-left, clamp(1rem, 4vw, 2rem));
	overflow: hidden; color: hsl(var(--ink));
}
.wp-block-cover.asc-hero > .wp-block-cover__inner-container { position: relative; z-index: 1; color: inherit; }
.asc-hero--compact.wp-block-cover { padding-block: clamp(48px, 6vw, 80px); }
.asc-hero-cols { align-items: center; gap: clamp(2rem, 4vw, 3.5rem); }
.asc-hero-art { display: flex; justify-content: center; }

/* Mode 1 (no media): the original grid backgrounds, drawn on the overlay */
.wp-block-cover.asc-hero:not(:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background)) > .wp-block-cover__background {
	opacity: 1;
	background-image:
		linear-gradient(hsl(var(--rule) / .5) 1px, transparent 1px),
		linear-gradient(90deg, hsl(var(--rule) / .5) 1px, transparent 1px);
	background-size: 100% 64px, 64px 100%;
}
.wp-block-cover.asc-hero--home:not(:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background)) > .wp-block-cover__background {
	background-image:
		radial-gradient(ellipse 60% 70% at 85% 40%, hsl(var(--mint) / .18), transparent 70%),
		linear-gradient(hsl(var(--rule) / .5) 1px, transparent 1px),
		linear-gradient(90deg, hsl(var(--rule) / .5) 1px, transparent 1px);
	background-size: 100% 100%, 100% 64px, 64px 100%;
}
.wp-block-cover.asc-hero-dark {
	padding-block: clamp(5rem, 12vw, 9rem) clamp(4rem, 8vw, 7rem);
	color: hsl(var(--on-dark));
}
.wp-block-cover.asc-hero-dark:not(:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background)) > .wp-block-cover__background {
	background-image:
		radial-gradient(circle at 60% 0%, hsl(var(--mint) / .12), transparent 45%),
		linear-gradient(hsl(var(--mint) / .06) 1px, transparent 1px),
		linear-gradient(90deg, hsl(var(--mint) / .06) 1px, transparent 1px);
	background-size: 100% 100%, 48px 48px, 48px 48px;
}
.asc-hero-dark .asc-display { color: hsl(var(--on-dark)); max-width: 15ch; font-size: clamp(2.8rem, 7vw, 5.5rem); }
.asc-hero-dark .asc-lede { color: hsl(var(--on-dark-2)); max-width: 60ch; }

/* Modes 2 and 3 (image or video): white type over the navy overlay */
.wp-block-cover.asc-hero:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background) { color: #fff; }
.wp-block-cover.asc-hero:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background) :is(.asc-display, .asc-title, h1, h2, h3) { color: #fff; }
.wp-block-cover.asc-hero:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background) :is(.asc-lede, .asc-sub, p:not([class])) { color: hsl(var(--on-dark) / .92); }
.wp-block-cover.asc-hero:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background) .asc-eyebrow { color: hsl(var(--mint)); }
.wp-block-cover.asc-hero:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background) .asc-outline { -webkit-text-stroke-color: hsl(var(--mint)); }
.wp-block-cover.asc-hero:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background) .asc-accent { color: hsl(var(--mint)); }
.wp-block-cover.asc-hero:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background) .is-style-asc-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .7); }
.wp-block-cover.asc-hero:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background) .is-style-asc-outline .wp-block-button__link:hover { background: #fff; color: hsl(var(--navy)); }
.wp-block-cover.asc-hero:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background) .asc-facts { background: rgba(255, 255, 255, .96); }
.wp-block-cover.asc-hero:has(> .wp-block-cover__image-background, > .wp-block-cover__video-background) .asc-facts * { color: hsl(var(--navy)); }

/* Video: muted autoplay loop; the poster shows until playback starts (and for reduced motion) */
.wp-block-cover.asc-hero > .wp-block-cover__video-background { background: center / cover no-repeat; }

.asc-facts { gap: 0 !important; margin-top: 2.5rem; border: 1px solid hsl(var(--rule)); background: hsl(var(--surface)); width: fit-content; max-width: 100%; }
.asc-fact { padding: .9rem 1.4rem; border-right: 1px solid hsl(var(--rule)); }
.asc-fact:last-child { border-right: 0; }
.asc-fact > * { margin: 0; }
.asc-fact-label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--muted-text)); margin: 0; }
.asc-fact-value { font-family: var(--f-head); font-weight: 800; color: hsl(var(--navy)); margin: .2rem 0 0 !important; }

/* ---------- Ticker ---------- */
.asc-ticker { background: hsl(var(--navy)); color: hsl(var(--mint)); overflow: hidden; contain: paint; position: relative; z-index: 1; }
.asc-ticker-list {
	display: flex; width: max-content; margin: 0 !important; padding: 0; list-style: none;
	font-family: var(--f-head); font-stretch: 120%; font-weight: 800; text-transform: uppercase;
	font-size: clamp(.9rem, 1.5vw, 1.1rem); letter-spacing: .04em; white-space: nowrap;
}
.asc-ticker-list li { display: flex; align-items: center; padding: 14px 0; margin: 0; }
.asc-ticker-list li::after {
	content: ""; width: 10px; height: 10px; margin-inline: 28px; background: hsl(var(--mint));
	clip-path: polygon(50% 0, 100% 100%, 0 100%); flex: none;
}
.asc-ticker.is-running .asc-ticker-list { animation: asc-roll 38s linear infinite; }
.asc-ticker:hover .asc-ticker-list { animation-play-state: paused; }
@keyframes asc-roll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .asc-ticker.is-running .asc-ticker-list { animation: none; } }

/* ---------- Section head with vertical label ---------- */
.asc-head-vert { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: end; margin-bottom: 3rem; }
.asc-head-vert > * { margin: 0 !important; }
.asc-vert-label {
	font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
	color: hsl(var(--teal)); writing-mode: vertical-rl; transform: rotate(180deg);
	border-left: 2px solid hsl(var(--teal)); padding-left: 10px;
}

/* ---------- Program card ---------- */
.asc-program {
	position: relative; background: hsl(var(--navy)); color: hsl(var(--on-dark-2));
	border: 1px solid hsl(var(--mint) / .2); border-top: 4px solid hsl(var(--mint));
	clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
	box-shadow: 0 4px 40px hsl(var(--navy) / .18);
	padding: clamp(2rem, 4vw, 3rem);
	background-image: radial-gradient(ellipse 55% 55% at 80% 50%, hsl(var(--teal) / .12), transparent 70%);
}
.asc-bg-navy .asc-program { background-color: hsl(var(--deep)); }
.asc-program .wp-block-columns { gap: clamp(2.5rem, 5vw, 4rem); margin: 0; }
.asc-program-title { font-family: var(--f-head); font-stretch: 118%; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; line-height: 1.1; color: hsl(var(--on-dark)) !important; margin: 0 0 1.25rem; }
.asc-program-tagline { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--mint)); margin: 0 0 1rem; }
.asc-program p { line-height: 1.7; }

.asc-checklist, .is-style-asc-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.asc-checklist li, .is-style-asc-checklist li {
	display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; line-height: 1.5;
	border-bottom: 1px solid hsl(var(--mint) / .12); padding-bottom: .75rem; margin: 0;
}
.asc-checklist li::before, .is-style-asc-checklist li::before { content: "\2726"; color: hsl(var(--mint)); flex: none; line-height: 1.4; }
.asc-checklist--2col { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); column-gap: 1.5rem; }
.asc-bg-surface .is-style-asc-checklist li, .asc-bg-bg .is-style-asc-checklist li { border-color: hsl(var(--rule)); }
.asc-bg-surface .is-style-asc-checklist li::before, .asc-bg-bg .is-style-asc-checklist li::before { color: hsl(var(--teal)); }

/* ---------- Stats ---------- */
.asc-stat > * { margin: 0; }
.asc-stat-num { font-family: var(--f-head); font-stretch: 118%; font-weight: 900; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; color: hsl(var(--mint)); }
.asc-stat-label { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--on-dark-2)); margin-top: .6rem !important; max-width: 22ch; }

/* ---------- Steps ---------- */
.asc-steps { position: relative; }
.asc-step > * { margin: 0; }
.asc-step-num {
	width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
	background: hsl(var(--teal)); color: #fff; font-family: var(--f-mono); font-weight: 700; font-size: 1.05rem;
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); margin-bottom: 1.1rem !important;
}
.asc-step-title, .asc-card-title { font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; line-height: 1.2; text-transform: none; margin-bottom: .75rem !important; }
.asc-step p:not([class]), .asc-card p:not([class]) { color: hsl(var(--muted-text)); line-height: 1.65; }
@media (min-width: 1000px) {
	.asc-steps:not(.asc-steps--dark)::before {
		content: ""; position: absolute; top: 28px; left: 0; right: 0; height: 1px; opacity: .4;
		background: repeating-linear-gradient(90deg, hsl(var(--teal)) 0 8px, transparent 8px 16px);
	}
	.asc-steps > * { position: relative; }
}
.asc-steps--dark .asc-step { border-top: 1px solid hsl(var(--mint) / .25); padding-top: 1.5rem; }
.asc-steps--dark .asc-step-num { background: hsl(var(--mint)); color: hsl(var(--navy)); width: 44px; height: 44px; font-size: .9rem; }
.asc-steps--dark .asc-step p:not([class]) { color: hsl(var(--on-dark-2)); font-size: .95rem; }
.asc-steps--dark .asc-step-title { font-size: 1.1rem; }

/* ---------- Cards ---------- */
.asc-card { background: hsl(var(--bg)); border: 1px solid hsl(var(--rule)); border-top: 3px solid hsl(var(--teal)); padding: 2rem; }
.asc-bg-bg .asc-card { background: hsl(var(--surface)); }
.asc-card > * { margin: 0; }
.asc-card-num { font-family: var(--f-mono); font-weight: 700; font-size: .85rem; color: hsl(var(--teal)); margin-bottom: 1.25rem !important; }
.asc-cards--marked .asc-card-title::before { content: ""; display: block; width: 14px; height: 14px; margin-bottom: 1rem; background: hsl(var(--mint)); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.asc-card--download { display: flex; flex-direction: column; }
.asc-card--download .wp-block-buttons { margin-top: auto; padding-top: 1.5rem; }
.asc-file-type { display: inline-block; align-self: flex-start; font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; background: hsl(var(--navy)); color: hsl(var(--mint)); padding: .25rem .55rem; margin-bottom: 1.25rem !important; }

/* ---------- Testimonials ---------- */
.wp-block-quote.asc-testi {
	margin: 0; padding: 2rem; background: hsl(var(--bg)); border: 1px solid hsl(var(--rule)); border-left: 4px solid hsl(var(--navy));
	display: flex; flex-direction: column; gap: 1.25rem;
}
.asc-testi::before { content: "\201C"; font-family: var(--f-head); font-weight: 900; font-size: 3rem; line-height: .6; color: hsl(var(--teal)); }
.asc-testi p { font-style: italic; font-size: 1.02rem; line-height: 1.7; color: hsl(var(--ink)); margin: 0; }
.asc-testi cite { font-style: normal; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--muted-text)); line-height: 1.6; }
.asc-testi cite::first-line { font-family: var(--wp--preset--font-family--body); font-size: .9rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: hsl(var(--navy)); }

/* ---------- CTA band ---------- */
.asc-cta { overflow: hidden; }
.asc-cta::after {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 40%; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500' preserveAspectRatio='none'%3E%3Cpolygon fill='%231b796b' fill-opacity='.08' points='400,0 400,500 100,500'/%3E%3Cpolygon fill='%2339c692' fill-opacity='.06' points='400,0 400,500 200,250'/%3E%3Cpolygon fill='%2339c692' fill-opacity='.1' points='400,100 400,400 300,250'/%3E%3C/svg%3E") no-repeat right / 100% 100%;
}
.asc-cta-inner { max-width: 640px; position: relative; z-index: 1; }
.asc-cta-inner > * { margin-block: 0; }
.asc-cta .asc-sub { font-size: 1.05rem; max-width: 52ch; margin-top: 1rem; }
.asc-cta .wp-block-buttons { margin-top: 2.5rem; }
.asc-bg-deep .is-style-asc-mint .wp-block-button__link { color: hsl(var(--deep)); }

/* ---------- Timeline ---------- */
.asc-timeline { border-top: 1px solid hsl(var(--rule)); }
.asc-timeline > * { margin: 0 !important; }
.asc-tl-item { display: grid; grid-template-columns: 1fr; padding-block: clamp(28px, 4vw, 44px); border-bottom: 1px solid hsl(var(--rule)); }
.asc-tl-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.asc-tl-meta > * { margin: 0 !important; }
.asc-tl-num {
	width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; flex: none;
	background: hsl(var(--navy)); color: #fff; font-family: var(--f-mono); font-weight: 700; font-size: 1.1rem;
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.asc-tl-body > * { margin: 0; }
.asc-tl-title { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.5rem); text-transform: none; margin-bottom: .75rem !important; }
.asc-tl-body p:not([class]) { color: hsl(var(--muted-text)); line-height: 1.7; max-width: 68ch; }
.asc-tl-time { display: flex; align-items: center; gap: .5rem; margin-top: 1rem !important; font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: hsl(var(--teal)); }
.asc-tl-time::before { content: ""; width: 8px; height: 8px; background: currentColor; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
@media (min-width: 1000px) {
	.asc-tl-item { grid-template-columns: 200px 1fr; }
	.asc-tl-meta { flex-direction: column; align-items: flex-start; gap: .75rem; margin: 0; }
	.asc-tl-body { padding-left: 2.5rem; border-left: 1px solid hsl(var(--rule)); }
}

/* ---------- FAQ ---------- */
.asc-faq-cols { gap: clamp(2rem, 5vw, 4rem); }
.asc-faq-intro .wp-block-buttons { margin-top: 1.75rem; }
@media (min-width: 782px) { .asc-faq-intro { position: sticky; top: 110px; align-self: flex-start; } }
.wp-block-details.asc-faq { border-bottom: 1px solid hsl(var(--rule)); padding-block: 1.25rem; margin: 0; }
.wp-block-details.asc-faq:first-child { border-top: 1px solid hsl(var(--rule)); }
.asc-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-head); font-weight: 700; font-size: 1.08rem; color: hsl(var(--navy)); }
.asc-faq summary::-webkit-details-marker { display: none; }
.asc-faq summary::after { content: "+"; font-family: var(--f-mono); color: hsl(var(--teal)); font-size: 1.25rem; line-height: 1; transition: transform .2s; }
.asc-faq[open] summary::after { transform: rotate(45deg); }
.asc-faq summary:focus-visible { outline: 2px solid hsl(var(--mint)); outline-offset: 4px; }
.asc-faq p { color: hsl(var(--muted-text)); margin: .9rem 0 0; max-width: 68ch; }

/* ---------- Compare table ---------- */
.wp-block-table.asc-compare { margin: 0; overflow-x: auto; }
.asc-compare table { border-collapse: collapse; background: hsl(var(--surface)); border: 1px solid hsl(var(--rule)); min-width: 520px; }
.asc-compare th, .asc-compare td { border: 0; border-bottom: 1px solid hsl(var(--rule)); padding: 1rem 1.25rem; text-align: center; }
.asc-compare thead { border: 0; }
.asc-compare thead th { font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: hsl(var(--muted-text)); background: hsl(var(--surface)); }
.asc-compare thead th:nth-child(2) { background: hsl(var(--navy)); color: hsl(var(--mint)); }
.asc-compare th:first-child, .asc-compare td:first-child { text-align: left; width: 50%; font-weight: 600; color: hsl(var(--navy)); }
.asc-compare td:nth-child(2) { background: hsl(var(--mint) / .07); }
.asc-compare strong { color: hsl(var(--teal)); font-size: 1.15rem; }
.asc-compare em { font-style: normal; color: hsl(var(--muted-text) / .6); font-size: 1.05rem; }

/* ---------- About ---------- */
.asc-promise-cols { gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.asc-promise-cols p:not([class]) { line-height: 1.75; }
.asc-promise-cols .asc-title { margin-bottom: 2rem; font-size: clamp(1.8rem, 4vw, 3rem); }
.asc-promise {
	padding: clamp(2rem, 4vw, 2.75rem); position: relative;
	background: linear-gradient(hsl(var(--on-dark) / .07) 1px, transparent 1px) 0 0 / 32px 32px,
	            linear-gradient(90deg, hsl(var(--on-dark) / .07) 1px, transparent 1px) 0 0 / 32px 32px,
	            hsl(var(--teal));
	clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.asc-promise .asc-eyebrow { color: hsl(var(--on-dark) / .75) !important; margin-bottom: 1.5rem; }
.asc-promise-quote { font-family: var(--f-head); font-stretch: 118%; font-weight: 900; font-size: clamp(1.4rem, 2.4vw, 1.6rem); line-height: 1.3; color: hsl(var(--on-dark)); margin: 0; }
.asc-promise-quote::before { content: "\201C"; } .asc-promise-quote::after { content: "\201D"; }

.asc-leader { gap: clamp(2rem, 5vw, 3rem); align-items: flex-start; }
.asc-person { background: hsl(var(--navy)); color: hsl(var(--on-dark-2)); padding: 2rem; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
@media (min-width: 782px) { .asc-person { position: sticky; top: 110px; } }
.asc-person > * { margin: 0; }
.asc-initials { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: hsl(var(--mint) / .15); color: hsl(var(--mint)); font-family: var(--f-head); font-weight: 900; font-size: 1.5rem; margin-bottom: 1.5rem !important; }
.asc-person-name { font-family: var(--f-head); font-weight: 900; font-size: 1.25rem; color: hsl(var(--on-dark)) !important; text-transform: none; }
.asc-person-role { font-family: var(--f-mono); font-size: .85rem; color: hsl(var(--mint)); margin: .25rem 0 1.25rem !important; }
.asc-person p:not([class]) { font-size: .9rem; line-height: 1.65; }
.asc-bio p { color: hsl(var(--navy) / .78); line-height: 1.75; margin: 0 0 1.25rem; }

/* ---------- Contact ---------- */
.asc-contact-cols { gap: clamp(2rem, 5vw, 4rem); }
.asc-contact-cols p:not([class]) { color: hsl(var(--muted-text)); }
.asc-contact-list { margin-top: 2rem; display: grid; gap: .25rem; }
.asc-contact-list > * { margin: 0; }
.asc-contact-list .asc-fact-label { margin-top: 1rem; }
.asc-contact-value { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; word-break: break-word; }
.asc-contact-value a { color: hsl(var(--navy)); text-decoration: none; }
.asc-contact-value a:hover { color: hsl(var(--teal)); }
.asc-form-card { background: hsl(var(--surface)); border: 1px solid hsl(var(--rule)); border-top: 4px solid hsl(var(--teal)); padding: clamp(1.75rem, 4vw, 2.5rem); }
.asc-form-card > * { margin-block-start: 0; }

/* WPForms Lite (modern markup uses these variables; the selectors below cover classic markup) */
.asc-form-card .wpforms-container {
	--wpforms-field-border-radius: 0;
	--wpforms-field-border-color: hsl(var(--rule));
	--wpforms-field-background-color: hsl(var(--bg));
	--wpforms-field-text-color: hsl(var(--ink));
	--wpforms-label-color: hsl(var(--navy));
	--wpforms-label-sublabel-color: hsl(var(--muted-text));
	--wpforms-label-error-color: #b42318;
	--wpforms-button-border-radius: 0;
	--wpforms-button-background-color: hsl(var(--teal));
	--wpforms-button-text-color: #fff;
	--wpforms-button-size-height: 48px;
	--wpforms-field-size-input-height: 46px;
	--wpforms-page-break-color: hsl(var(--teal));
	margin: 1.5rem 0 0 !important;
}
.asc-form-card .wpforms-container .wpforms-field { padding: 0 0 1.1rem; }
.asc-form-card .wpforms-container .wpforms-field-label {
	font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--navy));
}
.asc-form-card .wpforms-container .wpforms-required-label { color: hsl(var(--teal)); }
.asc-form-card .wpforms-container :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
	border: 1px solid hsl(var(--rule)); border-radius: 0; background: hsl(var(--bg)); color: hsl(var(--ink));
	font: inherit; font-size: 1rem; box-shadow: none; max-width: 100%;
}
.asc-form-card .wpforms-container :is(input, select, textarea):focus { outline: 2px solid hsl(var(--mint)); outline-offset: 0; border-color: hsl(var(--teal)); box-shadow: none; }
.asc-form-card .wpforms-container textarea { min-height: 140px; }
.asc-form-card .wpforms-container .wpforms-submit-container { padding-top: .5rem; }
.asc-form-card .wpforms-container button.wpforms-submit {
	background: hsl(var(--teal)); color: #fff; border: 0; border-radius: 0; cursor: pointer;
	font-family: var(--f-head); font-weight: 700; font-stretch: 110%; font-size: .9rem;
	padding: 14px 44px 14px 26px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 100%, 0 100%);
}
.asc-form-card .wpforms-container button.wpforms-submit:hover { background: hsl(var(--navy)); }
.asc-form-card .wpforms-confirmation-container-full { background: hsl(var(--mint) / .12); border: 1px solid hsl(var(--mint)); border-radius: 0; color: hsl(var(--ink)); }
@media (min-width: 640px) {
	.asc-form-card .wpforms-form .wpforms-field-container { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
	.asc-form-card .wpforms-form .wpforms-field-container > :is(.wpforms-field-name, .wpforms-field-textarea, .wpforms-field-hp) { grid-column: 1 / -1; }
}

/* ---------- Prose / legal ---------- */
.asc-prose h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; }
.asc-prose p, .asc-prose li { color: hsl(var(--ink) / .85); }
.asc-notice { background: hsl(43 72% 48% / .14); border-left: 4px solid hsl(43 72% 48%); padding: 1rem 1.25rem; }

/* ---------- Footer ---------- */
.asc-footer { background: hsl(var(--navy)); color: hsl(var(--on-dark)); padding-block: 5rem 2.5rem; }
.asc-footer-cols { gap: 2.5rem; margin-bottom: 3.5rem; }
.asc-footer-logo { margin: 0 0 1.5rem; }
.asc-footer-logo img { background: #fff; padding: 10px 14px; max-width: 200px; height: auto; }
.asc-footer-tag { font-size: .875rem; line-height: 1.6; color: hsl(var(--on-dark-2)); max-width: 26ch; margin: 0; }
.asc-social { margin-top: 1.5rem !important; }
.asc-social .wp-social-link { color: hsl(var(--on-dark-2)) !important; }
.asc-footer-heading { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--mint)); margin: 0 0 1rem; }
.asc-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.asc-footer-links a, .asc-legal-links a { color: hsl(var(--on-dark-2)); text-decoration: none; font-size: .875rem; }
.asc-footer-links a:hover, .asc-legal-links a:hover { color: hsl(var(--mint)); }
.asc-footer-bottom { border-top: 1px solid hsl(var(--on-dark) / .12); padding-top: 2rem; gap: 1rem; }
.asc-footer-bottom > * { margin: 0; }
.asc-copy { font-size: .8rem; color: hsl(var(--on-dark-2)); }
.asc-legal-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.asc-legal-links a { font-size: .8rem; }

/* ---------- Columns stacking tweaks ---------- */
@media (max-width: 781px) {
	.asc-hero-art { order: 2; }
	.asc-head-vert { grid-template-columns: 1fr; }
	.asc-vert-label { writing-mode: horizontal-tb; transform: none; border-left: 0; padding-left: 0; }
	.asc-fact { border-right: 0; border-bottom: 1px solid hsl(var(--rule)); width: 100%; }
	.asc-fact:last-child { border-bottom: 0; }
}

/* ---------- Editor-only conveniences ---------- */
.editor-styles-wrapper .asc-ticker-list { flex-wrap: wrap; width: auto; }
.editor-styles-wrapper .asc-header-wrap { position: static; }

@media (max-width: 600px) {
	.wp-block-table.asc-compare { overflow-x: visible; }
	.asc-compare table { min-width: 0; }
	.asc-compare th, .asc-compare td { padding: .8rem .6rem; }
	.asc-compare th:first-child, .asc-compare td:first-child { width: 46%; }
}

/* Tablet (600px to 1099px): the six-item menu doesn't fit beside the logo and buttons,
   so it collapses to the same hamburger menu as phones. */
@media (min-width: 600px) and (max-width: 1099px) {
	.asc-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.asc-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.asc-nav .wp-block-navigation__responsive-container.is-menu-open { display: flex !important; position: fixed; inset: 0; z-index: 100000; }
	.asc-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex !important; }
	.asc-nav .is-menu-open .wp-block-navigation__responsive-container-content { display: flex; flex-direction: column; align-items: flex-start; }
	.asc-nav .is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: flex-start; }
	.asc-nav .is-menu-open .asc-nav-mobile-only { display: flex; }
	.asc-nav .is-menu-open .asc-nav-cta .wp-block-navigation-item__content { color: hsl(var(--mint)); }
	.asc-header-bar { gap: 1rem; }
	.asc-nav { order: 3; margin-left: 0; flex: 0 0 auto; }
	.asc-header-actions { margin-left: auto; }
	.asc-member-link { display: block; }
}

/* Open menu (phones and tablets): navy panel, left-aligned items. Core's white
   overlay rule is more specific, so these rules match its specificity. */
.asc-nav.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background-color: hsl(var(--navy)) !important; color: hsl(var(--on-dark)) !important;
	padding: clamp(1.5rem, 5vw, 2.5rem) !important;
}
.asc-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.asc-nav.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start !important; justify-content: flex-start !important; text-align: left;
}
.asc-nav.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; }
.asc-nav.wp-block-navigation .is-menu-open .wp-block-navigation-item__content { color: hsl(var(--on-dark)) !important; }
.asc-nav.wp-block-navigation .is-menu-open .wp-block-navigation-item__content:hover { color: hsl(var(--mint)) !important; }
.asc-nav.wp-block-navigation .is-menu-open .asc-nav-cta .wp-block-navigation-item__content { color: hsl(var(--mint)) !important; }
.asc-nav.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-close { color: #fff; }
.asc-nav.wp-block-navigation .is-menu-open .wp-block-navigation__responsive-container-close svg { fill: currentColor; }

/* Stats read better as 2 x 2 than 3 + 1 on tablets */
@media (min-width: 480px) and (max-width: 1023px) {
	.asc-stats.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* Five-step referral row: 3 + 2 on mid-size screens instead of 4 + 1 */
@media (min-width: 700px) and (max-width: 1199px) {
	.asc-steps--dark.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* ---------- Home: full-width hero + wide dashboard overlapping its bottom edge ---------- */
.wp-block-cover.asc-hero--overlap { padding-bottom: calc(clamp(56px, 8vw, 104px) + 110px); }
.asc-display--wide { max-width: 20ch; }
.asc-dash-band { position: relative; z-index: 2; margin-top: -110px !important; padding-bottom: clamp(40px, 6vw, 72px); background: linear-gradient(to bottom, transparent 0, transparent 110px, hsl(var(--bg)) 110px); }
.asc-dash-band > .asc-dash { margin-top: 0; }
@media (max-width: 781px) {
	.wp-block-cover.asc-hero--overlap { padding-bottom: calc(clamp(56px, 8vw, 104px) + 70px); }
	.asc-dash-band { margin-top: -70px !important; background: linear-gradient(to bottom, transparent 0, transparent 70px, hsl(var(--bg)) 70px); }
}
