:root {
  --paper: #fbfaf6;
  --soft: #eef1e9;
  --ink: #16312c;
  --muted: #607069;
  --line: #d7ded6;
  --sage: #718873;
  --sage-dark: #45604e;
  --deep: #12352d;
  --accent: #b75a3d;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-cn: "Noto Serif SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.58 var(--font-body); }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
h1 { font-size: clamp(46px, 5vw, 72px); margin-bottom: 20px; }
h2 { font-size: clamp(35px, 3.5vw, 52px); margin-bottom: 18px; }
h3 { font-size: 25px; margin-bottom: 9px; }

.skip-link { position: fixed; z-index: 100; top: -54px; left: 14px; padding: 10px 14px; color: #fff; background: var(--deep); transition: top .2s; }
.skip-link:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 28px; padding: 0 clamp(24px, 5.5vw, 92px); border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 500 clamp(22px, 2.2vw, 32px)/1 var(--font-display); text-decoration: none; white-space: nowrap; }
.brand [lang="zh-Hans"] { font-family: var(--font-cn); font-size: .72em; }
.brand-divider { height: 20px; border-left: 1px solid #aeb8b0; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); font-size: 14px; }
.site-nav > a:not(.button), .language-toggle { position: relative; border: 0; padding: 11px 0; color: inherit; background: none; font: inherit; text-decoration: none; cursor: pointer; }
.site-nav > a:not(.button)::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: var(--sage-dark); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.site-nav > a:not(.button):hover::after, .site-nav > a:not(.button):focus-visible::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.language-toggle { color: var(--sage-dark); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 12px 22px; border: 1px solid var(--sage-dark); border-radius: 3px; color: #fff; background: var(--sage-dark); font: 500 15px var(--font-body); text-decoration: none; cursor: pointer; transition: background .18s, transform .18s; }
.button:hover, .button:focus-visible { background: var(--deep); transform: translateY(-1px); }
.button-outline { color: var(--sage-dark); background: transparent; }
.button-outline:hover, .button-outline:focus-visible { color: #fff; background: var(--sage-dark); }
.button-small { min-height: 43px; padding: 9px 17px; }
.menu-toggle { display: none; padding: 9px; border: 0; color: var(--ink); background: none; }
.menu-toggle svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.nav-backdrop { display: none; }

.hero { display: grid; grid-template-columns: minmax(460px, 50%) 1fr; min-height: 530px; background: var(--paper); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(46px, 6vw, 82px) clamp(28px, 6vw, 92px); }
.hero-copy .section-label::after, .callout .section-label::after { display: block; width: 52px; height: 2px; margin-top: 12px; background: var(--accent); content: ""; }
.hero-copy > p:not(.section-label) { max-width: 475px; margin-bottom: 26px; color: #40524c; font-size: 17px; }
.hero-image { width: 100%; height: 100%; min-height: 530px; object-fit: cover; object-position: 58% center; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.section-label { margin-bottom: 12px; color: var(--sage-dark); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.section { max-width: 1390px; margin: 0 auto; padding: clamp(54px, 6vw, 82px) clamp(24px, 7vw, 104px); }
.clinic-facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1390px; margin: 0 auto; padding: 23px clamp(24px, 5.5vw, 92px); border-bottom: 1px solid var(--line); background: var(--soft); }
.clinic-facts > div { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 24px; border-left: 1px solid #cbd3c8; }
.clinic-facts > div:first-child { padding-left: 0; border-left: 0; }
.fact-mark { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border: 1px solid #879b87; border-radius: 50%; color: var(--deep); font: 500 20px/1 var(--font-display); }
.fact-mark-wide { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.clinic-facts p { display: grid; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.clinic-facts strong { color: var(--ink); font: 500 20px/1.1 var(--font-display); }
.split-intro { display: grid; grid-template-columns: minmax(0, .83fr) minmax(280px, .65fr); gap: clamp(45px, 10vw, 150px); align-items: end; }
.split-intro p:last-child { max-width: 420px; color: var(--muted); font-size: 17px; }
.link-rail { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.link-rail a { display: grid; min-height: 164px; grid-template-columns: 1fr auto; gap: 18px; align-items: end; padding: 25px 27px; border-left: 1px solid var(--line); color: inherit; text-decoration: none; }
.link-rail a:first-child { border-left: 0; }
.link-rail a:hover { background: var(--soft); }
.link-rail p { margin: 0; color: var(--muted); font-size: 14px; }
.arrow { color: var(--sage-dark); font-size: 27px; }
.callout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 38px; align-items: center; padding: clamp(42px, 5vw, 66px) clamp(24px, 7vw, 104px); color: #fff; background: var(--deep); }
.callout h2 { margin-bottom: 10px; font-size: clamp(34px, 3.3vw, 49px); }
.callout p:not(.section-label) { max-width: 570px; margin: 0; color: #dce6df; }
.callout .section-label { color: #b9cdbd; }
.callout .button { justify-self: start; color: var(--deep); border-color: #fff; background: #fff; }
.callout .button:hover { color: #fff; background: transparent; }

.page-hero { padding: clamp(48px, 6vw, 76px) clamp(24px, 7vw, 104px) clamp(43px, 5vw, 66px); border-bottom: 1px solid var(--line); }
.page-hero > div { max-width: 1390px; margin: auto; }
.page-hero p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.content-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(280px, .57fr); gap: clamp(50px, 11vw, 170px); align-items: start; }
.content-grid p { color: var(--muted); font-size: 17px; }
.fact-panel { padding: 34px; background: var(--soft); }
.fact-panel h2 { font-size: 37px; }
.fact-panel ul { margin: 0; padding: 0; list-style: none; }
.fact-panel li { padding: 16px 0; border-top: 1px solid #ccd8ce; }
.fact-panel li:first-child { border-top: 0; }
.about-aside { display: grid; gap: 22px; }
.clinic-photo { margin: 0; }
.clinic-photo img { display: block; width: 100%; min-height: 260px; object-fit: cover; object-position: center; }
.service-list { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.service-list li { display: grid; grid-template-columns: 56px 1fr; gap: 25px; padding: 29px 0; border-bottom: 1px solid var(--line); }
.service-list span { color: var(--sage-dark); font: 400 21px var(--font-display); }
.service-list p { margin: 0; color: var(--muted); }
.visit-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .56fr); gap: clamp(42px, 8vw, 112px); align-items: start; }
.visit-note { margin-top: 28px; padding: 34px; background: var(--soft); }
.visit-note h2 { font-size: 35px; }
.visit-note ul { margin: 0; padding-left: 19px; color: var(--muted); }
.visit-note li { margin: 10px 0; padding-left: 5px; }
.small-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

.contact-layout { display: grid; grid-template-columns: minmax(280px, .58fr) minmax(450px, 1fr); gap: clamp(42px, 7vw, 105px); align-items: stretch; }
.contact-details { margin-top: 24px; border-top: 1px solid var(--line); }
.contact-details p { display: grid; gap: 3px; margin: 0; padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-details strong { color: var(--sage-dark); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.contact-details a { text-underline-offset: 3px; }
.map-frame { width: 100%; min-height: 430px; border: 0; background: var(--soft); }
.hours-panel { margin-top: 34px; padding: 26px 28px; background: var(--soft); }
.hours-panel dl { margin: 0; }
.hours-panel dl > div { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 10px 0; border-top: 1px solid #cbd3c8; }
.hours-panel dt, .hours-panel dd { margin: 0; font-size: 13px; }
.hours-panel dd { color: var(--sage-dark); font-weight: 600; white-space: nowrap; }
.enquiry-section { max-width: 1390px; margin: 0 auto; padding: 0 clamp(24px, 7vw, 104px) clamp(54px, 6vw, 82px); }
.enquiry-wrap { max-width: 900px; padding-top: clamp(50px, 5vw, 70px); border-top: 1px solid var(--line); }
.enquiry-form { display: grid; gap: 19px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.enquiry-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.enquiry-form input:not([type="checkbox"]), .enquiry-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #bfc9c0; border-radius: 2px; color: var(--ink); background: #fff; font: 400 16px var(--font-body); }
.enquiry-form textarea { min-height: 148px; resize: vertical; }
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: 2px solid #8ca391; outline-offset: 2px; }
.consent { display: flex !important; align-items: flex-start; gap: 9px !important; color: var(--muted); font-weight: 400 !important; }
.consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--sage-dark); }
.form-status { min-height: 21px; margin: -6px 0 0; color: var(--sage-dark); font-size: 14px; font-weight: 600; }
.form-status.error { color: #9d3d2c; }
.form-note { margin: -11px 0 0; color: var(--muted); font-size: 13px; }

.site-footer { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 24px; align-items: center; padding: 30px clamp(24px, 5.5vw, 92px); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); font-size: 22px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer > a:last-child { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--sage-dark); outline-offset: 3px; }

@media (max-width: 940px) {
  .site-header { min-height: 74px; padding: 0 23px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; z-index: 22; top: 74px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 13px 23px 23px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 15px 25px rgba(18, 53, 45, .13); }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button), .language-toggle { padding: 13px 0; text-align: left; }
  .site-nav .button { margin-top: 9px; }
  .nav-backdrop.is-open { position: fixed; z-index: 10; inset: 74px 0 0; display: block; background: rgba(18, 53, 45, .11); }
  .hero { grid-template-columns: 50% 50%; min-height: 510px; }
  .hero-image { min-height: 510px; }
  .hero-copy { padding: 48px 38px; }
  .clinic-facts { grid-template-columns: 1fr 1fr; padding-top: 10px; padding-bottom: 10px; }
  .clinic-facts > div:nth-child(3) { border-left: 0; }
  .link-rail, .content-grid, .contact-layout, .visit-layout { grid-template-columns: 1fr; }
  .link-rail { max-width: 570px; }
  .link-rail a { min-height: 0; border-bottom: 1px solid var(--line); border-left: 0; }
  .link-rail a:last-child { border-bottom: 0; }
  .contact-layout { gap: 38px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer p { text-align: left; }
}

@media (max-width: 640px) {
  .brand { font-size: 22px; gap: 7px; }
  .brand [lang="zh-Hans"], .brand-divider { display: none; }
  .site-header { padding: 0 18px; }
  .site-nav { padding-right: 18px; padding-left: 18px; }
  .hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .hero-image { height: 280px; min-height: 0; }
  .hero-copy { min-height: 0; padding: 40px 24px 45px; }
  h1 { font-size: 47px; }
  h2 { font-size: 39px; }
  .hero-copy > p, .page-hero p:last-child { font-size: 16px; }
  .clinic-facts { grid-template-columns: 1fr; padding: 0 24px; }
  .clinic-facts > div { padding: 16px 0; border-top: 1px solid #cbd3c8; border-left: 0; }
  .clinic-facts > div:first-child { border-top: 0; }
  .section { padding: 52px 24px; }
  .split-intro { grid-template-columns: 1fr; gap: 17px; }
  .callout { grid-template-columns: 1fr; padding: 46px 24px; }
  .page-hero { padding: 50px 24px 43px; }
  .content-grid { gap: 42px; }
  .fact-panel { padding: 30px 25px; }
  .contact-layout { gap: 35px; }
  .hours-panel { padding: 23px 21px; }
  .hours-panel dl > div { grid-template-columns: 1fr; gap: 2px; }
  .map-frame { min-height: 330px; }
  .enquiry-section { padding-right: 24px; padding-left: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 19px; }
  .site-footer { padding: 34px 24px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
