/* Services only. Shared header, page title and footer keep the existing theme design. */
.aed-services {
	--svc-accent: #58705c; --svc-muted: #586670; --svc-line: var(--aed-ui-line);
	--svc-card: #fff; --svc-tint: #eaf0e7; --svc-art: #eef0ef;
	--svc-art-center: #f5f6f4; --svc-art-light: 155,178,190; --svc-art-light-opacity: .38;
	--svc-art-highlight-opacity: .50;
	--svc-art-shadow: 0 10px 28px rgba(25,36,40,.035);
	--svc-art-border-top: #c8c5be; --svc-art-border-mid: #d5d2ca; --svc-art-border-bottom: #e2dfd8; --svc-art-border-hover: #b4b0a7;
	--svc-shadow: 0 18px 42px rgba(23,49,71,.075);
}
html[data-theme="dark"] .aed-services {
	--svc-accent: #d3a17c; --svc-muted: #b9c2bf; --svc-line: var(--aed-ui-line);
	--svc-card: #151c1d; --svc-tint: #1b2925; --svc-art: #151b1c;
	--svc-art-center: #1b2223; --svc-art-light: 201,163,126; --svc-art-light-opacity: .42;
	--svc-art-highlight-opacity: 0;
	--svc-art-shadow: 0 12px 30px rgba(0,0,0,.12);
	--svc-art-border-top: rgba(211,161,124,.36); --svc-art-border-mid: rgba(211,161,124,.24); --svc-art-border-bottom: rgba(211,161,124,.12); --svc-art-border-hover: rgba(211,161,124,.5);
	--svc-shadow: 0 18px 42px rgba(0,0,0,.2);
}
/* Match the About/Projects drafting grid behind the title and opening content. */
.aed-services > .site-shell { position: relative; isolation: isolate; }
.aed-services > .site-shell::before {
	--svc-draft-line: rgba(101,123,105,.045); --svc-draft-major: rgba(101,123,105,.07);
	content: ""; position: absolute; inset: -12px 0 auto; height: min(760px,100%); z-index: -1; pointer-events: none;
	background-image: linear-gradient(var(--svc-draft-major) 1px,transparent 1px),linear-gradient(90deg,var(--svc-draft-major) 1px,transparent 1px),linear-gradient(var(--svc-draft-line) 1px,transparent 1px),linear-gradient(90deg,var(--svc-draft-line) 1px,transparent 1px);
	background-size: 160px 160px,160px 160px,32px 32px,32px 32px;
	-webkit-mask-image: linear-gradient(transparent,#000 64px,#000 60%,transparent);
	mask-image: linear-gradient(transparent,#000 64px,#000 60%,transparent);
}
html[data-theme="dark"] .aed-services > .site-shell::before { --svc-draft-line: rgba(180,145,115,.035); --svc-draft-major: rgba(180,145,115,.055); }
@media (max-width:1000px), print { .aed-services > .site-shell::before { display:none; } }
/* Preserve readable small copy over even the intersecting grid lines. */
html:not([data-theme="dark"]) .aed-services :is(.aed-svc-hero,.aed-svc-overview-opening,.aed-svc-group-heading) { --svc-muted:#4e5b65; }
html:not([data-theme="dark"]) .aed-services .aed-svc-hero-copy .aed-svc-eyebrow { color:#475e4c; }
.aed-services .aed-svc-layout { margin-top: 0; }
.aed-services h2, .aed-services h3, .aed-services h4, .aed-services p, .aed-services figure { margin: 0; }
.aed-services h2 { font-family: var(--font-display); font-size: clamp(1.9rem,3vw,2.7rem); font-weight: 400; line-height: 1.18; letter-spacing: -.025em; text-wrap: balance; }
.aed-services h3, .aed-services h4 { font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
/* Match the page title's baseline-aligned 3D lettering in catalogue cards. */
.aed-svc-title-dimension {
	font-family: var(--font-sans); font-size: .95em;
	font-variant-numeric: lining-nums; white-space: nowrap; overflow-wrap: normal;
}
.aed-services p { color: var(--svc-muted); line-height: 1.75; }
.aed-services p + p { margin-top: 16px; }
.aed-services :is(h2,h3,h4) + p { margin-top: 16px; }
.aed-services .aed-svc-eyebrow { font-size: var(--aed-ui-eyebrow-size); line-height: 1.6; font-weight: var(--aed-ui-label-weight); letter-spacing: var(--aed-ui-eyebrow-tracking); text-transform: uppercase; color: var(--svc-accent); margin-bottom: 16px; }
/* Catalogue and service section links share a compact landing gap. */
.aed-services .aed-svc-layout > section[id] { scroll-margin-top: 1.5rem; }
@media (max-width: 57.5rem) {
	.site-header.mobile-sticky-header-enabled ~ .aed-services .aed-svc-layout > section[id] { scroll-margin-top: 5.25rem; }
}
/* WordPress keeps scroll padding on small screens after its toolbar scrolls away. */
@media (max-width: 37.5rem) {
	body.admin-bar .site-header.mobile-sticky-header-enabled ~ .aed-services .aed-svc-layout > section[id] {
		scroll-margin-top: calc(5.25rem - var(--wp-admin--admin-bar--height, 46px));
	}
}
.aed-svc-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 50px; padding: 0 0 56px; }
.aed-svc-hero-copy { min-width: 0; text-align: center; }
.aed-svc-hero-copy .aed-svc-tags { justify-content: center; }
.aed-services .aed-svc-hero h2 { font-size: clamp(2.55rem,4.1vw,3.7rem); line-height: 1.08; max-width: 15ch; margin-inline: auto; }
.aed-svc-hero h2 em { display: block; font-style: normal; color: var(--svc-accent); }
.aed-services .aed-svc-lead { font-size: 1.05rem; max-width: 57ch; margin: 24px auto; }
.aed-svc-card-link i { flex-shrink: 0; font-size: .8rem; transition: transform .2s; }
.aed-svc-card:hover .fa-arrow-right, .aed-svc-related-card:hover .fa-arrow-right { transform: translateX(4px); }
.aed-svc-text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: .88rem; font-weight: 550; text-decoration: underline; text-decoration-color: var(--svc-line); text-underline-offset: 6px; }
.aed-svc-text-link:hover { color: var(--svc-accent); text-decoration-color: currentColor; }
.aed-svc-text-link i { flex-shrink: 0; font-size: .75rem; }
/* Cool daylight in light mode; the original copper glow remains in dark mode. */
.aed-svc-art {
	position: relative; isolation: isolate; aspect-ratio: 800/620; overflow: hidden;
	background:
		radial-gradient(ellipse 34% 38% at 58% 28%, rgba(255,255,255,var(--svc-art-highlight-opacity)), rgba(255,255,255,0) 100%),
		radial-gradient(ellipse at 68% 42%, rgba(var(--svc-art-light),var(--svc-art-light-opacity)), rgba(var(--svc-art-light),0) 70%),
		linear-gradient(140deg,var(--svc-art),var(--svc-art-center) 56%,var(--svc-art));
}
.aed-svc-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.aed-svc-art img.aed-svc-art-dark { display: none; }
html[data-theme="dark"] .aed-svc-art img.aed-svc-art-light { display: none; }
html[data-theme="dark"] .aed-svc-art img.aed-svc-art-dark { display: block; }
.aed-svc-hero-art { min-width: 0; position: relative; }
.aed-svc-hero-art .aed-svc-art {
	--svc-art-light-opacity: .44; border: 1px solid transparent; border-radius: 4px 60px 4px 4px; box-shadow: var(--svc-art-shadow);
	background:
		radial-gradient(ellipse 34% 38% at 58% 28%, rgba(255,255,255,var(--svc-art-highlight-opacity)), rgba(255,255,255,0) 100%) padding-box,
		radial-gradient(ellipse at 68% 42%, rgba(var(--svc-art-light),var(--svc-art-light-opacity)), rgba(var(--svc-art-light),0) 70%) padding-box,
		linear-gradient(140deg,var(--svc-art),var(--svc-art-center) 56%,var(--svc-art)) padding-box,
		linear-gradient(165deg,var(--svc-art-border-top),var(--svc-art-border-mid) 48%,var(--svc-art-border-bottom)) border-box;
}
html[data-theme="dark"] .aed-svc-hero-art .aed-svc-art {
	/* Darken only the introductory image surface, preserving its copper glow. */
	--svc-art: #0f1415; --svc-art-center: #151b1c; --svc-art-light-opacity: .42;
}
/* One outer frame follows the existing corners; opaque inner layers keep it off the artwork. */
.aed-svc-card, .aed-svc-related-card {
	background:
		linear-gradient(var(--svc-card),var(--svc-card)) padding-box,
		linear-gradient(165deg,var(--svc-art-border-top),var(--svc-art-border-mid) 48%,var(--svc-art-border-bottom)) border-box;
}
.aed-svc-hero-art figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: .66rem; letter-spacing: .035em; color: var(--svc-muted); }
/* Keep the approved photograph's full composition and logo visible at every width. */
.aed-svc-coordination-photo { grid-column: 2; grid-row: 1; min-width: 0; width: 100%; max-width: 360px; align-self: center; justify-self: center; }
.aed-svc-coordination-photo .aed-svc-photo { overflow: hidden; border: 1px solid var(--coord-line); border-radius: 4px 28px 4px 4px; background: var(--svc-card); box-shadow: 0 8px 24px rgba(16,43,60,.06); }
.aed-svc-coordination-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; }
.aed-svc-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; list-style: none; }
.aed-svc-tags li { border: 1px solid var(--svc-line); color: var(--svc-muted); border-radius: 2px; padding: 6px 11px; font-size: .74rem; }
.aed-svc-section { margin-top: 76px; }
.aed-svc-hero + .aed-svc-section { margin-top: 14px; }
/* A short introduction brings visitors straight to the catalogue. */
.aed-services > .site-shell > .aed-page-title:has(+ .aed-svc-layout--overview) { margin-bottom: 4px; }
/* Remove the centred title band's spare lower space as well as reducing its outer margin. */
.aed-services > .site-shell > .aed-page-title--centred:has(+ .aed-svc-layout--overview) .aed-page-title-band {
	min-height: 0; padding-bottom: 0;
}
.aed-svc-overview-opening { position: relative; margin-bottom: 32px; font-size: 1.05rem; }
.aed-services .aed-svc-overview-intro { max-width: 72ch; margin: 0 auto; text-align: center; font-size: inherit; text-wrap: pretty; }
/* Drawing tools and an elevation fit inside the gutters without adding height or overlapping text. */
.aed-svc-overview-opening::before, .aed-svc-overview-opening::after {
	content: ''; position: absolute; top: 50%; transform: translateY(-50%);
	width: clamp(0px, calc((100% - 72ch) / 2 - 40px), 180px); height: 60px;
	background: var(--svc-accent); opacity: .32; pointer-events: none;
	-webkit-mask: var(--svc-intro-drawing) center / contain no-repeat;
	mask: var(--svc-intro-drawing) center / contain no-repeat;
}
.aed-svc-overview-opening::before { left: 20px; opacity: .38; --svc-intro-drawing: url('../images/decor/services-intro-drawing-tools.svg'); }
.aed-svc-overview-opening::after { right: 20px; --svc-intro-drawing: url('../images/decor/services-intro-elevation.svg'); }
html[data-theme="dark"] .aed-svc-overview-opening::before { opacity: .32; }
html[data-theme="dark"] .aed-svc-overview-opening::after { opacity: .28; }
.aed-svc-layout--overview > #aed-svc-catalogue { margin-top: 0; }
.aed-svc-layout--overview > :is(.aed-svc-coordination, .aed-svc-cta) { margin-top: 56px; }
.aed-svc-section-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 32px; }
.aed-svc-section-intro > p { max-width: 53ch; }
.aed-svc-group + .aed-svc-group { margin-top: 32px; }
.aed-svc-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 16px 0; border-top: 1px solid var(--svc-line); }
.aed-svc-group:first-child > .aed-svc-group-heading { padding-top: 0; border-top: 0; }
.aed-services .aed-svc-group-heading h2 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; text-wrap: initial; }
.aed-services .aed-svc-group-heading p { margin: 0; font-size: .83rem; max-width: 63ch; }
/* Both service groups share compact, equally weighted catalogue cards. */
.aed-svc-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.aed-svc-card-item { display: flex; min-width: 0; }
.aed-svc-card-item > .aed-svc-card { width: 100%; }
.aed-svc-card { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); min-width: 0; border: 1px solid transparent; border-radius: 4px 28px 4px 4px; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; }
.aed-svc-card:hover { border-color: var(--svc-art-border-hover); box-shadow: var(--svc-shadow); transform: translateY(-4px); }
.aed-services .aed-svc-card:focus-visible { border-color: var(--svc-art-border-hover); border-radius: 4px 28px 4px 4px; box-shadow: var(--svc-shadow); }
.aed-svc-card:active { transform: translateY(-1px); }
.aed-svc-card-art { height: 100%; aspect-ratio: auto; }
.aed-svc-card-art img { transition: transform .5s; }
.aed-svc-card:hover .aed-svc-card-art img { transform: scale(1.035); }
.aed-svc-card-copy { display: grid; grid-template-columns: 1.25rem minmax(0,1fr); grid-template-rows: auto 1fr auto; column-gap: 12px; flex: 1; padding: 28px; }
.aed-svc-card-icon { grid-column: 1; grid-row: 1; align-self: center; color: var(--svc-accent); font-size: 1.05rem; line-height: 1; text-align: center; }
.aed-svc-card h3 { grid-column: 2; grid-row: 1; min-width: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
.aed-services .aed-svc-card p { grid-column: 1 / -1; font-size: .9rem; margin: 14px 0 24px; }
.aed-svc-card-copy > .aed-svc-card-link { grid-column: 1 / -1; }
.aed-svc-card-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .79rem; line-height: 1.5; font-weight: 600; color: var(--svc-accent); margin-top: auto; }
/* A compact introduction and photograph sit above three equally weighted client benefits. */
.aed-svc-coordination {
	--coord-surface: #fffdf9; --coord-line: #e1ded7; --coord-accent: #526b7c; --coord-connector: #b8c3ca;
	display: grid; grid-template-columns: minmax(0,1fr); gap: 28px;
	padding: 32px; border: 1px solid var(--coord-line); border-radius: 4px 36px 4px 4px;
	background: var(--coord-surface); box-shadow: 0 6px 24px rgba(16,43,60,.025);
}
html[data-theme="dark"] .aed-svc-coordination { --coord-surface: #191e20; --coord-line: #353c3f; --coord-accent: #d3a17c; --coord-connector: #766454; box-shadow: none; }
.aed-svc-coordination-lead { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,min(40%,360px)); align-items: center; gap: 40px; width: 100%; max-width: 1040px; margin-inline: auto; }
/* Modern structural columns meet the panel's top edge and the benefits divider. */
@media screen and (min-width: 801px) {
	.aed-svc-coordination-lead {
		--coord-column-width: clamp(48px, calc(8vw - 16px), 92px);
		--coord-column-gutter: calc(var(--coord-column-width) + 16px);
		width: calc(100% - var(--coord-column-gutter) - var(--coord-column-gutter));
	}
	.aed-svc-coordination-lead::before, .aed-svc-coordination-lead::after {
		content: ''; position: absolute; top: -32px; bottom: -28px;
		width: var(--coord-column-width); pointer-events: none;
		background: var(--coord-accent); opacity: .15;
		-webkit-mask: url('../images/decor/services-architectural-column.svg?v=2') center / 100% 100% no-repeat;
		mask: url('../images/decor/services-architectural-column.svg?v=2') center / 100% 100% no-repeat;
	}
	.aed-svc-coordination-lead::before { left: calc(-16px - var(--coord-column-width)); }
	.aed-svc-coordination-lead::after { right: calc(-16px - var(--coord-column-width)); transform: scaleX(-1); }
	html[data-theme="dark"] .aed-svc-coordination-lead::before,
	html[data-theme="dark"] .aed-svc-coordination-lead::after { opacity: .18; }
}
.aed-svc-coordination-intro { grid-column: 1; min-width: 0; align-self: center; text-align: center; }
.aed-services .aed-svc-coordination-intro > :is(h2, p) { margin-inline: auto; }
.aed-services .aed-svc-coordination-intro h2 { max-width: 20ch; }
.aed-svc-coordination-intro > p { max-width: 54ch; font-size: 1.05rem; }
/* The studio connects two kinds of expertise. Lines are decorative; labels stay readable text. */
.aed-svc-coordination-diagram { width: 100%; max-width: 360px; margin: 24px auto 0; color: var(--coord-accent); font-size: .8rem; line-height: 1.5; }
.aed-svc-coordination-hub { display: block; font-size: .75rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.aed-svc-coordination-branches { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; margin: 0; padding: 28px 0 0; }
.aed-svc-coordination-branches::before { content: ''; position: absolute; top: 12px; left: 25%; right: 25%; height: 1px; background: var(--coord-connector); }
.aed-svc-coordination-branches::after { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 12px; background: var(--coord-connector); }
.aed-svc-coordination-branches li { position: relative; min-width: 0; padding-inline: 8px; text-wrap: balance; }
.aed-svc-coordination-branches li::before { content: ''; position: absolute; top: -16px; left: 50%; width: 1px; height: 10px; background: var(--coord-connector); }
.aed-svc-coordination-branches li::after { content: ''; position: absolute; top: -8px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--coord-accent); transform: translateX(-1.5px); }
.aed-svc-coordination-points { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px 0; list-style: none; padding: 28px 0 0; margin: 0; border-top: 1px solid var(--coord-line); }
.aed-svc-coordination-points li { display: grid; grid-template-columns: 1.75rem minmax(0,1fr); align-content: start; gap: 8px 14px; min-width: 0; padding-inline: 28px; }
.aed-svc-coordination-points li:first-child { padding-left: 0; }
.aed-svc-coordination-points li:last-child { padding-right: 0; }
.aed-svc-coordination-points li + li { border-left: 1px solid var(--coord-line); }
.aed-svc-coordination-icon { grid-column: 1; grid-row: 1; align-self: center; color: var(--coord-accent); font-size: 1.1rem; line-height: 1.35; text-align: center; }
.aed-svc-coordination-number { grid-column: 1; grid-row: 2; align-self: center; color: var(--coord-accent); opacity: .9; font-size: 1.5rem; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; line-height: 1.05; text-align: center; }
.aed-svc-coordination h3 { font-size: 1rem; }
.aed-svc-coordination-points h3 { grid-column: 2; grid-row: 1; align-self: center; }
.aed-services .aed-svc-coordination-points p { grid-column: 2; grid-row: 2; align-self: center; font-size: .95rem; line-height: 1.65; margin-top: 0; }
/* Share both rows across desktop cards, so wrapping cannot offset their numbers.
   Each description centres in the shared row; stacked cards keep their own rows. */
@supports (grid-template-rows: subgrid) {
	@media (min-width: 801px) {
		.aed-svc-coordination-points li { grid-row: span 2; grid-template-rows: subgrid; }
	}
}
/* Section navigation is shared through components.css. */
.aed-svc-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.aed-svc-fit-list { padding: 0; margin: 0; list-style: none; align-self: center; }
.aed-svc-fit-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--svc-line); font-size: .97rem; }
.aed-svc-fit-list li:first-child { padding-top: 0; }
.aed-svc-fit-list i { color: var(--svc-accent); font-size: .8rem; padding-top: 6px; }
/* Scope reads as a list of services, distinct from the navigation tiles. */
.aed-svc-scope-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 48px; }
.aed-svc-scope-item {
	display: grid; grid-template-columns: 2.5rem minmax(0,1fr); column-gap: 20px; align-content: start;
	min-width: 0; padding: 26px 0 30px; border-top: 1px solid var(--svc-section-line);
}
.aed-svc-number {
	grid-column: 1; grid-row: 1 / span 2; font-family: var(--font-display); font-size: 2.1rem;
	font-weight: 400; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--svc-section-accent);
}
.aed-svc-scope-item h3 { grid-column: 2; font-size: 1.15rem; }
.aed-services .aed-svc-scope-item p { grid-column: 2; font-size: 1rem; margin-top: 10px; }
.aed-svc-outcome { display: flex; gap: 22px; align-items: flex-start; padding: 28px 32px; margin-top: 20px; border-left: 3px solid var(--svc-accent); background: var(--svc-tint); }
.aed-svc-outcome > i { color: var(--svc-accent); font-size: 1.2rem; margin-top: 4px; }
.aed-svc-outcome h3 { font-size: 1rem; }
.aed-services .aed-svc-outcome p { font-size: .92rem; margin-top: 8px; max-width: 95ch; }
.aed-svc-process {
	--process-rule: #d8d0c4; --process-connector: #b6ad9f;
	--process-marker: #244052; --process-marker-ink: #fffdf8; --process-marker-border: #315568;
	--process-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 8px 24px rgba(40,42,36,.045);
	display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; padding-block: 52px; border-block: 1px solid var(--svc-line);
}
html[data-theme="dark"] .aed-svc-process {
	--process-rule: #374653; --process-connector: #61707c;
	--process-marker: #cda17e; --process-marker-ink: #1a232b; --process-marker-border: #d9b294;
	--process-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 8px 24px rgba(0,0,0,.14);
}
.aed-services .aed-svc-process-note { margin: 24px auto 0; max-width: none; font-size: .92rem; }
/* Keep introductions at the top; centre artwork in the full remaining column.
   The drawing stays within a modest width and never sets the section height. */
.aed-svc-aside { display: flex; flex-direction: column; min-width: 0; text-align: center; }
.aed-svc-aside > :not(.aed-svc-support-art) { flex: 0 0 auto; }
/* Use a comfortable reading width, balanced within the existing process column. */
.aed-svc-process > .aed-svc-aside { width: 100%; max-width: 28.75rem; justify-self: center; }
.aed-svc-support-art { display: block; position: relative; flex: 1 1 0; min-height: 0; pointer-events: none; }
.aed-svc-support-art::before {
	content: ""; position: absolute; inset: 24px auto 0 50%; transform: translateX(-50%);
	width: min(100%, 360px); background: var(--svc-accent); opacity: .55;
	-webkit-mask: var(--svc-support-image) center / contain no-repeat;
	mask: var(--svc-support-image) center / contain no-repeat;
}
.aed-svc-support-art--houses { --svc-support-image: url('../images/decor/process-houses.svg'); }
.aed-svc-support-art--apartments { --svc-support-image: url('../images/decor/process-apartments.svg'); }
.aed-svc-support-art--interiors { --svc-support-image: url('../images/decor/process-interiors.svg?v=2'); }
/* The portrait study starts just below the introduction instead of floating in the column.
   Contain preserves its proportions and lets shorter rows reduce it without adding height. */
.aed-svc-support-art--interiors::before { top: 20px; -webkit-mask-position: center top; mask-position: center top; }
.aed-svc-support-art--planning { --svc-support-image: url('../images/decor/process-planning.svg?v=2'); }
.aed-svc-support-art--surveys { --svc-support-image: url('../images/decor/process-surveys.svg'); }
.aed-svc-support-art--energy { --svc-support-image: url('../images/decor/process-energy.svg'); }
.aed-svc-support-art--questions { --svc-support-image: url('../images/decor/project-questions.svg'); }
.aed-svc-support-art--questions::before { width: min(100%, 260px); opacity: .46; }
html[data-theme="dark"] .aed-svc-support-art::before { opacity: .48; }
html[data-theme="dark"] .aed-svc-support-art--questions::before { opacity: .4; }
.aed-svc-steps { --step-marker-size: 42px; --step-gap: 24px; list-style: none; padding: 0; margin: 0; min-width: 0; }
.aed-svc-steps li { position: relative; display: grid; grid-template-columns: var(--step-marker-size) minmax(0,1fr); gap: var(--step-gap); padding-bottom: 30px; }
.aed-svc-steps li:last-child { padding-bottom: 0; }
.aed-svc-steps li:not(:last-child)::before {
	position: absolute; content: ''; left: calc(var(--step-marker-size) / 2 - .5px);
	top: var(--step-marker-size); bottom: 0; width: 1px; background: var(--process-connector); pointer-events: none;
}
/* Rules sit within the existing row gap, keeping the timeline compact. */
.aed-svc-steps li:not(:last-child)::after {
	position: absolute; content: ''; left: calc(var(--step-marker-size) + var(--step-gap)); right: 0; bottom: 15px;
	height: 1px; background: var(--process-rule); pointer-events: none;
}
.aed-svc-steps li > span {
	width: var(--step-marker-size); height: var(--step-marker-size); display: grid; place-items: center;
	border: 1px solid var(--process-marker-border); background: var(--process-marker); border-radius: 50%;
	font-size: .85rem; font-weight: 700; line-height: 1; font-variant-numeric: lining-nums tabular-nums; color: var(--process-marker-ink);
}
.aed-svc-steps h3 { font-size: 1.08rem; padding-top: 8px; }
.aed-services .aed-svc-steps p { font-size: .92rem; margin-top: 8px; }
.aed-svc-prepare { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 40px 44px; background: linear-gradient(110deg,var(--svc-tint),var(--svc-card)); border: 1px solid var(--svc-line); border-radius: 4px 32px 4px 4px; }
.aed-svc-prepare ul { margin: 0; padding: 0; list-style: none; align-self: center; }
.aed-svc-prepare li { display: flex; gap: 16px; font-size: .93rem; line-height: 1.65; padding: 11px 0; }
.aed-svc-prepare li i { color: var(--svc-accent); font-size: .72rem; padding-top: 7px; }
/* One shared frame connects the introduction, drawing and expandable questions. */
.aed-svc-faq {
	--svc-accent: #526b7c; --faq-surface: #fffefc; --faq-line: #d5dde2;
	--faq-intro: #f1f4f6; --faq-inset: 32px;
	--faq-open: #edf2f5; --faq-hover: #f5f7f8; --faq-control: #f7f9fa; --faq-control-line: #bac7cf;
	display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 0;
	min-width: 0; overflow: hidden; background: var(--faq-surface);
	border: 1px solid var(--svc-section-line); border-radius: 4px 24px 4px 4px;
}
html[data-theme="dark"] .aed-svc-faq {
	--svc-accent: #d3a17c; --faq-surface: #151c1d; --faq-line: #394343;
	--faq-intro: #1b2526;
	--faq-open: #212b2b; --faq-hover: #1c2626; --faq-control: #202927; --faq-control-line: #615346;
}
.aed-svc-faq > .aed-svc-aside { padding: var(--faq-inset); background: var(--faq-intro); border-right: 1px solid var(--faq-line); }
.aed-services .aed-svc-faq h2 { font-size: clamp(1.9rem,2.7vw,2.5rem); }
.aed-svc-questions { min-width: 0; }
.aed-svc-questions details { transition: background-color .2s; }
.aed-svc-questions details + details { border-top: 1px solid var(--faq-line); }
.aed-svc-questions details:first-child { border-radius: 0 23px 0 0; }
.aed-svc-questions details:last-child { border-radius: 0 0 3px 0; }
.aed-svc-questions details[open] { background: var(--faq-open); }
.aed-svc-questions summary {
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	min-height: 78px; padding: 20px var(--faq-inset); border-radius: inherit;
	cursor: pointer; list-style: none; font-size: 1rem; font-weight: 600; line-height: 1.5;
	transition: background-color .2s;
}
.aed-svc-questions summary::-webkit-details-marker { display: none; }
.aed-svc-questions summary::marker { content: ''; }
.aed-svc-questions summary > span {
	position: relative; flex: 0 0 32px; height: 32px; border: 1px solid var(--faq-control-line);
	border-radius: 50%; background: var(--faq-control); color: var(--svc-accent); pointer-events: none;
	transition: background-color .2s, border-color .2s, color .2s;
}
.aed-svc-questions summary > span::before, .aed-svc-questions summary > span::after {
	content: ''; position: absolute; height: 2px; width: 12px; border-radius: 1px;
	background: currentColor; top: 50%; left: 50%; margin: -1px 0 0 -6px;
}
.aed-svc-questions summary > span::after { transform: rotate(90deg); transition: transform .2s; }
.aed-svc-questions details[open] summary { font-weight: 650; }
.aed-svc-questions details[open] summary > span { background: var(--svc-accent); border-color: var(--svc-accent); color: var(--faq-surface); }
.aed-svc-questions details[open] summary > span::after { transform: rotate(0); }
.aed-services .aed-svc-questions summary:focus-visible { outline-offset: -5px; border-radius: inherit; }
@media (hover: hover) {
	.aed-svc-questions details:not([open]) summary:hover { background: var(--faq-hover); }
	.aed-svc-questions summary:hover > span { border-color: var(--svc-accent); }
}
.aed-svc-questions summary:active > span { border-color: var(--svc-accent); }
.aed-svc-questions details > div { padding: 0 var(--faq-inset) 24px; }
.aed-services .aed-svc-questions p { max-width: 65ch; font-size: 1rem; line-height: 1.65; }
.aed-svc-related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.aed-svc-related-card { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 12px 26px 12px 12px; border: 1px solid transparent; border-radius: 3px 24px 3px 3px; transition: border-color .2s, box-shadow .2s; }
.aed-svc-related-grid--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.aed-svc-related-grid--three .aed-svc-related-card { grid-template-columns: 88px minmax(0,1fr); gap: 14px; padding-right: 18px; }
.aed-svc-related-card:hover { border-color: var(--svc-art-border-hover); box-shadow: var(--svc-shadow); }
.aed-services .aed-svc-related-card:focus-visible { border-color: var(--svc-art-border-hover); border-radius: 3px 24px 3px 3px; box-shadow: var(--svc-shadow); }
.aed-svc-related-card h3 { font-size: 1.05rem; margin-bottom: 16px; }
/* Connected services only: the glow fades out before the thumbnail edges. */
.aed-svc-related .aed-svc-related-card .aed-svc-art {
	--svc-art-light-opacity: .26; --svc-art-light-core: 24%; --svc-art-highlight-opacity: .38;
	border-radius: 10px;
	background:
		radial-gradient(ellipse closest-side at 50% 50%, rgba(255,255,255,var(--svc-art-highlight-opacity)), rgba(255,255,255,0) 58%),
		radial-gradient(ellipse closest-side at 50% 50%, rgba(var(--svc-art-light),var(--svc-art-light-opacity)) var(--svc-art-light-core), rgba(var(--svc-art-light),0) 92%),
		var(--svc-card);
}
html[data-theme="dark"] .aed-svc-related .aed-svc-related-card .aed-svc-art { --svc-art-light-opacity: .24; --svc-art-light-core: 0%; --svc-art-highlight-opacity: 0; }
.aed-svc-cta { margin: 76px 0 12px; }
.aed-services .aed-svc-cta::before {
	content: ""; position: absolute; inset: 0 0 0 46%; z-index: -1; pointer-events: none;
	background: var(--aed-ui-panel-art); opacity: var(--aed-ui-panel-art-opacity);
	-webkit-mask: url('../images/decor/services-building-outline.svg') right bottom / cover no-repeat;
	mask: url('../images/decor/services-building-outline.svg') right bottom / cover no-repeat;
}
.aed-svc-cta p { max-width: 56ch; }
.aed-svc-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-self: end; }
.aed-svc-editor { margin-top: 60px; padding-top: 36px; border-top: 1px solid var(--svc-line); }
/* Service subpages: clear section starts without increasing the existing gaps. */
.aed-svc-layout:not(.aed-svc-layout--overview) {
	--svc-section-line: #c8d2d9; --svc-section-accent: #526b7c;
	--svc-section-gap: 48px; --svc-section-lead: 28px; --svc-section-panel-padding: 40px;
	--svc-prepare-tint: #f0f3f4; --svc-prepare-surface: #fffefc;
}
html[data-theme="dark"] .aed-svc-layout:not(.aed-svc-layout--overview) {
	--svc-section-line: #43504f; --svc-section-accent: #cfa17d;
	--svc-prepare-tint: #1c2828; --svc-prepare-surface: #151c1d;
}
.aed-svc-layout:not(.aed-svc-layout--overview) > .aed-svc-section { margin-top: var(--svc-section-gap); }
.aed-svc-layout > :is(.aed-svc-fit, #aed-svc-scope, .aed-svc-related) {
	position: relative; padding-top: var(--svc-section-lead); border-top: 1px solid var(--svc-section-line);
}
.aed-svc-layout > :is(.aed-svc-fit, #aed-svc-scope, .aed-svc-related)::before {
	content: ''; position: absolute; top: -1px; left: 0; width: 52px; height: 3px;
	background: var(--svc-section-accent); pointer-events: none;
}
.aed-svc-layout:not(.aed-svc-layout--overview) > .aed-svc-section .aed-svc-eyebrow { color: var(--svc-section-accent); }
.aed-svc-layout > :is(.aed-svc-process, .aed-svc-prepare) {
	--svc-accent: var(--svc-section-accent); --svc-line: var(--svc-section-line);
	min-width: 0; padding: var(--svc-section-panel-padding);
	border: 1px solid var(--svc-section-line); border-radius: 4px 24px 4px 4px;
	background: linear-gradient(115deg, var(--svc-prepare-tint), var(--svc-prepare-surface) 75%);
}
/* Both panels share their surface and border; the process keeps its subtle depth. */
.aed-svc-layout > .aed-svc-process { box-shadow: var(--process-shadow); }
@media (max-width: 1100px) {
	.aed-svc-overview-opening::before, .aed-svc-overview-opening::after { display: none; }
	.aed-svc-hero { gap: 32px; }
	.aed-svc-fit, .aed-svc-process, .aed-svc-prepare { gap: 40px; }
	.aed-svc-coordination-lead { gap: 32px; }
	.aed-svc-coordination-points li { padding-inline: 20px; column-gap: 12px; }
	.aed-svc-faq { --faq-inset: 28px; grid-template-columns: minmax(0,2fr) minmax(0,3fr); }
	.aed-svc-related-grid--three { grid-template-columns: 1fr; }
	.aed-svc-related-grid--three .aed-svc-related-card { grid-template-columns: 105px minmax(0,1fr); gap: 16px; }
	.aed-svc-card { display: flex; flex-direction: column; }
	.aed-svc-card-art { aspect-ratio: 2; height: auto; border-bottom: 1px solid var(--svc-line); }
	.aed-svc-card-copy { padding: 24px; }
	.aed-svc-related-card { grid-template-columns: 105px 1fr; gap: 16px; padding-right: 20px; }
}
@media (max-width: 800px) {
	.aed-svc-overview-opening { margin-bottom: 24px; }
	.aed-svc-layout--overview > :is(.aed-svc-coordination, .aed-svc-cta) { margin-top: 40px; }
	.aed-svc-group + .aed-svc-group { margin-top: 28px; }
	.aed-svc-layout:not(.aed-svc-layout--overview) { --svc-section-gap: 36px; --svc-section-lead: 24px; --svc-section-panel-padding: 30px; }
	.aed-svc-support-art, .aed-services .aed-svc-cta::before { display: none; }
	.aed-svc-hero { grid-template-columns: 1fr; padding: 0 0 28px; gap: 20px; }
	.aed-services .aed-svc-hero .aed-svc-eyebrow { margin-bottom: 12px; }
	.aed-services .aed-svc-hero h2 { max-width: 22ch; font-size: clamp(2.3rem,6.6vw,3.25rem); }
	.aed-services .aed-svc-lead { max-width: 64ch; font-size: 1rem; margin: 18px auto; }
	.aed-svc-tags { margin-bottom: 10px; }
	.aed-svc-hero-art { max-width: 560px; width: 100%; justify-self: center; }
	.aed-svc-hero-art .aed-svc-art { aspect-ratio: 1.8; }
	.aed-svc-hero-art figcaption { margin-top: 10px; }
	.aed-svc-section { margin-top: 52px; }
	.aed-svc-section-intro { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
	.aed-svc-section-intro > p { max-width: 64ch; }
	.aed-svc-group-heading { display: block; padding-block: 14px; }
	.aed-services .aed-svc-group-heading p { margin-top: 8px; }
	.aed-svc-coordination, .aed-svc-fit, .aed-svc-process, .aed-svc-prepare { grid-template-columns: 1fr; gap: 28px; }
	.aed-svc-faq { grid-template-columns: minmax(0,1fr); }
	.aed-svc-faq > .aed-svc-aside { border-right: 0; border-bottom: 1px solid var(--faq-line); }
	.aed-svc-questions details:first-child { border-radius: 0; }
	.aed-svc-questions details:last-child { border-radius: 0 0 3px 3px; }
	.aed-svc-coordination, .aed-svc-prepare { padding: 30px; }
	.aed-svc-coordination { padding: 28px; gap: 24px; }
	.aed-svc-coordination-lead { grid-template-columns: minmax(0,1fr); gap: 24px; }
	.aed-svc-coordination-intro, .aed-svc-coordination-photo, .aed-svc-coordination-points { grid-column: 1; grid-row: auto; }
	.aed-svc-coordination-photo { justify-self: center; }
	.aed-svc-coordination-points { grid-template-columns: minmax(0,1fr); gap: 18px; padding-top: 24px; }
	.aed-svc-coordination-points li { padding-inline: 0; }
	.aed-svc-coordination-points li + li { padding-top: 18px; border-left: 0; border-top: 1px solid var(--coord-line); }
	.aed-svc-scope-grid { grid-template-columns: minmax(0,1fr); }
	.aed-svc-scope-item { grid-template-columns: 2.25rem minmax(0,1fr); column-gap: 18px; padding: 24px 0; }
	.aed-svc-number { font-size: 1.9rem; }
	.aed-svc-process > .aed-svc-aside { max-width: none; justify-self: stretch; }
	.aed-services .aed-svc-process-note { max-width: 65ch; }
	.aed-svc-related-grid { grid-template-columns: 1fr; }
	.aed-svc-related-card { grid-template-columns: 120px 1fr; }
	.aed-svc-cta { margin-top: 52px; grid-template-columns: 1fr; gap: 26px; text-align: center; }
	.aed-svc-cta > div > :is(h2, p) { margin-inline: auto; }
	.aed-svc-actions { justify-self: center; align-items: center; }
}
@media (max-width: 640px) {
	.aed-svc-cards { grid-template-columns: 1fr; }
	.aed-svc-card-art { aspect-ratio: 1.85; }
}
@media (max-width: 520px) {
	.aed-svc-layout:not(.aed-svc-layout--overview) { --svc-section-gap: 32px; --svc-section-lead: 20px; --svc-section-panel-padding: 28px 20px; }
	.aed-services > .site-shell { width: calc(100% - 36px); }
	.aed-svc-overview-opening { font-size: 1rem; }
	.aed-svc-hero-art figcaption { font-size: .6rem; gap: 8px; }
	.aed-svc-hero-art figcaption span:last-child { text-align: right; }
	.aed-svc-card-copy { padding: 24px; }
	.aed-svc-scope-item { grid-template-columns: 2rem minmax(0,1fr); column-gap: 14px; padding: 22px 0; }
	.aed-svc-number { font-size: 1.75rem; }
	.aed-svc-scope-item h3 { font-size: 1.08rem; }
	.aed-svc-outcome { padding: 24px; gap: 16px; }
	.aed-svc-coordination, .aed-svc-prepare { padding: 28px 24px; }
	.aed-svc-coordination { padding: 24px 20px; }
	.aed-svc-coordination-diagram { margin-top: 20px; }
	.aed-svc-related-card, .aed-svc-related-grid--three .aed-svc-related-card { grid-template-columns: 85px minmax(0,1fr); gap: 16px; padding: 12px; }
	.aed-svc-related-card h3 { font-size: .94rem; }
	.aed-svc-related-card .aed-svc-card-link { font-size: .72rem; }
	.aed-svc-steps { --step-gap: 18px; }
	.aed-svc-faq { --faq-inset: 20px; }
	.aed-svc-faq > .aed-svc-aside { padding-block: 26px; }
	.aed-svc-questions summary { gap: 14px; min-height: 76px; padding: 18px var(--faq-inset); }
	.aed-svc-questions details > div { padding: 0 var(--faq-inset) 20px; }
	.aed-svc-actions { width: 100%; }
	.aed-svc-actions .aed-svc-button { width: 100%; }
}
@media (max-width: 360px) {
	.aed-svc-layout:not(.aed-svc-layout--overview) { --svc-section-panel-padding: 24px 16px; }
	.aed-svc-faq { --faq-inset: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.aed-services *, .aed-services *::before, .aed-services *::after { animation: none !important; transition: none !important; }
	.aed-svc-card:hover, .aed-svc-card:active, .aed-svc-card:hover .aed-svc-card-art img { transform: none; }
	html:has(.aed-services) { scroll-behavior: auto; }
}
/* Gradient backgrounds can be suppressed by the visitor's contrast or print settings. */
@media (forced-colors: active) {
	.aed-svc-hero-art .aed-svc-art, .aed-svc-card, .aed-svc-related-card { border-color: CanvasText; }
	.aed-services :is(.aed-svc-card, .aed-svc-related-card):is(:hover, :focus-visible) { border-color: Highlight; }
}
@media print {
	.aed-svc-hero-art .aed-svc-art, .aed-svc-card, .aed-svc-related-card { border-color: #c8d2d9; }
	.aed-svc-overview-opening::before, .aed-svc-overview-opening::after { display: none; }
	.aed-svc-layout:not(.aed-svc-layout--overview) { --svc-section-gap: 30px; --svc-section-lead: 20px; --svc-section-panel-padding: 20px; }
	.aed-svc-support-art, .aed-services .aed-svc-cta::before { display: none; }
	.aed-svc-hero, .aed-svc-section-intro, .aed-svc-fit, .aed-svc-process, .aed-svc-faq, .aed-svc-prepare, .aed-svc-coordination { display: block; }
	.aed-svc-hero-art { max-width: 360px; margin: 20px auto !important; }
	.aed-svc-jump, .aed-svc-cta { display: none; }
	.aed-svc-faq { overflow: visible; }
	.aed-svc-faq > .aed-svc-aside { border-right: 0; border-bottom: 1px solid var(--faq-line); }
	.aed-svc-section { margin-top: 30px; }
	.aed-svc-questions details > div { display: block !important; }
	.aed-svc-card, .aed-svc-scope-item, .aed-svc-steps li { break-inside: avoid; }
	.aed-svc-layout > .aed-svc-process { background: #fff; border-color: #c8d2d9; box-shadow: none; color: #173147; --svc-muted: #586670; }
	.aed-svc-steps li > span { background: #fff; color: #173147; border-color: #526b7c; }
}

/* Native list semantics without list indentation or changes to card geometry. */
.aed-svc-cards, .aed-svc-scope-grid { list-style: none; padding: 0; margin: 0; }
.aed-svc-card-item { display: flex; min-width: 0; margin: 0; padding: 0; }
.aed-svc-card-item > .aed-svc-card { flex: 1; }
/* Long words can reflow when visitors enlarge text or override letter spacing. */
.aed-services :is(h2, h3, .aed-svc-jump-text) { overflow-wrap: anywhere; }

/* Three equally weighted assessment cards; the design/planning group stays unchanged. */
.aed-svc-cards-assessment { grid-template-columns: repeat(3,minmax(0,1fr)); }
.aed-svc-cards-assessment .aed-svc-card { display: flex; flex-direction: column; }
.aed-svc-cards-assessment .aed-svc-card-art {
    flex: 0 0 auto; height: auto; aspect-ratio: 2;
    border-bottom: 1px solid var(--svc-line);
}
.aed-svc-cards-assessment .aed-svc-card-copy {
    /* Reserve two title lines on the row, not on the text box. Both items share its centre. */
    --svc-card-heading-min-height: calc(1.4rem * 2.7);
    grid-template-rows: minmax(var(--svc-card-heading-min-height),auto) 1fr auto;
    padding: 24px;
}
.aed-svc-cards-assessment .aed-svc-card h3 { align-self: center; }
@media (max-width: 1100px) {
    .aed-svc-cards-assessment { grid-template-columns: minmax(0,1fr); }
    .aed-svc-cards-assessment .aed-svc-card {
        display: grid; grid-template-columns: clamp(160px,27vw,240px) minmax(0,1fr);
    }
    .aed-svc-cards-assessment .aed-svc-card-art { height: 100%; aspect-ratio: auto; border-bottom: 0; }
    .aed-svc-cards-assessment .aed-svc-card-copy { --svc-card-heading-min-height: 0px; }
}
@media (max-width: 640px) {
    .aed-svc-cards-assessment .aed-svc-card { display: flex; flex-direction: column; }
    .aed-svc-cards-assessment .aed-svc-card-art { height: auto; aspect-ratio: 1.85; border-bottom: 1px solid var(--svc-line); }
}
@media print {
    .aed-svc-cards-assessment { grid-template-columns: minmax(0,1fr); }
    .aed-svc-cards-assessment .aed-svc-card { display: grid; grid-template-columns: 140px minmax(0,1fr); }
    .aed-svc-cards-assessment .aed-svc-card-art { height: 100%; aspect-ratio: auto; border-bottom: 0; }
    .aed-svc-cards-assessment .aed-svc-card-copy { --svc-card-heading-min-height: 0px; }
}

/* Scanning examples share one explicit floor plan and theme-aware transparent artwork. */
.aed-svc-capture {
    position: relative; padding-top: var(--svc-section-lead);
    border-top: 1px solid var(--svc-section-line);
}
.aed-svc-capture::before {
    content: ''; position: absolute; top: -1px; left: 0; width: 52px; height: 3px;
    background: var(--svc-section-accent); pointer-events: none;
}
.aed-svc-capture-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.aed-svc-capture-example {
    min-width: 0; overflow: hidden; border: 1px solid var(--svc-art-border-mid);
    border-radius: 4px 24px 4px 4px; background: var(--svc-card); box-shadow: var(--svc-art-shadow);
}
.aed-svc-capture-art {
    --svc-capture-surface: #e9edeb; --svc-capture-glow: rgba(255,255,255,.78);
    position: relative; aspect-ratio: 1; overflow: hidden;
    background: radial-gradient(ellipse at 50% 40%,var(--svc-capture-glow),transparent 72%),var(--svc-capture-surface);
}
html[data-theme="dark"] .aed-svc-capture-art {
    --svc-capture-surface: #151b1c; --svc-capture-glow: rgba(211,161,124,.07);
}
.aed-svc-capture-art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.aed-svc-capture-art--cloud img { object-position: center; }
.aed-svc-capture-art--plan img { object-position: center; }
.aed-svc-capture-art--model img { object-position: center; }
/* Transparent linework stays legible on the pale light-mode surface; model materials stay natural. */
html:not([data-theme="dark"]) .aed-svc-capture-art--cloud img { filter: brightness(.18); }
html:not([data-theme="dark"]) .aed-svc-capture-art--plan img { filter: brightness(.36); }
.aed-svc-capture-example figcaption { padding: 22px 24px 26px; border-top: 1px solid var(--svc-art-border-mid); }
.aed-services .aed-svc-capture-example h3 { font-size: 1.12rem; }
.aed-services .aed-svc-capture-example p { margin-top: 12px; font-size: .94rem; }
@media (max-width: 1100px) {
    /* Keep descriptions readable before the site's tablet shell narrows. */
    .aed-svc-capture-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .aed-svc-capture-example { display: grid; grid-template-columns: minmax(0,min(36%,300px)) minmax(0,1fr); align-items: center; }
    .aed-svc-capture-example figcaption { padding: 20px; border-top: 0; }
}
@media (max-width: 520px) {
    .aed-svc-capture-example { display: block; }
    .aed-svc-capture-example figcaption { border-top: 1px solid var(--svc-art-border-mid); }
}
@media (forced-colors: active) {
    .aed-svc-capture, .aed-svc-capture-example, .aed-svc-capture-example figcaption,
    .aed-svc-tour-example, .aed-svc-tour-image { border-color: CanvasText; }
}
@media print {
    .aed-svc-capture-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .aed-svc-capture-example { display: block; break-inside: avoid; box-shadow: none; }
    .aed-svc-capture-example figcaption { padding: 12px; }
    .aed-svc-tour-example { break-inside: avoid; }
}

/* Transparent scanner artwork sits on the existing light/dark theme surfaces. */
.aed-svc-equipment {
    display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr);
    gap: clamp(28px,4vw,56px); align-items: center;
    padding-top: var(--svc-section-lead); border-top: 1px solid var(--svc-section-line);
}
.aed-svc-equipment-figure {
    width: 100%; max-width: 330px; justify-self: center;
    border: 1px solid var(--svc-art-border-mid); border-radius: 4px 32px 4px 4px;
    overflow: hidden; box-shadow: var(--svc-art-shadow);
    background: transparent;
}
.aed-svc-equipment-image { display: grid; place-items: center; padding: 18px 24px 8px; }
.aed-svc-equipment-image img { display: block; width: 100%; height: 360px; object-fit: contain; }
.aed-svc-equipment-figure figcaption { padding: 14px 18px 20px; text-align: center; color: inherit; }
.aed-svc-equipment-figure figcaption strong { display: block; font-size: .9rem; font-weight: 600; }
.aed-svc-equipment-copy { min-width: 0; }
.aed-svc-equipment-copy h2 { max-width: 24ch; }
.aed-svc-equipment-tools { display: grid; gap: 0; margin: 24px 0 0; }
.aed-svc-equipment-tools > div { display: grid; grid-template-columns: minmax(0,10rem) minmax(0,1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--svc-line); }
.aed-svc-equipment-tools dt { font-size: .88rem; line-height: 1.65; font-weight: 600; }
.aed-svc-equipment-tools dd { margin: 0; color: var(--svc-muted); font-size: .88rem; line-height: 1.65; }
.aed-services .aed-svc-equipment-note { margin-top: 16px; font-size: .83rem; }
.aed-svc-support-art--scanning { --svc-support-image: url('../images/decor/process-scanning.svg'); }
@media (max-width: 800px) {
    .aed-svc-equipment { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .aed-svc-equipment-copy { grid-row: 1; }
    .aed-svc-equipment-figure { max-width: 300px; }
    .aed-svc-equipment-image img { height: 300px; }
    .aed-svc-equipment-copy h2 { max-width: 30ch; }
}
@media (max-width: 640px) {
    .aed-svc-equipment-tools > div { grid-template-columns: minmax(0,1fr); gap: 4px; }
}
@media (forced-colors: active) {
    .aed-svc-equipment-figure { border-color: CanvasText; }
    .aed-svc-equipment-figure figcaption { color: CanvasText; }
}
@media print {
    .aed-svc-equipment { display: block; }
    .aed-svc-equipment-figure { display: none; }
    .aed-svc-equipment-copy h2 { max-width: none; }
}
