/*
Theme Name: DGX NextMedia (Divi Child)
Theme URI: https://digitalgenetix.com/
Description: Divi child theme for DGX NextMedia, the creative and publishing division of DigitalGenetix. On activation it builds every page with editable Divi modules, sets up the menu, books, portfolio and the Start a Project form. Requires the Divi theme by Elegant Themes.
Author: DGX NextMedia
Template: Divi
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dgx
*/

/* ==========================================================
   Brand tokens and components (namespaced under body.dgx)
   ========================================================== */
:root { --ink: #14161b;
	--ink-2: #2a2d35;
	--muted: #57595f;
	--paper: #f4f4f1;
	--paper-2: #e8e8e3;
	--card: #ffffff;
	--line: #d6d6cf;
	--accent: #2a4bd7;
	--accent-ink: #1d37a8;
	--navy: #15233a;
	--navy-2: #1f3354;
	--gold: #b88a2c;
	--gold-soft: #e9d7a8;
	--sage: #4f6b5a;
	--on-dark: #f4efe6;
	--on-dark-muted: #b9b2a5;
	--radius: 4px;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
	--step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
	--step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.8rem);
	--step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem);
	--step-4: clamp(2.3rem, 1.7rem + 2.8vw, 4rem);
	--step-5: clamp(2.7rem, 1.8rem + 4.2vw, 5.4rem); }
body.dgx { margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--step-0);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden; }
body.dgx a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.dgx a:hover { color: var(--accent-ink); }
body.dgx h1,
body.dgx h2,
body.dgx h3,
body.dgx h4 { font-family: var(--serif);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
	font-variation-settings: "opsz" 96; }
body.dgx h1 { font-size: var(--step-5); }
body.dgx h2 { font-size: var(--step-4); }
body.dgx h3 { font-size: var(--step-2); }
body.dgx h4 { font-size: var(--step-1); }
body.dgx p { margin: 0 0 1em; }
body.dgx em,
body.dgx .accent-em { font-style: italic; color: var(--accent); }
body.dgx :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
body.dgx .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
body.dgx .wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
body.dgx .wrap--narrow { max-width: 780px; }
body.dgx .btn { display: inline-flex; align-items: center; gap: 0.6em;
	padding: 0.85em 1.35em;
	font: 700 0.92rem/1 var(--sans); letter-spacing: 0.02em;
	text-decoration: none; border: 1.5px solid transparent; border-radius: var(--radius);
	cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
	white-space: nowrap; }
body.dgx .btn__arrow { transition: transform .2s; }
body.dgx .btn:hover .btn__arrow { transform: translateX(3px); }
body.dgx .btn--primary { background: var(--accent); color: #fff; }
body.dgx .btn--primary:hover { background: var(--accent-ink); color: #fff; }
body.dgx .btn--dark { background: var(--ink); color: var(--paper); }
body.dgx .btn--dark:hover { background: var(--ink-2); color: var(--paper); }
body.dgx .btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
body.dgx .btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
body.dgx .btn--light { background: var(--on-dark); color: var(--ink); }
body.dgx .btn--light:hover { background: #fff; color: var(--ink); }
body.dgx .btn--ghost-light { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
body.dgx .btn--ghost-light:hover { background: var(--on-dark); color: var(--ink); }
body.dgx .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
body.dgx .text-link { font-weight: 700; font-size: 0.92rem; text-decoration: none;
	border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
body.dgx .section { padding: clamp(64px, 9vw, 120px) 0; }
body.dgx .section--tight { padding: clamp(48px, 6vw, 80px) 0; }
body.dgx .section--alt { background: var(--paper-2); }
body.dgx .section--dark { background: var(--navy); color: var(--on-dark); }
body.dgx .section--ink { background: var(--ink); color: var(--on-dark); }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) a:not(.btn),
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) a:not(.btn) { color: var(--on-dark); }
body.dgx .section--line { border-top: 1px solid var(--line); }
body.dgx .eyebrow { display: inline-flex; align-items: center; gap: 10px;
	font: 700 0.74rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink);
	margin-bottom: 18px; }
body.dgx .eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .eyebrow,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .eyebrow { color: var(--gold-soft); }
body.dgx .section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
body.dgx .section-head h2 { margin: 0; }
body.dgx .section-head__text { color: var(--muted); font-size: var(--step-1); line-height: 1.55; margin: 0; }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .section-head__text,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .section-head__text { color: var(--on-dark-muted); }
body.dgx .section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 760px; margin-inline: auto; }
body.dgx .section-head--center .eyebrow::before { display: none; }
@media (max-width: 820px) {
body.dgx .section-head { grid-template-columns: 1fr; }
}
body.dgx .lead { font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); }
body.dgx .muted { color: var(--muted); }
body.dgx .hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); position: relative; overflow: hidden; }
body.dgx .hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
body.dgx .hero h1 { font-size: var(--step-5); font-weight: 400; line-height: 1.02; margin-bottom: 28px; }
body.dgx .hero h1 em { font-weight: 400; }
body.dgx .hero__lead { font-size: var(--step-1); color: var(--ink-2); max-width: 36em; margin-bottom: 34px; }
body.dgx .hero__division { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 0.88rem; }
body.dgx .hero__division strong { color: var(--ink); }
body.dgx .hero__art { position: relative; height: clamp(380px, 46vw, 540px); }
body.dgx .hero__art .cover { position: absolute; box-shadow: 0 30px 60px -28px rgba(20, 22, 27, 0.55), 0 2px 0 rgba(0,0,0,.04); }
body.dgx .hero__art .mag--bln { width: 54%; left: 2%; top: 4%; transform: rotate(-5deg); z-index: 2; }
body.dgx .hero__art .mag--kingdom { width: 52%; right: 0; top: 0; transform: rotate(4deg); z-index: 1; }
body.dgx .hero__art .book-cover { width: 34%; z-index: 3; }
body.dgx .hero__art .book-cover:nth-of-type(3) { left: 14%; bottom: 0; transform: rotate(-2deg); }
body.dgx .hero__art .book-cover:nth-of-type(4) { left: 46%; bottom: 3%; transform: rotate(3deg); z-index: 4; }
@media (max-width: 900px) {
body.dgx .hero__grid { grid-template-columns: 1fr; }
body.dgx .hero__art { height: 420px; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) {
body.dgx .hero__art { height: 330px; }
}
body.dgx .page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
body.dgx .page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px 72px; align-items: end; }
body.dgx .page-hero h1 { font-size: var(--step-5); font-weight: 400; margin: 0; }
body.dgx .page-hero__lead { font-size: var(--step-1); color: var(--ink-2); }
body.dgx .page-hero__lead > *:last-child { margin-bottom: 0; }
body.dgx .page-hero .btn-row { margin-top: 26px; }
body.dgx .page-hero--dark { background: var(--navy); color: var(--on-dark); border-bottom: 0; }
body.dgx .page-hero--dark .page-hero__lead { color: var(--on-dark-muted); }
body.dgx .page-hero--dark .eyebrow { color: var(--gold-soft); }
body.dgx .page-hero--ink { background: var(--ink); color: var(--on-dark); border-bottom: 0; }
body.dgx .page-hero--ink .page-hero__lead { color: var(--on-dark-muted); }
body.dgx .page-hero--ink .eyebrow { color: var(--gold-soft); }
@media (max-width: 860px) {
body.dgx .page-hero__grid { grid-template-columns: 1fr; }
}
body.dgx .breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
body.dgx .breadcrumb a { text-decoration: none; font-weight: 600; }
body.dgx .page-hero--dark .breadcrumb,
body.dgx .page-hero--ink .breadcrumb { color: var(--on-dark-muted); }
body.dgx .service-index { border-top: 1px solid var(--ink); }
body.dgx .service-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 24px; align-items: baseline;
	padding: 30px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .2s, padding .2s; }
body.dgx .service-row:hover { color: var(--ink); background: var(--card); padding-left: 14px; padding-right: 14px; }
body.dgx .service-row__num { font: 500 0.95rem/1 var(--serif); color: var(--accent); }
body.dgx .service-row h3 { margin: 0; font-size: var(--step-2); }
body.dgx .service-row p { margin: 0; color: var(--muted); }
body.dgx .service-row__go { font-weight: 700; font-size: 1.3rem; transition: transform .2s; }
body.dgx .service-row:hover .service-row__go { transform: translateX(4px); color: var(--accent); }
@media (max-width: 760px) {
body.dgx .service-row { grid-template-columns: 44px 1fr; }
body.dgx .service-row p { grid-column: 2; }
body.dgx .service-row__go { display: none; }
}
body.dgx .cover { display: block; border-radius: 2px; overflow: hidden; position: relative; }
body.dgx .cover img { width: 100%; height: 100%; object-fit: cover; }
body.dgx .mag { container-type: inline-size; aspect-ratio: 8.5 / 11; padding: 7% 7% 6%; display: flex; flex-direction: column; color: #fff; }
body.dgx .mag__masthead { font: 800 30cqi/0.9 var(--sans); letter-spacing: -0.04em; }
body.dgx .mag__sub { font-size: max(7px, 4.2cqi); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 6px; opacity: .8; }
body.dgx .mag__art { flex: 1; margin: 9% 0 7%; position: relative; border-radius: 1px; }
body.dgx .mag__lines { display: grid; gap: 5px; }
body.dgx .mag__lines span { display: block; height: 5px; border-radius: 1px; background: currentColor; opacity: .55; }
body.dgx .mag__lines span:first-child { opacity: 1; width: 78%; height: 8px; }
body.dgx .mag__lines span:nth-child(2) { width: 92%; }
body.dgx .mag__lines span:nth-child(3) { width: 60%; }
body.dgx .mag--bln { background: var(--navy); }
body.dgx .mag--bln .mag__masthead { color: #fff; }
body.dgx .mag--bln .mag__masthead i { color: var(--accent); font-style: normal; }
body.dgx .mag--bln .mag__art { background:
		linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.12) 18% 19%, transparent 19% 40%, rgba(255,255,255,.12) 40% 41%, transparent 41% 65%, rgba(255,255,255,.12) 65% 66%, transparent 66%),
		linear-gradient(180deg, transparent 55%, var(--accent) 55% 100%),
		linear-gradient(135deg, var(--navy-2), #2e4a72);
	clip-path: polygon(0 100%, 0 62%, 14% 50%, 30% 58%, 46% 30%, 62% 44%, 78% 14%, 100% 4%, 100% 100%); }
body.dgx .mag--kingdom { background: #f3ead6; color: var(--ink); }
body.dgx .mag--kingdom .mag__masthead { font-family: var(--serif); font-weight: 500; font-size: 21cqi; letter-spacing: -0.02em; color: var(--ink); text-align: center; }
body.dgx .mag--kingdom .mag__sub { text-align: center; color: var(--gold); opacity: 1; }
body.dgx .mag--kingdom .mag__art { background:
		radial-gradient(circle at 50% 108%, var(--gold) 0 34%, transparent 34.5%),
		radial-gradient(circle at 50% 108%, rgba(184,138,44,.35) 0 52%, transparent 52.5%),
		linear-gradient(180deg, #e7d9b8, #d9c290); }
body.dgx .mag--kingdom .mag__lines { justify-items: center; }
body.dgx .mag--kingdom .mag__lines span { margin: 0 auto; }
body.dgx .book-cover { container-type: inline-size; aspect-ratio: 2 / 3; padding: 11% 10%; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
body.dgx .book-cover::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5%; background: linear-gradient(90deg, rgba(0,0,0,.25), transparent); }
body.dgx .book-cover__title { font: 500 12cqi/1.05 var(--serif); letter-spacing: -0.01em; position: relative; }
body.dgx .book-cover__sub { font-size: max(7px, 5cqi); letter-spacing: 0.06em; opacity: .8; margin-top: 10px; line-height: 1.4; }
body.dgx .book-cover__author { font: 700 max(7px, 4.6cqi)/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; position: relative; }
body.dgx .book-cover__rule { width: 34%; height: 2px; background: currentColor; opacity: .8; margin: 12px 0; }
body.dgx .book-cover--ink { background: radial-gradient(circle at 80% 18%, #2c3a5a 0, transparent 46%), #12151c; }
body.dgx .book-cover--ink .book-cover__rule { background: var(--accent); opacity: 1; }
body.dgx .book-cover--sage { background: linear-gradient(160deg, #5b7a66, #2f4639); }
body.dgx .book-cover--gold { background: linear-gradient(170deg, #c79a3a, #8b6420); }
body.dgx .book-cover--rust { background: linear-gradient(165deg, #d25a35, #8f2f17); }
body.dgx .book-cover--navy { background: linear-gradient(165deg, #23395e, #111c30); }
body.dgx .cover-has-image { aspect-ratio: auto; padding: 0; }
body.dgx .cover-has-image::before { content: none; }
body.dgx .pub-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
body.dgx .pub-feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; align-items: center;
	padding: clamp(22px, 3vw, 36px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
body.dgx .pub-feature .cover { box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); }
body.dgx .pub-feature h3 { margin-bottom: 10px; }
body.dgx .pub-feature p { color: var(--muted); font-size: 0.97rem; }
body.dgx .tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; }
body.dgx .tag-list li { font-size: 0.75rem; font-weight: 700; padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); background: var(--paper); }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .tag-list li,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .tag-list li,
body.dgx .page-hero--dark .tag-list li { background: transparent; border-color: rgba(255,255,255,.22); color: var(--on-dark); }
@media (max-width: 980px) {
body.dgx .pub-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
body.dgx .pub-feature { grid-template-columns: 1fr; }
body.dgx .pub-feature .cover { max-width: 220px; }
}
body.dgx .shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); }
body.dgx .shelf-item { text-decoration: none; color: inherit; display: block; }
body.dgx .shelf-item:hover { color: inherit; }
body.dgx .shelf-item .cover { box-shadow: 0 24px 46px -26px rgba(0,0,0,.6); transition: transform .3s ease, box-shadow .3s ease; }
body.dgx .shelf-item:hover .cover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 34px 56px -26px rgba(0,0,0,.6); }
body.dgx .shelf-item__meta { margin-top: 22px; }
body.dgx .shelf-item__meta h3 { font-size: var(--step-1); margin-bottom: 4px; }
body.dgx .shelf-item__meta p { margin: 0; font-size: 0.9rem; color: var(--muted); }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .shelf-item__meta p,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .shelf-item__meta p { color: var(--on-dark-muted); }
@media (max-width: 760px) {
body.dgx .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
body.dgx .shelf { grid-template-columns: 1fr; max-width: 260px; margin: 0 auto; }
}
body.dgx .project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 30px); }
body.dgx .project-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
body.dgx .project-card:hover { color: inherit; transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(0,0,0,.45); }
body.dgx .project-card__media { aspect-ratio: 4 / 3; background: var(--paper-2); position: relative; overflow: hidden; display: grid; place-items: center; }
body.dgx .project-card__media img { width: 100%; height: 100%; object-fit: cover; }
body.dgx .project-card__media .cover { width: 42%; box-shadow: 0 18px 30px -18px rgba(0,0,0,.55); }
body.dgx .project-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
body.dgx .project-card__kicker { font: 700 0.7rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }
body.dgx .project-card h3 { font-size: var(--step-1); margin: 0; }
body.dgx .project-card p { margin: 0; font-size: 0.92rem; color: var(--muted); }
@media (max-width: 960px) {
body.dgx .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
body.dgx .project-grid { grid-template-columns: 1fr; }
}
body.dgx .art { width: 100%; height: 100%; position: absolute; inset: 0; }
body.dgx .art--web { background:
		linear-gradient(var(--card), var(--card)) 14% 22% / 72% 62% no-repeat,
		linear-gradient(var(--ink), var(--ink)) 14% 16% / 72% 7% no-repeat,
		linear-gradient(var(--accent), var(--accent)) 20% 34% / 30% 6% no-repeat,
		linear-gradient(var(--line), var(--line)) 20% 46% / 44% 3% no-repeat,
		linear-gradient(var(--line), var(--line)) 20% 52% / 38% 3% no-repeat,
		linear-gradient(var(--navy-2), var(--navy-2)) 76% 52% / 22% 30% no-repeat,
		var(--paper-2); }
body.dgx .art--design { background:
		radial-gradient(circle at 36% 48%, var(--accent) 0 17%, transparent 17.5%),
		radial-gradient(circle at 56% 48%, var(--gold) 0 17%, transparent 17.5%),
		linear-gradient(var(--ink), var(--ink)) 66% 30% / 16% 38% no-repeat,
		#e9e1d1; }
body.dgx .art--print { background:
		linear-gradient(var(--navy), var(--navy)) 22% 28% / 30% 52% no-repeat,
		linear-gradient(var(--accent), var(--accent)) 22% 70% / 30% 10% no-repeat,
		linear-gradient(var(--card), var(--card)) 70% 34% / 26% 50% no-repeat,
		linear-gradient(var(--gold), var(--gold)) 70% 46% / 18% 4% no-repeat,
		#ddd5c6; }
body.dgx .art--sign { background:
		linear-gradient(var(--ink), var(--ink)) 50% 100% / 2% 40% no-repeat,
		linear-gradient(var(--accent), var(--accent)) 50% 30% / 70% 34% no-repeat,
		linear-gradient(var(--paper), var(--paper)) 50% 26% / 46% 5% no-repeat,
		linear-gradient(var(--paper), var(--paper)) 50% 36% / 30% 4% no-repeat,
		#e6dfd2; }
body.dgx .process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; border-top: 1px solid rgba(255,255,255,.18); }
body.dgx .process__step { padding: 34px 28px 10px 0; border-right: 1px solid rgba(255,255,255,.12); }
body.dgx .process__step + .process__step { padding-left: 28px; }
body.dgx .process__step:last-child { border-right: 0; }
body.dgx .process__num { font: 400 var(--step-4)/1 var(--serif); color: var(--gold-soft); display: block; margin-bottom: 20px; }
body.dgx .process__step h3 { font-size: var(--step-2); margin-bottom: 10px; }
body.dgx .process__step p { color: var(--on-dark-muted); font-size: 0.95rem; margin: 0; }
body.dgx .section:not(.section--dark):not(.section--ink) .process { border-top-color: var(--line); }
body.dgx .section:not(.section--dark):not(.section--ink) .process__step { border-right-color: var(--line); }
body.dgx .section:not(.section--dark):not(.section--ink) .process__num { color: var(--accent); }
body.dgx .section:not(.section--dark):not(.section--ink) .process__step p { color: var(--muted); }
@media (max-width: 900px) {
body.dgx .process { grid-template-columns: 1fr 1fr; }
body.dgx .process__step,
body.dgx .process__step + .process__step { padding: 28px 20px 24px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
body.dgx .process__step:nth-child(even) { padding-left: 20px; }
}
@media (max-width: 520px) {
body.dgx .process { grid-template-columns: 1fr; }
body.dgx .process__step:nth-child(even) { padding-left: 0; }
}
body.dgx .highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
body.dgx .highlight { padding: 30px 26px; border-right: 1px solid var(--line); }
body.dgx .highlight:last-child { border-right: 0; }
body.dgx .highlight__big { font: 400 var(--step-4)/1 var(--serif); display: block; margin-bottom: 10px; }
body.dgx .highlight__big small { font-size: 0.45em; color: var(--accent); margin-left: 4px; }
body.dgx .highlight p { margin: 0; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) {
body.dgx .highlights { grid-template-columns: 1fr 1fr; }
body.dgx .highlight:nth-child(2) { border-right: 0; }
body.dgx .highlight:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
body.dgx .highlights { grid-template-columns: 1fr; }
body.dgx .highlight { border-right: 0; border-bottom: 1px solid var(--line); }
body.dgx .highlight:last-child { border-bottom: 0; }
}
body.dgx .cta-band { background: var(--accent); color: #fff; padding: clamp(56px, 8vw, 96px) 0; position: relative; overflow: hidden; }
body.dgx .cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%;
	border: 2px solid rgba(255,255,255,.22); box-shadow: 0 0 0 40px rgba(255,255,255,.05), 0 0 0 90px rgba(255,255,255,.04); }
body.dgx .cta-band__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; position: relative; z-index: 1; }
body.dgx .cta-band h2 { font-size: var(--step-4); margin: 0 0 12px; }
body.dgx .cta-band p { margin: 0; font-size: var(--step-1); opacity: .92; max-width: 34em; }
body.dgx .cta-band .btn--light { color: var(--accent-ink); }
@media (max-width: 760px) {
body.dgx .cta-band__inner { grid-template-columns: 1fr; }
}
body.dgx .split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
body.dgx .split--even { grid-template-columns: 1fr 1fr; }
body.dgx .split__sticky { position: sticky; top: 110px; }
@media (max-width: 860px) {
body.dgx .split,
body.dgx .split--even { grid-template-columns: 1fr; }
body.dgx .split__sticky { position: static; }
}
body.dgx .feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
body.dgx .feature-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
body.dgx .feature-list__num { font: 500 0.9rem/1.7 var(--serif); color: var(--accent); }
body.dgx .feature-list h4 { margin: 0 0 4px; font-size: var(--step-1); }
body.dgx .feature-list p { margin: 0; color: var(--muted); font-size: 0.95rem; }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .feature-list,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .feature-list li,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .feature-list,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .feature-list li { border-color: rgba(255,255,255,.14); }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .feature-list p,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .feature-list p { color: var(--on-dark-muted); }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .feature-list__num,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .feature-list__num { color: var(--gold-soft); }
body.dgx .checklist { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 10px; }
body.dgx .checklist li { position: relative; padding-left: 28px; }
body.dgx .checklist li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-3px); }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .checklist li::before,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .checklist li::before { border-color: var(--gold-soft); }
body.dgx .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
body.dgx .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
body.dgx .card h3,
body.dgx .card h4 { font-size: var(--step-1); margin-bottom: 8px; }
body.dgx .card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
body.dgx .card__icon { width: 38px; height: 38px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; margin-bottom: 18px; color: var(--accent); font: 600 1rem/1 var(--serif); }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .card,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .card p,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .card p { color: var(--on-dark-muted); }
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .card__icon,
body.dgx :is(.section--dark, .section--ink, .page-hero--dark, .et_pb_bg_layout_dark, .dgx-on-dark) .card__icon { background: rgba(255,255,255,.08); color: var(--gold-soft); }
body.dgx .service-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
body.dgx .service-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
body.dgx .service-col__media { aspect-ratio: 16 / 8; position: relative; }
body.dgx .service-col__body { padding: clamp(24px, 3vw, 40px); }
body.dgx .service-col h2 { font-size: var(--step-3); }
@media (max-width: 860px) {
body.dgx .service-cols { grid-template-columns: 1fr; }
}
body.dgx .size-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--card); border: 1px solid var(--line); }
body.dgx .size-table th,
body.dgx .size-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
body.dgx .size-table th { font: 700 0.72rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); }
body.dgx .size-table td:first-child { font-weight: 700; white-space: nowrap; }
body.dgx .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.dgx .pub-hero__cover { max-width: 330px; justify-self: end; width: 100%; }
body.dgx .pub-hero__cover .cover { box-shadow: 0 30px 60px -26px rgba(0,0,0,.7); transform: rotate(2deg); }
@media (max-width: 860px) {
body.dgx .pub-hero__cover { justify-self: start; max-width: 240px; }
}
body.dgx .article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.dgx .article-card { border-top: 2px solid var(--ink); padding-top: 18px; }
body.dgx .article-card__date { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
body.dgx .article-card h3 { font-size: var(--step-1); margin: 6px 0 8px; }
body.dgx .article-card h3 a { text-decoration: none; }
body.dgx .article-card p { font-size: 0.93rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) {
body.dgx .article-list { grid-template-columns: 1fr; }
}
body.dgx .empty-state { padding: 34px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--card); }
body.dgx .empty-state h3 { font-size: var(--step-1); margin-bottom: 6px; }
body.dgx .empty-state p { margin: 0; color: var(--muted); }
body.dgx .admin-hint { margin-top: 12px !important; font-size: 0.82rem; color: var(--accent-ink) !important; }
body.dgx .format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) {
body.dgx .format-grid { grid-template-columns: 1fr; }
}
body.dgx .format-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
body.dgx .format-card__label { font: 700 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); }
body.dgx .format-card h3 { margin: 12px 0 8px; font-size: var(--step-2); }
body.dgx .format-card p { margin: 0; color: var(--muted); }
body.dgx .theme-kingdom .eyebrow { color: var(--gold); }
body.dgx .theme-kingdom .page-hero { background: #f1e7d0; border-bottom-color: #e2d3b0; }
body.dgx .theme-kingdom .btn--primary { background: var(--ink); }
body.dgx .theme-kingdom .btn--primary:hover { background: var(--ink-2); }
body.dgx .theme-kingdom .feature-list__num,
body.dgx .theme-kingdom .process__num { color: var(--gold); }
body.dgx .theme-kingdom .checklist li::before { border-color: var(--gold); }
body.dgx .theme-kingdom .cta-band { background: var(--navy); }
body.dgx .theme-kingdom .cta-band .btn--light { color: var(--navy); }
body.dgx .book-hero { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 84px); align-items: start; }
body.dgx .book-hero__cover .cover { box-shadow: 0 34px 70px -30px rgba(0,0,0,.65); }
body.dgx .book-hero__cover { position: sticky; top: 110px; max-width: 380px; }
body.dgx .book-hero h1 { font-size: var(--step-4); margin-bottom: 10px; }
body.dgx .book-hero__subtitle { font: italic 400 var(--step-2)/1.25 var(--serif); color: var(--ink-2); margin-bottom: 18px; }
body.dgx .book-hero__by { font-weight: 700; letter-spacing: 0.04em; margin-bottom: 30px; }
body.dgx .book-hero__by span { color: var(--muted); font-weight: 500; }
@media (max-width: 820px) {
body.dgx .book-hero { grid-template-columns: 1fr; }
body.dgx .book-hero__cover { position: static; max-width: 260px; }
}
body.dgx .book-block { padding: 30px 0; border-top: 1px solid var(--line); }
body.dgx .book-block h2 { font-size: var(--step-2); }
body.dgx .link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
body.dgx .link-list a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
body.dgx .link-list a::after { content: "↗"; color: var(--accent); }
body.dgx .link-list a:hover { border-color: var(--ink); color: var(--ink); }
body.dgx .filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
body.dgx .filter-bar button,
body.dgx .filter-bar a { font: 700 0.85rem/1 var(--sans); padding: 11px 16px; border-radius: 99px; border: 1.5px solid var(--line);
	background: var(--card); color: var(--ink-2); cursor: pointer; text-decoration: none; }
body.dgx .filter-bar button:hover,
body.dgx .filter-bar a:hover { border-color: var(--ink); color: var(--ink); }
body.dgx .filter-bar .is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
body.dgx .filter-bar .count { opacity: .55; margin-left: 4px; font-weight: 600; }
body.dgx .project-card[hidden] { display: none; }
body.dgx .project-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
body.dgx .project-meta dt { font: 700 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
body.dgx .project-meta dd { margin: 0; }
body.dgx .prose { font-size: 1.06rem; }
body.dgx .prose > * + * { margin-top: 0; }
body.dgx .prose h2 { font-size: var(--step-3); margin-top: 1.6em; }
body.dgx .prose h3 { font-size: var(--step-2); margin-top: 1.4em; }
body.dgx .prose ul,
body.dgx .prose ol { padding-left: 1.3em; }
body.dgx .prose li { margin-bottom: .4em; }
body.dgx .prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font: italic 400 var(--step-2)/1.35 var(--serif); }
body.dgx .prose img { border-radius: var(--radius); }
body.dgx .prose .wp-block-image,
body.dgx .prose figure { margin: 2em 0; }
body.dgx .prose .wp-block-gallery { gap: 12px; }
body.dgx .alignwide { max-width: var(--wrap); }
body.dgx .prose figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
body.dgx .about-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
body.dgx .about-pillar { padding: 30px 28px 0 0; }
body.dgx .about-pillar + .about-pillar { padding-left: 28px; border-left: 1px solid var(--line); }
body.dgx .about-pillar h3 { font-size: var(--step-2); }
body.dgx .about-pillar p { color: var(--muted); }
@media (max-width: 820px) {
body.dgx .about-pillars { grid-template-columns: 1fr; }
body.dgx .about-pillar + .about-pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
body.dgx .org-diagram { display: flex; align-items: stretch; gap: 0; margin-top: 10px; }
body.dgx .org-diagram__parent,
body.dgx .org-diagram__child { padding: 24px; border-radius: var(--radius); flex: 1; }
body.dgx .org-diagram__parent { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); }
body.dgx .org-diagram__child { background: var(--accent); color: #fff; }
body.dgx .org-diagram__link { width: 46px; flex-shrink: 0; position: relative; }
body.dgx .org-diagram__link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(255,255,255,.4); }
body.dgx .org-diagram strong { display: block; font: 500 var(--step-2)/1.1 var(--serif); margin-bottom: 6px; }
body.dgx .org-diagram span { font-size: 0.9rem; opacity: .85; }
@media (max-width: 640px) {
body.dgx .org-diagram { flex-direction: column; }
body.dgx .org-diagram__link { height: 30px; width: auto; }
body.dgx .org-diagram__link::before { left: 50%; top: 0; bottom: 0; right: auto; border-top: 0; border-left: 2px dashed rgba(255,255,255,.4); }
}
body.dgx .contact-layout { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) {
body.dgx .contact-layout { grid-template-columns: 1fr; }
}
body.dgx .contact-aside h2 { font-size: var(--step-3); }
body.dgx .contact-aside dl { margin: 30px 0 0; display: grid; gap: 18px; }
body.dgx .contact-aside dt { font: 700 0.72rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
body.dgx .contact-aside dd { margin: 0; font-weight: 600; }
body.dgx .contact-aside dd a { text-decoration: none; }
body.dgx .next-steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: ns; display: grid; gap: 14px; }
body.dgx .next-steps li { counter-increment: ns; display: grid; grid-template-columns: 34px 1fr; gap: 10px; font-size: 0.95rem; color: var(--ink-2); }
body.dgx .next-steps li::before { content: counter(ns); width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 700; font-size: 0.78rem; }
body.dgx .dgx-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
body.dgx .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
body.dgx .form-field { display: flex; flex-direction: column; gap: 8px; }
body.dgx .form-field--full { grid-column: 1 / -1; }
@media (max-width: 600px) {
body.dgx .form-grid { grid-template-columns: 1fr; }
}
body.dgx .form-field label,
body.dgx .form-field legend { font-weight: 700; font-size: 0.88rem; }
body.dgx .form-field .req { color: var(--accent); }
body.dgx .form-field .opt { color: var(--muted); font-weight: 500; }
body.dgx .dgx-form input[type="text"],
body.dgx .dgx-form input[type="email"],
body.dgx .dgx-form input[type="tel"],
body.dgx .dgx-form select,
body.dgx .dgx-form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper);
	transition: border-color .15s, background .15s; }
body.dgx .dgx-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
body.dgx .dgx-form input:focus,
body.dgx .dgx-form select:focus,
body.dgx .dgx-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
body.dgx .dgx-form textarea { min-height: 150px; resize: vertical; }
body.dgx .form-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
body.dgx .form-actions p { margin: 0; font-size: 0.82rem; color: var(--muted); }
body.dgx .form-hp { position: absolute !important; left: -9999px !important; }
body.dgx .form-notice { padding: 28px; border-radius: var(--radius); margin-bottom: 24px; }
body.dgx .form-notice--success { background: var(--ink); color: var(--on-dark); }
body.dgx .form-notice--success h3 { color: #fff; font-size: var(--step-2); margin-bottom: 8px; }
body.dgx .form-notice--success p { margin: 0; color: var(--on-dark-muted); }
body.dgx .form-notice--error { background: #fdecea; color: #a12a1b; border: 1px solid #f3c4bd; font-weight: 600; }
body.dgx .site-footer { background: var(--ink); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 88px) 0 30px; font-size: 0.93rem; }
body.dgx .site-footer a { color: var(--on-dark); text-decoration: none; }
body.dgx .site-footer a:hover { color: #fff; text-decoration: underline; }
body.dgx .footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
body.dgx .footer-brand .brand { color: var(--on-dark); }
body.dgx .footer-brand .brand__mark { background: var(--on-dark); color: var(--ink); }
body.dgx .footer-brand .brand__tag { color: var(--on-dark-muted); }
body.dgx .footer-brand p { margin: 20px 0 24px; max-width: 26em; }
body.dgx .site-footer h2 { font: 700 0.72rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 18px; }
body.dgx .site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
body.dgx .footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; }
@media (max-width: 860px) {
body.dgx .footer-grid { grid-template-columns: 1fr 1fr; }
body.dgx .footer-brand { grid-column: 1 / -1; }
}
body.dgx .post-list { display: grid; gap: 36px; }
body.dgx .post-list article { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
body.dgx .post-list h2 { font-size: var(--step-3); }
body.dgx .post-list h2 a { text-decoration: none; }
body.dgx .entry-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
body.dgx .pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
body.dgx .pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
body.dgx .pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }


/* ==========================================================
   Divi integration
   ========================================================== */
body.dgx,
body.dgx #page-container,
body.dgx .et_pb_text,
body.dgx .et_pb_module { font-family: var(--sans); }
body.dgx h1, body.dgx h2, body.dgx h3, body.dgx h4,
body.dgx .et_pb_module h1, body.dgx .et_pb_module h2, body.dgx .et_pb_module h3, body.dgx .et_pb_module h4 {
	font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; padding-bottom: 0;
}
body.dgx #main-content { background: var(--paper); }
body.dgx #main-content .container::before { display: none; }
body.dgx .et_pb_text { line-height: 1.6; }
body.dgx .et_pb_text_inner > *:last-child { margin-bottom: 0; padding-bottom: 0; }
body.dgx .et_pb_text h1 { font-size: var(--step-5); font-weight: 400; margin-bottom: 0.4em; }
body.dgx .et_pb_text h2 { font-size: var(--step-4); }
body.dgx .et_pb_text .section-head h2 { margin: 0; }
body.dgx .et_pb_text ul.checklist, body.dgx .et_pb_text ol.feature-list, body.dgx .et_pb_text ol.next-steps, body.dgx .et_pb_text ul.tag-list { padding: 0; list-style: none; line-height: 1.6; }
body.dgx .et_pb_text ul.checklist { padding-bottom: 0; margin-bottom: 1.4em; }
body.dgx .et_pb_bg_layout_dark .lead, body.dgx .dgx-on-dark .lead { color: var(--on-dark-muted); }
body.dgx .et_pb_bg_layout_dark h1, body.dgx .et_pb_bg_layout_dark h2, body.dgx .et_pb_bg_layout_dark h3, body.dgx .et_pb_bg_layout_dark h4 { color: var(--on-dark); }
body.dgx .et_pb_bg_layout_dark .accent-em, body.dgx .et_pb_bg_layout_dark em { color: var(--gold-soft); }
body.dgx .et_pb_section.dgx-cta .et_pb_bg_layout_dark em { color: #fff; }
body.dgx .et_pb_section.dgx-hero-section { border-bottom: 1px solid var(--line); }
body.dgx .et_pb_section.dgx-page-hero { border-bottom: 1px solid var(--line); }
body.dgx .et_pb_row.dgx-align-end { display: flex; align-items: flex-end; flex-wrap: wrap; }
body.dgx .et_pb_row.dgx-align-center { display: flex; align-items: center; flex-wrap: wrap; }
@media (max-width: 980px) { body.dgx .et_pb_row.dgx-align-end, body.dgx .et_pb_row.dgx-align-center { display: block; } }
body.dgx .page-hero__lead { font-size: var(--step-1); color: var(--ink-2); }
body.dgx .et_pb_bg_layout_dark .page-hero__lead { color: var(--on-dark-muted); }

/* Light-background variant of the process steps */
body.dgx .dgx-light .process { border-top-color: var(--line); }
body.dgx .dgx-light .process__step { border-right-color: var(--line); }
body.dgx .dgx-light .process__num { color: var(--accent); }
body.dgx .dgx-light .process__step p { color: var(--muted); }
@media (max-width: 900px) { body.dgx .dgx-light .process__step { border-bottom-color: var(--line); } }
body.dgx .theme-kingdom-accent .process__num { color: var(--gold); }

/* Hero art needs room inside a Divi column */
body.dgx .et_pb_column .hero__art { width: 100%; }

/* Header: Divi menu + Start a Project button */
body.dgx #main-header { background: var(--paper); box-shadow: none; border-bottom: 1px solid var(--line); }
body.dgx #top-menu a { font-family: var(--sans); font-weight: 600; }
body.dgx #top-menu li.current-menu-item > a, body.dgx #top-menu li.current-menu-ancestor > a { color: var(--accent-ink) !important; }
body.dgx #top-menu > li.dgx-menu-cta > a {
	background: var(--ink); color: #fff !important; border-radius: var(--radius);
	padding: 12px 18px !important; opacity: 1 !important;
}
body.dgx #top-menu > li.dgx-menu-cta > a:hover { background: var(--accent); }
body.dgx.et_header_style_left #et-top-navigation nav > ul > li.dgx-menu-cta > a { padding-bottom: 12px !important; }
body.dgx #top-menu > li.dgx-menu-cta { vertical-align: middle; margin-top: -12px; }
body.dgx .et_mobile_menu li.dgx-menu-cta a { background: var(--ink); color: #fff !important; text-align: center; border-radius: var(--radius); margin-top: 8px; }
body.dgx #top-menu .sub-menu { border-top-color: var(--accent); }

/* Footer: DGX footer replaces Divi's default footer bar (Customizer → DGX NextMedia details) */
body.dgx.dgx-has-footer #main-footer { display: none; }
body.dgx .site-footer h2 { color: var(--on-dark); font-family: var(--sans); padding-bottom: 0; }
body.dgx .site-footer p { color: var(--on-dark-muted); }
body.dgx .site-footer .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); }
body.dgx .site-footer .brand__mark { width: 40px; height: 40px; border-radius: 3px; background: var(--on-dark); color: var(--ink); display: grid; place-items: center; font: 700 0.8rem/1 var(--sans); position: relative; }
body.dgx .site-footer .brand__mark::after { content: ""; position: absolute; right: 5px; bottom: 5px; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
body.dgx .site-footer .brand__text { display: flex; flex-direction: column; line-height: 1.05; }
body.dgx .site-footer .brand__name { font: 600 1.22rem/1 var(--serif); }
body.dgx .site-footer .brand__tag { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 4px; }

/* Inquiry form inside Divi */
body.dgx .dgx-form input, body.dgx .dgx-form select, body.dgx .dgx-form textarea { font-family: var(--sans); }
body.dgx .dgx-form label { color: var(--ink); }
