/* ==========================================================================
   Acuity Tech theme — components that mirror the investor deck
   Colors come from theme.json presets (var(--wp--preset--color--*)).
   ========================================================================== */

:root {
	--acu-navy: var(--wp--preset--color--navy, #17243A);
	--acu-ink: var(--wp--preset--color--ink, #101828);
	--acu-steel: var(--wp--preset--color--steel, #2F4A6E);
	--acu-slate: var(--wp--preset--color--slate, #5A7598);
	--acu-muted: var(--wp--preset--color--muted, #5A6878);
	--acu-red: var(--wp--preset--color--red, #C00000);
	--acu-line: var(--wp--preset--color--line, #D0D7E0);
	--acu-mist: var(--wp--preset--color--mist, #DCE4EC);
	--acu-cloud: var(--wp--preset--color--cloud, #F2F5F8);
	--acu-radius: var(--wp--custom--radius, 6px);
	--acu-shadow: var(--wp--custom--shadow);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { -webkit-font-smoothing: antialiased; }
.wp-block-table, .is-style-stat, .acu-bars, .acu-cols, .round-amount, .ebitda { font-variant-numeric: tabular-nums; }
.wp-block-group > .section, .wp-block-group > .hero { margin-block-start: 0; }
img { max-width: 100%; height: auto; }

/* ---------- Text styles ---------- */
.is-style-eyebrow {
	color: var(--acu-red);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	line-height: 1.3;
	margin-bottom: 0.5rem !important;
}
.is-style-source {
	color: var(--acu-muted);
	font-size: 0.75rem;
	line-height: 1.5;
}
.is-style-lead {
	font-size: var(--wp--preset--font-size--lg);
	color: var(--acu-steel);
	line-height: 1.5;
	max-width: 62rem;
}
.wp-block-heading.is-style-stat {
	font-size: var(--wp--preset--font-size--stat);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0;
	font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--acu-muted); font-size: 0.875rem; margin-top: 0.35rem !important; }

/* ---------- Sections ---------- */
.section {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
}
.section:not(.is-style-band-dark):not(.is-style-band-tint) + .section:not(.is-style-band-dark):not(.is-style-band-tint) { border-top: 1px solid var(--acu-line); }
.section-head { margin-bottom: var(--wp--preset--spacing--40); }
.section-head > * { margin-top: 0; }
.section-head .wp-block-heading { margin-bottom: 0.75rem; }

.is-style-band-dark {
	background: var(--acu-navy);
	color: #E6ECF3;
}
.is-style-band-dark :where(h1, h2, h3, h4, .wp-block-heading) { color: #fff; }
.is-style-band-dark .is-style-lead { color: #C9D3DE; }
.is-style-band-dark .is-style-eyebrow { color: #FF6B6B; }
.is-style-band-dark .is-style-source { color: #9FB0C4; }
.is-style-band-tint { background: var(--acu-cloud); }

/* ---------- Cards ---------- */
.is-style-card {
	background: var(--acu-cloud);
	border: 1px solid var(--acu-line);
	border-radius: var(--acu-radius);
	padding: 1.5rem;
}
.is-style-card-dark {
	background: var(--acu-navy);
	color: #E6ECF3;
	border-radius: var(--acu-radius);
	padding: 1.5rem;
}
.is-style-card-dark :where(h1, h2, h3, h4, .wp-block-heading) { color: #fff; }
.is-style-card-dark .is-style-eyebrow { color: #FF8A8A; }
.is-style-card-dark .stat-label { color: #B7C4D4; }
.is-style-card-dark .is-style-lead { color: #C9D3DE; }
.is-style-card > :first-child, .is-style-card-dark > :first-child, .is-style-callout > :first-child { margin-top: 0; }
.is-style-card > :last-child, .is-style-card-dark > :last-child, .is-style-callout > :last-child { margin-bottom: 0; }
.is-style-card h3, .is-style-card-dark h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }

.is-style-callout {
	background: #FBEAEA;
	border-radius: var(--acu-radius);
	padding: 1.25rem 1.5rem;
	color: var(--acu-ink);
}
.is-style-callout strong { color: var(--acu-navy); }

/* Card grids: equal height cards inside columns */
.card-grid > .wp-block-column { display: flex; flex-direction: column; }
.card-grid > .wp-block-column > .wp-block-group { flex: 1; }

/* ---------- Lists ---------- */
.wp-block-list.is-style-tight { padding-left: 1.1rem; margin: 0.5rem 0 0; }
.wp-block-list.is-style-tight li { margin: 0.3rem 0; font-size: 0.9375rem; line-height: 1.45; }
.wp-block-list.is-style-tight li::marker { color: var(--acu-red); }

/* ---------- Hero ---------- */
.hero { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--50); }
.hero h1 { margin: 0; letter-spacing: -0.03em; }
.hero .hero-tagline {
	font-size: clamp(1.25rem, 2.2vw, 1.625rem);
	font-weight: 700;
	color: var(--acu-navy);
	margin-top: 1rem;
	padding-bottom: 1rem;
	border-bottom: 3px solid var(--acu-red);
	display: inline-block;
}
.hero .hero-logo img { width: min(240px, 60vw); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(192,0,0,.55); }
.hero .wp-block-columns { align-items: center; }

/* ---------- Stat tiles ---------- */
.stat-tiles { gap: 0.75rem !important; }
.stat-tiles > .wp-block-column {
	background: var(--acu-cloud);
	border: 1px solid var(--acu-line);
	border-radius: var(--acu-radius);
	padding: 1.25rem 1.5rem;
}
.stat-tiles > .wp-block-column:first-child { background: var(--acu-navy); border-color: var(--acu-navy); }
.stat-tiles > .wp-block-column:first-child .wp-block-heading { color: #fff; }
.stat-tiles > .wp-block-column:first-child .stat-label { color: #B7C4D4; }
.stat-tiles > .wp-block-column > * { margin: 0; }
.is-style-band-dark .stat-tiles > .wp-block-column { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.is-style-band-dark .stat-tiles > .wp-block-column:first-child { background: var(--acu-red); border-color: var(--acu-red); }
.is-style-band-dark .stat-tiles > .wp-block-column:first-child .stat-label { color: #FFE1E1; }
.is-style-band-dark .stat-tiles .stat-label { color: #B7C4D4; }

/* ---------- Chevron steps & roadmaps ---------- */
.chevrons { gap: 0.4rem !important; }
.chevrons .chevron {
	background: var(--acu-steel);
	color: #fff;
	font-weight: 700;
	font-size: 0.9375rem;
	padding: 0.7rem 1.75rem 0.7rem 1.1rem;
	margin: 0 0 1rem;
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.chevrons > .wp-block-column:first-child .chevron { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.chevrons > .wp-block-column:last-child .chevron { background: var(--acu-red); }
.chevrons .chevron .chevron-sub { font-weight: 400; opacity: .8; font-size: 0.75rem; margin-left: .35rem; }
.chevrons.is-roadmap > .wp-block-column:last-child .chevron { background: var(--acu-navy); }
.chevrons.is-roadmap > .wp-block-column:nth-child(1) .chevron { background: var(--acu-slate); }
.chevrons.is-roadmap > .wp-block-column:nth-child(2) .chevron { background: #4A6488; }
.chevrons.is-roadmap > .wp-block-column:nth-child(3) .chevron { background: var(--acu-steel); }
.chevrons.is-roadmap > .wp-block-column:nth-child(4) .chevron { background: #22385A; }
.chevrons .wp-block-heading.is-style-stat { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.chevrons .milestone + .ebitda, .chevrons .wp-block-heading + .ebitda { }
.chevrons .milestone { font-size: 0.875rem; line-height: 1.45; margin: 0.6rem 0 0; }
.chevrons .milestone strong { display: block; color: var(--acu-red); font-size: 0.75rem; letter-spacing: .04em; }
.chevrons.is-roadmap > .wp-block-column { display: flex; flex-direction: column; }
.chevrons .ebitda {
	margin-top: auto !important;
	padding-top: 0.6rem;
	border-top: 1px solid var(--acu-line);
	font-size: 0.8125rem;
	color: var(--acu-muted);
}
.chevrons .ebitda strong { color: var(--acu-navy); }

/* ---------- Pillars (vision thesis staircase) ---------- */
.pillars { align-items: flex-end !important; gap: 0.4rem !important; }
.pillars > .wp-block-column {
	background: var(--acu-steel);
	color: #fff;
	padding: 1rem;
	border-radius: 4px 4px 0 0;
	display: flex; flex-direction: column; justify-content: flex-end;
}
.pillars > .wp-block-column > * { margin: 0; }
.pillars > .wp-block-column:nth-child(1) { min-height: 90px; background: var(--acu-slate); }
.pillars > .wp-block-column:nth-child(2) { min-height: 110px; background: #4A6488; }
.pillars > .wp-block-column:nth-child(3) { min-height: 130px; }
.pillars > .wp-block-column:nth-child(4) { min-height: 150px; background: #22385A; }
.pillars > .wp-block-column:nth-child(5) { min-height: 170px; background: var(--acu-red); }
.pillars .pillar-num { font-size: 0.75rem; opacity: .75; font-weight: 600; }
.pillars .pillar-title { font-weight: 700; font-size: 1rem; line-height: 1.25; }

/* ---------- Company cards ---------- */
.company-card .company-logo { height: 76px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--acu-line); border-radius: 4px; padding: 10px; margin-bottom: 1rem !important; }
.company-card .company-logo img { max-height: 56px; width: auto; object-fit: contain; }
.company-card .stake { color: var(--acu-red); font-weight: 700; font-size: 0.8125rem; margin: 0.15rem 0 0.5rem; }
.company-card .return {
	margin-top: auto !important;
	padding-top: 0.75rem;
	border-top: 1px solid var(--acu-line);
	font-weight: 600;
	color: var(--acu-navy);
	font-size: 0.9375rem;
}
.company-card.wp-block-group { display: flex; flex-direction: column; }
.need-figure { font-size: 2.25rem !important; margin-top: 0.75rem !important; }
.need-text { font-size: 0.9rem; color: var(--acu-ink); margin-top: 0.25rem !important; }

/* ---------- Tables ---------- */
.wp-block-table { overflow-x: auto; margin: 0; }
.wp-block-table.is-style-acuity table { border-collapse: collapse; width: 100%; }
.wp-block-table.is-style-acuity table:has(th:nth-child(5)) { min-width: 600px; }
.wp-block-table.is-style-acuity :where(th, td) { border: 0; border-bottom: 1px solid var(--acu-line); padding: 0.65rem 0.85rem; text-align: right; vertical-align: top; }
.wp-block-table.is-style-acuity :where(th, td):first-child { text-align: left; }
.wp-block-table.is-style-acuity thead { border: 0; }
.wp-block-table.is-style-acuity thead th { background: var(--acu-navy); color: #fff; font-weight: 600; font-size: 0.8125rem; }
.wp-block-table.is-style-acuity tbody tr:nth-child(even) td { background: #FAFBFC; }
.wp-block-table.is-style-acuity tbody td:first-child { color: var(--acu-navy); font-weight: 500; }
.wp-block-table.is-style-acuity tfoot { border: 0; }
.wp-block-table.is-style-acuity tfoot td { background: var(--acu-mist); font-weight: 700; color: var(--acu-navy); border-bottom: 0; }
.wp-block-table.is-style-acuity.is-text-table :where(th, td) { text-align: left; }
.wp-block-table.is-style-acuity.is-dots :where(th, td):nth-child(2) { text-align: left; }
.wp-block-table.is-style-acuity.is-dots :where(th, td):nth-child(n+3) { text-align: center; width: 8.5rem; }
.wp-block-table.is-style-acuity.is-dots td:nth-child(n+3) { color: var(--acu-steel); }
.wp-block-table.is-style-acuity .wp-element-caption, .wp-block-table figcaption { text-align: left; color: var(--acu-muted); font-size: 0.75rem; margin-top: 0.6rem; }
.wp-block-table.is-style-acuity mark, .wp-block-table.is-style-acuity strong { color: var(--acu-red); background: none; }

/* ---------- Bar charts (custom HTML) ---------- */
.acu-bars { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.acu-bars li { display: grid; grid-template-columns: minmax(9rem, 16rem) 1fr; align-items: center; gap: 0.9rem; font-size: 0.875rem; }
.acu-bars .bar-label { color: var(--acu-navy); text-align: right; }
.acu-bars .bar-track { position: relative; height: 26px; }
.acu-bars .bar-fill {
	display: block; height: 100%; width: var(--w); min-width: 4px;
	background: var(--acu-steel); border-radius: 0 3px 3px 0;
	transform-origin: left; animation: acu-grow 0.9s cubic-bezier(.2,.7,.2,1) both;
}
.acu-bars li.is-lead .bar-fill { background: var(--acu-red); }
.acu-bars .bar-value { position: absolute; left: calc(var(--w) + 0.5rem); top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--acu-navy); white-space: nowrap; }
@keyframes acu-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.acu-cols { display: flex; align-items: flex-end; gap: clamp(0.5rem, 2vw, 1.5rem); height: 260px; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--acu-line); }
.acu-cols li { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.acu-cols .col-fill { width: 100%; max-width: 72px; height: var(--h); min-height: 3px; background: var(--acu-mist); border-radius: 3px 3px 0 0; transform-origin: bottom; animation: acu-rise .9s cubic-bezier(.2,.7,.2,1) both; }
.acu-cols li:nth-child(4) .col-fill { background: #A9B9CD; }
.acu-cols li:last-child .col-fill { background: var(--acu-steel); }
.acu-cols .col-value { font-weight: 700; font-size: 0.875rem; color: var(--acu-navy); margin-bottom: 0.35rem; white-space: nowrap; }
.acu-cols-x { display: flex; gap: clamp(0.5rem, 2vw, 1.5rem); margin: 0.4rem 0 0; padding: 0; list-style: none; }
.acu-cols-x li { flex: 1; text-align: center; font-size: 0.8125rem; color: var(--acu-muted); }
@keyframes acu-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .acu-bars .bar-fill, .acu-cols .col-fill { animation: none; } }

/* ---------- People ---------- */
.team .wp-block-image img { aspect-ratio: 1; object-fit: cover; border-radius: var(--acu-radius); filter: grayscale(1); width: 100%; }
.team .person-name { margin: 1rem 0 0.15rem; font-size: 1.125rem; }
.team .person-role { color: var(--acu-red); font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 0.5rem; }

/* Org chart */
.org-root { max-width: 640px; margin-left: auto !important; margin-right: auto !important; position: relative; }
.org-root .wp-block-columns { align-items: center; margin: 0; }
.org-root img { border-radius: 4px; filter: grayscale(1); }
.org-branch { position: relative; margin-top: 2.5rem !important; }
.org-branch::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: -1.25rem; border-top: 2px solid var(--acu-line); }
.org-branch::after { content: ""; position: absolute; left: 50%; top: -2.5rem; height: 1.25rem; border-left: 2px solid var(--acu-line); }
.org-branch > .wp-block-column { position: relative; }
.org-branch > .wp-block-column::before { content: ""; position: absolute; left: 50%; top: -1.25rem; height: 1.25rem; border-left: 2px solid var(--acu-line); }
.org-node .wp-block-image img { width: 72px; height: 72px; object-fit: cover; }
.org-node.is-vacant { background: #fff; border-style: dashed; }
@media (max-width: 781px) {
	.org-branch::before, .org-branch::after, .org-branch > .wp-block-column::before { display: none; }
}

/* ---------- The ask ---------- */
.ask-total .wp-block-heading.is-style-stat { font-size: clamp(2.75rem, 5vw, 3.75rem); }
.ask-round .round-amount { font-size: 2rem; font-weight: 700; color: var(--acu-navy); margin: 0.1rem 0 0.75rem; }
.ask-round .round-amount span { font-size: 0.8125rem; font-weight: 500; color: var(--acu-muted); margin-left: .4rem; }
.uses { width: 100%; border-collapse: collapse; font-size: 0.9rem; }

/* Numbered 2x2 (Why now) */
.num-card .num { color: var(--acu-red); font-weight: 700; font-size: 0.8125rem; margin-bottom: 0.4rem !important; }

/* ---------- Header / footer ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
.site-header {
	background: #fff;
	border-bottom: 1px solid var(--acu-line);
	padding-top: 0.8rem; padding-bottom: 0.8rem;
}
.site-header .brand { gap: 0.65rem !important; }
.site-header .brand-mark { margin: 0; }
.site-header .brand-mark img { width: 40px; height: 40px; border-radius: 7px; display: block; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.site-header .wp-block-site-logo img { border-radius: 6px; }
.site-header .wp-block-site-title { font-weight: 800; letter-spacing: -0.02em; font-size: 1.125rem; margin: 0; }
.site-header .wp-block-site-title a { color: var(--acu-navy); text-decoration: none; }
.site-header .wp-block-navigation a { color: var(--acu-navy); text-decoration: none; }
.site-header .wp-block-navigation a:hover { color: var(--acu-red); }

.site-footer { background: var(--acu-ink); color: #B7C4D4; font-size: 0.875rem; }
.site-footer a { color: #fff; }
.site-footer .is-style-eyebrow { color: #FF6B6B; }
.site-footer .is-style-source { color: #A3B1C2; }
.site-footer .wp-block-site-title { font-weight: 800; font-size: 1.125rem; }
.site-footer .wp-block-site-title a { color: #fff; text-decoration: none; }

/* ---------- Generic content pages ---------- */
.entry-content > * + * { margin-top: 1.25rem; }
.wp-block-post-title { margin-top: var(--wp--preset--spacing--40); }

/* ---------- Responsive ---------- */
@media (max-width: 781px) {
	.pillars > .wp-block-column { min-height: 0 !important; border-radius: 4px; }
	.chevrons .chevron, .chevrons > .wp-block-column:first-child .chevron { clip-path: none; border-radius: 4px; white-space: normal; }
	.acu-bars li { grid-template-columns: 1fr; gap: 0.25rem; }
	.acu-bars .bar-label { text-align: left; }
	.acu-bars .bar-track { margin-right: 4.5rem; }
	.hero .hero-logo { order: -1; }
}
@media print {
	.site-header { position: static; }
	.section { break-inside: avoid; }
}

/* Cards and numbered items inside navy bands */
.is-style-band-dark .is-style-card { color: var(--acu-ink); }
.is-style-band-dark .is-style-card :where(h3, strong) { color: var(--acu-navy); }
.is-style-band-dark .num-card { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1rem; }
.is-style-band-dark .num-card .num { color: #FF6B6B; }
.is-style-band-dark .num-card p:not(.num) { color: #C9D3DE; }
.closing-ask { margin-top: var(--wp--preset--spacing--40) !important; align-items: center; }
.closing-ask > p { margin: 0; max-width: 46rem; }
.ask-total p { margin-bottom: 0.9rem; }
.is-style-card-dark .is-style-eyebrow + .wp-block-heading { margin-top: 0.25rem; }
@media (max-width: 781px) {
	.team .wp-block-image img { max-width: 240px; }
	.hero .hero-logo img { width: 140px; }
	.wp-block-table.is-style-acuity.is-dots table { min-width: 720px; }
	.site-header .wp-block-buttons { display: none; }
}

/* ==========================================================================
   v1.1 — business pages, photos, forms
   ========================================================================== */

/* Photos */
.company-card .card-photo { margin: -1.5rem -1.5rem 1.25rem !important; overflow: hidden; border-radius: var(--acu-radius) var(--acu-radius) 0 0; }
.company-card .card-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.company-card .company-logo { height: 64px; }
.company-card .company-logo img { max-height: 44px; }

/* Page hero */
.page-hero { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); background: linear-gradient(180deg, var(--acu-cloud) 0%, #fff 100%); }
.page-hero .wp-block-columns { align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.page-hero h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin: 0 0 1rem; letter-spacing: -0.025em; }
.page-hero .hero-photo { margin: 0; }
.page-hero .hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(16,24,40,.45); display: block; }
.page-hero-text { padding-bottom: var(--wp--preset--spacing--40); }
.page-hero-text h1 { max-width: 22ch; }
.is-layout-constrained > :where(.page-hero-text h1, .is-style-lead, .faq-list) { margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; }
.page-hero + .section { border-top: 0 !important; }

/* Feature rows (photo + text) */
.feature-row { align-items: center !important; gap: clamp(1.5rem, 4vw, 4rem) !important; }
.feature-row .feature-photo { margin: 0; }
.feature-row .feature-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; background: var(--acu-cloud); }
.feature-row .company-wordmark { margin: 0 0 1rem; }
.feature-row .company-wordmark img { height: 48px; width: auto; max-height: none; }
.feature-row h2 { margin-top: 0.25rem; }
.facts-table { margin: 1.25rem 0 !important; }
.wp-block-table.is-style-acuity.facts-table td { font-size: 0.875rem; padding: 0.55rem 0.75rem; }
.wp-block-table.is-style-acuity.facts-table td:first-child { width: 36%; color: var(--acu-muted); font-weight: 600; }
.wp-block-table.is-style-acuity.facts-table tbody tr:nth-child(even) td { background: transparent; }
.steps-list li { margin: 0.6rem 0 !important; }

/* Numbered cards on light backgrounds */
.num-card .num { color: var(--acu-red); font-weight: 700; font-size: 0.8125rem; margin: 0 0 0.35rem !important; }
.num-card h3 { margin-top: 0; }
.stat-tiles-plain > .wp-block-column:first-child { background: var(--acu-cloud) !important; border-color: var(--acu-line) !important; }
.stat-tiles-plain > .wp-block-column:first-child .wp-block-heading { color: var(--acu-navy) !important; }
.stat-tiles-plain > .wp-block-column:first-child .stat-label { color: var(--acu-muted) !important; }
.stat-tiles + .stat-tiles { margin-top: 0.75rem; }

/* Advisers */
.advisers .wp-block-image img { max-width: 160px; }
.person-bio { font-size: 0.9rem; color: var(--acu-muted); margin-top: 0 !important; }

/* CTA band */
.cta-band .wp-block-columns { align-items: center; }
.cta-band h2 { margin-top: 0; }
.cta-actions .wp-block-buttons { justify-content: flex-end; }
.is-style-band-dark .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.6); }

/* Contact */
.contact-stack > * + * { margin-top: 0.75rem !important; }
.contact-card { padding: 1.1rem 1.25rem !important; }
.contact-card .contact-line { font-weight: 600; color: var(--acu-navy); margin: 0.1rem 0 0.25rem; }
.form-card { background: #fff !important; box-shadow: 0 20px 50px -30px rgba(16,24,40,.35); }
.form-title { font-size: 1.5rem !important; margin-top: 0; }
.doc-stack > * + * { margin-top: 0.75rem !important; }
.acu-form { display: grid; gap: 0.25rem; }
.acu-form p { margin: 0 0 0.75rem; }
.acu-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.acu-form label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--acu-navy); margin-bottom: 0.35rem; }
.acu-form :where(input[type=text], input[type=email], select, textarea) {
	width: 100%; box-sizing: border-box; font: inherit; font-size: 0.9375rem; color: var(--acu-ink);
	background: #fff; border: 1px solid #B9C4D2; border-radius: 4px; padding: 0.7rem 0.8rem;
}
.acu-form :where(input, select, textarea):focus { outline: 2px solid var(--acu-steel); outline-offset: 1px; border-color: var(--acu-steel); }
.acu-form .acu-consent label { font-weight: 400; color: var(--acu-muted); display: flex; gap: 0.5rem; align-items: flex-start; }
.acu-form .acu-consent input { margin-top: 0.2rem; accent-color: var(--acu-red); }
.acu-form button { cursor: pointer; border: 0; }
.acu-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.acu-form-notice { padding: 0.9rem 1rem; border-radius: 4px; margin-bottom: 1rem; font-size: 0.9375rem; }
.acu-form-notice.is-success { background: #E7F5EC; color: #14532D; }
.acu-form-notice.is-error { background: #FBEAEA; color: #7F1D1D; }
@media (max-width: 600px) { .acu-form-row { grid-template-columns: 1fr; gap: 0; } }

/* FAQ */
.faq-list { max-width: 860px; }
.wp-block-details.faq { border-bottom: 1px solid var(--acu-line); padding: 1rem 0; margin: 0 !important; }
.wp-block-details.faq summary { font-weight: 600; color: var(--acu-navy); cursor: pointer; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.wp-block-details.faq summary::-webkit-details-marker { display: none; }
.wp-block-details.faq summary::after { content: "+"; color: var(--acu-red); font-weight: 700; font-size: 1.25rem; line-height: 1; }
.wp-block-details.faq[open] summary::after { content: "–"; }
.wp-block-details.faq p { color: var(--acu-muted); margin: 0.6rem 0 0; }

/* News */
.news-card { padding: 0 0 1.25rem !important; overflow: hidden; background: #fff !important; display: flex; flex-direction: column; height: 100%; }
.news-card > *:not(.wp-block-post-featured-image) { margin-left: 1.25rem !important; margin-right: 1.25rem !important; }
.news-card .wp-block-post-featured-image { margin: 0 0 1rem !important; }
.news-card .wp-block-post-featured-image img { display: block; }
.news-card .wp-block-post-title { font-size: 1.1875rem; margin: 0.25rem 0 0.5rem; }
.news-card .wp-block-post-title a { color: var(--acu-navy); text-decoration: none; }
.news-card .wp-block-post-title a:hover { color: var(--acu-red); }
.news-card .wp-block-post-excerpt { font-size: 0.9375rem; color: var(--acu-muted); }
.news-card .wp-block-post-excerpt__more-text { display: none; }
.single-post { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--50); }
.single-post .wp-block-post-featured-image img { border-radius: 10px; }
.back-link a { font-weight: 600; text-decoration: none; }

/* Legal */
.legal-body h2 { font-size: 1.5rem; margin-top: 2.5rem; }

/* Footer */
.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-links li { margin: 0 0 0.45rem; }
.site-footer .footer-links a { color: #E6ECF3; text-decoration: none; }
.site-footer .footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem !important; padding-top: 1.25rem; }
.footer-base a { color: #E6ECF3; }

@media (max-width: 781px) {
	.cta-actions .wp-block-buttons { justify-content: flex-start; }
	.page-hero .hero-photo { order: -1; }
}
.wp-block-post-content > .section, .wp-block-post-content > .page-hero { margin-block-start: 0; }
.feature-row .company-wordmark img[src*="africa"] { height: 72px; }

/* Mobile menu overlay */
.wp-block-navigation__responsive-container.is-menu-open { background: #fff; padding: 1.5rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.1rem; font-size: 1.25rem; }

.nav-mobile-only { display: none !important; }
.is-menu-open .nav-mobile-only { display: block !important; }

/* ==========================================================================
   v1.2 — photo hero, image backgrounds, dropdown navigation, company pages
   ========================================================================== */

/* Home hero header */
.wp-block-cover.home-hero { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--50); margin: 0; }
.home-hero .wp-block-cover__background { background: linear-gradient(90deg, rgba(16,24,40,.96) 0%, rgba(23,36,58,.88) 45%, rgba(23,36,58,.45) 100%) !important; opacity: 1 !important; }
.home-hero .wp-block-cover__inner-container { color: #fff; }
.home-hero .wp-block-cover__inner-container > * { max-width: 720px; margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; }
.home-hero h1 { color: #fff; font-size: var(--wp--preset--font-size--hero); margin: 0; letter-spacing: -0.03em; }
.home-hero .is-style-eyebrow { color: #FF8A8A; }
.home-hero .hero-tagline { color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 700; margin-top: 1rem; padding-bottom: 1rem; border-bottom: 3px solid var(--acu-red); display: inline-block; }
.home-hero .is-style-lead { color: #D5DEE9; }
.home-hero .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.7); }
.home-hero .hero-proof { margin-top: 2.5rem !important; color: #B7C4D4; font-size: 0.9375rem; }
.home-hero .hero-proof strong { color: #fff; }
.home-hero .hero-proof span { margin: 0 .5rem; color: var(--acu-red); }

/* Network graphic on text-only page headers */
.page-hero-text { background: url(../images/network.svg) right -60px center / auto 135% no-repeat, linear-gradient(180deg, var(--acu-cloud) 0%, #fff 100%); }

/* Image backgrounds behind navy bands */
#highlights.is-style-band-dark, .company-stats.is-style-band-dark { background: url(../images/network-light.svg) right -80px center / auto 140% no-repeat, var(--acu-navy); }
#why-now.is-style-band-dark { background: linear-gradient(90deg, rgba(16,24,40,.97) 0%, rgba(23,36,58,.9) 55%, rgba(23,36,58,.78) 100%), url(../images/modular-facility.jpg) center / cover no-repeat; }
.cta-band.is-style-band-dark { background: url(../images/network-light.svg) right -120px center / auto 160% no-repeat, var(--acu-navy); }

/* Card links and photo cards */
.card-link { margin-top: 0.75rem !important; font-weight: 600; font-size: 0.9375rem; }
.card-link a { text-decoration: none; }
.card-link a:hover { text-decoration: underline; }
.photo-card .wp-block-buttons { margin-top: auto; padding-top: 0.5rem; }
.unmet .company-card .card-photo img, .company-card .card-photo img { aspect-ratio: 16 / 10; }

/* Company pages */
.company-stats .stat-tiles > .wp-block-column { min-width: 0; }
.company-stats .wp-block-heading.is-style-stat { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.need-stack > * + * { margin-top: 0.75rem !important; }
.need-stack .is-style-card { background: #fff; }
.need-stack .need-figure { margin-top: 0 !important; }
.committee-label { margin-top: var(--wp--preset--spacing--40) !important; }

/* Dropdown navigation */
.site-header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: #fff; border: 1px solid var(--acu-line) !important; border-radius: 6px;
	box-shadow: 0 18px 40px -18px rgba(16,24,40,.35); padding: 0.4rem 0; min-width: 220px !important;
}
.site-header .wp-block-navigation .wp-block-navigation__submenu-container a { padding: 0.55rem 1rem !important; font-size: 0.9rem; }
.site-header .wp-block-navigation .wp-block-navigation__submenu-container a:hover { background: var(--acu-cloud); color: var(--acu-red); }
.site-header .wp-block-navigation .wp-block-navigation__submenu-icon { color: var(--acu-slate); }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0.25rem 0 0.5rem 1rem; min-width: 0 !important; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a { font-size: 1rem; color: var(--acu-muted); padding: 0.3rem 0 !important; }

@media (max-width: 781px) {
	.page-hero-text { background-size: auto 90%, auto; background-position: right -200px top 20px, 0 0; }
	.home-hero .wp-block-cover__background { background: rgba(16,24,40,.88) !important; }
	.company-stats .stat-tiles > .wp-block-column { flex-basis: 100% !important; }
}

.company-wordmark { margin: 1.5rem 0 0 !important; }
.company-wordmark img { height: 44px; width: auto; max-height: none; }
.company-wordmark img[src*="africa"] { height: 72px; }

.site-header .wp-block-navigation__responsive-container.is-menu-open :where(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container, .wp-block-navigation__submenu-container, .wp-block-navigation-item) { align-items: flex-start !important; text-align: left; }

.intro-stats { margin: 1.5rem 0 !important; }
.intro-stats .wp-block-heading.is-style-stat { font-size: 2rem; }
.home-team .wp-block-image img { max-width: 100%; }
.home-intro .feature-row { align-items: center !important; }
