:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --white: #fffefa;
  --ink: #172e29;
  --muted: #495f57;
  --green: #215c4a;
  --pale: #e7eee5;
  --line: #ccd6cc;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6; }
a { color: var(--green); text-underline-offset: .18em; }
a:hover { color: #102f25; }
a:focus-visible, summary:focus-visible { outline: 3px solid #8e5b20; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.035em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: 1rem; left: 1rem; padding: .6rem 1rem; background: var(--white); transform: translateY(-180%); z-index: 1; }
.skip:focus { transform: none; }
.top { background: var(--white); border-bottom: 1px solid var(--line); }
.top-inner, .foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.top-inner { min-height: 78px; }
.top nav, .foot-inner > div { display: flex; align-items: center; flex-wrap: wrap; gap: 1.35rem; }
.top a, .foot a { text-decoration: none; }
.top a:hover, .foot a:hover { text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; background: var(--ink); color: var(--white); border-radius: 50%; font-size: .72rem; letter-spacing: .06em; }
.top nav a { color: var(--ink); font-size: .93rem; }
.top .nav-directory { border: 1px solid var(--line); border-radius: 5px; padding: .42rem .8rem; }
.hero { padding: 40px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--pale); min-height: 479px; }
.hero-copy { padding: clamp(2rem, 5vw, 4.3rem); align-self: center; }
.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.hero h1 { font-size: clamp(3rem, 5.2vw, 5rem); margin: .8rem 0 1.25rem; max-width: 11ch; }
.hero-copy > p:not(.eyebrow), .visit p { color: var(--muted); max-width: 45ch; }
.hero-photo { min-height: 280px; position: relative; background: #bdcfc1; }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.actions { margin-top: 1.75rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.button { background: var(--green); color: white; padding: .62rem 1rem; border-radius: 4px; text-decoration: none; font-weight: 600; }
.button:hover { background: var(--ink); color: white; }
.soft-link { font-weight: 600; font-size: .93rem; }
.home-section { margin-block: 48px; }
.agency-profile { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); }
.agency-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.4rem, 4vw, 3rem); }
.agency-intro-copy h2 { margin: .55rem 0 1rem; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.agency-intro-copy > p:not(.eyebrow) { color: var(--muted); margin-top: .75rem; }
.agency-facts { display: grid; align-content: center; }
.agency-fact { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.agency-fact:last-child { border-bottom: 0; }
.agency-fact strong { display: block; font-size: .9rem; }
.agency-fact span { display: block; margin-top: .25rem; color: var(--muted); font-size: .92rem; }
.agency-process-wrap { padding: 1.15rem clamp(1.4rem, 4vw, 3rem) 1.4rem; background: var(--pale); }
.agency-process-wrap h3 { margin-bottom: .85rem; font-size: 1rem; }
.agency-process { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; list-style: none; padding: 0; margin: 0; }
.agency-process li { padding: .65rem .5rem; text-align: center; background: var(--white); border: 1px solid var(--line); font-size: .88rem; }
@media (max-width: 800px) { .agency-intro { grid-template-columns: 1fr; } .agency-process { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .agency-process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.home-section > h2 { margin-bottom: 1.4rem; }
.care-examples > h2 { margin-bottom: .65rem; }
.care-examples-note { color: var(--muted); margin-bottom: 1.25rem; }
.care-examples-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 700px) {
  .care-examples-grid { grid-template-columns: 1fr; }
}
.care-example {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  padding: clamp(1rem, 3vw, 1.5rem);
}
.care-example h3 { font-size: 1.08rem; line-height: 1.4; margin-bottom: .55rem; }
.care-example ul { list-style: none; padding: 0; margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.care-example li + li { margin-top: .5rem; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); text-decoration: none; background: var(--white); color: var(--ink); min-width: 0; }
.card:hover { background: var(--pale); border-color: var(--green); }
.card img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.card-copy { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .45rem; }
.card h3 { font-size: 1.05rem; line-height: 1.3; }
.card p { color: var(--muted); font-size: .91rem; }
.card p:empty { display: none; }
.card-copy span { margin-top: auto; align-self: flex-end; color: var(--green); }
.visit { background: var(--ink); color: var(--white); padding: clamp(1.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.visit p { color: #d8e4db; margin-top: .8rem; }
.visit-links a { display: flex; justify-content: space-between; color: var(--white); text-decoration: none; border-bottom: 1px solid #5b7568; padding: .62rem 0; gap: .75rem; }
.visit-links a:hover { text-decoration: underline; }
.foot { border-top: 1px solid var(--line); padding-block: 1.5rem; color: var(--muted); font-size: .9rem; }
.page-head { background: var(--pale); padding: clamp(1.8rem, 5vw, 4rem) 0; }
.page-head h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); margin-top: .6rem; overflow-wrap: anywhere; }
.reading { max-width: 950px; padding-block: 2.5rem; overflow-wrap: anywhere; }
.reading .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.reading h2, .reading h3, .reading h4 { margin: 1.1em 0 .55em; }
.reading h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
.reading .card h3 { margin: 0; }
.reading p { margin-block: .75rem; }
.reading img { max-height: 540px; object-fit: contain; margin-block: .7rem; }
.content-section { display: flow-root; margin-bottom: 1.4rem; }
.content-section:empty { display: none; }
.reading details { border-bottom: 1px solid var(--line); padding-block: .65rem; }
.reading summary { cursor: pointer; font-weight: 600; }
.reading table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.reading th, .reading td { border: 1px solid var(--line); padding: .45rem .75rem; text-align: left; }
.reading th, .source-note { background: var(--pale); }
.source-note { padding: .8rem 1rem; margin-bottom: 1.5rem; }
.directory { padding-block: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.directory section { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); overflow-wrap: anywhere; }
.directory h2 { font-size: 1.8rem; }
.directory ul { padding-left: 1.25rem; margin-bottom: 0; }
@media (max-width: 800px) {
  .hero-grid, .visit { grid-template-columns: 1fr; }
  .hero-photo { min-height: 310px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner, .foot-inner { align-items: flex-start; flex-direction: column; padding-block: .9rem; }
  .top nav { gap: .55rem .95rem; }
  .hero { padding-top: 16px; }
  .hero-photo { min-height: 250px; }
  .directory { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .cards { grid-template-columns: 1fr; }
}

.language-switch { display: inline-block; padding: .34rem .66rem; border: 1px solid var(--line); border-radius: 4px; font-size: .86rem !important; font-weight: 700; }
.zh-overview { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.zh-overview h2 { font-family: var(--font, 'DM Sans', 'Segoe UI', sans-serif); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0 0 .5rem; }
.zh-overview p { margin: 0; }
.page-en-title, .directory-en { display: block; color: var(--muted); font-size: .92rem; margin-top: .35rem; }
.english-content { background: var(--white); border: 1px solid var(--line); padding: 1.1rem 1.25rem; }
.english-content summary { cursor: pointer; color: var(--green); font-weight: 700; }
.english-reading { padding-top: 1rem; }
.english-reading img { max-width: 100%; }
.consultation-panel { background: var(--white); border: 1px solid var(--line); padding: clamp(1.25rem, 3vw, 2rem); }
.reading .consultation-panel { max-width: 720px; margin: 1.8rem auto; }
.consultation-form { display: grid !important; grid-template-columns: 1fr; gap: 1rem; width: 100%; max-width: 680px; margin-top: 1.2rem; }
.consultation-form > label:not(.consent) { display: grid !important; grid-template-columns: 1fr; gap: .4rem; width: 100%; font-weight: 600; }
.consultation-form input:not([type="checkbox"]), .consultation-form select, .consultation-form textarea { display: block; width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 3px; padding: .7rem .8rem; color: var(--ink); background: var(--white); font: inherit; }
.consultation-form textarea { resize: vertical; }
.consultation-form .consent { display: flex !important; align-items: flex-start; gap: .55rem; font-weight: 400; }
.consultation-form .consent input { margin-top: .35rem; flex: 0 0 auto; }
.consultation-form button { justify-self: start; }
.form-notice { padding: .8rem 1rem; background: var(--pale); border-left: 3px solid var(--green); }
.form-status { min-height: 1.5em; color: var(--green); }
.translation-notice { margin: 0 auto 1.25rem; max-width: 950px; padding: .75rem 1rem; color: var(--muted); background: var(--pale); border-left: 3px solid var(--green); font-size: .9rem; }
.english-reading .content-section { margin-bottom: 1.4rem; }
.directory-en { font-size: .82rem; }
@media (max-width: 800px) { .top nav { gap: .65rem 1rem; } }
