@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400 800;font-display:swap;src:url('/fonts/pjs-latin.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/inter-latin.woff2') format('woff2')}

/* ============ NuBite Denture Clinic — design system ============ */
:root{
  --blue:#1E88E5;        /* friendly primary (logo "Nu") */
  --blue-d:#15529E;      /* deep navy (card footer) */
  --blue-dd:#0F3E78;     /* darker navy */
  --ink:#2B2F36;         /* charcoal (logo "Bite") — headings/body */
  --ink-soft:#4A515B;    /* softer body text */
  --muted:#6B7480;       /* captions */
  --cream:#FBF8F3;       /* warm section bg */
  --sky:#EAF3FC;         /* light-blue section bg */
  --sky-2:#DCEBFA;
  --line:#E7E1D8;        /* warm hairline */
  --line-c:#E3EAF2;      /* cool hairline */
  --white:#ffffff;
  --ok:#1FA971;          /* trust green */
  --shadow:0 10px 30px -12px rgba(21,82,158,.20);
  --shadow-lg:0 26px 60px -22px rgba(15,62,120,.35);
  --radius:18px; --radius-lg:26px; --radius-sm:12px;
  --wrap:1180px;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --serif:'Plus Jakarta Sans',system-ui,'Segoe UI',Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--sans);
  font-size:18.5px;                 /* large base for seniors */
  line-height:1.72;
  color:var(--ink-soft);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto}
a{color:var(--blue-d);text-decoration:none}
h1,h2,h3,h4{font-family:var(--serif);color:var(--ink);line-height:1.15;font-weight:700;letter-spacing:-.02em}
h1{font-size:clamp(2.35rem,5.4vw,3.9rem)}
h2{font-size:clamp(1.9rem,4vw,2.85rem)}
h3{font-size:clamp(1.3rem,2.4vw,1.72rem)}
p{margin:0 0 1.05rem}
strong{color:var(--ink);font-weight:600}
/* never dark text on dark backgrounds */
.pro strong,.cta strong,.vhero strong,.strip strong,.bg-ink strong,.info-card strong,footer.site strong,.pro .plist strong{color:#fff}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
section{padding:clamp(64px,8vw,110px) 0}
.eyebrow{display:inline-flex;align-items:center;gap:.5em;font-family:var(--sans);font-weight:700;
  font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;color:var(--blue-d)}
.eyebrow::before{content:"";width:26px;height:2px;background:var(--blue);border-radius:2px}
.lede{font-size:1.16rem;color:var(--ink-soft);max-width:60ch}
.center{text-align:center}.center .lede{margin-inline:auto}
.sec-head{max-width:64ch;margin-bottom:2.8rem}
.center.sec-head{margin-inline:auto}

/* skip link + a11y */
.skip{position:absolute;left:-999px;top:8px;background:var(--blue-d);color:#fff;padding:10px 16px;border-radius:8px;z-index:200}
.skip:focus{left:12px}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:6px}

/* ---------- scroll reveal (subtle, section-wise) ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s cubic-bezier(.22,.61,.36,1)}
.reveal.in{opacity:1;transform:none}
/* small stagger for grids of cards */
.reveal.d1{transition-delay:.08s}
.reveal.d2{transition-delay:.16s}
.reveal.d3{transition-delay:.24s}
/* never hide content if JS is off or motion is reduced */
.no-js .reveal{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){ .reveal{opacity:1;transform:none;transition:none} }

/* ---------- intro preloader (logo zoom, once per session) ---------- */
.preloader{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;
  background:#fff;animation:pl-out .6s ease 1.5s forwards}
.preloader img{width:min(190px,52vw);height:auto;
  animation:pl-zoom 1.7s cubic-bezier(.22,.61,.36,1) forwards;opacity:0}
@keyframes pl-zoom{
  0%{opacity:0;transform:scale(.72)}
  22%{opacity:1}
  70%{opacity:1;transform:scale(1)}
  100%{opacity:1;transform:scale(1.04)}
}
@keyframes pl-out{to{opacity:0;visibility:hidden}}
/* skip entirely if already seen this session, or reduced-motion */
.no-preload .preloader{display:none}
@media(prefers-reduced-motion:reduce){ .preloader{display:none} }

/* ---------- buttons (big touch targets) ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  font-family:var(--sans);font-weight:700;font-size:.98rem;line-height:1;
  padding:.85em 1.6em;min-height:48px;border-radius:999px;border:2px solid transparent;
  cursor:pointer;transition:.18s ease;text-align:center}
.btn-primary{background:var(--blue-d);color:#fff;box-shadow:0 12px 26px -12px rgba(21,82,158,.7)}
.btn-primary:hover{background:var(--blue-dd);transform:translateY(-2px)}
.btn-accent{background:var(--blue);color:#fff}
.btn-accent:hover{background:var(--blue-d);transform:translateY(-2px)}
.btn-ghost{background:#fff;color:var(--blue-d);border-color:var(--sky-2)}
.btn-ghost:hover{border-color:var(--blue);background:var(--sky)}
.btn-white{background:#fff;color:var(--blue-d)}
.btn-white:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.btn-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.btn-outline:hover{background:rgba(255,255,255,.14);border-color:#fff;transform:translateY(-2px)}
.btn-lg{font-size:1.04rem;padding:.95em 1.8em;min-height:52px}
.btn svg{width:18px;height:18px}
/* icons inherit the button's text colour so they're never invisible */
.btn-primary svg,.btn-accent svg,.btn-outline svg{fill:#fff}
.btn-white svg,.btn-ghost svg{fill:var(--blue-d)}
/* global safety net: any icon on a blue/dark section renders white */
.strip svg,.card-cta svg,.info-card svg,.vhero svg,.bg-ink svg{fill:#fff}
.pro svg{fill:#7cc0ff}

/* ---------- header ---------- */
.topbar{background:var(--blue-dd);color:#cfe0f5;font-size:.92rem;font-weight:500}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:8px 26px;justify-content:center;padding:9px 24px}
.topbar a{color:#fff;font-weight:600}
.topbar span{display:inline-flex;align-items:center;gap:.5em}
.topbar svg{width:16px;height:16px;opacity:1;fill:#fff}
.topbar a svg{fill:#fff}

header.nav{position:sticky;top:0;z-index:100;background:#fff;
  border-bottom:1px solid var(--line-c);transition:box-shadow .2s}
header.nav.scrolled{box-shadow:0 8px 24px -16px rgba(15,62,120,.4)}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 24px;max-width:var(--wrap);margin:0 auto}
.brand{display:flex;align-items:center;flex:none}
.brand img{height:104px;width:auto;display:block}
@media(max-width:1024px){.brand img{height:88px}}
@media(max-width:640px){.brand img{height:66px}.nav-in{padding:4px 16px}}
.menu{display:flex;align-items:center;gap:2px;list-style:none}
.menu a{display:block;padding:.55em .7em;border-radius:10px;color:var(--ink);font-weight:600;font-size:.92rem;letter-spacing:.005em;transition:.15s}
.menu a:hover,.menu a[aria-current]{background:var(--sky);color:var(--blue-d)}
.menu a svg{width:14px;height:14px;fill:currentColor;vertical-align:middle;opacity:.7}
/* desktop services dropdown */
.has-sub{position:relative}
.has-sub .submenu{position:absolute;top:100%;left:0;min-width:270px;background:#fff;list-style:none;
  border:1px solid var(--line-c);border-radius:14px;box-shadow:0 18px 40px -18px rgba(15,62,120,.35);
  padding:8px;display:grid;gap:2px;opacity:0;visibility:hidden;transform:translateY(8px);
  transition:.16s ease;z-index:120}
.has-sub:hover .submenu,.has-sub:focus-within .submenu{opacity:1;visibility:visible;transform:translateY(4px)}
.submenu a{display:flex;align-items:center;gap:.6em;padding:.7em .85em;font-size:.98rem;white-space:nowrap}
.submenu a svg{width:20px;height:20px;fill:var(--blue-d);opacity:1}
.nav-cta{display:flex;align-items:center;gap:10px;flex:none}
.callpill{display:inline-flex;align-items:center;gap:.55em;font-weight:800;color:var(--blue-d);font-size:1.05rem;padding:.5em .5em}
.callpill svg{width:22px;height:22px;fill:var(--blue)}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:12px}
.burger span{width:26px;height:3px;background:var(--ink);border-radius:3px;transition:.25s}
.burger.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* mobile drawer */
.drawer{position:fixed;inset:0 0 0 auto;width:min(360px,86vw);background:#fff;z-index:130;
  transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);padding:24px;
  box-shadow:-20px 0 50px -20px rgba(0,0,0,.3);display:flex;flex-direction:column;gap:6px;overflow-y:auto}
.drawer.open{transform:translateX(0)}
.drawer a{padding:.95em 1em;border-radius:12px;font-weight:700;font-size:1.18rem;color:var(--ink)}
.drawer a:hover{background:var(--sky);color:var(--blue-d)}
.drawer .btn{margin-top:8px}
/* buttons inside the drawer keep their own button colours (not the drawer link colour) */
.drawer a.btn-primary,.drawer a.btn-primary:hover{color:#fff;background:var(--blue-d)}
.drawer a.btn-ghost,.drawer a.btn-ghost:hover{color:var(--blue-d);background:#fff}
.drawer a.btn svg{fill:currentColor}
/* drawer services group */
.ddrop summary{list-style:none;cursor:pointer;padding:.95em 1em;border-radius:12px;font-weight:700;
  font-size:1.18rem;color:var(--ink);display:flex;justify-content:space-between;align-items:center}
.ddrop summary::-webkit-details-marker{display:none}
.ddrop summary::after{content:"+";font-weight:700;color:var(--blue)}
.ddrop[open] summary::after{content:"–"}
.ddrop .dsub,.ddrop a{font-size:1.02rem;padding:.7em 1em .7em 1.6em;color:var(--ink-soft)}
.ddrop a{font-weight:600}
.drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.drawer-head img{height:44px}
.x{background:none;border:0;font-size:2rem;line-height:1;cursor:pointer;color:var(--muted);padding:4px 10px}
.scrim{position:fixed;inset:0;background:rgba(15,30,55,.5);z-index:120;opacity:0;visibility:hidden;transition:.3s}
.scrim.open{opacity:1;visibility:visible}

/* ---------- hero ---------- */
.hero{position:relative;background:
  radial-gradient(1100px 520px at 82% -8%,rgba(30,136,229,.16),transparent 60%),
  linear-gradient(180deg,#fff 0%,var(--cream) 100%);overflow:hidden}
.hero::after{content:"";position:absolute;right:-160px;bottom:-160px;width:520px;height:520px;
  background:radial-gradient(circle,rgba(21,82,158,.08),transparent 68%);border-radius:50%}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;
  padding:clamp(48px,7vw,92px) 0}
.hero h1{margin-bottom:1rem}
.hero h1 .hl{color:var(--blue-d)}
.hero .lede{font-size:1.22rem;margin-bottom:1.9rem}
.hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:1.7rem}
.hero-trust{display:flex;flex-wrap:wrap;gap:10px 22px;font-weight:600;color:var(--ink)}
.hero-trust span{display:inline-flex;align-items:center;gap:.5em;font-size:1rem}
.hero-trust svg{width:22px;height:22px;fill:var(--ok);flex:none}
/* hero visual: framed photo placeholder + floating trust card */
.hero-art{position:relative}
.photo-frame{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);
  aspect-ratio:4/5;background:linear-gradient(150deg,var(--sky) 0%,#fff 55%,var(--sky-2) 100%);
  border:1px solid #fff;display:grid;place-items:center;text-align:center}
.photo-frame .ph{color:var(--blue-d);opacity:.55;padding:24px}
.photo-frame .ph svg{width:66px;height:66px;margin:0 auto .6rem;fill:var(--blue)}
.photo-frame .ph b{font-family:var(--serif);font-size:1.15rem;display:block}
.photo-frame .ph small{font-family:var(--sans);font-weight:600;opacity:.85}
/* refined branded panel (stands in for a real photo, reads as intentional) */
.brand-panel{position:relative;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:5/4;
  border:1px solid var(--sky-2);box-shadow:var(--shadow-lg);
  background:
    radial-gradient(140% 100% at 15% 12%,rgba(30,136,229,.10),transparent 55%),
    linear-gradient(150deg,var(--blue-d) 0%,var(--blue) 48%,#3fa0ef 100%)}
.brand-panel::after{content:"";position:absolute;right:-14%;bottom:-22%;width:60%;padding-bottom:60%;
  border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.12),transparent 70%)}
.brand-panel .bp-inner{position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:16px;text-align:center;padding:26px;z-index:1}
.brand-panel .bp-logo{width:min(60%,220px);height:auto;
  background:#fff;padding:16px 20px;border-radius:16px;box-shadow:0 18px 40px -18px rgba(0,0,0,.4)}
.brand-panel .bp-label{font-family:var(--serif);font-weight:600;font-size:1.08rem;color:#fff;
  letter-spacing:.01em;text-shadow:0 1px 10px rgba(0,0,0,.18)}
.float-card{position:absolute;left:-26px;bottom:26px;background:#fff;border-radius:var(--radius);
  box-shadow:var(--shadow-lg);padding:16px 20px;display:flex;align-items:center;gap:14px;max-width:270px;border:1px solid var(--line-c)}
.float-card .ic{width:46px;height:46px;border-radius:12px;background:var(--sky);display:grid;place-items:center;flex:none}
.float-card .ic svg{width:24px;height:24px;fill:var(--blue-d)}
.float-card b{font-family:var(--serif);color:var(--ink);display:block;font-size:1.05rem}
.float-card small{color:var(--muted);font-weight:600}

/* ---------- trust strip ---------- */
.strip{background:var(--blue-dd);color:#eaf2fd}
.strip .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:26px 24px;text-align:center}
.strip .n{font-family:var(--serif);font-size:2.1rem;color:#fff;line-height:1}
.strip .l{font-weight:600;font-size:.98rem;opacity:.9;margin-top:.25rem}
.strip .item{padding:8px 6px}
/* hours line is longer than the other labels — size it down so it doesn't wrap awkwardly */
.strip .item:nth-child(2) .l,.strip .item:nth-child(3) .l{font-size:.84rem;line-height:1.35}
@media(max-width:760px){.strip .item:nth-child(2) .l,.strip .item:nth-child(3) .l{font-size:.82rem}}
.strip .item+.item{border-left:1px solid rgba(255,255,255,.16)}

/* ---------- cards / grid ---------- */
.grid{display:grid;gap:24px}
.g3{grid-template-columns:repeat(3,1fr)}
.g2{grid-template-columns:repeat(2,1fr)}
.card{background:#fff;border:1px solid var(--line-c);border-radius:var(--radius);padding:30px 28px;
  box-shadow:0 4px 14px -10px rgba(15,62,120,.3);transition:.2s}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--sky-2)}
.card .ic{width:58px;height:58px;border-radius:15px;background:var(--sky);display:grid;place-items:center;margin-bottom:18px}
.card .ic svg{width:30px;height:30px;fill:var(--blue-d)}
.card .ic-brand{background:#fff;border:1px solid var(--sky-2)}
.card .ic-brand{overflow:visible}
.card .ic-brand .cicon{width:54px;height:54px;object-fit:contain;display:block;max-width:none}
.card h3{margin-bottom:.5rem}
.card p{margin-bottom:0;color:var(--ink-soft)}
/* keep service-card blurbs to a tidy couple of lines; full detail is on the page */
.card-link p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .more{display:inline-flex;align-items:center;gap:.4em;font-weight:700;color:var(--blue-d);margin-top:1rem}
.card .more svg{width:18px;height:18px;fill:currentColor;transition:.15s}
.card:hover .more svg{transform:translateX(4px)}
/* clickable service tile */
a.card-link{display:block;text-decoration:none;color:inherit}
a.card-link h3{color:var(--ink)}
a.card-link:hover h3{color:var(--blue-d)}
/* blog post cards */
.post-card{display:flex;flex-direction:column}
.post-date{display:inline-block;font-size:.85rem;font-weight:700;color:var(--blue);
  text-transform:uppercase;letter-spacing:.04em;margin-bottom:.5rem}
.post-card .more{margin-top:auto}
/* explore-more chips row */
.chips{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:1.6rem}
.chip{display:inline-flex;align-items:center;gap:.5em;background:#fff;border:1px solid var(--line-c);
  border-radius:999px;padding:.6em 1.1em;font-weight:600;color:var(--blue-d);transition:.16s;text-decoration:none}
.chip:hover{border-color:var(--blue);background:var(--sky);transform:translateY(-2px)}
.chip svg{width:20px;height:20px;fill:var(--blue-d)}
.who{background:var(--sky);border-radius:12px;padding:14px 18px;margin-top:1.2rem;color:var(--ink-soft)}

/* section bg helpers */
.bg-cream{background:var(--cream)}
.bg-sky{background:var(--sky)}
.bg-ink{background:var(--ink);color:#d5dbe4}
.bg-ink h2,.bg-ink h3{color:#fff}

/* ---------- split (image + text) ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.split.rev .split-txt{order:2}
.split-art .photo-frame{aspect-ratio:5/4}
.split-photo{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;
  border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);display:block}
.checklist{list-style:none;display:grid;gap:12px;margin:1.4rem 0}
.checklist li{display:flex;gap:12px;align-items:flex-start;font-weight:500;color:var(--ink-soft)}
.checklist svg{width:26px;height:26px;fill:var(--ok);flex:none;margin-top:1px}
.split.split-top{align-items:start}

/* ---------- service detail ---------- */
.svc-photo{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);border:1px solid #fff;aspect-ratio:3/2}
.svc-photo img{width:100%;height:100%;object-fit:cover;display:block}
.steps{display:grid;gap:16px}
.step{position:relative;background:#fff;border:1px solid var(--line-c);border-radius:var(--radius);
  padding:18px 20px 18px 66px;box-shadow:0 4px 14px -10px rgba(15,62,120,.3)}
.step-n{position:absolute;left:18px;top:18px;width:34px;height:34px;border-radius:50%;
  background:var(--blue-d);color:#fff;font-weight:800;display:grid;place-items:center;font-size:1.05rem}
.step h3{font-size:1.12rem;margin-bottom:.25rem}
.step p{margin:0;color:var(--ink-soft);font-size:1rem}
.reassure{max-width:760px;margin:0 auto;text-align:center;background:var(--sky);
  border-radius:var(--radius-lg);padding:44px 34px;border:1px solid var(--sky-2)}
.reassure .lmark-sm{margin-bottom:14px}
.reassure .rlogo{width:56px;height:56px}
.reassure p{font-family:var(--serif);font-size:1.35rem;color:var(--ink);line-height:1.45;margin-bottom:1.4rem}
.chip .chipi{width:22px;height:22px;object-fit:contain}

/* ---------- team ---------- */
.team{display:grid;grid-template-columns:repeat(2,1fr);gap:26px;max-width:720px;margin:0 auto}
.member{background:#fff;border:1px solid var(--line-c);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
/* both photos share one fixed ratio so the cards are the same height */
.member .pic{aspect-ratio:4/5;background:linear-gradient(150deg,var(--sky),#fff);display:grid;place-items:center;color:var(--blue-d);opacity:.9;overflow:hidden}
.member .pic svg{width:60px;height:60px;fill:var(--blue);opacity:.5}
.member .pic img{width:100%;height:100%;object-fit:cover;object-position:center 12%;opacity:1}
.member.has-photo .pic{background:#f4f7fb}
.member .body{padding:26px 28px}
.member h3{margin-bottom:.15rem}
.member .role{color:var(--blue-d);font-weight:700;margin-bottom:.7rem}
.member p{margin-bottom:0;font-size:1rem}

/* About-page alternating denturist bios: photo one side, text the other */
.bios{display:grid;gap:36px;max-width:960px;margin:0 auto}
.bio{display:grid;grid-template-columns:320px 1fr;gap:40px;align-items:center;
  background:#fff;border:1px solid var(--line-c);border-radius:var(--radius-lg);
  box-shadow:var(--shadow);overflow:hidden}
.bio-photo{align-self:stretch;background:#f4f7fb;min-height:100%}
.bio-photo img{width:100%;height:100%;object-fit:cover;object-position:center 20%;display:block;min-height:360px}
.bio-text{padding:32px 34px 32px 0}
.bio-text h3{margin-bottom:.15rem}
.bio-text .role{color:var(--blue-d);font-weight:700;margin-bottom:1rem}
.bio-text p{color:var(--ink-soft);font-size:1rem}
.bio-text p+p{margin-top:.9rem}
/* reversed: photo on the right, text on the left */
.bio-rev{grid-template-columns:1fr 320px}
.bio-rev .bio-photo{order:2}
.bio-rev .bio-text{order:1;padding:32px 0 32px 34px}
@media(max-width:720px){
  .bio,.bio-rev{grid-template-columns:1fr}
  .bio-rev .bio-photo{order:0}
  .bio-rev .bio-text{order:0;padding:0 26px 30px}
  .bio-text{padding:0 26px 30px}
  .bio-photo img{min-height:320px;max-height:420px}
}

/* ---------- testimonials slider ---------- */
.tsection{background:var(--cream)}
.tslider{overflow:hidden}
.ttrack{display:flex;gap:24px;transition:transform .5s cubic-bezier(.22,.61,.36,1);will-change:transform}
.tcard{flex:0 0 calc((100% - 48px)/3);background:#fff;border:1px solid var(--line-c);
  border-radius:var(--radius-lg);box-shadow:var(--shadow);padding:30px 28px;margin:0;
  display:flex;flex-direction:column;gap:14px}
.tstars{color:#f5b301;font-size:1.05rem;letter-spacing:2px}
.tcard blockquote{margin:0;font-size:1.05rem;line-height:1.6;color:var(--ink);flex:1}
.tcard figcaption{display:flex;flex-direction:column;border-top:1px solid var(--line);padding-top:14px}
.tname{font-weight:700;color:var(--ink)}
.tcity{font-size:.9rem;color:var(--muted)}
.tdots{display:flex;justify-content:center;gap:10px;margin-top:26px}
.tdots button{width:10px;height:10px;border-radius:50%;border:0;background:var(--sky-2);cursor:pointer;padding:0;transition:.2s}
.tdots button.on{background:var(--blue);transform:scale(1.25)}
@media(max-width:900px){ .tcard{flex-basis:calc((100% - 24px)/2)} }
@media(max-width:600px){ .tcard{flex-basis:100%} }

/* ---------- partners / memberships ---------- */
.partners{background:#fff}
.plogos{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:clamp(32px,6vw,72px)}
.plogo{display:flex;align-items:center;justify-content:center}
.plogo img{width:auto;max-width:260px;height:auto;transition:.25s ease}
.plogo:hover img{transform:translateY(-2px)}
/* balance the differing logo shapes by capping heights (crest taller, wordmarks shorter) */
.plogo img[alt*="BCCOHP"]{max-height:58px}
.plogo img[alt*="DABC"]{max-height:76px}
.plogo img[alt*="Canada"]{max-height:104px}
@media(max-width:600px){
  .plogos{gap:34px}
  .plogo img[alt*="BCCOHP"]{max-height:46px}
  .plogo img[alt*="DABC"]{max-height:60px}
  .plogo img[alt*="Canada"]{max-height:84px}
}

/* ---------- professionals band ---------- */
.pro{background:
  radial-gradient(700px 400px at 12% 120%,rgba(30,136,229,.18),transparent 60%),
  linear-gradient(120deg,var(--blue-dd),var(--blue-d));color:#eaf2fd;border-radius:var(--radius-lg)}
.pro .wrap-in{padding:clamp(44px,6vw,72px);display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center}
.pro h2{color:#fff}.pro .lede{color:#cfe0f5}
.pro .plist{list-style:none;display:grid;gap:14px}
.pro .plist li{display:flex;gap:12px;align-items:flex-start;color:#eaf2fd;font-weight:500}
.pro .plist svg{width:24px;height:24px;fill:#7cc0ff;flex:none;margin-top:2px}

/* ---------- FAQ accordion ---------- */
.faq{max-width:820px;margin:0 auto;display:grid;gap:14px}
.faq details{background:#fff;border:1px solid var(--line-c);border-radius:var(--radius-sm);overflow:hidden}
.faq summary{list-style:none;cursor:pointer;padding:22px 26px;font-family:var(--serif);font-weight:600;
  font-size:1.16rem;color:var(--ink);display:flex;justify-content:space-between;gap:16px;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq summary .plus{flex:none;width:30px;height:30px;border-radius:50%;background:var(--sky);color:var(--blue-d);
  display:grid;place-items:center;font-size:1.4rem;line-height:1;transition:.2s}
.faq details[open] summary .plus{background:var(--blue-d);color:#fff;transform:rotate(45deg)}
.faq .ans{padding:0 26px 24px;color:var(--ink-soft)}
.faq .ans p:last-child{margin-bottom:0}

/* ---------- contact / form ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:48px;align-items:start}
.info-card{background:var(--blue-dd);color:#eaf2fd;border-radius:var(--radius-lg);padding:38px 34px}
.info-card h3{color:#fff;margin-bottom:1.2rem}
.info-row{display:flex;gap:16px;align-items:flex-start;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.14)}
.info-row:last-child{border-bottom:0}
.info-row .ic{width:46px;height:46px;border-radius:12px;background:rgba(255,255,255,.12);display:grid;place-items:center;flex:none}
.info-row .ic svg{width:22px;height:22px;fill:#fff}
.info-row b{color:#fff;display:block;font-family:var(--sans);font-weight:700;font-size:.86rem;letter-spacing:.06em;text-transform:uppercase;opacity:.75;margin-bottom:2px}
.info-row a,.info-row span{color:#fff;font-size:1.1rem;font-weight:600}
.hours{list-style:none;margin-top:1.2rem;background:rgba(255,255,255,.08);border-radius:14px;padding:6px 18px}
.hours li{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.12);font-weight:600;color:#eaf2fd}
.hours li:last-child{border-bottom:0}
.hours .cl{color:#9fb6d4}

form.enq{background:#fff;border:1px solid var(--line-c);border-radius:var(--radius-lg);padding:34px;box-shadow:var(--shadow)}
.field{margin-bottom:18px}
.field label{display:block;font-weight:700;color:var(--ink);margin-bottom:7px;font-size:1rem}
.field input,.field select,.field textarea{width:100%;font-family:var(--sans);font-size:1.06rem;color:var(--ink);
  padding:14px 16px;border:2px solid var(--line-c);border-radius:12px;background:#fff;transition:.15s;min-height:54px}
.field textarea{min-height:130px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);outline:none;background:#fbfdff}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.hp{position:absolute;left:-9999px}
.formnote{font-size:.92rem;color:var(--muted);margin-top:8px}
.formok{background:#e9f9f1;border:1px solid #b8ecd3;color:#146c48;padding:14px 18px;border-radius:12px;font-weight:600;margin-bottom:18px;display:none}

/* ---------- CTA (contained card, not flat full-bleed) ---------- */
.cta{background:var(--cream);text-align:center}
.card-cta{position:relative;overflow:hidden;border-radius:var(--radius-lg);
  background:radial-gradient(560px 340px at 86% -30%,rgba(124,192,255,.38),transparent 60%),linear-gradient(120deg,var(--blue-d),var(--blue-dd));
  color:#fff;padding:clamp(50px,6vw,78px) clamp(26px,5vw,58px);box-shadow:var(--shadow-lg)}
.card-cta h2{color:#fff;margin-bottom:.7rem;position:relative;z-index:2}
.card-cta .lede{color:#dbe9fb;margin:0 auto 1.8rem;position:relative;z-index:2}
.cta-row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;position:relative;z-index:2}
.cta-dvec{position:absolute;right:-34px;bottom:-40px;width:300px;opacity:.16;z-index:1;transform:rotate(-6deg)}
.cta-dvec-2{position:absolute;left:-58px;top:-48px;width:210px;opacity:.10;z-index:1;transform:rotate(10deg)}
@media(max-width:600px){.cta-dvec,.cta-dvec-2{display:none}}
/* denture / teeth vector illustration + photo frames */
.dvec{display:block;width:100%;height:auto}
.photo-frame .dwrap{padding:14% 15% 17%;width:100%}
.photo-frame .dwrap .dvec{filter:drop-shadow(0 10px 22px rgba(21,82,158,.16))}
.photo-frame .cap{position:absolute;left:0;right:0;bottom:0;padding:14px 18px;background:linear-gradient(0deg,rgba(15,62,120,.85),transparent);color:#fff;font-weight:600;font-size:.95rem;text-align:center}

/* ---------- footer ---------- */
footer.site{background:var(--ink);color:#aeb6c0;padding:70px 0 30px}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1.2fr;gap:32px}
footer.site img.flogo{height:56px;margin-bottom:16px}
footer.site p{color:#9aa2ad;font-size:1rem}
.foot-h{color:#fff;font-family:var(--serif);font-size:1.15rem;margin-bottom:14px}
.foot-list{list-style:none;display:grid;gap:9px}
.foot-list a{color:#aeb6c0}.foot-list a:hover{color:#fff}
.foot-list li{font-size:1rem}
.foot-contact{display:grid;gap:12px}
.foot-contact a,.foot-contact span{color:#cdd4dd;display:flex;gap:10px;align-items:flex-start;font-weight:500}
.foot-contact svg{width:20px;height:20px;fill:var(--blue);flex:none;margin-top:2px}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:44px;padding-top:22px;
  display:flex;flex-wrap:wrap;gap:10px 20px;justify-content:space-between;font-size:.9rem;color:#b9c1cb}
.foot-bottom a{color:#cdd4dd;text-decoration:underline;text-underline-offset:2px}

/* breadcrumb */
.crumb{background:#fff}
.crumb .wrap{padding:16px 24px;font-size:.95rem;color:var(--muted);font-weight:500}
.crumb a{color:var(--blue-d);font-weight:600}
.crumb span{margin:0 .5em;opacity:.5}

/* page hero (interior) */
.phero{background:#fff;padding:clamp(48px,6vw,80px) 0 clamp(40px,5vw,64px)}
.phero h1{margin-bottom:.7rem}
.phero .lede{margin:0 auto;font-size:1.18rem}

/* prose (resources) */
.prose{max-width:760px;margin:0 auto}
.prose h2{margin:2.2rem 0 1rem}.prose h3{margin:1.8rem 0 .7rem}
.prose p,.prose li{color:var(--ink-soft)}
.prose ul{margin:0 0 1.2rem 1.2rem;display:grid;gap:8px}
.prose .callout{background:var(--sky);border-left:5px solid var(--blue);border-radius:12px;padding:20px 24px;margin:1.6rem 0}
.prose .callout p{margin:0;line-height:1.6}
.prose .callout p:last-child{margin-bottom:0}
.prose .callout svg{width:22px;height:22px;fill:var(--blue-d);vertical-align:-4px;margin-right:.4em}
/* safety net: any inline icon inside body copy stays small (never balloons) */
.prose p svg,.prose li svg,.formnote svg,.callout svg{width:22px;height:22px}

/* ---------- responsive ---------- */
@media(max-width:960px){
  .hero-grid,.split,.contact-grid,.pro .wrap-in{grid-template-columns:1fr;gap:38px}
  .split.rev .split-txt{order:0}
  .g3{grid-template-columns:1fr 1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
  .hero-art{max-width:440px;margin:0 auto}
  .team{grid-template-columns:1fr}
}
@media(max-width:760px){
  .menu,.nav-cta .callpill,.topbar{display:none}
  .burger{display:flex}
  .strip .wrap{grid-template-columns:1fr 1fr;gap:20px 10px}
  .strip .item+.item{border-left:0}
  .strip .item:nth-child(3),.strip .item:nth-child(4){border-top:1px solid rgba(255,255,255,.16);padding-top:18px}
  .g3,.g2,.f2{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr}
  .float-card{left:12px;right:12px;max-width:none}
  body{font-size:18px}
}
@media(max-width:420px){
  .btn{width:100%}
  .hero-cta,.cta-row{width:100%}
}

/* ---------- full video / slideshow hero ---------- */
.vhero{position:relative;min-height:600px;padding:0;display:flex;align-items:center;overflow:hidden;background:var(--blue-dd)}
.vhero-media,.vhero-video,.vhero-slides,.vslide{position:absolute;inset:0;width:100%;height:100%}
.vhero-video{object-fit:cover;transition:opacity 1.1s ease}
.vhero-video.gone{opacity:0}
.vhero-slides{opacity:1;transition:opacity 1.1s ease}
.vhero-slides.show{opacity:1}
.vslide{background-size:cover;background-position:center;opacity:0;transition:opacity 1.7s ease;animation:kb 15s ease-in-out infinite alternate}
.vslide:first-child{opacity:1}  /* paint immediately; JS then cross-fades */
.vslide.on{opacity:1}
.vslide.on{opacity:1}
@keyframes kb{from{transform:scale(1.03)}to{transform:scale(1.13)}}
.vhero-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(96deg,rgba(10,24,50,.72) 0%,rgba(13,40,86,.46) 45%,rgba(13,40,86,.20) 100%)}
.vhero-inner{position:relative;z-index:2;width:100%;padding:clamp(44px,6vw,72px) 0;color:#fff}
/* two-column hero: copy left, appointment form right */
.vhero-grid{display:grid;grid-template-columns:1fr;gap:48px;align-items:center}
.vhero-copy{max-width:760px}
.vhero-copy .hero-cta{margin:1.9rem 0 0}
@media(max-width:640px){.vhero-copy .hero-cta .btn{width:100%;justify-content:center}}
.vhero-copy .lede{margin-bottom:1.5rem}
.vhero-inner h1{color:#fff;max-width:15ch;margin-bottom:1.1rem;text-shadow:0 2px 26px rgba(0,0,0,.28)}
.vhero-inner h1 .hl{color:#7fc0ff}
.vhero-inner .lede{color:#e9eff8;max-width:52ch;font-size:1.24rem;margin-bottom:1.9rem}
.eyebrow-light{color:#8fcaff}
.eyebrow-light::before{background:#7fc0ff}
.vhero .hero-trust span{color:#fff;font-weight:600}
.vhero .hero-trust svg{fill:#67e0aa}
.vhero-scroll{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);z-index:2;color:rgba(255,255,255,.7);font-weight:700;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;display:flex;flex-direction:column;align-items:center;gap:5px}
.vhero-scroll svg{width:22px;height:22px;fill:currentColor;animation:bob 1.9s ease-in-out infinite}
@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(7px)}}
/* hero appointment / quote form */
.qform{background:#fff;border-radius:var(--radius-lg);box-shadow:0 30px 70px -24px rgba(0,0,0,.55);
  padding:26px 24px;display:flex;flex-direction:column;gap:12px;color:var(--ink)}
.qform-head{display:flex;align-items:center;gap:.5em;font-family:var(--serif);font-weight:700;
  font-size:1.2rem;color:var(--ink)}
.qform-head svg{width:22px;height:22px;fill:var(--blue-d)}
.qform-sub{margin:0;font-size:.92rem;color:var(--muted)}
.qform input,.qform select{width:100%;padding:.72em .85em;border:1px solid var(--line-c);border-radius:12px;
  font:inherit;font-size:.98rem;background:#fff;color:var(--ink)}
.qform input:focus,.qform select:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(30,136,229,.16)}
.qf2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.qform .btn{margin-top:2px}
.qform-or{text-align:center;font-size:.92rem;color:var(--muted)}
.qform-or a{color:var(--blue-d);font-weight:700}
@media(max-width:900px){
  .vhero-grid{grid-template-columns:1fr;gap:30px}
  .vhero-form{max-width:460px}
}
@media(max-width:760px){
  .vhero{height:auto;min-height:0;align-items:center}
  .vhero-inner{padding:38px 0 34px}
  .vhero-inner h1{font-size:2.1rem}
  .vhero-inner .lede{font-size:1.05rem}
  .vhero-scroll{display:none}
}
@media(prefers-reduced-motion:reduce){ .vslide{animation:none} }


/* ---------- header CTA: keep compact on phones ---------- */
@media(max-width:760px){
  .nav-cta .btn{width:auto!important;font-size:13px!important;padding:0 14px!important;
    min-height:38px!important;height:38px!important;line-height:38px!important;white-space:nowrap}
  .nav-cta{gap:8px}
}
@media(max-width:420px){
  .nav-cta .btn{font-size:12.5px!important;padding:0 12px!important;min-height:36px!important;height:36px!important;line-height:36px!important}
}


/* ---------- phone: 2-column footer + compact drawer buttons ---------- */
@media(max-width:760px){
  /* footer link columns side-by-side so the page isn't one long scroll */
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 18px!important}
  /* row 1: big logo | row 2+3: link columns paired | Visit Us needs FULL width
     (address + email are too long for a 162px column and get clipped) */
  .foot-grid > div:nth-child(1){grid-column:1 / -1}
  .foot-grid > div:nth-child(2){grid-column:1}
  .foot-grid > div:nth-child(3){grid-column:2}
  .foot-grid > div:nth-child(4){grid-column:1}
  .foot-grid > div:nth-child(5){grid-column:1 / -1}
  /* hide the long intro paragraph on phone — contact details matter more */
  .foot-grid > div:nth-child(1) p{display:none}
  .foot-contact{gap:11px!important}
  .foot-contact a,.foot-contact span{font-size:14px!important;line-height:1.5;
    overflow-wrap:anywhere;word-break:break-word}
  .foot-contact svg{width:16px;height:16px;flex:none}
  .foot-h{font-size:15px!important;margin-bottom:10px!important}
  .foot-list{gap:7px!important}
  .foot-list li{font-size:14.5px!important;line-height:1.45}
  footer.site img.flogo{height:74px!important;margin-bottom:0!important}
  footer.site .foot-grid > div:first-child p{font-size:14.5px!important;line-height:1.55}

  /* hamburger drawer CTA buttons — smaller */
  .drawer .btn{font-size:14px!important;min-height:42px!important;height:42px!important;
    padding:0 16px!important;line-height:42px!important;margin-top:8px!important}
  .drawer .btn svg{width:16px;height:16px}
}


/* ---------- mission statement ---------- */
.mission{background:var(--sky);padding:clamp(52px,6vw,78px) 0}
.mission-in{max-width:74ch;margin:0 auto;text-align:center}
.mission-in .eyebrow{justify-content:center;margin-bottom:.9rem}
.mission-text{font-family:var(--serif);font-size:clamp(1.18rem,2.2vw,1.52rem);
  line-height:1.62;color:var(--ink);font-weight:500;margin:0;letter-spacing:-.01em}
@media(max-width:640px){
  .mission-in{text-align:left}
  .mission-in .eyebrow{justify-content:flex-start}
  .mission-text{font-size:1.12rem;line-height:1.6}
}


/* reviews blurred until real Google reviews are in — remove this block to reveal */
.tcard{filter:blur(4px);user-select:none;pointer-events:none}
@media(max-width:600px){.tcard{filter:blur(3.5px)}}


/* ---------- hero motion: floating accent boxes + entrance ---------- */
/* hero copy entrance */
.vhero-copy .eyebrow{animation:heroUp .7s cubic-bezier(.22,.61,.36,1) both}
.vhero-copy h1{animation:heroUp .8s cubic-bezier(.22,.61,.36,1) .10s both}
.vhero-copy .lede{animation:heroUp .8s cubic-bezier(.22,.61,.36,1) .20s both}
.vhero-copy .hero-trust{animation:heroUp .8s cubic-bezier(.22,.61,.36,1) .30s both}
.vhero-copy .hero-cta{animation:heroUp .8s cubic-bezier(.22,.61,.36,1) .40s both}
@keyframes heroUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
  .vhero-copy .eyebrow,.vhero-copy h1,.vhero-copy .lede,
  .vhero-copy .hero-trust,.vhero-copy .hero-cta{animation:none}
}


/* ---------- CDCP eligibility popup (bottom-left) ---------- */
.cdcp-pop{position:fixed;left:20px;bottom:20px;z-index:140;width:min(340px,calc(100vw - 32px));
  background:#fff;border:1px solid var(--line-c);border-radius:16px;
  box-shadow:0 24px 60px -20px rgba(15,62,120,.45);padding:20px 20px 18px;
  opacity:0;transform:translateY(16px);transition:opacity .45s ease,transform .45s cubic-bezier(.22,.61,.36,1)}
.cdcp-pop.in{opacity:1;transform:none}
.cdcp-pop h4{font-family:var(--serif);font-size:1.12rem;color:var(--ink);margin:.35rem 0 .45rem;line-height:1.25}
.cdcp-pop p{font-size:.92rem;line-height:1.5;color:var(--ink-soft);margin:0 0 .9rem}
.cdcp-tag{display:inline-block;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  color:var(--blue-d);background:var(--sky);padding:4px 9px;border-radius:99px}
.cdcp-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.cdcp-row .btn{font-size:.88rem;min-height:42px;padding:.6em 1.1em}
.cdcp-link{font-size:.86rem;font-weight:700;color:var(--blue-d)}
.cdcp-link:hover{text-decoration:underline}
.cdcp-x{position:absolute;top:8px;right:10px;width:30px;height:30px;border:0;background:transparent;
  font-size:1.5rem;line-height:1;color:var(--muted);cursor:pointer;border-radius:8px}
.cdcp-x:hover{background:var(--sky);color:var(--ink)}
@media(max-width:640px){
  .cdcp-pop{left:12px;right:12px;bottom:12px;width:auto;padding:16px 16px 14px}
  .cdcp-pop h4{font-size:1.05rem}
}
@media(prefers-reduced-motion:reduce){.cdcp-pop{transition:none}}

/* CDCP button in the nav */
.btn-cdcp{background:var(--ok);color:#fff}
.btn-cdcp:hover{background:#17875b;transform:translateY(-2px)}
@media(max-width:900px){.nav-cta .btn-cdcp{display:none}}
