/* Delovely — main stylesheet. Cream and photography carry the page; teal for
   feature sections; DD fuchsia only where we want a click. */

:root {
	--dd-cream: #FAF5EB;
	--dd-paper: #FFFDF8;
	--dd-ink: #1F1A1C;
	--dd-muted: #5A5052;
	--dd-line: rgba(31, 26, 28, .14);
	--dd-fuchsia: #B5176A;
	--dd-fuchsia-dark: #8F1254;
	--dd-teal: #145848;
	--dd-teal-soft: #2B6B5B;
	--dd-gold: #B8892F;
	--dd-gold-text: #8A5A12;
	--dd-gold-light: #F0D59A;
	--dd-empty: #E6DDCD;
	--dd-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--dd-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--dd-label: 'Archivo', system-ui, sans-serif;
	--dd-wrap: 1240px;
	--dd-gutter: clamp(16px, 4vw, 32px);
	--dd-radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--dd-cream); color: var(--dd-ink); font-family: var(--dd-sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--dd-fuchsia); }
:focus-visible { outline: 3px solid var(--dd-fuchsia); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dd-skip { position: absolute; left: -9999px; top: 8px; background: var(--dd-ink); color: #fff; padding: 10px 16px; z-index: 100; }
.dd-skip:focus { left: 8px; color: #fff; }

.dd-wrap { max-width: var(--dd-wrap); margin: 0 auto; padding: 0 var(--dd-gutter); }
.dd-center { text-align: center; }

/* ---------- Type ---------- */
.dd-h1 { font-family: var(--dd-serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 16px; }
.dd-h1--big { font-size: clamp(40px, 5.6vw, 76px); }
.dd-h2 { font-family: var(--dd-serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 24px; }
.dd-h2--big { font-size: clamp(32px, 3.8vw, 54px); }
.dd-rule { display: flex; align-items: center; gap: 20px; }
.dd-rule::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--dd-gold); }
.dd-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--dd-label); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dd-gold-text); }
.dd-eyebrow::before, .dd-eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--dd-gold); }
.dd-eyebrow--plain::before, .dd-eyebrow--plain::after, .dd-eyebrow--gold::before, .dd-eyebrow--gold::after, .dd-eyebrow--light::before, .dd-eyebrow--light::after { display: none; }
.dd-eyebrow--gold { color: var(--dd-gold-light); margin: 0; }
.dd-eyebrow--light { color: #FFE3F0; }
.dd-sub, .dd-lead { font-size: 19px; color: var(--dd-muted); max-width: 46em; }
.dd-center .dd-sub { margin-left: auto; margin-right: auto; }
.dd-fine { font-size: 14px; color: var(--dd-muted); }
.dd-key { text-align: center; color: var(--dd-muted); font-size: 15px; margin-top: 28px; }
.dd-key em { font-family: var(--dd-serif); font-size: 17px; }

/* ---------- Buttons and links ---------- */
.dd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--dd-radius); background: var(--dd-fuchsia); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: background .15s ease; }
.dd-btn:hover, .dd-btn:focus { background: var(--dd-fuchsia-dark); color: #fff; }
.dd-btn--small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.dd-btn--light { background: #fff; color: var(--dd-ink); }
.dd-btn--light:hover, .dd-btn--light:focus { background: var(--dd-cream); color: var(--dd-ink); }
.dd-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; line-height: 1.2; padding: 10px 0 2px; }
.dd-link--light { color: #fff; }
.dd-link--light:hover { color: var(--dd-gold-light); }

/* ---------- Header ---------- */
.dd-header { background: var(--dd-cream); border-bottom: 1px solid var(--dd-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .dd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dd-header { top: 0; position: relative; } }
.dd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.dd-wordmark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--dd-serif); font-weight: 600; font-size: 28px; letter-spacing: -.015em; text-decoration: none; color: var(--dd-ink); white-space: nowrap; }
.dd-mark { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.dd-wordmark--small .dd-mark { width: 34px; height: 34px; }
@media (max-width: 420px) { .dd-wordmark { font-size: 23px; gap: 10px; } .dd-mark { width: 34px; height: 34px; } }
.dd-wordmark:hover { color: var(--dd-ink); }
.dd-wordmark--small { font-size: 22px; }
.dd-nav { display: flex; align-items: center; gap: 8px 22px; }
.dd-nav__list { display: flex; align-items: center; gap: 4px 22px; list-style: none; margin: 0; padding: 0; }
.dd-nav__list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; }
.dd-nav__list .current-menu-item > a, .dd-nav__list a[aria-current] { color: var(--dd-fuchsia); }
.dd-search { position: relative; display: flex; align-items: center; min-width: 44px; justify-content: flex-end; }
.dd-search input { width: 0; opacity: 0; border: 1px solid transparent; padding: 0; height: 40px; border-radius: 20px; font: inherit; font-size: 15px; background: #fff; transition: width .2s ease, opacity .2s ease, padding .2s ease; }
.dd-search:focus-within input, .dd-search.is-open input { width: 220px; opacity: 1; padding: 0 40px 0 14px; border-color: var(--dd-line); }
.dd-search button { position: absolute; right: 0; width: 44px; height: 44px; border: 0; background: transparent; color: var(--dd-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dd-nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.dd-nav-toggle__bars, .dd-nav-toggle__bars::before, .dd-nav-toggle__bars::after { display: block; width: 22px; height: 2px; background: var(--dd-ink); position: relative; margin: 0 auto; content: ""; transition: transform .2s ease; }
.dd-nav-toggle__bars::before { position: absolute; top: -7px; }
.dd-nav-toggle__bars::after { position: absolute; top: 7px; }
@media (max-width: 960px) {
	.dd-nav-toggle { display: block; }
	.dd-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dd-cream); border-bottom: 1px solid var(--dd-line); flex-direction: column; align-items: stretch; padding: 8px var(--dd-gutter) 20px; }
	.dd-nav.is-open { display: flex; }
	.dd-nav__list { flex-direction: column; align-items: stretch; }
	.dd-nav__list a { width: 100%; border-bottom: 1px solid var(--dd-line); }
	.dd-search input, .dd-search:focus-within input { width: 100%; opacity: 1; padding: 0 44px 0 14px; border-color: var(--dd-line); height: 46px; }
	.dd-search { width: 100%; margin: 12px 0; }
	.dd-nav .dd-btn { width: 100%; }
}

/* ---------- Photos ---------- */
.dd-photo { position: relative; overflow: hidden; background: var(--dd-empty); border-radius: 2px; }
.dd-photo__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dd-photo--empty { display: flex; align-items: center; justify-content: center; background-color: var(--dd-empty); background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(184, 137, 47, .14) 18px 19px); }
.dd-photo__mark { font-family: var(--dd-serif); font-size: 44px; color: rgba(138, 90, 18, .35); }

/* ---------- Hero ---------- */
.dd-hero { position: relative; background: #E9E1D2; overflow: hidden; }
.dd-hero__inner { position: relative; z-index: 1; text-align: center; padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(200px, 25vw, 340px); }
.dd-hero:not(.dd-hero--photo) .dd-hero__inner { padding-bottom: clamp(56px, 8vw, 100px); }
.dd-hero__bg { position: absolute !important; inset: 0; aspect-ratio: auto !important; border-radius: 0; }
.dd-hero__bg .dd-photo__img { object-position: center 62%; }
/* One even cream wash over the whole photo: the skyline says "Detroit"
   without competing with the words. */
.dd-hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(250, 245, 235, .74); }
.dd-hero--photo .dd-hero__inner { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(64px, 8vw, 104px); }
.dd-hero--photo .dd-hero__title, .dd-hero--photo .dd-hero__sub { text-shadow: 0 1px 18px rgba(250, 245, 235, .9); }
.dd-hero--photo .dd-hero__sub { font-weight: 500; }
@media (max-width: 700px) {
	.dd-hero--photo .dd-hero__inner { padding-top: 44px; padding-bottom: 56px; }
	.dd-hero__bg::after { background: rgba(250, 245, 235, .8); }
	.dd-hero .dd-eyebrow::before, .dd-hero .dd-eyebrow::after { display: none; }
	.dd-hero__actions { gap: 4px; }
}
/* Drawn skyline hero: an original line drawing of the riverfront (Ambassador
   Bridge, Penobscot, Guardian, One Detroit Center, Renaissance Center) in the
   DD gold. Color, size and placement are all set here. */
.dd-hero--drawing { background: var(--dd-cream); border-bottom: 1px solid var(--dd-line); --dd-skyline-fill: var(--dd-cream); }
/* Bottom padding = the drawing's height (1180px wide x 340/1600) less a little, so only spire tips rise behind the buttons. */
.dd-hero.dd-hero--drawing .dd-hero__inner { padding-top: clamp(48px, 5.5vw, 72px); padding-bottom: 228px; }
.dd-hero__skyline { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(1180px, 170%); color: #C9A35A; pointer-events: none;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); }
.dd-hero__skyline svg { display: block; width: 100%; height: auto; }
@media (max-width: 700px) {
	.dd-hero.dd-hero--drawing .dd-hero__inner { padding-top: 40px; padding-bottom: 158px; }
	.dd-hero__skyline { width: 820px; }
	.dd-hero--drawing .dd-eyebrow::before, .dd-hero--drawing .dd-eyebrow::after { display: none; }
}
/* The heartbeat: floors light up, a pulse runs along the river. */
.dd-hero__skyline .dd-skyline .w { transition: stroke .6s ease, opacity .6s ease, stroke-width .6s ease; }
.dd-hero__skyline .dd-skyline .w.is-lit { stroke: var(--dd-fuchsia); opacity: .95; stroke-width: 2; }
.dd-hero__skyline .dd-skyline .dd-pulse { fill: none; stroke: var(--dd-fuchsia); stroke-width: 2; opacity: .75; stroke-linecap: round; stroke-linejoin: round; }
.dd-beat { position: absolute; z-index: 2; right: max(16px, calc((100% - var(--dd-wrap)) / 2 + var(--dd-gutter))); bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid rgba(31, 26, 28, .18); background: rgba(250, 245, 235, .92); color: var(--dd-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.dd-beat:hover { border-color: var(--dd-fuchsia); color: var(--dd-fuchsia); }
.dd-beat[aria-pressed="true"] { background: var(--dd-fuchsia); border-color: var(--dd-fuchsia); color: #fff; }
.dd-beat__icon { flex: 0 0 auto; display: block; }
.dd-beat .dd-beat__on { display: none; }
.dd-beat[aria-pressed="true"] .dd-beat__on { display: inline; }
.dd-beat[aria-pressed="true"] .dd-beat__off { display: none; }
@media (max-width: 700px) { .dd-beat { bottom: 10px; right: 12px; min-height: 36px; font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .dd-hero__skyline .dd-skyline .w { transition: none; } }

/* Night palettes by season. The hero takes on the colors of the season automatically
   (or as set in Appearance → Customize → Delovely hero). "Night" is the original plum look. */
.dd-hero--night, .dd-hero--night.dd-season--night {
	--n-bg-top: #24152A; --n-bg: #2E1B33; --n-car: #3B2541; --n-line: #E0BC72; --n-eyebrow: #F0D59A;
	--n-lo: #3CC4A6; --n-mid: #F0C152; --n-hi: #FF5DA8; --n-bulb: #FFF3D1; --n-bulb-hot: #FF8CC2;
	--n-glow-a: rgba(240, 193, 82, .26); --n-glow-b: rgba(200, 32, 122, .16);
}
/* Spring: Easter pastels on a lavender dusk — mint, butter yellow, soft pink. */
.dd-hero--night.dd-season--spring {
	--n-bg-top: #221E3A; --n-bg: #2D2849; --n-car: #3B3560; --n-line: #E6D3A8; --n-eyebrow: #F3E3B8;
	--n-lo: #8FE3C0; --n-mid: #FFE38A; --n-hi: #FFA6CF; --n-bulb: #FFF0F7; --n-bulb-hot: #FFB8DA;
	--n-glow-a: rgba(190, 170, 255, .26); --n-glow-b: rgba(255, 166, 207, .20);
}
/* Summer: growth — a deep green night, leaf-green and sunflower meters, sunshine glow. */
.dd-hero--night.dd-season--summer {
	--n-bg-top: #0E2117; --n-bg: #143021; --n-car: #1E4430; --n-line: #F2C94C; --n-eyebrow: #FFE08A;
	--n-lo: #6BD86B; --n-mid: #FFD23F; --n-hi: #FF5DA8; --n-bulb: #FFF6C8; --n-bulb-hot: #FFE066;
	--n-glow-a: rgba(255, 214, 80, .30); --n-glow-b: rgba(110, 220, 110, .18);
}
/* Fall: fallen leaves — russet-brown sky, copper lines, burnt orange, gold and red. */
.dd-hero--night.dd-season--fall {
	--n-bg-top: #21140B; --n-bg: #2E1C10; --n-car: #43291A; --n-line: #D98E4A; --n-eyebrow: #F2BE7E;
	--n-lo: #E06A2C; --n-mid: #F2B33D; --n-hi: #D7392F; --n-bulb: #FFD9A0; --n-bulb-hot: #FF7A3D;
	--n-glow-a: rgba(235, 120, 45, .32); --n-glow-b: rgba(200, 50, 40, .20);
}
/* Winter: Michigan gray — slate sky, silver lines, steel meters, a touch of rose. */
.dd-hero--night.dd-season--winter {
	--n-bg-top: #1C2025; --n-bg: #262B31; --n-car: #343A42; --n-line: #C4CBD3; --n-eyebrow: #E2E7EC;
	--n-lo: #8FA9BF; --n-mid: #E6EBF0; --n-hi: #E58FB0; --n-bulb: #FFFFFF; --n-bulb-hot: #DCE6F0;
	--n-glow-a: rgba(185, 200, 215, .18); --n-glow-b: rgba(150, 160, 175, .12);
}
/* ---------- Every skyline hero at night: the People Mover and the mixing-board skyline ---------- */
.dd-hero.dd-hero--night { --dd-skyline-fill: var(--n-bg); --dd-glow: .8; background: linear-gradient(180deg, var(--n-bg-top) 0%, var(--n-bg) 60%, var(--n-bg) 100%); border-bottom: 0; color: #FAF5EB; }
/* Urban glow rising from behind the skyline; it breathes a little with the kick drum. */
.dd-hero--night::before { content: ""; position: absolute; left: 56%; bottom: 0; width: min(1500px, 220%); height: min(560px, 100%); transform: translateX(-50%); pointer-events: none; opacity: var(--dd-glow);
	background: radial-gradient(ellipse 46% 62% at 50% 100%, var(--n-glow-a) 0%, var(--n-glow-b) 42%, transparent 74%); }
.dd-hero--night .dd-hero__skyline { color: var(--n-line); }
.dd-hero--night .dd-eyebrow { color: var(--n-eyebrow); }
.dd-hero--night .dd-eyebrow::before, .dd-hero--night .dd-eyebrow::after { background: var(--n-line); }
.dd-hero--night .dd-hero__title { color: #FAF5EB; }
.dd-hero--home .dd-hero__title { font-size: clamp(38px, calc(4.2vw + 10px), 84px); max-width: none; text-wrap: balance; } /* fluid: one line from about 800px wide up, balanced lines below */
.dd-hero--night .dd-hero__sub { color: rgba(250, 245, 235, .84); }
.dd-hero--night .dd-btn { background: #C8207A; }
.dd-hero--night .dd-btn:hover, .dd-hero--night .dd-btn:focus { background: #E0398F; }
.dd-hero--night .dd-link { color: #FAF5EB; }
.dd-hero--night .dd-link:hover { color: var(--n-eyebrow); }
.dd-hero--night .dd-beat { border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #FAF5EB; }
.dd-hero--night .dd-beat:hover { border-color: var(--n-hi); color: #FFD3E8; }
.dd-hero--night .dd-beat[aria-pressed="true"] { background: #C8207A; border-color: #C8207A; color: #fff; }
.dd-hero--night :focus-visible { outline: 3px solid rgba(255, 93, 168, .55); outline-offset: 2px; }
/* Drawing additions (two classes beat the drawing's own catch-all rule). */
.dd-hero--night .dd-skyline .pm-beam, .dd-hero--night .dd-skyline .pm-station { fill: var(--n-bg); stroke: currentColor; stroke-width: 1.3; }
.dd-hero--night .dd-skyline .pm-col { stroke: currentColor; stroke-width: 1.2; opacity: .8; }
.dd-hero--night .dd-skyline .pm-car { fill: var(--n-car); stroke: currentColor; stroke-width: 1.5; }
.dd-hero--night .dd-skyline .pm-win { fill: none; stroke: currentColor; stroke-width: .9; opacity: .75; }
.dd-hero--night .dd-skyline .pm-stripe { stroke: var(--n-hi); stroke-width: 1.4; opacity: .6; }
.dd-hero--night .dd-skyline .pm-wheel { stroke: currentColor; stroke-width: 1.4; }
.dd-hero--night .dd-skyline .pm-heart { fill: var(--n-hi); stroke: none; }
.dd-hero--night .dd-skyline .pm-glow { fill: var(--n-hi); stroke: none; opacity: 0; }
.dd-hero--night .dd-skyline .pm-seg { stroke-width: 2.6; stroke-linecap: butt; opacity: 0; transition: opacity .08s linear; }
.dd-hero--night .dd-skyline .pm-seg.on { opacity: .95; }
.dd-hero--night .dd-skyline .pm-seg--lo { stroke: var(--n-lo); }
.dd-hero--night .dd-skyline .pm-seg--mid { stroke: var(--n-mid); }
.dd-hero--night .dd-skyline .pm-seg--hi { stroke: var(--n-hi); }
.dd-hero--night .dd-skyline .pm-dot { fill: var(--n-line); stroke: none; }
.dd-hero--night .dd-skyline .pm-dot.hot { fill: var(--n-hi); }
.dd-hero--night .dd-skyline.has-river .r { opacity: .18; }
.dd-hero--night .dd-skyline .pm-bulb { fill: var(--n-bulb); stroke: none; filter: drop-shadow(0 0 3px rgba(255, 220, 150, .85)); }
.dd-hero--night .dd-skyline .pm-bulb.hot { fill: var(--n-bulb-hot); filter: drop-shadow(0 0 4px rgba(255, 93, 168, .9)); }
/* Show the whole skyline, bridge included: only a whisper of fade at the edges. */
.dd-hero--night .dd-hero__skyline { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2.5%, #000 97.5%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 2.5%, #000 97.5%, transparent 100%); }
/* The play button now sits in the action row, never over the drawing. */
.dd-hero--night .dd-beat { position: static; transform: none; }
/* Under 1000px the drawing is a fixed 1180px (251px tall), and 820px (174px tall) on phones. */
@media (min-width: 701px) and (max-width: 999px) { .dd-hero.dd-hero--home .dd-hero__inner { padding-bottom: 262px; } }
@media (max-width: 700px) { .dd-hero.dd-hero--home .dd-hero__inner { padding-bottom: 184px; } }
/* Wide screens: the skyline grows with the screen (up to its full 1600px drawing),
   the hero makes room for it, and the street line runs edge to edge. Drawing height = width x 340/1600. */
@media (min-width: 1000px) {
	.dd-hero--home { --sky-w: min(1600px, 100vw); }
	.dd-hero--home .dd-hero__skyline { width: var(--sky-w); z-index: 0;
		-webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 98.5%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 98.5%, transparent 100%); }
	/* Room for the tallest spire (90% of the drawing's height) plus breathing space under the buttons. */
	.dd-hero.dd-hero--home .dd-hero__inner { padding-bottom: calc(var(--sky-w) * .19125 + 36px); }
	/* The street keeps going past the drawing's ends: 54 of 340 units up from the bottom. */
	.dd-hero--home::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--sky-w) * .03375 - 1px); height: 1.6px; background: var(--n-line); opacity: .9; pointer-events: none; }
	.dd-hero--home::before { width: max(1500px, calc(var(--sky-w) * 1.1)); height: calc(var(--sky-w) * .32); }
}
/* Shared inner-page hero: same skyline, a size down. Drawing = 900px x 340/1600 = 191px tall. */
.dd-hero--page .dd-hero__skyline { width: min(900px, 150%); }
.dd-hero.dd-hero--page .dd-hero__inner { padding-top: clamp(44px, 5.5vw, 72px); padding-bottom: 196px; }
.dd-hero--page .dd-hero__title { font-size: clamp(34px, 3.9vw, 54px); line-height: 1.08; letter-spacing: -.02em; max-width: 17em; margin: 0 auto 18px; text-wrap: balance; }
.dd-hero--page .dd-hero__sub { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; margin: 0 auto 10px; max-width: 34em; color: var(--dd-ink); text-wrap: pretty; }
.dd-hero--page .dd-hero__sub:last-child { margin-bottom: 0; }
.dd-hero--page .dd-hero__sub em { color: var(--dd-muted); font-size: 15px; }
.dd-hero--page .dd-hero__sub:has(> em:only-child) { margin-top: 10px; }
.dd-hero--page .dd-tabs, .dd-hero--page .dd-arch-guide { margin-top: 22px; }
.dd-hero--page iframe { display: block; margin: 22px auto 0; max-width: 520px; width: 100%; }
.dd-hero--page .dd-signup { margin-top: 26px; }
.dd-page--after-hero { padding-top: clamp(48px, 7vw, 88px); }
@media (max-width: 700px) {
	.dd-hero--page .dd-hero__skyline { width: 640px; }
	.dd-hero.dd-hero--page .dd-hero__inner { padding-top: 36px; padding-bottom: 140px; }
	.dd-hero--page .dd-hero__title br { display: none; }
}

/* Landing pages built with blocks: every band spans the page, with the
   homepage's section padding and side gutters; text columns stay centered. */
.dd-landing { max-width: none; padding-bottom: 0; }
.dd-landing > * { max-width: var(--dd-wrap); margin-left: auto; margin-right: auto; padding-left: var(--dd-gutter); padding-right: var(--dd-gutter); box-sizing: border-box; }
.dd-landing > p:empty, .dd-landing > style, .dd-landing > script { display: none; }
.dd-landing > .wp-block-group, .dd-landing > .wp-block-cover, .dd-landing > section, .dd-landing > .alignfull { max-width: none; margin-top: 0 !important; margin-bottom: 0 !important; padding: clamp(48px, 7vw, 88px) var(--dd-gutter) !important; }
.dd-landing > .wp-block-group:not(.has-background) + .wp-block-group:not(.has-background),
.dd-landing > .wp-block-group:not(.has-background) + p:empty + .wp-block-group:not(.has-background) { padding-top: 0 !important; }
.dd-landing > :last-child:not(.has-background) { padding-bottom: clamp(64px, 8vw, 104px) !important; }
.dd-landing .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { margin-left: auto !important; margin-right: auto !important; }
.dd-landing .is-layout-constrained > .alignwide { max-width: calc(var(--dd-wrap) - 2 * var(--dd-gutter)); }
.dd-landing > .wp-block-group:not(.is-layout-constrained) > * { max-width: calc(var(--dd-wrap) - 2 * var(--dd-gutter)); margin-left: auto; margin-right: auto; }
/* Block buttons look like the theme's buttons. */
.dd-prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; border-radius: var(--dd-radius); background: var(--dd-fuchsia); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; }
.dd-prose .wp-block-button__link:hover, .dd-prose .wp-block-button__link:focus { background: var(--dd-fuchsia-dark); color: #fff; }
.dd-prose .dd-btn-light .wp-block-button__link { background: #fff; color: var(--dd-ink); }
.dd-prose .dd-btn-light .wp-block-button__link:hover { background: var(--dd-cream); color: var(--dd-ink); }
/* Cream cards inside cream bands: give them an edge so they read as cards. */
.dd-landing .wp-block-group .wp-block-group[style*="#FBF3E9" i], .dd-landing .wp-block-group .wp-block-column[style*="#FBF3E9" i] { background: var(--dd-paper) !important; border: 1px solid var(--dd-line); border-radius: 14px; }
.dd-landing .wp-block-columns { gap: clamp(24px, 4vw, 56px); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.dd-landing > .wp-block-group > :first-child { margin-top: 0; }
.dd-landing > .wp-block-group > :last-child { margin-bottom: 0; }
.dd-hero__title { font-family: var(--dd-serif); font-weight: 400; font-size: clamp(44px, 6vw, 82px); line-height: 1.02; letter-spacing: -.025em; margin: 0 auto 16px; max-width: 13em; }
.dd-hero__sub { font-size: 20px; margin: 0 auto 26px; max-width: 32em; }
.dd-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 24px; }

/* ---------- Sections and grids ---------- */
.dd-section { padding: clamp(48px, 7vw, 88px) 0; }
.dd-section--tight { padding-top: 0; }
.dd-section--paper { background: var(--dd-paper); border-top: 1px solid var(--dd-line); border-bottom: 1px solid var(--dd-line); }
.dd-section--teal { background: var(--dd-teal); color: #fff; }
.dd-section--teal .dd-sub { color: #DCEBE5; }
.dd-section--join { border-top: 1px solid var(--dd-line); }
.dd-grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.dd-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.dd-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.dd-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dd-grid--moods { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; }
@media (min-width: 720px) { .dd-grid--moods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .dd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .dd-grid--moods { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 420px) { .dd-grid--4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.dd-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--dd-ink); min-width: 0; }
.dd-card:hover { color: var(--dd-ink); }
.dd-card:hover .dd-photo__img { transform: scale(1.03); }
.dd-card:hover .dd-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dd-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.dd-card__title { font-family: var(--dd-serif); font-weight: 400; font-size: 24px; line-height: 1.15; margin: 0; }
.dd-card__title--serif { font-size: 22px; }
.dd-card__title--sans { font-family: var(--dd-sans); font-weight: 600; font-size: 18px; }
.dd-card__line { font-family: var(--dd-serif); font-size: 19px; }
.dd-card__dek { margin: 0; color: var(--dd-muted); font-size: 15px; line-height: 1.5; }
.dd-card__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; }
.dd-card--onteal, .dd-card--onteal:hover { color: #fff; }
.dd-card--onteal .dd-photo { background: var(--dd-teal-soft); }
.dd-card--onteal .dd-photo--empty { background-color: var(--dd-teal-soft); }
.dd-cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--dd-label); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #3A3133; }
.dd-cat i { display: inline-block; width: 18px; height: 4px; }
.dd-tier { font-family: var(--dd-label); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dd-muted); }
.dd-tier--been { color: var(--dd-teal); }
.dd-status { display: inline-block; font-family: var(--dd-label); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 12px; background: #EFE8DA; color: var(--dd-muted); }
.dd-status--current { background: #DCEDE7; color: var(--dd-teal); }
.dd-status--upcoming { background: #F7EAD2; color: var(--dd-gold-text); }
.dd-status--ended { background: #F1E1E1; color: #8A2424; }

/* ---------- Feature panel ---------- */
.dd-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); overflow: hidden; border-radius: 2px; }
.dd-feature__text { background: var(--dd-fuchsia); color: #fff; padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
.dd-feature__title { font-family: var(--dd-serif); font-weight: 400; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.04; margin: 0; letter-spacing: -.015em; }
.dd-feature__kicker { font-family: var(--dd-serif); font-style: italic; font-weight: 300; font-size: 26px; margin: 0 0 6px; }
.dd-feature__dek { margin: 0 0 10px; color: #FCE7F1; }
.dd-feature__photo { height: 100%; aspect-ratio: auto !important; min-height: 320px; border-radius: 0; }

/* ---------- Towns row ---------- */
.dd-towns { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 20px; margin-top: 32px; }
.dd-towns a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 500; }
.dd-towns .dd-link { color: var(--dd-fuchsia); }

/* ---------- Season block ---------- */
.dd-season-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; border-bottom: 1px solid var(--dd-gold); margin-bottom: 28px; }
.dd-season-head .dd-h2 { margin: 0 0 10px; }
.dd-tabs { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.dd-tabs--center { justify-content: center; margin-top: 18px; }
.dd-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; text-decoration: none; color: var(--dd-muted); font-weight: 500; font-size: 15px; border-bottom: 2px solid transparent; }
.dd-tab.is-current { color: var(--dd-gold-text); font-weight: 700; border-bottom-color: #D49A1E; }
.dd-tab__now { font-family: var(--dd-label); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; background: #F7EAD2; color: var(--dd-gold-text); padding: 2px 6px; border-radius: 8px; }
.dd-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-top: 28px; background: #F2E8D3; text-decoration: none; color: var(--dd-ink); }
.dd-next:hover { color: var(--dd-ink); }
.dd-next__photo { aspect-ratio: auto !important; min-height: 200px; height: 100%; border-radius: 0; }
.dd-next__text { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 32px 36px; }
.dd-next__title { font-family: var(--dd-serif); font-size: 34px; line-height: 1.05; }
.dd-next__line { font-family: var(--dd-serif); color: var(--dd-muted); }
.dd-next .dd-link { color: var(--dd-gold-text); align-self: flex-start; }

/* ---------- Join ---------- */
/* The newsletter band above the footer, on every page. */
.dd-signup-band { background: var(--dd-paper); border-top: 1px solid var(--dd-line); padding: clamp(48px, 7vw, 88px) 0; }
.dd-signup-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 5vw, 72px); align-items: center; }
.dd-signup-band__title { font-family: var(--dd-serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 12px; text-wrap: balance; }
.dd-signup-band__sub { margin: 0; font-size: 18px; line-height: 1.6; color: var(--dd-muted); max-width: 34em; }
.dd-signup-band .dd-signup { margin: 0; max-width: none; }
.dd-signup-band .dd-signup__note { text-align: left; padding-left: 22px; }
@media (max-width: 900px) {
	.dd-signup-band__inner { grid-template-columns: 1fr; text-align: center; }
	.dd-signup-band__sub { margin: 0 auto; }
	.dd-signup-band .dd-signup { max-width: 540px; margin: 0 auto; }
	.dd-signup-band .dd-signup__note { text-align: center; padding-left: 0; }
}

/* ---------- Pages, articles, stories ---------- */
.dd-page { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.dd-page__head { margin-bottom: 32px; }
.dd-article { max-width: 860px; margin: 0 auto; }
.dd-article__photo { margin: 0 0 32px; }
.dd-prose { font-size: 18px; line-height: 1.7; max-width: 720px; }
.dd-prose--wide { max-width: none; }
.dd-prose h2 { font-family: var(--dd-serif); font-weight: 400; font-size: 32px; line-height: 1.15; margin: 1.6em 0 .5em; }
.dd-prose h3 { font-family: var(--dd-serif); font-weight: 600; font-size: 23px; margin: 1.4em 0 .4em; }
.dd-prose a { color: var(--dd-fuchsia); }
.dd-prose a:hover { color: var(--dd-fuchsia-dark); }
.dd-prose img { border-radius: 2px; }
.dd-prose blockquote { border-left: 3px solid var(--dd-gold); margin: 1.4em 0; padding: 0 0 0 20px; font-family: var(--dd-serif); font-size: 22px; }
.dd-story__head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 24px; max-width: 900px; }
.dd-story__crumbs { font-family: var(--dd-label); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.dd-story__crumbs a { color: var(--dd-gold-text); text-decoration: none; }
.dd-story__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 16px 0 0; }
.dd-story__photo { margin-bottom: 40px; }
.dd-story__body { padding-bottom: 32px; }
.dd-notice { background: #F1E1E1; color: #6E1C1C; padding: 12px 16px; border-radius: var(--dd-radius); margin: 20px 0 0; }
.dd-notice a { color: inherit; font-weight: 600; }
.dd-past__list { list-style: none; margin: 0; padding: 0; columns: 2 280px; column-gap: 40px; }
.dd-past__list li { padding: 8px 0; border-bottom: 1px solid var(--dd-line); break-inside: avoid; }
.dd-pager { margin-top: 40px; text-align: center; }
.dd-pager .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; text-decoration: none; }
.dd-pager .current { font-weight: 700; color: var(--dd-fuchsia); }

/* ---------- Footer ---------- */
.dd-footer { background: var(--dd-ink); color: #E9E1E3; padding: 56px 0 40px; }
.dd-footer a { color: #fff; }
.dd-footer a:hover { color: var(--dd-gold-light); }
.dd-footer__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; }
.dd-footer .dd-wordmark { color: #fff; }
.dd-footer__brand p { color: #CFC5C8; }
.dd-footer__nav ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.dd-footer__nav a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }
.dd-footer__fine { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 20px; margin: 0; font-size: 14px; color: #B9AEB1; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================================
   Pass 2: places, archives, towns, guides, and the shortcode pages
   ====================================================================== */

/* ---------- Place page ---------- */
.dd-place__head { padding-top: clamp(36px, 5vw, 64px); padding-bottom: 20px; }
.dd-place__crumbs { font-family: var(--dd-label); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; color: var(--dd-gold-text); }
.dd-place__crumbs a { color: var(--dd-gold-text); text-decoration: none; }
.dd-place__crumbs a:hover { color: var(--dd-fuchsia); }
.dd-place__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.dd-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 15px; font-family: var(--dd-label); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: #EFE8DA; color: var(--dd-muted); }
.dd-badge--been { background: var(--dd-teal); color: #fff; }
.dd-badge--home { background: #F7EAD2; color: var(--dd-gold-text); }
.dd-badge--plain { background: transparent; border: 1px solid var(--dd-line); color: var(--dd-ink); }
.dd-place__hero { margin-bottom: 8px; }
.dd-place__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 8px; }
.dd-place__thumb { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px; }
.dd-place__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.dd-place__thumb:hover img { transform: scale(1.05); }
.dd-place__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 32px; padding-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 960px) { .dd-place__layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; } .dd-place__side { position: sticky; top: 96px; align-self: start; } }
.dd-place__take .dd-h2 { margin-bottom: 12px; }
.dd-place__history { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 32px; margin: 0 0 28px; padding: 18px 20px; background: var(--dd-paper); border-left: 4px solid var(--dd-gold); }
.dd-place__history dt { font-family: var(--dd-label); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dd-gold-text); }
.dd-place__history dd { margin: 4px 0 0; font-family: var(--dd-serif); font-size: 19px; }
.dd-callout { margin: 28px 0; padding: 18px 22px; background: var(--dd-paper); border-left: 4px solid var(--dd-teal); }
.dd-callout--gold { border-left-color: #D49A1E; background: #FBF1DE; }
.dd-callout__label { font-family: var(--dd-label); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dd-gold-text); margin: 0 0 6px; }
.dd-callout p:last-child { margin-bottom: 0; }
.dd-callout a { color: var(--dd-fuchsia); }
.dd-facts { background: #fff; border: 1px solid var(--dd-line); border-radius: 4px; padding: 20px; margin-bottom: 20px; }
.dd-facts__title { font-family: var(--dd-label); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dd-gold-text); margin: 0 0 14px; }
.dd-facts .dd-map { width: 100%; aspect-ratio: 4 / 3; background: var(--dd-empty); border-radius: 2px; margin-bottom: 16px; }
.dd-facts__list { margin: 0; }
.dd-facts__list > div { padding: 10px 0; border-top: 1px solid var(--dd-line); }
.dd-facts__list > div:first-child { border-top: 0; padding-top: 0; }
.dd-facts__list dt { font-size: 13px; color: var(--dd-muted); }
.dd-facts__list dd { margin: 2px 0 0; font-weight: 500; }
.dd-facts__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 16px 0 8px; }
.dd-copy { margin-left: 6px; border: 1px solid var(--dd-line); background: transparent; border-radius: 12px; font: inherit; font-size: 12px; padding: 2px 10px; cursor: pointer; min-height: 28px; }
.dd-copy:hover { border-color: var(--dd-fuchsia); color: var(--dd-fuchsia); }
.dd-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.dd-pill { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 16px; border: 1px solid var(--dd-line); text-decoration: none; font-size: 14px; }
.dd-pill:hover { border-color: var(--dd-fuchsia); }
.dd-pill--teal { background: var(--dd-teal); color: #fff; border-color: var(--dd-teal); }
.dd-pill--teal:hover { background: var(--dd-teal-soft); color: #fff; }
.dd-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 16, 18, .92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.dd-lightbox[hidden] { display: none; }
.dd-lightbox__stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; }
.dd-lightbox img { max-width: min(100%, 1400px); max-height: 82vh; width: auto; object-fit: contain; display: block; }
.dd-lightbox__caption { color: rgba(255,255,255,.85); font-size: 14px; margin: 0; max-width: 60ch; text-align: center; }
.dd-lightbox__count { position: absolute; top: 18px; left: 20px; margin: 0; color: rgba(255,255,255,.85); font-size: 14px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.dd-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.dd-lightbox__nav:hover, .dd-lightbox__nav:focus-visible { background: var(--dd-fuchsia, #B5176A); outline: none; }
.dd-lightbox__nav[hidden] { display: none; }
.dd-lightbox__nav--prev { left: 16px; }
.dd-lightbox__nav--next { right: 16px; }
.dd-lightbox__nav span { margin-top: -4px; }
html.dd-lightbox-open { overflow: hidden; }
.dd-place__hero-link { display: block; position: relative; cursor: zoom-in; }
.dd-place__count { position: absolute; right: 12px; bottom: 12px; background: rgba(20,16,18,.72); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 2px; letter-spacing: .04em; }
.dd-place__thumb { position: relative; }
.dd-place__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(20,16,18,.55); color: #fff; font-size: 20px; font-weight: 600; }
@media (max-width: 600px) { .dd-lightbox { padding: 56px 8px 24px; } .dd-lightbox__nav { width: 44px; height: 44px; font-size: 28px; background: rgba(20,16,18,.55); } .dd-lightbox__nav--prev { left: 6px; } .dd-lightbox__nav--next { right: 6px; } }
.dd-lightbox__close { position: absolute; top: 12px; right: 16px; width: 48px; height: 48px; border: 0; background: transparent; color: #fff; font-size: 36px; cursor: pointer; }

/* ---------- Archives ---------- */
.dd-hero.dd-arch-head { padding: 0; }
.dd-hero--page .dd-lead { margin: 0 auto; }
.dd-arch-head h1[style]::after { content: ""; display: block; width: 64px; height: 5px; background: var(--dd-accent); margin: 16px auto 0; }
.dd-arch-guide { margin: 20px 0 0; }
.dd-arch-guide .dd-eyebrow { margin-bottom: 8px; }
.dd-arch { padding-top: 28px; padding-bottom: clamp(48px, 7vw, 88px); }
.dd-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 16px; background: #fff; border: 1px solid var(--dd-line); border-radius: 4px; }
.dd-filters input[type=search], .dd-filters select { min-height: 44px; border: 1px solid var(--dd-line); border-radius: 4px; padding: 0 12px; font: inherit; font-size: 15px; background: #fff; color: var(--dd-ink); }
.dd-filters__search { flex: 1 1 240px; min-width: 0; }
.dd-filters select { flex: 0 1 auto; max-width: 100%; }
.dd-filters__check { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; }
.dd-filters__clear { font-size: 14px; color: var(--dd-muted); }
.dd-arch-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0 24px; }
.dd-arch-bar .dd-fine { margin: 0; }
.dd-empty { text-align: center; padding: 48px 0; }

/* ---------- Town profile ---------- */
.dd-town { position: relative; background: var(--dd-paper); border-bottom: 1px solid var(--dd-line); overflow: hidden; }
.dd-town__inner { position: relative; z-index: 1; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(36px, 5vw, 56px); }
.dd-town--photo .dd-town__inner { padding-top: clamp(140px, 18vw, 260px); }
.dd-town__bg { position: absolute !important; inset: 0; aspect-ratio: auto !important; border-radius: 0; }
.dd-town__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(255, 253, 248, .97) 0%, rgba(255, 253, 248, .85) 38%, rgba(255, 253, 248, .1) 75%); }
.dd-town__facts { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 20px 0 0; }
.dd-town__facts dt { font-family: var(--dd-label); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dd-gold-text); }
.dd-town__facts dd { margin: 4px 0 0; font-weight: 500; max-width: 26em; }
.dd-town__more { padding-top: 24px; max-width: 900px; }
.dd-fold { border-top: 1px solid var(--dd-line); }
.dd-fold:last-child { border-bottom: 1px solid var(--dd-line); }
.dd-fold summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; font-family: var(--dd-serif); font-size: 21px; list-style: none; }
.dd-fold summary::-webkit-details-marker { display: none; }
.dd-fold summary::after { content: "+"; margin-left: auto; font-family: var(--dd-sans); font-size: 22px; color: var(--dd-gold-text); }
.dd-fold[open] summary::after { content: "–"; }
.dd-fold .dd-prose { padding-bottom: 20px; }

/* ---------- Guide pages (route styling comes from DD Core's guides.css) ---------- */
.dd-guide-page__head { padding-top: clamp(36px, 5vw, 64px); padding-bottom: 20px; max-width: 980px; }
.dd-guide-page__hero { margin-bottom: 32px; }
.dd-guide-page__body { max-width: 900px; padding-bottom: clamp(48px, 7vw, 88px); }

/* ---------- Pages that hold the old shortcodes ---------- */
/* Explore by Town */
.dd-town-browser { margin: 8px 0 40px; }
.dd-town-head { text-align: center; margin-bottom: 24px; }
.dd-town-eyebrow { font-family: var(--dd-label); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dd-gold-text); }
.dd-town-title { font-family: var(--dd-serif); font-weight: 400; font-size: clamp(32px, 4vw, 52px); margin: 8px 0; }
.dd-town-sub { color: var(--dd-muted); }
.dd-town-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 18px; }
.dd-town-filter { min-height: 40px; padding: 0 16px; border-radius: 20px; border: 1px solid var(--dd-line); background: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.dd-town-filter.is-active, .dd-town-filter:hover { background: var(--dd-ink); color: #fff; border-color: var(--dd-ink); }
.dd-town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.dd-town-card { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: #fff; border: 1px solid var(--dd-line); border-radius: 4px; text-decoration: none; transition: border-color .15s ease; }
.dd-town-card:hover { border-color: var(--dd-fuchsia); color: var(--dd-ink); }
.dd-town-name { font-family: var(--dd-serif); font-size: 22px; }
.dd-town-region { font-size: 13px; color: var(--dd-muted); }
.dd-town-count { font-family: var(--dd-label); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dd-teal); margin-top: 6px; }

/* All tours */
.ddh-tcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; margin: 16px 0 40px; }
.ddh-tcard { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: var(--dd-teal); color: #fff; border-radius: 4px; text-decoration: none; transition: background .15s ease; }
.ddh-tcard:hover { background: var(--dd-teal-soft); color: #fff; }
.ddh-tcard h3 { font-family: var(--dd-serif); font-weight: 400; font-size: 24px; margin: 0; }
.ddh-tcard p { margin: 0; color: #DCEBE5; font-size: 15px; }
.ddh-tcard-stops { margin-top: auto; padding-top: 10px; font-family: var(--dd-label); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dd-gold-light); }

/* The /map/ page */
.dd-arch-eyebrow { font-family: var(--dd-label); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dd-gold-text); }
.dd-arch-title { font-family: var(--dd-serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 60px); margin: 8px 0; }
.dd-arch-map-link { color: var(--dd-fuchsia); font-weight: 600; }
#dd-mastermap-root .dd-filters { justify-content: center; max-width: 1140px; margin: 0 auto 18px; }
.dd-filter-select { min-height: 44px; border: 1px solid var(--dd-line); border-radius: 4px; padding: 0 12px; font: inherit; font-size: 15px; background: #fff; color: var(--dd-ink); }
.dd-filter-check { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; }
.dd-mastermap-canvas { border-color: var(--dd-line) !important; }

/* Cards inside page content keep their own colors (page links are fuchsia). */
.dd-prose a.ddh-tcard, .dd-prose a.ddh-tcard:hover, .dd-prose .ddh-tcard h3 { color: #fff; }
.dd-prose .ddh-tcard p { color: #DCEBE5; }
.dd-prose a.dd-town-card, .dd-prose a.dd-town-card:hover, .dd-prose a.dd-card, .dd-prose a.dd-card:hover { color: var(--dd-ink); }
.dd-prose .dd-town-card .dd-town-name { margin: 0; }

/* ---------- Sponsor slot (homepage) and the maker's credit (footer) ---------- */
/* The card wears the sponsor's colors so it reads as a sponsor sitting on Delovely Detroit. */
.dd-sponsor-slot { padding: 0 0 clamp(48px, 7vw, 88px); }
.dd-sponsor__label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--dd-label); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dd-gold-text); }
.dd-sponsor__label::after { content: ""; flex: 1; height: 1px; background: var(--dd-line); }
.dd-sponsor { position: relative; overflow: hidden; display: grid; align-items: center; gap: clamp(16px, 3vw, 32px); padding: clamp(22px, 3.5vw, 34px) clamp(20px, 4vw, 40px); border-radius: 16px; text-decoration: none; font-family: 'Outfit', var(--dd-sans); }
.dd-sponsor__text { display: grid; gap: 6px; min-width: 0; }
.dd-sponsor__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.dd-sponsor__body { font-size: 16px; line-height: 1.55; max-width: 50ch; }
.dd-sponsor__btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .2s ease; }
.dd-sponsor__btn svg { transition: transform .2s ease; }
.dd-sponsor:hover .dd-sponsor__btn svg, .dd-sponsor:focus-visible .dd-sponsor__btn svg { transform: translateX(3px); }
.dd-sponsor:focus-visible { outline: 3px solid #5E4572; outline-offset: 3px; }
.dd-sponsor__mark, .dd-sponsor__logo { display: block; flex: 0 0 auto; }
/* Dark */
.dd-sponsor--dark { grid-template-columns: auto minmax(0, 1fr) auto; background: #2A2430; color: #F7F3EE; }
.dd-sponsor--dark::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 220px; background: radial-gradient(closest-side, rgba(178, 167, 209, .22), transparent); pointer-events: none; }
.dd-sponsor--dark .dd-sponsor__name { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #B2A7D1; }
.dd-sponsor--dark .dd-sponsor__body { color: rgba(247, 243, 238, .78); }
.dd-sponsor--dark .dd-sponsor__btn { background: #B2A7D1; color: #2A2430; }
.dd-sponsor--dark:hover .dd-sponsor__btn { background: #F7F3EE; }
/* Light */
.dd-sponsor--light { grid-template-columns: minmax(0, 1fr) auto; background: linear-gradient(120deg, #EEEAF6 0%, #F4F1F6 55%, #EEF2EC 100%); border: 1px solid rgba(94, 69, 114, .18); color: #2A2430; }
.dd-sponsor__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.dd-sponsor--light .dd-sponsor__name { font-weight: 600; font-size: 15px; letter-spacing: .02em; }
.dd-sponsor--light .dd-sponsor__body { color: #514859; }
.dd-sponsor--light .dd-sponsor__btn { background: #5E4572; color: #F7F3EE; }
.dd-sponsor--light:hover .dd-sponsor__btn { background: #2A2430; }
@media (max-width: 720px) {
	.dd-sponsor--dark { grid-template-columns: auto minmax(0, 1fr); }
	.dd-sponsor--light { grid-template-columns: 1fr; }
	.dd-sponsor__btn { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .dd-sponsor__btn, .dd-sponsor__btn svg { transition: none; } }
/* Footer: the maker's credit */
.dd-footer__maker { grid-column: 1 / -1; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(250, 245, 235, .12); }
.dd-footer__maker a { display: inline-flex; align-items: center; gap: 10px; color: #FAF5EB; text-decoration: none; font-family: 'Outfit', var(--dd-sans); font-weight: 500; font-size: 14px; }
.dd-footer__maker a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.dd-footer__maker .dd-sponsor__mark { width: 22px; height: 22px; }

/* ---------- Inner-page heroes at night (same drawing and motion as the homepage) ---------- */
.dd-hero.dd-hero--night .dd-hero__sub, .dd-hero.dd-hero--night .dd-lead, .dd-hero.dd-hero--night .dd-sub { color: rgba(250, 245, 235, .84); }
.dd-hero.dd-hero--night .dd-hero__sub em { color: rgba(250, 245, 235, .62); }
.dd-hero.dd-hero--night .dd-tab { color: rgba(250, 245, 235, .72); }
.dd-hero.dd-hero--night .dd-tab:hover { color: #FAF5EB; }
.dd-hero.dd-hero--night .dd-tab.is-current { color: var(--n-eyebrow); border-bottom-color: var(--n-line); }
.dd-hero.dd-hero--night .dd-tab__now { background: rgba(255, 255, 255, .1); color: var(--n-eyebrow); }
.dd-hero.dd-hero--night .dd-signup__note { color: rgba(250, 245, 235, .7); }
.dd-hero.dd-hero--night .dd-signup__error { color: #FFB8D9; }
.dd-hero.dd-hero--night .dd-signup__field { border-color: transparent; }
.dd-hero.dd-hero--night a:not(.dd-btn):not(.dd-sponsor):not(.dd-tab) { color: #FAF5EB; }
/* The street keeps going past the drawing's ends (54 of 340 units up; drawing is 900px wide, 640px on phones). */
.dd-hero--night.dd-hero--page::after { content: ""; position: absolute; left: 0; right: 0; bottom: 29.6px; height: 1.6px; background: var(--n-line); opacity: .9; pointer-events: none; }
@media (max-width: 700px) { .dd-hero--night.dd-hero--page::after { bottom: 20.8px; } }

/* The spokes: Detroit's radial avenues behind the skyline (drawn by heartbeat.js). */
.dd-hero__spokes { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: auto; pointer-events: none; z-index: 0; overflow: visible; }
.dd-hero--night .dd-hero__skyline { z-index: 0; }
.dd-hero__spokes .pm-spoke { stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; fill: none; }
.dd-hero__spokes .pm-spoke-stop { stop-color: var(--n-line); }
.dd-hero__map { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 0; }

/* ---------- All Tours (page-all-tours.php) ---------- */
.dd-tours-all__head { display: grid; gap: 4px; margin-bottom: 28px; }
.dd-tours-all__head .dd-h2 { margin-bottom: 0; }
.dd-tours-all__head .dd-sub { margin: 0; }
.dd-tours-grid .dd-card__meta { display: flex; align-items: center; gap: 10px; }
@media (min-width: 901px) { .dd-tours-grid .dd-card--wide { grid-column: span 2; } }
@media (max-width: 900px) { .dd-tours-grid .dd-card--wide .dd-photo { aspect-ratio: 3 / 2 !important; } }
/* Bands on block pages that used the old cream (#FBF3E9) now use the site's paper band. */
.dd-landing > .wp-block-group[style*="FBF3E9" i] { background: var(--dd-paper) !important; border-top: 1px solid var(--dd-line); border-bottom: 1px solid var(--dd-line); }

/* ---------- Map page: full width, site colors ---------- */
.dd-article:has(#dd-mastermap-root) { max-width: none; }
#dd-mastermap-root .dd-mastermap-layout { max-width: none; padding: 0; gap: 20px; margin-bottom: 40px; }
#dd-mastermap-root .dd-mastermap-canvas { height: min(680px, 72vh); border-radius: 6px; border-color: var(--dd-line); background: #EFE7D8; }
#dd-mastermap-root .dd-mastermap-list { max-height: min(680px, 72vh); }
#dd-mastermap-root .dd-mastermap-item { border-color: var(--dd-line); border-radius: 6px; padding: 12px 14px; }
#dd-mastermap-root .dd-mastermap-item:hover { border-color: var(--dd-fuchsia); }
#dd-mastermap-root .dd-mastermap-item-pillar { font-family: var(--dd-label); font-size: 10px; letter-spacing: .14em; }
#dd-mastermap-root .dd-mastermap-item-title { font-size: 17px; color: var(--dd-ink); }
#dd-mastermap-root .dd-mastermap-locate:hover { border-color: var(--dd-fuchsia); }
#dd-mastermap-root .dd-filters { margin: 0 0 20px; }
#dd-mastermap-root .dd-mastermap-hint, #dd-mastermap-root .dd-mastermap-count { color: var(--dd-muted); }
/* A tour without a photo yet: a branded tile in the hero's night colors. */
.dd-tour-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; overflow: hidden; background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(240, 193, 82, .22), transparent 70%), linear-gradient(180deg, #24152A, #2E1B33); color: #FAF5EB; border-radius: 4px; }
.dd-tour-tile__eyebrow { font-family: var(--dd-label); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #F0D59A; }
.dd-tour-tile__name { font-family: var(--dd-serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; text-wrap: balance; }
.dd-tour-tile__rule { width: 48px; height: 2px; background: #E0BC72; }
.dd-tour-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18%; height: 1px; background: rgba(224, 188, 114, .35); }

/* ---------- Tour routes (parts/tour-route.php) ---------- */
.dd-route { padding-bottom: 0; }
.dd-route__head { display: grid; gap: 4px; margin-bottom: 22px; }
.dd-route__head .dd-h2 { margin-bottom: 0; }
.dd-route__facts { margin: 0; color: var(--dd-muted); font-size: 16px; }
.dd-route__body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dd-route__map { height: min(560px, 70vh); border-radius: 6px; border: 1px solid var(--dd-line); background: #EFE7D8; }
.dd-route__stops { list-style: none; margin: 0; padding: 0; max-height: min(560px, 70vh); overflow-y: auto; display: grid; gap: 6px; counter-reset: none; }
.dd-route__stop { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid var(--dd-line); border-radius: 6px; }
.dd-route__num { flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--dd-fuchsia); color: #fff; font-family: var(--dd-label); font-size: 12px; font-weight: 700; }
.dd-route__text { display: grid; gap: 2px; min-width: 0; }
.dd-route__name { font-family: var(--dd-serif); font-size: 17px; line-height: 1.2; color: var(--dd-ink); text-decoration: none; }
.dd-route__name:hover { color: var(--dd-fuchsia); }
.dd-route__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--dd-muted); }
.dd-route__legs { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 10px; }
.dd-route__note { max-width: 70ch; }
@media (max-width: 860px) {
	.dd-route__body { grid-template-columns: 1fr; }
	.dd-route__map { height: 360px; }
	.dd-route__stops { max-height: none; }
}

/* Footer social links */
.dd-footer__social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.dd-footer__social a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; text-decoration: none; font-size: 15px; }
.dd-footer__social a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.dd-footer__social svg { flex: none; }
