/* ============================================================
   Dommes Directory — Homepage stylesheet
   Loaded only on the front page. Consumes tokens from theme.json.
   ============================================================ */

/* Scroll-reveal base lives in main.css (shared site-wide). */

/* ============================================================
   HERO
   ============================================================ */

.dd-hero {
	position: relative;
	/* overflow stays visible so the autocomplete dropdown can extend
	   below the section; glow clipping moves down to .dd-hero__bg. */
	overflow: visible;
	min-height: clamp(640px, 90vh, 880px);
	display: grid;
	align-items: center;
	color: var(--wp--preset--color--warm-ivory);
	margin-top: calc(var(--dd-header-height) * -1);
	padding-top: var(--dd-header-height);
	isolation: isolate;
	/* Stack the hero (and its dropdown) above the sections that follow. */
	z-index: 5;
}

.dd-hero__bg {
	position: absolute; inset: 0; z-index: -1;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 80% 0%, rgba(205, 170, 103, 0.20) 0%, transparent 55%),
		radial-gradient(ellipse at 0% 100%, rgba(204, 85, 0, 0.18) 0%, transparent 50%),
		var(--dd-gradient-midnight);
}

/* When a hero background image is provided, the hero becomes an
   editorial asymmetric layout: text on the left, full-bleed photo
   dominating the right. A multi-stop vertical gradient ensures the
   left column has a near-opaque dark base for legible text, while
   the right side of the photo breathes. On mobile, falls back to a
   centered hero with a uniform dark overlay. */
.dd-hero__image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: 70% center;
	background-repeat: no-repeat;
	animation: ddKenBurns 24s ease-in-out infinite alternate;
	transform-origin: center;
}
.dd-hero__veil {
	position: absolute; inset: 0;
	background:
		linear-gradient(90deg,
			rgba(13, 27, 46, 0.94) 0%,
			rgba(13, 27, 46, 0.88) 28%,
			rgba(13, 27, 46, 0.55) 50%,
			rgba(13, 27, 46, 0.20) 75%,
			rgba(13, 27, 46, 0.55) 100%),
		linear-gradient(180deg,
			rgba(13, 27, 46, 0.45) 0%,
			rgba(13, 27, 46, 0.05) 30%,
			rgba(13, 27, 46, 0.05) 60%,
			rgba(13, 27, 46, 0.85) 100%);
}
.dd-hero--has-image .dd-hero__bg {
	background: #060C16;
}
.dd-hero--has-image .dd-hero__pattern,
.dd-hero--has-image .dd-hero__glow {
	opacity: 0.25;
}
@keyframes ddKenBurns {
	from { transform: scale(1)    translate(0, 0); }
	to   { transform: scale(1.06) translate(-0.8%, -0.8%); }
}

/* ---- Editorial left-aligned text column when an image is present ---- */
.dd-hero--has-image .dd-hero__inner {
	max-width: 1240px;
	margin-inline: auto;
	text-align: left;
}
.dd-hero--has-image .dd-hero__eyebrow,
.dd-hero--has-image .dd-hero__title,
.dd-hero--has-image .dd-hero__lede,
.dd-hero--has-image .dd-hero-search {
	margin-left: 0;
	margin-right: auto;
}
.dd-hero--has-image .dd-hero__title {
	max-width: 14ch;
	font-size: clamp(2.25rem, 4.6vw, 4.25rem);
}
.dd-hero--has-image .dd-hero__lede {
	max-width: 36ch;
	margin-left: 0;
}
.dd-hero--has-image .dd-hero-search {
	/* Wide enough that every field's placeholder — notably the location
	   field, which also carries a pin icon and the geolocate button —
	   stays fully visible on one line. */
	max-width: 920px;
}

/* ---------- Mobile / tablet hero (with image) ----------
   Stack the photo on top, drop the text into a magazine-style
   dark band that fades up from the bottom. The subject's face and
   the arms holding the gag stay visible at the top, while the
   title + lede + search sit on a fully readable dark base. */
@media (max-width: 1023px) {
	.dd-hero--has-image {
		align-items: end;
		min-height: 92vh;
	}
	.dd-hero--has-image .dd-hero__image {
		background-position: center 22%;
	}
	.dd-hero--has-image .dd-hero__veil {
		background:
			linear-gradient(180deg,
				rgba(13, 27, 46, 0.18) 0%,
				rgba(13, 27, 46, 0.22) 28%,
				rgba(13, 27, 46, 0.72) 52%,
				rgba(13, 27, 46, 0.94) 72%,
				rgba(13, 27, 46, 0.98) 100%);
	}
	.dd-hero--has-image .dd-hero__inner {
		text-align: center;
		padding-block: 2rem 3rem;
	}
	.dd-hero--has-image .dd-hero__eyebrow,
	.dd-hero--has-image .dd-hero__title,
	.dd-hero--has-image .dd-hero__lede,
	.dd-hero--has-image .dd-hero-search {
		margin-inline: auto;
	}
	.dd-hero--has-image .dd-hero__title {
		max-width: 14ch;
		font-size: clamp(1.85rem, 6.5vw, 2.75rem);
		line-height: 1.08;
		margin-bottom: 1rem;
	}
	.dd-hero--has-image .dd-hero__lede {
		max-width: 480px;
		font-size: 0.975rem;
		margin-bottom: 1.75rem;
	}
	.dd-hero--has-image .dd-hero__eyebrow {
		font-size: 0.65rem;
		letter-spacing: 0.32em;
		margin-bottom: 1.25rem;
	}
}

@media (max-width: 560px) {
	.dd-hero--has-image .dd-hero__title { max-width: 12ch; }
	.dd-hero--has-image .dd-hero__lede  { font-size: 0.95rem; }
}

.dd-hero__pattern {
	position: absolute; inset: 0;
	opacity: 0.18;
	background-image:
		linear-gradient(45deg, rgba(205,170,103,0.08) 25%, transparent 25%),
		linear-gradient(-45deg, rgba(205,170,103,0.08) 25%, transparent 25%);
	background-size: 28px 28px;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.dd-hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.55;
	pointer-events: none;
	animation: ddFloat 14s ease-in-out infinite alternate;
	/* Promote to its own composited layer so the 80px blur is rasterised
	   once and only translated each frame (see ddFloat: translate only). */
	will-change: transform;
}
.dd-hero__glow--gold  { width: 460px; height: 460px; top: -120px; right: -120px; background: var(--wp--preset--color--soft-gold); }
.dd-hero__glow--ember { width: 380px; height: 380px; bottom: -100px; left: -80px; background: var(--wp--preset--color--burnt-orange); opacity: 0.35; animation-delay: -7s; }

@keyframes ddFloat {
	/* Translate only — no scale. Scaling a blur(80px) layer forces the GPU to
	   re-rasterise the blur every frame, which made hover of the cards just
	   below the hero janky. The 8% scale was imperceptible behind the veil. */
	from { transform: translate(0, 0); }
	to   { transform: translate(30px, -20px); }
}

.dd-hero__inner {
	position: relative;
	text-align: center;
	padding-block: clamp(3rem, 8vh, 6rem);
}

.dd-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--wp--preset--color--soft-gold);
	font-size: 0.72rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	margin-bottom: 1.75rem;
}
.dd-hero__eyebrow .dd-hairline { background: var(--wp--preset--color--soft-gold); width: 32px; }

.dd-hero__title {
	font-family: var(--wp--preset--font-family--playfair);
	font-weight: 700;
	font-size: clamp(2.5rem, 6vw, 5rem);
	line-height: 1.04;
	letter-spacing: -0.015em;
	color: #fff;
	margin: 0 auto 1.5rem;
	max-width: 18ch;
}
.dd-hero--has-image .dd-hero__title {
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.dd-hero--has-image .dd-hero__lede {
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
	color: rgba(246, 241, 232, 0.92);
}
.dd-hero__gilded {
	background: var(--dd-gradient-gilded);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-style: italic;
	padding-right: 0.25em;
	margin-right: -0.25em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.dd-hero__lede {
	max-width: 620px;
	margin: 0 auto 2.5rem;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	line-height: 1.65;
	color: rgba(246, 241, 232, 0.78);
}

/* ---------- Search bar ---------- */

.dd-hero-search {
	display: grid;
	/* Order: free-text search · category · location · submit. The location
	   field (last) gets the lion's share so suggestions like
	   "Damrak 70, Amsterdam, Netherlands" fit on one line. */
	grid-template-columns: 2fr 1.3fr 2.2fr auto;
	gap: 0.5rem;
	background: rgba(246, 241, 232, 0.96);
	border: 1px solid rgba(205, 170, 103, 0.3);
	border-radius: var(--dd-radius);
	padding: 0.5rem;
	max-width: 980px;
	margin: 0 auto 2.5rem;
	box-shadow:
		0 30px 80px -30px rgba(0,0,0,0.55),
		0 0 0 1px rgba(205, 170, 103, 0.15) inset;
	/* No backdrop-filter here: the near-opaque background (0.96 alpha) makes the
	   blur invisible anyway, and it triggers a Chromium repaint flicker whenever
	   the native category <select> popup opens over the container. */
}

.dd-hero-search__field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: #fff;
	border: 1px solid var(--dd-color-line);
	border-radius: var(--dd-radius);
	padding: 0 0.85rem;
	transition: border-color 200ms ease, box-shadow 200ms ease;
}
.dd-hero-search__field:focus-within {
	border-color: var(--wp--preset--color--soft-gold);
	box-shadow: 0 0 0 3px rgba(205, 170, 103, 0.18);
}
.dd-hero-search__field select,
.dd-hero-search__field input {
	flex: 1;
	width: 100%;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 0.95rem;
	color: var(--wp--preset--color--charcoal);
	padding: 0.85rem 0;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
}
.dd-hero-search__field select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%230D1B2E' stroke-width='1.4' fill='none' stroke-linecap='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 0 center;
	padding-right: 1.25rem;
	cursor: pointer;
}
.dd-hero-search__icon { color: var(--wp--preset--color--burnt-orange); flex-shrink: 0; }

/* Crosshair button inside the address field — triggers HTML5 geolocation. */
.dd-hero-search__locate {
	flex-shrink: 0;
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(13, 27, 46, 0.15);
	background: transparent;
	color: var(--wp--preset--color--midnight-blue);
	border-radius: 50%;
	cursor: pointer;
	padding: 0;
	margin-right: -0.25rem;
	transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 400ms cubic-bezier(.2,.7,.2,1);
}
.dd-hero-search__locate:hover {
	background: var(--wp--preset--color--burnt-orange);
	color: #fff;
	border-color: var(--wp--preset--color--burnt-orange);
}
.dd-hero-search__locate.is-locating { animation: ddPulseLocate 900ms ease-in-out infinite; }
@keyframes ddPulseLocate {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.12); }
}

.dd-hero-search__submit { padding: 0.95rem 1.5rem; }

/* ---------- Autocomplete dropdown ---------- */
.dd-autocomplete-list {
	position: absolute;
	top: calc(100% + 6px);
	left: -1px;
	right: -1px;
	list-style: none;
	margin: 0;
	padding: 0.35rem 0;
	background: #fff;
	border: 1px solid rgba(205, 170, 103, 0.45);
	border-radius: var(--dd-radius);
	box-shadow: 0 24px 60px -22px rgba(13, 27, 46, 0.45);
	max-height: 320px;
	overflow-y: auto;
	z-index: 60;
	text-align: left;
}
.dd-autocomplete-list[hidden] { display: none; }
.dd-autocomplete-list li {
	padding: 0.7rem 1rem;
	font-size: 0.95rem;
	color: var(--wp--preset--color--midnight-blue);
	cursor: pointer;
	border-bottom: 1px solid rgba(13, 27, 46, 0.05);
	transition: background 120ms ease, color 120ms ease;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.dd-autocomplete-list li:last-child { border-bottom: 0; }
.dd-autocomplete-list li:hover,
.dd-autocomplete-list li.is-active {
	background: rgba(205, 170, 103, 0.18);
	color: var(--wp--preset--color--midnight-blue);
}

/* ---------- Scroll cue ---------- */

.dd-hero__scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	width: 26px;
	height: 42px;
	border: 1px solid rgba(205, 170, 103, 0.6);
	border-radius: 14px;
	display: grid;
	place-items: center;
}
.dd-hero__scroll span {
	width: 3px;
	height: 8px;
	background: var(--wp--preset--color--soft-gold);
	border-radius: 2px;
	animation: ddScrollCue 2s ease-in-out infinite;
}
@keyframes ddScrollCue {
	0%, 100% { transform: translateY(-6px); opacity: 0; }
	50%      { transform: translateY(2px);  opacity: 1; }
}

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */

.dd-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
	margin-bottom: 2.5rem;
}
.dd-section-head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 3.5rem;
}
.dd-section-head__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--wp--preset--color--burnt-orange);
	font-size: 0.72rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 0.6rem;
}
.dd-section-head__eyebrow--gold { color: var(--wp--preset--color--soft-gold); }
.dd-section-head__title {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(1.75rem, 3.4vw, 2.65rem);
	color: var(--wp--preset--color--midnight-blue);
	line-height: 1.15;
	margin: 0;
	max-width: 22ch;
}
.dd-section-head--center .dd-section-head__title { margin-inline: auto; }
.dd-section-head__title--ivory { color: var(--wp--preset--color--warm-ivory); max-width: 24ch; }
.dd-section-head__lede {
	max-width: 720px;
	margin: 1.25rem auto 0;
	color: rgba(246, 241, 232, 0.75);
	font-size: 1.0625rem;
	line-height: 1.7;
}
.dd-section-head__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--wp--preset--color--midnight-blue);
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid var(--wp--preset--color--soft-gold);
	flex-shrink: 0;
	transition: gap 200ms ease, color 200ms ease;
}
.dd-section-head__link:hover { gap: 0.75rem; color: var(--wp--preset--color--burnt-orange); }

/* ============================================================
   CAROUSEL SECTION
   ============================================================ */

.dd-carousel-section {
	padding-block: clamp(3.5rem, 6vw, 5.5rem);
	background: var(--wp--preset--color--warm-ivory);
	position: relative;
	content-visibility: auto;
	contain-intrinsic-size: 100% 700px;
}
.dd-carousel-section:nth-of-type(even) {
	background: #FBF7F0;
}

.dd-carousel {
	position: relative;
}

.dd-carousel__track {
	display: flex;
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scroll-padding: 0.5rem;
	padding-block: 0.75rem;
	margin-inline: -0.5rem;
	padding-inline: 0.5rem;
	scrollbar-width: none;
}
.dd-carousel__track::-webkit-scrollbar { display: none; }
.dd-carousel__track:focus-visible { outline: 2px solid var(--wp--preset--color--soft-gold); outline-offset: 4px; }

.dd-carousel__nav {
	position: absolute;
	top: 40%;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--dd-color-line);
	color: var(--wp--preset--color--midnight-blue);
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 30px -10px rgba(13, 27, 46, 0.2);
	transition: background 200ms ease, color 200ms ease, transform 200ms ease;
	z-index: 4;
}
.dd-carousel__nav:hover { background: var(--wp--preset--color--midnight-blue); color: var(--wp--preset--color--warm-ivory); transform: translateY(-50%) scale(1.06); }
.dd-carousel__nav--prev { left: -16px; }
.dd-carousel__nav--next { right: -16px; }
.dd-carousel__nav[disabled] { opacity: 0; pointer-events: none; }

/* ---------- Card ---------- */

.dd-card {
	flex: 0 0 290px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	color: inherit;
	box-shadow: 0 18px 50px -28px rgba(13, 27, 46, 0.45);
	transition: transform 350ms cubic-bezier(.2,.7,.2,1), box-shadow 350ms ease;
	position: relative;
	/* Give each card its own layer so the hover transform/box-shadow repaint
	   stays isolated from the perpetually-animating hero region above it. */
	will-change: transform;
}
.dd-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 70px -22px rgba(13, 27, 46, 0.55);
	color: inherit;
}
.dd-card:hover .dd-card__media > * { transform: scale(1.05); }
.dd-card:hover .dd-card__name { color: var(--wp--preset--color--burnt-orange); }

.dd-card__media {
	position: relative;
	height: 360px;
	background-color: var(--wp--preset--color--midnight-blue);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}
.dd-card__media::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(13, 27, 46, 0.75) 100%);
	transition: background 300ms ease;
}
.dd-card__media--empty {
	background: var(--dd-gradient-midnight);
	display: grid;
	place-items: center;
}
.dd-card__media-placeholder {
	color: var(--wp--preset--color--soft-gold);
	opacity: 0.5;
	display: grid;
	place-items: center;
	width: 100%; height: 100%;
}
.dd-card__badge {
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background: var(--wp--preset--color--soft-gold);
	color: var(--wp--preset--color--midnight-blue);
	font-size: 0.6rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 700;
	padding: 0.35rem 0.6rem;
	border-radius: 2px;
	z-index: 2;
}

.dd-card__body {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 1.25rem 1.25rem 1.35rem;
	z-index: 2;
	color: #fff;
}
.dd-card__city {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.65rem;
	letter-spacing: 0.22em;
	font-weight: 700;
	color: var(--wp--preset--color--soft-gold);
	margin-bottom: 0.4rem;
}
.dd-card__city--accent { color: var(--wp--preset--color--burnt-orange); }
.dd-card__name {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 1.4rem;
	line-height: 1.1;
	margin: 0 0 0.35rem;
	color: #fff;
	transition: color 200ms ease;
}
.dd-card__services {
	display: block;
	font-size: 0.78rem;
	color: rgba(246, 241, 232, 0.78);
	letter-spacing: 0.02em;
}

.dd-card--placeholder { border: 1px dashed rgba(205, 170, 103, 0.5); background: transparent; box-shadow: none; }

/* ============================================================
   TRUST SECTION
   ============================================================ */

.dd-trust {
	position: relative;
	overflow: hidden;
	padding-block: clamp(5rem, 10vw, 8rem);
	background:
		linear-gradient(180deg, #0A1525 0%, #0D1B2E 60%, #060C16 100%);
	color: #fff;
	isolation: isolate;
	content-visibility: auto;
	contain-intrinsic-size: 100% 900px;
}
.dd-trust__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(ellipse at 15% 10%, rgba(205, 170, 103, 0.22) 0%, transparent 50%),
		radial-gradient(ellipse at 85% 90%, rgba(204, 85, 0, 0.14) 0%, transparent 55%);
}
.dd-trust .dd-section-head { margin-bottom: 5rem; }
.dd-trust .dd-section-head__title--ivory {
	font-size: clamp(2rem, 4vw, 3.25rem);
	max-width: 28ch;
	line-height: 1.12;
}
.dd-trust .dd-section-head__lede {
	max-width: 680px;
	color: rgba(246, 241, 232, 0.78);
	font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.dd-pillars {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	counter-reset: pillar;
	border-top: 1px solid rgba(205, 170, 103, 0.15);
	border-left: 1px solid rgba(205, 170, 103, 0.15);
}

.dd-pillar {
	counter-increment: pillar;
	position: relative;
	padding: 2.5rem 2rem 2.75rem;
	border-right: 1px solid rgba(205, 170, 103, 0.15);
	border-bottom: 1px solid rgba(205, 170, 103, 0.15);
	background: rgba(246, 241, 232, 0.015);
	transition: background 350ms ease, transform 350ms ease;
	overflow: hidden;
}
.dd-pillar::before {
	content: counter(pillar, decimal-leading-zero);
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 1.05rem;
	font-style: italic;
	color: var(--wp--preset--color--soft-gold);
	opacity: 0.55;
	letter-spacing: 0.05em;
}
.dd-pillar::after {
	content: "";
	position: absolute;
	left: 2rem;
	bottom: 0;
	height: 2px;
	width: 0;
	background: linear-gradient(90deg, var(--wp--preset--color--soft-gold) 0%, var(--wp--preset--color--burnt-orange) 100%);
	transition: width 400ms ease;
}
.dd-pillar:hover {
	background: rgba(205, 170, 103, 0.05);
}
.dd-pillar:hover::after { width: calc(100% - 4rem); }
.dd-pillar:hover .dd-pillar__icon {
	background: var(--dd-gradient-gilded);
	color: var(--wp--preset--color--midnight-blue);
	transform: scale(1.05) rotate(-3deg);
}

.dd-pillar__icon {
	display: inline-grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: rgba(205, 170, 103, 0.10);
	color: var(--wp--preset--color--soft-gold);
	border: 1px solid rgba(205, 170, 103, 0.35);
	margin-bottom: 1.5rem;
	transition: background 350ms ease, color 350ms ease, transform 350ms ease;
}
.dd-pillar__title {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: 1.35rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 0.75rem;
	line-height: 1.2;
	letter-spacing: -0.005em;
}
.dd-pillar__body {
	margin: 0;
	font-size: 0.975rem;
	line-height: 1.65;
	color: rgba(246, 241, 232, 0.78);
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.dd-cta {
	position: relative;
	padding-block: clamp(5rem, 9vw, 8rem);
	background: var(--wp--preset--color--charcoal);
	color: var(--wp--preset--color--warm-ivory);
	isolation: isolate;
	content-visibility: auto;
	contain-intrinsic-size: 100% 800px;
}
.dd-cta__bg {
	position: absolute; inset: 0; z-index: -1;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 30% 0%, rgba(205, 170, 103, 0.18) 0%, transparent 55%),
		radial-gradient(ellipse at 80% 100%, rgba(204, 85, 0, 0.14) 0%, transparent 55%),
		linear-gradient(165deg, #1A1A1A 0%, #0D1B2E 100%);
}
.dd-cta__glow {
	position: absolute;
	width: 620px; height: 620px;
	left: 70%; top: 50%;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(205, 170, 103, 0.22) 0%, transparent 70%);
	filter: blur(60px);
	animation: ddPulse 8s ease-in-out infinite alternate;
}
@keyframes ddPulse {
	from { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); }
	to   { opacity: 1;    transform: translate(-50%, -50%) scale(1.10); }
}
.dd-cta__pattern {
	position: absolute; inset: 0;
	opacity: 0.04;
	background-image:
		linear-gradient(45deg, var(--wp--preset--color--soft-gold) 25%, transparent 25%),
		linear-gradient(-45deg, var(--wp--preset--color--soft-gold) 25%, transparent 25%);
	background-size: 32px 32px;
}

.dd-cta__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2.5rem, 5vw, 5rem);
	align-items: center;
	text-align: left;
}
.dd-cta__inner--no-image {
	grid-template-columns: 1fr;
	text-align: center;
	max-width: 860px;
	margin-inline: auto;
}

.dd-cta__media {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 4px;
	overflow: hidden;
	box-shadow:
		0 40px 90px -40px rgba(0, 0, 0, 0.9),
		0 0 0 1px rgba(205, 170, 103, 0.25);
}
.dd-cta__media::before {
	content: "";
	position: absolute;
	inset: -1px;
	border: 1px solid rgba(205, 170, 103, 0.45);
	border-radius: 4px;
	pointer-events: none;
	z-index: 3;
}
.dd-cta__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, transparent 0%, transparent 60%, rgba(13, 27, 46, 0.45) 100%);
	z-index: 2;
}
.dd-cta__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 12s ease-out;
}
.dd-cta:hover .dd-cta__media img { transform: scale(1.06); }
.dd-cta__media-corner {
	position: absolute;
	z-index: 4;
	width: 32px;
	height: 32px;
	border: 1px solid var(--wp--preset--color--soft-gold);
}
.dd-cta__media-corner--tl { top: 12px; left: 12px;  border-right: none; border-bottom: none; }
.dd-cta__media-corner--br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.dd-cta__content {
	max-width: 580px;
}

.dd-cta__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--wp--preset--color--soft-gold);
	font-size: 0.72rem;
	letter-spacing: 0.34em;
	text-transform: uppercase;
	margin-bottom: 1.5rem;
	font-weight: 700;
}
.dd-cta__eyebrow .dd-hairline { background: var(--wp--preset--color--soft-gold); width: 36px; }

.dd-cta__title {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: clamp(2rem, 3.3vw, 3rem);
	line-height: 1.1;
	color: #fff;
	margin: 0 0 2rem;
	max-width: 22ch;
	padding-right: 1.25em;
	padding-bottom: 0.1em;
	letter-spacing: -0.01em;
	overflow-wrap: break-word;
	overflow: visible;
	text-wrap: balance;
}
.dd-cta__inner--no-image .dd-cta__title {
	max-width: 20ch;
}
.dd-cta__inner--no-image .dd-cta__title { margin-inline: auto; }

.dd-cta__gilded {
	background: var(--dd-gradient-gilded);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-style: italic;
	/* Extend the background box past the italic glyphs so the
	   gradient actually covers their right overhang — otherwise
	   background-clip: text leaves the protruding part of the
	   italic letter without a gradient to show through, making
	   it look chopped on the right edge. */
	padding-right: 0.25em;
	margin-right: -0.25em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.dd-cta__copy {
	margin: 0 0 2.5rem;
	color: rgba(246, 241, 232, 0.82);
	font-size: 1.0625rem;
	line-height: 1.75;
}
.dd-cta__copy p + p { margin-top: 1rem; }
.dd-cta__inner--no-image .dd-cta__copy { max-width: 720px; margin-inline: auto; margin-bottom: 2.5rem; }

.dd-cta__actions {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.dd-cta__inner--no-image .dd-cta__actions { justify-content: center; }

.dd-btn--lg { padding: 1.1rem 2.25rem; font-size: 0.9rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
	.dd-hero-search { grid-template-columns: 1fr 1fr; }
	.dd-hero-search__submit { grid-column: 1 / -1; }
	.dd-pillars { grid-template-columns: repeat(2, 1fr); }
	.dd-cta__inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
	.dd-cta__media { max-width: 480px; margin-inline: auto; }
	.dd-cta__title, .dd-cta__copy { max-width: none; margin-inline: auto; }
	.dd-cta__actions { justify-content: center; }
}

@media (max-width: 700px) {
	.dd-hero:not(.dd-hero--has-image) { min-height: auto; padding-block: 6rem; }
	.dd-hero-search { grid-template-columns: 1fr; }
	.dd-section-head { flex-direction: column; align-items: flex-start; }
	.dd-card { flex: 0 0 78vw; }
	.dd-card__media { height: 320px; }
	.dd-carousel__nav { display: none; }
	.dd-pillars { grid-template-columns: 1fr; }
	.dd-pillar { padding: 2rem 1.5rem 2.25rem; }
	.dd-cta__copy { text-align: left; font-size: 1rem; }
	.dd-cta__inner { gap: 2.5rem; }
	.dd-cta__actions { display: flex; width: 100%; }
	.dd-cta__actions .dd-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	[data-dd-anim] { opacity: 1; transform: none; transition: none; }
	.dd-hero__glow, .dd-cta__glow, .dd-hero__scroll span,
	.dd-hero__image, .dd-cta__media img { animation: none; transition: none; }
}
