/* =========================================================================
   /dept/: patient-facing department pages (Cardiac Sciences), v2 portal layout (9 Nov 2026).
   Banner, then a sticky side menu beside a reading column. Loads after main/assets/main.css
   and uses its tokens (--brand, --cream, --rose, --serif …).
   ========================================================================= */
.dept { --dw: 1280px; --side: 290px; --strip: 0px; --ink-2: #2D2D2D; }
.dept .wrap { max-width: calc(var(--dw) + 2 * var(--gut)); }
.dept p { text-wrap: pretty; }
.dept main h2, .dept main h3, .dept main h4 { text-wrap: balance; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--brand); }
.link .i { width: 16px; height: 16px; transition: transform .2s; }
.link:hover .i, a:hover > .link .i { transform: translateX(3px); }
.btn--sm { min-height: var(--btn-h-sm); padding: .4em 1.05em; font-size: .9rem; }
.di { width: 28px; height: 28px; flex: none; }
mark.tbc { background: #FFF2C4; color: #6B4A00; border-radius: 4px; padding: 0 .25em; font-size: .92em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------------------------------------------------------------- Banner */
.bnr { position: relative; isolation: isolate; color: #fff; background: var(--brand); overflow: hidden; }
.bnr::before { content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(900px 420px at 88% 10%, rgba(255,255,255,.10), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(0,0,0,.22), transparent 60%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 22px); }
.bnr .crumbs ol { padding: 18px 0 0; color: rgba(255,255,255,.72); }
.bnr .crumbs a { color: rgba(255,255,255,.82); }
.bnr .crumbs a:hover { color: #fff; }
.bnr .crumbs li + li::before { color: rgba(255,255,255,.4); }
.bnr .crumbs [aria-current] { color: #fff; }
.bnr__grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(22px, 3vw, 36px) 0 clamp(32px, 4.5vw, 56px); }
.bnr--media .bnr__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
    .bnr--media .bnr__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
    .bnr--doc .bnr__grid { grid-template-columns: 260px minmax(0, 1fr); }
}
@media (min-width: 640px) and (max-width: 1023px) { .bnr--doc .bnr__grid { grid-template-columns: 200px minmax(0, 1fr); } }
.bnr__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.bnr__kicker .di { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; }
.bnr h1 { color: #fff; font-size: clamp(1.85rem, 3.2vw, 2.65rem); line-height: 1.12; margin: 0 0 .4em; max-width: 24ch; }
.bnr__sub { font-size: clamp(1.04rem, 1.4vw, 1.2rem); color: rgba(255,255,255,.9); max-width: 54ch; margin: 0 0 1.3em; }
.bnr__stats { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 0; }
.bnr__stats li { margin: 0; display: flex; flex-direction: column; padding: 0 22px; border-left: 1px solid rgba(255,255,255,.25); line-height: 1.2; }
.bnr__stats li:first-child { padding-left: 0; border-left: 0; }
.bnr__stats strong { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 1.9rem); color: #fff; }
.bnr__stats span { font-size: .84rem; color: rgba(255,255,255,.78); margin-top: 4px; }
.bnr__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.bnr .bnr__book { background: #fff; border-color: #fff; color: var(--brand); }
.bnr .bnr__book:hover { background: var(--cream); border-color: var(--cream); color: var(--brand-dark); }
.bnr__call { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.bnr__call .i { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); }
.bnr__call span { display: flex; flex-direction: column; line-height: 1.25; }
.bnr__call small { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.bnr__call:hover .i { background: rgba(255,255,255,.12); }
.bnr__media { position: relative; }
.bnr__media::after { content: ''; position: absolute; inset: auto -14px -14px auto; width: 46%; height: 52%; border: 2px solid rgba(255,255,255,.25); border-radius: 22px; z-index: -1; }
.bnr__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.bnr__media .ph { aspect-ratio: 4 / 3 !important; border-radius: 20px; }
.bnr__portrait { max-width: 260px; }
.bnr__pimg { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: #F4EFE6; box-shadow: 0 24px 50px rgba(0,0,0,.28); }
.bnr__portrait .ph { aspect-ratio: 1 !important; border-radius: 20px; }
.bnr--doc h1 { margin-bottom: .2em; }
.bnr--simple .bnr__copy { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
@media (max-width: 1023px) { .bnr__media { max-width: 640px; } .bnr__media::after { display: none; } }
@media (max-width: 520px) {
    .bnr__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
    .bnr__stats li, .bnr__stats li:first-child { padding: 0 0 0 12px; border-left: 2px solid rgba(255,255,255,.3); }
    .bnr__cta .bnr__book { width: 100%; }
    .bnr--media .bnr__media { display: none; }   /* phones: copy and the Book button come first; photos appear in the sections */
}

/* ---------------------------------------------------------------- Portal: side menu + reading column */
.portal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(32px, 4vw, 64px); align-items: start; }
.pmain { min-width: 0; padding-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 1024px) {
    .portal { grid-template-columns: var(--side) minmax(0, 1fr); }
    .pside { position: sticky; top: calc(var(--hdr) + 24px); padding-top: clamp(36px, 4vw, 56px); max-height: calc(100vh - var(--hdr) - 24px); max-height: calc(100dvh - var(--hdr) - 24px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 24px; }
}
.pnav__t { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pnav ol { list-style: none; margin: 0; padding: 0; }
.pnav li { margin: 0; }
.pnav a { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.3; transition: color .15s; }
.pnav a .di { width: 20px; height: 20px; color: #A7928E; transition: color .15s; }
.pnav a span { flex: 1; }
.pnav a .i { width: 16px; height: 16px; transform: rotate(-90deg); opacity: 0; transition: opacity .15s, transform .15s; }
.pnav a:hover { color: var(--brand); }
.pnav a:hover .di { color: var(--brand); }
.pnav a[aria-current] { color: var(--brand); font-weight: 700; border-bottom-color: var(--brand); box-shadow: inset 0 -1px 0 var(--brand); }
.pnav a[aria-current] .di { color: var(--brand); }
.pnav a[aria-current] .i { opacity: 1; }
.phelp { margin-top: 22px; padding: 20px; border-radius: var(--r-card); background: var(--rose); border: 1px solid var(--pline); }
.phelp__t { margin: 0 0 4px; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.phelp p { font-size: .9rem; margin: 0 0 14px; }
.phelp__book { width: 100%; margin-bottom: 12px; }
.phelp__line { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--brand); }
.phelp__line .i { width: 18px; height: 18px; }
.phelp__line--wa { color: #0E7A3C; }

/* Phones and tablets: the side menu becomes a sticky strip of section links */
@media (max-width: 1023px) {
    .dept { --strip: 58px; }
    .pside { position: sticky; top: var(--hdr); z-index: 40; margin: 0 calc(-1 * var(--gut)); background: rgba(252,251,242,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
    .pnav__t, .phelp, .pnav a .di, .pnav a .i { display: none; }
    .pnav ol { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 10px var(--gut); scrollbar-width: none; }
    .pnav ol::-webkit-scrollbar { display: none; }
    .pnav li { flex: none; scroll-snap-align: start; }
    .pnav a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .92rem; white-space: nowrap; min-height: 38px; }
    .pnav a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: none; }
}

/* ---------------------------------------------------------------- Panes (one H2 each) */
.pane { padding: clamp(36px, 4.5vw, 60px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + var(--strip) + 12px); }
.pmain > .pane:first-child { border-top: 0; }
.pane__h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(18px, 2.4vw, 28px); }
.pane__h > div { max-width: 720px; }
.pane__k { margin: 0 0 .45em; font-size: var(--fs-kicker); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.pane h2 { font-size: clamp(1.6rem, 2.7vw, 2.25rem); line-height: 1.15; margin: 0; color: var(--ink-2); }
.pane__intro { margin: .6em 0 0; font-size: 1.04rem; }
.pane__more { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.pane__more .i { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--ink-2); color: #fff; transition: transform .2s, background .2s; }
.pane__more:hover { color: var(--brand); }
.pane__more:hover .i { background: var(--brand); transform: translateX(3px); }
.pane > p, .pane__body p { max-width: 72ch; font-size: 1.05rem; }
.pane h3 { font-size: clamp(1.12rem, 1.5vw, 1.3rem); }
.pane--tint { padding-inline: clamp(20px, 3vw, 36px); margin: clamp(12px, 2vw, 20px) 0; border: 0; border-radius: 22px; background: var(--rose); }
.pane--tint + .pane { border-top: 0; }
.pane__fig { margin: 22px 0 0; }
.pane__fig img, .pane__fig .ph { display: block; width: 100%; border-radius: 16px; aspect-ratio: 3 / 2; object-fit: cover; }
.mini { margin: 30px 0 14px; font-family: var(--sans); font-size: .8rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lead p { font-size: clamp(1.12rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--ink); max-width: 64ch; }

/* Overview: at a glance, numbers, callout */
.glance { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.glance li { margin: 0; display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.glance__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--rose-2); color: var(--brand); }
.glance__ic .di { width: 24px; height: 24px; }
.glance h4 { margin: 2px 0 .2em; font-family: var(--sans); font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.glance p { margin: 0; font-size: .94rem; }
.stats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.stats li { margin: 0; padding-top: 14px; border-top: 2px solid var(--ink-2); display: flex; flex-direction: column; gap: 4px; }
.stats__v { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--brand); line-height: 1.25; }
.stats__l { font-size: .88rem; color: var(--muted); }
.callout { display: flex; gap: 18px; margin: 30px 0 0; padding: 22px 24px; border-radius: 18px; background: linear-gradient(120deg, var(--rose), #fff); border: 1px solid var(--pline); }
.callout > .di { width: 40px; height: 40px; color: var(--brand); }
.callout__t { margin: 0 0 4px; font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.callout p { margin: 0 0 10px; font-size: .98rem; }
.callout--solo { margin-top: 0; }

/* Specialities: photo cards with a rule */
.stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.stack__item { position: relative; margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pline); border-radius: 18px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.stack__item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.stack__img, .stack__art { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.stack__art { display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #fff, var(--rose-2)); color: var(--brand); }
.stack__art .di { width: 72px; height: 72px; stroke-width: 1.2; opacity: .85; }
.stack__body { position: relative; padding: 30px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.stack__ic { position: absolute; top: -26px; left: 22px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: #fff; box-shadow: 0 10px 20px rgba(90,23,21,.25); }
.stack__ic .di { width: 26px; height: 26px; }
.stack h3 { margin: 0 0 .4em; }
.stack h3 a { color: var(--ink-2); text-decoration: none; }
.stack h3 a::after { content: ''; position: absolute; inset: 0; }   /* whole card is the link */
.stack__item p { font-size: .96rem; margin: 0 0 14px; }
.stack .link { margin-top: auto; }
.stack__item:focus-within { outline: 3px solid rgba(126,35,32,.35); outline-offset: 2px; }

/* Treatments: chips + rule list */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chips button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; cursor: pointer; }
.chips button span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--rose-2); color: var(--brand); font-size: .78rem; font-weight: 800; }
.chips button[aria-pressed="true"] { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.chips button[aria-pressed="true"] span { background: rgba(255,255,255,.18); color: #fff; }
.tgrp[hidden] { display: none; }
.tgrp + .tgrp .mini { margin-top: 34px; }
.tgrp:first-of-type .mini { margin-top: 0; }
.tlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.tlist li { margin: 0; border-top: 1px solid var(--line); }
.tlist a { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; text-decoration: none; color: var(--body); }
.tlist__ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--rose); border: 1px solid var(--pline); color: var(--brand); transition: background .2s, color .2s; }
.tlist__ic .di { width: 26px; height: 26px; }
.tlist__t { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.tlist__t strong { font-family: var(--serif); font-size: 1.14rem; color: var(--ink-2); line-height: 1.25; }
.tlist__t span { font-size: .92rem; line-height: 1.5; }
.tlist a > .i { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--brand); transition: transform .2s; }
.tlist a:hover strong { color: var(--brand); }
.tlist a:hover .tlist__ic { background: var(--brand); color: #fff; }
.tlist a:hover > .i { transform: translateX(4px); }

/* Accordion (conditions, FAQs) */
.acc { border-bottom: 1px solid var(--line); }
.acc__item { margin: 0; border-top: 1px solid var(--line); }
.acc__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 4px; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after { content: none; }
.acc__item summary h3 { flex: 1; margin: 0; font-family: var(--sans); font-size: 1.08rem; font-weight: 700; color: var(--ink-2); }
.acc__item summary:hover h3 { color: var(--brand); }
.acc__item summary > .i { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--line); color: var(--brand); transition: transform .25s, background .2s; }
.acc__item[open] summary > .i { transform: rotate(180deg); background: var(--brand); border-color: var(--brand); color: #fff; }
.acc__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--rose-2); color: var(--brand); }
.acc__ic .di { width: 22px; height: 22px; }
.acc__a { padding: 0 4px 22px 60px; }
.acc--faq .acc__a { padding-left: 4px; }
.acc__a p { margin: 0 0 .7em; font-size: 1rem; max-width: 70ch; }

/* Doctors: slider (scroll-snap) and grid */
.dsl__track { list-style: none; margin: 0; padding: 6px 4px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--pline) transparent; }
.dsl--grid .dsl__track { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); overflow: visible; }
@media (max-width: 1100px) { .dsl__track { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 560px) { .dsl__track { grid-auto-columns: 78%; } }
.dcard { position: relative; margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pline); border-radius: 20px; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.dcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.dcard__media { display: block; overflow: hidden; background: linear-gradient(180deg, #FCFBF2, #fff); }
.dcard__img { display: block; width: 100%; aspect-ratio: 1 / .92; object-fit: cover; object-position: 50% 18%; transition: transform .4s; }
.dcard .ph { aspect-ratio: 1 / .92 !important; border-width: 0 0 1px; }
.dcard:hover .dcard__img { transform: scale(1.03); }
.dcard__body { display: flex; flex-direction: column; gap: 3px; padding: 16px 18px 14px; flex: 1; }
.dcard__dept { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.dcard__name { margin: 2px 0 0; font-size: 1.2rem !important; line-height: 1.25; }
.dcard__name a { color: var(--ink-2); text-decoration: none; }
.dcard__name a:hover { color: var(--brand); }
.dcard__role { font-size: .9rem; color: var(--ink); }
.dcard__x { font-size: .86rem; color: var(--muted); margin-top: 4px; }
.dcard__foot { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--pline); }
.dcard__foot a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; font-weight: 700; font-size: .93rem; text-decoration: none; transition: background .2s, color .2s; }
.dcard__foot .i { width: 17px; height: 17px; }
.dcard__book { background: var(--brand); color: #fff; }
.dcard__book:hover { background: var(--brand-dark); color: #fff; }
.dcard__prof { color: var(--brand); }
.dcard__prof:hover { background: var(--rose); }
.dsl__nav { display: flex; gap: 10px; margin-top: 10px; }
.dsl__nav[hidden] { display: none; }
.dsl__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink-2); background: #fff; color: var(--ink-2); cursor: pointer; }
.dsl__btn[data-dir="-1"] .i { transform: rotate(180deg); }
.dsl__btn:disabled { opacity: .35; cursor: default; }
.dsl__btn:not(:disabled):hover { background: var(--ink-2); color: #fff; }

/* Facilities */
.fmedia { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.fmedia li, .fmedia figure { margin: 0; }
.fmedia img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.fmedia figcaption { padding-top: 16px; }
.fmedia h3 { margin: 0 0 .35em; }
.fmedia p { margin: 0; font-size: .96rem; }
.flist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.flist li { margin: 0; display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.flist__ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--rose-2); color: var(--brand); }
.flist__ic .di { width: 26px; height: 26px; }
.flist h3 { margin: 4px 0 .3em; font-size: 1.12rem !important; }
.flist p { margin: 0 0 .5em; font-size: .94rem; }

/* Why SMSIMSR */
.whyl { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.whyl li { margin: 0; padding-top: 16px; border-top: 2px solid var(--brand); }
.whyl li::marker { content: none; }
.whyl__n { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; color: rgba(126,35,32,.35); margin-bottom: 10px; }
.whyl h3 { margin: 0 0 .35em; font-size: 1.12rem !important; }
.whyl p { margin: 0; font-size: .95rem; }

/* Stories: timeline + slots */
.tl { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 22px; }
.tl::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--pline); }
.tl li { margin: 0; position: relative; }
.tl li::before { content: ''; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.tl__when { margin: 0 0 2px !important; font-family: var(--serif); font-size: 1.15rem !important; font-weight: 700; color: var(--ink-2); }
.tl__when span { margin-left: 10px; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.tl p { margin: 0; font-size: .98rem; max-width: 66ch; }
.slots { display: grid; gap: 12px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.slot { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px dashed #D9C5BF; border-radius: 14px; background: #fff; }
.slot .di { width: 26px; height: 26px; color: var(--brand); opacity: .75; }
.slot p { margin: 0; display: flex; flex-direction: column; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.slot strong { color: var(--ink); font-size: .92rem; }

/* Rows of links (academics, related) */
.rows { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.rows--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.rows li { margin: 0; }
.rows a { height: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--pline); border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.rows a > .di { width: 26px; height: 26px; color: var(--brand); }
.rows a > span { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.rows small { font-weight: 400; font-size: .88rem; color: var(--muted); }
.rows a > .i { width: 18px; height: 18px; color: var(--brand); transition: transform .2s; }
.rows a:hover { border-color: var(--brand); box-shadow: var(--shadow-1); }
.rows a:hover > .i { transform: translateX(3px); }

/* Contact */
.ctc { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ctc { grid-template-columns: 1fr 1fr; } }
.ctc__card { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid var(--pline); }
.ctc__card > .di, .ctc__card > .i { width: 28px; height: 28px; color: var(--brand); }
.ctc__card h3 { margin: 10px 0 .3em; font-size: 1.1rem !important; }
.ctc__card p { margin: 0 0 10px; font-size: .95rem; }
.ctc__big { font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--brand); }
.ctc__card--em { background: var(--brand); border-color: var(--brand); color: rgba(255,255,255,.9); }
.ctc__card--em > .di, .ctc__card--em h3, .ctc__card--em .ctc__big { color: #fff; }

/* Book (appointment form) */
.pane--book { padding-inline: clamp(20px, 3vw, 40px); margin-top: clamp(16px, 2vw, 24px); border: 0; border-radius: 24px; background: linear-gradient(160deg, var(--rose), var(--rose-2)); }
.bookbox__lead { font-size: 1.05rem; color: var(--ink); margin: 0 0 18px; max-width: 64ch; }
.appt__form { background: #fff; border: 1px solid var(--pline); border-radius: 18px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-2); display: grid; gap: 16px; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 640px) { .appt__form { grid-template-columns: 1fr 1fr; } }
.f { display: flex; flex-direction: column; gap: 6px; }
.f--full { grid-column: 1 / -1; }
.f label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.f .opt { font-weight: 400; color: var(--muted); }
.f input, .f select, .f textarea { font: inherit; font-size: 1rem; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(86, 86, 86, .22); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.f textarea { min-height: 96px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 3px solid rgba(126,35,32,.25); border-color: var(--brand); }
.f .btn { width: 100%; }
.form-note { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }

/* Article content */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { margin: 0; display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.ticks .i { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--brand); color: #fff; margin-top: 3px; }
.alertbox { display: flex; gap: 16px; padding: 20px 22px; border-radius: 16px; background: #FCFBF2; border: 1px solid rgba(86, 86, 86, .22); border-left: 5px solid var(--brand); }
.alertbox > .di { color: var(--brand); }
.alertbox p { margin: 0 0 .6em; }
.review { font-size: .88rem; color: var(--muted); margin: 0; padding: 0 0 8px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { margin: 0; display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps__n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; }
.steps h3 { margin: 4px 0 .25em; font-size: 1.1rem !important; }
.steps p { margin: 0; font-size: .98rem; }
.pubs { font-size: .95rem; display: grid; gap: 10px; padding-left: 1.2em; }
.facts2 { margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.facts2 > div { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--pline); border-radius: 14px; }
.facts2 .di { grid-row: span 2; width: 24px; height: 24px; color: var(--brand); margin-top: 2px; }
.facts2 dt { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts2 dd { margin: 0; color: var(--ink); font-size: .96rem; }
.cgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cgrid li { margin: 0; }
.cgrid a { height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--pline); border-radius: 18px; text-decoration: none; color: var(--body); transition: box-shadow .2s, transform .2s, border-color .2s; }
.cgrid a:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: var(--brand); }
.cgrid__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--rose-2); color: var(--brand); }
.cgrid strong { font-family: var(--serif); font-size: 1.2rem; color: var(--ink-2); }
.cgrid a > span:not(.cgrid__ic):not(.link) { font-size: .93rem; }
.cgrid .link { margin-top: auto; }

/* Story cards and outcomes (patient stories page, academics) */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { margin: 0; background: #fff; border: 1px solid var(--pline); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 18px 20px 20px; }
.story__slot { margin: 0 0 10px; font-weight: 700; }
.story__fields { margin: 0; display: grid; gap: 6px; font-size: .88rem; }
.story__fields div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted var(--line); padding-bottom: 4px; }
.story__fields dt { color: var(--muted); }
.story__fields dd { margin: 0; }
.outcomes { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.outcomes li { margin: 0; background: #fff; border: 1px solid var(--pline); border-left: 4px solid var(--brand); border-radius: 12px; padding: 18px 20px; }
.outcomes h3 { font-size: 1.1rem !important; margin: 0 0 .3em; }
.outcomes p { margin: 0; font-size: .96rem; }

/* Photo placeholder (real photos only, client rule) */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 16px; background: repeating-linear-gradient(135deg, #FCFBF2 0 12px, #FCFBF2 12px 24px); color: var(--body); border: 1px dashed #D9C5BF; width: 100%; }
.ph .di { width: 32px; height: 32px; opacity: .7; }
.ph span { display: flex; flex-direction: column; gap: 2px; font-size: .85rem; max-width: 36ch; line-height: 1.4; }
.ph strong { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.ph small { opacity: .75; }

/* Sticky Book Appointment: shown on tablets only; desktop has the side card, phones the bottom bar */
.sticky-book { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(90,23,21,.28); transition: opacity .2s, transform .2s; }
.sticky-book:hover { background: var(--brand-dark); color: #fff; }
.sticky-book.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (min-width: 1024px) { .dept:has(.portal) .sticky-book { display: none; } }
@media (max-width: 760px) { .sticky-book { display: none; } .dept main { padding-bottom: 76px; } }

@media print { .sticky-book, .appt__form, .pside, .bnr__cta { display: none; } .bnr { color: #000; background: none; } .bnr h1 { color: #000; } }
@media (prefers-reduced-motion: reduce) { .dept *, .dept *::before { transition: none !important; scroll-behavior: auto !important; } }

/* Anchor jumps: the panes carry their own scroll margin (header + phone strip) */
html:has(body.dept) { scroll-padding-top: 0; }
@media (prefers-reduced-motion: no-preference) { html:has(body.dept) { scroll-behavior: smooth; } }
@media (min-width: 1024px) and (max-height: 960px) { .phelp > p:not(.phelp__t) { display: none; } .phelp { margin-top: 16px; padding: 16px 18px; } .pside { padding-top: 28px; } }

/* ================================================================ v2.1 (9 Nov 2026): ideas from Apollo's department pages */
/* Headings with one emphasised word */
.pane h2 em { font-style: italic; color: var(--brand); font-weight: 700; }

/* Quick ways in, overlapping the banner */
.quick { position: relative; z-index: 2; margin-top: -34px; }
.quick ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick li { margin: 0; }
.quick a { height: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 18px; background: #fff; border: 1px solid var(--pline); border-radius: 18px; box-shadow: 0 14px 34px rgba(90,23,21,.10); text-decoration: none; color: var(--body); transition: transform .2s, box-shadow .2s, border-color .2s; }
.quick a:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--brand); }
.quick__ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--rose-2); color: var(--brand); }
.quick__ic .di { width: 25px; height: 25px; }
.quick__t { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.quick__t strong { color: var(--ink-2); font-size: 1rem; }
.quick__t small { font-size: .84rem; color: var(--muted); }
.quick a > .i { flex: none; width: 18px; height: 18px; color: var(--brand); transition: transform .2s; }
.quick a:hover > .i { transform: translateX(3px); }
.quick a.quick--em .quick__ic { background: var(--brand); color: #fff; }
.quick a.quick--em small { color: var(--brand); font-weight: 700; }
.bnr:has(+ .quick) .bnr__grid { padding-bottom: clamp(56px, 6vw, 84px); }
@media (max-width: 1100px) { .quick ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
    .quick { margin-top: -26px; }
    .quick ul { gap: 10px; }
    .quick a { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 16px; }
    .quick a > .i { display: none; }
    .quick__ic { width: 40px; height: 40px; border-radius: 12px; }
    .quick__t strong { font-size: .95rem; }
    .quick__t small { font-size: .8rem; }
}

/* Tabs (treatments, conditions) */
.tabs__list[hidden] { display: none; }
.tabs__list { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list [role="tab"] { flex: none; position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 14px; background: none; border: 0; color: var(--muted); font-weight: 700; font-size: .98rem; cursor: pointer; white-space: nowrap; }
.tabs__list [role="tab"] b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--rose-2); color: var(--brand); font-size: .76rem; }
.tabs__list [role="tab"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: transparent; transition: background .2s; }
.tabs__list [role="tab"]:hover { color: var(--ink); }
.tabs__list [role="tab"][aria-selected="true"] { color: var(--brand); }
.tabs__list [role="tab"][aria-selected="true"]::after { background: var(--brand); }
.tabs__list [role="tab"][aria-selected="true"] b { background: var(--brand); color: #fff; }
.tabs__list [role="tab"]:focus-visible { outline: 3px solid rgba(126,35,32,.35); outline-offset: -3px; border-radius: 8px; }
.tabs__panel[hidden] { display: none; }
.tabs__panel + .tabs__panel { margin-top: 28px; }          /* no-JS: panels stacked */
.tabs.is-on .tabs__panel + .tabs__panel { margin-top: 0; }
.tabs.is-on .tabs__panel { animation: tabIn .28s ease; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Treatment group: photo beside the list */
.tgrp--media { display: grid; gap: 24px; }
@media (min-width: 1180px) { .tgrp--media { grid-template-columns: 300px minmax(0, 1fr); align-items: start; } .tgrp--media .tlist { grid-template-columns: 1fr; } }
.tgrp__fig { position: relative; margin: 0; border-radius: 20px; overflow: hidden; }
.tgrp__fig img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 1180px) { .tgrp__fig { position: sticky; top: calc(var(--hdr) + 24px); } .tgrp__fig img { aspect-ratio: 3 / 4; } }
.tgrp__fig figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(40,10,9,.82)); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.tgrp__fig figcaption strong { font-family: var(--serif); font-size: 1.35rem; }
.tgrp__fig figcaption span { font-size: .86rem; opacity: .9; }
.tabs.is-on .tgrp .mini { display: none; }                  /* the tab already names the group */
.tgrp--solo .tlist { margin-top: 0; }

/* Conditions: side tabs + panel */
@media (min-width: 900px) {
    .tabs--side.is-on { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
    .tabs--side .tabs__list { flex-direction: column; border-bottom: 0; margin: 0; overflow: visible; gap: 4px; }
    .tabs--side .tabs__list [role="tab"] { white-space: normal; text-align: left; padding: 11px 14px; border-radius: 12px; color: var(--ink); font-weight: 600; line-height: 1.3; }
    .tabs--side .tabs__list [role="tab"]::after { display: none; }
    .tabs--side .tabs__list [role="tab"]:hover { background: var(--rose); }
    .tabs--side .tabs__list [role="tab"][aria-selected="true"] { background: var(--brand); color: #fff; }
}
.tabs--side .tabs__list [role="tab"] .di { width: 22px; height: 22px; color: var(--brand); }
.tabs--side .tabs__list [role="tab"][aria-selected="true"] .di { color: currentColor; }
@media (max-width: 899px) {
    .tabs--side .tabs__list { gap: 8px; border: 0; margin: 0 calc(-1 * var(--gut)) 16px; padding: 2px var(--gut) 4px; }
    .tabs--side .tabs__list [role="tab"] { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .9rem; }
    .tabs--side .tabs__list [role="tab"]::after { display: none; }
    .tabs--side .tabs__list [role="tab"][aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
    .tabs--side .tabs__list [role="tab"] .di { width: 18px; height: 18px; }
}
.cond2 { position: relative; padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: linear-gradient(150deg, #fff 55%, var(--rose)); border: 1px solid var(--pline); min-height: 100%; }
.cond2__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--rose-2); color: var(--brand); margin-bottom: 14px; }
.cond2 h3 { margin: 0 0 .5em; font-size: clamp(1.3rem, 2vw, 1.6rem) !important; color: var(--ink-2); }
.cond2 > p:not(.mini) { font-size: 1.04rem; max-width: 64ch; }
.cond2 .mini { margin: 20px 0 10px; }
.cond2__tr { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cond2__tr li { margin: 0; }
.cond2__tr a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--pline); color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.cond2__tr a .di { width: 20px; height: 20px; color: var(--brand); }
.cond2__tr a:hover { border-color: var(--brand); color: var(--brand); }
.cond2__btn .i { width: 16px; height: 16px; }
.tabs:not(.is-on) .cond2 { min-height: 0; }

/* Your visit, step by step */
.jrny { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: j; position: relative; }
.jrny::before { content: ''; position: absolute; top: 27px; left: 28px; right: calc(20% - 4px); height: 2px; background: repeating-linear-gradient(90deg, rgba(126,35,32,.35) 0 8px, transparent 8px 14px); }
.jrny li { margin: 0; position: relative; }
.jrny__n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); color: var(--brand); margin-bottom: 14px; }
.jrny__n .di, .jrny__n .i { width: 24px; height: 24px; }
.jrny__n b { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .75rem; }
.jrny h3 { margin: 0 0 .3em; font-size: 1.08rem !important; }
.jrny p { margin: 0; font-size: .92rem; }
.jrny__more { margin: 24px 0 0; }
@media (max-width: 1179px) {
    .jrny { grid-template-columns: 1fr; gap: 0; }
    .jrny::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(126,35,32,.35) 0 8px, transparent 8px 14px); }
    .jrny li { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 20px; }
    .jrny__n { grid-row: span 2; margin: 0; }
    .jrny h3 { margin-top: 6px; }
}
.pane--tint .jrny__n { background: var(--rose); }

/* Mobile polish */
@media (max-width: 560px) {
    .pane { padding: 34px 0; }
    .pane h2 { font-size: 1.6rem; }
    .pane__h { margin-bottom: 18px; }
    .pane__more { font-size: .92rem; }
    .pane__more .i { width: 32px; height: 32px; padding: 8px; }
    .lead p { font-size: 1.1rem; }
    .pane--tint, .pane--book { margin-inline: calc(-1 * var(--gut)); border-radius: 0; padding-inline: var(--gut); }
    .stats { grid-template-columns: 1fr 1fr; }
    .glance li { padding: 14px 0; }
    .fmedia { gap: 20px; }
    .whyl { gap: 20px; }
}
@media (max-width: 560px) {
    .bnr__call { display: none; }               /* the bottom bar already has Call 24x7 */
    .bnr__sub { margin-bottom: 1em; }
    .bnr__stats { margin-bottom: 20px; }
    .bnr__kicker { margin-bottom: 10px; }
}
@media (max-width: 1023px) { .bnr__media:has(.ph) { display: none; } }   /* photo briefs stay visible on desktop for review */

/* Specialities (client brief, 9 Nov 2026): flat warm off-white section, three white cards,
   burgundy line icons, minimal Explore links. No gradients, curves or decorative motion. */
.pane--spec { padding-inline: clamp(20px, 3vw, 36px); margin: clamp(12px, 2vw, 20px) 0; border: 0; border-radius: 0; background: var(--cream); }
.pane--spec + .pane { border-top: 0; }
.pane--spec .pane__h { margin-bottom: clamp(20px, 2.4vw, 28px); }
.pane--spec h2 { font-size: clamp(1.75rem, 1.45rem + .9vw, 2.25rem); font-weight: 700; line-height: 1.2; color: var(--ink); }
.spc { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
@media (min-width: 768px) { .spc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .spc--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.spc__item { position: relative; margin: 0; display: flex; flex-direction: column; align-items: flex-start; min-height: 310px; padding: 30px; border-radius: 16px; background: #fff; border: 1px solid rgba(86, 86, 86, .22);
    box-shadow: 0 1px 2px rgba(41,35,34,.04), 0 4px 14px rgba(41,35,34,.04); transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease; }
.spc__item:hover { border-color: rgba(86, 86, 86, .22); box-shadow: 0 2px 4px rgba(41,35,34,.05), 0 10px 24px rgba(41,35,34,.07); transform: translateY(-2px); }
.spc__item:has(a:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.spc__item a:focus-visible { outline: none; }
.spc__ic { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; background: #FCFBF2; color: var(--brand); }
.spc__ic .di { width: 32px; height: 32px; stroke-width: 1.6; }
.spc h3 { margin: 24px 0 20px; font-family: var(--serif); font-size: clamp(1.25rem, 1.18rem + .25vw, 1.375rem) !important; font-weight: 700; line-height: 1.3; color: var(--ink); max-width: none; text-wrap: balance; }
.spc h3 a { color: inherit; text-decoration: none; }
.spc h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }   /* the whole card is the link */
.spc__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 24px; color: var(--brand); font-family: var(--sans); font-weight: 700; font-size: 1rem; }
.spc__go .i { width: 18px; height: 18px; transition: transform .22s ease; }
.spc__item:hover .spc__go .i, .spc__item:has(a:focus-visible) .spc__go .i { transform: translateX(4px); }
/* Small laptops: the side menu leaves a narrow column, so tighten spacing rather than break words */
.spc h3 { overflow-wrap: normal; word-break: normal; hyphens: manual; }
@media (min-width: 1024px) and (max-width: 1279px) {
    .pane--spec { padding-inline: 20px; }
    .spc--3 { gap: 16px; }
    .spc--3 .spc__item { padding: 22px 20px; min-height: 290px; }
    .spc--3 h3 { font-size: 1.17rem !important; }
}
@media (max-width: 767px) {
    .pane--spec { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
    .spc { gap: 14px; }
    .spc__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 16px; align-items: center; min-height: 0; padding: 20px; }
    .spc__ic { width: 56px; height: 56px; grid-row: span 2; }
    .spc__ic .di { width: 28px; height: 28px; }
    .spc h3 { margin: 0 0 6px; font-size: 1.2rem !important; }
    .spc__go { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .spc__item, .spc__go .i { transition: none; } .spc__item:hover { transform: none; } }

/* White page background (client request, 9 Nov 2026) */
body.dept { background: #fff; }
@media (max-width: 1023px) { .dept .pside { background: rgba(255,255,255,.97); } }

/* At a glance (9 Nov 2026) */
.glance2 { margin-top: clamp(32px, 4vw, 48px); }
.glance2__t { margin: 0 0 clamp(20px, 2.4vw, 30px); font-family: var(--sans); font-size: 1.05rem !important; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.glance2__t::after { content: ''; display: block; width: 52px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--brand); }
.glance2__list { list-style: none; margin: 0; padding: 0; display: grid; column-gap: clamp(24px, 4vw, 56px); }
@media (min-width: 700px) { .glance2__list { grid-template-columns: 1fr 1fr; } }
.glance2__list li { margin: 0; display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); padding: 14px 0; border-bottom: 1px solid rgba(86, 86, 86, .22); }
@media (min-width: 700px) { .glance2__list li:nth-last-child(-n+2) { border-bottom: 0; } }
@media (max-width: 699px) { .glance2__list li:last-child { border-bottom: 0; } }
.glance2__ic { display: grid; place-items: center; flex: none; width: clamp(52px, 5vw, 64px); aspect-ratio: 1; border-radius: 16px; background: linear-gradient(145deg, #FCFBF2, #FCFBF2); color: var(--brand); box-shadow: 0 6px 14px -8px rgba(90,23,21,.25); }
.glance2__ic .di { width: 50%; height: 50%; }
.glance2__list h4 { margin: 0; font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .45vw, 1.4rem); font-weight: 700; line-height: 1.25; color: var(--ink-2); }
.gstat { list-style: none; margin: clamp(26px, 3vw, 40px) 0 0; padding: 0; display: grid; gap: clamp(14px, 1.6vw, 20px); }
@media (min-width: 900px) { .gstat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gstat li { position: relative; overflow: hidden; margin: 0; display: flex; align-items: center; gap: 18px; padding: clamp(20px, 2.4vw, 28px) clamp(18px, 2vw, 26px); border-radius: 20px;
    background: radial-gradient(90% 70% at 110% 120%, rgba(86, 86, 86,.45) 0 48%, transparent 48.5%), linear-gradient(135deg, #FCFBF2, #FCFBF2); box-shadow: 0 16px 34px -18px rgba(90,23,21,.25), 0 1px 3px rgba(90,23,21,.05); }
.gstat__ic { flex: none; padding-right: 18px; border-right: 1px solid rgba(86, 86, 86, .22); color: var(--brand); }
.gstat__ic .di { display: block; width: 44px; height: 44px; stroke-width: 1.4; }
.gstat__tx { display: flex; flex-direction: column; min-width: 0; }
.gstat__v { font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.9rem); font-weight: 700; line-height: 1.05; color: var(--brand); }
.gstat__v .tbc { font-family: var(--sans); font-size: .95rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; }
.gstat__l { margin-top: 4px; font-size: 1.02rem; color: var(--ink-2); }

/* Your visit, step by step (9 Nov 2026) */
.pane--jr .pane__k { display: flex; align-items: center; gap: 16px; }
.pane--jr .pane__k::after { content: ''; width: 72px; height: 2px; background: var(--brand); }
.jr2 { --jr-gap: 22px; position: relative; list-style: none; margin: clamp(8px, 1.5vw, 16px) 0 0; padding: 14px 0 0; display: grid; gap: var(--jr-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.jr2__step { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 260px; padding: 34px 18px 54px; border-radius: 22px; background: #fff; border: 1px solid #FCFBF2; box-shadow: 0 14px 30px -18px rgba(90,23,21,.22), 0 2px 6px rgba(90,23,21,.04); overflow: hidden; }
.jr2__n { position: absolute; top: 12px; right: 12px; z-index: 2; min-width: 42px; padding: 5px 9px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 800; font-size: .95rem; line-height: 1.2; text-align: center; }
.jr2__ic { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: radial-gradient(circle, #FCFBF2 0%, #FCFBF2 70%); color: var(--brand); }
.jr2__ic .di, .jr2__ic .i { width: 46px; height: 46px; stroke-width: 1.5; }
.jr2 h3 { margin: 22px 0 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.05rem + .45vw, 1.45rem) !important; font-weight: 700; line-height: 1.2; color: var(--ink-2); text-wrap: balance; }
.jr2__more { margin: clamp(28px, 3.4vw, 44px) 0 0; max-width: none !important; text-align: center; }
.jr2__more .btn { padding-inline: 34px; box-shadow: 0 14px 28px -14px rgba(126,35,32,.55); }
.jr2__more .btn .i:last-child { transition: transform .2s; }
.jr2__more .btn:hover .i:last-child { transform: translateX(4px); }
/* Five in a row: a dotted wavy line behind the cards, with a dot between each pair */
@media (min-width: 1180px) {
    .jr2 { --jr-gap: 18px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .jr2::before { content: ''; position: absolute; left: 4%; right: 4%; top: 52%; height: 24px; z-index: 0;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12C25 2 50 2 75 12S125 22 150 12 175 2 200 12' fill='none' stroke='%23E9B9B3' stroke-width='2' stroke-dasharray='5 5'/%3E%3C/svg%3E") repeat-x 0 0 / 25% 100%; }
    .jr2__step { z-index: 1; padding-inline: 12px; }
    .jr2__step:not(:last-child)::after { content: ''; position: absolute; top: 52%; right: calc(-1 * var(--jr-gap) / 2 - 8px); z-index: 3; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px #fff, 0 2px 6px rgba(90,23,21,.25); }
    .jr2__step { overflow: visible; }
    .jr2__ic { width: 92px; height: 92px; }
    .jr2__ic .di, .jr2__ic .i { width: 40px; height: 40px; }
}
/* Phones: one compact row per step, joined by a dotted line */
@media (max-width: 639px) {
    .jr2 { --jr-gap: 14px; grid-template-columns: 1fr; padding-top: 0; }
    .jr2::before { content: ''; position: absolute; left: 47px; top: 30px; bottom: 30px; border-left: 2px dashed rgba(86, 86, 86, .22); }
    .jr2__step { flex-direction: row; text-align: left; gap: 16px; min-height: 0; padding: 16px 64px 16px 16px; }
    .jr2__ic { flex: none; width: 64px; height: 64px; }
    .jr2__ic .di, .jr2__ic .i { width: 30px; height: 30px; }
    .jr2 h3 { margin: 0; font-size: 1.15rem !important; }
    .jr2__n { top: 50%; transform: translateY(-50%); }
    .jr2__more .btn { width: 100%; justify-content: center; padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) { .jr2__more .btn .i:last-child { transition: none; } }

/* Section labels with a short rule (9 Nov 2026) */
.pane__k { display: flex; align-items: center; gap: 16px; }
.pane__k::after { content: ''; width: 72px; height: 2px; flex: none; background: var(--brand); opacity: .9; }

/* Treatments and procedures (9 Nov 2026) */
.tabs--pill .tabs__list { gap: 14px; border-bottom: 0; margin-bottom: 26px; padding: 2px; }
.tabs--pill .tabs__list [role="tab"] { padding: 12px 20px 12px 18px; border-radius: 14px; background: #FCFBF2; color: var(--ink-2); font-weight: 700; font-size: 1.02rem; gap: 12px; }
.tabs--pill .tabs__list [role="tab"]::after { display: none; }
.tabs--pill .tabs__list [role="tab"] .di { width: 26px; height: 26px; color: var(--brand); }
.tabs--pill .tabs__list [role="tab"] b { min-width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--brand); font-size: .92rem; }
.tabs--pill .tabs__list [role="tab"]:hover { background: #FCFBF2; }
.tabs--pill .tabs__list [role="tab"][aria-selected="true"] { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -12px rgba(126,35,32,.6); }
.tabs--pill .tabs__list [role="tab"][aria-selected="true"] .di { color: #fff; }
.tabs--pill .tabs__list [role="tab"][aria-selected="true"] b { background: #fff; color: var(--brand); box-shadow: -12px 0 0 -11px rgba(255,255,255,.6); margin-left: 6px; }
.tabs--pill .tabs__list [role="tab"]:focus-visible { outline: 3px solid rgba(126,35,32,.4); outline-offset: 2px; border-radius: 14px; }
.tgrp2 { display: grid; gap: 22px; }
@media (min-width: 900px) { .tgrp2 { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: stretch; } }
.tgrp2__fig { position: relative; margin: 0; min-height: 280px; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, var(--brand), var(--brand-dark)); }
.tgrp2__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tgrp2__fig::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(126,35,32,0) 35%, rgba(126,35,32,.55) 62%, rgba(110,23,20,.95) 100%); }
.tgrp2__fig--plain::after { display: none; }
.tgrp2__fig figcaption { position: absolute; inset: auto 0 0 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 26px; color: #fff; }
.tgrp2__ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.85); }
.tgrp2__ic .di { width: 30px; height: 30px; color: #fff; }
.tgrp2__fig strong { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.1; }
.tgrp2__pill { padding: 6px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.9); font-size: .92rem; }
.trows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.trows li { margin: 0; flex: 1; display: flex; }
.trows a { flex: 1; display: flex; align-items: center; gap: 18px; min-height: 76px; padding: 12px 18px 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #FCFBF2; box-shadow: 0 8px 20px -14px rgba(90,23,21,.22); color: var(--ink-2); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.trows a:hover { border-color: rgba(86, 86, 86, .22); box-shadow: 0 12px 26px -14px rgba(90,23,21,.3); }
.trows__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #FCFBF2; color: var(--brand); position: relative; margin-right: 18px; }
.trows__ic::after { content: ''; position: absolute; right: -18px; top: 12px; bottom: 12px; width: 1.5px; background: rgba(86, 86, 86, .22); }
.trows__ic .di { width: 28px; height: 28px; }
.trows__t { flex: 1; font-family: var(--serif); font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); font-weight: 700; line-height: 1.25; }
.trows__go { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #FCFBF2; color: var(--brand); }
.trows__go .i { width: 18px; height: 18px; transition: transform .2s; }
.trows a:hover .trows__go .i { transform: translateX(3px); }
@media (max-width: 899px) { .tgrp2__fig { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 560px) {
    .tabs--pill .tabs__list { gap: 10px; }
    .tabs--pill .tabs__list [role="tab"] { padding: 10px 14px; font-size: .95rem; }
    .tgrp2__fig figcaption { padding: 18px; gap: 8px; }
    .tgrp2__ic { width: 46px; height: 46px; }
    .trows a { min-height: 66px; gap: 12px; padding: 10px 12px; }
    .trows__ic { width: 44px; height: 44px; margin-right: 12px; }
    .trows__ic::after { right: -12px; }
    .trows__go { width: 34px; height: 34px; }
}

/* Facilities and technology (9 Nov 2026) */
.pane--fac .pane__more { padding: 10px 22px; border: 1.5px solid var(--brand); border-radius: 999px; color: var(--brand); gap: 10px; }
.pane--fac .pane__more .i { width: 18px; height: 18px; padding: 0; background: none; color: var(--brand); }
.pane--fac .pane__more:hover { background: var(--brand); color: #fff; }
.pane--fac .pane__more:hover .i { background: none; color: #fff; transform: translateX(3px); }
.fac2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.fac2--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.fac2--small { margin-top: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.fac2__card { position: relative; margin: 0; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid #FCFBF2; box-shadow: 0 14px 30px -20px rgba(90,23,21,.3), 0 1px 3px rgba(90,23,21,.04); }
.fac2__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.fac2__card:has(.fac2__link):hover { box-shadow: 0 18px 34px -18px rgba(90,23,21,.35); }
.fac2__ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: #FCFBF2; color: var(--brand); }
.fac2__ic .di { width: 32px; height: 32px; }
.fac2__card h3 { margin: 18px 0 0; padding-left: 14px; border-left: 3px solid var(--brand); font-family: var(--serif); font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem) !important; font-weight: 700; line-height: 1.22; color: var(--ink-2); }
.fac2__card--wide { min-height: 230px; display: block; }
.fac2__txt { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; min-height: 230px; max-width: 46%; padding: 26px; }
.fac2__img { position: absolute; inset: 0 0 0 auto; width: 74%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 22%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 22%, #000 45%); }
.fac2__card--s { padding: 24px 22px 44px; }
@media (max-width: 560px) {
    .fac2__txt { max-width: 55%; padding: 20px; min-height: 200px; }
    .fac2__card--wide { min-height: 200px; }
    .fac2--small { grid-template-columns: 1fr 1fr; gap: 14px; }
    .fac2__card--s { padding: 18px 16px 38px; }
    .fac2__ic { width: 50px; height: 50px; }
    .fac2__ic .di { width: 28px; height: 28px; }
}
.fac2__card h3 { overflow-wrap: normal; word-break: normal; }
.fac2__card--s h3 { font-size: clamp(1.02rem, .95rem + .3vw, 1.16rem) !important; }
@media (max-width: 560px) {
    .fac2__txt { max-width: 46%; padding: 18px 0 18px 18px; }
    .fac2__txt h3 { font-size: 1.05rem !important; padding-left: 10px; }
    .fac2__img { width: 70%; }
    .fac2--small { grid-template-columns: 1fr; gap: 12px; }
    .fac2__card--s { display: flex; align-items: center; gap: 16px; padding: 14px 16px; }
    .fac2__card--s h3 { margin: 0; }
    .fac2__card--s .fac2__link { display: flex; align-items: center; gap: 16px; }
}

/* ===================================================================== Overview redesign brief (9 Nov 2026)
   Calm and light: white or var(--cream) surfaces, var(--brand) for meaningful accents, rgba(86, 86, 86, .22) borders instead of heavy shadows. */

/* Hero: light background in place of the burgundy band */
.bnr { color: var(--ink); background: var(--cream); border-bottom: 1px solid rgba(86, 86, 86, .22); }
.bnr::before { display: none; }
.bnr .crumbs ol { color: var(--body); }
.bnr .crumbs a { color: var(--body); }
.bnr .crumbs a:hover, .bnr .crumbs [aria-current] { color: var(--brand); }
.bnr .crumbs li + li::before { color: #C9BDB9; }
.bnr__kicker { color: var(--brand); }
.bnr__kicker .di { background: #FCFBF2; color: var(--brand); }
.bnr h1 { color: var(--ink); }
.bnr__sub { color: var(--body); }
.bnr__stats li { border-left-color: rgba(86, 86, 86, .22); }
.bnr__stats strong { color: var(--brand); }
.bnr__stats span { color: var(--body); }
.bnr .bnr__book { background: var(--brand); border-color: var(--brand); color: #fff; }
.bnr .bnr__book:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.bnr__call { color: var(--ink); }
.bnr__call { gap: 10px; color: var(--brand); }
/* Same plain phone icon as the side panel (.phelp__line), sized up for the hero */
.bnr__call .i { width: 24px; height: 24px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--brand); }
.bnr__call small { color: var(--body); }
.bnr__call:hover .i { background: none; }
.bnr__call:hover { color: var(--brand-dark); }
.bnr__media::after { display: none; }
.bnr__img, .bnr__pimg { border-radius: 16px; box-shadow: none; border: 1px solid rgba(86, 86, 86, .22); }
@media (max-width: 520px) { .bnr__stats li, .bnr__stats li:first-child { border-left-color: rgba(86, 86, 86, .22); } }

/* Quick actions: four equal white cards, no burgundy band behind them */
.quick { margin-top: clamp(20px, 2.4vw, 28px); }
.quick ul { gap: 16px; }
.quick a { padding: 18px 18px 18px 16px; border: 1px solid rgba(86, 86, 86, .22); border-radius: 16px; box-shadow: 0 1px 2px rgba(41,35,34,.04); transition: border-color .2s, box-shadow .2s; }
.quick a:hover { transform: none; border-color: rgba(86, 86, 86, .22); box-shadow: 0 6px 16px rgba(41,35,34,.06); }
.quick__ic { background: #FCFBF2; color: var(--brand); border-radius: 12px; }
.quick__t strong { color: var(--ink); font-size: 1.02rem; }
.quick__t small { color: var(--body); }
.quick a > .i { color: var(--brand); }
.quick a.quick--em { border-color: rgba(86, 86, 86, .22); background: #FFFBFA; }
.quick a.quick--em .quick__ic { background: var(--brand); color: #fff; }
.quick a.quick--em small { color: var(--brand); }
.quick a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Side menu: white, quiet inactive icons, a clear active row */
.pnav__t { color: var(--body); }
.pnav a { padding: 10px 10px; border-bottom-color: #FCFBF2; color: var(--ink); }
.pnav a .di { color: #B3A6A2; }
.pnav a:hover { color: var(--brand); background: #FCF8F7; }
.pnav a:hover .di { color: var(--brand); }
.pnav a[aria-current] { color: var(--brand); background: #FCFBF2; border-bottom-color: transparent; box-shadow: inset 3px 0 0 var(--brand); border-radius: 0 10px 10px 0; }
.phelp { background: #fff; border: 1px solid rgba(86, 86, 86, .22); }
@media (max-width: 1023px) {
    .pnav a { padding: 8px 16px; border: 1px solid rgba(86, 86, 86, .22); border-radius: 999px; }
    .pnav a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: none; border-radius: 999px; }
}

/* Why SMSIMSR (9 Nov 2026) */
.why2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.why2__card { position: relative; overflow: hidden; margin: 0; grid-column: span 2; padding: 22px 26px 40px; border-radius: 18px; background: #fff; border: 1px solid rgba(86, 86, 86, .22); box-shadow: 0 1px 2px rgba(41,35,34,.04), 0 8px 22px -16px rgba(41,35,34,.16); }
.why2__card:nth-child(n+4) { grid-column: span 3; }
.why2__top { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.why2__ic { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 14px; background: #FCFBF2; color: var(--brand); }
.why2__ic .di { width: 34px; height: 34px; stroke-width: 1.5; }
.why2__n { position: relative; padding-left: 22px; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.85rem; line-height: 1; color: var(--brand); }
.why2__n::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 1.5px; background: var(--brand); }
.why2 h3 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(1.2rem, 1.08rem + .45vw, 1.45rem) !important; font-weight: 700; line-height: 1.22; color: var(--ink); }
.why2 p { position: relative; z-index: 1; margin: 0; font-size: 1rem; line-height: 1.6; color: var(--body); max-width: 40ch; }
@media (max-width: 1179px) { .why2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .why2__card, .why2__card:nth-child(n+4) { grid-column: auto; } .why2__card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 639px) { .why2 { grid-template-columns: 1fr; gap: 14px; } .why2__card { padding: 18px 20px 34px; } .why2__ic { width: 52px; height: 52px; } .why2__ic .di { width: 28px; height: 28px; } .why2__n { font-size: 1.55rem; } .why2__top { margin-bottom: 14px; gap: 16px; } }
.dept main .why2 h3 { text-wrap: pretty; }

/* Booking: emergency guidance above the routine form (review, 9 Nov 2026) */
.emline { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--rose-2); border-left: 4px solid var(--brand); color: var(--brand-dark); font-size: .97rem; line-height: 1.5; }
.emline .di { width: 24px; height: 24px; flex: none; color: var(--brand); margin-top: 1px; }
.emline strong { color: var(--brand); }
.emline a { color: var(--brand); font-weight: 700; white-space: nowrap; }
.f-note { margin: 6px 0 0; font-size: .86rem; color: var(--body); }

/* Side menu groups (review, 9 Nov 2026): core tasks first, the rest under "More on this page" */
.pnav__g { margin: 22px 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--body); }
.pnav__more a { font-size: .94rem; color: var(--body); padding-block: 8px; }
@media (max-width: 1023px) {
    .pnav { position: relative; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
    .pnav::-webkit-scrollbar { display: none; }
    .pnav ol { overflow: visible; flex: none; }
    .pnav ol + .pnav__g + ol { padding-left: 0; }
    .pnav ol:first-of-type { padding-right: 8px; }
    .pnav__g { display: none; }
    .pnav__more a { color: var(--body); background: var(--cream); }
}

/* Conditions: compact grid of guides */
.cgrid2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.cgrid2 li { margin: 0; }
.cgrid2 a { height: 100%; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid rgba(86, 86, 86, .22); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.cgrid2 a:hover { border-color: rgba(86, 86, 86, .22); box-shadow: 0 6px 16px rgba(41,35,34,.06); }
.cgrid2 a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.cgrid2__ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #FCFBF2; color: var(--brand); }
.cgrid2__ic .di { width: 26px; height: 26px; }
.cgrid2__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.cgrid2__t strong { font-family: var(--serif); font-size: 1.12rem; }
.cgrid2__t small { font-size: .86rem; color: var(--body); }
.cgrid2 a > .i { flex: none; width: 18px; height: 18px; color: var(--brand); transition: transform .2s; }
.cgrid2 a:hover > .i { transform: translateX(3px); }
.why2__link { position: relative; z-index: 1; margin-top: 12px; }

/* ===================================================================== QA fixes (9 Nov 2026): responsive, touch, type, contrast */

/* Number cards: three across only where they fit (1,300+ was clipped at 1024px) */
@media (min-width: 900px) and (max-width: 1179px) { .gstat { grid-template-columns: 1fr; } }

/* Line length: 60 to 75 characters on desktop */
.pmain p { max-width: 64ch; }

/* Contrast (WCAG AA) */
.pnav__g { color: var(--body); }
.why2__n { color: var(--brand); }
.dept .site-footer__cert-code-text small { color: var(--body); }

/* Phones and tablets: tap targets of at least 44px, body text at least 16px */
@media (max-width: 1023px) {
    .pnav a { min-height: 44px; }
    .pane__more { min-height: 44px; }
    .pane__more .i { width: 40px; height: 40px; padding: 11px; }
    .crumbs a { display: inline-block; padding-block: 12px; }
    .crumbs ol { padding-top: 6px !important; }
    .pmain .link, .ctc .link, .jrny__more .link, .cgrid2 + .link { min-height: 44px; }
    .ctc__big { display: inline-flex; align-items: center; min-height: 44px; }
    .dept .util__em { min-height: 44px; display: inline-flex; align-items: center; }
    .dept .util select { min-height: 44px; }
    .dept .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 767px) {
    .tl p, .ctc__card p, .emline, .f-note, .form-note, .review, .acc__a p { font-size: 16px !important; }
}

/* Phones held sideways: the section strip scrolls away and the floating Book button hides (the header keeps Book) */
@media (orientation: landscape) and (max-height: 500px) {
    .dept { --strip: 0px; }
    .pside { position: static !important; }
    .sticky-book { display: none !important; }
}

/* Your visit, revised (9 Nov 2026): centred header, badges on top, dashed connectors */
.pane--jr .pane__h { justify-content: center; text-align: center; }
.pane--jr .pane__h > div { max-width: none; display: flex; flex-direction: column; align-items: center; }
.pane--jr .pane__k { justify-content: center; }
.pane--jr .pane__k::before { content: ''; width: 72px; height: 2px; flex: none; background: var(--brand); opacity: .9; }
.pane--jr h2 { text-align: center; }
.jr2 { padding-top: 26px; }
.jr2__step { overflow: visible; padding: 44px 16px 30px; min-height: 0; justify-content: flex-start; border-color: #FCFBF2; box-shadow: 0 10px 26px -18px rgba(90,23,21,.28), 0 1px 3px rgba(90,23,21,.04); }
.jr2__n { top: -18px; right: auto; left: 50%; transform: translateX(-50%); min-width: 50px; padding: 7px 10px; border-radius: 10px; font-size: 1rem; }
.jr2__n::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: inherit; border-radius: 2px; transform: translateX(-50%) rotate(45deg); z-index: -1; }
.jr2__more .btn { gap: 14px; }
.jr2__sep { width: 1.5px; align-self: stretch; margin: 2px 0; background: rgba(255,255,255,.55); }
@media (min-width: 1180px) {
    .jr2 { --jr-gap: 34px; }
    .jr2::before { display: none; }
    .jr2__step:not(:last-child)::after { right: calc(-1 * var(--jr-gap)); top: 50%; width: var(--jr-gap); height: 10px; border-radius: 0; transform: translateY(-50%); box-shadow: none;
        background: radial-gradient(circle, var(--brand) 0 4.5px, transparent 5px) center / 10px 10px no-repeat, repeating-linear-gradient(90deg, #C9928D 0 5px, transparent 5px 9px) center / 100% 2px no-repeat; }
}
@media (max-width: 1179px) {
    .jr2 { row-gap: 34px; }
}
@media (max-width: 639px) {
    .jr2 { row-gap: 14px; padding-top: 0; }
    .jr2__step { padding: 16px 70px 16px 16px; }
    .jr2__n { top: 50%; left: auto; right: 14px; transform: translateY(-50%); min-width: 44px; }
    .jr2__n::after { display: none; }
}
.jr2 h3 { overflow-wrap: normal; word-break: normal; }
@media (min-width: 1180px) { .jr2 h3 { font-size: clamp(1.02rem, .6rem + .62vw, 1.3rem) !important; } .jr2__step { padding-inline: 10px; } }
@media (min-width: 640px) and (max-width: 1179px) { .jr2__step:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); } }
.pmain p { max-width: 56ch; }   /* the sans body face is narrow: 56ch is about 70 to 75 characters */

.gstat li { background: #fff; border: 1px solid rgba(86, 86, 86, .22); box-shadow: 0 1px 2px rgba(41,35,34,.04); }
.why2__card { padding-bottom: 26px; }
.fac2__card--s { padding-bottom: 24px; }

/* ===================================================================== Brand guidelines audit (9 Nov 2026)
   Only #7E2320, #2D2D2D, #565656, #FCFBF2 and white (plus tints of the grey for lines). */
.dept { --line: rgba(86, 86, 86, .18); }
.dept .pane, .dept .pnav a, .dept .pnav__more a, .dept .ph, .dept hr { border-color: rgba(86, 86, 86, .18); }
.dept .ph { border-color: rgba(86, 86, 86, .3); }
.dept .pnav a .di { color: rgba(86, 86, 86, .6); }
.dept .quick a.quick--em { background: var(--cream); }
.dept .bnr__pimg, .dept .dcard__media, .dept .dc2__media { background: var(--cream); }
.dept [class*="--wa"], .dept [class*="--wa"] .i, .dept .phelp__line--wa, .dept a[href*="wa.me"], .dept a[href*="wa.me"] .i { color: var(--brand) !important; }
.dept main a:hover, .dept .bnr__book:hover, .dept .pnav a:hover { color: var(--brand); }
.dept { --brand-dark: #2D2D2D; }   /* guideline charcoal for hover states */

/* Client review 13 Nov 2026: centre the dome in the hub hero (the 16:9 photo is cropped to 4:3). */
.bnr__img[src*="smsimsr-building"] { object-position: 42% 50%; }
@media (min-width: 900px) { .bookbox .ctc { grid-template-columns: repeat(3, 1fr); } }

/* Other specialities band, above the footer on every page except the hub (14 Nov 2026) */
.morespec { background: #FCFBF2; border-top: 1px solid rgba(86, 86, 86, .12); }
.morespec .kicker { margin: 0 0 8px; }
.morespec__h { margin: 0 0 28px; font-size: clamp(1.75rem, 1.45rem + .9vw, 2.25rem); font-weight: 700; line-height: 1.2; color: var(--ink); }

/* Plan your visit: "What to bring" checklist card in the hero (14 Nov 2026) */
.bnr__aside { min-width: 0; }
.bring { background: #fff; border: 1px solid rgba(86, 86, 86, .18); border-radius: 18px; padding: clamp(22px, 2.6vw, 32px); box-shadow: 0 2px 4px rgba(41,35,34,.04), 0 12px 28px rgba(41,35,34,.06); }
.bring__t { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid rgba(86, 86, 86, .14); font-size: clamp(1.3rem, 1.2rem + .4vw, 1.6rem); font-weight: 700; line-height: 1.25; color: var(--ink); }
.bring__t .di { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #FCFBF2; color: var(--brand); }
.bring__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bring__list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; font-size: 1rem; line-height: 1.5; color: var(--body); }
.bring__list .i { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--brand); color: #fff; }
.bnr--aside .bnr__grid { align-items: start; }
@media (max-width: 1023px) { .bnr--aside .bnr__aside { max-width: 640px; } }

/* =========================================================================
   Orthopaedics (16 Nov 2026): condition cards, procedure tables, team list, emergency strip.
   Built on the same tokens as the cardiac components.
   ========================================================================= */
.oh3 { margin: 28px 0 .45em; }
.ocards { list-style: none; margin: 18px 0 8px; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.ocards li { margin: 0; padding: 18px 20px; background: #fff; border: 1px solid var(--pline); border-radius: 16px; }
.ocards__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--rose-2); color: var(--brand); margin-bottom: 10px; }
.ocards__ic .di { width: 24px; height: 24px; }
.ocards h3 { margin: 0 0 .3em; font-size: 1.08rem !important; }
.ocards p { margin: 0; font-size: .95rem; }
.otbl { margin: 18px 0 0; overflow-x: auto; border: 1px solid var(--pline); border-radius: 16px; background: #fff; }
.otbl:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.otbl table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.otbl th, .otbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.otbl thead th { border-top: 0; background: var(--rose); color: var(--ink); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.otbl tbody th { color: var(--ink); font-weight: 700; min-width: 11em; }
.otbl__note { margin: 10px 0 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 680px) {
    .otbl { border: 0; background: none; overflow: visible; }
    .otbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .otbl table, .otbl tbody, .otbl tr, .otbl th, .otbl td { display: block; }
    .otbl tr { margin: 0 0 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--pline); border-radius: 14px; }
    .otbl th, .otbl td { padding: 4px 0; border: 0; }
    .otbl tbody th { font-size: 1.05rem; margin-bottom: 4px; }
    .otbl td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); }
}
.oteam { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.oteam li { margin: 0; display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: #fff; border: 1px solid var(--pline); border-radius: 14px; }
.oteam .di { width: 24px; height: 24px; color: var(--brand); }
.oteam span { display: flex; flex-direction: column; }
.oteam small { color: var(--muted); font-size: .86rem; }
.ospc__p { margin: 0 0 4px; font-size: .92rem; color: var(--muted); }
.ogstat { margin-top: 24px; }
.otl { margin-top: 20px; }
.otl .tl__when { font-weight: 800; color: var(--brand); }
.oreview { margin: 8px 0 32px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.oem { background: #FCFBF2; border-bottom: 1px solid rgba(86, 86, 86, .22); }
.oem__in { display: flex; gap: 12px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.oem__in .di { color: var(--brand); }
.oem p { margin: 0; font-size: 1rem; }
.oem a { color: var(--brand); font-weight: 800; white-space: nowrap; }
.ospc .spc__item { min-height: 250px; }
.ospc h3 { margin: 20px 0 10px; }
@media (min-width: 1180px) { .ospc:has(> li:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.otbl tbody th, .otbl td { background: #fff; }
.otbl__note + p { margin-top: 14px; }
