/* Direction: Agency Classic. The earlier agency-built dental homepage's system, translated to Club
   Dental: cool porcelain grounds, a pale-blue band where the agency used sage, deep navy ink bands,
   Club blue for actions and the one bold word in each heading. Manrope light for display, fine
   rules between rows, 18px card radius, 10px photo radius, rings at the band edges, the dock.
   One type scale: every size below comes from the --fs tokens. */
.ac {
  --bone: #f8f9fb; --paper: #ffffff; --mist: #e8eef7; --blush: #f0f2f6;
  --ink: #0c1530; --ink-2: #142046; --navy: #11234b;
  --accent: #1f4fbf; --accent-2: #173f9c; --accent-light: #a9c0f6; --accent-soft: #e3eafb;
  --t1: #0f1a36; --t2: #3c4762; --t3: #5d6782;
  --line: rgba(15, 26, 54, .16); --line-strong: rgba(15, 26, 54, .3);
  --on-ink-2: rgba(255, 255, 255, .8); --on-ink-3: rgba(255, 255, 255, .64); --on-ink-line: rgba(255, 255, 255, .2);
  --alert: #b42318; --alert-bg: #fdecea; --alert-ink: #5c1a12;
  --fs-cap: 12.5px; --fs-ui: 15px; --fs-body: 17.5px; --fs-lede: 19px; --fs-h3: 21px;
  --fs-h2: clamp(36px, 4.6vw, 64px); --fs-h1: clamp(40px, 6.4vw, 92px);
  --r-card: 18px; --r-img: 10px; --max: 1200px; --pad: clamp(16px, 4vw, 44px);
  --gap: clamp(56px, 6.5vw, 92px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  margin: 0; background: var(--bone); color: var(--t1);
  font: 400 var(--fs-body)/1.65 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@view-transition { navigation: auto; }
.ac *, .ac *::before, .ac *::after { box-sizing: border-box; }
.ac ::selection { background: var(--accent); color: #fff; }
.ac input { caret-color: var(--accent); }
html:has(.ac) { scrollbar-color: rgba(15, 26, 54, .35) transparent; scroll-behavior: smooth; }
.ac a { color: var(--accent); text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); }
.ac :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ac :where(p, h1, h2, h3, ul, ol, dl, dd, figure, address) { margin: 0; padding: 0; }
.ac :where(ul, ol) { list-style: none; }
.ac :where(address) { font-style: normal; }
.ac p { text-wrap: pretty; }
.ac img, .ac video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ac h1, .ac h2 { font-weight: 300; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; color: var(--t1); }
.ac h2 { font-size: var(--fs-h2); }
.ac h1 em, .ac h2 em { font-style: normal; font-weight: 600; color: var(--accent); }
.ac h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.dbar { background: #050b1e; color: #c9d6f5; font: 500 13px/1.4 'Manrope', sans-serif; padding: 8px 16px; text-align: center; }

/* buttons and links */
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 100px; padding: 13px 22px; font-size: var(--fs-ui); font-weight: 600; line-height: 1.2; text-decoration: none !important; border: 1px solid transparent; white-space: nowrap; }
.ac-btn--lg { padding: 16px 26px; }
.ac-btn--solid { background: var(--accent); color: #fff !important; }
.ac-btn--solid:hover { background: var(--accent-2); }
.ac-btn--ghost { border-color: var(--line-strong); color: var(--t1) !important; background: transparent; }
.ac-btn--ghost:hover { border-color: var(--t1); background: var(--paper); }
.ac-btn--light { background: #fff; color: var(--ink) !important; }
.ac-btn--light:hover { background: var(--accent-soft); }
.ac-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: var(--fs-ui); }
.ac-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.ac-btns--c { justify-content: center; margin-top: 40px; }
.ac-band--ink a:not(.ac-btn), .ac-foot a { color: var(--accent-light); }
.ac-band--ink a:not(.ac-btn):hover, .ac-foot a:hover { color: #fff; }

/* top bar and header */
.ac-bar { display: flex; justify-content: center; align-items: center; background: var(--ink); color: #fff; padding: 9px var(--pad); font-size: var(--fs-cap); }
.ac-bar p { display: flex; align-items: center; gap: 9px; font-weight: 500; letter-spacing: .02em; }
.ac-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-light); flex: none; }
.ac-head { position: sticky; top: 0; z-index: 40; display: flex; align-items: stretch; justify-content: space-between; gap: 20px; padding: 0 var(--pad); min-height: 84px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 6px 24px rgba(12, 21, 48, .05); }
.ac-head > * { align-self: center; }
.ac-logo { display: block; width: 184px; color: #0a1840; flex: none; }
.ac-logo svg { filter: drop-shadow(0 0 .4px #0a1840) drop-shadow(0 0 .4px #0a1840); }
.ac-logo svg, .ac-foot__logo svg { display: block; width: 100%; height: auto; }
.ac-acts { display: flex; gap: 10px; align-items: center; }
.ac-phone { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: 100px; padding: 11px 18px; color: var(--t1) !important; text-decoration: none !important; font-weight: 600; font-size: var(--fs-ui); white-space: nowrap; }
.ac-phone:hover { border-color: var(--t1); }

/* main nav, mega menu and dropdown (hover and keyboard focus, no script) */
.ac-nav { display: flex; align-self: stretch !important; }
.ac-nav__list { display: flex; align-items: stretch; gap: clamp(4px, 1vw, 12px); }
.ac-nav__list > li { display: flex; align-items: center; }
.ac-nav__a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; border-radius: 100px; color: var(--t1) !important; text-decoration: none !important; font-size: var(--fs-ui); font-weight: 600; }
.ac-nav__a:hover, .ac-mi:hover > .ac-nav__a, .ac-mi:focus-within > .ac-nav__a { background: var(--accent-soft); color: var(--accent-2) !important; }
.ac-mi > .ac-nav__a svg { transform: rotate(90deg); transition: transform .3s var(--ease); }
.ac-mi:hover > .ac-nav__a svg, .ac-mi:focus-within > .ac-nav__a svg { transform: rotate(-90deg); }
.ac-mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(12, 21, 48, .12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
.ac-mi:hover .ac-mega, .ac-mi:focus-within .ac-mega { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }
.ac-mega__in { max-width: var(--max); margin: 0 auto; padding: 36px var(--pad) 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 32px; }
.ac .ac-mega__h { font-size: var(--fs-cap); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.ac-mega__col a { display: block; padding: 7px 0; color: var(--t1); text-decoration: none; font-size: var(--fs-ui); font-weight: 500; }
.ac-mega__col a:hover { color: var(--accent); text-decoration: underline; }
.ac-mega__feat { background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 24px 24px 26px; }
.ac .ac-mega__feat .ac-mega__h { color: var(--accent-light); border-color: var(--on-ink-line); }
.ac-mega__feat a:not(.ac-btn) { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; color: #fff; text-decoration: none; font-weight: 600; font-size: var(--fs-ui); border-bottom: 1px solid var(--on-ink-line); }
.ac-mega__feat a:not(.ac-btn):hover { color: var(--accent-light); }
.ac-mega__feat .ac-btn { margin-top: 20px; }
.ac-mi--small { position: relative; }
.ac-drop { position: absolute; top: calc(100% - 14px); left: 50%; min-width: 240px; padding: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 50px rgba(12, 21, 48, .14); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
.ac-mi--small:hover .ac-drop, .ac-mi--small:focus-within .ac-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }
.ac-drop::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.ac-drop a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--t1); text-decoration: none; font-size: var(--fs-ui); font-weight: 500; }
.ac-drop a:hover { background: var(--accent-soft); color: var(--accent-2); }
.ac-mnav { display: none; position: relative; }
.ac-mnav summary { list-style: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); cursor: pointer; color: var(--t1); }
.ac-mnav summary::-webkit-details-marker { display: none; }
.ac-mnav[open] summary { background: var(--ink); color: #fff; border-color: var(--ink); }
.ac-mnav__panel { position: absolute; right: 0; top: calc(100% + 12px); width: min(86vw, 320px); padding: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px rgba(12, 21, 48, .18); z-index: 70; }
.ac-mnav__main { display: block; padding: 13px 14px; border-radius: 10px; color: var(--t1) !important; text-decoration: none !important; font-weight: 600; }
.ac-mnav__main + .ac-mnav__main { border-top: 1px solid var(--line); }
.ac-mnav__main:hover { background: var(--accent-soft); }

/* short list on the homepage, page hero, jump links */
.ac-index--short { margin-top: clamp(36px, 4vw, 48px); display: block; border-top: 1px solid var(--line-strong); }
.ac-hero.ac-hero--page { padding-bottom: clamp(28px, 3vw, 40px); }
.ac-hero--page p { margin-top: 20px; }
.ac-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.ac-jump a { padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--t1); text-decoration: none; font-size: var(--fs-ui); font-weight: 500; }
.ac-jump a:hover { border-color: var(--accent); color: var(--accent); }
.ac-band.ac-band--tight { padding-top: 8px; }
.ac-index__g { scroll-margin-top: 110px; }
.ac-fine-dark { margin-top: 32px; font-size: var(--fs-ui); color: var(--t3); }
.ac-btn--ghost-ink { border-color: var(--on-ink-line); color: #fff !important; }
.ac-btn--ghost-ink:hover { border-color: #fff; }

/* Google Maps, loaded on request */
.ac-map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: var(--mist); border: 1px solid var(--line); }
.ac-map > img { position: absolute; inset: 0; }
.ac-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .5s var(--ease); }
.ac-map.is-live iframe { opacity: 1; }

/* back to the top */
.ac-top { position: fixed; right: clamp(12px, 2vw, 28px); bottom: calc(clamp(12px, 2vw, 28px) + 74px); z-index: 61; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--paper); color: var(--ink) !important; border: 1px solid var(--line-strong); box-shadow: 0 10px 30px rgba(12, 21, 48, .18); text-decoration: none !important; }
.ac-top svg { transform: rotate(-90deg); }
.ac-top:hover { background: var(--ink); color: #fff !important; border-color: var(--ink); }
@supports (animation-timeline: scroll()) {
  .ac-top { animation: ac-top-in linear both; animation-timeline: scroll(root); animation-range: 0 600px; }
}
@keyframes ac-top-in { 0%, 60% { opacity: 0; visibility: hidden; transform: translateY(10px); } 100% { opacity: 1; visibility: visible; transform: none; } }

/* hero */
.ac-hero { max-width: 1200px; margin: 0 auto; padding: clamp(44px, 6vw, 80px) var(--pad) clamp(40px, 5vw, 64px); text-align: center; }
.ac-hero h1 span { display: block; }
.ac-hero h1 { font-size: var(--fs-h1); letter-spacing: -.04em; line-height: 1.02; }
.ac-hero p { max-width: 660px; margin: 24px auto 0; font-size: var(--fs-lede); color: var(--t2); }
.ac-group { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* homepage hero: words left, the practice front right, both inside the first screen */
.ac-hero.ac-hero--split { max-width: var(--max); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; text-align: left; padding: clamp(28px, 3.5vw, 48px) var(--pad) clamp(28px, 3.5vw, 44px); }
.ac-hero--split h1 { font-size: clamp(38px, 4.1vw, 60px); }
.ac-hero--split h1 span { display: inline; }
.ac-hero--split p { margin: 22px 0 0; max-width: 560px; }
.ac-hero--split .ac-group { justify-content: flex-start; margin-top: 30px; }
.ac-hero__img { position: relative; margin: 0; aspect-ratio: 1 / 1; max-height: 500px; border-radius: var(--r-card); overflow: hidden; background: var(--mist); box-shadow: 0 24px 60px rgba(12, 21, 48, .16); }
.ac-hero__img img { object-position: 50% 58%; }

/* trust strip: five confirmed facts in ruled cells */
.ac-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.ac-trust ul { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ac-trust li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px clamp(12px, 1.6vw, 24px); font-size: var(--fs-ui); font-weight: 500; line-height: 1.35; color: var(--t1); }
.ac-trust li + li { border-left: 1px solid var(--line); }
.ac-trust svg { flex: none; color: var(--accent); }

/* bands and rings */
.ac-band { position: relative; padding: var(--gap) 0; overflow: hidden; }
.ac-band--mist { background: var(--mist); }
.ac-band--paper { background: var(--paper); }
.ac-band--bone { background: var(--bone); }
.ac-band--blush { background: var(--blush); }
.ac-band--ink { background: var(--ink); color: #fff; }
.ac-band--ink h2 { color: #fff; }
.ac-band--ink h2 em { color: var(--accent-light); }
/* band-edge ornament: a fine line drawing of the Club Dental mark (interlinked teeth), from the logo's own outline */
.ac-ring::before { content: ''; position: absolute; aspect-ratio: 156 / 161.2; pointer-events: none; background: rgba(15, 26, 54, .24); -webkit-mask: url('/lp/brand/club-dental-mark-line.svg') center / contain no-repeat; mask: url('/lp/brand/club-dental-mark-line.svg') center / contain no-repeat; }
.ac-band--ink.ac-ring::before { background: rgba(255, 255, 255, .2); }
.ac-ring--l::before { width: clamp(260px, 24vw, 360px); left: 0; top: 50%; transform: translate(-46%, -50%) rotate(-8deg); }

.ac-ring--r::before { width: clamp(260px, 24vw, 360px); right: 0; top: 50%; transform: translate(46%, -50%) rotate(8deg); }

.ac-wrap { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.ac-c { text-align: center; margin-left: auto; margin-right: auto; }
.ac-lede { margin-top: 18px; max-width: 620px; font-size: var(--fs-lede); color: var(--t2); }

/* the giant price */
.ac-big { text-align: center; }
.ac-big__n { font-size: clamp(120px, 15vw, 200px); font-weight: 200; letter-spacing: -.05em; line-height: .9; color: var(--ink); font-variant-numeric: lining-nums; }
.ac-big__n sup { font-size: .3em; font-weight: 300; vertical-align: .95em; margin-right: .04em; }
.ac h2.ac-big__h { margin-top: 14px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; letter-spacing: -.015em; }
.ac-big__p { max-width: 560px; margin: 14px auto 0; font-size: var(--fs-lede); color: var(--t2); }
.ac-rows { margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line); }
.ac-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.ac-row__k { font-size: var(--fs-cap); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); }
.ac-row h3 { font-weight: 400; letter-spacing: -.02em; }
.ac-row p { margin-top: 6px; max-width: 62ch; color: var(--t2); }
.ac-trio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 840px; margin: 40px auto 0; }
.ac-trio > div { padding: 4px 32px; text-align: center; }
.ac-trio > div + div { border-left: 1px solid var(--line); }
.ac-trio p { margin-top: 8px; color: var(--t2); }

/* ink practice band */
.ac-practice { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ac-practice p { margin-top: 24px; max-width: 600px; font-size: var(--fs-lede); color: var(--on-ink-2); }
.ac-pcard { border: 1px solid var(--on-ink-line); border-radius: var(--r-card); padding: 34px 30px; }
.ac .ac-pcard p { margin: 0; max-width: none; }
.ac .ac-pcard__h { font-size: var(--fs-ui); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.ac .ac-pcard__and { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: var(--fs-cap); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-light); }
.ac-pcard__and::before { content: ''; width: 40px; height: 1px; background: var(--on-ink-line); }
.ac-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--on-ink-line); padding-top: 36px; }
.ac-figs > div { text-align: center; padding: 0 16px; }
.ac-figs > div + div { border-left: 1px solid var(--on-ink-line); }
.ac-figs dt { font-size: clamp(48px, 5.6vw, 72px); font-weight: 200; letter-spacing: -.04em; line-height: 1; }
.ac-figs dt small { font-size: .4em; font-weight: 300; margin-left: 2px; }
.ac-figs dd { margin-top: 10px; font-size: var(--fs-ui); color: var(--on-ink-3); }

/* treatment index */
.ac-index { margin-top: clamp(40px, 5vw, 56px); display: grid; gap: 40px; }
.ac .ac-index__h { font-size: var(--fs-cap); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.ac-index li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 150px; gap: 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ac-index b { font-size: clamp(var(--fs-h3), 2vw, 25px); font-weight: 300; letter-spacing: -.025em; line-height: 1.2; }
.ac-index span { color: var(--t2); }
.ac-index i { font-style: normal; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* split */
.ac-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.ac-split__img { aspect-ratio: 4 / 5; border-radius: var(--r-img); overflow: hidden; background: var(--mist); }
.ac-checks { margin-top: 28px; border-top: 1px solid var(--line); }
.ac-checks li { display: flex; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ac-checks svg { flex: none; color: var(--accent); transform: translateY(2px); }

/* team arches */
.ac-team { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); justify-content: center; gap: clamp(20px, 4vw, 48px); margin-top: 48px; }
.ac-team li { display: grid; gap: 4px; text-align: center; }
.ac-team .ac-arch { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-img) var(--r-img); background: linear-gradient(180deg, var(--mist) 0%, var(--accent-soft) 100%); border: 1px solid var(--line); font-size: clamp(44px, 5vw, 60px); font-weight: 200; letter-spacing: -.03em; color: var(--navy); margin-bottom: 14px; }
.ac-team b { font-weight: 600; }
.ac-team span:not(.ac-arch), .ac-team small { font-size: var(--fs-ui); color: var(--t2); }
.ac-team small { color: var(--t3); }

/* the honest bit */
.ac-honest { max-width: 780px; text-align: center; }
.ac-honest p { margin: 26px auto 0; max-width: 620px; font-size: var(--fs-lede); color: var(--on-ink-2); }
.ac .ac-honest__q { font-weight: 500; color: #fff; }
.ac .ac-alert { max-width: 640px; text-align: left; background: var(--alert-bg); color: var(--alert-ink); border-radius: 12px; padding: 16px 18px; font-size: var(--fs-body); }
.ac-alert b { color: var(--alert); margin-right: 6px; }
.ac .ac-fine { font-size: var(--fs-ui); color: var(--on-ink-3); }
.ac-honest .ac-btn { margin-top: 32px; }

/* FAQ */
.ac-faq { max-width: 820px; }
.ac-faq h2 { margin-bottom: 40px; }
.ac-faq details { border-top: 1px solid var(--line); }
.ac-faq details:last-child { border-bottom: 1px solid var(--line); }
.ac-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: var(--fs-lede); font-weight: 500; }
.ac-faq summary::-webkit-details-marker { display: none; }
.ac-faq summary::after { content: ''; width: 14px; height: 14px; flex: none; background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat; transition: transform .3s var(--ease); }
.ac-faq details[open] summary::after { transform: rotate(45deg); }
.ac-faq details p { padding: 0 0 22px; max-width: 64ch; color: var(--t2); }

/* enquiry band */
.ac-enq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ac-enq h2 em { display: block; }
.ac-enq__pts { margin-top: 32px; border-top: 1px solid var(--on-ink-line); }
.ac-enq__pts li { padding: 16px 0; border-bottom: 1px solid var(--on-ink-line); color: var(--on-ink-2); }
.ac-enq__pts b { color: #fff; font-weight: 600; }
.ac-formcard { background: var(--bone); color: var(--t1); border-radius: var(--r-card); padding: clamp(24px, 3vw, 34px); box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.ac-formcard h3 { font-weight: 400; letter-spacing: -.02em; }
.ac-formcard > p { margin: 6px 0 22px; font-size: var(--fs-ui); color: var(--t2); }
.dform { display: grid; gap: 16px; position: relative; }
.dform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dform__f { display: grid; gap: 6px; }
.dform label { font-size: var(--fs-cap); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--t3); }
.dform input { font: inherit; font-size: var(--fs-body); color: var(--t1); background: transparent; border: 0; border-bottom: 1.5px solid var(--line-strong); padding: 10px 2px; min-height: 48px; border-radius: 0; transition: border-color .3s var(--ease); }
.dform input:hover { border-color: var(--t2); }
.dform input:focus { outline: none; border-color: var(--accent); }
.dform__go { margin-top: 8px; font: 600 var(--fs-ui)/1 'Manrope', sans-serif; background: var(--accent); color: #fff; border: 0; border-radius: 100px; min-height: 54px; cursor: pointer; transition: background .3s var(--ease); }
.dform__go:hover { background: var(--accent-2); }
.dform__go:disabled { background: var(--t3); cursor: not-allowed; }
.dform__note { font-size: var(--fs-cap); color: var(--t3); }

/* visit */
.ac-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ac-visit address { margin-top: 26px; line-height: 1.6; }
.ac-facts { margin-top: 22px; border-top: 1px solid var(--line); }
.ac-facts li { display: flex; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--t2); }
.ac-facts b { color: var(--t1); font-weight: 600; }
.ac-facts svg { flex: none; color: var(--accent); transform: translateY(2px); }
.ac-visit__img { aspect-ratio: 3 / 4; max-height: 640px; border-radius: var(--r-img); overflow: hidden; background: var(--mist); justify-self: end; width: 100%; max-width: 480px; }

/* footer and dock */
.ac-foot { background: var(--ink); color: var(--on-ink-3); padding: 56px 0 120px; font-size: var(--fs-ui); }
.ac-foot__logo { display: block; width: 150px; color: #fff; margin-bottom: 22px; }
.ac-foot p + p { margin-top: 10px; }
.ac-dock { position: fixed; right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); z-index: 60; display: flex; gap: 6px; padding: 6px; background: rgba(12, 21, 48, .96); border: 1px solid var(--on-ink-line); border-radius: 100px; box-shadow: 0 18px 50px rgba(12, 21, 48, .3); animation: ac-dock-in .7s var(--ease) both .3s; }
.ac-dock a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 100px; padding: 12px 20px; font-size: var(--fs-ui); font-weight: 600; text-decoration: none; color: #fff; border: 1px solid var(--on-ink-line); white-space: nowrap; }
.ac-dock a:hover { background: var(--ink-2); color: #fff; }
.ac-dock .ac-dock__book { background: var(--accent); border-color: var(--accent); }
.ac-dock .ac-dock__book:hover { background: var(--accent-2); }
.ac-dock .ac-show-s { display: none; }
@keyframes ac-dock-in { from { transform: translateY(24px); } }

@media (max-width: 1080px) {
  .ac-nav { display: none !important; }
  .ac-mnav { display: block; }
  .ac-logo { width: 160px; }
}
@media (max-width: 960px) {
  .ac-hero.ac-hero--split { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 28px; }
  .ac-hero--split p { margin: 20px auto 0; }
  .ac-hero--split .ac-group { justify-content: center; }
  .ac-hero__img { aspect-ratio: 4 / 3; max-height: none; }
  .ac-trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-trust li + li { border-left: 0; }
  .ac-trust li { border-top: 1px solid var(--line); }
  .ac-trust li:nth-child(-n+2) { border-top: 0; }
  .ac-trust li:nth-child(even) { border-left: 1px solid var(--line); }
  .ac-trust li:last-child { grid-column: 1 / -1; border-left: 0; justify-content: center; }
}
@media (max-width: 860px) {
  .ac-practice, .ac-split, .ac-enq, .ac-visit { grid-template-columns: minmax(0, 1fr); }
  .ac-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ac-trio { grid-template-columns: minmax(0, 1fr); }
  .ac-trio > div { padding: 20px 0; text-align: left; }
  .ac-trio > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .ac-index li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; }
  .ac-index span { grid-column: 1 / -1; grid-row: 2; }
  .ac-visit__img { justify-self: stretch; max-width: none; aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .ac { --fs-body: 17px; --fs-lede: 18px; --fs-h3: 19px; --fs-ui: 14.5px; }
  .ac-head { position: static; }
  .ac-hide-s { display: none; }
  .ac-logo { width: 136px; }
  .ac-head { min-height: 72px; }
  .ac-top { bottom: 84px; right: 12px; width: 46px; height: 46px; }
  .ac-phone { padding: 10px 14px; }
  .ac-hero h1 { font-size: clamp(36px, 10.4vw, 42px); }
  .ac-hero h1 span { display: inline; }
    .ac-group .ac-btn, .ac-btns .ac-btn { flex: 1 1 100%; }
  .ac-figs dt { font-size: 40px; }
  .ac-figs > div { padding: 0 6px; }
  .ac-team { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 32px; }
  .ac-team li { grid-template-columns: 76px minmax(0, 1fr); column-gap: 16px; align-items: center; text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ac-team li:first-child { border-top: 1px solid var(--line); }
  .ac-team .ac-arch { grid-row: 1 / span 3; margin: 0; font-size: 26px; }
  .ac-ring--l::before { width: 200px; }

  .ac-ring--r::before { width: 200px; }

  .ac-dock { left: 10px; right: 10px; bottom: 10px; }
  .ac-dock a { flex: 1; padding: 12px 8px; }
  .ac-dock .ac-show-s { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .ac-dock, .ac-top { animation: none; }
  .ac-mega, .ac-drop { transition: none; }
  html:has(.ac) { scroll-behavior: auto; }
}
.dform__sent { padding: 18px 0; font-size: var(--fs-body); color: var(--t1); }
/* ---- CDN-001 copy sections ---- */
.ac-prose p + p { margin-top: 14px; }
.ac-prose a { font-weight: 600; }
.ac-hero__copy p { margin: 0; max-width: 580px; font-size: var(--fs-body); color: var(--t2); }
.ac-hero__copy p:first-child { margin-top: 22px; font-size: var(--fs-lede); color: var(--t1); }
.ac-hero__copy p + p { margin-top: 12px; }
.ac-band.ac-band--short { padding: clamp(44px, 5vw, 72px) 0; }

/* treatments: ruled rows, H3 left, copy right; bonding carries the surgery photo */
.ac-tx { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-strong); }
.ac-tx__row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 16px clamp(24px, 4vw, 56px); padding: 28px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.ac-tx__row h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 300; letter-spacing: -.025em; line-height: 1.15; }
.ac-tx__row .ac-prose { color: var(--t2); max-width: 68ch; }

/* NHS answer: one short ink band */
.ac-nhs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.ac-nhs h2 { font-size: clamp(32px, 3.6vw, 50px); }
.ac-nhs .ac-prose { font-size: var(--fs-lede); color: var(--on-ink-2); }
.ac-nhs .ac-prose p:first-child { color: #fff; font-weight: 500; }

/* prices: the giant numeral beside the heading, the copy's table ruled */
.ac-cost { max-width: 760px; }
.ac-cost__lead { margin-top: 18px; font-size: var(--fs-lede); color: var(--t2); max-width: 640px; }
.ac-table { margin-top: 28px; max-width: 720px; }
.ac-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ac-table thead th { font-size: var(--fs-cap); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--t3); text-align: left; padding: 0 0 12px; border-bottom: 1px solid var(--line-strong); }
.ac-table thead th:last-child, .ac-table td { text-align: right; }
.ac-table tbody th { text-align: left; font-weight: 400; padding: 15px 16px 15px 0; border-bottom: 1px solid var(--line); }
.ac-table td { font-weight: 600; padding: 15px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ac-cost .ac-fine-dark { margin-top: 16px; }

/* location and hours */
.ac-visit__copy { margin-top: 22px; color: var(--t2); }
.ac-visit__copy p:first-child { color: var(--t1); font-size: var(--fs-lede); }
.ac-hours { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.ac-hours .ac-prose p:first-child { font-size: var(--fs-lede); font-weight: 500; }
.ac-hours__ooh { margin-top: 14px; color: var(--t2); }
.ac .ac-hours .ac-alert { margin-top: 18px; max-width: none; }

/* team of six, reviews on ink, FAQ headings */
.ac-team.ac-team--six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); max-width: var(--max); margin-bottom: 36px; }
.ac-team--six .ac-arch { font-size: clamp(32px, 3vw, 44px); }
.ac-team--six b { font-size: var(--fs-ui); }
.ac-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.ac-quotes blockquote { margin: 0; padding: 28px 28px 24px; border: 1px solid var(--on-ink-line); border-radius: var(--r-card); display: grid; gap: 16px; align-content: space-between; }
.ac-quotes blockquote p { font-size: clamp(19px, 1.7vw, 23px); font-weight: 300; letter-spacing: -.01em; line-height: 1.4; color: #fff; }
.ac-quotes footer { font-size: var(--fs-ui); color: var(--on-ink-3); }
.ac-quotes__more { margin-top: 28px; color: var(--on-ink-2); }
.ac-faq summary h3 { margin: 0; font-size: var(--fs-lede); font-weight: 500; letter-spacing: 0; line-height: 1.4; }
.ac-faq details .ac-prose { padding: 0 0 22px; max-width: 64ch; color: var(--t2); }
.ac-enq__copy { margin-top: 24px; color: var(--on-ink-2); }
.ac-enq__copy b { color: #fff; }
.ac-enq__copy p:nth-child(2) { padding: 18px 0; border-top: 1px solid var(--on-ink-line); border-bottom: 1px solid var(--on-ink-line); margin: 20px 0; }

@media (max-width: 1080px) {
  .ac-team.ac-team--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ac-tx__row, .ac-nhs, .ac-cost, .ac-hours { grid-template-columns: minmax(0, 1fr); }

  .ac-quotes { grid-template-columns: minmax(0, 1fr); }
  .ac-table tbody th { padding-right: 10px; }
}
@media (max-width: 600px) {
  .ac-team.ac-team--six { grid-template-columns: minmax(0, 1fr); }
  .ac-hero__copy p { margin-left: auto; margin-right: auto; }
  .ac-table td { white-space: normal; }
}

/* first-screen photo on narrow screens: a short strip above the headline */
@media (max-width: 960px) {
  .ac-hero.ac-hero--split { gap: 22px; padding-top: 16px; }
  .ac-hero--split .ac-hero__img { order: -1; aspect-ratio: 16 / 9; }
}
.ac-team li { align-content: start; }
.ac-foot { border-top: 1px solid var(--on-ink-line); }

/* ---- first screen fit (Fayez, 24 Nov): two-line H1, one paragraph, buttons and strip in view at
   1440x900 and 1366x768; the photo takes the height of the text block instead of a tall square ---- */
.ac-hero.ac-hero--split { align-items: stretch; padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 40px); }
.ac-hero--split > div:first-child { align-self: center; }
.ac-hero--split h1 { font-size: clamp(34px, 3.4vw, 52px); line-height: 1.06; }
.ac-hero--split .ac-hero__copy p:first-child { margin-top: 18px; max-width: 540px; }
.ac-hero--split .ac-group { margin-top: 24px; }
.ac-hero--split .ac-hero__img { aspect-ratio: auto; max-height: none; min-height: 300px; height: 100%; }
.ac-hero--split .ac-hero__img img { position: absolute; inset: 0; }
.ac-intro2 { max-width: 780px; margin: 0 auto; padding: 26px var(--pad) 0; text-align: center; color: var(--t2); }

/* photo band between treatments and the NHS answer: three real rooms, no people */
.ac-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 10px; background: var(--bone); }
.ac-strip figure { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: var(--mist); }

/* surgery loop beside the opening hours: portrait, fixed box, poster first */
.ac-hours { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.ac-hours .ac-video { grid-column: 1; grid-row: 2; }
.ac-hours > div { grid-column: 2; grid-row: 1 / span 2; }
.ac-video { margin: 0; width: min(100%, 260px); aspect-ratio: 478 / 850; border-radius: var(--r-card); overflow: hidden; background: var(--ink); box-shadow: 0 20px 50px rgba(12, 21, 48, .18); }
.ac-video { position: relative; }
.ac-video__still, .ac-video video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .ac-hero--split .ac-hero__img { aspect-ratio: 21 / 9; min-height: 0; height: auto; }
}
@media (max-width: 860px) {
  .ac-hours { grid-template-columns: minmax(0, 1fr); }
  .ac-hours .ac-video, .ac-hours > div { grid-column: auto; grid-row: auto; }
  .ac-hours .ac-video { order: 3; }
  .ac-video { width: min(100%, 240px); margin: 0 auto; }
  .ac-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 6px; }
}
@media (max-width: 600px) {
  .ac-hero.ac-hero--split { padding-top: 12px; gap: 16px; }
  .ac-hero--split h1 { font-size: clamp(30px, 8.2vw, 34px); }
  .ac-hero--split .ac-hero__copy p:first-child { margin-top: 12px; font-size: 17px; line-height: 1.55; }
  .ac-hero--split .ac-group { margin-top: 18px; flex-wrap: nowrap; }
  .ac-hero--split .ac-group .ac-btn { flex: 1 1 0; padding: 14px 10px; }
  .ac-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-strip figure:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* ---- Fayez's review, 24 Nov (evening): hero composition, header edge, less blank space, footer ---- */
.ac { --gap: clamp(48px, 5.5vw, 80px); }
.ac-head { border-bottom: 1px solid #d3d9e5; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 30px -12px rgba(12, 21, 48, .18); }

/* hero: the words get the wider column so the H1 holds two lines at every desktop width; the photo
   matches the text block and both sit on one centre line */
.ac-hero.ac-hero--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: clamp(28px, 3vw, 44px); padding-bottom: clamp(28px, 3vw, 44px); }
.ac-hero--split > div:first-child { padding-right: 0; }
.ac-hero--split h1 { font-size: clamp(36px, 3.5vw, 50px); max-width: 22ch; }
.ac-hero--split .ac-hero__copy p:first-child { max-width: 60ch; }
.ac-hero--split .ac-hero__img { height: auto; min-height: 0; aspect-ratio: 5 / 4; align-self: center; }
.ac-intro2 { padding-top: 22px; }

/* prices: heading and note on the left, the table on the right */
.ac-cost { max-width: var(--max); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: 'head table' 'foot table'; gap: 0 clamp(32px, 5vw, 72px); align-items: start; }
.ac-cost__head { grid-area: head; }
.ac-cost .ac-table { grid-area: table; margin-top: 6px; max-width: none; background: var(--paper); border-radius: var(--r-card); padding: 22px 26px 8px; box-shadow: 0 16px 40px -18px rgba(12, 21, 48, .2); }
.ac-cost__foot { grid-area: foot; align-self: end; }

/* location: the map takes the height of the text column */
.ac-visit { align-items: stretch; }
.ac-visit .ac-map { aspect-ratio: auto; min-height: 360px; height: 100%; }

/* hours: text on the left, the loop on the right, no empty column */
.ac-hours { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'h2 video' 'copy video'; gap: 18px clamp(32px, 5vw, 72px); align-items: start; }
.ac-hours > h2 { grid-area: h2; }
.ac-hours .ac-hours__copy { grid-area: copy; max-width: 720px; }
.ac-hours .ac-video { grid-area: video; align-self: center; width: 240px; }

/* footer */
.ac-foot { padding: clamp(48px, 6vw, 72px) 0 110px; color: var(--on-ink-2); font-size: var(--fs-ui); }
.ac-foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px clamp(20px, 3vw, 40px); padding-bottom: 36px; border-bottom: 1px solid var(--on-ink-line); }
.ac-foot__logo { display: block; width: 170px; color: #fff; margin-bottom: 18px; }
.ac-foot__brand p { max-width: 34ch; }
.ac-foot__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ac .ac-foot__h { font-size: var(--fs-cap); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 14px; }
.ac-foot address { line-height: 1.7; color: #fff; }
.ac-foot p + p { margin-top: 6px; }
.ac-foot__small { color: var(--on-ink-3); }
.ac-foot ul li + li { margin-top: 8px; }
.ac-foot nav a { color: var(--on-ink-2); text-decoration: none; }
.ac-foot nav a:hover { color: #fff; text-decoration: underline; }
.ac-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 22px; font-size: var(--fs-cap); color: var(--on-ink-3); }
.ac-foot__base p:first-child { max-width: 80ch; }
.ac-foot__links { display: flex; gap: 18px; }

@media (max-width: 1080px) {
  .ac-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .ac-hero.ac-hero--split { grid-template-columns: minmax(0, 1fr); }
  .ac-hero--split h1 { max-width: none; }
  .ac-hero--split .ac-hero__img { aspect-ratio: 21 / 9; }
}
@media (max-width: 860px) {
  .ac-cost { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'table' 'foot'; }
  .ac-cost .ac-table { margin-top: 22px; padding: 16px 16px 4px; }
  .ac-cost__foot { margin-top: 16px; }
  .ac-visit .ac-map { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .ac-hours { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'h2' 'copy' 'video'; }
  .ac-hours .ac-video { justify-self: center; }
}
@media (max-width: 600px) {
  .ac-foot__acts .ac-btn { flex: 1 1 0; }
}
.ac-cost h2 { font-size: clamp(32px, 3.3vw, 48px); }
@media (max-width: 860px) { .ac-hours .ac-video { grid-area: video; } }

/* treatments (v4, Fayez 30 Nov): a plain grid of six equal cards. Three across and two rows on desktop,
   two across on tablets, one column on phones. Every card has the same 4:3 photo, a heading slot of two
   lines, and a body that grows, so the cards in a row share one height and their text starts on one line.
   Order: emergency, check-ups, hygiene and repairs, then the cosmetic pair (bonding in the dark ink, which
   reads well at single width, and straightening). The "See all our treatments" button-link follows the grid. */
.ac-tx.ac-tx { border-top: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.ac-tx__card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 14px 34px -22px rgba(12, 21, 48, .28); scroll-margin-top: 110px; }
.ac-tx__img { flex: none; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #eef2f8; }
.ac-tx__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ac-tx__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 1.9vw, 26px); }
.ac-tx__card h3 { min-height: 2.4em; font-size: clamp(19px, 1.6vw, 22px); font-weight: 400; letter-spacing: -.02em; line-height: 1.2; color: var(--t1); }
.ac-tx__card .ac-prose { color: var(--t2); font-size: var(--fs-ui); }
.ac-tx__card#emergency { order: -1; }
.ac-tx__card#bonding { order: 1; background: var(--ink); border-color: var(--ink); }
.ac-tx__card#straightening { order: 2; }
.ac-tx__card#bonding h3 { color: #fff; }
.ac-tx__card#bonding .ac-prose { color: var(--on-ink-2); }
.ac-tx__card#bonding .ac-prose a { color: var(--accent-light); }
/* the emergency card's closed-hours line sits under a hairline, as before */
.ac-tx__card#emergency .ac-prose p + p { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; color: var(--t3); }
/* card photos are cut to 4:3 in scripts/photos.py; the toothache photo is the one wider than that */
.ac-tx__card#emergency .ac-tx__img img { object-position: 50% 28%; }
.ac-tx__all { margin: clamp(24px, 3vw, 36px) 0 0; text-align: center; }
@media (max-width: 1080px) {
  .ac-tx.ac-tx { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .ac-tx.ac-tx { grid-template-columns: minmax(0, 1fr); }
  .ac-tx__card h3 { min-height: 0; }
}

/* logo light-up (Fayez, 25 Nov): a click switches the logo on like the lit sign in the practice window:
   a quick flicker, a blue glow, and a band of light sweeping across the letters, then it settles back.
   Hover gives a faint hint of the glow. Under reduced motion the glow fades in and out with no flicker or sweep. */
.ac-logo, .ac-foot__logo { position: relative; isolation: isolate; }
.ac-logo::after, .ac-foot__logo::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .95) 47%, rgba(169, 192, 246, .95) 53%, transparent 65%) no-repeat;
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-mask: url('/lp/brand/club-dental-logo.svg') center / 100% 100% no-repeat; mask: url('/lp/brand/club-dental-logo.svg') center / 100% 100% no-repeat; }
.ac-foot__logo::after { background-image: linear-gradient(100deg, transparent 35%, rgba(169, 192, 246, .9) 47%, #fff 53%, transparent 65%); }
.ac-logo svg, .ac-foot__logo svg { transition: filter .4s var(--ease); }
.ac-logo:hover svg { filter: drop-shadow(0 0 .4px #0a1840) drop-shadow(0 0 .4px #0a1840) drop-shadow(0 0 6px rgba(31, 79, 191, .28)) drop-shadow(0 0 0 rgba(31, 79, 191, 0)); }
.ac-logo.is-lit { animation: cd-lit-colour 1.7s var(--ease) both; }
.ac-logo.is-lit svg { animation: cd-lit-glow 1.7s var(--ease) both; }
.ac-foot__logo.is-lit svg { animation: cd-lit-glow-ink 1.7s var(--ease) both; }
.ac-logo.is-lit::after, .ac-foot__logo.is-lit::after { animation: cd-lit-sweep 1.1s .22s cubic-bezier(.45, 0, .25, 1) both; }
@keyframes cd-lit-colour {
  0%, 100% { color: var(--accent); }
  20%, 60% { color: #3570ff; }
}
@keyframes cd-lit-glow {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 .4px #0a1840) drop-shadow(0 0 .4px #0a1840) drop-shadow(0 0 0 rgba(31, 79, 191, 0)) drop-shadow(0 0 0 rgba(120, 160, 255, 0)); }
  6% { opacity: .45; }
  10% { opacity: 1; }
  14% { opacity: .6; }
  20%, 60% { opacity: 1; filter: drop-shadow(0 0 .4px #1f4fbf) drop-shadow(0 0 1.5px rgba(120, 160, 255, .9)) drop-shadow(0 0 9px rgba(31, 79, 191, .55)) drop-shadow(0 0 22px rgba(120, 160, 255, .45)); }
}
@keyframes cd-lit-glow-ink {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)) drop-shadow(0 0 0 rgba(169, 192, 246, 0)); }
  6% { opacity: .45; }
  10% { opacity: 1; }
  14% { opacity: .6; }
  20%, 60% { opacity: 1; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .8)) drop-shadow(0 0 16px rgba(169, 192, 246, .6)); }
}
@keyframes cd-lit-sweep {
  0% { opacity: 1; background-position: 100% 0; }
  85% { opacity: 1; }
  100% { opacity: 0; background-position: 0% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ac-logo.is-lit::after, .ac-foot__logo.is-lit::after { animation: none; }
  @keyframes cd-lit-glow {
    0%, 100% { filter: drop-shadow(0 0 .4px #0a1840) drop-shadow(0 0 .4px #0a1840) drop-shadow(0 0 0 rgba(31, 79, 191, 0)) drop-shadow(0 0 0 rgba(120, 160, 255, 0)); }
    25%, 60% { filter: drop-shadow(0 0 .4px #1f4fbf) drop-shadow(0 0 1.5px rgba(120, 160, 255, .9)) drop-shadow(0 0 9px rgba(31, 79, 191, .55)) drop-shadow(0 0 22px rgba(120, 160, 255, .45)); }
  }
  @keyframes cd-lit-glow-ink {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)) drop-shadow(0 0 0 rgba(169, 192, 246, 0)); }
    25%, 60% { filter: drop-shadow(0 0 3px rgba(255, 255, 255, .8)) drop-shadow(0 0 16px rgba(169, 192, 246, .6)); }
  }
}

/* ---- dark header (Dr Kam via Fayez, 26 Nov): the bar takes the logo's own navy #11224a and the logo,
   nav and actions turn white so the logo stands out. The announcement bar above stays the darker ink
   with a hairline under it, so it still reads as its own layer. Dropdown panels stay white. ---- */
.ac { --navy: #11224a; --head: #11224a; }
.ac-bar { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.ac-head { background: var(--head); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 12px 30px -14px rgba(6, 12, 30, .55); }
/* `.ac a` and `.ac-foot a` colour links blue, so the logo needs the extra class to stay pure white */
.ac .ac-logo, .ac .ac-foot__logo { color: #fff; }
.ac-logo svg { filter: none; }
.ac-head { min-height: 88px; }
.ac-logo { width: 172px; }
@media (max-width: 1080px) { .ac-logo { width: 156px; } }
@media (max-width: 600px) { .ac-head { min-height: 72px; } .ac-logo { width: 132px; } }
.ac-nav__a { color: #fff !important; }
.ac-nav__a:hover, .ac-mi:hover > .ac-nav__a, .ac-mi:focus-within > .ac-nav__a { background: rgba(255, 255, 255, .12); color: #fff !important; }
.ac-phone { color: #fff !important; border-color: rgba(255, 255, 255, .4); }
.ac-phone:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.ac-mnav summary { color: #fff; border-color: rgba(255, 255, 255, .4); }
.ac-mnav summary:hover { border-color: #fff; }
.ac-mnav[open] summary { background: #fff; color: var(--head); border-color: #fff; }
/* focus rings: white on the navy bar, back to the accent inside the white panels, white on the ink card */
.ac-head :focus-visible { outline-color: #fff; }
.ac-head .ac-mega__col :focus-visible, .ac-head .ac-drop :focus-visible, .ac-head .ac-mnav__panel :focus-visible { outline-color: var(--accent); }
.ac-head .ac-mega__feat :focus-visible { outline-color: #fff; }
/* light-up on the dark bar: the white logo warms to a pale lit blue, glows, and a white band sweeps
   across it (the footer logo does the same, so the two match) */
.ac-logo::after, .ac-foot__logo::after { background-image: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .95) 47%, #fff 53%, transparent 65%); }
.ac-logo:hover svg, .ac-foot__logo:hover svg { filter: drop-shadow(0 0 6px rgba(169, 192, 246, .5)); }
.ac-logo.is-lit, .ac-foot__logo.is-lit { animation: cd-lit-colour-ink 1.7s var(--ease) both; }
.ac-logo.is-lit svg, .ac-foot__logo.is-lit svg { animation: cd-lit-glow-ink 1.7s var(--ease) both; }
@keyframes cd-lit-colour-ink {
  0%, 100% { color: #fff; }
  20%, 60% { color: #b9cdff; }
}

/* ---- WhatsApp buttons (Fayez, 27 Nov, second pass): one WhatsApp-green pill, the logo and the label on one line ----
   Label and logo are the dark --wa-ink green: white on #25D366 is under 2:1. */
.ac { --wa: #25d366; --wa-hover: #1ebe5a; --wa-ink: #072b17; }
.ac .ac-btn.ac-btn--wa { gap: 9px; border-color: var(--wa); background: var(--wa); color: var(--wa-ink) !important; white-space: nowrap; }
.ac .ac-btn.ac-btn--wa:hover { border-color: var(--wa-hover); background: var(--wa-hover); }
.ac-btn--wa .wa-logo { flex: none; width: 22px; height: 22px; color: var(--wa-ink); }
.ac-btn--wa.ac-btn--lg .wa-logo { width: 24px; height: 24px; }
.ac-dock .ac-dock__wa { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); }
.ac-dock .ac-dock__wa:hover { background: var(--wa-hover); color: var(--wa-ink); }
.ac-dock__wa .wa-logo { width: 20px; height: 20px; }
@media (max-width: 600px) {
  .ac-hero--split .ac-btn--wa .wa-logo { width: 22px; height: 22px; }
}

/* ---- New patient offer (Fayez, 27 Nov): the usual price struck through beside the offer price ---- */
.ac-offer { white-space: nowrap; }
.ac-was { margin-right: 6px; font-weight: 400; opacity: .6; text-decoration-thickness: 1.5px; }
.ac-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Production shell (28 Nov): skip link, cookie settings link, consent banner, booking card ---- */
.ac-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 100px; background: var(--ink); color: #fff !important; text-decoration: none !important; }
.ac-skip:focus { top: 12px; }
.ac-foot__links { flex-wrap: wrap; align-items: baseline; }
.ac-foot__links button { appearance: none; margin: 0; padding: 0; line-height: inherit; border: 0; background: none; font: inherit; color: var(--accent-light); cursor: pointer; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; }
.ac-foot__links button:hover { color: #fff; }
/* Consent banner (ConsentBanner.astro): sits above the dock and the back-to-top arrow, so it never
   covers either. Accept, Reject and Settings carry equal weight. */
.ac .consent { position: fixed; z-index: 120; left: clamp(10px, 2vw, 28px); right: clamp(10px, 2vw, 28px); bottom: calc(clamp(12px, 2vw, 28px) + 74px); display: flex; justify-content: flex-start; pointer-events: none; }
.ac .consent[hidden], .ac .consent [hidden] { display: none !important; }
.ac .consent__in { pointer-events: auto; width: 100%; max-width: 560px; display: grid; gap: 8px; padding: 20px 22px; background: var(--paper); color: var(--t1); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: 0 24px 60px rgba(12, 21, 48, .28); }
.ac .consent__t { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.ac .consent__b { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--t2); }
.ac .consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.ac .consent__btns--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ac .consent .btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border-radius: 100px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-size: var(--fs-ui); font-weight: 600; cursor: pointer; }
.ac .consent .btn:hover { background: var(--ink-2); }
.ac .consent .btn--ghost { background: transparent; color: var(--t1); border-color: var(--line-strong); }
.ac .consent .btn--ghost:hover { background: var(--bone); border-color: var(--t1); }
.ac .consent__set { display: grid; gap: 4px; }
.ac .consent__row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--t2); cursor: pointer; }
.ac .consent__row b { display: block; color: var(--t1); font-weight: 600; }
.ac .consent__row input { flex: none; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
@media (max-width: 600px) {
  .ac .consent { bottom: calc(10px + 66px + env(safe-area-inset-bottom)); }
  .ac .consent__in { padding: 16px; }
}
/* Booking band with the form switch off: a call and WhatsApp card where the form sits. */
.ac-contactcard__btns { display: grid; gap: 12px; }
.ac-contactcard__btns .ac-btn { width: 100%; }
.ac-contactcard .ac-btn--solid { color: #fff !important; }
