:root {
  color-scheme: light;
  --paper: #fbf8ef;
  --ink: #25382b;
  --green: #244634;
  --muted: #535e51;
  --line: #dedccd;
  --serif: "Songti SC", "Noto Serif CJK SC", Georgia, serif;
}

* { box-sizing: border-box; }
html {
  background: #e5e5dc;
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}
body {
  max-width: 1200px;
  margin: auto;
  padding-bottom: calc(69px + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 system-ui, sans-serif;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.24; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.17rem; }
p { color: var(--muted); }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #986144; outline-offset: 3px; }

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  padding: .9rem 1.15rem;
}
.brand a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: .55rem;
  text-decoration: none;
}
.seal {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.35rem;
  border: 1px solid currentColor;
  border-radius: 5px;
  color: #914c38;
  font: 700 1.48rem var(--serif);
}
.brand strong { font: 700 1.35rem var(--serif); }
.brand small { font: 600 .56rem/1.25 Georgia, serif; letter-spacing: .07em; }
#language {
  min-height: 44px;
  padding: .25rem .6rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  font-size: .85rem;
}
nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 .55rem;
  border-top: 1px solid var(--line);
}
nav a {
  display: grid;
  align-content: center;
  min-height: 46px;
  padding: .25rem .15rem;
  text-align: center;
  text-decoration: none;
  font-size: .84rem;
  line-height: 1.25;
}
nav a:hover { text-decoration: underline; }

.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 100% 10%, #d4dfc4, transparent 65%), linear-gradient(145deg, #f2edda, #e7edda);
  border-block: 1px solid #dbdfcd;
}
.hero-copy {
  position: relative;
  isolation: isolate;
  padding: 2.5rem 1.2rem 2.15rem;
}
.eyebrow {
  font: 700 .73rem/1.45 Georgia, serif;
  letter-spacing: .12em;
  color: var(--green);
}
.hero h1 {
  max-width: 11em;
  text-wrap: balance;
  margin: .65rem 0 .8rem;
  font-size: clamp(1.95rem, 7.7vw, 2.55rem);
}
.hero-copy > p:not(.eyebrow) { max-width: 18em; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.button {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: .5rem .9rem;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #fffdf4;
  text-align: center;
  text-decoration: none;
}
.outline { color: var(--green); background: transparent; }

.botanical {
  position: absolute;
  z-index: -1;
  right: .5rem;
  bottom: -1rem;
  width: 7rem;
  height: 12rem;
  border-right: 1px solid #78916c64;
  border-radius: 0 0 85% 0;
  transform: rotate(22deg);
  pointer-events: none;
}
.botanical i {
  position: absolute;
  right: -.75rem;
  width: 3.8rem;
  height: 1.55rem;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(165deg, #78916c42, #78916c18);
  transform: rotate(-36deg);
}
.botanical i:nth-child(1) { top: 1.2rem; }
.botanical i:nth-child(2) { top: 3rem; right: .4rem; transform: scaleX(-1) rotate(-37deg); }
.botanical i:nth-child(3) { top: 5rem; right: -.35rem; }
.botanical i:nth-child(4) { top: 7rem; right: 1.3rem; transform: scaleX(-1) rotate(-37deg); }

.wrap { width: calc(100% - 2.3rem); margin-inline: auto; }
.section { padding-block: 1.85rem; }
.section-heading { margin-bottom: 1rem; }
section[id], article[id], #wechat, #clinic-address { scroll-margin-top: 1rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: .85rem .7rem .35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
  overflow-wrap: anywhere;
}
.glyph {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: .6rem;
  background: #eaf0e2;
  border-radius: 50%;
  color: var(--green);
  font: 700 1.12rem var(--serif);
}
.card p { margin: .45rem 0; font-size: .94rem; }
.card button {
  margin-top: auto;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: .22em;
}
.feature-band { background: #eeefe4; }
.features, .info-grid { display: grid; gap: .75rem; }
.features article, .info-grid article {
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf7;
}
.features article { border-inline-start: 3px solid #aebda0; }
.features p, .info-grid p, .resource p { margin-top: .55rem; }
.info-grid h3, .resource h3 { margin-top: .9rem; }
.info-grid a { display: inline-block; margin-top: .55rem; }
.resource ol { margin: .7rem 0 0; padding-inline-start: 1.4rem; }
.resource ol > li + li { margin-top: .5rem; }

footer { background: var(--green); color: #fffdf4; }
.contact { display: grid; gap: 1.2rem; padding-block: 1.85rem; }
.contact p { color: #e5ebd9; margin-top: .35rem; }
.contact address { font-style: normal; margin-top: .6rem; }
.contact .button { background: #f2efdf; color: var(--green); }
.contact .outline { background: transparent; border-color: #d7e1ce; color: #fffdf4; }
.contact figure {
  justify-self: start;
  padding: .6rem;
  border-radius: 8px;
  background: #fffdf4;
  color: var(--green);
  text-align: center;
}
.contact figcaption { margin-top: .25rem; }
.mobile-booking {
  position: fixed;
  z-index: 2;
  inset: auto 0 0;
  width: min(100%, 480px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: .6rem;
  padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 -4px 15px #25382b14;
}
dialog {
  width: min(420px, calc(100% - 2rem));
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop { background: #17291db0; }
dialog h2 { padding-right: 1.3rem; }
dialog p { margin: .8rem 0; }
.close {
  position: absolute;
  top: .3rem;
  right: .3rem;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 1.55rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Full-width photographic opening, with live text over a paper-toned wash. */
.hero { position: relative; isolation: isolate; background: #eee8d7; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #f7f3e8 2%, #f7f3e8ef 27%, #f7f3e8ca 48%, #f7f3e81a 82%);
}
.hero-copy { padding-block: 2.15rem 1.8rem; }
.hero h1 { max-width: 6em; font-size: 2.45rem; color: #213e2b; }
.hero-copy > p:not(.eyebrow) { max-width: 60%; color: #334536; }
.section-heading small {
  display: block; font: 600 .7rem/1.5 Georgia, serif;
  letter-spacing: .16em; color: #74603b; margin-bottom: .2rem;
}
.service-grid { gap: .65rem; }
.card { position: relative; padding: .95rem .8rem .38rem; border-radius: 3px 14px 3px 3px; border-top: 2px solid #8d9f7f; }
.card:nth-child(3n + 2) { border-top-color: #b49b72; }
.card:nth-child(3n) { border-top-color: #be998d; }
.glyph { width: 2.65rem; height: 2.65rem; background: #e6eddf; color: #34583b; }
.glyph svg { width: 1.8rem; height: 1.8rem; }
.card:nth-child(3n + 2) .glyph { color: #80643c; background: #f4ebd9; }
.card:nth-child(3n) .glyph { color: #87594a; background: #f3e6df; }
.features article { padding: 0; overflow: hidden; border: none; }
.features article > img { float: right; width: 35%; height: 7.2rem; object-fit: cover; margin: 0 0 .55rem .75rem; border-radius: 0 0 0 2rem; }
.features article > div { padding: 1rem; }
.features article p:last-child { clear: both; border-top: 1px solid var(--line); padding-top: .65rem; }
.map-link { display: inline-flex; align-items: center; min-height: 44px; }
.map-link:hover { text-decoration-thickness: 2px; }
.location-photo { width: min(100%, 19rem); height: auto; margin-top: 1rem; border-radius: 6px; }
.resource ol { list-style: none; counter-reset: photo-step; padding: 0; }
.resource ol > li { position: relative; padding: .75rem 0 .75rem 2.55rem; border-bottom: 1px solid #d2d8c7; counter-increment: photo-step; }
.resource ol > li::before { content: counter(photo-step); position: absolute; left: 0; top: .8rem; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; color: #fffdf4; background: var(--green); font-family: Georgia, serif; }

nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
.directory { clear: both; margin-top: 1.35rem; }
.directory h3 { margin-bottom: .65rem; }
.directory dl { margin: 0; }
.directory dl > div { padding: .8rem 0; border-top: 1px solid var(--line); }
.directory dt { font-weight: 650; color: var(--green); }
.directory dd { margin: .2rem 0 0; color: var(--muted); line-height: 1.65; }
#services .directory { padding: 1.1rem; background: #eeefe2; border-radius: 8px; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-block: 1rem; }
.photo-pair img { width: 100%; height: auto; border-radius: 6px; }
.photo-pair figcaption { margin-top: .35rem; font-size: .87rem; }

/* An editorial masthead and full-bleed botanical cover. */
.header { position: relative; background: #f9f7ef; z-index: 3; }
.brand { min-height: 70px; padding: .8rem 4.15rem .8rem 1.25rem; }
.seal { color: #fff6dd; background: #914e3d; border: 3px double #f3e4cf; }
#language { border: 0; font: .92rem Georgia,serif; text-decoration: underline; text-underline-offset: .28rem; }
.menu > summary { list-style: none; cursor: pointer; position: absolute; top: .85rem; right: .65rem; display: grid; align-content: center; justify-items: center; gap: 4px; width: 44px; height: 44px; }
summary::-webkit-details-marker { display: none; }
.menu b { display: block; height: 1px; width: 20px; background: var(--ink); }
.menu nav { border-bottom: 1px solid var(--line); }
.hero { background: #223429; border: 0; }
.hero-photo { object-position: 67% 40%; }
.hero::before { background: linear-gradient(90deg,#132a22ef,#162e2299 55%,#25382b12),linear-gradient(0deg,#142a2099,transparent 70%); }
.hero-copy { padding: 2.6rem 1.5rem 2.25rem; }
.hero-copy .eyebrow { color: #ede1bd; }
.hero h1 { color: #fffbee; max-width: none; font-size: clamp(2.55rem,10vw,3.4rem); font-weight: 500; letter-spacing: .055em; margin: .8rem 0 1rem; line-height: 1.15; }
.hero h1 span { display: block; }
.hero-copy > p:not(.eyebrow) { color: #f7f2e6; max-width: 18em; }
.hero .actions { align-items: center; gap: 1rem; }
.hero .button { border: 0; background: #eee6d2; color: #21372b; }
.hero-link { color: white; font-size: .92rem; }
.section { padding-block: 2.2rem; }
.section-heading { border-bottom: 1px solid #bfb99f; padding-bottom: .85rem; }
.section-heading h2 { font-weight: 500; }
.card { background: transparent; border: none; border-radius: 0; border-bottom: 1px solid var(--line); padding: .7rem .25rem .3rem; }
.glyph { background: transparent; border: 1px solid #cbcbb9; }
details[open] > summary::after { content: '−'; }
.menu[open] > summary::after { content: none; }
#services .method-list { background: #e9eadf; padding: .35rem 1rem; }
.features article { border-radius: 2px; }
.features article + article { margin-top: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.chips span { background: #eeeade; color: #554c38; padding: .18rem .55rem; font-size: .85rem; border-radius: 2px; }
.scalp dl > div { display: grid; grid-template-columns: 4.5rem 1fr; column-gap: .8rem; }
.scalp img { width: 100%; height: 4.5rem; object-fit: cover; grid-row: span 2; }
.offer { padding-left: .65rem; border-left: 2px solid #c1ac7b; }

/* Reading order for the open, scrollable WeChat page. */
.header .brand { padding-inline: 1.15rem; }
.header nav { border-block: 1px solid var(--line); }
.hero-copy > .hero-position { margin-top: .45rem; color: #eddcb0; font-size: .85rem; }

.concerns { margin-bottom: 1rem; padding: 1rem; background: #eeeade; }
ul.chips { list-style: none; padding: 0; }
.chips li { background: #fbf8ef; padding: .27rem .5rem; border: 1px solid #d9d2bf; font-size: .88rem; }
#services .method-list { padding: .95rem 1rem .45rem; }
.skin-topics dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.skin-topics dl > div { padding-top: 0; border: 0; }
.skin-topics img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: .4rem; }
.care-notes { padding-top: 1rem; margin-top: 1rem; }
.care-steps { padding-inline-start: 1.15rem; margin: .55rem 0 1rem; }
.clinic-intro { padding-bottom: 0; }
.clinic-intro p { margin-top: .6rem; }
.photo-sides { display: flex; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.footer-note { font-size: .86rem; border-top: 1px solid #ffffff40; padding-top: .65rem; }

/* Visual anchors for a page read straight through in WeChat. */
.section-icon {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: #e5ebdf;
  color: #345840;
}
.section-icon svg { width: 1.65rem; height: 1.65rem; }
.section-heading { border-color: #c8bca1; }
#services .method-list { background: #f2eee1; padding: 1.15rem 1rem; }
.method-list dl > div {
  display: grid;
  grid-template-columns: 2.55rem minmax(0,1fr);
  column-gap: .75rem;
}
.method-list .section-icon { grid-row: span 2; background: #faf8ee; border: 1px solid #dbd3bf; }
.method-list dd { grid-column: 2; }
.features article > img {
  width: 100%;
  float: none;
  height: 8.25rem;
  margin: 0;
  border-radius: 0;
  object-position: center 40%;
}
.features article > div { padding: 1.15rem; }
.features article > div > h3:first-child { font-size: 1.4rem; }
.skin-topics dl > div { background: #f4f2e8; padding: .45rem; border-radius: 5px; }
.skin-topics img { border-radius: 3px; }
#insurance > .section-icon, .resource .section-icon, .contact .section-icon { margin-bottom: .55rem; }
.contact .section-icon { background: #385944; color: #f7edce; }
.photo-pair figure {
  position: relative;
  overflow: hidden;
  background: #fbf8ee;
  border: 1px solid #d2d8c7;
  border-radius: 6px;
}
.photo-pair figcaption { margin: 0; padding: .45rem .55rem; }
.photo-sides { padding-inline: .55rem; }
.correct-examples figure::before, .incorrect-examples figure::before {
  position: absolute;
  top: .35rem;
  left: .35rem;
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  color: #fff;
  background: #315b43;
  content: "✓" / "";
}
.incorrect-examples figure::before { background: #8c483c; content: "×" / ""; }

.skip-link {
  position: fixed;
  z-index: 4;
  inset: .75rem auto auto .75rem;
  transform: translateY(calc(-100% - 1rem));
  padding: .65rem 1rem;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
}
.skip-link:focus { transform: none; }

.hero-copy > p.hero-position { max-width: 38em; margin-top: 0; text-wrap: balance; }
.hero-copy > .hero-position ~ p { max-width: 38ch; }

.practitioner-bar { background: #eeefe4; border-bottom: 1px solid var(--line); }
.practitioner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .3rem 1.5rem;
  padding-block: .8rem;
}
.practitioner-content strong {
  display: block;
  font: 700 1.16rem var(--serif);
  color: var(--ink);
}
.practitioner-content span, .practitioner-content a { font-size: .9rem; }
.practitioner-content a { display: inline-flex; align-items: center; min-height: 44px; }

.visit-guide {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 1.6rem;
  padding: 0;
  list-style: none;
}
.visit-guide li {
  margin: 0;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
.visit-guide a { font-weight: 650; }
.button:hover, #language:hover { box-shadow: inset 0 0 0 2px currentColor; }

@media (width < 680px) {
  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 2.85rem);
    letter-spacing: .035em;
  }
}

@media (max-width: 359px) {
  .service-grid { grid-template-columns: 1fr; }
}

@media (min-width: 680px) {
  .wrap { width: min(calc(100% - 4rem), 65rem); }
  .header nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hero-copy { width: min(calc(100% - 4rem), 65rem); margin-inline: auto; padding: 4rem 0; }
  .hero h1 { font-size: clamp(3.4rem, 6vw, 5rem); }
  .service-grid, .visit-guide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .info-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .contact { grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
  .footer-note { grid-column: 1 / -1; }
  .resource > div { max-width: 52rem; }
}

@media (min-width: 960px) {
  .header { display: grid; grid-template-columns: auto 1fr; align-items: stretch; }
  .header .brand { gap: 1.1rem; padding-inline: 2rem 1rem; }
  .header nav { border-block: 0; padding-right: 1.5rem; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .features article + article { margin-top: 0; }
  #services .method-list dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
}
