/* ==========================================================================
   Modulaw — signature styles
   Ports enterprise.css cues that theme.json can't express: uppercase eyebrows,
   hairline section rules, stat grid, institutional tables/quotes, logo marquee,
   reveal-on-scroll, dark band. Black-on-white, 2px corners, no shadows.
   ========================================================================== */

/* --- Self-hosted fonts (were Google Fonts: 2 render-blocking cross-origin hops) --
   Variable woff2, latin subset, identical files to what fonts.gstatic.com served.
   font-display: swap — text paints immediately in the system fallback. --------- */
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 300 700;
	font-stretch: 100%;
	font-optical-sizing: auto;
	font-display: swap;
	src: url("../fonts/dm-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "DM Sans";
	font-style: italic;
	font-weight: 400;
	font-stretch: 100%;
	font-optical-sizing: auto;
	font-display: swap;
	src: url("../fonts/dm-sans-latin-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 400 600;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	/* Global type/scale bump — everything rem-based grows ~6% (fonts + spacing),
	   less compacted than React's 16px base. Bump this one number to scale further. */
	font-size: 106.25%;
	--ent-bg: #ffffff;
	--ent-bg-soft: #f8f8f6;
	--ent-ink: #0a0a0a;
	--ent-ink-soft: #404040;
	--ent-muted: #6b6b6b;
	--ent-rule: #e6e6e3;
	--ent-rule-strong: #d4d4d0;
	--ent-accent: #1e3a8a;
	--ent-accent-soft: #1e40af;
	--ent-dark-bg: #0a0a0a;
	--ent-dark-fg: #f5f5f0;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-variant-ligatures: common-ligatures;
}

/* --- Eyebrow (uppercase micro-label above section headings) ---------------- */
.is-style-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.75rem !important;
	font-weight: 500;
	color: var(--ent-muted);
	margin-bottom: 0.75rem;
	line-height: 1.4;
}

/* --- Section hairline rule ------------------------------------------------- */
.is-style-section-rule {
	border-bottom: 1px solid var(--ent-rule);
}

/* --- Card (hairline box, no shadow) --------------------------------------- */
.is-style-card {
	border: 1px solid var(--ent-rule);
	background: var(--ent-bg);
	border-radius: 2px;
}

/* --- Institutional quote (left navy rule, not italic) --------------------- */
.wp-block-quote.is-style-ent-quote {
	border-left: 2px solid var(--ent-accent);
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	padding-left: 1.25rem;
	margin: 0;
	font-style: normal;
	font-size: 1.05rem;
	color: var(--ent-ink-soft);
}
.wp-block-quote.is-style-ent-quote cite,
.wp-block-quote.is-style-ent-quote .wp-block-quote__citation {
	color: var(--ent-muted);
	font-style: normal;
	font-size: 0.8125rem;
	font-weight: 500;
}

/* --- Institutional table (mirrors enterprise.css .ent-table) --------------- */
.wp-block-table.is-style-ent-table { margin: 0; }
:is(.wp-block-table.is-style-ent-table, .ent-article) table {
	border-collapse: collapse;
	width: 100%;
	border: 1px solid var(--ent-rule);
}
:is(.wp-block-table.is-style-ent-table, .ent-article) th,
:is(.wp-block-table.is-style-ent-table, .ent-article) td {
	padding: 1rem 1.2rem;
	text-align: left;
	border-bottom: 1px solid var(--ent-rule);
	border-right: 1px solid var(--ent-rule);
	vertical-align: top;
	font-size: 0.9375rem;
	color: var(--ent-ink);
}
:is(.wp-block-table.is-style-ent-table, .ent-article) th:last-child,
:is(.wp-block-table.is-style-ent-table, .ent-article) td:last-child { border-right: 0; }
:is(.wp-block-table.is-style-ent-table, .ent-article) tr:last-child td { border-bottom: 0; }
:is(.wp-block-table.is-style-ent-table, .ent-article) thead th {
	background: var(--ent-bg-soft);
	font-weight: 500;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ent-muted);
}
.wp-block-table.is-style-ent-table thead th.ent-accent-col { color: var(--ent-accent); }
.wp-block-table.is-style-ent-table td.ent-td-muted { color: var(--ent-muted); }

/* WordPress core splits words mid-letter in fixed-layout tables, which on a
   phone turns "Infrastructure" into two lines. Let the columns size to their
   words instead; the figure scrolls sideways if the table is wider than the screen. */
@media (max-width: 640px) {
	:is(.wp-block-table.is-style-ent-table, .ent-article) table.has-fixed-layout { table-layout: auto; }
	:is(.wp-block-table.is-style-ent-table, .ent-article) table.has-fixed-layout :is(th, td) {
		word-break: normal;
		overflow-wrap: break-word;
	}
}

/* Core's Columns block sets `word-break: break-word` on every column, and table
   cells inherit it. In an auto-layout table that lets the browser shrink a column
   below its longest word, so a narrow first column wraps "Question" as "Quest/ion".
   Wrap whole words; a single word wider than its cell still breaks rather than
   overflowing, and the figure scrolls sideways if the table outgrows the page. */
.wp-block-table :is(th, td) {
	word-break: normal;
	overflow-wrap: break-word;
}

/* Core "Stripes" table style paints odd rows and the bottom edge #f0f0f0 with no
   dark variant, so in dark mode the ivory cell text sat on a light grey stripe.
   Use a faint ivory tint on the dark page instead. `.dark` is set from the saved
   theme or, when none is saved, the OS preference, so this covers both. */
:root.dark .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background-color: rgba(245, 245, 240, 0.06); }
:root.dark .wp-block-table.is-style-stripes { border-bottom-color: var(--ent-rule-strong); }

/* Stacked on phones: add `ent-table-stack` next to the table style.
   modulaw_table_stack_labels() labels each body cell with its column header;
   here each row becomes a card with the label printed above every cell. */
@media (max-width: 640px) {
	.wp-block-table.ent-table-stack table,
	.wp-block-table.ent-table-stack tbody,
	.wp-block-table.ent-table-stack tr,
	.wp-block-table.ent-table-stack td { display: block; }
	.wp-block-table.ent-table-stack table { width: auto; }
	.wp-block-table.ent-table-stack thead { display: none; }
	.wp-block-table.ent-table-stack tr { padding: 0.45rem 0; border-bottom: 1px solid var(--ent-rule); }
	.wp-block-table.ent-table-stack tr:last-child { border-bottom: 0; }
	.wp-block-table.ent-table-stack td,
	.wp-block-table.ent-table-stack tr:last-child td { padding: 0.5rem 1.1rem; border: 0; }
	.wp-block-table.ent-table-stack td[data-label]::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 0.2rem;
		font-size: 0.72rem;
		font-weight: 500;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--ent-muted);
	}
}

/* --- Stat grid ------------------------------------------------------------ */
.ent-stat-value {
	font-size: 2.2rem !important;
	font-weight: 500 !important;
	color: var(--ent-accent) !important;
	font-variant-numeric: tabular-nums;
	line-height: 1;
	letter-spacing: -0.02em;
}
.ent-stat-label {
	color: var(--ent-muted) !important;
	font-size: 0.8125rem !important;
}
.ent-tnum { font-variant-numeric: tabular-nums; }

/* --- Numbered step index -------------------------------------------------- */
.ent-step-index {
	font-variant-numeric: tabular-nums;
	color: var(--ent-accent);
	font-weight: 500;
	font-size: 0.875rem;
	white-space: nowrap;
	flex-shrink: 0;
	min-width: 1.5rem;
}

/* --- Buttons: ghost / outline variant ------------------------------------- */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--ent-rule-strong);
	color: var(--ent-ink);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
	border-color: var(--ent-ink);
	background: var(--ent-bg-soft);
	color: var(--ent-ink);
}

/* --- Dark band (final CTA / footer) --------------------------------------- */
.is-style-dark-band {
	background: var(--ent-dark-bg);
	color: var(--ent-dark-fg);
}
.is-style-dark-band :where(h1, h2, h3, h4, p, li, cite) {
	color: var(--ent-dark-fg);
}
.is-style-dark-band .is-style-eyebrow { color: #9a9a92; }
/* Links on dark bands (footer, CTA) read light, not navy */
.is-style-dark-band a { color: var(--ent-dark-fg); text-decoration: none; }
.is-style-dark-band a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
.ent-footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.8125rem; }
.ent-footer-base p { margin: 0.6rem 0 0; font-size: 0.8125rem; }
.ent-footer-places { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; font-weight: 500; }
.ent-footer-places li { display: inline-flex; align-items: center; gap: 0.35rem; }
/* Compliance seals: our own badge images (see /trust/#compliance), never third-party marks */
.ent-footer-certs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.ent-footer-certs li { display: block; margin: 0; }
.ent-footer-certs a { display: block; line-height: 0; border-radius: 50%; transition: transform .2s ease, filter .2s ease; }
.ent-footer-certs a:hover { text-decoration: none; transform: translateY(-2px); }
.ent-footer-certs a:focus-visible { outline: 2px solid var(--ent-dark-fg); outline-offset: 3px; }
.ent-footer-certs img { display: block; width: 88px; height: 88px; }
@media (max-width: 600px) { .ent-footer-certs img { width: 72px; height: 72px; } }
/* Kill the block-gap between header/main/footer (was showing page bg as a white strip before the footer) */
.wp-site-blocks > * { margin-block-start: 0 !important; }
/* Inverted buttons on dark band */
.is-style-dark-band .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--ent-dark-fg);
	/* The band is dark in both themes, so the text uses the band's fixed dark colour. --ent-ink
	   flips to ivory in dark mode, which made this ivory text on an ivory button. */
	color: var(--ent-dark-bg);
	border-color: var(--ent-dark-fg);
}
.is-style-dark-band .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: #ffffff;
	border-color: #ffffff;
}
.is-style-dark-band .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: #3a3a37;
	color: var(--ent-dark-fg);
}
.is-style-dark-band .wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--ent-dark-fg);
	background: rgba(255,255,255,0.04);
}

/* --- Logo marquee (integrations / press / backers) ------------------------ */
.ent-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ent-marquee__track { display: flex; align-items: center; gap: 3.5rem; width: max-content; }
.ent-marquee__track img,
.ent-marquee__track span { opacity: 0.55; filter: grayscale(1); font-weight: 500; color: var(--ent-muted); white-space: nowrap; transition: opacity .2s ease; }
.ent-marquee:hover .ent-marquee__track img,
.ent-marquee:hover .ent-marquee__track span { opacity: 0.8; }
@media (prefers-reduced-motion: no-preference) {
	.ent-marquee__track { animation: ent-marquee 50s linear infinite; }
	.ent-marquee:hover .ent-marquee__track { animation-play-state: paused; }
	@keyframes ent-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}

/* --- Clients marquee ------------------------------------------------------
   Equal-size tiles whatever the logo's aspect ratio, so one wide wordmark can't
   dominate a row of compact marks. Logos are greyed and dimmed, then return to
   full colour on hover: the same treatment as .ent-logo-row (press / backers)
   below, so the two logo strips on the homepage read as one system.
   Every logo file is a transparent-background cutout, which is what lets the
   greyscale and the dark-mode invert act on the mark instead of a white box. */
.ent-clients-block .ent-clients-title { margin: 0 0 2rem; }
.ent-clients .ent-marquee__track { gap: 1.25rem; }
.ent-clients .ent-client-tile { box-sizing: border-box; flex: 0 0 auto; width: 200px; height: 96px; display: flex; align-items: center; justify-content: center; padding: 1.25rem; background: var(--ent-bg); border: 1px solid var(--ent-rule); overflow: hidden; }

/* Specific enough to beat the generic .ent-marquee__track img rules above,
   including the row-hover one, so hovering lifts only the tile under the
   pointer rather than the whole row. */
.ent-clients .ent-marquee__track .ent-client-tile img,
.ent-marquee:hover .ent-marquee__track .ent-client-tile img { width: 100%; height: 100%; object-fit: contain; display: block; opacity: 0.6; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.ent-clients .ent-marquee__track .ent-client-tile:hover img { opacity: 1; filter: grayscale(0); }

:root.dark .ent-clients .ent-marquee__track .ent-client-tile img,
:root.dark .ent-marquee:hover .ent-marquee__track .ent-client-tile img { filter: grayscale(1) invert(1) brightness(1.6); opacity: 0.75; }
:root.dark .ent-clients .ent-marquee__track .ent-client-tile:hover img { opacity: 1; }

@media (max-width: 640px) {
	.ent-clients .ent-client-tile { width: 148px; height: 76px; padding: 1rem; }
}

/* --- Typewriter (hero sub-line) ------------------------------------------- */
.ent-typewriter { color: var(--ent-ink-soft); min-height: 1.6em; display: inline-block; }
.ent-typewriter__caret { display: inline-block; width: 1px; background: var(--ent-accent); margin-left: 2px; animation: ent-caret 1s step-end infinite; }
@keyframes ent-caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ent-typewriter__caret { animation: none; } }

/* --- Reveal on scroll (fail-safe: only hides when JS is active) ----------- */
@media (prefers-reduced-motion: no-preference) {
	/* ABOVE THE FOLD IS NEVER JS-GATED. .ent-reveal is visible by default;
	   enhance.js adds --armed only to elements that start BELOW the viewport,
	   so nothing on screen at load ever waits for the script. (Hiding every
	   .ent-reveal in CSS put up to 85% of LCP into render delay; a
	   first-child exemption only covered pages whose first block was the
	   hero, not any reusable block or pattern that opens a page.) */
	.js .ent-reveal--armed { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); }
	.js .ent-reveal--armed.is-visible { opacity: 1; transform: none; }

	/* The hero keeps a transform-only rise, which never delays paint. */
	.js .entry-content > :first-child .ent-reveal,
	.js .ent-above-fold .ent-reveal {
		opacity: 1;
		transform: none;
		transition: none;
		animation: ent-rise .6s cubic-bezier(.2,.6,.2,1) both;
	}
	@keyframes ent-rise { from { transform: translateY(14px); } to { transform: none; } }
}

/* --- Lazy autoplay video (rewritten from <video autoplay> by functions.php) -
   Loads and plays only when scrolled near the viewport. ----------------------- */
.ent-lazy-video { background: var(--ent-bg-soft); }

/* --- Click-to-play demo facade -------------------------------------------
   Only a poster + button until clicked, so a demo can sit above the fold
   without downloading a single byte of video. ------------------------------- */
/* The demo encodes are 16:9; the generic preview body is 16:10 and would crop
   the right edge of the app window off. */
.ent-vplayer .ent-preview-body { background: var(--ent-bg-soft); aspect-ratio: 16 / 9; }
.ent-vplayer .ent-preview-body > img { object-fit: cover; }
.ent-vplayer video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.ent-vplay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	text-decoration: none;
	color: var(--ent-dark-fg);
	background: linear-gradient(180deg, rgba(10,10,10,0.05) 0%, rgba(10,10,10,0.38) 100%);
	transition: background .2s ease;
	cursor: pointer;
	z-index: 3;
}
.ent-vplay:hover, .ent-vplay:focus-visible { background: linear-gradient(180deg, rgba(10,10,10,0.12) 0%, rgba(10,10,10,0.5) 100%); }
/* The overlay is a <button> in the platform explorer. `display:flex` above
   would otherwise beat the UA's [hidden] rule and the control would never
   actually hide once playback starts. */
.ent-vplay--btn { width: 100%; border: 0; font: inherit; -webkit-appearance: none; appearance: none; }
.ent-vplay[hidden] { display: none; }
.ent-vplay__ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: rgba(255,255,255,0.94);
	color: var(--ent-accent);
	padding-left: 4px; /* optically centre the triangle */
	transition: transform .2s cubic-bezier(.2,.6,.2,1), background .2s ease;
}
.ent-vplay:hover .ent-vplay__ring, .ent-vplay:focus-visible .ent-vplay__ring { transform: scale(1.07); background: #fff; }
/* A dark pill keeps the label readable over a light app screenshot, which a
   text-shadow alone does not. */
.ent-vplay__text {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.85rem;
	border-radius: 2px;
	background: rgba(10,10,10,0.78);
	color: #fff;
}
.ent-vplay__dur { font-variant-numeric: tabular-nums; opacity: 0.75; }
@media (prefers-reduced-motion: reduce) {
	.ent-vplay__ring, .ent-vplay { transition: none; }
	.ent-vplay:hover .ent-vplay__ring { transform: none; }
}

/* --- Compact demo trigger (sits with the hero CTAs) ----------------------
   Deliberately tertiary: no filled box, no border. It reads as a third,
   lighter option next to the two real CTAs rather than competing with them. */
.ent-vlink {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1.25rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--ent-ink);
	text-decoration: none;
	cursor: pointer;
}
.ent-vlink__ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	border: 1px solid var(--ent-rule-strong);
	border-radius: 50%;
	color: var(--ent-accent);
	padding-left: 2px; /* optically centre the triangle */
	background: var(--ent-bg);
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.ent-vlink__text { border-bottom: 1px solid transparent; transition: border-color .15s ease; }
.ent-vlink__dur { color: var(--ent-muted); font-variant-numeric: tabular-nums; font-size: 0.8125rem; }
.ent-vlink:hover .ent-vlink__ring,
.ent-vlink:focus-visible .ent-vlink__ring { border-color: var(--ent-accent); background: var(--ent-accent); color: var(--ent-bg); }
.ent-vlink:hover .ent-vlink__text { border-bottom-color: var(--ent-ink); }
@media (prefers-reduced-motion: reduce) {
	.ent-vlink__ring, .ent-vlink__text { transition: none; }
}

/* --- Modal player --------------------------------------------------------
   The player is built on open and destroyed on close, so no video bytes load
   until asked for and audio stops the moment it closes. ---------------------- */
.ent-vmodal {
	width: min(1100px, 92vw);
	max-width: none;
	padding: 0;
	border: 1px solid var(--ent-rule-strong);
	border-radius: 2px;
	background: #0a0a0a;
	color: var(--ent-dark-fg);
	overflow: visible;
}
.ent-vmodal::backdrop { background: rgba(10, 10, 10, 0.8); }
.ent-vmodal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ent-vmodal__frame video,
.ent-vmodal__yt { display: block; width: 100%; height: 100%; border: 0; }
.ent-vmodal__close {
	position: absolute;
	top: -2.6rem;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid rgba(245, 245, 240, 0.35);
	border-radius: 2px;
	background: transparent;
	color: #f5f5f0;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
}
.ent-vmodal__close:hover, .ent-vmodal__close:focus-visible { border-color: #f5f5f0; background: rgba(245, 245, 240, 0.12); }
@media (max-width: 640px) {
	/* Keep the close control inside the viewport on small screens. */
	.ent-vmodal__close { top: 0.4rem; right: 0.4rem; background: rgba(10, 10, 10, 0.6); }
}
@media (prefers-reduced-motion: reduce) {
	.ent-vmodal__close { transition: none; }
}
/* No JS (or reduced motion) → content is always visible. */

/* --- FAQ (details/summary) ------------------------------------------------ */
.ent-faq details { border-bottom: 1px solid var(--ent-rule); padding: 1.15rem 0; }
.ent-faq summary { cursor: pointer; font-weight: 500; font-size: 1.0625rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--ent-ink); }
.ent-faq summary::-webkit-details-marker { display: none; }
.ent-faq summary::after { content: "+"; color: var(--ent-muted); font-weight: 400; transition: transform .2s ease; }
.ent-faq details[open] summary::after { content: "\2212"; }
.ent-faq details > p { margin-top: 0.75rem; color: var(--ent-ink-soft); max-width: 60ch; }

/* --- Header / footer polish ----------------------------------------------- */
.wp-block-navigation .wp-block-navigation-item__content { font-size: 0.9375rem; color: var(--ent-ink); text-decoration: none; }
.wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--ent-accent); }

/* Tighter section padding rhythm helper */
.ent-section { padding-top: clamp(5rem, 6.5vw, 6rem); padding-bottom: clamp(5rem, 6.5vw, 6rem); }

/* --- Blog ----------------------------------------------------------------- */
.ent-blog-grid { gap: 1.5rem !important; }
.ent-blog-card { transition: border-color .2s ease, transform .2s ease; }
.ent-blog-card:hover { border-color: var(--ent-rule-strong); }
.ent-blog-card .wp-block-post-featured-image { margin-bottom: 0.5rem; }
.ent-blog-card .wp-block-post-featured-image img { border-radius: 2px; width: 100%; height: 100%; object-fit: cover; }
.ent-blog-card .wp-block-post-terms { text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 500; color: var(--ent-muted); }
.wp-block-post-title a { text-decoration: none; color: var(--ent-ink); transition: color .15s ease; }
.wp-block-post-title a:hover { color: var(--ent-accent); }
.ent-blog-card .wp-block-post-excerpt { color: var(--ent-ink-soft); }
.ent-blog-card .wp-block-post-excerpt__excerpt { margin: 0; }
.ent-blog-card .wp-block-post-date { margin-top: auto; padding-top: 0.5rem; }
/* Pagination */
.ent-pagination .wp-block-query-pagination-numbers,
.ent-pagination a, .ent-pagination .page-numbers { font-size: 0.9375rem; }
.ent-pagination .page-numbers.current { color: var(--ent-accent); font-weight: 600; }
/* Single post prose rhythm */
.wp-block-post-content > * { margin-top: 1.25rem; }
.wp-block-post-content > h2 { margin-top: 2.25rem; }
.wp-block-post-content > h3 { margin-top: 1.75rem; }
.wp-block-post-content .wp-block-quote { border-left: 2px solid var(--ent-accent); padding-left: 1.25rem; font-style: normal; color: var(--ent-ink-soft); }

/* ==========================================================================
   Site header — custom mega-menu nav (emulates the React NonAuthNavbar)
   ========================================================================== */
/* The header template-part wrapper is the direct child of .wp-site-blocks, so IT must be
   sticky (an inner sticky is confined to the short wrapper and scrolls away). */
.wp-site-blocks > header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
.ent-siteheader { position: relative; z-index: 100; background: var(--ent-bg); border-bottom: 1px solid var(--ent-rule); }
.ent-nav { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.ent-brand { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ent-ink); text-decoration: none; flex-shrink: 0; display: inline-flex; align-items: center; }
/* Wordmark is an inline SVG using fill:currentColor, so it inherits
   .ent-brand's color and flips with dark mode on its own. This replaced two
   PNGs (35 KB) of which BOTH downloaded — display:none does not stop a fetch. */
.ent-brand .ent-logo { height: 26px; width: auto; display: block; }
/* Section name beside the logo on section sites such as /partners/ (inc/sections.php):
   logo, a hairline divider, then the section name set like a wordmark. */
.ent-brand-wrap { display: inline-flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }
.ent-brand-tag { position: relative; padding-left: 0.9rem; color: var(--ent-ink); font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.ent-brand-tag::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 1.15rem; transform: translateY(-50%); background: var(--ent-rule-strong); }
.ent-brand-tag:hover { color: var(--ent-ink-soft); }
/* Phones: a section header (logo, section name, theme toggle, Sign in, menu) must fit 360px
   with the gutters intact. Sign in stays in the bar (see modulaw_render_header_actions), so the
   rest gets tighter instead, and signed-in links marked 'phone' => false move to the menu. */
@media (max-width: 420px) {
	.ent-brand-wrap { gap: 0.5rem; }
	/* More specific than the 480px rule below (.ent-brand .ent-logo), which comes later. */
	.ent-siteheader .ent-brand-wrap .ent-logo { height: 18px; }
	.ent-brand-tag { font-size: 0.875rem; padding-left: 0.5rem; }
	.ent-siteheader:has(.ent-brand-tag) .ent-nav { gap: 0.5rem; }
	.ent-siteheader:has(.ent-brand-tag) .ent-nav-right { gap: 0.1rem; }
	.ent-siteheader:has(.ent-brand-tag) .ent-nav-right .ent-nav-link { padding: 0.5rem 0.2rem; }
	.ent-siteheader:has(.ent-brand-tag) .ent-theme-toggle { width: 32px; }
	.ent-siteheader:has(.ent-brand-tag) .ent-burger { width: 34px; }
	/* Signed-in links (Sign out, Your account) are in the menu; Sign in stays in the bar. */
	.ent-nav-right .ent-hide-phone { display: none; }
}
.ent-nav-primary { display: flex; align-items: center; gap: 0.15rem; }
.ent-nav-link { font-size: 0.9375rem; color: var(--ent-ink); text-decoration: none; padding: 0.5rem 0.75rem; border-radius: 2px; }
.ent-nav-link:hover { color: var(--ent-accent); }
.ent-nav-item { position: relative; }
.ent-nav-trigger { display: inline-flex; align-items: center; gap: 0.35rem; font: inherit; font-size: 0.9375rem; color: var(--ent-ink); background: none; border: 0; padding: 0.5rem 0.75rem; cursor: pointer; border-radius: 2px; }
.ent-nav-trigger svg { color: var(--ent-muted); transition: transform .2s ease; }
.ent-nav-item:hover .ent-nav-trigger svg,
.ent-nav-item:focus-within .ent-nav-trigger svg,
.ent-nav-item.is-open .ent-nav-trigger svg { transform: rotate(180deg); }
.ent-nav-right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.ent-btn-nav { display: inline-flex; align-items: center; justify-content: center; font-size: 0.8125rem; font-weight: 500; line-height: 1.5; background: var(--ent-ink); color: var(--ent-bg); border: 1px solid var(--ent-ink); border-radius: 2px; padding: 0.5rem 1.05rem; text-decoration: none; white-space: nowrap; transition: background .15s ease, border-color .15s ease; }
.ent-btn-nav:hover { background: var(--ent-accent); border-color: var(--ent-accent); color: var(--ent-bg); }
.ent-theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: none; border: 0; color: var(--ent-muted); cursor: pointer; border-radius: 2px; }
.ent-theme-toggle:hover { color: var(--ent-ink); }
.ent-theme-toggle .i-sun { display: none; }
:root.dark .ent-theme-toggle .i-sun { display: block; }
:root.dark .ent-theme-toggle .i-moon { display: none; }

/* Mega panel */
.ent-mega { position: absolute; top: calc(100% + 8px); left: 0; width: 640px; max-width: calc(100vw - 3rem); background: var(--ent-bg); border: 1px solid var(--ent-rule); border-radius: 2px; box-shadow: 0 14px 40px rgba(10,10,10,0.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 120; }
/* Invisible bridge across the gap between trigger and panel so hover doesn't drop
   when the pointer moves down into the menu (keeps .ent-nav-item:hover active). */
.ent-mega::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.ent-nav-item:hover .ent-mega,
.ent-nav-item:focus-within .ent-mega,
.ent-nav-item.is-open .ent-mega { opacity: 1; visibility: visible; transform: none; }
.ent-mega-grid { display: grid; grid-template-columns: 1fr 1fr; }
.ent-mega-col { padding: 1rem; }
.ent-mega-col:not(:last-child) { border-right: 1px solid var(--ent-rule); }
.ent-mega-wide { width: 860px; }
.ent-mega-wide .ent-mega-grid { grid-template-columns: repeat(3, 1fr); }
/* Compact link row in the mega footer, used for market/category shortcuts. */
.ent-mega-foot .ent-mega-links { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.ent-mega-foot .ent-mega-links a { color: var(--ent-ink); font-weight: 500; text-decoration: none; white-space: nowrap; }
.ent-mega-foot .ent-mega-links a:hover { color: var(--ent-accent); }
.ent-mega-head { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--ent-muted); margin: 0.25rem 0.5rem 0.5rem; }
.ent-mega-col a { display: flex; flex-direction: column; gap: 0.1rem; padding: 0.5rem; border-radius: 2px; text-decoration: none; }
.ent-mega-col a:hover { background: var(--ent-bg-soft); }
.ent-mega-col a span { font-size: 0.9375rem; font-weight: 500; color: var(--ent-ink); }
.ent-mega-col a small { font-size: 0.78rem; color: var(--ent-muted); line-height: 1.35; }
.ent-mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; border-top: 1px solid var(--ent-rule); font-size: 0.8125rem; color: var(--ent-muted); }
.ent-mega-foot a { color: var(--ent-ink); font-weight: 500; text-decoration: none; }
.ent-mega-foot a:hover { color: var(--ent-accent); }

/* Burger + mobile menu */
.ent-burger { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: 0; color: var(--ent-ink); cursor: pointer; }
.ent-mobile-menu { display: none; border-top: 1px solid var(--ent-rule); background: var(--ent-bg); padding: 0.5rem 1.5rem 1.5rem; }
.ent-mobile-menu.is-open { display: block; }
.ent-m-acc { border-bottom: 1px solid var(--ent-rule); padding: 0.35rem 0; }
.ent-mobile-menu summary { cursor: pointer; font-weight: 500; padding: 0.65rem 0; list-style: none; color: var(--ent-ink); }
.ent-mobile-menu summary::-webkit-details-marker { display: none; }
.ent-m-acc a { display: block; padding: 0.4rem 0 0.4rem 0.75rem; color: var(--ent-ink-soft); text-decoration: none; font-size: 0.9rem; }
.ent-m-head { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ent-muted); margin: 0.7rem 0 0.15rem; }
.ent-m-all { color: var(--ent-accent) !important; font-weight: 500; }
.ent-m-link { display: block; padding: 0.75rem 0; color: var(--ent-ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--ent-rule); }
.ent-m-btn { margin-top: 0.85rem; width: 100%; }

/* Five nav items need about 1050px, and the Resources panel stays on screen from about 1130px. */
@media (max-width: 1140px) {
  .ent-nav-primary { display: none; }
  .ent-hide-mobile { display: none; }
  .ent-burger { display: inline-flex; }
}
/* Phones: logo, theme toggle, Login and the burger must fit in 375px with the gutters intact. */
@media (max-width: 480px) {
  /* Page content keeps the header's 1rem phone gutter, so it starts under the logo. */
  body { --wp--style--root--padding-left: 1rem; --wp--style--root--padding-right: 1rem; }
  .ent-nav { padding: 0 1rem; gap: 1rem; }
  .ent-brand .ent-logo { height: 22px; }
  .ent-nav-right { gap: 0.5rem; }
  .ent-nav-right .ent-nav-link { padding: 0.5rem 0.25rem; }
}

/* ==========================================================================
   Dark mode — same mechanism as the React app (.dark on <html> + localStorage 'theme').
   Flip both the ent-* tokens and the WordPress preset colour vars so every
   block styled with a colour slug inverts automatically.
   ========================================================================== */
:root.dark {
  --wp--preset--color--base: #0a0a0a;
  --wp--preset--color--base-soft: #141414;
  --wp--preset--color--contrast: #f5f5f0;
  --wp--preset--color--contrast-soft: #cfcfc7;
  --wp--preset--color--muted: #8a8a82;
  --wp--preset--color--rule: #232321;
  --wp--preset--color--rule-strong: #2f2f2c;
  --wp--preset--color--accent: #93c5fd;
  --wp--preset--color--accent-soft: #bfdbfe;
  --ent-bg: #0a0a0a; --ent-bg-soft: #141414; --ent-ink: #f5f5f0; --ent-ink-soft: #cfcfc7;
  --ent-muted: #8a8a82; --ent-rule: #232321; --ent-rule-strong: #2f2f2c;
  --ent-accent: #93c5fd; --ent-accent-soft: #bfdbfe;
  color-scheme: dark;
}
:root.dark body { background-color: #0a0a0a; color: #f5f5f0; }
/* Dark CTA band sits on a near-black page in dark mode — add separation */
:root.dark .is-style-dark-band { border-top: 1px solid var(--ent-rule); }
:root.dark .ent-stat-value { color: var(--ent-accent); }
/* Smooth the flip */
body, .ent-siteheader, .ent-mega, .is-style-card { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }

/* ==========================================================================
   Platform explorer — hover a module to play its product video
   ========================================================================== */
.ent-explorer { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem; align-items: start; }
.ent-explorer-list { display: flex; flex-direction: column; }
.ent-explorer-item { display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; row-gap: 0.15rem; text-align: left; background: none; border: 0; border-top: 1px solid var(--ent-rule); padding: 1rem 0.5rem; cursor: pointer; font: inherit; color: var(--ent-ink); transition: background-color .15s ease, padding-left .15s ease; }
.ent-explorer-item:first-child { border-top: 0; }
.ent-explorer-item:hover, .ent-explorer-item.is-active { background: var(--ent-bg-soft); padding-left: 0.85rem; }
.ent-explorer-num { grid-row: span 2; font-variant-numeric: tabular-nums; font-size: 0.8125rem; color: var(--ent-accent); font-weight: 500; padding-top: 0.15rem; }
.ent-explorer-name { font-size: 1rem; font-weight: 500; }
.ent-explorer-item.is-active .ent-explorer-name { color: var(--ent-accent); }
.ent-explorer-desc { font-size: 0.85rem; color: var(--ent-muted); line-height: 1.35; }

.ent-preview-frame { border: 1px solid var(--ent-rule); background: var(--ent-bg); position: sticky; top: 5.5rem; overflow: hidden; border-radius: 2px; }
.ent-preview-frame.ent-hero-frame { position: static; }
.ent-preview-chrome { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--ent-rule); background: var(--ent-bg-soft); }
.ent-preview-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ent-rule-strong); }
.ent-preview-chrome span[data-preview-label] { margin-left: 0.6rem; font-size: 0.72rem; color: var(--ent-muted); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.ent-preview-body { position: relative; aspect-ratio: 16 / 10; background: var(--ent-bg); overflow: hidden; }
.ent-preview-body img, .ent-preview-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.ent-preview-video { z-index: 2; }
.ent-preview-open { position: absolute; z-index: 3; right: 0.75rem; bottom: 0.75rem; font-size: 0.78rem; font-weight: 500; color: var(--ent-dark-fg); background: rgba(10,10,10,0.6); padding: 0.35rem 0.7rem; border-radius: 2px; text-decoration: none; backdrop-filter: blur(4px); }
.ent-preview-open:hover { background: rgba(10,10,10,0.8); color: #fff; }

@media (max-width: 800px) {
  .ent-explorer { grid-template-columns: 1fr; gap: 1.5rem; }
  .ent-preview-frame { position: static; }
}

/* --- Explorer module as its own play control (no-hover / narrow) ---------
   Mirrors the hero's ".ent-vlink" trigger so the whole page offers one play
   affordance, not two different ones. ---------------------------------------- */
.ent-explorer-cue {
	grid-column: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.6rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--ent-ink);
}
.ent-explorer-cue__ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	border: 1px solid var(--ent-rule-strong);
	border-radius: 50%;
	color: var(--ent-accent);
	padding-left: 2px; /* optically centre the triangle */
	background: var(--ent-bg);
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.ent-explorer-item--play:hover .ent-explorer-cue__ring,
.ent-explorer-item--play:focus-visible .ent-explorer-cue__ring {
	border-color: var(--ent-accent);
	background: var(--ent-accent);
	color: var(--ent-bg);
}
/* The module is a play button now, so drop the tab-style active treatment. */
.ent-explorer-item--play:hover, .ent-explorer-item--play.is-active { background: none; padding-left: 0.5rem; }
@media (prefers-reduced-motion: reduce) {
	.ent-explorer-cue__ring { transition: none; }
}

/* ==========================================================================
   Reusable hover-video card grid (data-video on each card)
   ========================================================================== */
.ent-vcard .ent-preview-body { aspect-ratio: 16 / 9; }
.ent-vcard { border: 1px solid var(--ent-rule); border-radius: 2px; overflow: hidden; background: var(--ent-bg); transition: border-color .2s ease; }
.ent-vcard:hover { border-color: var(--ent-rule-strong); }
.ent-vcard-body { padding: 1rem 1.25rem 1.25rem; }
.ent-vcard-body h3 { font-size: 1.05rem; margin: 0 0 0.25rem; }
.ent-vcard-body p { font-size: 0.875rem; color: var(--ent-muted); margin: 0; }

/* ==========================================================================
   Hero — left-aligned, with the institutional stat grid (mirrors React)
   ========================================================================== */
/* max-width blocks live inside a default-layout wrapper (.ent-flow) so they
   left-align to the content column instead of being auto-centered (constrained
   layout) or pushed to the padding edge (margin-left:0 in constrained). */
.ent-flow > * { margin-left: 0; margin-right: 0; max-width: 100%; }
.ent-hero-h1 { max-width: 820px; }
.ent-measure { max-width: 640px; }
.ent-measure-wide { max-width: 680px; }
/* Sub-page hero H1 — 48–52px (React text-4xl/5xl), vs homepage hero 60px */
.ent-subhero-h1 { max-width: 768px; font-size: clamp(2.25rem, 4.5vw, 3rem); line-height: 1.08; letter-spacing: -0.022em; }
.ent-subhero-h1.ent-subhero-lg { font-size: clamp(2.5rem, 5vw, 3.25rem); }
/* Legal prose — mirrors enterprise.css .ent-prose (15px/1.72, tighter heading scale) */
.ent-legal-body { color: var(--ent-ink-soft); font-size: 0.9375rem; line-height: 1.72; }
/* Sticky Contents sidebar (React LegalPage) */
.ent-legal-toc { position: sticky; top: 6rem; }
.ent-toc-head { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--ent-muted); margin: 0 0 1rem; }
.ent-toc-list { list-style: none; margin: 0; padding: 0; }
.ent-toc-list li { margin: 0; }
.ent-toc-link { display: block; padding: 0.25rem 0; color: var(--ent-ink-soft); font-size: 0.88rem; line-height: 1.5; text-decoration: none; transition: color .15s ease; }
.ent-toc-link:hover { color: var(--ent-accent); }
@media (max-width: 900px) { .ent-legal-toc { position: static; margin-bottom: 1.5rem; } }
.ent-legal-body h2 { font-size: 1.4rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; color: var(--ent-ink); margin: 2.75rem 0 1rem !important; scroll-margin-top: 6rem; }
.ent-legal-body > h2:first-child { margin-top: 0 !important; }
.ent-legal-body h3 { font-size: 1.02rem; line-height: 1.4; font-weight: 600; letter-spacing: -0.005em; color: var(--ent-ink); margin: 1.5rem 0 0.45rem !important; }
.ent-legal-body p { font-size: 0.9375rem; line-height: 1.72; color: var(--ent-ink-soft); margin: 0 0 1rem !important; }
.ent-legal-body ul, .ent-legal-body ol { margin: 0 0 1rem !important; padding-left: 1.4rem; }
.ent-legal-body li { font-size: 0.9375rem; line-height: 1.72; margin: 0 0 0.35rem !important; }
.ent-legal-body strong { color: var(--ent-ink); font-weight: 600; }
.ent-legal-body a { color: var(--ent-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ent-legal-body .wp-block-table.is-style-ent-table { margin: 1.25rem 0; }
.ent-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ent-rule); border-bottom: 1px solid var(--ent-rule); margin-top: 4rem; }
.ent-stat { padding: 1.5rem; }
.ent-stat:first-child { padding-left: 0; }
.ent-stat + .ent-stat { border-left: 1px solid var(--ent-rule); }
.ent-stat .ent-stat-value { font-size: 2.2rem; font-weight: 500; color: var(--ent-accent); font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -0.02em; }
.ent-stat .ent-stat-label { color: var(--ent-muted); font-size: 0.8125rem; margin-top: 0.5rem; }
@media (max-width: 640px) { .ent-stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   Bring-your-own-tools logo grid (real logos, mirrors React ByoTools)
   ========================================================================== */
.ent-byo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2.25rem 2rem; border-top: 1px solid var(--ent-rule); padding-top: 3rem; }
.ent-byo-item { display: flex; flex-direction: column; align-items: center; gap: 0.65rem; text-align: center; color: var(--ent-muted); }
.ent-byo-item img, .ent-byo-item svg { width: 26px; height: 26px; opacity: 0.7; filter: grayscale(1); transition: opacity .2s ease; }
.ent-byo-item:hover img, .ent-byo-item:hover svg { opacity: 1; }
.ent-byo-item span { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; line-height: 1.3; }
@media (max-width: 1024px) { .ent-byo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .ent-byo-grid { grid-template-columns: repeat(3, 1fr); } }

/* --- Press "As reported" + "Supported by" (real logos) -------------------- */
.ent-supporters { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.ent-logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.ent-logo-row img, .ent-logo-row svg { height: 28px; width: auto; max-width: 130px; object-fit: contain; opacity: 0.6; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.ent-logo-row a { display: inline-flex; align-items: center; }
.ent-logo-row a:hover img, .ent-logo-row a:hover svg { opacity: 1; filter: grayscale(0); }
:root.dark .ent-logo-row img, :root.dark .ent-logo-row svg { filter: grayscale(1) invert(1) brightness(1.6); opacity: 0.75; }
:root.dark .ent-logo-row a:hover img, :root.dark .ent-logo-row a:hover svg { opacity: 1; }
@media (max-width: 700px) { .ent-supporters { grid-template-columns: 1fr; gap: 2rem; } }

/* ==========================================================================
   Interactive pricing — control bar, cards, calculator
   ========================================================================== */
.ent-pricing-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1rem 0; border-top: 1px solid var(--ent-rule); border-bottom: 1px solid var(--ent-rule); }
.ent-pricing-bar .ent-region { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8125rem; color: var(--ent-muted); }
.ent-pricing-bar select { font: inherit; font-size: 0.875rem; padding: 0.4rem 0.6rem; border: 1px solid var(--ent-rule-strong); border-radius: 2px; background: var(--ent-bg); color: var(--ent-ink); }
.ent-jump { display: flex; gap: 0.5rem; }
.ent-jump a { font-size: 0.8125rem; color: var(--ent-ink); text-decoration: none; border: 1px solid var(--ent-rule-strong); border-radius: 999px; padding: 0.35rem 0.9rem; }
.ent-jump a:hover { border-color: var(--ent-ink); }
.ent-toggle { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.8125rem; color: var(--ent-muted); }
.ent-toggle button { font: inherit; font-size: 0.8125rem; background: none; border: 0; color: var(--ent-muted); cursor: pointer; padding: 0.35rem 0.6rem; border-radius: 2px; }
.ent-toggle button.is-active { color: var(--ent-ink); font-weight: 600; background: var(--ent-bg-soft); }
.ent-save-badge { font-size: 0.7rem; color: var(--ent-accent); border: 1px solid var(--ent-accent); border-radius: 999px; padding: 0.1rem 0.5rem; }

.ent-plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.ent-plan { border: 1px solid var(--ent-rule); border-radius: 2px; padding: 1.75rem; display: flex; flex-direction: column; position: relative; }
.ent-plan.is-popular { border: 1px solid var(--ent-rule); border-left: 2px solid var(--ent-accent); }
.ent-plan-badge { position: absolute; top: -1px; left: -1px; background: var(--ent-accent); color: #fff; font-size: 0.62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 0.6rem; }
.ent-plan-name { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; color: var(--ent-muted); margin: 0 0 0.75rem; }
.ent-plan.is-popular .ent-plan-name { margin-top: 0.75rem; }
.ent-plan-price { font-size: 2.1rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ent-ink); font-variant-numeric: tabular-nums; line-height: 1; }
.ent-price-per { font-size: 0.9375rem; font-weight: 400; color: var(--ent-muted); }
.ent-plan-alt { font-size: 0.8125rem; color: var(--ent-muted); margin: 0.35rem 0 1rem; min-height: 1em; }
.ent-plan-credits { font-size: 0.9375rem; color: var(--ent-ink); margin: 0 0 0.15rem; }
.ent-plan-seats { font-size: 0.8125rem; color: var(--ent-muted); margin: 0 0 1.5rem; }
.ent-plan .wp-block-buttons, .ent-plan .ent-plan-cta { margin-top: auto; }
.ent-plan-cta a { display: block; text-align: center; }

.ent-calc { border: 1px solid var(--ent-rule); border-radius: 2px; padding: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.ent-calc-controls label { display: block; font-size: 0.8125rem; color: var(--ent-muted); margin: 0 0 0.35rem; }
.ent-calc-controls select, .ent-calc-controls input { width: 100%; font: inherit; padding: 0.55rem 0.7rem; border: 1px solid var(--ent-rule-strong); border-radius: 2px; background: var(--ent-bg); color: var(--ent-ink); margin-bottom: 1.25rem; }
.ent-calc-out { border-left: 1px solid var(--ent-rule); padding-left: 2rem; }
.ent-calc-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; font-size: 0.9375rem; color: var(--ent-ink-soft); border-bottom: 1px solid var(--ent-rule); }
.ent-calc-line.ent-calc-total { color: var(--ent-ink); font-size: 1.05rem; }
.ent-calc-line strong { color: var(--ent-ink); }

/* Team cards (About) */
.ent-team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ent-team-card { border: 1px solid var(--ent-rule); border-radius: 2px; overflow: hidden; background: var(--ent-bg); }
.ent-team-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; display: block; background: var(--ent-bg-soft); }
.ent-team-ph { width: 100%; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; background: var(--ent-bg-soft); color: var(--ent-muted); font-size: 2.5rem; font-weight: 600; }
.ent-team-body { padding: 1.25rem 1.5rem 1.5rem; }
.ent-team-role { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ent-muted); margin: 0 0 0.3rem; }
.ent-team-name { font-size: 1.15rem; font-weight: 600; margin: 0 0 0.5rem; color: var(--ent-ink); }
.ent-team-bio { font-size: 0.9rem; color: var(--ent-ink-soft); margin: 0 0 0.85rem; }
.ent-team-card details { border-top: 1px solid var(--ent-rule); padding-top: 0.8rem; }
.ent-team-card summary { cursor: pointer; font-size: 0.8125rem; color: var(--ent-accent); list-style: none; font-weight: 500; }
.ent-team-card summary::-webkit-details-marker { display: none; }
.ent-team-full { font-size: 0.85rem; color: var(--ent-ink-soft); margin-top: 0.6rem; white-space: pre-line; }
@media (max-width: 800px) { .ent-team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ent-team-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) { .ent-plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .ent-plan-grid { grid-template-columns: 1fr; } .ent-calc { grid-template-columns: 1fr; } .ent-calc-out { border-left: 0; padding-left: 0; border-top: 1px solid var(--ent-rule); padding-top: 1rem; } }

/* ---------------------------------------------------------------------------
   WPForms — reskinned to the enterprise system (hairline borders, 2px
   corners, DM Sans, navy submit). Overrides WPForms' default theme.
--------------------------------------------------------------------------- */
.wpforms-container { margin: 0; font-family: inherit; }
.wpforms-container .wpforms-form { font-family: inherit; }
.wpforms-container .wpforms-field { padding: 0 0 1.1rem; }
.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-name-label {
  font-size: 0.72rem !important; text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 600 !important; color: var(--ent-muted); margin: 0 0 0.45rem !important;
}
.wpforms-container .wpforms-required-label { color: var(--ent-accent); }
.wpforms-container input[type=text],
.wpforms-container input[type=email],
.wpforms-container input[type=tel],
.wpforms-container input[type=url],
.wpforms-container textarea,
.wpforms-container select {
  font-family: inherit !important; font-size: 0.95rem !important; color: var(--ent-ink) !important;
  background: var(--ent-bg) !important; border: 1px solid var(--ent-rule-strong) !important;
  border-radius: 2px !important; padding: 0.7rem 0.85rem !important; box-shadow: none !important;
  width: 100%; max-width: 100%; transition: border-color .15s ease;
}
.wpforms-container input:focus,
.wpforms-container textarea:focus,
.wpforms-container select:focus {
  border-color: var(--ent-accent) !important; outline: none !important; box-shadow: none !important;
}
.wpforms-container textarea { min-height: 8.5rem; resize: vertical; }
.wpforms-container .wpforms-field-description { font-size: 0.8rem; color: var(--ent-muted); margin-top: 0.4rem; }
.wpforms-container .wpforms-field-row { max-width: 100%; }
.wpforms-container button[type=submit],
.wpforms-container .wpforms-submit {
  font-family: inherit !important; font-size: 0.95rem !important; font-weight: 500 !important;
  background: var(--ent-accent) !important; color: #fff !important; border: 1px solid var(--ent-accent) !important;
  border-radius: 2px !important; padding: 0.72rem 1.5rem !important; box-shadow: none !important;
  cursor: pointer; transition: opacity .15s ease;
}
.wpforms-container button[type=submit]:hover { opacity: 0.9; }
.wpforms-container .wpforms-confirmation-container-full {
  background: var(--ent-bg-soft); border: 1px solid var(--ent-rule);
  border-radius: 2px; padding: 1.25rem 1.5rem; color: var(--ent-ink);
}
.wpforms-container label.wpforms-error { color: #b42318 !important; font-size: 0.78rem !important; }
.wpforms-container input.wpforms-error,
.wpforms-container textarea.wpforms-error { border-color: #b42318 !important; }

/* ---------------------------------------------------------------------------
   Cookie Notice — align the bar + buttons with the design system.
--------------------------------------------------------------------------- */
#cookie-notice { font-family: inherit !important; }
#cookie-notice .cookie-notice-container { font-size: 0.85rem !important; }
#cookie-notice .cn-button,
.cookie-notice-container .cn-set-cookie {
  font-family: inherit !important; border-radius: 2px !important; box-shadow: none !important;
  font-size: 0.82rem !important; font-weight: 500 !important;
}
.cn-button.wp-default-button.cn-button-custom { background: var(--ent-accent) !important; color: #fff !important; }
/* The real accept button is #cn-accept-cookie and carries NEITHER
   wp-default-button NOR cn-button-custom, so the rule above never matched it
   and the plugin's own teal survived: #ffffff on #00a99d is 2.93:1, below the
   4.5:1 minimum. Targeting the ids directly, in theme colours, which invert
   with dark mode and clear the threshold in both. */
#cookie-notice #cn-accept-cookie,
#cookie-notice #cn-refuse-cookie,
#cookie-notice .cn-set-cookie {
  background: var(--ent-ink) !important;
  color: var(--ent-bg) !important;
  border: 1px solid var(--ent-ink) !important;
  text-shadow: none !important;
}
#cookie-notice #cn-accept-cookie:hover,
#cookie-notice #cn-refuse-cookie:hover,
#cookie-notice .cn-set-cookie:hover {
  background: var(--ent-accent) !important;
  border-color: var(--ent-accent) !important;
  color: var(--ent-bg) !important;
}

/* ---------------------------------------------------------------------------
   Help Centre (support CPT) — home, collections, article + TOC.
--------------------------------------------------------------------------- */
.ent-support-hero { text-align: center; }

/* Search */
.ent-support-search { position: relative; display: flex; align-items: stretch; max-width: 560px; margin: 0 auto; border: 1px solid var(--ent-rule-strong); border-radius: 2px; background: var(--ent-bg); transition: border-color .15s ease; }
.ent-support-search:focus-within { border-color: var(--ent-accent); }
.ent-support-search__icon { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--ent-muted); pointer-events: none; }
.ent-support-search input[type=search] { flex: 1; border: 0; background: transparent; font-family: inherit; font-size: 0.95rem; color: var(--ent-ink); padding: 0.8rem 0.9rem 0.8rem 2.6rem; outline: none; min-width: 0; }
.ent-support-search button { border: 0; background: var(--ent-accent); color: #fff; font-family: inherit; font-size: 0.9rem; font-weight: 500; padding: 0 1.4rem; cursor: pointer; border-radius: 0 1px 1px 0; }
.ent-support-search button:hover { opacity: 0.9; }

/* Collections grid */
.ent-support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ent-rule); border: 1px solid var(--ent-rule); }
.ent-support-col { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.5rem 1.6rem; background: var(--ent-bg); text-decoration: none; transition: background .15s ease; }
.ent-support-col:hover { background: var(--ent-bg-soft); }
.ent-support-col__name { font-size: 1.0625rem; font-weight: 600; color: var(--ent-ink); }
.ent-support-col__desc { font-size: 0.9rem; color: var(--ent-ink-soft); line-height: 1.5; }
.ent-support-col__meta { margin-top: auto; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ent-muted); padding-top: 0.5rem; }
@media (max-width: 900px) { .ent-support-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ent-support-grid { grid-template-columns: 1fr; } }

/* Collection article list */
.ent-support-list .ent-support-item { padding: 1.15rem 0; border-bottom: 1px solid var(--ent-rule); }
.ent-support-list .ent-support-item .wp-block-post-title { margin: 0 0 0.3rem; }
.ent-support-list .ent-support-item a { text-decoration: none; color: var(--ent-ink); }
.ent-support-list .ent-support-item a:hover { color: var(--ent-accent); }

/* Breadcrumb */
.ent-support-crumbs { font-size: 0.8rem; color: var(--ent-muted); display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.ent-support-crumbs a { color: var(--ent-muted); text-decoration: none; }
.ent-support-crumbs a:hover { color: var(--ent-accent); }
.ent-crumb-sep { opacity: 0.5; }
.ent-crumb-current { color: var(--ent-ink-soft); }

/* Article TOC (reuses .ent-legal-toc / .ent-toc-* base) */
.ent-support-toc .ent-toc-sub .ent-toc-link { padding-left: 0.85rem; font-size: 0.82rem; }
.ent-support-toc .ent-toc-link.is-active { color: var(--ent-accent); font-weight: 500; }
.ent-toc-empty { display: none; }

/* Sticky TOC needs its column to be full height (not shrunk to content by the
   column's top vertical-alignment) so it can travel the whole article scroll. */
.ent-support-toc-col,
.wp-block-column:has(.ent-legal-toc) { align-self: stretch; }

/* Support article title + breadcrumb left-align together inside an .ent-flow
   wrapper (see below), so no per-element alignment override is needed here. */

/* Article with too few headings for a TOC: collapse the 2-col layout to a
   single readable column, centred so the margins read as intentional
   (no stranded empty sidebar). */
.wp-block-columns.ent-article-notoc { display: block; }
.wp-block-columns.ent-article-notoc > .wp-block-column { flex-basis: auto !important; width: auto !important; }
/* Left-aligned (flush with the header/breadcrumb edge), capped for readable
   line length — the empty right sits where the TOC lives on other articles. */
.wp-block-columns.ent-article-notoc > .wp-block-column:first-child { max-width: 780px; margin-inline: 0; }
.wp-block-columns.ent-article-notoc > .wp-block-column:last-child { display: none; }

/* Helpful widget */
.ent-support-helpful { margin: 3rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--ent-rule); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.ent-support-helpful__q { font-size: 0.9rem; color: var(--ent-ink-soft); }
.ent-support-helpful__btns { display: flex; gap: 0.6rem; }
.ent-support-helpful__btns button { font-family: inherit; font-size: 0.85rem; background: var(--ent-bg); border: 1px solid var(--ent-rule-strong); border-radius: 2px; padding: 0.4rem 0.9rem; cursor: pointer; color: var(--ent-ink); transition: border-color .15s ease, color .15s ease; }
.ent-support-helpful__btns button:hover { border-color: var(--ent-accent); color: var(--ent-accent); }
.ent-support-helpful__thanks { font-size: 0.9rem; color: var(--ent-accent); font-weight: 500; }

/* Related */
.ent-support-related { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ent-rule); }
.ent-support-related ul { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.ent-support-related li { margin: 0 0 0.5rem; }
.ent-support-related a { font-size: 0.9375rem; color: var(--ent-ink-soft); text-decoration: none; }
.ent-support-related a:hover { color: var(--ent-accent); }

@media (max-width: 900px) { .ent-support-toc { position: static; margin-bottom: 1.5rem; } }

/* Product feature cards: a large product screen above the card text, two per row. */
.ent-product-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.ent-product-features--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.25rem; }
.ent-product-feature { padding: 0 !important; overflow: hidden; }
.ent-product-feature img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.ent-product-feature__body { padding: 1.5rem; }
@media (max-width: 781px) { .ent-product-features, .ent-product-features--three { grid-template-columns: 1fr; } }

/* Blog post contents sidebar. A long list scrolls inside the sidebar, and on phones it
   sits above the article with top-level headings only. Posts with too few headings
   drop the sidebar and return to one centred reading column. */
.ent-post-toc { max-height: calc(100vh - 7rem); overflow-y: auto; }
.ent-post-columns.ent-article-notoc .ent-support-toc-col { display: none; }
.ent-post-columns.ent-article-notoc > .wp-block-column:first-child { flex-basis: 100% !important; max-width: 760px; margin-inline: auto; }
.ent-support-notoc .ent-post-head > * { max-width: 760px !important; margin-inline: auto !important; }
@media (max-width: 781px) {
  .ent-post-columns .ent-support-toc-col { order: -1; }
  .ent-post-toc { max-height: none; margin-bottom: 0; }
  .ent-post-toc .ent-toc-sub { display: none; }
}

/* ==========================================================================
   Primitives — the classes emitted by inc/blocks.php
   Everything below is shared by theme patterns AND page content, so a change
   here lands everywhere at once. Do not fork these into a page.
   ========================================================================== */

/* --- Display headline ----------------------------------------------------- */
/* Cormorant Garamond was registered in theme.json and self-hosted months ago
   but never used. It is the display face: high contrast, generous, and it
   reads as a law-firm serif rather than a startup sans. It sets optically
   small, so the display sizes below run larger than the sans equivalents. */
.ent-display {
	font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 0.98;
}

/* --- Split hero ----------------------------------------------------------- */
/* Oversized headline left, lede + CTAs right, bottom-aligned to the headline's
   last baseline rather than stacked beneath it. */
/* The hero gives up its bottom padding ONLY when a bleeding screenshot is
   there to fill the space. Shipped without one, the fine print landed on
   the section rule. Browsers without :has() keep the normal padding, which
   is the safe direction to degrade. */
.ent-hero-section:has(.ent-hero-bleed .ent-preview-frame) { padding-bottom: 0; }
/* A poster is a whole object with a play control in the middle, so it keeps
   the section's padding and is never cropped by the fold. */
.ent-hero-bleed .ent-media--poster { max-width: 100%; }
.ent-hero-split { gap: 4rem; align-items: flex-end; }
.ent-hero-split .ent-hero-h1 {
	max-width: none;             /* the column constrains it, not a max-width */
	font-size: clamp(3.25rem, 6.2vw, 5.5rem);
	margin: 0;
	text-wrap: balance;
}
.ent-hero-split .ent-hero-lede { line-height: 1.5; max-width: 34ch; }
.ent-hero-split .wp-block-column { min-width: 0; }

/* The screenshot runs off the fold: cropped, bottom border removed so it
   reads as continuing past the viewport rather than as a closed card. */
.ent-hero-bleed { margin-top: 4rem; }
.ent-hero-bleed .ent-preview-frame {
	position: static;
	max-height: 26rem;
	overflow: hidden;
	border-bottom: 0;
	border-radius: 2px 2px 0 0;
}
.ent-hero-bleed img { display: block; width: 100%; height: auto; }

@media (max-width: 781px) {
	.ent-hero-split { gap: 2rem; }
	.ent-hero-split .ent-hero-h1 { font-size: clamp(2.75rem, 11vw, 3.5rem); }
	.ent-hero-bleed { margin-top: 2.5rem; }
	.ent-hero-bleed .ent-preview-frame { max-height: 16rem; }
}

/* --- Two-column institutional section ------------------------------------- */
/* Eyebrow + heading hold the left rail, content runs at 66%. The pattern the
   React marketing site uses for every explanatory section. */
.ent-twocol { gap: 3rem; }
.ent-twocol .wp-block-column { min-width: 0; }
.ent-twocol h2 { margin-top: 0; }
@media (max-width: 781px) { .ent-twocol { gap: 1.25rem; } }

/* ==========================================================================
   Play control + media — ONE implementation
   The hero trigger, the explorer cards and any poster all use .ent-play, so
   the affordance is identical everywhere and there is one place to change it.
   ========================================================================== */

/* The old rings were `border: 1px solid var(--ent-rule-strong)` on a
   transparent background. In dark mode that is #2f2f2c on #0a0a0a, about
   1.4:1, so the control was effectively invisible on a phone. Filled with
   --ent-ink it inverts cleanly with the theme and stays legible in both. */
.ent-play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: var(--ent-ink);
	color: var(--ent-bg);
	border: 0;
	padding-left: 2px;              /* optically centre the triangle */
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.ent-play svg { width: 0.75rem; height: 0.75rem; fill: currentColor; display: block; }
.ent-play--lg { width: 4rem; height: 4rem; padding-left: 4px; }
.ent-play--lg svg { width: 1.5rem; height: 1.5rem; }

a:hover > .ent-play,
a:focus-visible > .ent-play,
.ent-explorer-item--play:hover .ent-play,
.ent-explorer-item--play:focus-visible .ent-play,
.ent-media-trigger:hover .ent-play { background: var(--ent-accent); color: var(--ent-bg); }
.ent-media-trigger:hover .ent-play--lg { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .ent-play { transition: none; } .ent-media-trigger:hover .ent-play--lg { transform: none; } }

/* --- Poster: a large, obviously clickable still ---------------------------- */
.ent-media--poster { position: relative; }
.ent-media-trigger {
	position: relative;
	display: block;
	border: 1px solid var(--ent-rule);
	border-radius: 2px;
	overflow: hidden;
	background: var(--ent-bg-soft);
	text-decoration: none;
	color: inherit;
}
.ent-media-trigger img { display: block; width: 100%; height: auto; }
.ent-media-trigger .ent-play--lg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 0 2px 18px rgba(10, 10, 10, 0.28);
	/* Sits on the poster, not on the page, so it must NOT follow the theme:
	   --ent-ink is light in dark mode, which put a pale disc on a pale
	   screenshot. Fixed dark-on-image, the way every video player does it. */
	background: rgba(10, 10, 10, 0.72);
	color: #fff;
	backdrop-filter: blur(3px);
}
.ent-media-trigger:hover .ent-play--lg { background: var(--ent-accent); color: #fff; }
.ent-media-trigger:hover .ent-play--lg { transform: translate(-50%, -50%) scale(1.06); }
.ent-media-label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 0.9rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--ent-dark-fg);
	background: linear-gradient(to top, rgba(10, 10, 10, 0.72), rgba(10, 10, 10, 0));
}
.ent-media-label em { font-style: normal; color: rgba(245, 245, 240, 0.72); font-variant-numeric: tabular-nums; }


/* Legacy ring classes adopt the shared control. The hero trigger lives in
   page content and the explorer cue is built in JS, so aliasing here fixes
   both without re-editing the database or shipping new markup. */
.ent-vlink__ring,
.ent-explorer-cue__ring {
	background: var(--ent-ink);
	color: var(--ent-bg);
	border: 0;
	width: 1.75rem;
	height: 1.75rem;
}
.ent-vlink:hover .ent-vlink__ring,
.ent-vlink:focus-visible .ent-vlink__ring,
.ent-explorer-item--play:hover .ent-explorer-cue__ring,
.ent-explorer-item--play:focus-visible .ent-explorer-cue__ring {
	background: var(--ent-accent);
	color: var(--ent-bg);
	border: 0;
}

/* --- Line icons (inc/icons.php) --------------------------------------------
   Hairline square, navy stroke, never filled. Visible by default; enhance.js
   arms only icons below the fold, which then draw on when scrolled to and
   redraw on hover. pathLength="1" on every shape makes one dash value fit all. */
:root { --ent-icon-bg: #f3f5fa; }
:root.dark { --ent-icon-bg: #111827; }
.ent-ico {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ent-accent);
	transition: transform .25s ease, border-color .15s ease;
}
.ent-ico svg { display: block; }
.ent-ico--md {
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--ent-rule-strong);
	border-radius: 2px;
	background: var(--ent-icon-bg);
}
.ent-ico--md svg { width: 1.25rem; height: 1.25rem; }
.ent-ico--sm { width: 1.25rem; height: 1.25rem; }
.ent-ico--sm svg { width: 1.125rem; height: 1.125rem; }

/* Feature card: icon left, heading right, description under both. */
.ent-card-head { display: flex; align-items: center; gap: 0.875rem; margin-bottom: 0.75rem; }
.ent-card-head h3 { margin: 0 !important; }
.is-style-card:hover .ent-ico--md,
.ent-step-row:hover .ent-ico--md { border-color: var(--ent-accent); transform: translateY(-2px); }

/* Step rows: icon, number, then the text column, all on the icon's centre line. */
.ent-ico--md + .ent-step-index { line-height: 2.5rem; margin-top: 0; }
.ent-ico--md + .ent-step-index + * > h3:first-child { margin-top: 0; padding-top: 0.55rem; }
/* Phones: icon + number + text leaves too narrow a column; the order still reads top to bottom. */
@media (max-width: 600px) {
	.ent-ico--md + .ent-step-index { display: none; }
}

/* Outcome ticks. */
ul.ent-checks { list-style: none; padding-left: 0; }
ul.ent-checks li { display: flex; gap: 0.75rem; align-items: flex-start; }
ul.ent-checks .ent-ico--sm { margin-top: 0.42em; }

/* Draw-on. */
.js .ent-ico--armed svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .ent-ico--armed.is-drawn svg * { animation: ent-ico-draw .9s cubic-bezier(.65,0,.35,1) forwards; }
.js .ent-ico.is-drawn svg *:nth-child(2) { animation-delay: .12s; }
.js .ent-ico.is-drawn svg *:nth-child(3) { animation-delay: .24s; }
.js .ent-ico.is-drawn svg *:nth-child(n+4) { animation-delay: .36s; }
.js .ent-ico--replay svg * { stroke-dasharray: 1; animation: ent-ico-draw .7s cubic-bezier(.65,0,.35,1) both; }
.js .ent-checks .ent-ico--armed.is-drawn svg { animation: ent-ico-pop .4s ease .7s both; }
@keyframes ent-ico-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ent-ico-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
	.js .ent-ico svg * { stroke-dashoffset: 0 !important; animation: none !important; }
	.ent-ico { transition: none; transform: none !important; }
}

/* --- Topic chapters (inc/indepth.php) --------------------------------------
   Large serif number above each topic's label, a hairline between topics. */
.ent-chapters .ent-topic { margin-top: 0; padding-top: 2.25rem; border-top: 1px solid var(--ent-rule-strong); }
.ent-chapters .ent-topic + .ent-topic { margin-top: 2.5rem; }
.ent-topic-num {
	display: block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	font-size: 4.5rem;
	line-height: 0.9;
	letter-spacing: -0.02em;
	color: var(--ent-accent);
	opacity: 0.85;
	margin-bottom: 1rem;
	font-variant-numeric: lining-nums;
}

/* --- Landing patterns (inc/landing-patterns.php) ---------------------------
   :is(.ent-section, .ent-article) = a landing <section> or a long-form article page. */
/* Equal heading columns: small serif number above each heading. */
.ent-col-num {
	display: block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	font-size: 2.25rem;
	line-height: 1;
	color: var(--ent-accent);
	opacity: 0.85;
	margin-bottom: 0.75rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ent-rule-strong);
	font-variant-numeric: lining-nums;
}

/* Bold-led lists as ruled rows. The lead stays inline: items are written both
   "Lead. Text" and "Lead: text". */
:is(.ent-section, .ent-article) ul.ent-rows, :is(.ent-section, .ent-article) ol.ent-rows:not(.ent-numbered) { list-style: none; padding-left: 0; }
:is(.ent-section, .ent-article) .ent-rows > li { padding: 1rem 0; border-top: 1px solid var(--ent-rule); }
:is(.ent-section, .ent-article) .ent-rows > li:last-child { border-bottom: 1px solid var(--ent-rule); }
:is(.ent-section, .ent-article) .ent-rows > li > strong:first-child { color: var(--ent-ink); font-weight: 600; }

/* Numbered lists: serif numerals in their own column. */
:is(.ent-section, .ent-article) ol.ent-numbered { list-style: none; padding-left: 0; counter-reset: ent-n; }
:is(.ent-section, .ent-article) ol.ent-numbered > li {
	counter-increment: ent-n;
	position: relative;
	padding: 1rem 0 1rem 3.75rem;
	border-top: 1px solid var(--ent-rule);
	min-height: 3.5rem;
}
:is(.ent-section, .ent-article) ol.ent-numbered > li:last-child { border-bottom: 1px solid var(--ent-rule); }
:is(.ent-section, .ent-article) ol.ent-numbered > li::before {
	content: counter(ent-n, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0.7rem;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	font-size: 2rem;
	line-height: 1;
	color: var(--ent-accent);
	opacity: 0.85;
	font-variant-numeric: lining-nums;
}

/* Link lists: ruled rows with an arrow that nudges on hover. */
:is(.ent-section, .ent-article) ul.ent-links { list-style: none; padding-left: 0; }
:is(.ent-section, .ent-article) .ent-links > li {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 0.85rem 0; border-top: 1px solid var(--ent-rule);
}
:is(.ent-section, .ent-article) .ent-links > li:last-child { border-bottom: 1px solid var(--ent-rule); }
:is(.ent-section, .ent-article) .ent-links .ent-link-text > a:first-child { font-weight: 500; }
:is(.ent-section, .ent-article) .ent-links .ent-ico { flex: none; transition: transform .2s ease; }
:is(.ent-section, .ent-article) .ent-links > li:hover .ent-ico { transform: translateX(4px); }

/* Plain bullet lists: accent markers. */
:is(.ent-section, .ent-article) ul:not(.ent-checks):not(.ent-rows):not(.ent-links) > li::marker { color: var(--ent-accent); }

/* Sections with no other treatment: first paragraph as a lede. No max-width:
   WP's constrained layout would centre it. */
.ent-lede {
	font-size: 1.1875rem !important;
	line-height: 1.6 !important;
	color: var(--ent-ink) !important;
}
@media (prefers-reduced-motion: reduce) { :is(.ent-section, .ent-article) .ent-links .ent-ico { transition: none; } }

/* Long-form guide pages: readable column, numbered h2s, scrolling tables.
   WP's constrained layout centres children with a max-width, which is what
   we want here: one centred reading column. */
.ent-article > :where(:not(.alignfull):not(.alignwide)) { max-width: 46rem; }
.ent-article > .ent-h2-num {
	display: block;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 500;
	font-size: 2.75rem;
	line-height: 1;
	color: var(--ent-accent);
	opacity: 0.85;
	margin-top: 4rem !important;
	padding-top: 1.75rem;
	border-top: 1px solid var(--ent-rule-strong);
	font-variant-numeric: lining-nums;
}
.ent-article > .ent-h2-num + h2 { margin-top: 0.6rem !important; }
.ent-article :is(.wp-block-table, .ent-table-scroll) { overflow-x: auto; }
.ent-article table { min-width: 32rem; }
