/* Hearts Dental. Colours sampled from the logo; layout rhythm from the house kit; arrangement after atelierdental.com.au. */
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-Variable.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --red: #9C1B2D;
  --bright: #D0202F;
  --wine: #5C1020;
  --wine-deep: #2E070F;
  --ink: #2A1216;
  --body: #4B393B;
  --muted: #6F5C5D;
  --ground: #FCF7F3;
  --ground-2: #F7EDE7;
  --blush: #F3DDD7;
  --line: rgba(42, 18, 22, .1);
  --wall: 248 226 211;
  --wall-a: 248 226 211;
  --wall-b: 247 222 204;
  --sans: "Satoshi", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --wrap: min(1320px, calc(100vw - 2 * clamp(20px, 5vw, 72px)));
  --r-lg: 32px;
  --r-md: 22px;
  --head: 84px;
  --notice: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; background: var(--ground); color: var(--body); font: 400 18px/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.sect { padding-block: clamp(84px, 11vw, 140px); }

/* type */
.eyebrow { font: 700 15px/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--red); }
.display { font-size: clamp(3.3rem, 6.9vw, 7rem); line-height: .98; letter-spacing: -.045em; font-weight: 500; color: var(--ink); }
.display em { display: block; color: var(--red); }
.h2 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; color: var(--ink); margin-top: 14px; }
.h2 .w { transition: none; }
.lede { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.38; letter-spacing: -.012em; color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 17px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .25s, color .25s, box-shadow .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-fill { background: var(--red); color: #fff; box-shadow: 0 10px 28px rgba(156, 27, 45, .28); }
.btn-fill:hover { background: #84142A; }
.btn-quiet { border: 1.5px solid rgba(42, 18, 22, .24); color: var(--ink); background: rgba(255, 255, 255, .5); }
.btn-quiet:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--wine); }
.btn-quiet-light { border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; }
.btn-quiet-light:hover { border-color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--red); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; }
.link::after { content: ""; width: 8px; height: 8px; border-right: 2px solid; border-top: 2px solid; transform: rotate(45deg); transition: transform .25s; }
.link:hover::after { transform: translateX(4px) rotate(45deg); }

/* header */
.site-head { position: fixed; inset: 0 0 auto; z-index: 40; transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.site-head.is-solid { background: rgba(252, 247, 243, .88); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.notice { background: var(--wine); color: #fff; text-align: center; font-size: 14.5px; font-weight: 500; padding: 7px 16px; }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; width: min(1760px, calc(100vw - 2 * clamp(16px, 5vw, 72px))); height: var(--head); margin-inline: auto; color: var(--ink); }
.logo { display: block; }
.logo img { width: 168px; }
.nav > ul { display: flex; gap: 2px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a { display: block; white-space: nowrap; padding: 10px 13px; font-weight: 500; font-size: 16.5px; text-decoration: none; border-radius: 999px; transition: background-color .2s; }
.nav > ul > li:hover > a, .nav > ul > li:focus-within > a { background: rgba(255, 255, 255, .7); }
.sub { position: absolute; left: 0; top: 100%; padding-top: 10px; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { visibility: visible; opacity: 1; transform: none; }
.sub > ul, .mega { background: #fff; border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(92, 16, 32, .16); }
.sub > ul { padding: 12px; min-width: 262px; }
.sub a { display: block; padding: 7px 12px; border-radius: 10px; font-size: 16px; text-decoration: none; color: var(--body); transition: background-color .15s, color .15s; }
.sub a:hover { background: var(--ground-2); color: var(--red); }
.has-mega { position: static !important; }
.nav { position: static; }
.mega { left: clamp(16px, 3vw, 48px); padding: 24px; margin-top: 10px; display: grid; grid-template-columns: repeat(3, 240px) 200px; gap: 8px; }
/* the wide panels hang from the header's foot, 29px below their link: this invisible strip keeps the pointer "in the menu" across it */
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 29px; }
.mega ul { margin-bottom: 12px; }
.mega a { padding: 5px 10px; font-size: 15.5px; }
.mega-h { font-weight: 700; color: var(--ink) !important; }
.head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.head-link { padding: 8px 8px; font-weight: 500; font-size: 16.5px; text-decoration: none; }
.head-link:hover { color: var(--red); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; position: relative; box-shadow: 0 6px 18px rgba(92, 16, 32, .12); }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }

/* the menu on a phone: it opens with no script */
.menu { display: none; position: fixed; inset: 0; z-index: 60; background: var(--ground); padding: 20px 24px 40px; overflow-y: auto; color: var(--ink); }
.menu:target { display: block; }
.menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.menu-top img { width: 146px; }
.menu-close { font-weight: 700; text-decoration: none; padding: 10px; }
.menu details, .menu-link { border-top: 1px solid var(--line); display: block; }
.menu summary, .menu-link { font-size: 22px; font-weight: 500; letter-spacing: -.02em; padding: 15px 0; text-decoration: none; list-style: none; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu li a { display: block; padding: 9px 0; font-size: 18px; text-decoration: none; color: var(--body); }
.menu ul { padding-bottom: 12px; }


/* hero: with no script, or reduced motion, it is one photograph with the words low on the left */
.hero { position: relative; background: rgb(var(--wall)); color: #fff; }
.hero-stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; background: rgb(var(--wall)); }
.hero-cam { position: absolute; inset: 0; }
/* 154.5% wide so the frame ends before the third person (the photograph's 4400 of 6800) and shows the two dentists on the left */
.hero-img { width: 154.5%; height: 100%; max-width: none; object-fit: cover; object-position: 0 30%; }
.hero-patch, .hero-fade { display: none; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(46, 7, 15, .82) 0%, rgba(46, 7, 15, .46) 26%, rgba(46, 7, 15, 0) 52%); }
.hero-words { position: relative; z-index: 3; padding-bottom: 104px; }
.hero-words .eyebrow { color: #fff; }
.hero-words .display, .hero-words .display em { color: #fff; }
.hero-zh { font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: .1em; margin-top: 14px; font-weight: 500; }
.hero-sub { margin-top: 6px; }
.hero-words .btns { margin-top: 24px; }
.hero-words .btn-quiet { color: #fff; border-color: rgba(255, 255, 255, .5); background: none; }
.hero-welcome { display: none; }

.motion .hero { height: 160vh; height: 160svh; }
.motion .hero-stage { position: sticky; top: 0; display: block; }
.motion .hero-cam { inset: auto; left: 0; top: 0; width: 4800px; height: 2824px; transform-origin: 0 0; will-change: transform; opacity: 0; transition: opacity .7s; }
.motion .hero-cam.ready { opacity: 1; }
.motion .hero-img { width: 100%; object-fit: fill; }
.hero-sign { position: absolute; left: 17.94%; top: 6%; width: 25.29%; height: 31%; max-width: none; opacity: 0; transition: opacity .5s; }
.hero-sign.is-in { opacity: 1; }
.motion .hero-patch { display: block; position: absolute; left: 26.6%; top: 30.2%; width: 13.8%; height: 30%; border-radius: 50%; background: linear-gradient(90deg, rgb(var(--wall-a)), rgb(var(--wall-b))); filter: blur(9px); opacity: var(--fade, 1); }
.motion .hero-scrim { opacity: var(--scrim, 0); background: radial-gradient(78% 74% at 12% 100%, rgba(46, 7, 15, .92) 0%, rgba(46, 7, 15, .7) 42%, rgba(46, 7, 15, 0) 100%), linear-gradient(to top, rgba(46, 7, 15, .6) 0%, rgba(46, 7, 15, 0) 26%); }
.motion .hero-words { position: absolute; left: 0; right: 0; top: 50%; width: min(1760px, calc(100vw - 2 * clamp(20px, 5vw, 72px))); margin: 0 auto; padding: 0; transform: translateY(calc(-46% - var(--lift, 0) * 1px)); opacity: var(--a, 1); color: var(--body); pointer-events: var(--events, auto); }
.motion .hero-words .eyebrow { color: var(--red); }
.motion .hero-words .display { color: var(--ink); max-width: 4.7em; }
.motion .hero-words .display em { color: var(--red); }
.motion .hero-zh { color: var(--ink); }
.motion .hero-sub { color: var(--body); }
.motion .hero-words .btn-quiet { color: var(--ink); border-color: rgba(42, 18, 22, .24); background: rgba(255, 255, 255, .5); }
.motion .hero-welcome { display: block; position: absolute; left: 0; right: 0; bottom: 118px; width: min(1760px, calc(100vw - 2 * clamp(20px, 5vw, 72px))); margin: 0 auto; z-index: 3; opacity: var(--b, 0); transform: translateY(calc((1 - var(--b, 0)) * 26px)); color: #fff; }
.welcome-line { font-size: clamp(2.5rem, 5.6vw, 5.2rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; }
.welcome-by { margin-top: 12px; font-weight: 500; }

/* facts */
.facts { position: relative; z-index: 5; margin-top: -68px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: 0 24px 70px rgba(92, 16, 32, .14); }
.fact { position: relative; display: grid; align-content: start; gap: 1px; padding: 26px 26px 24px; text-decoration: none; color: var(--body); min-width: 0; }
.fact + .fact::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
a.fact { transition: background-color .2s; border-radius: var(--r-lg); }
a.fact:hover { background: var(--ground); }
.fact svg { width: 26px; height: 26px; fill: none; stroke: var(--bright); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 10px; }
.fact-k { font-size: 14px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.fact-v { color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -.012em; line-height: 1.35; }
.fact-s { font-size: 16px; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }
.fact-hours { display: grid; }

/* why */
.why { padding-top: clamp(96px, 12vw, 150px); }
.bento { margin-top: clamp(38px, 5vw, 64px); display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(236px, auto); gap: 18px; }
.card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 30px; background: #fff; color: var(--body); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.card h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.12; letter-spacing: -.028em; font-weight: 500; color: var(--ink); }
.card .big { font-size: clamp(3.2rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -.045em; font-weight: 500; color: var(--ink); }
.card-lang { grid-column: span 6; grid-row: span 2; background: radial-gradient(120% 110% at 90% 0%, #8A1B2E 0%, var(--wine) 50%, #430A16 100%); color: #F7E4DF; }
.card-lang .big { color: #fff; line-height: 1.05; position: relative; }
.card-lang p:last-child { position: relative; }
.card-stool { grid-column: span 3; grid-row: span 2; }
.card-year { grid-column: span 3; }
.card-year .big { color: var(--red); }
.card-plan { grid-column: span 3; background: var(--blush); }
.card-xray { grid-column: span 6; min-height: 280px; }
.card-funds { grid-column: span 6; }
.card-photo { color: #fff; justify-content: flex-end; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.card-photo:hover img { transform: scale(1.04); }
.card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(46, 7, 15, .74) 0%, rgba(46, 7, 15, .2) 42%, rgba(46, 7, 15, 0) 62%); }
.card-photo > div { position: relative; z-index: 1; }
.card-photo h3 { color: #fff; }
.card-photo.card-xray { background: #fff; color: var(--body); justify-content: center; padding-right: 50%; }
.card-photo.card-xray::after { display: none; }
.card-photo.card-xray h3 { color: var(--ink); }
.card-xray img { inset: 0 0 0 auto; width: 46%; object-position: 50% 18%; }
.fund-logos { position: absolute; right: 26px; top: 26px; display: flex; gap: 8px; }
.fund-logos img { width: 62px; border-radius: 10px; }

/* about */
.about { background: var(--ground-2); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-words > p:not(.eyebrow) { margin-top: 18px; }
.about-words .h2 { margin-bottom: 26px; }
.about-words .link { margin-top: 26px; }
.about-pics { position: relative; padding-bottom: 64px; }
.pic-main { width: 100%; border-radius: var(--r-lg); aspect-ratio: 3 / 2; object-fit: cover; }
.pic-over { position: absolute; left: -44px; bottom: 0; width: 42%; border-radius: var(--r-md); border: 8px solid var(--ground-2); box-shadow: 0 24px 50px rgba(92, 16, 32, .16); }

/* team */
.team { position: relative; overflow: clip; padding-block: clamp(96px, 12vw, 150px); background: radial-gradient(100% 70% at 22% 0%, #861A2D 0%, var(--wine) 52%, #430A16 100%); color: #F7E4DF; }
.team .wrap { position: relative; }
.team .eyebrow { color: #F4BFC0; }
.team .h2 { color: #fff; max-width: 15em; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: clamp(38px, 5vw, 64px) 0 42px; }
.person { display: block; text-decoration: none; color: inherit; }
.person-pic { display: block; overflow: hidden; border-radius: var(--r-lg); background: #fff; aspect-ratio: 4 / 5; }
.person-pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transform-origin: var(--zo, 50% 50%); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.person:hover .person-pic img { transform: scale(calc(var(--z, 1) * 1.04)); }
/* every dentist's head the size of Dr Chiu's (top of the hair to the chin, 64% of the card), its top on one line,
   2% down; his photograph is the tightest and cannot pull back, so the others come in to meet it */
.person-pic img[src$="dr-qing-guo.webp"] { --z: 1.317; --zo: 50% 48.3%; }
.person-pic img[src$="dr-sophia-zhao.webp"] { --z: 1.066; --zo: 50% 89.4%; }
.person h3 { color: #fff; font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -.028em; font-weight: 500; margin-top: 16px; }
.person h3 span { color: #F4BFC0; font-size: .82em; letter-spacing: .02em; margin-left: 4px; }
.person p { margin-top: 4px; }

/* treatments */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(38px, 5vw, 64px); }
.tcard { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5; text-decoration: none; color: #fff; background: var(--blush); }
.tcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.tcard:hover img { transform: scale(1.04); }
.tcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(46, 7, 15, .8) 0%, rgba(46, 7, 15, .24) 34%, rgba(46, 7, 15, 0) 54%); }
.tcard > div { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; }
.tcard h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.12; letter-spacing: -.028em; font-weight: 500; }
.tcard p { margin-top: 4px; }
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); font-weight: 500; transition: background-color .2s, color .2s, box-shadow .2s; }
.pill:hover { background: var(--ground-2); box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }
.pill-hot { background: var(--red); color: #fff; box-shadow: none; font-weight: 700; }
.pill-hot:hover { background: #84142A; color: #fff; box-shadow: none; }
.pills .link { margin-left: auto; }

/* questions */
.ask { background: var(--ground-2); }
.ask-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.ask-pic { margin-top: 34px; }
.ask-pic img { border-radius: var(--r-lg); aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 42%; width: 100%; }
.qa { background: #fff; border-radius: var(--r-md); margin-bottom: 10px; }
.qa summary { position: relative; list-style: none; cursor: pointer; padding: 21px 60px 21px 26px; color: var(--ink); font-weight: 500; font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.3; letter-spacing: -.016em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 15px; height: 2px; margin-top: -1px; background: var(--red); transition: transform .3s; }
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0); }
.qa-a { padding: 0 26px 24px; }
.qa-a a { color: var(--red); }

/* the close */
.close { position: relative; overflow: clip; min-height: min(100vh, 780px); display: grid; align-items: center; text-align: center; padding-block: clamp(110px, 14vw, 180px); background: radial-gradient(90% 90% at 50% 100%, #8A1B2E 0%, var(--wine) 46%, #3A0812 100%); color: #fff; }
.close-inner { position: relative; display: grid; justify-items: center; }
.close .eyebrow { color: #F4BFC0; }
.close-heart { width: clamp(150px, 17vw, 250px); margin-bottom: 26px; will-change: transform; perspective: 1100px; }
/* the practice's tooth-heart mark (img/hd-mark.svg, drawn from Logo Final.ai), given a little thickness so it turns as a solid piece */
.mark3d { --dep: clamp(8px, .9vw, 13px); position: relative; display: block; width: 100%; aspect-ratio: 72.6 / 69.94; transform-style: preserve-3d; }
.mark3d > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-face { transform: translateZ(calc(var(--dep) / 2)); }
.mk-face:last-child { filter: drop-shadow(0 18px 26px rgba(20, 2, 6, .38)); } /* the shadow rides the front face: a filter on a parent would flatten the turn in Safari */
.mk-back { transform: translateZ(calc(var(--dep) / -2)); }
.mark3d i { background: #6E1020; -webkit-mask: url("../img/hd-mark-shape.svg") 0 0 / 100% 100% no-repeat; mask: url("../img/hd-mark-shape.svg") 0 0 / 100% 100% no-repeat; transform: translateZ(calc(var(--dep) * (var(--i) / 13 - .5))); }
.close-h { color: #fff; max-width: 11.6em; font-size: clamp(2.8rem, 6.6vw, 6rem); }
.close .btns { justify-content: center; margin-top: 34px; }

/* footer */
.foot { background: var(--wine-deep); color: #E9D4D0; font-size: 16.5px; padding-top: 72px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1.05fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 54px; }
.foot-logo { width: 170px; margin-bottom: 18px; }
.foot h3 { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.foot p + p { margin-top: 10px; }
.foot li { padding: 2px 0; }
.foot-social { display: flex; gap: 12px; margin-top: 14px; }
.foot-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #E9D4D0; transition: color .2s, background-color .2s; }
.foot-social a:hover { color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }
.foot-social svg { width: 26px; height: 26px; fill: currentColor; }
.foot-social .cut { fill: var(--wine-deep); }
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.partners img { width: 100%; border-radius: 8px; background: #fff; }
.foot-wechat { display: flex; align-items: center; gap: 14px; margin-top: 16px !important; line-height: 1.35; }
.foot-wechat img { width: 84px; border-radius: 10px; background: #fff; padding: 4px; }
.foot-base { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15.5px; color: #CDB3AF; }

/* the bar on a phone */
.bar { display: none; }

/* moves, only where motion is welcome */
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .9s cubic-bezier(.16,.84,.26,1); transition-delay: var(--delay, 0s); }
.motion .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1240px) {
  .nav, .head-link { display: none; }
  .head-row { grid-template-columns: auto 1fr; }
  .logo { order: -1; }
  .menu-btn { display: block; }
  .head-phone { display: none; }
}
@media (max-width: 1040px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3)::before { display: none; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .card-lang { grid-column: span 6; grid-row: span 1; min-height: 330px; }
  .card-stool { grid-column: span 3; }
  .card-year, .card-plan { grid-column: span 3; }
  .card-xray, .card-funds { grid-column: span 6; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  :root { --head: 72px; --r-lg: 26px; }
  body { font-size: 17px; padding-bottom: 66px; }
  .logo img { width: 136px; }
  .about-grid, .ask-grid { grid-template-columns: minmax(0, 1fr); }
  .pic-over { left: 12px; width: 48%; }
  .people { grid-template-columns: repeat(3, 76%); overflow-x: auto; margin-inline: calc((100vw - var(--wrap)) / -2); padding-inline: calc((100vw - var(--wrap)) / 2); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tcards { grid-template-columns: repeat(3, 76%); overflow-x: auto; margin-inline: calc((100vw - var(--wrap)) / -2); padding-inline: calc((100vw - var(--wrap)) / 2); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .person, .tcard { scroll-snap-align: center; }
  .pills .link { margin-left: 0; }
  .bar { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(252, 247, 243, .94); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line); }
  .bar a { display: grid; place-items: center; min-height: 48px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  .bar .bar-book { background: var(--red); color: #fff; box-shadow: none; }
  .hero-words { padding-bottom: 84px; }
  .motion .hero-cam { width: 1700px; height: 1000px; }
  .motion .hero-words .display { max-width: none; }
  .hero-words .btns { display: none; }
  .motion .hero-cam::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 20%; background: rgb(248 236 227); }
  .hero-img { width: 100%; object-position: 34% 30%; }
  .motion .hero-fade { display: block; position: absolute; inset: 0; opacity: var(--fade, 1); }
  .motion .hero { height: 160svh; }
  .motion .hero-words { top: auto; bottom: 84px; transform: translateY(calc(0px - var(--lift, 0) * 1px)); }
  .motion .hero-fade { background: linear-gradient(to top, rgb(var(--wall)) 0, rgb(var(--wall)) calc(var(--below, 340) * 1px - 8px), rgb(var(--wall) / 0) calc(var(--below, 340) * 1px + 22px)); }
  .motion .hero-welcome { bottom: 86px; }
  /* a tall phone sees wall above the photograph when it lands on both dentists: the photograph's top melts into the ceiling colour painted above it (::before) */
  .motion .hero-cam::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7%; background: linear-gradient(rgb(248 236 227), rgb(248 236 227 / 0)); pointer-events: none; }
  .display { font-size: clamp(3.2rem, 14.6vw, 4.6rem); }
  .facts { margin-top: -46px; }
  .fact { padding: 20px 18px; }
  .fact-v { font-size: 16.5px; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 26px 1fr; column-gap: 14px; padding: 18px 20px; }
  .fact svg { grid-row: 1 / span 3; margin: 2px 0 0; }
  .fact + .fact::before { left: 20px; right: 20px; top: 0; bottom: auto; width: auto; height: 1px; }
  .fact:nth-child(3)::before { display: block; }
  .fact-hours { grid-column: 2; }
  .card-stool, .card-year, .card-plan { grid-column: span 6; }
  .card-stool { min-height: 380px; }
  .card-photo.card-xray { padding-right: 46%; }
  .fund-logos { position: static; margin-top: 10px; order: 3; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ════════════ inner pages ════════════ */
.inner .site-head { position: sticky; top: 0; background: rgba(252, 247, 243, .9); backdrop-filter: blur(16px) saturate(1.3); }
.inner .site-head.is-solid { box-shadow: 0 1px 0 var(--line); }
.nav > ul > li > a[aria-current] { background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(156, 27, 45, .18); color: var(--red); }
.menu.is-open { display: block; }
html.menu-lock, html.menu-lock body { overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 15px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; }
.crumbs span { color: var(--ink); }

/* the title band: their own photograph */
.ph { position: relative; overflow: clip; background: linear-gradient(180deg, rgb(var(--wall)) 0%, var(--ground) 100%); padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 7vw, 96px); }
.ph-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.ph-h1 { font-size: clamp(2.7rem, 5.6vw, 5.4rem); line-height: 1; letter-spacing: -.045em; font-weight: 500; color: var(--ink); margin-top: 16px; text-wrap: balance; }
.ph-h1 em { color: var(--red); }
.ph-lede { margin-top: 22px; max-width: 30em; color: var(--body); }
.ph .btns { margin-top: 30px; }
.ph-pic { position: relative; }
.ph-pic > img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(92, 16, 32, .18); }
.ph-pic.wide > img { aspect-ratio: 4 / 3; }
.ph-pic .pic-tag { position: absolute; left: -26px; bottom: 34px; background: #fff; border-radius: 999px; padding: 10px 18px 10px 14px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; color: var(--ink); box-shadow: 0 16px 40px rgba(92, 16, 32, .16); }
.ph-pic .pic-tag i { width: 20px; height: 18px; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }
[hidden] { display: none !important; }
.pg-gap { height: clamp(40px, 6vw, 80px); }
.ph-plain .ph-grid { grid-template-columns: minmax(0, 1fr); }
.ph-plain .ph-words { max-width: 980px; }
.t-article .ph-plain .ph-grid { width: min(760px, var(--wrap)); }
.t-booking .ph-plain .ph-grid { width: min(1080px, var(--wrap)); }
.t-form .ph-plain .ph-grid, .t-forms .ph-plain .ph-grid { width: min(980px, var(--wrap)); }
.t-forms .ph-plain .ph-grid { width: var(--wrap); }
.ph-plain { padding-bottom: clamp(40px, 5vw, 70px); }
.facts-strip { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(30px, 4vw, 48px); }
.fs { background: #fff; border-radius: 18px; padding: 14px 20px; box-shadow: 0 10px 30px rgba(92, 16, 32, .08); min-width: 150px; }
.fs-k { display: block; font-size: 13px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); }
.fs-v { display: block; font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
:root { --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M16 29C7 22 0 16.5 0 9.2 0 4 4 0 8.9 0c3 0 5.6 1.6 7.1 4 1.5-2.4 4.1-4 7.1-4C28 0 32 4 32 9.2 32 16.5 25 22 16 29z'/%3E%3C/svg%3E"); }

/* the heartbeat: a line that draws itself, its beat a heart */
.beat { position: relative; z-index: 1; display: flex; align-items: center; height: 64px; margin: -32px 0 0; pointer-events: none; }
.beat svg { display: block; height: 64px; overflow: visible; }
.beat .bl, .beat .br { width: 0; min-width: 0; transform-origin: 0 50%; }
.beat .bl { flex: .34 1 0; }
.beat .br { flex: 1 1 0; }
.beat .bm { flex: none; width: 214px; }
.beat line, .beat path.line { fill: none; stroke: var(--bright); stroke-width: 2.2; stroke-linecap: butt; stroke-linejoin: round; }
.beat line { vector-effect: non-scaling-stroke; }
.beat .beat-heart { fill: var(--bright); transform-box: fill-box; transform-origin: center; }
.motion .beat .bl, .motion .beat .br { transform: scaleX(0); transition: transform .8s cubic-bezier(.5,0,.6,1); }
.motion .beat .br { transition-delay: 1.55s; transition-duration: 1.2s; transition-timing-function: cubic-bezier(.2,.6,.3,1); }
.motion .beat.is-in .bl, .motion .beat.is-in .br { transform: none; }
.motion .beat path.line { stroke-dasharray: 100 100; stroke-dashoffset: 100; transition: stroke-dashoffset .9s .75s linear; }
.motion .beat.is-in path.line { stroke-dashoffset: 0; }
.motion .beat .beat-heart { opacity: 0; transform: scale(.3); transition: opacity .25s 1.3s, transform .55s 1.3s cubic-bezier(.3,1.7,.5,1); }
.motion .beat.is-in .beat-heart { opacity: 1; transform: scale(1); animation: thump 1.4s 2.2s ease-in-out infinite; }
@keyframes thump { 0%, 40%, 100% { transform: scale(1); } 12% { transform: scale(1.28); } 26% { transform: scale(1.1); } }

/* the page: words, and the card beside them */
.pg { padding: clamp(40px, 6vw, 84px) 0 clamp(80px, 10vw, 130px); }
.pg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 6vw, 110px); align-items: start; }
.pg-solo .pg-grid { grid-template-columns: minmax(0, 760px); justify-content: center; }
.prose { min-width: 0; max-width: 760px; }
.prose > * + *, .prose-words > * + * { margin-top: 22px; }
.prose > .blk + .blk, .prose-words > .blk + .blk, .prose > .prose-words:has(> .blk:last-child) + .blk { margin-top: clamp(48px, 6vw, 72px); }
.art-pic img { width: 100%; height: auto; border-radius: var(--r-md); }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.prose h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; color: var(--ink); }
.blk > h2 + * { margin-top: 20px; }
.blk p + p { margin-top: 16px; }
.blk .intro { margin-bottom: 18px; }
.prose a:not(.btn):not(.hcard):not(.post):not(.int-a) { color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 700; }
.blk-lead p:first-of-type { font-size: clamp(1.2rem, 1.6vw, 1.38rem); line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }

/* lists: signs beat once as they arrive; checks; plain pills */
.ls, .prose-words :is(ul, ol):not([class]) { display: grid; gap: 12px; }
.ls li, .prose-words ul:not([class]) > li { position: relative; padding-left: 38px; }
.ls li::before, .prose-words ul:not([class]) > li::before { content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 20px; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }
.ls-signs { background: #fff; border-radius: var(--r-md); padding: 26px 28px; box-shadow: inset 0 0 0 1px var(--line); }
.motion .ls-signs li::before { transform: scale(.4); opacity: 0; }
.motion .ls-signs.is-in li::before { animation: arrive .9s calc(var(--i) * .12s) cubic-bezier(.3,1.5,.5,1) forwards; }
@keyframes arrive { 0% { transform: scale(.4); opacity: 0; } 45% { transform: scale(1.3); opacity: 1; } 65% { transform: scale(.92); } 82% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.ls-check li::before { -webkit-mask: none; mask: none; background: var(--blush); border-radius: 50%; width: 24px; height: 24px; top: .18em; }
.ls-check li::after { content: ""; position: absolute; left: 8px; top: calc(.18em + 6px); width: 6px; height: 10px; border: solid var(--red); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.prose-words ol:not([class]) { list-style: decimal; padding-left: 1.3em; }
.prose-words ol:not([class]) > li::marker { color: var(--red); font-weight: 700; }
.ls-plain { display: flex; flex-wrap: wrap; gap: 8px; }
.ls-plain li { padding: 8px 16px; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; color: var(--ink); }
.ls-plain li::before { display: none; }

/* steps: each heart fills with red as you reach it */
.steps { display: grid; gap: 0; position: relative; }
.step { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 22px; padding-bottom: 30px; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 28px; top: 56px; bottom: 6px; width: 2px; background: linear-gradient(var(--blush), var(--blush)); }
.sn { position: relative; width: 58px; height: 52px; display: grid; place-items: center; background: var(--blush); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }
.sn::before { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: 50% 100%; transform: scaleY(var(--fill, 1)); }
.sn b { position: relative; color: #fff; font-weight: 700; font-size: 19px; margin-top: -4px; transition: color .3s; }
.sn.low b { color: var(--red); }
.step h3 { margin-top: 10px; }
.step p { margin-top: 6px; }

/* reasons, notes, quotes, tables, pills, timeline, Chinese */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reason { background: #fff; border-radius: var(--r-md); padding: 26px 26px 24px; box-shadow: inset 0 0 0 1px var(--line); }
.reason h3 { font-size: 1.22rem; }
.reason p { margin-top: 8px; font-size: 17px; }
.reason .rh { display: block; width: 26px; height: 24px; margin-bottom: 14px; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; opacity: .9; }
.reason:nth-child(3n+2) .rh { background: var(--red); opacity: .55; }
.reason:nth-child(3n) .rh { background: #F2A7A2; }
.note { position: relative; background: var(--blush); border-radius: var(--r-md); padding: 26px 28px 26px 72px; color: var(--ink); }
.note::before { content: ""; position: absolute; left: 26px; top: 30px; width: 26px; height: 24px; background: var(--red); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }
.note h2 { font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 8px; }
.quote { position: relative; padding: 8px 0 0 0; }
.quote blockquote { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 4.4rem; line-height: .6; color: var(--bright); margin-bottom: 8px; }
.quote figcaption { margin-top: 14px; font-weight: 700; color: var(--red); }
.tbl { overflow-x: auto; border-radius: var(--r-md); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 16.5px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--ink); font-weight: 700; background: var(--ground-2); }
.tbl tr:last-child td { border-bottom: 0; }
.pills-blk { display: flex; flex-wrap: wrap; gap: 8px; }
.pills-blk span { padding: 9px 18px; border-radius: 999px; background: var(--wine); color: #fff; font-weight: 500; font-size: 16px; }

/* a dentist's special interests: a tight card of bars; once it is on screen each fills from 0 to 100 by itself, one after another, a glossy heart riding its end */
.ints { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 3.6vw, 40px); box-shadow: inset 0 0 0 1px var(--line); }
.ints > h2 + .ints-lede { margin-top: 10px; }
.ints-lede { font-size: 16px; line-height: 1.5; color: var(--muted); }
.ints-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 20px; }
.ints .int-a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; color: var(--ink); text-decoration: none; }
.int-name { font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; transition: color .3s; }
.int-a .tx-arrow { width: 18px; height: 18px; color: var(--red); opacity: .55; transition: opacity .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.int-a:hover .int-name, .int-a:focus-visible .int-name { color: var(--red); }
.int-a:hover .tx-arrow, .int-a:focus-visible .tx-arrow { opacity: 1; transform: translateX(4px); }
.int-bar { grid-column: 1 / -1; position: relative; height: 10px; border-radius: 999px; background: rgba(156, 27, 45, .1); }
.int-fill { position: absolute; inset: 0; border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--bright)); clip-path: inset(0 0 0 0 round 999px); }
.int-ride { position: absolute; left: 0; top: 50%; width: calc(100% - 26px); height: 0; transform: translateX(100%); }
.int-heart { position: absolute; left: 0; top: -13px; width: 26px; height: 26px; filter: drop-shadow(0 4px 6px rgba(92, 16, 32, .25)); transform: rotate(-8deg); }
.motion .int-fill { clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 1.5s cubic-bezier(.45,.05,.2,1) var(--d, 0s); }
.motion .int-ride { transform: none; transition: transform 1.5s cubic-bezier(.45,.05,.2,1) var(--d, 0s); }
.motion .ints-list.go .int-fill { clip-path: inset(0 0 0 0 round 999px); }
.motion .ints-list.go .int-ride { transform: translateX(100%); }
.motion .ints-list.go .int-heart { animation: int-arrive .9s cubic-bezier(.2,.8,.2,1) calc(var(--d, 0s) + 1.45s) 1; }
.motion .int-a:hover .int-heart { animation: tx-beat 1.2s ease-in-out infinite; }
@keyframes int-arrive { 0% { transform: rotate(-8deg) scale(1); } 35% { transform: rotate(4deg) scale(1.35); } 60% { transform: rotate(-4deg) scale(.92); } 100% { transform: rotate(-8deg) scale(1); } }
.tl { position: relative; padding-left: 40px; }
.tl::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--blush); }
.tl-heart { position: absolute; left: 0; top: 0; width: 24px; height: 22px; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; transform: translateY(var(--y, 0px)); display: none; }
.motion .tl-heart { display: block; }
.tl li { position: relative; padding: 0 0 22px; }
.tl li::before { content: ""; position: absolute; left: -34px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--red); transition: background-color .3s; }
.tl li.lit::before { background: var(--red); }
.tl-when { display: block; font-weight: 700; color: var(--red); font-size: 15.5px; letter-spacing: .02em; }
.tl-what { display: block; color: var(--ink); }
.zh { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: inset 0 0 0 1px var(--line); font-size: 17.5px; line-height: 1.85; }
.zh h2 { letter-spacing: 0; }
.zh .ls { margin-top: 16px; }

/* the card beside the words */
.side { position: sticky; top: calc(var(--hh, 100px) + 24px); display: grid; gap: 14px; }
.side-card { background: #fff; border-radius: var(--r-lg); padding: 28px; box-shadow: 0 24px 60px rgba(92, 16, 32, .1); display: grid; gap: 4px; }
.side-k { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.side-card .btn { margin-bottom: 12px; }
.side-row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 16.5px; line-height: 1.4; }
.side-row svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--bright); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
a.side-row:hover { color: var(--red); }
.hours { display: grid; gap: 2px; }
.hours p { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; color: var(--body); }
.hours p span:first-child { color: var(--ink); font-weight: 500; }
.hours p.today { color: var(--ink); }
.hours p.today span:first-child { font-weight: 700; }
.today-tag { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 1px 9px; border-radius: 999px; background: var(--blush); color: var(--red); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; vertical-align: 1px; }
.today-tag::before { content: ""; width: 10px; height: 9px; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }
.motion .today-tag::before { animation: thump 1.1s ease-in-out infinite; }
.side-more { background: var(--ground-2); border-radius: var(--r-md); padding: 22px 24px; }
.side-more h2 { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.side-more a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink); font-weight: 500; }
.side-more a:hover, .side-more a[aria-current] { color: var(--red); }

/* cards to other pages: a heart floats up as you point */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.prose .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hcard { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: #fff; text-decoration: none; color: var(--body); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.hcard:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(92, 16, 32, .14); }
.hcard-pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--blush); }
.hcard-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.hcard:hover .hcard-pic img { transform: scale(1.05); }
.hcard-body { padding: 22px 24px 26px; display: grid; gap: 6px; }
.hcard h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.022em; font-weight: 600; color: var(--ink); padding-right: 30px; }
.hcard p { font-size: 16.5px; }
.hcard::after { content: ""; position: absolute; right: 22px; bottom: 24px; width: 22px; height: 20px; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; opacity: .22; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.hcard:hover::after { opacity: 1; transform: translateY(-14px) scale(1.25) rotate(-10deg); }
.hcard.no-pic { background: #fff; }
.hub-cards { padding: 0 0 clamp(80px, 10vw, 130px); }
.hub-cards .h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: clamp(28px, 4vw, 44px); }

/* treatment cards: the photograph is the card, the name sits on a tab, and the arrow turns into a beating heart */
.txcards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.tx { grid-column: span 2; position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 1 / 1; border-radius: var(--r-lg); background: var(--blush); color: var(--ink); text-decoration: none; transition: box-shadow .5s; }
.tx-half { grid-column: span 3; aspect-ratio: 3 / 2; }
.tx-full { grid-column: 1 / -1; aspect-ratio: 3 / 1; }
.tx:hover { box-shadow: 0 26px 60px rgba(92, 16, 32, .16); }
.tx-pic, .tx-pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.tx-pic img { object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.tx:hover .tx-pic img { transform: scale(1.05); }
.tx-tab { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 14px 14px 22px; border-radius: 22px; background: rgba(252, 247, 243, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 34px rgba(46, 7, 15, .12); }
.tx-full .tx-tab { right: auto; width: min(620px, calc(100% - 28px)); }
.tx-name { display: grid; gap: 1px; min-width: 0; }
.tx h3 { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; color: var(--ink); }
.tx small { font-size: 15px; line-height: 1.4; color: var(--muted); }
.tx-go { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--red); color: #fff; transition: background .3s; }
.tx-go svg { grid-area: 1 / 1; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.tx-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tx-heart { width: 19px; height: 17px; fill: currentColor; opacity: 0; transform: translateY(28px) scale(.5); }
.tx:hover .tx-go, .tx:focus-visible .tx-go { background: var(--bright); }
.tx:hover .tx-arrow, .tx:focus-visible .tx-arrow { opacity: 0; transform: translateX(28px); }
.tx:hover .tx-heart, .tx:focus-visible .tx-heart { opacity: 1; transform: none; }
.motion .tx:hover .tx-heart { animation: tx-beat 1.2s .5s ease-in-out infinite; }
@keyframes tx-beat { 0%, 60%, 100% { transform: scale(1); } 12% { transform: scale(1.24); } 26% { transform: scale(1); } 38% { transform: scale(1.14); } }
@media (max-width: 1100px) {
  .txcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tx, .tx-half { grid-column: auto; aspect-ratio: 1 / 1; }
  .tx-full { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .tx-odd { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
}
@media (max-width: 560px) {
  .txcards { grid-template-columns: minmax(0, 1fr); }
  .tx, .tx-half, .tx-full, .tx-odd { grid-column: auto; aspect-ratio: 5 / 4; }
  .tx-odd { width: auto; justify-self: stretch; }
  .tx-full .tx-tab { right: 10px; width: auto; }
  .tx-tab { left: 10px; right: 10px; bottom: 10px; padding: 12px 12px 12px 18px; }
}

/* questions on inner pages */
.prose .qas { display: grid; }
.prose .qa { box-shadow: inset 0 0 0 1px var(--line); }

/* more in this section */
.more { padding: clamp(60px, 8vw, 100px) 0; background: var(--ground-2); }
.more .eyebrow { margin-bottom: 18px; }
.more .h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-bottom: clamp(26px, 3.5vw, 40px); }

/* articles: a heart rides the reading line */
.readbar { position: fixed; left: 0; right: 0; top: var(--hh, 84px); z-index: 39; height: 3px; pointer-events: none; }
.readbar i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, rgba(208, 32, 47, .3), var(--bright)); }
.readbar b { position: absolute; top: -8px; left: calc(var(--p, 0) * 100%); width: 18px; height: 16px; margin-left: -9px; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; opacity: var(--o, 0); transition: opacity .3s; }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; color: var(--muted); font-size: 16px; }
.art-meta span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--bright); margin-right: 18px; vertical-align: 3px; opacity: .6; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 260px; padding: 28px; border-radius: var(--r-lg); background: #fff; text-decoration: none; color: var(--body); box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.post:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(92, 16, 32, .14); }
.post h3 { font-size: 1.32rem; line-height: 1.22; letter-spacing: -.022em; font-weight: 600; color: var(--ink); margin-top: 10px; }
.post p { font-size: 16.5px; margin-top: 10px; }
.post-k { font-size: 13px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--red); }
.post-d { font-size: 15px; color: var(--muted); }
.post::after { content: ""; position: absolute; right: 26px; bottom: 28px; width: 20px; height: 18px; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; opacity: .2; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.post:hover::after { opacity: 1; transform: translateY(-14px) scale(1.25) rotate(-10deg); }
.post.feature, .posts.all > .post:first-child { grid-column: span 2; background: radial-gradient(120% 110% at 90% 0%, #8A1B2E 0%, var(--wine) 50%, #430A16 100%); color: #F7E4DF; }
.post.feature h3, .posts.all > .post:first-child h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.post.feature .post-k, .posts.all > .post:first-child .post-k { color: #F4BFC0; }
.post.feature .post-d, .posts.all > .post:first-child .post-d { color: #E3C6C2; }

/* a dentist's page: their Chinese name behind them */
.ph-bio .ph-pic > img { aspect-ratio: 4 / 5; object-position: 50% 22%; }
.zh-mark { position: absolute; right: -4%; top: 4%; z-index: 0; font-size: clamp(7rem, 17vw, 16rem); line-height: 1; font-weight: 600; letter-spacing: .02em; color: rgba(156, 27, 45, .07); white-space: nowrap; pointer-events: none; writing-mode: vertical-rl; }
.bio-langs { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.bio-langs span { padding: 7px 14px; border-radius: 999px; background: #fff; font-weight: 500; font-size: 15.5px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.people-light .person h3 { color: var(--ink); }
.people-light .person h3 span { color: var(--red); }
.people-light .person p { color: var(--body); }
.staff { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.staff .person-pic { aspect-ratio: 4 / 5; }
.staff h3 { font-size: 1.3rem; font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin-top: 14px; }
.staff p { font-size: 16px; margin-top: 4px; }
.staff .role { color: var(--red); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }

/* a suburb's page: the drive here, drawn */
.route { position: relative; background: #fff; border-radius: var(--r-lg); padding: 26px 26px 18px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.route svg { width: 100%; height: auto; display: block; overflow: visible; }
.route .road { fill: none; stroke: var(--blush); stroke-width: 10; stroke-linecap: round; }
.route .drive { fill: none; stroke: var(--bright); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.route .from { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.route .pin { fill: var(--bright); }
.route text { font: 600 17px var(--sans); fill: var(--ink); }
.route .chip rect { fill: var(--wine); }
.route .chip text { fill: #fff; font-size: 15px; font-weight: 700; }
.motion .route .drive { stroke-dashoffset: 400; opacity: 0; }
.motion .route.is-in .drive { opacity: 1; animation: drive 2.6s cubic-bezier(.45,.05,.3,1) forwards; }
@keyframes drive { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
.motion .route .pin-g { transform: translateY(-40px); opacity: 0; transform-box: fill-box; }
.motion .route.is-in .pin-g { animation: drop .8s 2.1s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes drop { to { transform: none; opacity: 1; } }
/* the suburb pages' real map (19 Nov 2026): the streets a picture, the route drawn over it, the whole a link to Google Maps */
.route-map { padding: 0; background: #F7EFEA; }
.route-go { display: block; position: relative; color: inherit; text-decoration: none; border-radius: inherit; }
.route-go:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; }
.route-map .route-bg { display: block; width: 100%; height: auto; aspect-ratio: 640 / 400; }
.route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.route-map .road { stroke: #fff; stroke-width: 11; stroke-linejoin: round; }
.route-map .trace { fill: none; stroke: var(--bright); stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.route-map .from { stroke-width: 3.5; }
.route-map .pin-halo { fill: #F7EFEA; opacity: .9; }
.route-map .car { display: none; fill: #fff; stroke: var(--bright); stroke-width: 3.5; }
.route-map .lbl { font: 700 22px var(--sans); fill: var(--ink); paint-order: stroke; stroke: #F7EFEA; stroke-width: 6px; stroke-linejoin: round; }
.route-map .chip text { font-size: 19px; }
.route-cta { position: absolute; right: 14px; bottom: 14px; background: var(--wine); color: #fff; font-weight: 700; font-size: 15px; line-height: 1; padding: 11px 16px; border-radius: 999px; box-shadow: 0 6px 18px rgba(80, 20, 30, .18); transition: background-color .2s; }
.route-go:hover .route-cta, .route-go:focus-visible .route-cta { background: var(--bright); }
.route-osm { position: absolute; left: 10px; bottom: 8px; font-size: 11px; line-height: 1; }
.route-osm a { color: var(--muted); text-decoration: none; background: rgba(247, 239, 234, .85); padding: 3px 5px; border-radius: 4px; }
.motion .route-map .trace { stroke-dasharray: 1; stroke-dashoffset: 1; }
.motion .route-map.is-in .trace { animation: trace 2.6s cubic-bezier(.45,.05,.3,1) forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.motion .route-map .car { display: block; opacity: 0; }
.motion .route-map.is-in .car { animation: car 2.9s linear forwards; }
@keyframes car { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 560px) { .route-cta { right: 10px; bottom: 10px; font-size: 13.5px; padding: 9px 13px; } .route-osm { font-size: 10px; } }
.motion .route .chip { opacity: 0; transition: opacity .5s 1.2s; }
.motion .route.is-in .chip { opacity: 1; }

/* specials: a gift tag, swung into place */
.offer { position: relative; display: grid; gap: 6px; padding: 34px 34px 30px 92px; border-radius: 28px 28px 28px 28px; background: radial-gradient(120% 120% at 100% 0%, #8A1B2E 0%, var(--wine) 55%, #430A16 100%); color: #F7E4DF; transform-origin: 40px 50%; }
.offer::before { content: ""; position: absolute; left: 30px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .3); }
.offer::after { content: ""; position: absolute; left: -46px; top: 50%; width: 80px; height: 2px; background: var(--red); transform: rotate(-8deg); transform-origin: 100% 50%; }
.offer-k { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #F4BFC0; }
.offer-name { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; color: #fff; }
.offer-price { display: flex; align-items: baseline; gap: 14px; margin-top: 6px; }
.offer-price b { font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.04em; font-weight: 600; color: #fff; }
.offer-price s { font-size: 1.2rem; color: #E3C6C2; }
.offer-terms { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); display: grid; gap: 6px; font-size: 15.5px; color: #F0D9D5; }
.offer-terms li { padding-left: 18px; position: relative; }
.offer-ended { margin-top: 10px; padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; font-size: 16px; }
.offer.is-ended { background: radial-gradient(120% 120% at 100% 0%, #6E4A50 0%, #4A2A30 55%, #32181D 100%); }
.offer.is-ended .offer-price b { color: #E9D4D0; }
.offer-terms li::before { content: "*"; position: absolute; left: 2px; color: #F4BFC0; }
.motion .offer { transform: rotate(-4deg) translateY(10px); opacity: 0; transition: none; }
.motion .offer.is-in { animation: swing 1.6s cubic-bezier(.3,1.2,.4,1) forwards; }
@keyframes swing { 0% { transform: rotate(-9deg) translateY(16px); opacity: 0; } 30% { opacity: 1; } 55% { transform: rotate(3deg); } 78% { transform: rotate(-1.4deg); } 100% { transform: none; opacity: 1; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--blush); box-shadow: inset 0 0 0 1px var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) sepia(.12); }
.get-here { display: grid; gap: 14px; }
.get-here .reason p { margin-top: 6px; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: 0 24px 60px rgba(92, 16, 32, .1); }
.form-card h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; color: var(--ink); }
.form-card > p { margin-top: 10px; }
.enq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.enq label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: 16px; }
.enq .full { grid-column: 1 / -1; }
.enq input, .enq select, .enq textarea { font: inherit; font-size: 17px; color: var(--ink); background: var(--ground); border: 1.5px solid rgba(42, 18, 22, .16); border-radius: 14px; padding: 13px 16px; width: 100%; }
.enq textarea { min-height: 130px; resize: vertical; }
.enq input:focus, .enq select:focus, .enq textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(208, 32, 47, .14); }
.enq-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.enq-foot small { font-size: 14.5px; color: var(--muted); max-width: 30em; }
.enq button { font: inherit; border: 0; cursor: pointer; }
[data-enquiry-error] { grid-column: 1 / -1; color: var(--red); font-weight: 600; }
[data-enquiry-done] { grid-column: 1 / -1; background: var(--blush); border-radius: var(--r-md); padding: 24px; color: var(--ink); }
.embed { border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(92, 16, 32, .1); }
.embed iframe { display: block; width: 100%; border: 0; min-height: 1100px; }

/* the end of the road: thank you, not found */
.fin { position: relative; overflow: clip; min-height: min(78vh, 760px); display: grid; place-items: center; text-align: center; padding: clamp(80px, 10vw, 120px) 0; background: radial-gradient(80% 90% at 50% 0%, rgb(var(--wall)) 0%, var(--ground) 100%); }
.fin .wrap { position: relative; z-index: 2; display: grid; justify-items: center; }
.fin .ph-h1 { max-width: 12em; }
.fin .lede { margin-top: 18px; max-width: 28em; }
.fin .btns { justify-content: center; margin-top: 30px; }
.fin-mark { width: 104px; height: auto; margin-bottom: 24px; filter: drop-shadow(0 16px 22px rgba(92, 16, 32, .2)); }
.mend { position: relative; width: 150px; height: 136px; margin-bottom: 26px; }
.mend i { position: absolute; inset: 0; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; filter: drop-shadow(0 18px 24px rgba(92, 16, 32, .25)); }
.mend i:first-child { clip-path: polygon(0 0, 50% 0, 44% 22%, 56% 40%, 44% 60%, 52% 78%, 50% 100%, 0 100%); }
.mend i:last-child { clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%, 52% 78%, 44% 60%, 56% 40%, 44% 22%); }
.motion .mend i:first-child { animation: mend-l 1.4s .5s cubic-bezier(.5,0,.2,1) backwards; }
.motion .mend i:last-child { animation: mend-r 1.4s .5s cubic-bezier(.5,0,.2,1) backwards; }
.motion .mend { animation: thump 1.4s 2.1s ease-in-out infinite; }
@keyframes mend-l { from { transform: translate(-26px, 10px) rotate(-14deg); } }
@keyframes mend-r { from { transform: translate(26px, 10px) rotate(14deg); } }

@media (max-width: 1100px) {
  .pg-grid { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
  .cards, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .inner { padding-bottom: 66px; }
  .ph-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ph-pic > img { aspect-ratio: 4 / 3; }
  .ph-bio .ph-pic > img { aspect-ratio: 4 / 4.4; }
  .ph-pic .pic-tag { left: 14px; bottom: 14px; }
  .ph .btns { display: none; }
  .ph-h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .crumbs { margin-bottom: 18px; font-size: 14.5px; }
  .beat .bl { flex-grow: .06; }
  .reasons, .contact-grid, .prose .cards { grid-template-columns: minmax(0, 1fr); }
  .side { grid-template-columns: minmax(0, 1fr); }
  .cards, .posts { grid-template-columns: repeat(3, 80%); overflow-x: auto; margin-inline: calc((100vw - var(--wrap)) / -2); padding-inline: calc((100vw - var(--wrap)) / 2); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hub-cards .cards, .posts.all { grid-template-columns: minmax(0, 1fr); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .cards > *, .posts > * { scroll-snap-align: center; }
  .post.feature, .posts.all > .post:first-child { grid-column: auto; }
  .enq { grid-template-columns: minmax(0, 1fr); }
  .map { min-height: 320px; }
  .zh-mark { font-size: 6rem; right: -2%; top: auto; bottom: 10%; }
  .offer { padding: 30px 24px 26px 70px; }
  .offer::before { left: 22px; }
  .staff { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 560px) {
  .note { padding: 70px 22px 22px; }
  .note::before { left: 22px; top: 24px; }
  .ls-signs { padding: 22px 20px; }
  .side-card { padding: 24px 22px; }
  .tbl table { font-size: 15px; }
  .tbl th, .tbl td { padding: 12px 12px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ════════════ the menu: a heart where you point, the dentists in hearts ════════════ */
.nav > ul > li > a { position: relative; }
.nav > ul > li > a::after { content: ""; position: absolute; right: 3px; top: -1px; width: 11px; height: 10px; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; opacity: 0; transform: translateY(5px) scale(.3) rotate(0deg); transition: opacity .2s, transform .35s cubic-bezier(.3,1.7,.5,1); pointer-events: none; }
.nav > ul > li:hover > a::after, .nav > ul > li:focus-within > a::after, .nav > ul > li > a[aria-current]::after { opacity: 1; transform: translateY(-2px) scale(1) rotate(14deg); }
.nav > ul > li > a[aria-current] { background: none; box-shadow: none; color: var(--red); }
.nav > ul > li:hover > a[aria-current] { background: rgba(255, 255, 255, .7); }
.sub li > a:not(.doc) { position: relative; transition: padding .22s cubic-bezier(.3,1.4,.5,1), background-color .15s, color .15s; }
.sub li > a:not(.doc)::before { content: ""; position: absolute; left: 9px; top: 50%; width: 10px; height: 9px; margin-top: -4.5px; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; opacity: 0; transform: translateX(-6px) scale(.4); transition: opacity .18s, transform .3s cubic-bezier(.3,1.7,.5,1); }
.sub li > a:not(.doc):hover, .sub li > a:not(.doc):focus-visible { padding-left: 26px; }
.sub li > a:not(.doc):hover::before, .sub li > a:not(.doc):focus-visible::before { opacity: 1; transform: none; }
.docs-mega { grid-template-columns: 210px auto; gap: 18px 30px; padding: 26px 26px 22px 24px; align-items: start; }
.docs-mega .docs-links ul { margin-top: 6px; }
.docs-k { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 8px 0 6px 12px; }
.docs { display: flex; gap: 4px; }
.docs-mega .doc { position: relative; display: grid; justify-items: center; gap: 1px; width: 156px; padding: 16px 8px 14px; border-radius: 20px; text-align: center; color: var(--ink); font-size: 15.5px; }
.docs-mega .doc:hover, .docs-mega .doc:focus-visible { background: var(--ground); color: var(--ink); }
.doc-pic { position: relative; display: block; width: 116px; aspect-ratio: 32 / 29; margin-bottom: 12px; }
.doc-pic::before { content: ""; position: absolute; inset: -5px -7px -9px -5px; background: var(--blush); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; transform: rotate(-9deg); transition: transform .5s cubic-bezier(.3,1.5,.5,1), background-color .3s; }
.doc-pic img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }
.doc-name { font-weight: 600; letter-spacing: -.01em; }
.doc-zh { font-size: 14px; color: var(--red); }
.doc-zh:empty { display: none; }
.docs-mega .doc::before, .docs-mega .doc::after { content: ""; position: absolute; top: 34px; width: 14px; height: 13px; background: var(--bright); -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; opacity: 0; pointer-events: none; }
.docs-mega .doc::before { left: 14px; }
.docs-mega .doc::after { right: 16px; top: 50px; width: 10px; height: 9px; background: #F2A7A2; }
.doc:hover .doc-pic::before, .doc:focus-visible .doc-pic::before { transform: rotate(8deg) scale(1.07); background: #F6C9C6; }
.motion .doc:hover .doc-pic img, .motion .doc:focus-visible .doc-pic img { animation: thump 1.15s ease-in-out; }
.motion .docs-mega .doc:hover::before, .motion .docs-mega .doc:focus-visible::before { animation: float-heart 1.3s ease-out forwards; }
.motion .docs-mega .doc:hover::after, .motion .docs-mega .doc:focus-visible::after { animation: float-heart 1.3s .2s ease-out forwards; }
@keyframes float-heart { 0% { opacity: 0; transform: translateY(16px) scale(.5); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px) scale(1.15) rotate(-14deg); } }
.menu-k { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 4px 0 6px; }
.menu-docs { display: grid; gap: 2px; padding-bottom: 16px !important; }
.menu .menu-docs a { display: flex; align-items: center; gap: 14px; padding: 6px 0; color: var(--ink); }
.md-pic { flex: none; width: 46px; aspect-ratio: 32 / 29; }
.md-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; -webkit-mask: var(--heart) center / contain no-repeat; mask: var(--heart) center / contain no-repeat; }
.menu-docs [lang] { color: var(--red); font-size: .9em; }

/* ════════════ 中文: the Chinese pages (zh/, and the pages that were Chinese already) ════════════ */
/* the practice's own opening hours (content/) arrive as Mon/am; the days and the half of the day are named here */
.zd[data-d="Mon"]::before { content: "周一"; }
.zd[data-d="Tue"]::before { content: "周二"; }
.zd[data-d="Wed"]::before { content: "周三"; }
.zd[data-d="Thu"]::before { content: "周四"; }
.zd[data-d="Fri"]::before { content: "周五"; }
.zd[data-d="Sat"]::before { content: "周六"; }
.zd[data-d="Sun"]::before { content: "周日"; }
.zt[data-ap="am"]::before { content: "上午"; }
.zt[data-ap="pm"]::before { content: "下午"; }
.fact-hours .zt, .zh-time { font-variant-numeric: tabular-nums; }
.zh-time { white-space: nowrap; }
/* Chinese characters fill their square: no tightened tracking, a little more air between lines */
html[lang="zh-Hans"] body { line-height: 1.8; }
html[lang="zh-Hans"] :is(.display, .h2, .ph-h1, .welcome-line, .lede, .card h3, .card .big, .tcard h3, .person h3, .prose h2, .prose h3, .quote blockquote, .qa summary, .hcard h3, .tx h3, .post h3, .offer-name, .offer-price b, .form-card h2, .menu summary, .menu-link, .btn, .fact-v, .fs-v, .doc-name, .note h2, .staff h3, .hero-sub) { letter-spacing: 0; }
html[lang="zh-Hans"] :is(.display, .h2, .ph-h1, .welcome-line, .card .big) { line-height: 1.16; }
html[lang="zh-Hans"] :is(.prose h2, .card h3, .tcard h3, .quote blockquote, .offer-name, .form-card h2) { line-height: 1.3; }
html[lang="zh-Hans"] :is(.eyebrow, .fact-k, .fs-k, .side-k, .side-more h2, .post-k, .docs-k, .menu-k, .offer-k, .staff .role) { letter-spacing: .08em; }
html[lang="zh-Hans"] .ph-h1 { font-size: clamp(2.5rem, 4.8vw, 4.6rem); }
html[lang="zh-Hans"] .display { font-size: clamp(3rem, 6.2vw, 6.4rem); }
/* the hero's two phrases each keep to one line beside the sign (the English caps it at 4.7 letters' width) */
html[lang="zh-Hans"] .hero-words .display { max-width: none; white-space: nowrap; font-size: clamp(3rem, 5.6vw, 6.4rem); }
html[lang="zh-Hans"] .hero-zh { letter-spacing: .04em; }
html[lang="zh-Hans"] .prose :is(p, li) { line-height: 1.85; }
html[lang="zh-Hans"] .head-link[lang="en"] { font-size: 15.5px; }
