/* ==========================================================================
   Yonge Forest Dental — "Bright Wellness" (v3)
   Airy, premium, lots of white space. Clean grotesque type, big soft-rounded
   imagery, soft shadows, scroll-built sections. Forest-green accents.
   ========================================================================== */

:root {
  --green: #3da989;
  --green-600: #2f9176;
  --green-700: #1f7363;
  --green-800: #02564b;
  --green-900: #023b34;
  --teal: #82c0c7;
  --tint: #d8efe7;
  --mint: #f0f8f4;
  --mint-2: #e7f4ee;
  --paper: #ffffff;
  --ink: #192924;
  --muted: #5e716a;
  --line: #e9f0ec;
  --gold: #e0a83c;

  --bg: var(--paper);

  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 3px rgba(2, 59, 52, .05);
  --shadow-sm: 0 6px 24px rgba(2, 59, 52, .06);
  --shadow-md: 0 18px 50px rgba(2, 59, 52, .09);
  --shadow-lg: 0 40px 90px rgba(2, 59, 52, .14);
  --shadow-green: 0 16px 36px rgba(61, 169, 137, .30);

  --container: 1220px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 150px);

  --ease: cubic-bezier(.22, .68, 0, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
/* Faster, cleaner taps: skip the 300ms double-tap-zoom delay on interactive UI. */
a, button, summary, label, .btn, input, select, textarea { touch-action: manipulation; }
/* Skip-link / in-page anchors land clear of the sticky header. */
#main { scroll-margin-top: 96px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-800); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-600); }
ul { padding-left: 1.15em; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; color: var(--green-900); text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); font-weight: 800; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 700; }
p { color: var(--ink); }
strong { font-weight: 700; }

::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; background: var(--green-800); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green); border-radius: 2px; }
.sec-head { max-width: 800px; margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center p { margin-inline: auto; }
.sec-cta { text-align: center; margin-top: clamp(2.2rem, 4vw, 3rem); }
.section p { max-width: 68ch; color: var(--muted); font-size: 1.08rem; }

/* ----- buttons ----- */
.btn { display: inline-flex; align-items: center; gap: .55rem; position: relative; font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1; padding: 1rem 1.8rem; border-radius: var(--radius-pill); border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s, box-shadow .3s, color .25s; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary, .btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-green); }
.btn-primary:hover, .btn--primary:hover { background: var(--green-700); color: #fff; transform: translateY(-3px); box-shadow: 0 24px 50px rgba(31,115,99,.4); }
.btn-ghost { background: #fff; color: var(--green-800); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-800); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn-on-dark { background: #fff; color: var(--green-800); }
.btn-on-dark:hover { background: var(--mint); transform: translateY(-3px); }
.btn-ghost-on-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-ghost-on-dark:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-3px); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; position: relative; z-index: 2; }
.btn--lg { padding: 1.15rem 2.2rem; font-size: 1.08rem; }
.main-nav > a.btn-nav { padding: .8rem 1.55rem; font-size: .95rem; font-weight: 700; background: var(--green); color: #fff; border-radius: var(--radius-pill); box-shadow: 0 8px 20px rgba(61,169,137,.3); }
.main-nav > a.btn-nav:hover { background: var(--green-700); color: #fff; transform: translateY(-2px); }

/* ----- topbar ----- */
.topbar { background: var(--green-900); color: #b6d8cc; font-size: .85rem; }
.topbar a { color: #e9fff7; }
.topbar a:hover { color: #fff; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; flex-wrap: wrap; }
.topbar-info { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.tb-item { display: inline-flex; align-items: center; gap: .45rem; }
.tb-item svg { width: 14px; height: 14px; opacity: .8; }
.topbar-social { display: inline-flex; gap: .7rem; }
.topbar-social a { display: inline-grid; place-items: center; opacity: .85; transition: opacity .2s, transform .2s; }
.topbar-social a:hover { opacity: 1; transform: translateY(-1px); }

/* ----- header ----- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.7); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255,255,255,.92); border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(2,59,52,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 88px; transition: min-height .3s; }
.site-header.scrolled .header-inner { min-height: 72px; }
.brand-logo { width: auto; height: 56px; transition: height .3s; }
.site-header.scrolled .brand-logo { height: 46px; }
.main-nav { display: flex; align-items: center; gap: clamp(.5rem, 1.3vw, 1.5rem); }
.main-nav > a:not(.btn), .services-toggle { font-family: var(--font-body); font-weight: 600; font-size: .96rem; color: var(--ink); background: none; border: 0; padding: .5rem .15rem; display: inline-flex; align-items: center; gap: .3rem; position: relative; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; left: .15rem; right: .15rem; bottom: -3px; height: 2px; background: var(--green); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > a:not(.btn):hover, .main-nav > a:not(.btn).active { color: var(--green-800); }
.main-nav > a:not(.btn):hover::after, .main-nav > a:not(.btn).active::after { transform: scaleX(1); }
.nav-phone { color: var(--green-800) !important; font-weight: 700; }
.nav-phone svg { width: 14px; height: 14px; }

.has-dropdown { position: relative; }
.services-toggle .chev { font-size: .65rem; transition: transform .3s var(--ease); }
.has-dropdown:hover .services-toggle .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(10px); min-width: 300px; background: rgba(255,255,255,.98); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: .6rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); z-index: 1100; }
.dropdown::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-item { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .68rem .9rem; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s, padding-left .2s; }
.dropdown-item:hover { background: var(--mint); color: var(--green-800); padding-left: 1.15rem; }
.dropdown-item .chev { color: var(--muted); }
.has-submenu { position: relative; }
.submenu { position: absolute; top: -.6rem; left: calc(100% + 8px); min-width: 260px; background: rgba(255,255,255,.98); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: .6rem; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease); z-index: 1200; }
.has-submenu::after { content: ""; position: absolute; top: 0; right: -12px; width: 14px; height: 100%; }
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
.submenu a { display: block; padding: .58rem .85rem; border-radius: 10px; color: var(--ink); font-size: .92rem; font-weight: 500; transition: background .2s, padding-left .2s; }
.submenu a:hover { background: var(--mint); color: var(--green-800); padding-left: 1.1rem; }
.submenu-overview { font-weight: 700 !important; color: var(--green-800) !important; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0 !important; margin-bottom: .3rem; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .55rem; z-index: 1600; }
.menu-toggle span { width: 26px; height: 2.5px; background: var(--green-900); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ----- sections + reveal ----- */
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--mint); }
/* Services (bucket-links) band — distinct soft-green so it doesn't merge with
   the mint reviews section that follows it (whose mint backdrop the review
   widget needs). */
.section--services { background: linear-gradient(180deg, #dff0e8, #cbe6d9); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.two-col--reverse > .two-col-media { order: -1; }
.two-col-media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.two-col-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.two-col-media:hover img { transform: scale(1.05); }
.prose { max-width: 800px; }
.prose h2 { margin-top: 2.8rem; }
.prose h3 { margin-top: 2.1rem; color: var(--green-800); }
.prose p, .prose ul { margin-top: 1.1rem; color: var(--muted); }
.prose ul li { margin-top: .45rem; }
.prose__figure { border-radius: var(--radius-lg); overflow: hidden; margin: 2rem 0; box-shadow: var(--shadow-sm); }

/* ----- service content flow (visual rhythm) ----- */
.flow-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: clamp(3rem, 6vw, 5rem); }
.flow-block:first-child { margin-top: 0; }
.flow-block--reverse > .flow-block__media { order: -1; }
.flow-block__media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.flow-block__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.flow-block__media:hover img { transform: scale(1.04); }
.flow-block h2 { margin-bottom: 1rem; }
.flow-block p { color: var(--muted); margin-top: 1rem; max-width: 60ch; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem; margin-top: 2.6rem; }
.process-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-xs); }
.process-step__num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mint); color: var(--green-800); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 1.1rem; }
.process-step h3 { font-size: 1.12rem; color: var(--green-900); margin-bottom: .5rem; }
.process-step p { color: var(--muted); margin: 0; font-size: .98rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; margin-top: 2.6rem; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-xs); }
.feature-card h3 { font-size: 1.1rem; color: var(--green-900); margin-bottom: .55rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: .98rem; }
/* Wide variant: when card bodies carry a lot of text, a narrow column forces the
   copy into a tall stack that reads long vertically. Switch to full-width
   horizontal rows (label beside body) so the text wraps wide and stays short. */
.feature-grid--wide { grid-template-columns: 1fr; gap: 1.1rem; }
.feature-grid--wide .feature-card { display: grid; grid-template-columns: minmax(150px, 190px) 1fr; column-gap: 1.9rem; align-items: start; }
.feature-grid--wide .feature-card h3 { margin: 0; }
.feature-grid--wide .feature-card__body > * + * { margin-top: .7rem; }
@media (max-width: 720px) { .feature-grid--wide .feature-card { grid-template-columns: 1fr; row-gap: .5rem; } }
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.2rem); margin-top: 2.6rem; }
.highlight-card { background: linear-gradient(150deg, var(--mint-2), #fff 72%); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--shadow-sm); }
.highlight-card h2 { margin-bottom: 1rem; }
.highlight-card p { color: var(--muted); margin-top: .9rem; }
.highlight-card .btn { margin-top: 1.8rem; }
@media (max-width: 900px) { .flow-block { grid-template-columns: 1fr; } .flow-block--reverse > .flow-block__media { order: 0; } .highlight-grid { grid-template-columns: 1fr; } }

/* ----- hero ----- */
.hero { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 88% 0%, var(--mint-2), transparent 60%), #fff; }
.hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(48px, 7vw, 110px); position: relative; z-index: 2; }
.hero__blob { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; }
.hero__blob--1 { width: 560px; height: 560px; background: radial-gradient(circle at 30% 30%, rgba(216,239,231,.7), transparent 70%); top: -180px; right: -140px; animation: drift 20s var(--ease) infinite alternate; }
.hero__blob--2 { width: 460px; height: 460px; background: radial-gradient(circle at 50% 50%, rgba(130,192,199,.20), transparent 72%); bottom: -200px; left: -160px; animation: drift 26s var(--ease) infinite alternate-reverse; }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.07); } }

.hero__badge { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .5rem 1.05rem; font-weight: 600; font-size: .85rem; color: var(--green-800); box-shadow: var(--shadow-sm); margin-bottom: 1.6rem; }
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61,169,137,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61,169,137,0); } 100% { box-shadow: 0 0 0 0 rgba(61,169,137,0); } }
.hero__sub { font-size: 1.25rem; color: var(--muted); margin-top: 1.5rem; max-width: 48ch; }
.hero__actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 2.4rem; }
.hero__phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--green-800); }
.hero__phone:hover { color: var(--green); }

.hero__visual { position: relative; }
.hero__photo { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; }
.hero__photo img, .hero__visual > img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip { position: absolute; display: flex; align-items: center; gap: .7rem; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.7); border-radius: 20px; box-shadow: var(--shadow-md); padding: .9rem 1.2rem; font-weight: 600; font-size: .9rem; animation: float 5.5s var(--ease) infinite alternate; }
@keyframes float { to { transform: translateY(-12px); } }
.hero__chip--reviews { bottom: 1.8rem; left: -1.6rem; }
.hero__chip--years { top: 1.8rem; right: -1.2rem; }
.hero__chip .num { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: var(--green-900); line-height: 1; }
.hero__chip small { color: var(--muted); font-size: .72rem; display: block; }
.hero__stars { display: inline-flex; color: var(--gold); }
.hero__stars svg { width: 15px; height: 15px; }

.hero__content > * { animation: rise 1s var(--ease) both; }
.hero__content > .hero__badge { animation-delay: .05s; }
.hero__content > h1 { animation-delay: .16s; }
.hero__content > .hero__sub { animation-delay: .28s; }
.hero__content > .hero__actions { animation-delay: .4s; }
.hero__visual { animation: rise 1.1s var(--ease) .34s both; }
@keyframes rise { from { opacity: 0; transform: translateY(38px); } to { opacity: 1; transform: none; } }

/* ----- stats strip (scroll count-up) ----- */
.stats { background: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat { padding: 1.2rem; border-radius: var(--radius-lg); }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--green); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat .label { color: var(--muted); font-weight: 600; font-size: .95rem; margin-top: .5rem; }

/* ----- trust tiles ----- */
.tiles { padding-block: clamp(28px, 4vw, 48px); }
.tiles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.tile--accent { background: linear-gradient(155deg, var(--green), var(--green-700)); color: #ecfaf4; border-color: transparent; box-shadow: var(--shadow-green); }
.tile--accent h3 { color: #fff; }
.tile--accent .tile__link { color: #fff; }
.tile--accent p { color: #d7f0e8; }
.tile__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--mint); color: var(--green-800); margin-bottom: 1.2rem; transition: transform .3s var(--ease); }
.tile:hover .tile__icon { transform: rotate(-6deg) scale(1.08); }
.tile--accent .tile__icon { background: rgba(255,255,255,.18); color: #fff; }
.tile h3, .tile__title { margin: 0 0 .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--green-900); }
.tile p { font-size: .98rem; margin-bottom: 1.1rem; }
.tile__link { font-weight: 700; color: var(--green-800); font-size: .92rem; display: inline-flex; gap: .35rem; }
.tile__link:hover { gap: .6rem; }

/* ----- services grid ----- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--mint); color: var(--green-800); margin-bottom: 1.2rem; transition: background .35s, color .35s, transform .35s var(--ease); }
.svc-card:hover .svc-icon { background: var(--green); color: #fff; transform: rotate(-8deg) scale(1.06); }
.svc-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.svc-card p { font-size: .95rem; color: var(--muted); flex: 1; }
.svc-cta { margin-top: 1.2rem; font-weight: 700; color: var(--green); font-size: .9rem; display: inline-flex; gap: .35rem; }
.svc-card:hover .svc-cta { gap: .65rem; }

.subsvc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); gap: 1.5rem; margin-top: 2.4rem; justify-content: start; }
.subsvc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; transition: transform .3s var(--ease), box-shadow .3s; }
.subsvc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.subsvc-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.subsvc-card p { font-size: .94rem; color: var(--muted); margin-bottom: 1rem; }

/* ----- service page: content + sticky sidebar ----- */
.svc-body { padding-block: clamp(48px, 6vw, 96px); }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 4vw, 3.8rem); align-items: start; }
.svc-main { min-width: 0; }
.svc-block + .svc-block { margin-top: clamp(2.4rem, 4vw, 3.4rem); }
.svc-block h2 { color: var(--green-900); }
.svc-block > h2:first-child { margin-bottom: 1rem; }
.svc-block p, .svc-block ul, .svc-block ol { color: var(--muted); font-size: 1.06rem; max-width: none; }
.svc-block p { margin-top: 1rem; }
.svc-block ul, .svc-block ol { margin-top: 1rem; padding-left: 1.2rem; }
.svc-block li { margin-top: .5rem; }
.svc-block__cta { margin-top: 1.8rem; }
.svc-block h3 { color: var(--green-800); margin-top: 1.6rem; }
.svc-figure { margin: 1.8rem 0 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.svc-figure img { width: 100%; height: auto; display: block; }
.svc-block .process-steps, .svc-block .feature-grid { margin-top: 1.8rem; }
.svc-block .faq-list { margin-top: 1.4rem; }

/* checklist — candidacy / aftercare lists rendered with green ticks so
   scannable criteria don't read as a wall of prose */
.checklist { list-style: none; padding: 0; margin-top: 1.2rem; display: grid; gap: .85rem; }
.checklist li { position: relative; padding-left: 2.4rem; color: var(--ink); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--green); }
.checklist li::after { content: ""; position: absolute; left: .47rem; top: .46rem; width: .52rem; height: .28rem; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }

/* comparison cards — for "X vs Y" sections so trade-offs sit side by side */
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem; margin-top: 1.6rem; }
.compare-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-xs); }
.compare-card h3 { color: var(--green-900); font-size: 1.08rem; margin: 0 0 .5rem; }
.compare-card p { color: var(--muted); font-size: .95rem; margin: 0; }
/* right rail */
.svc-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1.4rem; }
.svc-aside__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 1/1; margin: 0; }
.svc-aside__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.svc-aside__cta { background: var(--mint); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; }
.svc-aside__cta h3 { font-size: 1.2rem; color: var(--green-900); margin-bottom: .5rem; }
.svc-aside__cta p { font-size: .95rem; color: var(--muted); margin-bottom: 1.1rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.svc-aside__cta .btn--block + .btn--block { margin-top: .7rem; }
.svc-aside__nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-xs); }
.svc-aside__nav h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-800); margin-bottom: .7rem; }
.svc-nav { list-style: none; padding: 0; margin: 0; }
.svc-nav li + li { border-top: 1px solid var(--line); }
.svc-nav__link { display: block; padding: .62rem 0; color: var(--ink); font-weight: 600; font-size: .98rem; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.svc-nav__link:hover { color: var(--green); padding-left: .3rem; }
.svc-nav__link.is-current { color: var(--green); }
.svc-nav__link.is-current::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: .55rem; vertical-align: middle; }
@media (max-width: 980px) {
  .svc-layout { grid-template-columns: 1fr; gap: 2.6rem; }
  .svc-aside { position: static; }
}

/* ----- breathe banner ----- */
.breathe { background: #fff; text-align: center; }
.breathe__inner { position: relative; max-width: 920px; margin-inline: auto; background: linear-gradient(150deg, var(--mint-2), #fff 72%); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: clamp(3rem, 6vw, 5rem) clamp(1.6rem, 5vw, 4rem); overflow: hidden; }
.breathe__inner::before { content: "\201C"; position: absolute; top: clamp(.2rem, 2vw, 1.4rem); left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-size: clamp(7rem, 14vw, 11rem); line-height: 1; color: var(--green); opacity: .1; pointer-events: none; }
.breathe__inner h2 { position: relative; font-size: clamp(2rem, 4.6vw, 3.4rem); margin-bottom: 1.1rem; color: var(--green-900); }
.breathe__inner h2::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 3px; background: var(--green); margin: 1.2rem auto 0; }
.breathe__inner p { position: relative; font-size: clamp(1.12rem, 1.9vw, 1.4rem); color: var(--muted); max-width: 60ch; margin-inline: auto; }

/* ----- office tour gallery ----- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ----- intro feature (welcome text + team photo) ----- */
.intro-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.intro-feature__media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 1/1; }
.intro-feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .9s var(--ease); }
.intro-feature__media:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .intro-feature { grid-template-columns: 1fr; } }

/* ----- team feature (group photo + intro) ----- */
.team-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.team-feature__media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.team-feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .9s var(--ease); }
.team-feature__media:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .team-feature { grid-template-columns: 1fr; } }

/* ----- team ----- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 230px)); gap: 1.8rem; justify-content: center; max-width: 620px; margin-inline: auto; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; text-align: center; box-shadow: var(--shadow-xs); transition: transform .35s var(--ease), box-shadow .35s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-photo { width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.2rem; background: var(--mint); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .8s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-monogram { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--green-800); background: linear-gradient(135deg, var(--tint), var(--teal)); }
.team-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--green-900); }
.team-role { color: var(--green); font-weight: 600; font-size: .85rem; }

/* ----- FAQ ----- */
.faq-list { max-width: 840px; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq[open] { box-shadow: var(--shadow-sm); border-color: var(--tint); }
.faq summary { padding: 1.3rem 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--green-900); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--green); transition: transform .3s var(--ease); flex: none; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 1.5rem 1.4rem; }
.faq__body p { color: var(--muted); }

/* ----- reviews band (soft, airy — not heavy dark) ----- */
.section--quote { position: relative; overflow: hidden; background: var(--mint); }
.section--quote .eyebrow { color: var(--green); }
.section--quote .sec-head { margin-inline: auto; text-align: center; max-width: 760px; }
.section--quote .sec-head .eyebrow { justify-content: center; }
.section--quote .sec-head p { color: var(--muted); margin-inline: auto; }
.review-widget-card { max-width: 1060px; margin: 2.6rem auto 0; }
.reviews-frame, .lc_reviews_widget { width: 100%; min-height: 440px; border: 0; border-radius: var(--radius); }
.review-cta { text-align: center; margin-top: 2.2rem; }

/* ----- contact ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.2rem); }
.map-embed { width: 100%; height: 360px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contact-photo { margin: 1.4rem 0 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ff-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.ff-form__head h3 { margin-bottom: .3rem; }
.ff-form__head p { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.ff-row { margin-bottom: 1.1rem; }
.ff-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ff-form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; }
.ff-form input, .ff-form textarea, .ff-form select { width: 100%; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: var(--mint); transition: border-color .2s, background .2s, box-shadow .2s; }
.ff-form input:focus, .ff-form textarea:focus, .ff-form select:focus { background: #fff; border-color: var(--green); outline: none; box-shadow: 0 0 0 4px rgba(61,169,137,.12); }
.ff-actions { margin-top: 1.4rem; }
.ff-fineprint { font-size: .8rem; color: var(--muted); margin-top: 1rem; }
.ff-hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ff-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: 12px; font-size: .92rem; background: var(--mint); border: 1.5px solid var(--green); color: var(--ink, #14342b); }
.ff-status--error { background: #fdf0ee; border-color: #e0603f; color: #8a2a17; }

/* ----- CTA band ----- */
.cta-band { padding-block: clamp(44px, 6vw, 88px); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2.6rem, 5vw, 4.4rem); border-radius: var(--radius-xl); flex-wrap: wrap; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--green), var(--green-700)); box-shadow: var(--shadow-green); }
.cta-band-inner::before { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.cta-band-inner > div:first-child { max-width: 60ch; position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ebf9f2; margin-top: .8rem; }
.cta-band .btn { position: relative; z-index: 2; }

/* ----- associations ----- */
.assoc-strip { padding-block: clamp(44px, 5vw, 68px); border-top: 1px solid var(--line); background: #fff; }
.assoc-h { text-align: center; font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; }
.assoc-strip__grid, .assoc-list { display: flex; align-items: center; justify-content: center; gap: clamp(1.6rem, 5vw, 3.6rem); flex-wrap: wrap; list-style: none; padding: 0; }
.assoc-card { display: inline-grid; place-items: center; }
.assoc-card img, .assoc-card__logo { object-fit: contain; filter: grayscale(35%); opacity: .8; transition: filter .3s, opacity .3s, transform .3s; }
.assoc-card:hover img { filter: none; opacity: 1; transform: scale(1.05); }
.assoc-strip__grid { gap: clamp(1.4rem, 3.5vw, 2.8rem); }
.assoc-card--invisalign img, .assoc-card--rcdso img, .assoc-card--oda img, .assoc-card--aboi img, .assoc-card--muskoka img, .assoc-card--cda img { max-height: 84px; max-width: 150px; }

/* ----- footer ----- */
.site-footer { background: var(--green-900); color: #a9ccc0; padding-block: clamp(60px, 7vw, 100px) 2rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(61,169,137,.13), transparent 70%); top: -320px; right: -220px; }
.site-footer h3, .footer-col__title { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 0 0 1.2rem; }
.footer-hours-h { margin-top: 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 2.8rem; position: relative; z-index: 2; }
.footer-brand .brand-logo--footer { height: 60px; }
.footer-tagline { margin: 1.2rem 0 1.4rem; color: #8fbcae; }
.footer-col ul, .footer-contact ul, .footer-visit ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.footer-col a, .footer-contact a { color: #c4e3d8; font-size: .95rem; transition: color .2s, padding-left .2s; }
.footer-col a:hover, .footer-contact a:hover { color: #fff; padding-left: 4px; }
.hours { list-style: none; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; padding: .32rem 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.hours .time { font-variant-numeric: tabular-nums; }
.hours .day { color: #8fbcae; }
.hours .time { color: #fff; font-weight: 600; }
.social { display: flex; gap: .7rem; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .3s, transform .3s; }
.social a:hover { background: var(--green); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8fbcae; position: relative; z-index: 2; }
.footer-bottom-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer-bottom-links a { color: #8fbcae; }
.footer-bottom-links a:hover { color: #fff; }
.footer-assoc ul { list-style: none; padding: 0; display: flex; gap: 1rem; flex-wrap: wrap; }

.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--green-800); }

/* ----- responsive ----- */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  /* The header's backdrop-filter would make it a containing block for the
     position:fixed mobile nav panel, trapping/clipping it inside the ~88px
     header. Disable it on mobile so the panel anchors to the viewport. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* Toggle via display, NOT transform: a transformed fixed panel is a composited
     layer, and Android Chrome often fails to repaint content revealed inside it
     (dropdown links show no text / leave an empty gap). display:none/flex avoids
     the composited layer entirely. */
  .main-nav { display: none; position: fixed; inset: 0 0 0 auto; width: min(380px, 90vw); flex-direction: column; align-items: stretch; background: #fff; padding: 6rem 1.5rem 2rem; gap: .1rem; box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain; z-index: 1500; }
  .main-nav.open { display: flex; }
  /* Dim the page behind the slide-in drawer (created by main.js on open) so the
     drawer reads as an overlay, not a panel floating over a live page. */
  .nav-scrim { position: fixed; inset: 0; background: rgba(8, 30, 25, .5); z-index: 1400; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
  .nav-scrim.show { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  .main-nav > a, .services-toggle { padding: .95rem .4rem; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-size: 1.05rem; }
  .has-dropdown { width: 100%; }
  /* Mobile menu is ALWAYS fully expanded — no tap-to-reveal. Revealing content
     dynamically inside this fixed/scrolling panel triggers an Android Chrome
     repaint bug (rows reserve space but paint no text until you scroll). Showing
     everything up front sidesteps it entirely; the panel just scrolls. */
  .services-toggle { font-weight: 700; color: var(--green-900); pointer-events: none; }
  .services-toggle .chev, .dropdown-item--parent .chev, .submenu-overview { display: none; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; min-width: 0; padding: .2rem 0 .6rem .6rem; display: block; backdrop-filter: none; background: none; }
  .dropdown-item { font-weight: 500; padding: .7rem .4rem; }
  .submenu { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; border: 0; padding: 0 0 .2rem .9rem; min-width: 0; backdrop-filter: none; background: none; display: block; }
  .submenu a { padding: .6rem .4rem; font-size: .95rem; }
  .hero__grid, .two-col, .contact-grid, .cta-band-inner { grid-template-columns: 1fr; }
  .tiles__grid { grid-template-columns: 1fr; }
  .two-col--reverse > .two-col-media { order: 0; }
  .hero__visual { max-width: 480px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .svc-grid, .footer-grid, .ff-row--split, .stats__grid { grid-template-columns: 1fr; }
  .topbar-info .tb-hide-sm { display: none; }
  .hero__chip--reviews { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== supporting pages (team, about, blog, contact, transformations) ===== */

/* breadcrumbs */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.crumbs [aria-current="page"] { color: var(--green-900); font-weight: 600; }

/* before/after gallery */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.ba-card { margin: 0; }
.ba-card__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/5; background: var(--mint); }
.ba-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ba-card:hover .ba-card__img img { transform: scale(1.05); }
.ba-card figcaption { margin-top: .7rem; font-size: .9rem; color: var(--muted); text-align: center; }
@media (max-width: 800px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ba-grid { grid-template-columns: 1fr; } }

/* contact info card */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.contact-card h3 { color: var(--green-900); margin-bottom: 1.4rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--line); }
.info-row:first-of-type { border-top: 0; padding-top: 0; }
.info-row .ico { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-pill); background: var(--mint); color: var(--green); }
.info-row .ico svg { width: 20px; height: 20px; }
.info-row b { display: block; color: var(--green-900); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .2rem; }
.info-row a { color: var(--ink); text-decoration: none; }
.info-row a:hover { color: var(--green); }
.info-row .hours { font-size: .95rem; color: var(--muted); }
.info-row .hours li { display: flex; justify-content: space-between; gap: 1.2rem; padding: .2rem 0; }
.info-row .hours li.closed { color: var(--muted); opacity: .7; }

/* blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2rem); }
.post-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); overflow: hidden; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__body { padding: clamp(1.5rem, 2.5vw, 2rem); }
.post-card__body h3 { color: var(--green-900); font-size: 1.2rem; margin: .3rem 0 .6rem; }
.post-card__body p { color: var(--muted); font-size: .96rem; margin: 0 0 1rem; }
.post-card__link { color: var(--green); font-weight: 600; font-size: .95rem; }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

/* article (blog post / legal copy) */
.article-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 72px); }
.article-hero .container { max-width: 820px; }
.article-hero h1 { margin: .4rem 0 1rem; }
.article-hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.article-hero__img { margin: 2rem auto 0; max-width: 460px; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 1/1; }
.article-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* blog byline / E-E-A-T meta line (author · reviewer · date) */
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin: 1.1rem 0 0; font-size: .92rem; color: var(--muted); }
.article-byline .by-author { font-weight: 600; color: var(--green-900); }
.article-byline .by-sep { color: var(--line); }
.article-byline time { color: var(--muted); }
.post-card__meta { display: block; margin-top: .5rem; font-size: .82rem; color: var(--muted); }

/* emergency page — phone-first triage band (above the educational content) */
.triage { background: var(--warning, #e85a4b); color: #fff; }
.triage .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem; padding-block: 1.1rem; }
.triage__msg { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin: 0; display: flex; align-items: center; gap: .6rem; }
.triage__call { display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: var(--warning, #e85a4b); font-weight: 800; font-size: 1.1rem; padding: .7rem 1.5rem; border-radius: var(--radius-pill); white-space: nowrap; box-shadow: var(--shadow-sm); }
.triage__call:hover { transform: translateY(-1px); }
.hero__call--lg { display: inline-flex; align-items: center; gap: .55rem; font-size: 1.15rem; font-weight: 800; }

/* blog card thumbnail (square) */
.post-card__media { aspect-ratio: 1/1; overflow: hidden; background: var(--mint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }

/* meet-the-team — one member per row (photo + bio side by side) */
.team-rows { display: flex; flex-direction: column; gap: clamp(1.4rem, 3vw, 2.2rem); }
.team-row { display: grid; grid-template-columns: 190px 1fr; gap: clamp(1.5rem, 4vw, 2.6rem); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow-xs); }
.team-row__photo { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--mint); }
.team-row__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-row__text .team-name { font-size: 1.25rem; margin: 0; }
.team-row__text .team-role { color: var(--green); font-weight: 600; margin: .2rem 0 .8rem; }
.team-row__text p { color: var(--muted); margin: 0 0 .7rem; }
.team-row__text p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .team-row { grid-template-columns: 1fr; text-align: center; } .team-row__photo { width: 170px; margin-inline: auto; } .team-row__text .team-role { margin-inline: auto; } }
.article-body { font-size: 1.05rem; line-height: 1.8; color: var(--ink); }
.article-body h2 { color: var(--green-900); margin: 2.2rem 0 .9rem; font-size: 1.5rem; }
.article-body h3 { color: var(--green-900); margin: 1.8rem 0 .7rem; font-size: 1.2rem; }
.article-body p { margin: 0 0 1.1rem; color: var(--muted); }
.article-body ul, .article-body ol { margin: 0 0 1.1rem 1.2rem; color: var(--muted); }
.article-body li { margin-bottom: .5rem; }
