/*
Theme Name: Desert Sky Design
Theme URI: https://desertskydesignaz.com
Author: Desert Sky Design
Description: Custom block theme for Desert Sky Design. Brand values come from Brand Guidelines Draft 03 and live in theme.json.
Version: 0.5.18
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: Proprietary
Text Domain: dsd
*/

/*
 * Only what theme.json cannot express lives here.
 * Rules from the brand book and Kyle's decisions:
 *  - Small text on Ivory or Bone is Graphite. Brass and Stone on Ivory are for lines only
 *    (decision K2, 2026-11-26: they measure 2.42 and 2.71 against a floor of 4.5).
 *  - No rounded corners, no shadows, no gradients. The Frame is the only ornament.
 *  - Sizes are in rem so the page follows the reader's own text-size setting.
 */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

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

h1,
h2,
h3 {
	text-wrap: balance;
}

/* Body lines stay near 60 to 70 characters (brand book page 26). 33rem is about 69 characters of Karla at 17px. */
p,
li {
	max-width: 33rem;
}

.has-text-align-center p,
p.has-text-align-center {
	margin-left: auto;
	margin-right: auto;
}

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

/* Links: the words keep the text color; a Brass hairline marks them. */
a {
	text-decoration-color: var(--wp--preset--color--brass);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

/* Keyboard focus is always visible. */
:where(a, button, input, select, textarea, summary, .wp-block-button__link):focus-visible {
	outline: 2px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
}

.has-ink-background-color :where(a, button, .wp-block-button__link):focus-visible {
	outline-color: var(--wp--preset--color--ivory);
}

/* Skip link for keyboard and screen-reader users. */
.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--ivory);
	font-size: 1rem;
	left: 1rem;
	padding: 0.75rem 1rem;
	top: 1rem;
	z-index: 100;
}

/* Label: spaced capitals above a headline, with a short Brass rule before it. */
.is-style-label {
	align-items: center;
	color: var(--wp--preset--color--graphite);
	display: flex;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	gap: 0.75rem;
	letter-spacing: 0.2em;
	line-height: 1.4;
	margin-bottom: 1.125rem;
	text-transform: uppercase;
}

.is-style-label::before {
	border-top: 1px solid var(--wp--preset--color--brass);
	content: "";
	flex: none;
	width: 1.75rem;
}

.is-style-label.has-text-align-center {
	justify-content: center;
}

/* On Ink the label itself may be Brass (7.09 to 1). */
.has-ink-background-color .is-style-label {
	color: var(--wp--preset--color--brass);
}

/* The Frame: a one-pixel rule inset 5.5% from the edge of a photograph. */
.wp-block-image.is-style-frame,
.wp-block-cover.is-style-frame {
	position: relative;
}

.wp-block-image.is-style-frame::after,
.wp-block-cover.is-style-frame::after {
	border: 1px solid var(--wp--preset--color--ivory);
	content: "";
	inset: 5.5%;
	pointer-events: none;
	position: absolute;
}

.wp-block-image.is-style-frame figcaption {
	position: relative;
}

/* Photographs: never rounded, never shadowed. */
.wp-block-image img,
.wp-block-cover,
.wp-block-post-featured-image img {
	border-radius: 0;
	box-shadow: none;
}

/* Buttons. One Ink button per screen is the brand rule; the rest are text links. */
.wp-block-button__link {
	display: inline-block;
	transition: background-color 0.2s ease;
}

.wp-block-button.is-style-text-link .wp-block-button__link {
	background: transparent;
	border-bottom: 1px solid var(--wp--preset--color--brass);
	color: inherit;
	font-weight: 500;
	padding: 0 0 0.125rem;
}

.wp-block-button.is-style-text-link .wp-block-button__link:hover {
	background: transparent;
	color: var(--wp--preset--color--ink);
}

.wp-block-button.is-style-on-ink .wp-block-button__link {
	background: var(--wp--preset--color--ivory);
	color: var(--wp--preset--color--ink);
}

.wp-block-button.is-style-on-ink .wp-block-button__link:hover {
	background: var(--wp--preset--color--bone);
}

/* Header */
.dsd-header {
	border-bottom: 1px solid var(--wp--preset--color--bone);
}

/* The logo: the firm's current logo (the black square), always inside the header. It never sits on a photograph. */
.dsd-header .dsd-wordmark { margin: 0; }
.dsd-header .dsd-wordmark img {
	display: block;
	width: 112px;
	height: auto;
}
.dsd-header .dsd-header-row { padding-top: .875rem !important; padding-bottom: .875rem !important; }

.dsd-header .wp-block-navigation a {
	text-decoration: none;
}

.dsd-header .wp-block-navigation .current-menu-item > a,
.dsd-header .wp-block-navigation a[aria-current="page"] {
	border-bottom: 1px solid var(--wp--preset--color--brass);
}

.dsd-header .dsd-header-cta .wp-block-button__link {
	font-size: var(--wp--preset--font-size--small);
	padding: 0.8125rem 1.375rem;
	white-space: nowrap;
}

/* Footer */
.dsd-footer .dsd-wordmark img {
	display: block;
	width: 112px;
	height: auto;
}

.dsd-footer a {
	text-decoration: none;
}

.dsd-footer a:hover {
	text-decoration: underline;
}

.dsd-footer .dsd-footer-bottom {
	border-top: 1px solid var(--wp--preset--color--graphite);
}

/* Tablets and phones */
@media (max-width: 860px) {
	.dsd-footer .dsd-wordmark img {
		width: 92px;
	}

	/* The one action stays reachable on a phone: the button remains in the header, smaller. */
	.dsd-header .dsd-header-cta .wp-block-button__link {
		padding: 0.6875rem 0.875rem;
	}
}

@media (max-width: 1180px) {
	.dsd-header .dsd-wordmark img { width: 92px; }
}
@media (max-width: 599px) {
	.dsd-header .dsd-wordmark img { width: 76px; }
	.dsd-header .dsd-header-row { padding-top: .625rem !important; padding-bottom: .625rem !important; }
}

/* Visitors who ask for less motion get none. */
@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;
	}
}

/* Header row: between a phone and a wide screen the menu drops to its own line. */
@media (max-width: 1180px) {
	.dsd-header .dsd-header-row > .dsd-nav {
		flex-basis: 100%;
		order: 3;
	}

	.dsd-header .dsd-header-row > .dsd-nav .wp-block-navigation__container {
		justify-content: flex-start;
	}
}

/* Phones: the menu becomes one "Menu" button beside the Wordmark, and the one action
   moves to a bar that stays at the bottom of the screen. */
.wp-block-buttons.dsd-mobile-cta {
	display: none;
}

@media (max-width: 599px) {
	.dsd-header .dsd-header-row > .dsd-nav {
		flex-basis: auto;
		order: 0;
	}

	.dsd-header .dsd-header-cta {
		display: none;
	}

	.wp-block-buttons.dsd-mobile-cta {
		bottom: 0;
		display: block;
		left: 0;
		margin: 0;
		position: fixed;
		right: 0;
		z-index: 40;
	}

	.dsd-mobile-cta .wp-block-button,
	.dsd-mobile-cta .wp-block-button__link {
		display: block;
		text-align: center;
		width: 100%;
	}

	.dsd-mobile-cta .wp-block-button__link {
		padding: 1.0625rem 1rem;
	}

	/* Room for the bar, so it never covers the last line of the page. */
	body {
		padding-bottom: 3.25rem;
	}
}

/* Main area: no gap between the header rule and the first section. */
.wp-site-blocks > .dsd-main {
	margin-block-start: 0;
}

.wp-site-blocks > footer {
	margin-block-start: 0;
}

/* ---------- Page sections (used by the page patterns and the service pages) ---------- */

/* A section: generous space above and below. */
.dsd-section {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}

.dsd-section.is-tight {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

/* Opening: a full-width photograph, then the headline below it. Text never sits on the photograph. */
.dsd-hero-photo img {
	aspect-ratio: 21 / 9;
	display: block;
	object-fit: cover;
	width: 100%;
}

.dsd-hero-text .wp-block-columns {
	align-items: end;
}

/* Rows with a Brass hairline above each: "Who it is for". */
.dsd-rows > .wp-block-columns {
	border-top: 1px solid var(--wp--preset--color--brass);
	margin-block: 0;
	padding-block: 2rem;
}

.dsd-rows > .wp-block-columns:last-child {
	border-bottom: 1px solid var(--wp--preset--color--brass);
}

.dsd-rows h3 {
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
	line-height: 1.1;
}

/* Numbered steps. */
.dsd-step-num {
	border-bottom: 1px solid var(--wp--preset--color--brass);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.75rem;
	font-style: italic;
	line-height: 1;
	margin-bottom: 1rem;
	padding-bottom: 0.875rem;
}

.dsd-steps h3 {
	font-size: 1.25rem;
}

/* Testimonials: Brass hairline, Playfair italic, the author beneath. */
.dsd-quote {
	border-top: 1px solid var(--wp--preset--color--brass);
	margin: 0;
	padding-top: 1.5rem;
}

.dsd-quote.wp-block-quote p {
	font-size: 1.1875rem;
	line-height: 1.55;
}

.dsd-quote.wp-block-quote cite {
	color: var(--wp--preset--color--graphite);
	display: block;
	font-family: var(--wp--preset--font-family--text);
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	margin-top: 1rem;
}

.dsd-quote.wp-block-quote cite strong {
	color: var(--wp--preset--color--ink);
	display: block;
}

/* Questions: each opens in place. */
.dsd-faq .wp-block-details {
	border-top: 1px solid var(--wp--preset--color--bone);
	margin: 0;
	padding-block: 1.125rem;
}

.dsd-faq .wp-block-details:last-child {
	border-bottom: 1px solid var(--wp--preset--color--bone);
}

.dsd-faq summary {
	color: var(--wp--preset--color--ink);
	cursor: pointer;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	list-style: none;
	padding-right: 2rem;
	position: relative;
}

.dsd-faq summary::-webkit-details-marker {
	display: none;
}

.dsd-faq summary::after {
	content: "+";
	font-family: var(--wp--preset--font-family--text);
	font-weight: 400;
	position: absolute;
	right: 0;
	top: 0;
}

.dsd-faq details[open] summary::after {
	content: "\2212";
}

.dsd-faq .wp-block-details p {
	margin-top: 0.75rem;
}

/* The signature line. */
.dsd-signature {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.625rem, 3.4vw, 2.75rem);
	font-style: italic;
	line-height: 1.25;
	margin-inline: auto;
	max-width: 22em;
	text-wrap: balance;
}

/* Three plain lines with Brass rules, on Ink. */
.dsd-three {
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
}

.dsd-three li {
	border-top: 1px solid var(--wp--preset--color--brass);
	max-width: none;
	padding-block: 0.875rem;
}

.dsd-three li:last-child {
	border-bottom: 1px solid var(--wp--preset--color--brass);
}

/* Photo grid with captions. */
.dsd-gallery figure {
	margin: 0;
}

.dsd-gallery img {
	aspect-ratio: 3 / 2;
	display: block;
	object-fit: cover;
	width: 100%;
}

/* On an Ink band, headings and text turn Ivory. */
.has-ink-background-color :where(h1, h2, h3, h4) {
	color: var(--wp--preset--color--ivory);
}

@media (max-width: 781px) {
	.dsd-hero-photo img {
		aspect-ratio: 4 / 3;
	}
}

/* ==========================================================================
   Option A components
   Ported from the approved Option A design (design-research/mockups/build_site_a.py).
   Each block that uses them sits inside an element with the class dsd-a.
   ========================================================================== */
.dsd-a {
	--ivory: var(--wp--preset--color--ivory);
	--bone: var(--wp--preset--color--bone);
	--stone: var(--wp--preset--color--stone);
	--graphite: var(--wp--preset--color--graphite);
	--ink: var(--wp--preset--color--ink);
	--brass: var(--wp--preset--color--brass);
	--display: var(--wp--preset--font-family--display);
	--text: var(--wp--preset--font-family--text);
}
.dsd-a p,
.dsd-a li { max-width: none; }

/* Sections fade up once, the first time they come into view (site.js adds .js and .in). */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* The Frame: a thin ivory rule set in from the edge of a photograph. */
.dsd-fr { position: relative; }
.dsd-fr::after { content: ""; position: absolute; inset: 5.5%; border: 1px solid var(--ivory); pointer-events: none; }

/* The film: five photographs, a slow dissolve and a slow push in. No words on the pictures. */
.dsd-film { position: relative; height: min(74vh, 740px); min-height: 420px; overflow: hidden; background: var(--bone); }
.dsd-film .shot { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.dsd-film .shot.on { opacity: 1; }
.dsd-film .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 6s linear; }
.dsd-film .shot.on img { transform: scale(1.07); }
.dsd-film .ticks { position: absolute; right: max(20px, calc((100vw - 1240px) / 2 + 20px)); bottom: 24px; z-index: 2; display: flex; gap: 8px; }
.dsd-film .ticks i { display: block; width: 34px; height: 1px; background: rgba(248, 243, 232, .55); position: relative; }
.dsd-film .ticks i::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--ivory); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.dsd-film .ticks i.on::after { transform: scaleX(1); transition: transform 2s linear; }

/* The services list, with the picture that changes beside it. */
.dsd-sxs { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: start; }
.dsd-sxs .sxl h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.08; margin: 0 0 36px; }
.dsd-sxs .sx { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-block: 34px; border-top: 1px solid var(--brass); text-decoration: none; color: var(--graphite); opacity: .55; transition: opacity .4s; }
.dsd-sxs .sx:last-child { border-bottom: 1px solid var(--brass); }
.dsd-sxs .sx.on,
.dsd-sxs .sx:hover,
.dsd-sxs .sx:focus-visible { opacity: 1; }
.js .dsd-sxs .sx.rv.in { opacity: .55; }
.js .dsd-sxs .sx.rv.in.on { opacity: 1; }
.dsd-sxs .sxn { font: italic 400 28px/1 var(--display); color: var(--ink); padding-top: 10px; }
.dsd-sxs .sxb h3 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; margin: 0 0 12px; color: var(--ink); }
.dsd-sxs .sxb p { font-size: 17px; line-height: 1.6; max-width: 31em; margin: 0 0 14px; }
.dsd-sxs .sxb .link { font-size: 15px; color: var(--ink); border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.dsd-sxs .sxm { display: none; grid-column: 1 / -1; }
.dsd-sxs .sxm img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.dsd-sxs .sxp { position: sticky; top: 110px; }
.dsd-sxs .sxpic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bone); }
.dsd-sxs .sxi { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.dsd-sxs .sxi.on { opacity: 1; }
.dsd-sxs .sxi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dsd-a .ph-empty { display: flex; align-items: center; justify-content: center; text-align: center; color: var(--graphite); font-size: 14px; line-height: 1.5; border: 1px solid var(--stone); background: var(--bone); }
.dsd-sxs .sxi .ph-empty { position: absolute; inset: 0; }
.dsd-sxs .sxm .ph-empty { aspect-ratio: 4 / 5; }

/* The signature line in its brass frame, which draws itself as it comes into view. */
.dsd-sigband { padding: 0 max(20px, env(safe-area-inset-left, 0px)) 56px; display: flex; justify-content: center; }
.dsd-sigband .sigbox { position: relative; max-width: 900px; width: 100%; padding: clamp(24px, 2.8vw, 40px) clamp(24px, 5vw, 72px); text-align: center; }
.dsd-sigband .sigbox p { font: italic 400 clamp(26px, 3.5vw, 50px)/1.2 var(--display); color: var(--ink); margin: 0 auto; max-width: none; text-wrap: balance; }
/* The frame is drawn here, not with an inline SVG: WordPress strips SVG from page content. It wipes in from the left. */
.dsd-sigband .sigbox::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--brass); pointer-events: none; }
.js .dsd-sigband .sigbox::before { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s ease .2s; }
.js .dsd-sigband .sigbox.in::before { clip-path: inset(0 0 0 0); }

/* The wide photograph. */
.dsd-fullb { position: relative; width: 100%; aspect-ratio: 2.4 / 1; overflow: hidden; background: var(--bone); }
.dsd-fullb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Client quotes: one feature (a figure beside the quote it comes from), then two short quotes. Not a wall of words. */
.dsd-proof .feature { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 0 56px; align-items: start; padding: 8px 0 52px; border-bottom: 1px solid var(--brass); }
.dsd-proof .fig b { display: block; font: 400 clamp(44px, 4.4vw, 64px)/1 var(--display); font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; letter-spacing: -.02em; color: var(--ink); }
.dsd-proof .fig span { display: block; margin-top: 14px; font: 500 12px/1.5 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--graphite); max-width: 18em; }
.dsd-proof blockquote { margin: 0; padding: 0; border: 0; }
.dsd-proof blockquote p { font-family: var(--display); font-style: italic; font-weight: 400; color: var(--ink); margin: 0 0 22px; max-width: 29em; text-wrap: balance; }
.dsd-proof .feature blockquote p { font-size: clamp(21px, 2vw, 29px); line-height: 1.38; text-wrap: pretty; }
.dsd-proof .who { font: 400 15px/1.5 var(--text); color: var(--graphite); }
.dsd-proof .who b { display: block; color: var(--ink); font-weight: 700; }
.dsd-proof .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding-top: 52px; }
.dsd-proof .pair blockquote p { font-size: clamp(20px, 1.85vw, 26px); line-height: 1.4; }
.dsd-proof .more { margin: 52px 0 0; }
.dsd-proof .more a { font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
@media (max-width: 860px) {
	.dsd-proof .feature { grid-template-columns: 1fr; gap: 28px; padding-bottom: 44px; }
	.dsd-proof .pair { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
}

/* By the numbers: five figures across. */
.dsd-nums { display: grid; grid-template-columns: repeat(5, 1fr); gap: 44px; border-top: 1px solid var(--brass); padding-top: 40px; }
/* Lining numerals: every figure the same height. Playfair's default set is old-style (a small 0, a 3 that drops below the line). */
.dsd-nums b { display: block; font: 400 clamp(34px, 3.8vw, 54px)/1 var(--display); font-variant-numeric: lining-nums; white-space: nowrap; font-feature-settings: "lnum" 1; letter-spacing: -.01em; color: var(--ink); margin-bottom: 16px; }
.dsd-nums span { display: block; font: 500 12px/1.5 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--graphite); max-width: 17em; }

@media (max-width: 1000px) {
	.dsd-nums { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
	.dsd-film { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
	.dsd-film .ticks { bottom: auto; top: 16px; right: 16px; }
	.dsd-sxs { grid-template-columns: 1fr; gap: 0; }
	.dsd-sxs .sxp { display: none; }
	.dsd-sxs .sxm { display: block; }
	.dsd-sxs .sx { opacity: 1 !important; grid-template-columns: 44px 1fr; }
	.dsd-sigband { padding-block: 0 40px; }
	.dsd-fullb { aspect-ratio: 4 / 3; }
	.dsd-nums { grid-template-columns: 1fr 1fr; }
}
@media print {
	.js .rv { opacity: 1 !important; transform: none !important; }
	.dsd-sigband .sigbox::before { clip-path: none !important; }
	.dsd-sxs .sx { opacity: 1 !important; }
	.dsd-film .shot { opacity: 0; }
	.dsd-film .shot:first-child { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	/* The film is the approved design's signature. It plays the same for every visitor, including on a computer set to
	   "reduce motion": a slow cross-fade and a slow push in, nothing sudden. (Kyle, 2026-11-28. Before this, such a
	   computer got a hard cut every two seconds.) */
	.dsd-film .shot { transition: opacity 1.4s ease !important; }
	.dsd-film .shot img { transition: transform 6s linear !important; }
	.dsd-film .ticks i.on::after { transition: transform 2s linear !important; }
	.dsd-sxs .sxi,
	.js .rv { transition: none !important; }
	.js .rv { opacity: 1; transform: none; }
	.js .dsd-sigband .sigbox::before { clip-path: none; transition: none; }
}

/* A numbers band of four, and the one-line source note beneath a numbers band. */
.dsd-nums.n4 { grid-template-columns: repeat(4, 1fr); }
.dsd-nums.n3 { grid-template-columns: repeat(3, 1fr); }
.dsd-a .dsd-source { font-size: .8125rem; line-height: 1.6; color: var(--wp--preset--color--graphite); max-width: 27rem; margin: 36px 0 0; }
@media (max-width: 1000px) { .dsd-nums.n4 { grid-template-columns: 1fr 1fr; } }

/* Option A's agent-page opening: words on the left, one tall framed photograph on the right. */
.dsd-hero-split { align-items: center; }
.dsd-hero-split .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.dsd-hero-split h1 { margin-bottom: .5em; }
/* Each sentence of the headline keeps to its own lines, so no word is left hanging at the end of a line. */
.dsd-hero-split h1 .ln { display: block; text-wrap: balance; }

/* Numbers as two comparisons: ours in ink, the market figure beside it in a quieter tone, a rule between the pairs. */
.dsd-nums.pairs > div:nth-child(even) b { color: #8d867b; }
@media (min-width: 1001px) {
	.dsd-nums.pairs { gap: 44px 0; }
	.dsd-nums.pairs > div { padding-right: 32px; }
	.dsd-nums.pairs > div:nth-child(3) { border-left: 1px solid var(--brass); padding-left: 56px; }
	.dsd-nums.pairs > div:nth-child(4) { padding-left: 24px; }
}

/* Three reasons side by side. */
.dsd-cards .wp-block-column { border-top: 1px solid var(--wp--preset--color--brass); padding-top: 24px; }
.dsd-cards h3 { margin: 0 0 .5em; }

/* Two coloured sections in a row meet edge to edge. Without this a thin strip of the page colour showed between them. */
.dsd-section.has-background + .dsd-section.has-background { margin-block-start: 0; }

/* Each page's label is its main heading (h1) for search, and still looks like a label. The large headline beneath
   it is a second-level heading that looks like the display headline. (Approved copy, 2026-11-30.) */
h1.is-style-label { font-family: var(--wp--preset--font-family--karla, inherit); font-size: var(--wp--preset--font-size--label); font-weight: 500; letter-spacing: 0.2em; line-height: 1.4; text-transform: uppercase; text-wrap: wrap; margin-top: 0; }
.wp-block-heading.dsd-display { font-size: var(--wp--preset--font-size--display); line-height: 1.06; margin-top: 0; }

/* The paragraph under a closing line keeps to a readable width (it ran the full 1240px once the line grew longer). */
.dsd-section.has-ink-background-color p.has-text-align-center:not(.dsd-signature) { max-width: 33rem !important; margin-left: auto !important; margin-right: auto !important; }

/* Numerals in headings line up at one height (Playfair's default figures are old-style and read unevenly; Kyle, 2026-11-27). */
h1, h2, h3, .dsd-signature { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }

/* A heading of two sentences keeps each sentence on its own lines, so no word is left hanging after a full stop. */
.wp-block-heading .ln { display: block; text-wrap: balance; }

/* On a phone the two doors at the top of Home stack, each on its own line, with the quiet link beneath. */
@media (max-width: 599px) {
	.dsd-hero-text .wp-block-buttons { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

/* The services heading is sized so its second sentence ("One Uncompromising Eye.") holds on one line beside the picture. */
@media (min-width: 861px) { .dsd-sxs .sxl > h2 { font-size: clamp(34px, 3.1vw, 45px); } }

/* Fresh-eyes fixes, 2026-11-30. */
/* Numerals inside a client's quote line up like every other numeral on the page. */
.dsd-proof blockquote p { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
/* The logo's own black square disappears into the dark footer, leaving its white frame and lettering. */
.dsd-footer .dsd-wordmark img { mix-blend-mode: screen; }
/* The logo sits in the middle of the header band, with equal space above and below. */
.dsd-header .dsd-header-row { align-items: center; }
.dsd-header .dsd-wordmark, .dsd-header .dsd-wordmark a { display: block; line-height: 0; }

/* ==========================================================================
   The inner pages (theme 0.5.0, 2026-11-29): Real Estate Agents, Home Staging, Interior Design, Commercial Design,
   Renovation, Portfolio, About, Book a Consult, Client Reviews. Same parts as Home, plus the ones below.
   ========================================================================== */

/* Where a figure comes from, set small beneath it. */
.dsd-source { color: var(--wp--preset--color--graphite); font-size: .8125rem; line-height: 1.6; margin-top: 1.75rem; max-width: 27rem; }

/* A long opening headline (more than about 70 characters) is set a step smaller so it reads in four or five lines. */
.wp-block-heading.dsd-display.is-long { font-size: clamp(1.875rem, 3.5vw, 3rem); line-height: 1.1; }

/* An opening with one tall photograph beside it: the headline is sized for half the page width. */
.dsd-hero-split .wp-block-heading.dsd-display { font-size: clamp(2.125rem, 3.7vw, 3.375rem); line-height: 1.08; margin-bottom: .5em; }
.dsd-hero-split .wp-block-heading.dsd-display.is-long { font-size: clamp(1.875rem, 3vw, 2.75rem); }
.dsd-hero-split .wp-block-buttons { margin-top: 1.75rem; }

/* A page that opens with words alone (Portfolio, Client Reviews). */
.dsd-pagehead { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.dsd-pagehead .wp-block-columns { align-items: end; }
.dsd-pagehead .wp-block-heading.dsd-display { margin-bottom: 0; }
.dsd-stars { color: var(--wp--preset--color--brass); font-size: 1.375rem; letter-spacing: .22em; line-height: 1; margin: 0 0 1.125rem; }

/* Lists beside a headline: no bullets, a brass hairline above each line. */
.dsd-split .wp-block-list { list-style: none; margin: 1.75rem 0; padding: 0; }
.dsd-split .wp-block-list li { border-top: 1px solid var(--wp--preset--color--brass); max-width: none; padding-block: .8125rem; }
.dsd-split .wp-block-list li:last-child { border-bottom: 1px solid var(--wp--preset--color--brass); }
/* A long list of short names runs in two columns. */
@media (min-width: 600px) {
	.dsd-split.is-cols2 .wp-block-list { column-gap: 2.5rem; columns: 2; }
	.dsd-split.is-cols2 .wp-block-list li { break-inside: avoid; }
	.dsd-split.is-cols2 .wp-block-list li:nth-child(4) { border-bottom: 1px solid var(--wp--preset--color--brass); }
}
/* A list of findings that each open with a percentage: the figure large, the finding beside it. */
.dsd-stats { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.dsd-stats li { align-items: baseline; border-top: 1px solid var(--brass); display: grid; gap: 0 1.5rem; grid-template-columns: 6.25rem minmax(0, 1fr); padding-block: 1.125rem; }
.dsd-stats li:last-child { border-bottom: 1px solid var(--brass); }
.dsd-stats b { color: var(--ink); font: 400 clamp(2rem, 3vw, 2.625rem)/1 var(--display); font-feature-settings: "lnum" 1; font-variant-numeric: lining-nums; letter-spacing: -.01em; }
.dsd-stats span { color: var(--graphite); font-size: 1.0625rem; line-height: 1.55; }
@media (max-width: 520px) { .dsd-stats li { grid-template-columns: 1fr; gap: .375rem; } }

/* Short titled points side by side, a brass hairline above each. */
.dsd-cardgrid { display: grid; gap: 44px 56px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3rem; }
.dsd-cardgrid.n3, .dsd-cardgrid.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 48px; }
.dsd-cardgrid .card { border-top: 1px solid var(--brass); padding-top: 24px; }
.dsd-cardgrid h3 { color: var(--ink); font: 600 clamp(1.375rem, 1.9vw, 1.6875rem)/1.2 var(--display); margin: 0 0 .55em; text-wrap: balance; }
.dsd-cardgrid p { color: var(--graphite); font-size: 1.0625rem; line-height: 1.6; margin: 0; max-width: 33rem; }
@media (max-width: 1000px) { .dsd-cardgrid.n3, .dsd-cardgrid.n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dsd-cardgrid, .dsd-cardgrid.n3, .dsd-cardgrid.n6 { grid-template-columns: 1fr; gap: 32px; margin-top: 2.25rem; } }

/* Rows with a smaller title, for five or more points. */
.dsd-rows { margin-top: 2.5rem; }
.dsd-rows.is-compact > .wp-block-columns { align-items: baseline; padding-block: 1.5rem; }
.dsd-rows.is-compact h3 { font-size: clamp(1.375rem, 2.1vw, 1.875rem); line-height: 1.15; }

/* Numbered steps: three, four or five across, wrapping on smaller screens. */
.dsd-steps.wp-block-columns { display: grid; gap: 2.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 3rem; }
.dsd-steps.n4.wp-block-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dsd-steps.n5.wp-block-columns { gap: 2.5rem 2rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dsd-steps .wp-block-column { min-width: 0; }
.dsd-steps .wp-block-column p:not(.dsd-step-num) { margin-top: .625rem; }
@media (max-width: 1100px) { .dsd-steps.n5.wp-block-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .dsd-steps.n4.wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .dsd-steps.wp-block-columns, .dsd-steps.n4.wp-block-columns, .dsd-steps.n5.wp-block-columns { grid-template-columns: 1fr; gap: 2rem; } }
.dsd-after { border-top: 1px solid var(--wp--preset--color--brass); margin-top: 2.75rem; padding-top: 1.25rem; }

/* Two figures side by side: ours in ink, the market's beside it in a quieter tone. */
.dsd-nums.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 46rem; }
.dsd-nums.n2 b { font-size: clamp(2.75rem, 5.4vw, 4.5rem); }
.dsd-nums.n2 > div:nth-child(2) b { color: #8d867b; }
.dsd-section .wp-block-columns + .wp-block-html .dsd-nums, .dsd-section .wp-block-columns + .dsd-a .dsd-nums { margin-top: 2.5rem; }

/* Words beside one framed photograph. */
.dsd-feature { align-items: center; }
.dsd-feature .wp-block-image { margin: 0; }
.dsd-feature .wp-block-image img { aspect-ratio: 4 / 3; display: block; object-fit: cover; width: 100%; }
@media (max-width: 781px) { .dsd-feature.is-flip > .wp-block-column:first-child { order: 2; } }
/* A client's line inside such a section: larger, no rule above it. */
.dsd-quote.is-feature { border-top: 0; margin-top: 1.5rem; padding-top: 0; }
.dsd-quote.is-feature.wp-block-quote p { font-size: clamp(1.25rem, 1.9vw, 1.5625rem); line-height: 1.42; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.has-ink-background-color .dsd-quote.wp-block-quote p { color: var(--wp--preset--color--ivory); }
.has-ink-background-color .dsd-quote.wp-block-quote cite { color: var(--wp--preset--color--stone); }
.has-ink-background-color .dsd-quote.wp-block-quote cite strong { color: var(--wp--preset--color--ivory); }

/* One client's line, large and centered. */
.dsd-bigquote { margin: 0 auto; max-width: 56rem; text-align: center; }
.dsd-bigquote blockquote { border: 0; margin: 0; padding: 0; }
.dsd-bigquote blockquote p { max-width: 27em; margin-inline: auto; color: var(--ink); font: italic 400 clamp(1.5rem, 2.8vw, 2.375rem)/1.3 var(--display); font-feature-settings: "lnum" 1; font-variant-numeric: lining-nums; margin-bottom: 1.75rem; text-wrap: balance; }
.dsd-a .who { color: var(--graphite); font: 400 .9375rem/1.5 var(--text); margin: 0; }
.dsd-a .who b { color: var(--ink); display: block; font-weight: 700; }
.dsd-a .more { margin: 2.5rem 0 0; }
.dsd-a .more a { border-bottom: 1px solid var(--brass); color: var(--ink); font-size: .9375rem; padding-bottom: 2px; text-decoration: none; }

/* Clients' reviews in full, two across. The words a client's review has in bold stand out in ink; the rest is quieter. */
.dsd-reviews .fig { align-items: baseline; border-bottom: 1px solid var(--brass); display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 44px; padding-bottom: 36px; }
.dsd-reviews .fig b { color: var(--ink); font: 400 clamp(2.75rem, 4.4vw, 4rem)/1 var(--display); font-feature-settings: "lnum" 1; font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.dsd-reviews .fig span { color: var(--graphite); font: 500 .75rem/1.5 var(--text); letter-spacing: .16em; text-transform: uppercase; }
.dsd-reviews .revs { column-gap: 64px; columns: 2; }
.dsd-reviews .rev { border-top: 1px solid var(--brass); break-inside: avoid; margin: 0 0 44px; padding-top: 22px; }
.dsd-reviews .rev blockquote { border: 0; margin: 0; padding: 0; }
.dsd-reviews .rev blockquote p { color: var(--graphite); font: 400 1.0625rem/1.65 var(--text); margin: 0 0 .85em; max-width: 33rem; }
.dsd-reviews .rev blockquote strong { color: var(--ink); font-weight: 700; }
.dsd-reviews .rev .st { color: var(--brass); display: block; font-size: .9375rem; letter-spacing: .2em; line-height: 1; margin-bottom: .875rem; }
.dsd-reviews .rev figcaption { color: var(--graphite); font: 400 .9375rem/1.5 var(--text); margin-top: 1rem; }
.dsd-reviews .rev figcaption b { color: var(--ink); display: block; font-weight: 700; }
.dsd-reviews .more { margin-top: .5rem; }
.dsd-section .has-lede-font-size + .wp-block-html .dsd-reviews, .dsd-section .wp-block-heading + .wp-block-html .dsd-reviews { margin-top: 2.5rem; }
@media (max-width: 1000px) { .dsd-reviews .revs { column-gap: 40px; } }
@media (max-width: 700px) { .dsd-reviews .revs { columns: 1; } .dsd-reviews .rev { margin-bottom: 36px; } }

/* Photographs with no captions, three across; on a wide screen the first and the eighth of twelve are shown large. */
.dsd-photogrid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dsd-photogrid .ph { aspect-ratio: 3 / 2; background: var(--bone); overflow: hidden; }
.dsd-photogrid img { display: block; height: 100%; object-fit: cover; transition: transform 1.2s ease; width: 100%; }
.dsd-photogrid .ph:hover img { transform: scale(1.04); }
.dsd-section .wp-block-columns + .wp-block-html .dsd-photogrid, .dsd-section .wp-block-heading + .wp-block-html .dsd-photogrid { margin-top: 3rem; }
@media (min-width: 861px) {
	.dsd-photogrid.n12 .ph:nth-child(1), .dsd-photogrid.n12 .ph:nth-child(8) { aspect-ratio: auto; grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 860px) { .dsd-photogrid { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); } .dsd-photogrid.n3 .ph:first-child { grid-column: span 2; } }
@media (max-width: 520px) { .dsd-photogrid { grid-template-columns: 1fr; } .dsd-photogrid.n3 .ph:first-child { grid-column: auto; } }

/* The place kept for a before and after pair: two empty frames until the photographs arrive. */
.dsd-ba { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3rem; }
.dsd-ba .ph-empty { aspect-ratio: 3 / 2; background: var(--ivory); border: 1px solid var(--brass); }
/* The word sits inside its frame, so the pair reads as a place being kept, not as two pictures that failed to load. */
.dsd-ba .ph-empty span { color: var(--graphite); font: italic 400 clamp(1.375rem, 2.6vw, 2.125rem)/1 var(--display); letter-spacing: 0; margin: 0; text-transform: none; }
.dsd-ba span { color: var(--graphite); display: block; font: 500 .75rem/1.5 var(--text); letter-spacing: .16em; margin-top: 12px; text-transform: uppercase; }
@media (max-width: 640px) { .dsd-ba { gap: 12px; margin-top: 2rem; } .dsd-ba .ph-empty { aspect-ratio: 4 / 5; } }

/* A few plain facts side by side: the studio's address, telephone, and where we work. */
.dsd-facts { display: grid; gap: 48px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dsd-facts > div { border-top: 1px solid var(--brass); padding-top: 22px; }
.dsd-facts p { color: var(--ink); font: 400 clamp(1.1875rem, 1.6vw, 1.375rem)/1.45 var(--display); font-feature-settings: "lnum" 1; font-variant-numeric: lining-nums; margin: 0; text-wrap: balance; }
@media (max-width: 860px) { .dsd-facts { gap: 28px; grid-template-columns: 1fr; } }

/* Book a Consult: words on the left, the form on a Bone panel on the right. */
.dsd-formpage .dsd-form-cols { align-items: start; }
.dsd-formpage .wp-block-heading.dsd-display { margin-bottom: .45em; }
.dsd-aside { border-top: 1px solid var(--wp--preset--color--brass); color: var(--wp--preset--color--ink); font-size: 1.1875rem; margin-top: 2.25rem; padding-top: 1.25rem; }
.dsd-formbox { background: var(--bone); padding: clamp(22px, 3.4vw, 44px); }
.dsd-consult { display: grid; gap: 22px; }
/* Once the form is sent it is hidden; the layout rule above must not bring it back. */
.dsd-consult[hidden], .dsd-consult [hidden], .dsd-thanks[hidden] { display: none; }
.dsd-consult .fld { border: 0; display: block; margin: 0; min-width: 0; padding: 0; }
.dsd-consult .fld > span, .dsd-consult legend { color: var(--ink); display: block; font: 500 .9375rem/1.4 var(--text); margin-bottom: 8px; padding: 0; }
.dsd-consult input[type="text"], .dsd-consult input[type="tel"], .dsd-consult input[type="email"], .dsd-consult textarea { -webkit-appearance: none; appearance: none; background: var(--ivory); border: 1px solid #8d867b; border-radius: 0; color: var(--ink); display: block; font: 400 1.0625rem/1.4 var(--text); padding: 13px 14px; width: 100%; }
.dsd-consult textarea { resize: vertical; }
.dsd-consult .opts { display: flex; flex-wrap: wrap; gap: 10px; }
.dsd-consult .opt { cursor: pointer; position: relative; }
.dsd-consult .opt input { cursor: pointer; inset: 0; margin: 0; opacity: 0; position: absolute; }
.dsd-consult .opt span { background: var(--ivory); border: 1px solid #8d867b; color: var(--ink); display: block; font: 400 1rem/1.3 var(--text); padding: 12px 16px; }
.dsd-consult .opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.dsd-consult .opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.dsd-consult [data-only] { display: none; }
.dsd-consult.is-first [data-only="first"] { display: block; }
/* The trap field for automated programs: never shown, never read aloud, never filled in by a browser's own autofill. */
.dsd-consult .trap { height: 0; margin: 0; position: absolute; visibility: hidden; width: 0; }
.dsd-consult button { border: 0; cursor: pointer; justify-self: start; }
.dsd-consult button[disabled] { cursor: default; opacity: .6; }
.dsd-consult .err { color: #8a1f11; font-size: .9375rem; margin: 0; }
.dsd-thanks { color: var(--ink); font: italic 400 clamp(1.375rem, 2.2vw, 1.875rem)/1.35 var(--display); margin: 0; outline: 0; text-wrap: balance; }

/* A closing band with a button and a link only keeps the same height as one with words. */
.dsd-section.has-ink-background-color > .wp-block-buttons:only-child { padding-block: 1rem; }

/* A wide photograph meets the coloured section after it edge to edge (a strip of the page colour showed between them). */
.wp-block-group.dsd-a + .dsd-section.has-background { margin-block-start: 0; }
/* Photographs that follow a plain section with no heading of their own sit close beneath it, as part of it. */
.dsd-section:not(.has-background) + .dsd-section.dsd-photos-only:not(.has-background) { padding-top: 0; }
/* On a phone three figures do not fit across: two, then one. */
@media (max-width: 640px) { .dsd-nums.n3 { grid-template-columns: 1fr 1fr; } }

/* GoDaddy's hosting adds a stylesheet of its own that restyles every text field on the site with colours this theme
   does not define. On the test site that left the form's boxes with no border and no fill, though they were right on
   the local copy (found 2026-11-29 by looking at the real page; tests/form-check.mjs now checks it). These must win. */
.dsd-consult input[type="text"], .dsd-consult input[type="tel"], .dsd-consult input[type="email"], .dsd-consult textarea {
	background-color: var(--wp--preset--color--ivory) !important;
	border: 1px solid #8d867b !important;
	color: var(--wp--preset--color--ink) !important;
}

/* Fresh-eyes fixes, 2026-11-29 (the nine inner pages). */
/* The phone menu, open: the site's own ivory, room around the words, each page name large with a hairline between. */
.dsd-header .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open, .dsd-header .wp-block-navigation__responsive-container.is-menu-open { background-color: var(--wp--preset--color--ivory); color: var(--wp--preset--color--ink); padding: 1.25rem 1.25rem 2rem; }
.dsd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch; padding-top: 3.25rem; }
.dsd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch; gap: 0; width: 100%; }
.dsd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { border-top: 1px solid var(--wp--preset--color--bone); width: 100%; }
.dsd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child { border-bottom: 1px solid var(--wp--preset--color--bone); }
.dsd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: var(--wp--preset--color--ink); display: block; font-family: var(--wp--preset--font-family--display); font-size: 1.5rem; line-height: 1.2; padding: .9375rem 0; width: 100%; }
.dsd-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { right: 1.25rem; top: 1.5rem; }
/* The search label sits the same distance above its headline on every page (it crowded the headline beside a photograph). */
.dsd-hero-split h1.is-style-label + .wp-block-heading.dsd-display { margin-top: 1.25rem; }
/* A closing sentence breaks into even lines, so no word is left alone on the last one. Home is left as approved. */
body:not(.home) .dsd-section.has-ink-background-color p.has-text-align-center:not(.dsd-signature) { text-wrap: balance; }
.dsd-reviews .fig span { max-width: 24em; text-wrap: balance; }
/* On the Book a Consult page the form is the action: the fixed button at the foot of a phone screen is not shown there
   (it sat over the form). */
body:has(form.dsd-consult) .wp-block-buttons.dsd-mobile-cta { display: none; }
@media (max-width: 599px) { body:has(form.dsd-consult) { padding-bottom: 0; } }
/* The one action stays in reach while the phone menu is open: the fixed button sits above the open menu. */
@media (max-width: 599px) { .wp-block-buttons.dsd-mobile-cta { z-index: 100001; } }

/* ==========================================================================
   No blank block at the top of a page. Kyle, 2026-11-30: "Every page has this giant blank spot. That needs to be fixed."
   The tall photograph beside the opening words ran on far below them, leaving an empty block under the buttons, and
   then two sections' worth of space before the next words. tests/blank-check.mjs measures both.
   ========================================================================== */
@media (min-width: 782px) {
	/* The photograph is exactly as tall as the words beside it. Where the words are short it keeps a comfortable
	   minimum height and the words sit level with its middle. (WordPress forces its own alignment on columns, so
	   these must be marked important to take effect.) */
	.wp-block-columns.dsd-hero-split { align-items: stretch !important; }
	.dsd-hero-split > .wp-block-column:first-child { align-self: center; }
	.dsd-hero-split > .wp-block-column:last-child { display: flex; }
	.dsd-hero-split .wp-block-image { flex: 1; margin: 0; min-height: clamp(320px, 27vw, 410px); position: relative; }
	.dsd-hero-split .wp-block-image img { aspect-ratio: auto; height: 100%; inset: 0; position: absolute; width: 100%; }
	/* Words beside a photograph lower down the page sit level with its middle, not hung from its top edge. */
	.wp-block-columns.dsd-feature { align-items: center !important; }
	/* Book a Consult: a photograph fills the space under the words, so the left side runs as far as the form. */
	.wp-block-columns.dsd-form-cols { align-items: stretch !important; }
	.dsd-form-cols > .wp-block-column:first-child { display: flex; flex-direction: column; }
	.dsd-form-cols .dsd-form-photo { flex: 1; margin: 2.25rem 0 0; min-height: 200px; position: relative; }
	.dsd-form-cols .dsd-form-photo img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
}
@media (max-width: 781px) { .dsd-form-cols .dsd-form-photo { display: none; } }
/* The opening section sits closer to the header and to the section after it. */
.dsd-section:has(> .dsd-hero-split) { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); padding-top: clamp(2.25rem, 4.5vw, 4rem); }
.dsd-section:has(> .dsd-hero-split) + .dsd-section:not(.has-background) { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.dsd-pagehead + .dsd-section:not(.has-background) { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
/* The form takes less height on a wide screen: name beside phone, email beside address. */
@media (min-width: 1000px) {
	.dsd-consult { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
	.dsd-consult > * { grid-column: 1 / -1; }
	.dsd-consult > label.fld:has(input[name="name"]), .dsd-consult > label.fld:has(input[name="phone"]),
	.dsd-consult > label.fld:has(input[name="email"]), .dsd-consult > label.fld:has(input[name="property_address"]) { grid-column: auto; }
}

/* The column beside the questions is not left empty (Kyle, 2026-11-30: "Yes, fix it"). On a wide screen a framed
   photograph sits under the section headline and runs exactly as far as the questions beside it, between a
   comfortable minimum and a maximum. On a phone the questions follow the headline directly, with no photograph. */
@media (min-width: 782px) {
	.dsd-faq > .wp-block-columns { align-items: stretch !important; }
	.dsd-faq > .wp-block-columns > .wp-block-column:first-child { display: flex; flex-direction: column; }
	.dsd-faq .dsd-faq-photo { flex: 1 1 auto; margin: 2rem 0 0; max-height: 640px; min-height: 280px; position: relative; }
	.dsd-faq .dsd-faq-photo img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
}
@media (max-width: 781px) { .dsd-faq .dsd-faq-photo { display: none; } }

/* The same for any headline whose text beside it runs much longer (measured on every two-column section, 2026-11-30:
   two were over 150px short). A photograph under the headline runs as far as the text. Wide screens only. */
@media (min-width: 782px) {
	.dsd-split > .wp-block-columns:has(.dsd-side-photo) { align-items: stretch !important; }
	.dsd-split > .wp-block-columns:has(.dsd-side-photo) > .wp-block-column:first-child { display: flex; flex-direction: column; }
	.dsd-split .dsd-side-photo { flex: 1 1 auto; margin: 2rem 0 0; max-height: 640px; min-height: 240px; position: relative; }
	.dsd-split .dsd-side-photo img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
}
@media (max-width: 781px) { .dsd-split .dsd-side-photo { display: none; } }

/*
 * Finishing pass, 0.5.11 (2026-12-05), from the page-by-page scoring review. No words and no section changed.
 * OFF SWITCH: delete this block; every rule in it only adjusts spacing or line breaks.
 */
/* 1. No paragraph, list item or caption ends on one stranded word where the browser can avoid it; a question that
      runs to two lines breaks into even lines. Measured by qa/last-lines.mjs. */
main p, main li, main figcaption, footer p { text-wrap: pretty; }
.dsd-faq summary { text-wrap: balance; }
/* 2. The figure above a set of reviews no longer draws a line under itself: every review already has a line above it,
      so there were two lines 45 pixels apart with nothing between them. */
.dsd-reviews .fig { border-bottom: 0; padding-bottom: 0; }
/* 3. Cards in one row start their sentences on the same line, even when one title runs to two lines.
      Only for a card that is exactly a title and a paragraph. */
@supports (grid-template-rows: subgrid) {
	.dsd-cardgrid .card:has(> h3:first-child + p:last-child) { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
}
/* 4. A row of three photographs straight after three cards uses the same columns as the cards. */
@media (min-width: 1001px) {
	.dsd-section:has(.dsd-cardgrid.n3) + .dsd-section.dsd-photos-only .dsd-photogrid.n3 { gap: 48px; }
}
/* 5. The photograph beside the form is as wide as the words and line above it, not 13 pixels wider. */
.dsd-form-cols .dsd-form-photo { max-width: 33rem; }
/* 6. On a phone, each term in a list of short points sits close to its own sentence (it sat 32 pixels away). */
@media (max-width: 781px) { .dsd-rows.is-compact > .wp-block-columns { gap: .625rem; } }

/*
 * Theme 0.5.12 (2026-12-05), from the independent review of the launch work.
 */
/* Tablets held upright (600 to 859 wide): seven menu names do not fit on one line beside each other (the last one,
   "About", dropped to a line of its own, and at 820 wide the header changed height as the fonts arrived).
   There the menu becomes the same "Menu" button a phone has; Book a Consult stays in the header beside it. */
@media (min-width: 600px) and (max-width: 859px) {
	.dsd-header .dsd-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
	.dsd-header .dsd-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.dsd-header .dsd-header-row > .dsd-nav { flex-basis: auto; order: 3; }
	.dsd-header .dsd-header-row > .dsd-header-cta { margin-left: auto; }
}
/* The page you are on, in the top menu: a Brass line under its name. Drawn as an underline so the header keeps the
   same height on every page. */
.dsd-header .wp-block-navigation .current-menu-item > a,
.dsd-header .wp-block-navigation a[aria-current="page"] { border-bottom: 0; text-decoration: underline; text-decoration-color: var(--wp--preset--color--brass); text-decoration-thickness: 1px; text-underline-offset: .5em; }

/*
 * Stand-in typefaces (0.5.13). For a split second on a first visit the page shows in the reader's own Georgia and
 * Arial, until Playfair Display and Karla arrive. Georgia Bold runs about 7% wider than Playfair's headline weight and
 * Arial about 2.5% narrower than Karla, so a headline or a row of buttons could wrap one way and then the other, and
 * everything below it jumped. These tell the browser to draw the stand-ins at a matching size (the shares were
 * measured on the site's own words with qa/font-ratio.mjs and tried with qa/font-swap.mjs). They are named in the two
 * typeface lists in theme.json, straight after the real typeface.
 * A device without Georgia or Arial (most Android phones) skips these and uses its own serif and sans, as before.
 * OFF SWITCH: delete this block; the lists then fall through to plain Georgia and Arial.
 */
@font-face { font-family: "DSD Serif Standin"; font-style: normal; font-weight: 400; size-adjust: 98.5%; src: local("Georgia"); }
@font-face { font-family: "DSD Serif Standin"; font-style: italic; font-weight: 400; src: local("Georgia Italic"), local("Georgia-Italic"); }
@font-face { font-family: "DSD Serif Standin"; font-style: normal; font-weight: 600 700; size-adjust: 93%; src: local("Georgia Bold"), local("Georgia-Bold"); }
@font-face { font-family: "DSD Sans Standin"; font-style: normal; font-weight: 400 500; size-adjust: 102.5%; src: local("Arial"), local("ArialMT"); }
@font-face { font-family: "DSD Sans Standin"; font-style: normal; font-weight: 700; size-adjust: 99%; src: local("Arial Bold"), local("Arial-BoldMT"); }

/*
 * Two alignments (0.5.14), from the second independent scoring of the finished pages.
 * 1. Renovation: the three photographs under "The Kitchen", "The Primary Bath" and "The Whole Home" sat 120px below
 *    their words and read as a separate strip. They now sit 48px below, the same as the gap between the columns.
 * 2. Footer: the logo file is a black square with a white frame inside it. On the black footer the square
 *    disappears, so the frame looked about 11px to the right of the words under it. The logo is moved left by the
 *    width of its own black border (59 of its 600 pixels). The logo file itself is unchanged.
 *    It is moved with "left", not a margin: in 0.5.14 a negative margin also made the logo 8 to 10px smaller, because
 *    its box shrinks to fit (caught by the before and after page pictures, corrected in 0.5.15).
 * OFF SWITCH: delete this block.
 */
.dsd-section:not(.has-background):has(.dsd-cardgrid.n3):has(+ .dsd-section.dsd-photos-only:not(.has-background)) { padding-bottom: 24px; }
.dsd-footer .dsd-wordmark img { left: -11px; position: relative; }
@media (max-width: 860px) {
	.dsd-footer .dsd-wordmark img { left: -9px; }
}

/* Narrow phones and the form's three choices (0.5.16; the form part rewritten in 0.5.18, 2026-12-05)
 * Both found by an independent reviewer of 0.5.13 to 0.5.15, then confirmed with qa/nums-fit.mjs and
 * qa/form-rows-scan.mjs before anything was changed.
 * 1. Figures on very narrow phones. On the Home Staging page "65 days" ran 5px off the right of a 320-wide
 *    screen, so the page scrolled sideways at 329 wide and narrower; from 330 to about 370 wide the two figures
 *    ran past their own columns. The two large figures now shrink with the screen below 380 wide (44px at 375,
 *    about 35px at 320). On Home, "$973M+" was 1px wider than its column at 320; the figures are 32px, not
 *    34px, at 340 wide and narrower. Nothing changes at 381 wide and above.
 * 2. The form's three choices. They are narrower in the stand-in typeface than in Karla. Measured with
 *    qa/opts-exact.mjs: all three on one row need 534.328px in Karla and 524.047px in the stand-in; the first
 *    two on one row need 303.766px and 297.688px. When the room the choices have falls between those pairs of
 *    numbers, the stand-in fits one row more than Karla, so when Karla arrives a choice drops to the next row
 *    and the form moves down 57px (score 0.118; the limit is 0.1). The two rules below look at the room the
 *    choices actually have (a container query), and in exactly that gap they give one choice an invisible
 *    right margin so the stand-in wraps where Karla already does. With Karla loaded nothing changes at any
 *    width. 0.5.16 and 0.5.17 did this by the WINDOW's width; a second independent reviewer showed that misses
 *    desktop browsers with a classic scroll bar, where the page is 15px narrower than the window.
 *    A browser too old for container queries (before 2023) simply behaves as before 0.5.16.
 * OFF SWITCH: delete this block.
 */
@media (max-width: 340px) {
	.dsd-nums b { font-size: 32px; }
}
@media (max-width: 380px) {
	.dsd-nums.n2 b { font-size: min(2.75rem, calc(15.3vw - 13.5px)); }
}
.dsd-consult .opts { container-type: inline-size; }
@container (min-width: 500px) and (width < 534.3px) {
	.dsd-consult .opt:nth-child(3) { margin-right: 40px; }
}
@container (min-width: 285px) and (width < 303.75px) {
	.dsd-consult .opt:nth-child(2) { margin-right: 20px; }
}
