/*
 * TDB IT Consultants - site styles.
 *
 * No remote fonts, images or imports. Every url() in this file points at a
 * local theme asset. Colours mirror the tokens declared in theme.json so block
 * content and PHP templates render identically.
 *
 * Contents
 *   1.  Tokens
 *   2.  Base
 *   3.  Skip link and utilities
 *   4.  Header and navigation
 *   5.  Buttons and links
 *   6.  Hero and decorative graphic
 *   7.  Supporting band and section scaffolding
 *   8.  Service cards
 *   9.  About and context points
 *   10. Engagement process
 *   11. Consultation
 *   12. Inner pages, archive and 404
 *   13. Footer
 *   14. Block-editor output compatibility
 *   15. Responsive, motion, forced colours, print
 */

/* ------------------------------------------------------------------ 1. Tokens */

:root {
	--ink: #101f32;
	--ink-soft: #1b3047;
	--paper: #f7f9fb;
	--white: #ffffff;
	--muted: #526174;
	--line: #d8e0e8;
	--blue: #175bd8;
	--blue-dark: #1149b4;
	--teal: #8ce1d5;
	--teal-light: #b2eee5;
	--on-dark: #c4cfdd;
	--on-dark-quiet: #aab9ca;
	--rule-dark: #40566f;
	--max: 1184px;
	--radius: 12px;
	--space: clamp(64px, 8vw, 112px);
}

/* -------------------------------------------------------------------- 2. Base */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--white);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
	margin: 0;
}

h1,
h2,
h3 {
	line-height: 1.12;
	letter-spacing: -0.035em;
}

h1 {
	font-size: clamp(44px, 4.5vw, 62px);
	font-weight: 650;
}

h2 {
	font-size: clamp(32px, 3.4vw, 46px);
	font-weight: 650;
}

h3 {
	font-size: 24px;
	font-weight: 650;
	letter-spacing: -0.02em;
}

p + p {
	margin-top: 16px;
}

a {
	color: inherit;
	text-underline-offset: 4px;
}

a:hover {
	text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 6px;
	border-radius: 3px;
}

.hero a:focus-visible,
.consult a:focus-visible {
	outline-color: var(--teal);
}

img,
svg {
	max-width: 100%;
	height: auto;
}

/* ------------------------------------------------- 3. Skip link and utilities */

.wrap {
	width: min(var(--max), calc(100% - 64px));
	margin-inline: auto;
}

.eyebrow {
	font-size: 12px;
	line-height: 1.5;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 10;
	background: var(--white);
	color: var(--ink);
	padding: 12px 20px;
	font-weight: 650;
}

.skip:focus {
	top: 12px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: static;
	width: auto;
	height: auto;
	margin: 0;
	clip-path: none;
}

/* ---------------------------------------------- 4. Header and navigation */

.site-header {
	padding: 22px 0;
	background: var(--white);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	flex-shrink: 0;
}

.brand-mark {
	font-size: 29px;
	font-weight: 800;
	letter-spacing: -0.07em;
	line-height: 1;
	text-transform: lowercase;
}

.brand-mark::after {
	content: ".";
	color: var(--blue);
}

.brand-descriptor {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	line-height: 1.5;
	border-left: 1px solid var(--line);
	padding-left: 12px;
}

.brand-logo {
	display: block;
	max-height: 48px;
	width: auto;
}

.nav {
	display: flex;
	gap: 30px;
	align-items: center;
}

/*
 * Menus assigned under Appearance > Menus render as nested lists; the
 * fallback uses the same markup. List styling is reset here so a real menu
 * and the fallback look identical.
 */
.nav-menu,
.nav-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-menu {
	display: flex;
	gap: 30px;
	align-items: center;
}

.nav-menu li {
	position: relative;
	margin: 0;
}

.nav a {
	font-size: 14px;
	text-decoration: none;
	font-weight: 600;
}

.nav a:hover {
	text-decoration: underline;
}

/* Current page, as marked by WordPress on the assigned menu. */
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-parent > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu a[aria-current="page"] {
	color: var(--blue);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

/* Second-level items: a dropdown on wide viewports, opened by hover or keyboard focus. */
.desktop-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}

.desktop-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 220px;
	margin-top: 12px;
	padding: 10px 0;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 16px 40px rgba(16, 31, 50, 0.125);
	z-index: 6;
	flex-direction: column;
}

/* Invisible bridge so the pointer can cross the gap without closing the menu. */
.desktop-nav .sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -13px;
	height: 13px;
}

.desktop-nav .sub-menu a {
	display: block;
	padding: 8px 16px;
	white-space: nowrap;
}

.desktop-nav .menu-item-has-children:hover > .sub-menu,
.desktop-nav .menu-item-has-children:focus-within > .sub-menu {
	display: flex;
}

/* The header button sits after the menu; the wrapper collapses when the button is off. */
.header-cta:empty {
	display: none;
}

.mobile-nav {
	display: none;
}

/* --------------------------------------------------- 5. Buttons and links */

.button,
.wp-block-button__link {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 24px;
	padding: 14px 21px;
	border: 1px solid transparent;
	border-radius: 5px;
	background: var(--blue);
	color: var(--white);
	font-weight: 650;
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
	min-height: 48px;
}

.button:hover,
.wp-block-button__link:hover {
	background: var(--blue-dark);
	color: var(--white);
	text-decoration: none;
}

.button .arrow {
	font-size: 20px;
	line-height: 1;
}

.text-link {
	font-size: 14px;
	font-weight: 650;
}

/* --------------------------------------- 6. Hero and decorative graphic */

.hero {
	background: var(--ink);
	color: var(--white);
	position: relative;
	overflow: hidden;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 60px;
	align-items: center;
	padding-top: 86px;
	padding-bottom: 80px;
}

.hero .eyebrow {
	color: var(--teal);
	margin-bottom: 24px;
}

.hero h1 {
	max-width: 650px;
}

.hero h1 span {
	color: var(--teal);
}

.hero-copy > p {
	max-width: 500px;
	color: var(--on-dark);
	margin-top: 26px;
	font-size: 18px;
	line-height: 1.7;
}

.hero-actions {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 32px;
}

.hero .button,
.hero .wp-block-button__link {
	background: var(--teal);
	color: var(--ink);
}

.hero .button:hover,
.hero .wp-block-button__link:hover {
	background: var(--teal-light);
	color: var(--ink);
}

.hero-footnote {
	font-size: 12px;
	color: var(--on-dark-quiet);
	margin-top: 24px;
}

.hero-copy > p.hero-footnote {
	font-size: 12px;
	color: var(--on-dark-quiet);
}

.system-art {
	position: relative;
	min-height: 410px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url("../img/hero-motif.svg");
	background-size: 23px 23px;
	background-repeat: repeat;
	border: 1px solid #344559;
	border-radius: var(--radius);
}

.art-corner {
	position: absolute;
	top: 21px;
	left: 24px;
	font-size: 10px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--on-dark-quiet);
}

.orbit {
	position: absolute;
	width: 290px;
	height: 290px;
	border: 1px solid var(--rule-dark);
	border-radius: 50%;
	transform: rotate(-28deg);
}

.orbit::before {
	content: "";
	position: absolute;
	width: 344px;
	height: 194px;
	left: -28px;
	top: 46px;
	border: 1px solid var(--rule-dark);
	border-radius: 50%;
}

.orbit::after {
	content: "";
	position: absolute;
	width: 10px;
	height: 10px;
	background: var(--teal);
	border: 3px solid var(--ink);
	border-radius: 50%;
	left: 30px;
	top: 38px;
	box-shadow: 0 0 0 1px var(--teal);
}

.art-core {
	z-index: 1;
	width: 118px;
	height: 118px;
	display: grid;
	place-content: center;
	text-align: center;
	background: linear-gradient(145deg, #294966, #152c42);
	border: 1px solid #5e809d;
	border-radius: 24px;
	box-shadow: 0 16px 55px rgba(7, 16, 31, 0.5);
	transform: rotate(-8deg);
}

.art-core span {
	transform: rotate(8deg);
	font-size: 30px;
	letter-spacing: -0.07em;
	font-weight: 750;
}

.art-core small {
	display: block;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	font-size: 8px;
	color: var(--teal);
	margin-top: 3px;
}

.art-label {
	position: absolute;
	z-index: 2;
	background: var(--ink-soft);
	border: 1px solid var(--rule-dark);
	border-radius: 6px;
	display: flex;
	gap: 11px;
	align-items: center;
	padding: 12px 16px;
	font-size: 12px;
	font-weight: 600;
	box-shadow: 0 8px 24px rgba(7, 16, 31, 0.25);
}

.art-label i {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--teal);
}

.label-one {
	top: 83px;
	right: 24px;
}

.label-two {
	bottom: 90px;
	left: 22px;
}

.label-three {
	bottom: 31px;
	right: 22px;
}

.art-caption {
	position: absolute;
	bottom: 15px;
	left: 22px;
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--on-dark-quiet);
}

/* ------------------------- 7. Supporting band and section scaffolding */

.intro-strip {
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}

.intro-inner {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 48px;
	padding-block: 27px;
	align-items: center;
}

.intro-inner .eyebrow {
	color: var(--muted);
	font-size: 10px;
}

.intro-inner p {
	font-size: 15px;
	line-height: 1.6;
	max-width: 700px;
}

.section {
	padding-block: var(--space);
}

.section-top {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	align-items: end;
	margin-bottom: 38px;
}

.section-top .eyebrow,
.about-copy .eyebrow {
	color: var(--blue);
	margin-bottom: 15px;
}

.section-top h2 {
	max-width: 650px;
}

.section-top > p {
	color: var(--muted);
	max-width: 320px;
	font-size: 15px;
}

/* ------------------------------------------------------- 8. Service cards */

.service-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(2, 1fr);
}

.service-grid.cols-1 {
	grid-template-columns: 1fr;
}

.service-grid.cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.service-grid.cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.service-card {
	padding: 30px 28px 27px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	align-items: start;
}

.service-card:first-child {
	background: var(--paper);
}

.service-icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid #b8cbe7;
	border-radius: 9px;
	background: #edf3fd;
	color: var(--blue);
	margin-bottom: 34px;
}

.service-icon svg {
	width: 23px;
	height: 23px;
	stroke: currentColor;
	stroke-width: 1.6;
	fill: none;
}

.service-card h3 {
	font-size: 23px;
	line-height: 1.22;
	max-width: 260px;
}

.service-card p {
	font-size: 15px;
	color: var(--muted);
	margin-top: 17px;
	margin-bottom: 26px;
}

.service-card > a,
.service-card p:last-child a {
	margin-top: auto;
	color: var(--blue);
	font-size: 13px;
	font-weight: 700;
}

/* --------------------------------------------- 9. About and context points */

.about {
	background: var(--paper);
	border-block: 1px solid var(--line);
}

.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 100px;
	align-items: start;
}

.about-copy > p {
	color: var(--muted);
	margin-top: 24px;
	font-size: 17px;
}

.about-copy .text-link {
	display: inline-block;
	margin-top: 24px;
	color: var(--blue);
}

.principles {
	border-top: 1px solid var(--line);
}

.principle {
	display: grid;
	grid-template-columns: 40px 1fr;
	gap: 20px;
	padding: 25px 0;
	border-bottom: 1px solid var(--line);
}

.principle > span {
	font-size: 12px;
	color: var(--blue);
	font-weight: 700;
}

.principle h3 {
	font-size: 19px;
	letter-spacing: -0.02em;
}

.principle p {
	font-size: 14px;
	color: var(--muted);
	margin-top: 9px;
}

/* ------------------------------------------------- 10. Engagement process */

.process .section-top > p {
	font-size: 13px;
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 45px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.steps li {
	border-top: 1px solid var(--line);
	padding-top: 23px;
}

.step-number {
	display: block;
	font-size: 12px;
	color: var(--blue);
	font-weight: 700;
	margin-bottom: 22px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.steps h3 {
	font-size: 23px;
}

.steps p {
	color: var(--muted);
	font-size: 15px;
	margin-top: 14px;
	max-width: 320px;
}

/* ------------------------------------------------------- 11. Consultation */

.consult {
	background: var(--ink);
	color: var(--white);
	padding: 64px 0;
}

.consult-grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 80px;
	align-items: center;
}

.consult .eyebrow {
	color: var(--teal);
	margin-bottom: 18px;
}

.consult h2 {
	max-width: 570px;
}

.consult-copy > p {
	color: var(--on-dark);
	font-size: 16px;
	margin-top: 20px;
	max-width: 520px;
}

.contact-options {
	border-left: 1px solid var(--rule-dark);
	padding-left: 48px;
	display: flex;
	flex-direction: column;
	align-items: start;
	gap: 15px;
}

.contact-options .button,
.contact-options .wp-block-button__link {
	background: var(--teal);
	color: var(--ink);
	max-width: 100%;
	overflow-wrap: anywhere;
}

.contact-options .button:hover,
.contact-options .wp-block-button__link:hover {
	background: var(--teal-light);
	color: var(--ink);
}

.contact-options p {
	font-size: 13px;
	color: var(--on-dark);
}

.phone {
	font-size: 22px;
	font-weight: 600;
	text-decoration: none;
	color: var(--white);
}

.phone:hover {
	text-decoration: underline;
}

/* ------------------------------ 12. Inner pages, archive and 404 */

.page-head {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	padding-block: clamp(48px, 6vw, 80px);
}

.page-head .eyebrow {
	color: var(--blue);
	margin-bottom: 15px;
}

.page-head h1 {
	max-width: 900px;
}

.page-lead {
	margin-top: 20px;
	color: var(--muted);
	font-size: 18px;
	max-width: 640px;
}

.prose {
	max-width: 70ch;
}

.prose > * + * {
	margin-top: 20px;
}

.prose h2 {
	margin-top: 48px;
	font-size: clamp(26px, 2.4vw, 32px);
}

.prose h3 {
	margin-top: 32px;
	font-size: 21px;
}

.prose ul,
.prose ol {
	padding-left: 22px;
}

.prose li + li {
	margin-top: 8px;
}

.prose a {
	color: var(--blue);
}

.error-404 .eyebrow {
	color: var(--blue);
	margin-bottom: 15px;
}

.error-404 .prose {
	margin-top: 24px;
	color: var(--muted);
}

.error-links {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 480px;
}

.error-links a {
	color: var(--blue);
	font-weight: 650;
	display: inline-block;
	padding: 6px 0;
}

.post-list {
	display: grid;
	gap: 48px;
	max-width: 70ch;
}

.post-summary h2 {
	font-size: clamp(26px, 2.6vw, 34px);
}

.post-summary h2 a {
	text-decoration: none;
}

.post-summary h2 a:hover {
	text-decoration: underline;
}

.post-meta {
	color: var(--muted);
	font-size: 13px;
	margin-top: 10px;
}

.post-summary .prose {
	margin-top: 16px;
}

.page-links,
.wp-block-query-pagination {
	margin-top: 40px;
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

/* ------------------------------------------------------------ 13. Footer */

.site-footer {
	padding: 33px 0;
	border-top: 1px solid var(--line);
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

/* The tagline from Site Identity; the element stays in the document so the Customizer can update it in place. */
.footer-tagline {
	margin: 0;
	max-width: 42ch;
	font-size: 13px;
	color: var(--muted);
}

.footer-tagline:empty {
	display: none;
}

/* Footer widget area (Appearance > Widgets); rendered only while it holds widgets. */
.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
	color: var(--muted);
}

.footer-widgets .widget-title {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--ink);
}

.footer-widgets ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-widgets li + li {
	margin-top: 6px;
}

.footer-widgets a {
	color: var(--blue);
}

.footer-meta {
	text-align: right;
	color: var(--muted);
	font-size: 11px;
}

.footer-meta p {
	margin-top: 7px;
}

.footer-meta a {
	font-size: 12px;
	color: var(--blue);
}

.footer-nav,
.footer-nav .nav-menu {
	display: flex;
	gap: 18px;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.footer-nav .nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav .nav-menu li {
	margin: 0;
}

.footer-contact a {
	font-size: 12px;
}

/* --------------------------- 14. Block-editor output compatibility */

/*
 * Block patterns render core wrappers. These rules let the same visual design
 * apply whether a section comes from a PHP template part or from blocks in the
 * page editor. Specificity is raised just enough to win over core block CSS.
 */

.wp-block-columns.hero-grid,
.wp-block-columns.about-grid,
.wp-block-columns.consult-grid,
.wp-block-columns.service-grid,
.wp-block-columns.steps {
	display: grid;
	margin-bottom: 0;
}

.wp-block-columns.hero-grid > .wp-block-column,
.wp-block-columns.about-grid > .wp-block-column,
.wp-block-columns.consult-grid > .wp-block-column,
.wp-block-columns.service-grid > .wp-block-column,
.wp-block-columns.steps > .wp-block-column {
	flex-basis: auto !important;
	min-width: 0;
}

.wp-block-group.section,
.wp-block-group.hero,
.wp-block-group.consult {
	margin-block: 0;
}

.wp-block-group.wrap {
	width: min(var(--max), calc(100% - 64px));
	margin-inline: auto;
}

.entry-content > .wp-block-group.hero,
.entry-content > .wp-block-group.consult,
.entry-content > .wp-block-group.intro-strip,
.entry-content > .wp-block-group.about {
	max-width: none;
}

.wp-block-group.section-top > .wp-block-group {
	max-width: 650px;
}

.wp-block-column.service-card > * + * {
	margin-top: 0;
}

.wp-block-column.principles > .wp-block-group.principle {
	display: block;
}

/* --------------- 15. Responsive, motion, forced colours, print */

@media (min-width: 1400px) {
	.hero-grid {
		padding-block: 100px;
	}
}

@media (max-width: 1000px) {
	.hero-grid {
		gap: 30px;
	}

	.system-art {
		min-height: 360px;
	}

	.orbit {
		width: 240px;
		height: 240px;
	}

	.orbit::before {
		width: 280px;
		height: 170px;
		left: -20px;
		top: 35px;
	}

	.label-one {
		right: 12px;
		top: 55px;
	}

	.label-two {
		left: 10px;
		bottom: 74px;
	}

	.label-three {
		right: 10px;
		bottom: 20px;
	}

	.art-caption {
		display: none;
	}

	.nav {
		gap: 20px;
	}

	.about-grid {
		gap: 48px;
	}

	.service-card {
		padding: 24px 20px;
	}

	.consult-grid {
		gap: 40px;
	}

	.contact-options {
		padding-left: 30px;
	}

	.intro-inner {
		gap: 30px;
	}
}

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

@media (max-width: 760px) {
	.wrap,
	.wp-block-group.wrap {
		width: calc(100% - 40px);
	}

	.site-header {
		padding: 18px 0;
	}

	.desktop-nav {
		display: none;
	}

	.mobile-nav {
		display: block;
		position: relative;
	}

	.mobile-nav summary {
		cursor: pointer;
		min-height: 44px;
		padding: 10px 6px;
		font-size: 14px;
		font-weight: 650;
	}

	.mobile-nav .nav {
		position: absolute;
		right: 0;
		top: 50px;
		min-width: 230px;
		padding: 22px;
		background: var(--white);
		border: 1px solid var(--line);
		border-radius: 8px;
		box-shadow: 0 16px 40px rgba(16, 31, 50, 0.125);
		z-index: 5;
		align-items: stretch;
		flex-direction: column;
		gap: 16px;
	}

	.mobile-nav .nav-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.mobile-nav .nav a {
		display: block;
		padding: 6px;
	}

	/* Second-level items appear inline, indented, inside the disclosure. */
	.mobile-nav .sub-menu {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin: 10px 0 0 10px;
		padding-left: 12px;
		border-left: 1px solid var(--line);
	}

	.mobile-nav .nav .button {
		display: inline-flex;
		padding: 12px;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		padding-top: 56px;
		padding-bottom: 44px;
		gap: 40px;
	}

	.hero h1 {
		max-width: 580px;
	}

	.hero-copy > p {
		font-size: 17px;
	}

	.system-art {
		min-height: 320px;
		width: 100%;
		max-width: 520px;
		justify-self: center;
	}

	.label-one {
		top: 42px;
		right: 24px;
	}

	.label-two {
		bottom: 60px;
		left: 24px;
	}

	.label-three {
		bottom: 21px;
		right: 24px;
	}

	.intro-inner {
		grid-template-columns: 1fr;
		gap: 10px;
		padding-block: 25px;
	}

	.section-top {
		display: block;
		margin-bottom: 28px;
	}

	.section-top > p {
		margin-top: 18px;
		max-width: 500px;
	}

	.service-grid,
	.service-grid.cols-2,
	.service-grid.cols-3 {
		grid-template-columns: 1fr;
	}

	.service-card {
		padding: 28px;
	}

	.service-icon {
		margin-bottom: 25px;
	}

	.service-card h3 {
		max-width: none;
	}

	.service-card p {
		max-width: 520px;
	}

	.about-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.steps {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.steps p {
		max-width: 520px;
	}

	.step-number {
		margin-bottom: 14px;
	}

	.consult-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.consult {
		padding-block: 52px;
	}

	.contact-options {
		border-left: 0;
		border-top: 1px solid var(--rule-dark);
		padding: 30px 0 0;
	}

	.footer-inner {
		align-items: start;
		flex-direction: column;
	}

	.footer-meta {
		text-align: left;
	}

	.footer-nav,
	.footer-nav .nav-menu {
		justify-content: flex-start;
	}

	.brand-descriptor {
		font-size: 9px;
	}

	.hero-actions {
		gap: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media (forced-colors: active) {
	.button,
	.wp-block-button__link {
		border: 1px solid currentColor;
	}

	.service-card,
	.art-label {
		border: 1px solid currentColor;
	}

	a:focus-visible,
	summary:focus-visible {
		outline: 3px solid currentColor;
	}
}

@media print {
	.mobile-nav,
	.desktop-nav,
	.system-art,
	.skip {
		display: none;
	}

	.hero,
	.consult {
		background: var(--white);
		color: var(--ink);
	}

	.hero-copy > p,
	.consult-copy > p,
	.phone {
		color: var(--muted);
	}

	.hero-grid,
	.consult-grid {
		grid-template-columns: 1fr;
	}

	.section {
		padding-block: 30px;
	}

	.service-card {
		break-inside: avoid;
	}
}
