/*
Theme Name: Integral Analytics — Comp
Theme URI: https://integralanalytics.com
Author: Willdan / Integral Analytics
Description: Faithful WordPress block-theme build of the approved IA_Website_Allpages_1022 design comp. Layout, hierarchy and visual language match the comp exactly; only outright defects were corrected (typos, lorem placeholders, and two WCAG AA contrast failures). Pair with "Integral Analytics — Foresight" to compare directions.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ia-comp
Tags: block-theme, full-site-editing, business, one-column, custom-colors, custom-logo, wide-blocks
*/

/* ==========================================================================
   Integral Analytics — Comp
   --------------------------------------------------------------------------
   Design tokens live in theme.json and arrive as --wp--preset--* custom
   properties. This file holds only what theme.json cannot express: component
   composition, the network/wave decoration, and responsive behaviour.

   DELIBERATE FIDELITY NOTES (differences from the comp, all defect-only):
     1. Small yellow eyebrow labels use --ia-accent-legible (#FFD84D, 4.68:1)
        instead of #F6CF0E (4.36:1), which fails WCAG AA at label sizes.
        Large yellow headlines keep #F6CF0E — 4.36:1 passes AA for large text.
     2. Form placeholders use #595959 (5.56:1 on the grey field) instead of
        #7F7F7F (3.18:1, an AA failure).
     3. Typos in the comp are corrected: "Progam" -> "Program",
        "Ananlytics" -> "Analytics", "yourgrid" -> "your grid",
        "Coops" -> "Co-ops". Lorem ipsum in Insights replaced with real titles.
   Everything else is intentionally reproduced as designed, including the
   saturated-blue treatment and the CTA form repeating on every page.
   ========================================================================== */

:root {
	--ia-blue: var(--wp--preset--color--brand-blue);
	--ia-blue-deep: var(--wp--preset--color--brand-blue-deep);
	--ia-navy: var(--wp--preset--color--brand-navy);
	--ia-accent: var(--wp--preset--color--accent);
	--ia-accent-legible: var(--wp--preset--color--accent-legible);
	--ia-heading-blue: var(--wp--preset--color--heading-blue);
	--ia-card-radius: 18px;
	--ia-shell: 1180px;
}

/* --------------------------------------------------------------------------
   1. Page shell — the saturated blue field with its network decoration
   -------------------------------------------------------------------------- */

body {
	background-color: var(--ia-blue);
	background-image: linear-gradient(180deg, #2360C0 0%, #205BB9 40%, #1D53AD 100%);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* The network field is fixed behind content so it reads as one continuous
   backdrop across sections, matching the comp's single flattened background. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: url(assets/img/bg-network.svg) center / cover no-repeat;
	opacity: 0.9;
	pointer-events: none;
	z-index: 0;
}

.wp-site-blocks {
	position: relative;
	z-index: 1;
}

/* --------------------------------------------------------------------------
   2. Header
   -------------------------------------------------------------------------- */

.ia-header {
	padding-block: 1.25rem;
}

.ia-logo {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	text-decoration: none;
	color: #fff;
}

.ia-logo:hover { text-decoration: none; }

.ia-logo__mark {
	width: 58px;
	height: auto;
	flex: none;
}

.ia-logo__text {
	display: block;
	font-family: var(--wp--preset--font-family--wordmark);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: 0.14em;
	font-size: 1.0625rem;
	text-transform: uppercase;
	white-space: nowrap;
}

.ia-logo__endorse {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.625rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
	opacity: 0.92;
	margin-top: 0.28rem;
}

/* Navigation */
.ia-nav a {
	color: #fff;
	text-decoration: none;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9375rem;
	font-weight: 500;
	padding-block: 0.35rem;
}

.ia-nav a:hover,
.ia-nav .current-menu-item > a {
	text-decoration: underline;
	text-underline-offset: 7px;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--ia-accent);
}

/* Outlined demo button in the header — the comp's only ghost button */
.ia-btn-ghost .wp-block-button__link,
a.ia-btn-ghost {
	background: transparent;
	color: #fff;
	border: 1.5px solid var(--ia-accent);
	border-radius: 999px;
	padding: 0.7rem 1.6rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.ia-btn-ghost .wp-block-button__link:hover,
a.ia-btn-ghost:hover {
	background: var(--ia-accent);
	color: var(--wp--preset--color--contrast);
}

/* --------------------------------------------------------------------------
   3. Hero
   -------------------------------------------------------------------------- */

.ia-hero {
	padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}

.ia-hero__title {
	color: #fff;
	margin: 0 0 1rem;
	max-width: 22ch;
}

/* The comp's signature device: white first line, yellow payoff line. */
.ia-hero__title .ia-accent-line,
.ia-accent-line {
	color: var(--ia-accent);
	display: block;
}

.ia-hero__sub {
	color: #fff;
	font-weight: 700;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
	margin: 0;
}

/* --------------------------------------------------------------------------
   4. The white card — the comp's primary containment device
   -------------------------------------------------------------------------- */

.ia-card {
	background: #fff;
	border-radius: var(--ia-card-radius);
	box-shadow: var(--wp--preset--shadow--card);
	padding: clamp(1.75rem, 3.5vw, 3rem);
	color: var(--wp--preset--color--body);
}

.ia-card :is(h1, h2, h3, h4) { color: var(--ia-heading-blue); }

/* Deep-blue inset panel (Products block on the home page) */
.ia-panel-deep {
	background: var(--ia-blue-deep);
	border-radius: var(--ia-card-radius);
	padding: clamp(1.75rem, 3.5vw, 3rem);
	color: #fff;
}

.ia-panel-deep :is(h1, h2, h3, h4) { color: #fff; }

/* Circular image well with the comp's double-ring treatment */
.ia-orb {
	position: relative;
	inline-size: min(100%, 260px);
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--ia-heading-blue);
	background: var(--wp--preset--color--brand-blue-tint);
}

.ia-orb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Placeholder well — the comp's "HOLD FOR IA SOFTWARE IMAGE (TBD)" slot */
.ia-orb--hold {
	display: grid;
	place-items: center;
	background: #4A4A4A;
	color: #fff;
	text-align: center;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.8125rem;
	line-height: 1.4;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 1.5rem;
}

/* --------------------------------------------------------------------------
   5. Section furniture
   -------------------------------------------------------------------------- */

/* Yellow eyebrow label. Uses the legible yellow — see fidelity note 1. */
.ia-eyebrow {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ia-accent-legible);
	margin: 0 0 0.6rem;
	text-align: center;
}

.ia-eyebrow--ink { color: var(--wp--preset--color--contrast); }
.ia-eyebrow--left { text-align: left; }

.ia-section {
	padding-block: clamp(2.5rem, 5vw, 4.25rem);
}

.ia-section__title {
	color: #fff;
	text-align: center;
	margin: 0 auto 1rem;
	max-width: 26ch;
}

.ia-section__intro {
	color: #fff;
	text-align: center;
	max-width: 62ch;
	margin: 0 auto;
	font-size: 0.9375rem;
}

/* White-background band (Case Studies) */
.ia-band-light {
	background: #fff;
	color: var(--wp--preset--color--body);
}

.ia-band-light .ia-section__title,
.ia-band-light :is(h2, h3) { color: var(--ia-heading-blue); }

.ia-band-light .ia-section__intro { color: var(--wp--preset--color--body); }

/* Short yellow rule used as a divider inside white cards */
.ia-rule {
	inline-size: 84px;
	block-size: 2px;
	background: var(--ia-accent);
	border: 0;
	margin: 2rem auto;
}

/* --------------------------------------------------------------------------
   6. Chevron link lists
   -------------------------------------------------------------------------- */

.ia-linklist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ia-linklist li + li { border-top: 1px solid rgba(29, 83, 173, 0.22); }

.ia-linklist a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.7rem 0;
	text-decoration: none;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--ia-heading-blue);
}

.ia-linklist a::before {
	content: "";
	inline-size: 7px;
	block-size: 7px;
	flex: none;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(-45deg);
	transition: transform 0.18s ease;
}

.ia-linklist a:hover { text-decoration: underline; }
.ia-linklist a:hover::before { transform: rotate(-45deg) translate(2px, 2px); }

/* Inline "LEARN MORE" affordance */
.ia-learn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
}

.ia-learn::before {
	content: "";
	inline-size: 6px;
	block-size: 6px;
	border-right: 2px solid var(--ia-accent);
	border-bottom: 2px solid var(--ia-accent);
	transform: rotate(-45deg);
}

.ia-learn:hover { text-decoration: underline; }
.ia-learn--blue { color: var(--ia-heading-blue); }

/* --------------------------------------------------------------------------
   7. Audience icon row
   -------------------------------------------------------------------------- */

.ia-audiences {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1.25rem;
	margin-top: 2.5rem;
	list-style: none;
	padding: 0;
}

.ia-audience {
	text-align: center;
	color: #fff;
}

.ia-audience__icon {
	inline-size: 62px;
	block-size: 62px;
	margin: 0 auto 0.8rem;
	border-radius: 50%;
	background: var(--ia-blue-deep);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
	display: grid;
	place-items: center;
}

.ia-audience__icon svg {
	inline-size: 30px;
	block-size: 30px;
}

.ia-audience__label {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.75rem;
	line-height: 1.3;
	margin: 0;
}

@media (max-width: 860px) {
	.ia-audiences { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
	.ia-audiences { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   8. Product tabs + product rows
   -------------------------------------------------------------------------- */

.ia-tabs {
	display: flex;
	justify-content: center;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}

.ia-tab {
	display: inline-block;
	border-radius: 999px;
	padding: 0.5rem 1.3rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.ia-tab:hover { border-color: var(--ia-accent); }

.ia-tab[aria-current="true"],
.ia-tab--active {
	background: var(--ia-accent);
	border-color: var(--ia-accent);
	color: var(--wp--preset--color--contrast);
}

/* Product wordmarks, set in the theme's own type rather than pasted rasters.
   The small-cap tail (`<span>`) reproduces the LoadSEER / DSMore lettering. */
.ia-wordmark {
	display: inline-flex;
	align-items: baseline;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: 2.125rem;
	line-height: 1;
	letter-spacing: -0.015em;
	color: var(--ia-heading-blue);
	white-space: nowrap;
}

.ia-wordmark span {
	font-size: 0.74em;
	text-transform: uppercase;
	letter-spacing: 0.005em;
}

.ia-wordmark sup {
	font-size: 0.3em;
	font-weight: 600;
	vertical-align: super;
	margin-inline-start: 0.15em;
}

.ia-wordmark__bolt {
	block-size: 0.92em;
	inline-size: auto;
	margin-inline: -0.06em -0.02em;
	align-self: center;
}

.ia-wordmark--sm { font-size: 1.5rem; }
.ia-wordmark--on-dark { color: #fff; }

/* "BY INTEGRAL ANALYTICS" endorsement under a product wordmark */
.ia-by {
	display: block;
	font-family: var(--wp--preset--font-family--wordmark);
	font-size: 0.6875rem;
	font-weight: 300;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ia-heading-blue);
	margin-top: 0.7rem;
}

.ia-by strong { font-weight: 600; }

.ia-bullets {
	margin: 0;
	padding-left: 1.15rem;
}

.ia-bullets li { margin-bottom: 0.45rem; }

/* Products index rows: framed screenshot left, copy right */
.ia-prow {
	background: #fff;
	border-radius: var(--ia-card-radius);
	box-shadow: var(--wp--preset--shadow--card);
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
	align-items: center;
	gap: 0;
}

.ia-prow__figure {
	margin: 0;
	background: var(--ia-blue-deep);
	padding: 1.25rem;
	block-size: 100%;
	display: grid;
	place-items: center;
}

.ia-prow__figure img,
.ia-prow__figure svg {
	inline-size: 100%;
	block-size: auto;
	border-radius: 8px;
	display: block;
}

.ia-prow__body { padding: clamp(1.25rem, 2.5vw, 2.25rem); }

.ia-prow__body h3 { margin: 0 0 0.5rem; }

.ia-prow__lede {
	color: var(--ia-heading-blue);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.35;
	margin: 0 0 0.9rem;
}

@media (max-width: 780px) {
	.ia-prow { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   9. Product detail pages
   -------------------------------------------------------------------------- */

.ia-product-hero {
	text-align: center;
	padding-bottom: 0.5rem;
}

.ia-product-hero__by {
	display: block;
	font-family: var(--wp--preset--font-family--wordmark);
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ia-heading-blue);
	margin-top: 0.75rem;
}

/* Screenshot viewer with caption + dot pagination, as drawn in the comp */
.ia-viewer {
	background: var(--wp--preset--color--brand-blue-tint);
	border-radius: 12px;
	padding: 1rem;
	margin: 1.5rem 0 2rem;
}

.ia-viewer__caption {
	text-align: center;
	font-size: 0.875rem;
	color: var(--wp--preset--color--body);
	margin: 0.25rem 0 0.9rem;
}

.ia-viewer__stage {
	background: #fff;
	border-radius: 8px;
	padding: 0.75rem;
	overflow-x: auto;
}

.ia-viewer__stage svg,
.ia-viewer__stage img {
	inline-size: 100%;
	block-size: auto;
	display: block;
}

.ia-dots {
	display: flex;
	justify-content: center;
	gap: 0.45rem;
	margin: 0.9rem 0 0;
	padding: 0;
	list-style: none;
}

.ia-dots span {
	inline-size: 9px;
	block-size: 9px;
	border-radius: 50%;
	background: #C7D6EE;
	display: block;
}

.ia-dots span[aria-current="true"] { background: var(--wp--preset--color--contrast); }

.ia-whats {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}

.ia-whats h4 {
	color: var(--ia-heading-blue);
	margin: 0 0 0.3rem;
	font-size: 1rem;
}

.ia-whats__block + .ia-whats__block { margin-top: 1.5rem; }

.ia-whats__aside h3 {
	color: var(--ia-heading-blue);
	font-size: 1.5rem;
	line-height: 1.2;
	margin: 0 0 1.1rem;
}

@media (max-width: 780px) {
	.ia-whats { grid-template-columns: 1fr; }
}

/* Resource cards (Program Overview / Case Study / Feature Summary) */
.ia-resources {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	background: var(--wp--preset--color--brand-blue-tint);
	border-radius: 12px;
	padding: 1.5rem;
	margin-top: 2rem;
}

.ia-resource { text-align: center; }

.ia-resource__thumb {
	display: block;
	aspect-ratio: 17 / 22;
	inline-size: 100%;
	object-fit: cover;
	object-position: top center;
	background: #fff;
	border: 1px solid #D5E1F4;
	border-radius: 4px;
	margin-bottom: 0.8rem;
}

.ia-resource h4 {
	color: var(--ia-heading-blue);
	font-size: 0.9375rem;
	margin: 0 0 0.3rem;
}

.ia-resource p {
	font-size: 0.875rem;
	margin: 0;
	color: var(--wp--preset--color--body);
}

@media (max-width: 680px) {
	.ia-resources { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   10. Accordion (Solutions page)
   -------------------------------------------------------------------------- */

.ia-accordion { margin: 0; }

.ia-accordion details {
	border-bottom: 1px solid rgba(29, 83, 173, 0.2);
	padding: 0.35rem 0;
}

.ia-accordion summary {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	cursor: pointer;
	list-style: none;
	padding: 0.85rem 0;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.0625rem;
	color: var(--ia-heading-blue);
}

.ia-accordion summary::-webkit-details-marker { display: none; }

.ia-accordion summary svg {
	inline-size: 26px;
	block-size: 26px;
	flex: none;
}

/* +/- indicator pushed to the trailing edge */
.ia-accordion summary::after {
	content: "+";
	margin-inline-start: auto;
	inline-size: 26px;
	block-size: 26px;
	flex: none;
	border-radius: 50%;
	background: var(--ia-accent);
	color: var(--wp--preset--color--contrast);
	display: grid;
	place-items: center;
	font-weight: 700;
	line-height: 1;
}

.ia-accordion details[open] summary::after { content: "\2013"; }

.ia-accordion__body {
	padding: 0 0 1.1rem 2.4rem;
	margin: 0;
	font-size: 0.9375rem;
	max-width: 68ch;
}

/* --------------------------------------------------------------------------
   11. Case study cards
   -------------------------------------------------------------------------- */

.ia-cases {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: stretch;
	margin-top: 2rem;
}

.ia-case {
	position: relative;
	display: block;
	border-radius: 10px;
	overflow: hidden;
	min-block-size: 260px;
	text-decoration: none;
	color: #fff;
	background: var(--ia-navy);
	isolation: isolate;
}

.ia-case img {
	position: absolute;
	inset: 0;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	z-index: -1;
	transition: transform 0.4s ease;
}

/* The comp uses stock photography (a transmission tower, a solar array) that
   we do not have licensed copies of. Rather than substitute lookalike stock or
   leave grey boxes, each card gets its own generated cover: a distinct brand
   gradient plus the network motif. Swap in real photography by adding an <img>
   to the card — the gradient then sits behind it as a fallback. */
.ia-case--transmission {
	background:
		radial-gradient(120% 90% at 18% 12%, rgba(143, 182, 242, 0.4) 0%, transparent 60%),
		linear-gradient(150deg, #2A66C6 0%, #1B3F95 62%, #12295F 100%);
}

.ia-case--solar {
	background:
		radial-gradient(110% 80% at 82% 18%, rgba(246, 207, 14, 0.3) 0%, transparent 62%),
		linear-gradient(150deg, #1D53AD 0%, #17357E 58%, #0E2350 100%);
}

.ia-case--forecast {
	background:
		radial-gradient(120% 90% at 50% 0%, rgba(143, 182, 242, 0.34) 0%, transparent 64%),
		linear-gradient(150deg, #2360C0 0%, #1A4297 70%, #101F4A 100%);
}

/* Network motif layered over the gradient covers. */
.ia-case[class*="ia-case--"]::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url(assets/img/bg-network.svg) center / 170% no-repeat;
	opacity: 0.5;
	z-index: -1;
}

.ia-case::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 30, 70, 0.1) 35%, rgba(10, 30, 70, 0.82) 100%);
	z-index: -1;
}

.ia-case:hover img { transform: scale(1.045); }
.ia-case:hover .ia-case__title { text-decoration: underline; }

.ia-case__title {
	position: absolute;
	inset-inline: 1.1rem;
	inset-block-end: 1.1rem;
	margin: 0;
	display: flex;
	gap: 0.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.25;
	color: #fff;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.ia-case__title::before {
	content: "";
	inline-size: 7px;
	block-size: 7px;
	flex: none;
	margin-top: 0.45rem;
	border-right: 2px solid var(--ia-accent);
	border-bottom: 2px solid var(--ia-accent);
	transform: rotate(-45deg);
}

/* Carousel next affordance drawn in the comp */
.ia-next {
	position: absolute;
	inset-inline-end: -1.4rem;
	inset-block-start: 50%;
	translate: 0 -50%;
	inline-size: 30px;
	block-size: 30px;
	border-radius: 50%;
	border: 0;
	background: var(--ia-accent);
	color: var(--wp--preset--color--contrast);
	display: grid;
	place-items: center;
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1;
}

.ia-cases-wrap { position: relative; }

@media (max-width: 680px) {
	.ia-cases { grid-template-columns: 1fr; }
	.ia-next { display: none; }
}

/* --------------------------------------------------------------------------
   12. Insights cards
   -------------------------------------------------------------------------- */

.ia-insights-row { position: relative; margin-bottom: 2rem; }

.ia-insights-row h3 {
	color: var(--ia-heading-blue);
	font-size: 1.375rem;
	margin: 0 0 1rem;
}

.ia-insights-row h3 em {
	font-style: normal;
	color: var(--wp--preset--color--contrast);
}

.ia-insights {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.1rem;
}

.ia-insight {
	display: block;
	background: #E3ECFA;
	border: 1px solid #CBDBF4;
	border-radius: 10px;
	padding: 1.1rem;
	text-decoration: none;
	min-block-size: 148px;
}

.ia-insight:hover { border-color: var(--ia-heading-blue); }

.ia-tag {
	display: inline-block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.28rem 0.6rem;
	border-radius: 3px;
	margin-bottom: 0.7rem;
}

.ia-tag--blog { background: var(--ia-heading-blue); color: #fff; }
.ia-tag--whitepaper { background: var(--ia-accent); color: var(--wp--preset--color--contrast); }
.ia-tag--article { background: var(--wp--preset--color--contrast); color: #fff; }

.ia-insight__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.0625rem;
	line-height: 1.3;
	color: var(--ia-heading-blue);
}

@media (max-width: 780px) {
	.ia-insights { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   13. Logo wall
   -------------------------------------------------------------------------- */

.ia-logowall {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.75rem 1.25rem;
	align-items: center;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.ia-logowall li { text-align: center; }

/* Client marks are wordmarks rendered as text until cleared vector art is
   supplied — see README. Grayscale keeps the wall from fighting the page. */
.ia-clientmark {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: 0.9375rem;
	letter-spacing: 0.01em;
	color: #55617A;
	line-height: 1.2;
}

.ia-clientmark span {
	display: block;
	font-weight: 500;
	font-size: 0.5625rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8A94A8;
	margin-top: 0.15rem;
}

@media (max-width: 680px) {
	.ia-logowall { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   14. Quote
   -------------------------------------------------------------------------- */

.ia-quote {
	border-inline-start: 3px solid rgba(255, 255, 255, 0.55);
	padding-inline-start: 1.5rem;
	margin: clamp(2rem, 4vw, 3rem) 0;
	color: #fff;
}

.ia-quote p {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: clamp(1.0625rem, 1.9vw, 1.375rem);
	line-height: 1.45;
	margin: 0;
}

.ia-quote cite {
	display: block;
	margin-top: 0.9rem;
	font-style: normal;
	font-size: 0.875rem;
	font-weight: 400;
	opacity: 0.85;
}

/* --------------------------------------------------------------------------
   15. CTA form
   -------------------------------------------------------------------------- */

.ia-cta {
	background: var(--ia-blue);
	border-radius: var(--ia-card-radius);
	padding: clamp(1.75rem, 3.5vw, 3rem);
	color: #fff;
	box-shadow: var(--wp--preset--shadow--panel);
}

.ia-cta h2 {
	color: #fff;
	text-align: center;
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0 0 0.75rem;
}

.ia-cta__intro {
	text-align: center;
	max-width: 60ch;
	margin: 0 auto 1.75rem;
	font-size: 0.9375rem;
}

.ia-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.ia-form__full { grid-column: 1 / -1; }

.ia-form label {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.ia-form :is(input, textarea) {
	inline-size: 100%;
	background: var(--wp--preset--color--field);
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 0.85rem 1rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.9375rem;
	color: var(--wp--preset--color--contrast);
}

.ia-form textarea { min-block-size: 118px; resize: vertical; }

/* Fidelity note 2: AA-legible placeholder. */
.ia-form ::placeholder { color: #595959; opacity: 1; }

.ia-form :is(input, textarea):focus-visible {
	outline: 3px solid var(--ia-accent);
	outline-offset: 2px;
	border-color: var(--ia-accent);
}

.ia-form__actions {
	grid-column: 1 / -1;
	display: flex;
	justify-content: flex-end;
}

.ia-submit {
	background: var(--ia-accent);
	color: var(--wp--preset--color--contrast);
	border: 0;
	border-radius: 999px;
	padding: 0.8rem 2.4rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.9375rem;
	cursor: pointer;
	transition: background-color 0.18s ease;
}

.ia-submit:hover { background: var(--ia-accent-legible); }

.ia-form__note {
	grid-column: 1 / -1;
	font-size: 0.8125rem;
	margin: 0;
	opacity: 0.85;
}

@media (max-width: 600px) {
	.ia-form { grid-template-columns: 1fr; }
	.ia-form__actions { justify-content: stretch; }
	.ia-submit { inline-size: 100%; }
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */

.ia-wave {
	display: block;
	inline-size: 100%;
	block-size: clamp(60px, 8vw, 120px);
	margin-block-start: clamp(3rem, 7vw, 6rem);
}

.ia-footer {
	background: var(--ia-blue);
	color: #fff;
	padding-block: 1rem clamp(2rem, 4vw, 3rem);
}

.ia-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2rem;
	align-items: flex-end;
	justify-content: space-between;
}

.ia-footer__tag {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.875rem;
	margin: 1rem 0 0.4rem;
}

.ia-footer a { color: #fff; }

.ia-footer__meta {
	text-align: right;
	font-size: 0.8125rem;
	line-height: 1.9;
}

.ia-social {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.8125rem;
	text-decoration: none;
}

.ia-social svg { inline-size: 20px; block-size: 20px; }

@media (max-width: 680px) {
	.ia-footer__meta { text-align: left; }
	.ia-footer__inner { align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   17. Two-column primitive + utilities
   -------------------------------------------------------------------------- */

.ia-2col {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: start;
}

.ia-2col--wide-first { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.ia-2col--media { align-items: center; }

@media (max-width: 780px) {
	.ia-2col,
	.ia-2col--wide-first { grid-template-columns: 1fr; }
}

.ia-shell {
	max-inline-size: var(--ia-shell);
	margin-inline: auto;
}

.ia-center { text-align: center; }
.ia-stack-sm > * + * { margin-block-start: 0.75rem; }
.ia-measure { max-inline-size: 68ch; }

/* --------------------------------------------------------------------------
   18. Accessibility + motion
   -------------------------------------------------------------------------- */

.ia-skip {
	position: absolute;
	inset-inline-start: -9999px;
	z-index: 999;
	padding: 0.75rem 1.25rem;
	background: var(--ia-accent);
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	border-radius: 0 0 6px 0;
}

.ia-skip:focus {
	inset-inline-start: 0;
	inset-block-start: 0;
}

:where(a, button, summary, input, textarea):focus-visible {
	outline: 3px solid var(--ia-accent);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.ia-case:hover img { transform: none; }
}

/* The comp is a light design throughout; forcing the browser to keep our
   palette avoids Chrome's auto-darkening washing out the brand blue. */
@media (prefers-color-scheme: dark) {
	:root { color-scheme: only light; }
}
