/* =========================================================================
   Dance Classes Toronto (Beach Ballroom) · Soft Luxury, BB palette
   Mobile-first. Breakpoints: 640 / 768 / 1024 / 1280. See STYLE-GUIDE.md.
   ========================================================================= */

:root {
	--navy: #172b4c;
	--sunflower: #f7c840;
	--sunflower-deep: #eab72a;
	--coral: #c65c5a;
	--coral-deep: #a8443f;
	--powder: #abcade;
	--powder-soft: #dfeaf2;
	--linen: #f7f4f2;
	--cream: #e9e4e2;
	--white: #fff;
	--slate: #5b6577;
	--slate-deep: #4a5568;

	--serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(23, 43, 76, .06), 0 12px 32px rgba(23, 43, 76, .08);
	--shadow-lift: 0 2px 4px rgba(23, 43, 76, .08), 0 18px 40px rgba(23, 43, 76, .14);

	--space-section: clamp(72px, 10vw, 120px);
	--measure: 68ch;
	--header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--linen);
	color: var(--navy);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, iframe, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--coral-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.5rem, 6vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 600; }
h1 em, h2 em { font-style: italic; color: var(--coral-deep); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 5vw, 48px); }
.kicker {
	font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; color: var(--coral-deep); margin: 0 0 1rem;
}
.lede { font-size: 1.1875rem; color: var(--slate-deep); max-width: 52ch; }
.rounded { border-radius: var(--radius); }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }

.dct-icon { flex: none; max-width: 48px; max-height: 48px; }

/* ---------- Buttons ---------- */
.dct-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .8rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.dct-btn--primary { background: var(--sunflower); color: var(--navy); box-shadow: 0 1px 2px rgba(23, 43, 76, .1); }
.dct-btn--primary:hover { color: var(--navy); background: var(--sunflower-deep); }
.dct-btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.dct-btn--ghost:hover { background: var(--navy); color: var(--linen); }
.dct-btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .9375rem; }
.dct-btn[disabled] { opacity: .55; cursor: not-allowed; }
.sonic-cta-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.is-placeholder { border-style: dashed; font-weight: 500; }
.dct-btn--ghost.is-placeholder:hover { background: transparent; color: var(--navy); }

.dct-link-call { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.dct-link-call:hover { text-decoration: underline; color: var(--navy); }
.dct-link-call.is-placeholder { font-weight: 500; color: var(--slate-deep); border: 1.5px dashed currentColor; padding: .3rem .8rem; border-radius: 999px; }
.dct-link-call--light, .dct-link-call--light:hover { color: var(--linen); }
.dct-link-call--light.is-placeholder { color: var(--cream); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 242, .94); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid rgba(23, 43, 76, .08); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.site-logo { display: block; flex: none; }
.site-logo img { width: auto; height: 15px; max-width: 220px; }
.site-nav { display: none; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.site-nav__list a { color: var(--navy); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.site-nav__list a:hover { color: var(--coral-deep); }
.site-header__cta { display: none; margin-left: auto; }
.nav-toggle { margin-left: auto; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 1.5px; background: var(--navy); position: relative; transition: transform .2s ease; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
.site-nav.is-open { display: block; position: absolute; inset: var(--header-h) 0 auto; background: var(--linen); border-bottom: 1px solid rgba(23, 43, 76, .1); padding: 8px clamp(16px, 5vw, 48px) 20px; }
.site-nav.is-open .site-nav__list { flex-direction: column; gap: 0; }
.site-nav.is-open .site-nav__list a { display: block; padding: 12px 0; font-size: 1.0625rem; }

@media (min-width: 768px) {
	.site-logo img { height: 18px; }
}
@media (min-width: 1024px) {
	.site-nav, .site-nav.is-open { display: block; position: static; background: none; border: 0; padding: 0; }
	.site-nav.is-open .site-nav__list { flex-direction: row; gap: 1.75rem; }
	.site-nav.is-open .site-nav__list a { padding: 0; font-size: .9375rem; }
	.site-header__cta { display: block; }
	.nav-toggle { display: none; }
	.site-header__inner { gap: 2.5rem; }
	.site-logo img { height: 20px; }
}

/* ---------- Hero (centred, airy, photo band) ---------- */
.hero { padding-top: clamp(48px, 8vw, 96px); }
.hero__text { text-align: center; max-width: 900px; }
.hero__title { margin-inline: auto; max-width: 15ch; }
.hero__sub { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--slate-deep); max-width: 40ch; margin: 0 auto 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; }
.hero__media { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 1280px; padding-inline: clamp(0px, 3vw, 40px); }
.hero__media img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
@media (min-width: 768px) {
	.hero__media img { border-radius: var(--radius); aspect-ratio: 2 / 1; }
}

/* ---------- Trust row (under the hero) ---------- */
.trust { padding-block: 28px; }
.trust__list { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: .9375rem; font-weight: 500; color: var(--slate-deep); }
.trust__list li { display: flex; align-items: center; gap: .4rem; }
.trust__list li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); margin-right: 22px; }
.trust__list a { color: var(--navy); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.trust__list a:hover { text-decoration: underline; }
.trust__stars { color: var(--sunflower-deep); font-size: 1.1rem; line-height: 1; }
@media (max-width: 639.98px) {
	.trust__list { justify-content: flex-start; flex-direction: column; gap: 8px; }
	.trust__list li + li::before { margin-right: 6px; }
}

/* ---------- Worries (image + definition list, offset tint) ---------- */
.worries { padding-block: var(--space-section); }
.worries__grid { display: grid; gap: 40px; }
.worries__media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.worries__list { margin: 0; display: grid; gap: 4px; }
.worry { padding: 1.25rem 0; border-top: 1px solid rgba(23, 43, 76, .14); }
.worry:first-child { border-top: 0; padding-top: .25rem; }
.worry dt { font-family: var(--serif); font-size: 1.5rem; font-style: italic; font-weight: 500; line-height: 1.2; margin-bottom: .35rem; }
.worry dd { margin: 0; color: var(--slate-deep); }
@media (min-width: 1024px) {
	.worries__grid { grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
	.worries__media { position: relative; }
	.worries__media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; background: var(--powder-soft); border-radius: var(--radius); z-index: -1; }
}

/* Reviews (inside the teach/proof section) */
.reviews { display: grid; gap: 20px; margin-top: 56px; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.review blockquote { margin: 0 0 1rem; }
.review blockquote p { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; margin: 0; }
.review blockquote p::before { content: "\201C"; color: var(--coral); }
.review blockquote p::after { content: "\201D"; color: var(--coral); }
.review figcaption { font-size: .875rem; font-weight: 600; color: var(--slate-deep); }
@media (min-width: 768px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review--inline { background: var(--linen); box-shadow: none; margin: 1.5rem 0; padding: 22px 24px; }
.review--inline blockquote p { font-size: 1.1875rem; }

/* ---------- Start (bento: 1 large + 2) ---------- */
.start { padding-block: var(--space-section); background: var(--white); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.start__bento { display: grid; gap: 20px; }
.path { border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; }
.path p { margin-bottom: 0; }
.path--feature { background: var(--navy); color: var(--linen); display: flex; flex-direction: column; gap: .5rem; }
.path--feature h3 { color: var(--linen); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; }
.path--feature p { color: var(--cream); font-size: 1.125rem; max-width: 42ch; margin-bottom: 1.75rem; }
.path--feature .dct-btn { align-self: flex-start; }
.path__emblem { width: 72px; height: auto; max-width: 72px; max-height: 72px; opacity: .9; margin-bottom: auto; padding-bottom: 2rem; box-sizing: content-box; }
.path--tint { background: var(--powder-soft); }
.path--tint .dct-icon { color: var(--navy); margin-bottom: 1rem; }
.path--photo { padding: 0; min-height: 320px; display: flex; align-items: flex-end; background: var(--navy); }
.path--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.path__overlay { position: relative; margin: 16px; padding: 20px 22px; background: rgba(247, 244, 242, .95); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
@media (min-width: 768px) {
	.start__bento { grid-template-columns: 1fr 1fr; }
	.path--feature { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.start__bento { grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; }
	.path--feature { grid-column: 1; grid-row: 1 / span 2; min-height: 460px; }
	.path--tint { grid-column: 2; grid-row: 1; }
	.path--photo { grid-column: 2; grid-row: 2; min-height: 280px; }
}

/* ---------- Styles (editorial index) ---------- */
.styles { padding-block: var(--space-section); background: var(--white); }
.styles__grid { display: grid; gap: 40px; }
.styles__index { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.style-row { padding: 1.5rem 0; border-top: 1px solid rgba(23, 43, 76, .14); display: grid; gap: .35rem; }
.style-row h3 { margin: 0; }
.style-row > p { margin: 0 0 .5rem; color: var(--slate-deep); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--white); border-radius: 999px; padding: .3rem .85rem; font-size: .875rem; font-weight: 500; box-shadow: 0 1px 2px rgba(23, 43, 76, .06); }
@media (min-width: 1024px) {
	.styles__grid { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
	.styles__head { position: sticky; top: calc(var(--header-h) + 32px); }
	.style-row { grid-template-columns: 200px 1fr; column-gap: 32px; }
	.style-row h3 { grid-row: 1 / span 2; }
}

/* ---------- Teach (text + photo, pull line) ---------- */
.teach { padding-block: var(--space-section); background: var(--cream); }
.teach__grid { display: grid; gap: 40px; align-items: center; }
.teach__body p { max-width: var(--measure); }
.teach__pull { font-family: var(--serif); font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.35; font-style: italic; color: var(--navy); border-left: 2px solid var(--coral); padding-left: 1.25rem; margin-top: 1.75rem; }
.teach__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; }
.teach__media { margin: 0; max-width: 480px; justify-self: center; }
@media (min-width: 1024px) {
	.teach__grid { grid-template-columns: 6fr 5fr; gap: 72px; }
}

/* ---------- Weddings (full-bleed split) ---------- */
.wed { display: grid; background: var(--white); }
.wed__media img { width: 100%; height: 100%; aspect-ratio: 7 / 5; object-fit: cover; }
.wed__body { padding: clamp(40px, 6vw, 96px) clamp(16px, 5vw, 80px); align-self: center; max-width: 640px; }
.wed__price { font-weight: 600; color: var(--navy); }
.wed .dct-btn { margin-top: .5rem; }
@media (min-width: 1024px) {
	.wed { grid-template-columns: 1fr 1fr; }
	.wed__media img { aspect-ratio: auto; min-height: 560px; }
}

/* ---------- Socials (navy band, gallery) ---------- */
.socials { padding-block: var(--space-section); background: var(--navy); color: var(--cream); }
.socials h2 { color: var(--linen); }
.socials__head { max-width: 640px; margin-bottom: 40px; }
.socials__head p { font-size: 1.125rem; }
.socials__gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.socials__gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.socials__gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.socials__gallery a:hover img { transform: scale(1.03); }
@media (min-width: 768px) {
	.socials__gallery { grid-template-columns: 1fr 1fr; }
	.socials__gallery li:first-child { grid-column: 1 / -1; }
	.socials__gallery li:first-child img { aspect-ratio: 21 / 9; }
}
@media (min-width: 1024px) {
	.socials__gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
	.socials__gallery li:first-child { grid-column: 1; grid-row: 1 / span 2; }
	.socials__gallery li:first-child img { aspect-ratio: auto; height: 100%; }
}

/* ---------- How (horizontal steps) ---------- */
.how { padding-block: var(--space-section); }
.how__head { text-align: center; margin: 0 auto 48px; max-width: 640px; }
.how__head h2 { margin-bottom: .35rem; }
.how__head p { color: var(--slate-deep); font-size: 1.125rem; margin: 0; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.how__steps li { position: relative; text-align: center; padding-inline: 8px; }
.how__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); margin-bottom: 1rem; color: var(--navy); }
.how__steps h3 { margin-bottom: .35rem; }
.how__steps p { color: var(--slate-deep); max-width: 32ch; margin-inline: auto; }
@media (min-width: 768px) {
	.how__steps { grid-template-columns: repeat(3, 1fr); }
	.how__steps li:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 48px); width: calc(100% - 96px); border-top: 1px dashed rgba(23, 43, 76, .3); }
}

/* ---------- FAQ ---------- */
.faq { padding-block: var(--space-section); background: var(--linen); }
.faq__grid { display: grid; gap: 32px; }
.faq__item { border-bottom: 1px solid rgba(23, 43, 76, .14); }
.faq__item summary, .wp-block-details summary {
	list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
	font-family: var(--serif); font-size: 1.375rem; font-weight: 600; line-height: 1.25;
}
.faq__item summary::-webkit-details-marker, .wp-block-details summary::-webkit-details-marker { display: none; }
.faq__item summary::after, .wp-block-details summary::after { content: "+"; position: absolute; right: 4px; top: 1.1rem; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--coral-deep); transition: transform .2s ease; }
.faq__item[open] summary::after, .wp-block-details[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--slate-deep); padding-bottom: 1.25rem; margin: 0; max-width: var(--measure); }
@media (min-width: 1024px) {
	.faq__grid { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
}

/* ---------- Booking band ---------- */
.book { padding-block: var(--space-section); background: var(--powder-soft); }
.book__inner { display: grid; gap: 40px; }
.book__intro p { font-size: 1.125rem; max-width: 42ch; }
.book__closer { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; color: var(--navy); }
.book__closer .dct-icon { color: var(--coral-deep); margin-top: .3rem; }
.book__address { display: flex; gap: .6rem; font-style: normal; color: var(--slate-deep); font-size: .9375rem; margin-top: 1.5rem; }
.book__address .dct-icon { margin-top: .2rem; color: var(--coral-deep); }
.book__forms { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); }
.book__tabs { display: flex; gap: 6px; background: var(--linen); padding: 5px; border-radius: 999px; margin-bottom: 1.5rem; }
.book__tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: transparent; font: 600 .9375rem/1.2 var(--sans); color: var(--slate-deep); cursor: pointer; }
.book__tabs button[aria-selected="true"] { background: var(--navy); color: var(--linen); }
@media (min-width: 1024px) {
	.book__inner { grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
}

/* Forms (placeholder + GHL frame) */
.dct-form__notice { font-size: .875rem; font-weight: 500; color: var(--slate-deep); background: var(--linen); border: 1.5px dashed rgba(23, 43, 76, .3); border-radius: var(--radius-sm); padding: .6rem .9rem; }
.dct-form__grid { display: grid; gap: 14px; margin-bottom: 20px; }
.dct-form label span { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .35rem; }
.dct-form input { width: 100%; min-height: 48px; border-radius: var(--radius-sm); border: 1px solid rgba(23, 43, 76, .25); background: var(--white); padding: .6rem .85rem; font: inherit; color: var(--navy); }
.dct-form input:disabled { background: var(--linen); }
.dct-form .dct-btn { width: 100%; }
@media (min-width: 640px) { .dct-form__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--cream); padding: 64px 0 96px; font-size: .9375rem; }
.site-footer a { color: var(--linen); }
.site-footer__inner { display: grid; gap: 40px; }
.site-footer__brand img { width: 220px; height: auto; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 34ch; }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__label { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--linen); }
.site-footer__base { border-top: 1px solid rgba(233, 228, 226, .18); margin-top: 48px; padding-top: 24px; font-size: .875rem; }
@media (min-width: 768px) {
	.site-footer__inner { grid-template-columns: 2fr 1fr 1fr; }
	.site-footer { padding-bottom: 48px; }
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(247, 244, 242, .97); border-top: 1px solid rgba(23, 43, 76, .1); }
.sticky-cta .dct-btn { flex: 1; }
.sticky-cta .is-placeholder span { overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- Block pages (Stage 4+): .pg sections from build/blocks.py ---------- */
.entry-content > :not(.pg):not(.trust) { width: 100%; max-width: calc(var(--measure) + 96px); margin-inline: auto; padding-inline: clamp(16px, 5vw, 48px); }
.pg { padding-block: clamp(56px, 8vw, 96px); }
.pg__inner { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 5vw, 48px); }
.pg--prose .pg__inner, .pg--tint .pg__inner, .pg--faq .pg__inner, .pg--close .pg__inner { max-width: calc(var(--measure) + 96px); }
.pg p, .pg li { max-width: var(--measure); }
.pg h2 { margin-bottom: .6em; }
.pg .wp-block-list { padding-left: 1.2em; }
.pg .wp-block-list li { margin-bottom: .4em; }
.pg--prose + .pg--prose { padding-top: 0; }
.pg--tint { background: var(--powder-soft); }
.pg--cards, .pg--faq { background: var(--white); }
.pg-note { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); font-style: italic; line-height: 1.35; border-left: 2px solid var(--coral); padding-left: 1.25rem; margin-top: 1.5rem; }

/* Hero */
.pg--hero { padding-top: clamp(40px, 7vw, 88px); padding-bottom: 0; }
.pg-hero__text { text-align: center; max-width: 860px; margin-inline: auto; }
.pg-hero__text h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.pg-hero__text .lede { margin-inline: auto; max-width: 56ch; }
.pg--hero .wp-block-image { margin: clamp(32px, 5vw, 56px) 0 0; }
.pg--hero .wp-block-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dct-cta-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; margin-top: 1.5rem; }
.pg--close .dct-cta-pair { justify-content: flex-start; }
.trust--page { padding-block: 28px; }

/* Split (text + image columns) */
.pg--split .wp-block-columns { display: grid; gap: 40px; align-items: center; margin: 0; }
.pg--split .wp-block-column { min-width: 0; }
.pg--split .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1024px) { .pg--split .wp-block-columns { grid-template-columns: 7fr 5fr; gap: 72px; } }

/* Cards */
.pg-cards { margin-block: 32px; }
/* Classic themes wrap group children in .wp-block-group__inner-container: lay out whichever holds the cards. */
.pg-cards > .wp-block-group__inner-container, .pg-cards:not(:has(> .wp-block-group__inner-container)) { display: grid; gap: 20px; }
.pg-card { background: var(--linen); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.pg-card h3 { margin-bottom: .2em; }
.pg-card p { margin-bottom: 0; }
.pg-card__meta { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: .75rem !important; }
.pg-card--feature { background: var(--navy); color: var(--cream); }
.pg-card--feature h3 { color: var(--linen); }
.pg-card--feature .pg-card__meta { color: var(--powder); }
.pg-card--feature a { color: var(--sunflower); }
.pg-card--feature a:hover { color: var(--linen); }
@media (min-width: 768px) {
	.pg-cards--3 > .wp-block-group__inner-container, .pg-cards--3:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1.3fr 1fr 1fr; }
	.pg-cards--2 > .wp-block-group__inner-container, .pg-cards--2:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr 1fr; }
	.pg-cards--4 > .wp-block-group__inner-container, .pg-cards--4:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr 1fr; }
	/* Five cards: three over two, on a six-column grid. */
	.pg-cards--5 > .wp-block-group__inner-container, .pg-cards--5:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(6, 1fr); }
	.pg-cards--5 .pg-card { grid-column: span 2; }
	.pg-cards--5 .pg-card:nth-child(n+4) { grid-column: span 3; }
	.pg-cards--6 > .wp-block-group__inner-container, .pg-cards--6:not(:has(> .wp-block-group__inner-container)),
	.pg-cards--7 > .wp-block-group__inner-container, .pg-cards--7:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(3, 1fr); }
}

/* Close */
.pg--close { background: var(--linen); }
.entry-header { padding-top: clamp(48px, 7vw, 88px); max-width: calc(var(--measure) + 96px); }
.entry-meta { color: var(--slate); font-size: .875rem; }
.listing { padding-block: clamp(48px, 8vw, 96px); }
.listing__items { list-style: none; padding: 0; display: grid; gap: 28px; }
.wp-block-details { border-bottom: 1px solid rgba(23, 43, 76, .14); }
.wp-block-details > p { color: var(--slate-deep); padding-bottom: 1.25rem; margin: 0; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-button__link { border-radius: 999px; }

/* ---------- Gallery lightbox ---------- */
.dct-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(23, 43, 76, .94); display: grid; place-items: center; padding: 56px 16px; opacity: 0; transition: opacity .3s ease; }
.dct-lightbox.is-open { opacity: 1; }
.dct-lightbox figure { margin: 0; max-width: min(1200px, 100%); }
.dct-lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.dct-lightbox figcaption { color: var(--cream); text-align: center; margin-top: .75rem; font-size: .9375rem; }
.dct-lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(247, 244, 242, .12); color: var(--linen); cursor: pointer; display: grid; place-items: center; }
.dct-lightbox button:hover { background: rgba(247, 244, 242, .24); }
.dct-lightbox [data-lb="close"] { top: 16px; right: 16px; }
.dct-lightbox [data-lb="prev"] { left: 16px; top: 50%; transform: translateY(-50%); }
.dct-lightbox [data-lb="next"] { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Motion (MOTION-PROFILE.md: subtle) ----------
   Content is hidden only after JS marks the page ready, and only when motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
	html.sonic-motion-ready .sonic-fade-on-scroll:not(.is-in),
	html.sonic-motion-ready .sonic-stagger-children > :not(.is-in),
	html.sonic-motion-ready .sonic-hero-reveal:not(.is-in) { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.sonic-cta-hover:hover { transform: none; }
	.socials__gallery a:hover img { transform: none; }
}
