/*
 * Aesthetic Laser Dentistry: the parts the canvas drew with markup that WordPress
 * builds differently (template parts, core buttons, FAQ details, link underlines),
 * plus the theme blocks' runtime states. Loaded after canvas-global.css and before
 * content.css (the per-element styles, which win like inline styles did).
 */

/* Page frame */
html { scroll-padding-top: 104px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }
.ald-header-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
.ald-header-part header { position: relative !important; top: auto !important; }
main#main { display: block; }
.wp-block-post-content { margin: 0; }
:where(.wp-site-blocks) > * { margin-block: 0; }

/* Header wordmark (SVG, so Bodoni Moda is never downloaded) */
.c-word { color: #181B31; line-height: 0; }
@media (min-width: 641px) { .c-word { display: inline-block; } }
.c-word svg { display: block; height: 9.75px; width: auto; }
.c-word-s { display: none; color: #181B31; line-height: 0; }
.c-word-s svg { display: block; height: 21.5px; width: auto; }

/* Images keep the canvas framing */
.wp-block-image { margin: 0; }
.wp-block-image img { box-sizing: border-box; }
.wp-block-image figcaption.wp-element-caption { margin: 0; }

/* Buttons: the canvas pills */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-sizing: border-box;
	min-height: 52px; padding: 0 30px; border-radius: 999px; border: 0;
	font-family: var(--wp--preset--font-family--glacial-indifference); font-size: 15px; font-weight: 700;
	letter-spacing: 0.02em; line-height: 1.2; text-decoration: none; white-space: nowrap;
	transition: background-color 180ms cubic-bezier(0.33, 1, 0.68, 1), scale 180ms cubic-bezier(0.33, 1, 0.68, 1);
}
.wp-block-button.is-ald-small .wp-block-button__link { min-height: 46px; padding: 0 24px; }
.wp-block-button.is-style-ald-navy .wp-block-button__link { background: #181B31; color: #BBA07A; }
.wp-block-button.is-style-ald-gold .wp-block-button__link { background: #BBA07A; color: #181B31; }
.wp-block-button.is-style-ald-outline .wp-block-button__link { background: transparent; color: #181B31; border: 1px solid #181B31; padding: 0 26px; }
.wp-block-button.is-style-ald-outline-light .wp-block-button__link { background: transparent; color: #FFFFFF; border: 1px solid #FFFFFF; padding: 0 26px; }
.wp-block-button .wp-block-button__link[href^="tel:"]::before {
	content: ""; flex: 0 0 16px; width: 16px; height: 16px; background: currentColor;
	-webkit-mask: url("../icons/ui-phone.svg") center / 16px 16px no-repeat; mask: url("../icons/ui-phone.svg") center / 16px 16px no-repeat;
}
@media (hover: hover) and (pointer: fine) {
	.wp-block-button.is-style-ald-navy .wp-block-button__link:hover { background: #2C3345; }
	.wp-block-button.is-style-ald-gold .wp-block-button__link:hover { background: color-mix(in srgb, #BBA07A 86%, #FFFFFF); }
	.wp-block-button.is-style-ald-outline .wp-block-button__link:hover { background: rgba(24, 27, 49, 0.07); }
	.wp-block-button.is-style-ald-outline-light .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.1); }
}
.wp-block-button .wp-block-button__link:active { scale: 0.98; transition-duration: 90ms; }
.c-dark .wp-block-button .wp-block-button__link:focus-visible { outline-color: #BBA07A; }
@media (prefers-reduced-motion: reduce) { .wp-block-button .wp-block-button__link { transition: none; } .wp-block-button .wp-block-button__link:active { scale: none; } }

/* Links: the canvas underline that draws in from the left (was a .lnk span) */
:is(.has-lnk, .has-lnk-q) a {
	--ln: currentColor; --ln-rest: rgba(52, 77, 108, 0.42);
	text-decoration: none; padding-bottom: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
	background: linear-gradient(var(--ln), var(--ln)) 100% 100% / 0% 1px no-repeat, linear-gradient(var(--ln-rest), var(--ln-rest)) 0 100% / 100% 1px no-repeat;
	transition: background-size 180ms cubic-bezier(0.33, 1, 0.68, 1);
}
.has-lnk-q a { --ln-rest: transparent; }
.c-dark :is(.has-lnk, .has-lnk-q) a { --ln: #BBA07A; --ln-rest: rgba(255, 255, 255, 0.36); }
.c-dark .has-lnk-q a { --ln-rest: transparent; }
@media (hover: hover) and (pointer: fine) {
	:is(.has-lnk, .has-lnk-q) a:hover { background-position: 0 100%, 0 100%; background-size: 100% 1px, 100% 1px; transition-duration: 420ms; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
}
:is(.has-lnk, .has-lnk-q) a:focus-visible { background-size: 100% 1px, 100% 1px; }
:is(.has-chev, .has-arrow) a::after {
	content: ""; display: inline-block; flex: 0 0 auto; width: 14px; height: 14px; margin-left: 8px; vertical-align: -1px; background: currentColor;
	-webkit-mask: url("../icons/ui-chevron.svg") center / 14px 14px no-repeat; mask: url("../icons/ui-chevron.svg") center / 14px 14px no-repeat;
	transition: translate 180ms cubic-bezier(0.33, 1, 0.68, 1);
}
.has-arrow a::after { width: 18px; -webkit-mask-image: url("../icons/ui-arrow.svg"); mask-image: url("../icons/ui-arrow.svg"); -webkit-mask-size: 18px 14px; mask-size: 18px 14px; }
@media (hover: hover) and (pointer: fine) { :is(.has-chev, .has-arrow) a:hover::after { translate: 3px 0; transition-duration: 420ms; } }

/* A card whose whole area is a link (the canvas wrapped the card in <a>) */
.ald-cardlink { position: relative; }
.ald-cardlink :is(h2, h3, h4, p) > a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.ald-cardlink a { text-decoration: none; color: inherit; }

/* FAQ: native details, plus and minus as on the canvas */
.wp-block-details > summary { list-style: none; cursor: pointer; }
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::marker { content: ""; }
.wp-block-details > summary::after {
	content: ""; flex: 0 0 22px; width: 22px; height: 22px; background: currentColor;
	-webkit-mask: url("../icons/ui-plus.svg") center / 22px 22px no-repeat; mask: url("../icons/ui-plus.svg") center / 22px 22px no-repeat;
}
.wp-block-details[open] > summary::after { -webkit-mask-image: url("../icons/ui-minus.svg"); mask-image: url("../icons/ui-minus.svg"); }

/* Tables keep the canvas rules */
.wp-block-table { margin: 0; overflow-x: auto; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table :is(th, td) { border: 0; }
.wp-block-table thead { border-bottom: 0; }

/* Lists the canvas styled itself */
.wp-block-list { box-sizing: border-box; }

/* Before and after: an editor-only note while the photos are held back */
.ald-ba-missing { display: grid; place-content: center; gap: 6px; min-height: 160px; padding: 24px; box-sizing: border-box; border: 1px dashed rgba(52, 77, 108, 0.5); border-radius: 16px; background: #F4F1EB; color: #2C3345; font-size: 15px; line-height: 1.5; text-align: center; }
.ald-ba-missing p { margin: 0; }
.ald-case[hidden] { display: none !important; }

/* Films */
.c-film.is-poster-only { cursor: default; }
.c-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.ald-film-dialog { width: min(1100px, 92vw); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: hidden; }
.ald-film-dialog::backdrop { background: rgba(6, 8, 22, 0.86); }
.ald-film-dialog video { display: block; width: 100%; height: auto; }
.ald-film-dialog button { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 50%; background: rgba(24, 27, 49, 0.6); color: #FFFFFF; font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }

/* Video loops: the play and pause icons swap with the state */
.vidbtn[data-paused="true"] .vid-i-pause, .vidbtn[data-paused="false"] .vid-i-play { display: none; }
@media (hover: hover) and (pointer: fine) { .vidbtn:hover { background-color: rgba(24, 27, 49, 0.72) !important; } }

/* Online booking */
.c-embed-frame { display: block; width: 100%; min-height: 1000px; border: 0; }
.c-embed.is-loaded .c-embed-wait { display: none; }
.c-embed .c-embed-frame[hidden] { display: none; }
.c-embed.is-loaded .c-embed-frame { display: block; }
.c-embed .c-embed-off[hidden] { display: none; }
.c-embed.is-blocked .c-embed-wait .c-embed-note { display: none; }
.c-embed-off svg { display: block; margin: 0 auto; }
.c-embed-off-title { margin: 14px 0 0; font-family: var(--wp--preset--font-family--gilda-display); font-size: 24px; line-height: 1.25; color: #002147; }
.c-embed-off-text { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: #2C3345; }
.c-embed-off .wp-block-buttons { justify-content: center; gap: 10px; margin-top: 18px; }
.c-embed-fallback { margin: 0; padding: 16px 24px; font-size: 15px; line-height: 1.55; color: #2C3345; }
.c-embed-fallback a { color: #002147; font-weight: 700; }

/* Enquiry form: the field people never see */
.ald-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Phones: the header as drawn on the phone boards */
@media (max-width: 640px) {
	.ald-header-part header > div { height: 64px !important; padding: 0 8px 0 16px !important; }
	.ald-header-part header > div > a:first-child { gap: 12px !important; }
	.ald-header-part header > div > a:first-child img { height: 32px !important; }
	.c-word-s { display: block; }
	.c-word-s svg { height: 21.5px; }
	.ald-header-part .c-hc { display: none !important; }
	.ald-header-part .c-mnav { --c-hh: 65px; }
}

/* Utility pages (privacy policy, thank you, posts) */
.ald-prose { max-width: 44em; }
.ald-prose > * + * { margin-top: 1.1em; }
.ald-prose :is(h2, h3) { margin-top: 1.8em; }
.ald-prose a { color: #002147; }
.ald-prose ul, .ald-prose ol { padding-left: 1.3em; }

/* Plain templates (archives, search, privacy policy, thank you) */
.ald-plain { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 7vw, 112px) clamp(20px, 4.4vw, 64px) clamp(80px, 9vw, 136px); box-sizing: border-box; }
.ald-plain-title { margin: 0 0 40px; font-family: var(--wp--preset--font-family--gilda-display); font-weight: 400; font-size: clamp(40px, calc(4.2vw + 2px), 60px); line-height: 1.05; letter-spacing: -0.01em; color: #002147; }
.ald-plain .wp-block-post-template { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
/* result titles in search and archive lists only; a plain page's own title is .ald-plain-title */
.ald-plain .wp-block-post-template .wp-block-post-title { margin: 0; font-size: 30px; }
.ald-plain .wp-block-post-template .wp-block-post-title a { text-decoration: none; color: #002147; }
.ald-plain .wp-block-post-excerpt p { margin: 8px 0 0; }

/* Articles */
.ald-eyebrow-terms a { color: inherit; text-decoration: none; }
.ald-eyebrow-terms .wp-block-post-terms__separator { display: none; }
.ald-lead-excerpt .wp-block-post-excerpt__excerpt { margin: 0; }
.ald-lead-excerpt .wp-block-post-excerpt__more-text { display: none; }
.c-posts > li[hidden] { display: none !important; }
.c-prose > :first-child { margin-top: 0 !important; }
.c-prose > ul.wp-block-list, .c-prose > ol.wp-block-list { margin: 20px 0 0; padding: 0; list-style: none; }
/* Lists in the migrated posts. The canvas article's own lists (c-list) keep the canvas styles. */
.c-prose > ul.wp-block-list:not(.c-list) > li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 0 12px; align-items: baseline; padding: 5px 0; }
.c-prose > ul.wp-block-list:not(.c-list) > li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #BBA07A; transform: translateY(-3px); }
.c-prose > ol.wp-block-list { counter-reset: ald-ol; }
.c-prose > ol.wp-block-list > li { counter-increment: ald-ol; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0 12px; padding: 5px 0; }
.c-prose > ol.wp-block-list > li::before { content: counter(ald-ol) "."; font-family: var(--wp--preset--font-family--gilda-display); color: #002147; }
/* The article's numbered steps: an ordered list on the canvas, groups in WordPress */
.c-steps.ald-list > .wp-block-group { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 28px; padding-bottom: 64px; }
.c-steps.ald-list > .wp-block-group:last-child { padding-bottom: 0; }
.c-steps.ald-list > .wp-block-group:not(:last-child)::before { content: ""; position: absolute; left: 27.5px; top: 66px; bottom: 10px; width: 1px; background: #BBA07A; }
.c-steps.ald-list h2 { margin: 4px 0 0 !important; }
@media (max-width: 640px) {
	.c-steps.ald-list > .wp-block-group { grid-template-columns: 44px minmax(0, 1fr); gap: 0 18px; }
	.c-steps.ald-list > .wp-block-group:not(:last-child)::before { left: 21.5px; top: 54px; }
}
.c-prose > h3 { margin: 48px 0 0; font-family: var(--wp--preset--font-family--gilda-display); font-weight: 400; font-size: 30px; line-height: 1.15; color: #002147; }
.c-prose > blockquote { margin: 28px 0 0; padding-left: 24px; border-left: 1px solid #BBA07A; }
.c-prose a { color: #002147; font-weight: 700; }

.c-posts.is-collapsed > li.is-more { display: none; }
.ald-more { display: flex; align-items: center; justify-content: center; min-height: 52px; margin: 56px auto 0; padding: 0 30px; border: 1px solid #181B31; border-radius: 999px; background: transparent; color: #181B31; font: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .ald-more:hover { background: rgba(24, 27, 49, 0.07); } }

/* The illustrated map never pushes the page sideways */
.c-map { overflow: clip; max-width: 100%; }
.c-map-art { overflow: hidden; }

/* Home, "What brings you in?" on phones: the phone board's stacked list (icon, words, arrow)
   in place of the desktop tiles. The id keeps these ahead of the canvas classes. */
@media (max-width: 640px) {
	.ald-p-home #routes-title { padding: 32px 16px 0; text-align: left; letter-spacing: 0.3em; }
	.ald-p-home #routes-title + .c-cred { display: block; padding: 4px 16px 16px; }
	.ald-p-home #routes-title + .c-cred > .ald-cardlink {
		display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; grid-template-rows: auto auto;
		gap: 0 18px; align-items: center; text-align: left;
		/* !important only to answer the canvas's own forced tablet borders and padding */
		padding: 20px 0 !important; border: 0 !important;
		border-top: 1px solid rgba(187, 160, 122, 0.7) !important;
	}
	.ald-p-home #routes-title + .c-cred > .ald-cardlink:first-child { border-top: 0 !important; }
	.ald-p-home #routes-title + .c-cred > .ald-cardlink > svg { grid-row: 1 / span 2; align-self: center; }
	.ald-p-home #routes-title + .c-cred > .ald-cardlink > svg:first-child { grid-column: 1; width: 36px; height: 36px; }
	.ald-p-home #routes-title + .c-cred > .ald-cardlink > svg:last-child { grid-column: 3; width: 20px; height: 12px; }
	.ald-p-home #routes-title + .c-cred > .ald-cardlink > p { grid-column: 2; margin: 0; max-width: none; text-align: left; text-wrap: wrap; }
	.ald-p-home #routes-title + .c-cred > .ald-cardlink > p:first-of-type { align-self: end; font-size: 21px; }
	.ald-p-home #routes-title + .c-cred > .ald-cardlink > p + p { align-self: start; margin-top: 4px; font-size: 14px; }
}

/* Before and after with a second view: the Smile and Full face buttons (canvas pills) */
.ba-views > .ba[hidden] { display: none !important; }
.ba-switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ba-switch.is-before { margin: -18px 0 24px; }
.ba-switch button {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid rgba(52, 77, 108, 0.5);
	border-radius: 999px; background: #FFFFFF; color: #181B31; font-family: inherit; font-size: 14px; font-weight: 700;
	letter-spacing: 0.02em; cursor: pointer; white-space: nowrap;
	transition: background-color 180ms cubic-bezier(0.33, 1, 0.68, 1), scale 180ms cubic-bezier(0.33, 1, 0.68, 1);
}
.ba-switch button[aria-pressed="true"] { background: #181B31; color: #FFFFFF; border-color: #181B31; }
.c-dark .ba-switch button { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, 0.5); }
.c-dark .ba-switch button[aria-pressed="true"] { background: #BBA07A; color: #181B31; border-color: #BBA07A; }
.ba-switch button:active { scale: 0.98; transition-duration: 90ms; }
.ba-switch button:focus-visible { outline: 2px solid #BBA07A; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ba-switch button { transition: none; } .ba-switch button:active { scale: none; } }

/* Phones: the Call and Book bar is printed with the footer; let it stick to the page, not to the
   footer's wrapper, so it shows from the top of every page (as on the canvas). */
.wp-block-template-part:has(> .c-sbar) { display: contents; }

/* Plain pages (privacy policy, thank you, page not found, search, archives) sit on white. */
body:has(main.ald-plain) { background: #FFFFFF; }
/* The six aftercare pages: one Custom HTML block (.ald-ac) with its own styles, made for a white page
   as on the live site. The canvas's dark page colour would otherwise show behind its heading. */
body:has(.ald-ac) { background: #FFFFFF; }
.wp-block-post-content:has(> .ald-ac) { padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); }

/* A two-column section whose held-back case card is hidden: the text takes the full width. */
body .c-half:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.ald-plain-lead { margin: 0; max-width: 34em; font-size: 19px; line-height: 1.6; color: #2C3345; }
.ald-plain-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 32px 0 0; padding: 0; list-style: none; }
.ald-plain-links a { display: inline-flex; align-items: center; min-height: 44px; color: #002147; font-weight: 700; }

/* Search results: the search box clear of the first result */
.ald-plain .wp-block-search { margin: 0 0 48px; }
.ald-plain .wp-block-query .wp-block-post-excerpt { margin: 8px 0 0; }
.ald-plain .wp-block-query .wp-block-post-excerpt__excerpt { margin: 0; }

/* Header menus (inc/menu.php): Treatments and About open a panel under the header.
   Hover or the chevron opens it; Escape, a click outside or leaving closes it.
   Without script, hover and keyboard focus open it. */
.c-dd-nav { align-self: stretch; align-items: stretch !important; gap: 30px; color: #181B31; font-size: 15px; }
.c-dd { display: flex; align-items: center; }
.c-dd-top { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: inherit; }
.c-dd-solo { align-self: center; }
.c-dd-top[data-in] .lnk, .c-dd-top[aria-current] .lnk { text-decoration: underline; text-decoration-color: #BBA07A; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.c-dd-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 44px; margin: 0 0 0 2px; padding: 0; border: 0; background: none; color: #BBA07A; cursor: pointer; }
.c-dd-btn svg { transition: rotate 180ms cubic-bezier(0.33, 1, 0.68, 1); }
.c-dd[data-open="true"] .c-dd-btn svg { rotate: 180deg; }
.c-dd-btn:focus-visible { outline: 2px solid #BBA07A; outline-offset: 2px; border-radius: 4px; }
.c-dd-panel {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 5;
	background: #FFFFFF; border-top: 1px solid rgba(52, 77, 108, 0.18); border-bottom: 1px solid rgba(52, 77, 108, 0.18);
	box-shadow: 0 28px 40px -28px rgba(24, 27, 49, 0.28);
	visibility: hidden; opacity: 0; translate: 0 -6px;
	transition: opacity 180ms ease-out, translate 180ms ease-out, visibility 0s linear 180ms;
}
.c-dd[data-open="true"] .c-dd-panel,
.c-dd-nav:not([data-js]) .c-dd:hover .c-dd-panel,
.c-dd-nav:not([data-js]) .c-dd:focus-within .c-dd-panel { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
.c-dd-in { box-sizing: border-box; max-width: 1440px; margin: 0 auto; padding: 34px clamp(20px, 3.4vw, 48px) 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.c-dd-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1120px; margin-left: max(0px, calc((100% - 1440px) / 2)); }
.c-dd-h { margin: 0 0 12px; font-size: 12px; font-weight: 400; line-height: 1.4; letter-spacing: 0.32em; text-transform: uppercase; color: #2C3345; }
.c-dd-h a { color: inherit; text-decoration: none; }
.c-dd-h a:hover { color: #002147; text-decoration: underline; text-decoration-color: #BBA07A; text-underline-offset: 5px; }
.c-dd-col ul { list-style: none; margin: 0; padding: 0; }
.c-dd-col li a { display: inline-block; padding: 6px 0; font-family: 'Gilda Display', 'Bodoni Moda', Didot, Georgia, serif; font-size: 19px; line-height: 1.3; color: #002147; text-decoration: none; text-decoration-color: #BBA07A; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.c-dd-col li a:hover, .c-dd-col li a[aria-current] { color: #181B31; text-decoration-line: underline; }
.c-dd-foot { box-sizing: border-box; max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 3.4vw, 48px) 22px; display: flex; flex-wrap: wrap; gap: 4px 32px; }
.c-dd-foot a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: #181B31; text-decoration: none; border-top: 1px solid #BBA07A; }
.c-dd-foot a:hover { color: #002147; }
.c-dd a:focus-visible { outline: 2px solid #BBA07A; outline-offset: 3px; border-radius: 2px; }
@media (max-width: 1240px) { .c-dd-col li a { font-size: 17px; } .c-dd-in { gap: 28px 24px; } }
@media (prefers-reduced-motion: reduce) { .c-dd-panel, .c-dd-btn svg { transition: none; } }

/* Phone menu groups (Aesthetic, Laser, General...), each opening in place */
.c-mnav-g > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 6px 0; list-style: none; cursor: pointer; border-bottom: 1px solid rgba(52, 77, 108, 0.18); font-family: 'Gilda Display', 'Bodoni Moda', Didot, Georgia, serif; font-size: 23px; line-height: 1.2; color: #002147; }
.c-mnav-g > summary::-webkit-details-marker { display: none; }
.c-mnav-g > summary .c-mnav-chev { transition: rotate 180ms ease-out; }
.c-mnav-g[open] > summary .c-mnav-chev { rotate: 180deg; }
.c-mnav-g > summary:focus-visible { outline: 2px solid #BBA07A; outline-offset: 3px; border-radius: 2px; }
.c-mnav-g > ul { padding: 4px 0 10px 14px; }
.c-mnav-foot { margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .c-mnav-g > summary .c-mnav-chev { transition: none; } }

/* Before and afters never fade or wipe on scroll (James, 6 Nov 2026: "I don't like the scrolling
   fades"). Every case is the drag slider. A scroll stage left in the content (.wipe, .wipe-stage,
   .wipe-inner) shows as an ordinary case, and the generated scroll rules are switched off here. */
.wipe { height: auto !important; view-timeline-name: none !important; }
.wipe-stage { position: static !important; }
.wipe-inner { width: auto !important; }
.wipe .ba-after, .ba.g-wipe .ba-after { animation: none !important; }
.wipe .ba input, .ba.g-wipe input { display: block !important; }
.wipe .ba-line, .ba.g-wipe .ba-line { display: block !important; animation: none !important; left: var(--pos) !important; right: auto !important; width: 2px !important; margin-left: -1px !important; background: #BBA07A !important; }
.wipe .ba-sweep { display: none !important; animation: none !important; }
.wipe .ba-tag, .wipe .ba-tag-a, .wipe .ba-tag-b, .ba.g-wipe .ba-tag { animation: none !important; opacity: 1 !important; }
.wipe-cap-scroll { display: none !important; }
.wipe-cap-drag { display: inline !important; }

/* Smile gallery: three featured cases side by side (replaced the scroll reveal, James 4 Nov 2026).
   Each opens on its full-face pair; the tab's wide pair (retracted or smile) sits centred in the
   same space so the card does not change height. */
.ald-feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 32px; }
@media (max-width: 900px) { .ald-feat-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; margin-inline: auto; } }
.ald-feat-case .ba-switch { margin: 0 0 14px; }
.ald-feat-case .ba.ba-ff { width: 100%; }
.ald-feat-case .ba-views > .ba:not(.ba-ff) { margin-block: 41.6667%; }
.ald-feat-title { margin: 18px 0 6px; font-family: 'Gilda Display', 'Bodoni Moda', Didot, Georgia, serif; font-weight: 400; font-size: clamp(24px, 2vw, 30px); line-height: 1.2; color: #FFFFFF; }
.ald-feat-meta { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); }

/* Explainer diagram under a two-column section (sleep apnoea) */
.ald-diagram.ald-diagram{max-width:1024px;margin:0 auto;padding:0 clamp(20px,4.4vw,64px) 128px;box-sizing:content-box}
.ald-diagram.ald-diagram img{display:block;width:100%;height:auto;border-radius:24px}
.ald-diagram.ald-diagram figcaption{margin-top:16px;font-size:15px;line-height:1.55;color:var(--wp--preset--color--slate-navy);text-align:center}
.a-53cf42:has(+ .ald-diagram){padding-bottom:64px}
@media (max-width:781px){.ald-diagram.ald-diagram{padding-bottom:56px}.a-53cf42:has(+ .ald-diagram){padding-bottom:32px}}

/* Dropdown refinement (5 Nov 2026): bone panel, gold rules, column dividers, photo card */
.c-dd-panel.c-dd-panel { background: #F4F1EB; border-top: 1px solid #BBA07A; border-bottom: 0; box-shadow: 0 30px 50px -30px rgba(24, 27, 49, 0.35); }
.c-dd-in.c-dd-in { padding: 44px clamp(20px, 3.4vw, 48px) 36px; gap: 0; }
.c-dd-has-card.c-dd-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(240px, 0.95fr); }
.c-dd-has-card.c-dd-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(240px, 1fr); max-width: 1440px; margin-left: auto; }
.c-dd-col { padding: 0 clamp(18px, 2vw, 32px); border-left: 1px solid rgba(187, 160, 122, 0.35); }
.c-dd-col:first-child { padding-left: 0; border-left: 0; }
.c-dd-h.c-dd-h { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(187, 160, 122, 0.55); font-size: 11px; letter-spacing: 0.28em; color: #9A8160; }
.c-dd-h.c-dd-h a:hover { color: #002147; text-decoration: none; }
.c-dd .c-dd-col li a { position: relative; padding: 5px 0; font-size: 17px; line-height: 1.35; letter-spacing: 0.005em; color: #2C3345; text-decoration: none; transition: color 160ms ease-out, translate 200ms cubic-bezier(0.33, 1, 0.68, 1); }
.c-dd .c-dd-col li a::before { content: ""; position: absolute; left: -16px; top: 50%; width: 0; height: 1px; background: #BBA07A; transition: width 200ms cubic-bezier(0.33, 1, 0.68, 1); }
.c-dd .c-dd-col li a:hover, .c-dd .c-dd-col li a[aria-current] { color: #002147; translate: 10px 0; text-decoration: none; }
.c-dd .c-dd-col li a:hover::before, .c-dd .c-dd-col li a[aria-current]::before { width: 12px; }
.c-dd-card { position: relative; display: block; align-self: start; margin-left: clamp(18px, 2vw, 32px); border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 340px; text-decoration: none; color: #FFFFFF; background: #002147; }
.c-dd-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 600ms cubic-bezier(0.33, 1, 0.68, 1); }
.c-dd-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 33, 71, 0) 40%, rgba(0, 33, 71, 0.82) 100%); }
.c-dd-card-k, .c-dd-card-t { position: absolute; left: 22px; right: 22px; z-index: 1; }
.c-dd-card-k { bottom: 62px; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: #E2CFA9; }
.c-dd-card-t { bottom: 20px; font-family: 'Gilda Display', 'Bodoni Moda', Didot, Georgia, serif; font-size: 25px; line-height: 1.2; }
.c-dd-card:hover img { scale: 1.04; }
.c-dd-card:focus-visible { outline: 2px solid #BBA07A; outline-offset: 3px; }
.c-dd-foot.c-dd-foot { padding: 18px clamp(20px, 3.4vw, 48px) 22px; gap: 4px 36px; border-top: 1px solid rgba(187, 160, 122, 0.35); }
.c-dd-foot.c-dd-foot a { min-height: 32px; border-top: 0; font-size: 11px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: #2C3345; }
.c-dd-foot.c-dd-foot a::after { content: "\2192"; margin-left: 10px; color: #BBA07A; transition: translate 200ms ease-out; }
.c-dd-foot.c-dd-foot a:hover { color: #002147; }
.c-dd-foot.c-dd-foot a:hover::after { translate: 4px 0; }
@media (max-width: 1240px) { .c-dd-has-card.c-dd-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .c-dd-has-card.c-dd-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .c-dd-card { display: none; } .c-dd .c-dd-col li a { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .c-dd .c-dd-col li a, .c-dd .c-dd-col li a::before, .c-dd-card img { transition: none; } }
.c-dd-has-card.c-dd-n4.c-dd-n4 { grid-template-columns: 1fr 1fr 1.3fr 1.1fr 210px; }
.c-dd-has-card.c-dd-n3.c-dd-n3 { grid-template-columns: 1fr 1fr 1fr 260px; }
.c-dd-in .c-dd-col { padding: 0 24px; }
.c-dd-in .c-dd-col:first-child { padding-left: 0; }
.c-dd-in .c-dd-h { white-space: nowrap; font-size: 10.5px; letter-spacing: 0.2em; }
.c-dd-in .c-dd-col li a { font-size: 16px; white-space: nowrap; }
.c-dd-in .c-dd-card { margin-left: 24px; }
@media (max-width: 1240px) { .c-dd-has-card.c-dd-n4.c-dd-n4 { grid-template-columns: 1fr 1fr 1.3fr 1.1fr; } .c-dd-has-card.c-dd-n3.c-dd-n3 { grid-template-columns: repeat(3, 1fr); } .c-dd-in .c-dd-col li a { white-space: normal; } }
.c-dd-has-card.c-dd-n4.c-dd-n4 { grid-template-columns: 1fr 1fr 1.3fr 1fr 250px; }
.c-dd-in .c-dd-card { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px; box-sizing: border-box; }
.c-dd-in .c-dd-card-k, .c-dd-in .c-dd-card-t { position: relative; left: auto; right: auto; bottom: auto; }
.c-dd-in .c-dd-card-t { font-size: 23px; }
@media (max-width: 1240px) { .c-dd-in .c-dd-card { display: none; } }

/* Lead dentist photo above two smaller ones (composite veneers) */
.a-d897cd > .ald-lead { grid-column: 1 / -1; width: 100%; max-width: 300px; justify-self: center; margin: 0 0 8px; }
.a-d897cd > .ald-lead figcaption { text-align: center; }
.a-d897cd:has(> .ald-lead) > .a-1abacd { max-width: 230px; justify-self: center; }

/* ===== 6 Nov 2026: jury review fixes (theme 1.0.4) ===== */

/* Booking buttons: on hover a fill sweeps across from the left (navy buttons fill gold,
   gold buttons fill navy). Pointer devices only, never with reduced motion. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.pill-book,
	.wp-block-button.is-style-ald-navy .wp-block-button__link,
	.wp-block-button.is-style-ald-gold .wp-block-button__link {
		/* !important: page styles and generated rules set the background shorthand after this file. */
		background-image: linear-gradient(#BBA07A, #BBA07A) !important;
		background-repeat: no-repeat !important;
		background-position: left center !important;
		background-size: 0% 100% !important;
		transition: background-size 460ms cubic-bezier(0.22, 1, 0.36, 1), color 260ms ease, scale 90ms ease !important;
	}
	.wp-block-button.is-style-ald-gold .wp-block-button__link { background-image: linear-gradient(#181B31, #181B31) !important; }
	.pill-book:hover,
	.wp-block-button.is-style-ald-navy .wp-block-button__link:hover { background-size: 100% 100% !important; color: #181B31 !important; }
	.wp-block-button.is-style-ald-gold .wp-block-button__link:hover { background-size: 100% 100% !important; color: #BBA07A !important; }

	/* Logo: the monogram lifts slightly and a gold rule draws under the name. */
	.c-logo img { transition: translate 420ms cubic-bezier(0.22, 1, 0.36, 1); }
	.c-logo .c-word {
		background-image: linear-gradient(#BBA07A, #BBA07A);
		background-repeat: no-repeat;
		background-position: 0 100%;
		background-size: 0% 1px;
		padding-bottom: 4px;
		transition: background-size 460ms cubic-bezier(0.22, 1, 0.36, 1);
	}
	.c-logo:hover img { translate: 0 -2px; }
	.c-logo:hover .c-word { background-size: 100% 1px; }
}
/* Logo keyboard focus: the same rounded gold ring as the buttons, not the browser's grey box. */
.c-logo:focus-visible { outline: 2px solid #BBA07A; outline-offset: 6px; border-radius: 12px; }

/* Page transitions: a short cross-fade between pages, and the clicked photo grows into the
   next page's header photo (assets/js/ald.js and inc/setup.php). The header stays put. */
@media (prefers-reduced-motion: no-preference) {
	@view-transition { navigation: auto; }
	.ald-header-part { view-transition-name: ald-header; }
	/* The old page holds still underneath and the new one fades up over it (no grey dip). */
	::view-transition-image-pair(root) { isolation: auto; }
	::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
	::view-transition-new(root) { animation: 760ms cubic-bezier(0.22, 1, 0.36, 1) both ald-vt-arch; mix-blend-mode: normal; }
	::view-transition-group(ald-arch) { animation-duration: 820ms; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
	::view-transition-old(ald-arch), ::view-transition-new(ald-arch) { height: 100%; object-fit: cover; }
}
@keyframes ald-vt-in { from { opacity: 0; translate: 0 14px; } }
/* The new page opens through the arch of the monogram, then widens to the full page. */
@keyframes ald-vt-arch {
	from { opacity: 0; clip-path: inset(18% 26% 0 26% round 999px 999px 0 0); }
	45% { opacity: 1; }
	to { opacity: 1; clip-path: inset(0 0 0 0 round 0 0 0 0); }
}

/* Phones: a deeper breadcrumb shows only the parent and the page ("Aesthetic dentistry / Porcelain
   veneers") on one line, so it
   no longer wraps to a lone "/" and the hero button clears the sticky Call / Book bar. The full
   trail stays in the page's schema. */
@media (max-width: 600px) {
	.ald-breadcrumbs ol:has(> li:nth-child(5)) { flex-wrap: nowrap !important; }
	.ald-breadcrumbs ol:has(> li:nth-child(5)) > li:not(:nth-last-child(-n+3)) { display: none; }
	.ald-breadcrumbs ol > li > a { white-space: nowrap; }
	.ald-breadcrumbs ol > li:last-child { min-width: 0; }
	.ald-breadcrumbs ol > li:last-child > span { display: block !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 44px; }
}

/* Closed menus are taken out of the page entirely (not only made invisible), so nothing in them
   can be reached, read or measured until they open. The desktop dropdown keeps its fade in
   browsers that can animate display; others open and close instantly. */
.c-mnav:not([open]) .c-mnav-sheet { display: none; }
.c-dd-panel { display: none; transition: opacity 180ms ease-out, translate 180ms ease-out, visibility 0s linear 180ms, display 180ms allow-discrete; }
.c-dd[data-open="true"] .c-dd-panel,
.c-dd-nav:not([data-js]) .c-dd:hover .c-dd-panel,
.c-dd-nav:not([data-js]) .c-dd:focus-within .c-dd-panel { display: block; }
@starting-style {
	.c-dd[data-open="true"] .c-dd-panel,
	.c-dd-nav:not([data-js]) .c-dd:hover .c-dd-panel,
	.c-dd-nav:not([data-js]) .c-dd:focus-within .c-dd-panel { opacity: 0; translate: 0 -6px; }
}

/* Footer links and single links in a paragraph get at least a 24 px tall tap area. Vertical
   padding on an inline link grows the tap area without changing line spacing or wrapping. */
p > a:only-child, p.has-lnk a { padding-block: 3px; }
footer li > a, footer p > a, p > a.lnk { padding-block: 4px; }

/* Call buttons: the same left-to-right sweep as Book, filling navy with white text. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.pill-call, .wp-block-button.is-style-ald-outline .wp-block-button__link {
		background-image: linear-gradient(#181B31, #181B31) !important;
		background-repeat: no-repeat !important;
		background-position: left center !important;
		background-size: 0% 100% !important;
		transition: background-size 460ms cubic-bezier(0.22, 1, 0.36, 1), color 260ms ease, scale 90ms ease !important;
	}
	.pill-call:hover, .wp-block-button.is-style-ald-outline .wp-block-button__link:hover { background-size: 100% 100% !important; color: #FFFFFF !important; }
	.pill-call:hover svg, .wp-block-button.is-style-ald-outline .wp-block-button__link:hover::before { filter: brightness(0) invert(1); }
	.c-dark .pill-call:hover, .wp-block-button.is-style-ald-outline-light .wp-block-button__link:hover { color: #181B31 !important; }
}

/* 404 page (blocks/not-found): text and ways back on the left, the gold monogram in a navy arch
   on the right. */
.ald-nf-main.ald-nf-main { padding-top: clamp(40px, 6vw, 96px); }
.ald-nf { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ald-nf-rule { display: block; width: 48px; height: 1px; background: #BBA07A; margin-bottom: 24px; }
.ald-nf-kick { margin: 0 0 18px; font-size: 12px; letter-spacing: 0.42em; text-transform: uppercase; color: #344D6C; }
.ald-nf-title { margin: 0 0 24px; font-family: var(--wp--preset--font-family--gilda-display); font-weight: 400; font-size: clamp(36px, calc(3.6vw + 4px), 56px); line-height: 1.08; color: #002147; max-width: 14em; }
.ald-nf-lead { margin: 0 0 32px; font-size: 18px; line-height: 1.7; color: #2C3345; max-width: 34em; }
.ald-nf-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.ald-nf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; }
.ald-nf-btn.pill-book { background-color: #181B31; color: #BBA07A; border: 1px solid #181B31; }
.ald-nf-btn.pill-call { background-color: transparent; color: #181B31; border: 1px solid #181B31; }
.ald-nf-nav ul { list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid rgba(52, 77, 108, 0.18); display: flex; flex-wrap: wrap; gap: 10px; }
.ald-nf-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border: 1px solid rgba(187, 160, 122, 0.7); border-radius: 999px; color: #181B31; text-decoration: none; font-size: 15px; transition: background-color 220ms ease, border-color 220ms ease; }
.ald-nf-nav a:hover { background: #F4F1EB; border-color: #BBA07A; }
.ald-nf-nav a:focus-visible { outline: 2px solid #BBA07A; outline-offset: 3px; }
.ald-nf-art { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; background: radial-gradient(120% 80% at 50% 30%, #2C3345 0%, #181B31 60%, #060816 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(187, 160, 122, 0.35); }
.ald-nf-art::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 16%; height: 1px; background: linear-gradient(90deg, transparent, #BBA07A, transparent); opacity: 0.7; }
.ald-nf-art img { width: 46%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }
@media (max-width: 900px) {
	.ald-nf { grid-template-columns: 1fr; }
	.ald-nf-art { order: -1; width: min(34vw, 150px); justify-self: start; }
	.ald-nf-main.ald-nf-main { padding-top: 32px; }
	.ald-nf-title { font-size: 34px; }
}

/* Keyboard focus: a clear 2 px navy ring on light sections, gold on navy ones. */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #181B31; outline-offset: 3px; }
.c-dark a:focus-visible, .c-dark button:focus-visible, footer a:focus-visible, .wp-block-button.is-style-ald-navy .wp-block-button__link:focus-visible, .pill-book:focus-visible { outline-color: #BBA07A; }

/* Card and section title links (a plain link alone in its paragraph, with no underline of its
   own): a gold underline draws in from the left on hover. */
main p:not(.has-lnk) > a:only-child:not([class]) {
	text-decoration: none;
	background-image: linear-gradient(#BBA07A, #BBA07A);
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0% 1px;
	padding-block: 3px;
}
@media (prefers-reduced-motion: no-preference) {
	main p:not(.has-lnk) > a:only-child:not([class]) { transition: background-size 420ms cubic-bezier(0.22, 1, 0.36, 1); }
}
main p:not(.has-lnk) > a:only-child:not([class]):hover { background-size: 100% 1px; }

/* ===== 6 Nov 2026, second pass towards 8 ===== */

/* Home "who we are" scroll story: the paragraphs beside the turning monogram sit closer together
   (the canvas spaced them 360 px apart, which reads as an empty column). */
.c-ch1 .c-panel + .c-panel { margin-top: 140px !important; }

/* Laser page treatment rows: the same cream card as the cards above them (wording unchanged). */
.c-row.c-card { background: #F4F1EB; border-color: transparent !important; }

/* Phones: the sticky Call / Book bar slides away while the page's own booking button is on
   screen, so the two never show together (assets/js/ald.js adds .is-tucked). */
.c-sbar { transition: translate 280ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s; }
.c-sbar.is-tucked { translate: 0 110%; visibility: hidden; transition: translate 280ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 280ms; }
@media (prefers-reduced-motion: reduce) { .c-sbar, .c-sbar.is-tucked { transition: none; } }

/* Smile design step-through (assets/js/ald.js): the 2D design, 3D design and trial smile share one
   frame; numbered steps below switch between them, and a gold line fills while each step shows. */
.ald-seq { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto !important; gap: 0 !important; }
.ald-seq > .ald-seq-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 700ms; margin: 0 !important; }
.ald-seq > .ald-seq-item.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.ald-seq > .ald-seq-item > :not(.c-frame) { display: none !important; }
.ald-seq .c-frame img { transition: scale 5200ms linear; }
.ald-seq .ald-seq-item.is-on .c-frame img { scale: 1.035; }
.ald-seq-tabs { grid-area: 2 / 1; width: 100%; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ald-seq-tab { position: relative; display: flex; align-items: baseline; gap: 10px; min-height: 48px; padding: 12px 0 14px; border: 0; background: none; text-align: left; cursor: pointer; color: #344D6C; font: inherit; font-size: 15px; line-height: 1.35; }
.ald-seq-tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(52, 77, 108, 0.25); }
.ald-seq-tab::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: #BBA07A; }
.ald-seq-tab .ald-seq-n { font-family: var(--wp--preset--font-family--gilda-display); font-size: 22px; color: #BBA07A; }
.ald-seq-tab[aria-selected="true"] { color: #002147; font-weight: 700; }
.ald-seq-tab[aria-selected="true"]::after { width: 100%; }
.ald-seq.is-playing .ald-seq-tab[aria-selected="true"]::after { width: 0; animation: ald-seq-fill var(--dur, 5200ms) linear forwards; }
@keyframes ald-seq-fill { to { width: 100%; } }
.ald-seq-tab:hover { color: #002147; }
.ald-seq-tab:focus-visible { outline: 2px solid #181B31; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.ald-seq > .ald-seq-item, .ald-seq .c-frame img { transition: none; }
	.ald-seq .ald-seq-item.is-on .c-frame img { scale: none; }
}

/* Hover polish (6 Nov 2026, round two): every round control answers the same way. */
@media (hover: hover) and (pointer: fine) {
	button.vidbtn.iconbtn.vidbtn:hover { background-color: #BBA07A !important; border-color: #BBA07A !important; color: #181B31 !important; }
	.ald-seq-tab:hover::after { width: 100%; }
	.ald-seq-tab:hover .ald-seq-n { color: #002147; }
	.ald-nf-nav a:hover { background: #181B31; border-color: #181B31; color: #BBA07A; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.vidbtn { transition: background-color 220ms ease, color 220ms ease, scale 220ms cubic-bezier(0.22, 1, 0.36, 1) !important; }
	.vidbtn:hover { scale: 1.08; }
	.ald-seq-tab::after { transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1); }
}
.c-dd-btn:focus-visible { outline-offset: 4px; }

/* Phones: a soft navy wash behind the home hero text so the white headline never sits on the lit
   sign in the video. */
@media (max-width: 700px) {
	#home::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(24, 27, 49, 0.2) 0%, rgba(24, 27, 49, 0.55) 45%, rgba(24, 27, 49, 0.7) 100%); }
	#home > :not(video):not(img):not(.vidbtn) { position: relative; z-index: 1; }
}

/* One left edge (6 Nov 2026): the header, its dropdowns and the home page hero use the same frame
   as the page content (1280 px wide, the same side padding), so the logo, the headline and the text
   below all start on one line. Previously the header frame was 1440 px wide with 48 px padding. */
.ald-header-part header > div:first-of-type { max-width: 1280px !important; padding-inline: clamp(20px, 4.4vw, 64px) !important; box-sizing: border-box; }
.c-dd-in, .c-dd-in.c-dd-in { max-width: 1280px; padding-inline: clamp(20px, 4.4vw, 64px); }
#home > .wp-block-group { max-width: 1280px !important; width: 100%; margin-inline: auto !important; padding-inline: clamp(20px, 4.4vw, 64px) !important; box-sizing: border-box; }

/* Phones: treatment pages open with their arch photo, smaller, above the heading, so the first
   screen shows the brand shape rather than text alone. */
@media (max-width: 700px) {
	.c-hero > :has(img[fetchpriority="high"]) { order: -1; width: min(60vw, 250px) !important; max-width: none !important; margin: 0 !important; justify-self: start !important; }
}

/* Phones: the wide hero (TMD, wisdom teeth, orthodontics, children's dentistry, teeth grinding,
   worn teeth) is one column, as on the canvas (theme 1.0.5, 12 Nov 2026). In canvas-global.css the
   style merge put .c-hero-wide's two columns after the canvas's 900 px one-column rule, so these
   pages kept two columns on phones: the photo took the left one and the heading, text and buttons
   were squeezed into about 100 px on the right, with the buttons running off the screen. Tablets
   (701 to 900 px) keep their two columns, unchanged. */
@media (max-width: 700px) {
	.c-hero.c-hero-wide { grid-template-columns: minmax(0, 1fr); }
}

/* Phones: the sticky bar says "Book a consultation" like every other booking button; the Call
   button takes less room so the longer label fits on one line. */
.c-sbar .pill-call { flex: 0 0 auto; padding-inline: 22px; }
.c-sbar .pill-book { flex: 1 1 auto; white-space: nowrap; }

/* Home "who we are": the practice monogram in black, no arch and no gold (James, 6 Nov 2026,
   replacing the turning gold monogram). As the section scrolls past, the monogram grows and fades
   into a faint watermark behind the text. Browsers without scroll-driven animation, and visitors
   who turn on reduced motion, see it still and crisp. */
.c-ch1 { overflow: clip; }
.c-ch1-grid > :not(.c-stage-col) { position: relative; z-index: 1; }
.c-stage-col { position: relative; z-index: 0; }
.ald-mono-stage { display: flex !important; align-items: center; justify-content: center; }
.ald-mono { display: block; width: min(56%, 300px); height: auto; transform-origin: 50% 50%; }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.c-stage-col { view-timeline-name: --ald-mono; view-timeline-axis: block; }
		.ald-mono { animation: ald-mono-fade linear both; animation-timeline: --ald-mono; animation-range: cover 20% cover 95%; }
	}
}
@keyframes ald-mono-fade {
	0%, 25% { scale: 1; opacity: 1; }
	100% { scale: 2.8; opacity: 0.05; }
}
/* Phones: the monogram sits in a short strip above the text, so it stays small, crisp and still. */
@media (max-width: 900px) {
	.ald-mono-stage.c-stage { height: 240px !important; }
	.ald-mono, .ald-mono.ald-mono { width: min(34vw, 150px); animation: none !important; scale: 1; opacity: 1; }
	.c-ch1 .c-stage-col { margin-bottom: 32px !important; }
}

/* 404: the black monogram on white inside a fine arch outline (matches the home page, no gold or navy panel). */
.ald-nf-art, .ald-nf-art.ald-nf-art { background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.22); }
.ald-nf-art::after { background: linear-gradient(90deg, transparent, rgba(26, 26, 26, 0.35), transparent); }
.ald-nf-art img { width: 38%; filter: none; }

/* Booking pop-up (assets/js/ald.js): Core Practice's form in a panel over the page. Centred on
   desktop, full screen on phones. The page behind does not scroll while it is open. */
html.ald-dlg-open { overflow: hidden; }
.ald-book-dlg { width: min(760px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 24px; background: #FFFFFF; color: #1A1A1A; box-shadow: 0 40px 80px -30px rgba(6, 8, 22, 0.55); overflow: hidden; display: none; }
.ald-book-dlg[open] { display: flex; flex-direction: column; }
.ald-book-dlg::backdrop { background: rgba(6, 8, 22, 0.55); backdrop-filter: blur(3px); }
.ald-book-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 20px 16px 32px; border-bottom: 1px solid rgba(52, 77, 108, 0.14); }
.ald-book-head h2 { margin: 0; font-family: var(--wp--preset--font-family--gilda-display); font-weight: 400; font-size: 28px; line-height: 1.2; color: #002147; }
.ald-book-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(24, 27, 49, 0.2); border-radius: 50%; background: #FFFFFF; color: #181B31; cursor: pointer; transition: background-color 200ms ease, border-color 200ms ease; }
.ald-book-x:hover { background: #F4F1EB; border-color: #181B31; }
.ald-book-x:focus-visible { outline: 2px solid #181B31; outline-offset: 3px; }
.ald-book-body { flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; }
.ald-book-body .c-embed { border: 0; border-radius: 0; margin: 0; }
.ald-book-body .c-embed-frame { min-height: 70vh; }
.ald-book-body .c-embed-note { position: static; translate: none; width: auto; max-width: 460px; margin: 0 auto; border: 0; box-shadow: none; background: transparent; }
.ald-book-body .c-embed-off svg { margin-bottom: 4px; }
.ald-book-wait { margin: 0; padding: 56px 32px; text-align: center; font-size: 16px; line-height: 1.6; color: #2C3345; }
.ald-book-body .c-embed-off { padding: 48px 32px; text-align: center; }
.ald-book-foot { margin: 0; padding: 14px 32px 18px; border-top: 1px solid rgba(52, 77, 108, 0.14); font-size: 14px; line-height: 1.5; color: #2C3345; }
.ald-book-foot a { color: #002147; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
	.ald-book-dlg[open] { animation: ald-dlg-in 360ms cubic-bezier(0.22, 1, 0.36, 1); }
	.ald-book-dlg[open]::backdrop { animation: ald-dlg-fade 360ms ease; }
}
@keyframes ald-dlg-in { from { opacity: 0; translate: 0 18px; } }
@keyframes ald-dlg-fade { from { opacity: 0; } }
@media (max-width: 700px) {
	.ald-book-dlg { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
	.ald-book-head { padding: 14px 14px 12px 20px; }
	.ald-book-head h2 { font-size: 24px; }
	.ald-book-foot { padding: 12px 20px 16px; }
}

/* Booking form blocked (staging, a local copy, or a browser that blocks frames): show only the
   "Book online with Core Practice" card, centred, without the grey loading placeholder behind it. */
.c-embed.is-blocked .c-embed-wait { display: none !important; }
.c-embed.is-blocked .c-embed-off { position: static !important; translate: none !important; margin: 56px auto !important; box-shadow: none !important; }
.c-embed.is-blocked .c-embed-fallback { display: none; }
.c-embed.is-blocked, .c-embed.is-blocked.is-blocked { min-height: 0 !important; padding-bottom: 8px; }
