:root {
  --pine: #124536;
  --pine-deep: #0b3429;
  --pine-soft: #2e6655;
  --red: #b72d24;
  --red-dark: #97251f;
  --ivory: #f8f4eb;
  --paper: #fffdf8;
  --sand: #eee3d2;
  --line: #dfd4c4;
  --gold: #b99a61;
  --jade-wash: #eaf2ee;
  --jade-line: #cedfd7;
  --ink: #24322d;
  --muted: #626b66;
  --shadow: 0 18px 42px rgba(30, 55, 45, 0.09);
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container: min(1180px, calc(100% - 56px));
}

html.lang-zh {
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.lang-zh h1, .lang-zh h2, .lang-zh h3 { font-weight: 600; }
.lang-zh .brand span { letter-spacing: .15em; }
.lang-zh .primary-nav a { font-size: 13px; }
.lang-zh .eyebrow { letter-spacing: .18em; }
.lang-zh .hero h1 { max-width: 700px; font-size: clamp(52px, 4vw, 76px); letter-spacing: .07em; line-height: 1.12; }
.lang-zh .hero-subtitle { font-size: 18px; font-weight: 600; }
.lang-zh .hero-text { font-size: 14px; line-height: 1.8; }
.lang-zh .overview-copy p { font-size: 13px; line-height: 1.8; }
.lang-zh .talent-grid span { font-size: 11px; }
.lang-zh .specialty-card h3 { font-size: 20px; }
.lang-zh .specialty-card p { font-size: 11px; line-height: 1.7; }
.lang-zh .specialty-card a { font-size: 11px; }
.lang-zh .care-model-grid p { font-size: 10px; line-height: 1.7; }
.lang-zh .strength-grid strong { font-size: 14px; }
.lang-zh .strength-grid span { font-size: 10px; }
.lang-zh .planning-steps h3 { font-size: 15px; }
.lang-zh .planning-steps p { font-size: 9px; line-height: 1.65; }
.lang-zh .address-card span { font-size: 10px; }
.lang-zh .address-card strong { font-size: 14px; }
.lang-zh .contact-card span { font-size: 13px; }
.lang-zh .disclaimer { font-size: 10px; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }

button { color: inherit; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.06; }

.container { width: var(--container); margin-inline: auto; }

.section { padding: 66px 0; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

svg:not(.mountain-decoration svg):not(.cta-mountains svg) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 9px 13px;
  color: white;
  background: var(--pine);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(223, 212, 196, 0.8);
  backdrop-filter: blur(14px);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  min-height: 72px;
}

.brand { display: inline-flex; flex-direction: column; width: max-content; color: var(--pine); line-height: 1; }

.brand span {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand small { margin-top: 7px; font-family: var(--serif); font-size: 12px; letter-spacing: 0.32em; }

.primary-nav { display: flex; gap: clamp(18px, 2.1vw, 34px); align-items: center; justify-content: center; }

.primary-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
}

.primary-nav a::after {
  position: absolute;
  right: 50%;
  bottom: 2px;
  left: 50%;
  height: 1px;
  content: "";
  background: var(--red);
  transition: left 0.2s ease, right 0.2s ease;
}

.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; left: 0; }

.header-actions { display: flex; gap: 15px; align-items: center; }

.language { padding: 8px 5px; background: transparent; border: 0; cursor: pointer; font-size: 12px; }

.nav-toggle { display: none; width: 36px; height: 36px; padding: 8px; background: transparent; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }

.nav-toggle i { display: block; height: 1px; margin: 4px 0; background: var(--pine); transition: transform 0.2s ease, opacity 0.2s ease; }

.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-5px) rotate(-45deg); }

.button {
  display: inline-flex;
  min-height: 44px;
  padding: 11px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.button:hover { transform: translateY(-2px); }

.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(183, 45, 36, 0.25); outline-offset: 3px; }

.button-small { min-height: 38px; padding: 9px 17px; }
.button-primary { color: white; background: var(--pine); }
.button-primary:hover { background: var(--pine-deep); box-shadow: 0 9px 24px rgba(18, 69, 54, 0.18); }
.button-outline { color: var(--pine); background: transparent; border-color: var(--pine); }
.button-outline:hover { color: white; background: var(--pine); }
.button-red-outline { color: var(--red); background: rgba(255, 253, 248, 0.72); border-color: var(--red); }
.button-red-outline:hover { color: white; background: var(--red); }
.button-red { color: white; background: var(--red); }
.button-red:hover { background: var(--red-dark); }
.button-light { color: white; background: transparent; border-color: rgba(255, 255, 255, 0.7); }
.button-light:hover { color: var(--pine); background: white; }

.hero { overflow: hidden; border-bottom: 1px solid var(--line); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(560px, 1fr) minmax(560px, 1fr);
  min-height: 500px;
  width: 100%;
  background-color: var(--paper);
  background-image: url("./assets/images/hero-ink-landscape.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: auto 120%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  padding: 62px clamp(22px, 3.2vw, 46px) 48px clamp(28px, calc(4.3vw - 16px), 72px);
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.eyebrow {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow svg { width: 16px; height: 16px; color: var(--pine); stroke-width: 2.2; }

.hero h1 { max-width: 760px; margin-bottom: 12px; color: var(--pine); font-size: clamp(42px, 3.4vw, 68px); letter-spacing: -0.035em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-subtitle { max-width: 620px; margin-bottom: 14px; font-family: var(--serif); font-size: 17px; line-height: 1.35; }
.hero-text { max-width: 600px; margin-bottom: 24px; color: var(--muted); font-size: 14px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.coordination-note { display: flex; gap: 7px; align-items: center; margin: 18px 0 0; color: var(--muted); font-size: 10px; }
.coordination-note svg { width: 18px; height: 18px; color: var(--pine); stroke-width: 2.8; }

.hero-media { position: relative; z-index: 1; min-width: 0; margin: 0 0 0 -180px; overflow: hidden; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 7%, rgba(0,0,0,.35) 16%, rgba(0,0,0,.72) 27%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.08) 7%, rgba(0,0,0,.35) 16%, rgba(0,0,0,.72) 27%, #000 42%);
}
.hero-media figcaption { position: absolute; right: 26px; bottom: 22px; z-index: 2; padding: 10px 18px; color: var(--ink); background: rgba(255, 253, 248, 0.93); border: 1px solid rgba(223, 212, 196, 0.9); box-shadow: 0 8px 22px rgba(0,0,0,.12); font-family: var(--serif); font-size: 13px; }

.facts { padding: 25px 0 12px; background: linear-gradient(180deg, #fffdf8, #f8f4eb); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.facts-grid div { display: flex; min-height: 74px; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.facts-grid div:last-child { border-right: 0; }
.facts-grid strong { color: var(--pine); font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1; }
.facts-grid span { margin-top: 7px; color: var(--muted); font-size: 10px; }
.source-note { margin-top: 8px; margin-bottom: 0; color: #7d817e; font-size: 9px; text-align: right; }

.section-heading { margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 8px; color: var(--pine); font-size: clamp(28px, 2.5vw, 38px); letter-spacing: -0.025em; }
.section-heading > span { display: block; width: 34px; height: 2px; background: var(--red); }

.overview { padding-top: 52px; padding-bottom: 48px; }
.overview-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 40px; align-items: stretch; }
.overview-copy { padding-right: 38px; border-right: 1px solid var(--line); }
.overview-copy .section-heading { margin-bottom: 14px; }
.overview-copy p { max-width: 570px; margin-bottom: 11px; color: var(--muted); font-size: 12px; }
.talent-panel { display: flex; flex-direction: column; justify-content: center; }
.talent-panel > h2 { margin-bottom: 23px; color: var(--pine); font-size: 30px; }
.talent-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.talent-grid article { display: flex; min-width: 0; padding: 2px 10px; flex-direction: column; align-items: center; text-align: center; border-right: 1px solid var(--line); }
.talent-grid article:last-child { border-right: 0; }
.talent-icon { display: block; width: 62px; height: 62px; margin-bottom: 8px; object-fit: cover; border-radius: 10px; }
.talent-grid strong { color: var(--pine); font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1; }
.talent-grid span { margin-top: 5px; font-size: 9px; line-height: 1.35; }

.specialties { padding-top: 0; padding-bottom: 64px; }
.specialty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.specialty-card { display: grid; grid-template-columns: 72px 1fr; gap: 17px; min-height: 150px; padding: 24px 22px; background: rgba(255, 253, 248, 0.72); border: 1px solid var(--line); border-radius: 9px; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; }
.specialty-card:hover { border-color: #c9b89e; box-shadow: 0 12px 26px rgba(40, 60, 51, .07); transform: translateY(-3px); }
.specialty-icon { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 10px; transition: transform .18s ease, filter .18s ease; }
.specialty-card:hover .specialty-icon { filter: saturate(1.04); transform: translateY(-2px); }
.specialty-card h3 { margin-bottom: 8px; color: var(--pine); font-size: 21px; }
.specialty-card p { min-height: 38px; margin-bottom: 10px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.specialty-card a { display: inline-flex; gap: 6px; align-items: center; color: var(--pine); font-size: 10px; font-weight: 800; }
.specialty-card a svg { width: 14px; height: 14px; transition: transform .18s ease; }
.specialty-card a:hover svg { transform: translateX(3px); }

.care-model { position: relative; overflow: hidden; padding: 30px 0 34px; color: white; background: var(--pine); }
.green-heading { margin-bottom: 26px; text-align: center; }
.green-heading h2 { margin-bottom: 8px; color: white; font-size: 34px; }
.green-heading span { display: block; width: 35px; height: 2px; margin: auto; background: var(--red); }
.care-model-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.care-model-grid article { position: relative; z-index: 2; display: grid; grid-template-columns: 62px 1fr; gap: 16px; padding: 5px 24px; border-right: 1px solid rgba(227, 201, 147, 0.34); }
.care-model-grid article:last-child { border-right: 0; }
.care-model-icon { display: block; width: 62px; height: 62px; margin-top: 0; object-fit: cover; border-radius: 11px; }
.care-model-grid h3 { margin-bottom: 8px; color: white; font-size: 18px; line-height: 1.15; }
.care-model-grid p { margin: 0; color: rgba(255,255,255,.7); font-size: 9px; line-height: 1.5; }
.mountain-decoration { position: absolute; right: 0; bottom: -3px; width: 310px; color: rgba(218, 185, 119, 0.32); }
.mountain-decoration svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }
.bamboo-decoration { position: absolute; z-index: 1; width: 110px; height: 250px; opacity: .6; pointer-events: none; }
.bamboo-decoration::before { position: absolute; bottom: -20px; left: 48px; width: 2px; height: 260px; content: ""; background: #caa765; transform: rotate(-6deg); box-shadow: 13px -26px 0 -0.4px #caa765; }
.bamboo-decoration::after { position: absolute; inset: 0; content: ""; background: repeating-linear-gradient(153deg, transparent 0 27px, #caa765 28px 29px, transparent 30px 58px); clip-path: polygon(32% 0, 66% 0, 90% 100%, 8% 100%); }
.bamboo-decoration.left { bottom: -52px; left: -25px; transform: rotate(-6deg); }

.facilities { padding-bottom: 45px; }
.facility-mosaic { display: grid; grid-template-columns: 1.02fr 1.34fr 0.92fr; grid-template-rows: 184px 184px; gap: 12px; }
.facility-card { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.facility-card img { width: 100%; height: calc(100% - 29px); object-fit: cover; transition: transform 0.5s ease; }
.facility-card:hover img { transform: scale(1.025); }
.facility-card figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; min-height: 29px; padding: 6px 10px; align-items: center; justify-content: center; gap: 6px; color: var(--ink); background: rgba(255, 253, 248, .97); font-family: var(--serif); font-size: 11px; text-align: center; }
.facility-card figcaption span { color: var(--muted); font-family: var(--sans); font-size: 8px; }
.facility-modern { grid-row: 1 / 3; }
.facility-hubin { grid-column: 2; grid-row: 1; }
.facility-room { grid-column: 2; grid-row: 2; width: calc(50% - 6px); }
.facility-rehab { grid-column: 2; grid-row: 2; width: calc(50% - 6px); justify-self: end; }
.facility-development { grid-column: 3; grid-row: 1 / 3; }
.facility-modern img, .facility-development img { object-position: center; }
.facility-note { margin: 11px 0 0; color: var(--muted); font-size: 9px; text-align: right; }

.strengths { padding-top: 25px; padding-bottom: 38px; }
.strengths .section-heading { margin-bottom: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.strength-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.strength-grid article { display: grid; grid-template-columns: 58px 1fr; gap: 13px; min-height: 77px; padding: 7px 20px; align-items: center; border-right: 1px solid var(--line); }
.strength-grid article:last-child { border-right: 0; }
.strength-icon { display: block; width: 58px; height: 58px; object-fit: cover; border-radius: 10px; }
.strength-grid strong { display: block; font-family: var(--serif); font-size: 13px; font-weight: 500; line-height: 1.2; }
.strength-grid b { display: block; color: var(--pine); font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1; }
.strength-grid span { display: block; margin-top: 3px; font-size: 9px; line-height: 1.3; }

.patient-planning { padding-top: 32px; padding-bottom: 52px; }
.planning-grid { display: grid; grid-template-columns: 1.28fr .72fr; gap: 38px; align-items: end; }
.planning-path { min-width: 0; padding-right: 38px; border-right: 1px solid var(--line); }
.planning-path .section-heading { margin-bottom: 24px; }
.planning-steps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0; list-style: none; }
.planning-steps li { position: relative; display: flex; min-width: 0; padding: 0 15px; flex-direction: column; align-items: center; text-align: center; }
.planning-steps li:not(:last-child)::after { position: absolute; top: 12px; left: calc(50% + 22px); width: calc(100% - 44px); content: ""; border-top: 2px dotted #9f9a84; }
.planning-steps i { position: relative; z-index: 2; display: grid; width: 25px; height: 25px; margin-bottom: 18px; color: white; background: var(--pine); border-radius: 50%; font-size: 10px; font-style: normal; place-items: center; }
.planning-icon { display: block; width: 50px; height: 50px; margin-bottom: 9px; object-fit: cover; border-radius: 9px; }
.planning-steps h3 { margin-bottom: 7px; color: var(--pine); font-size: 14px; line-height: 1.2; }
.planning-steps p { margin: 0; color: var(--muted); font-size: 8px; line-height: 1.45; }
.planning-summary { max-width: 510px; margin: 22px auto 0; color: var(--pine); font-family: var(--serif); font-size: 13px; text-align: center; }
.international-card { padding: 28px 30px; background: rgba(255, 253, 248, .72); border: 1px solid var(--line); border-radius: 7px; }
.international-card h2 { margin-bottom: 20px; color: var(--pine); font-size: 27px; }
.international-card ul { padding: 0; margin: 0 0 22px; list-style: none; }
.international-card li { display: flex; gap: 9px; align-items: center; margin: 10px 0; font-size: 11px; }
.international-card li svg { width: 17px; height: 17px; color: var(--pine); stroke-width: 2.2; }
.international-card .button { width: 100%; }

.location { padding-top: 0; padding-bottom: 52px; }
.location .section-heading { margin-bottom: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.location-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; align-items: stretch; }
.address-list { display: grid; gap: 8px; }
.address-card { display: grid; grid-template-columns: 42px 1fr; gap: 13px; width: 100%; padding: 13px 18px; align-items: center; color: var(--ink); background: rgba(255, 253, 248, .72); border: 1px solid var(--line); border-radius: 7px; text-align: left; }
.address-card svg { width: 38px; height: 38px; padding: 9px; color: var(--pine); background: var(--jade-wash); border: 1px solid var(--jade-line); border-radius: 12px; stroke-width: 1.85; }
.address-card span { color: var(--muted); font-size: 8px; line-height: 1.45; }
.address-card strong { display: block; margin-bottom: 2px; color: var(--pine); font-family: var(--serif); font-size: 13px; font-weight: 500; }
.contact-card { display: flex; flex-direction: column; justify-content: center; padding: 19px; background: rgba(255, 253, 248, .72); border: 1px solid var(--line); border-radius: 6px; }
.contact-card > div { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; align-items: center; border-bottom: 1px solid var(--line); }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card svg { width: 40px; height: 40px; padding: 9px; color: var(--pine); background: var(--jade-wash); border: 1px solid var(--jade-line); border-radius: 13px; stroke-width: 1.85; }
.contact-card span { font-family: var(--serif); font-size: 12px; }
.contact-card a { display: block; margin-top: 5px; color: var(--pine); font-size: 18px; white-space: nowrap; }
.contact-card a:hover { color: var(--red); }

.final-cta { position: relative; overflow: hidden; padding: 30px 0; color: white; background: var(--pine); }
.cta-row { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-row h2 { margin-bottom: 6px; color: white; font-size: 31px; }
.cta-row p { margin: 0; color: rgba(255,255,255,.75); font-size: 11px; }
.cta-row > div:last-child { display: flex; gap: 14px; }
.cta-mountains { position: absolute; right: 0; bottom: -15px; width: 380px; color: rgba(218,185,119,.25); }
.cta-mountains svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }
.bamboo-decoration.right { right: 12px; bottom: -85px; transform: scaleX(-1) rotate(-8deg); }

.site-footer { padding: 20px 0; background: #fffdf8; border-bottom: 6px solid var(--pine); }
.footer-row { display: grid; grid-template-columns: 220px 1fr 1.4fr; gap: 30px; align-items: center; }
.site-footer .brand span { font-size: 17px; }
.site-footer .brand small { font-size: 9px; }
.tagline { margin: 0; color: var(--pine); font-family: var(--serif); font-size: 12px; }
.disclaimer { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }

.intake-dialog { width: min(680px, calc(100% - 30px)); max-height: calc(100vh - 40px); padding: 0; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 32px 80px rgba(0,0,0,.28); }
.intake-dialog::backdrop { background: rgba(6, 35, 27, .68); backdrop-filter: blur(4px); }
.dialog-header { display: flex; padding: 25px 28px 18px; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line); }
.dialog-header .eyebrow { margin-bottom: 7px; }
.dialog-header h2 { margin: 0; color: var(--pine); font-size: 31px; }
.dialog-close { display: grid; width: 38px; height: 38px; color: var(--pine); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; place-items: center; }
.dialog-close svg { width: 18px; height: 18px; }
.intake-dialog > p { padding: 17px 28px 0; margin-bottom: 0; color: var(--muted); font-size: 11px; }
.intake-dialog form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 22px 28px 28px; }
.intake-dialog label { display: flex; gap: 6px; flex-direction: column; font-size: 10px; font-weight: 700; }
.intake-dialog label.full { grid-column: 1 / -1; }
.intake-dialog input, .intake-dialog select, .intake-dialog textarea { width: 100%; padding: 10px 11px; color: var(--ink); background: #fbf9f3; border: 1px solid #cfc6b8; border-radius: 3px; }
.intake-dialog textarea { resize: vertical; }
.form-privacy { display: flex; gap: 7px; align-items: center; margin: 0; color: var(--muted); font-size: 9px; }
.form-privacy svg { width: 16px; height: 16px; color: var(--pine); }
.intake-dialog form .button { justify-self: end; }
.form-status { min-height: 28px; padding: 0 28px 22px !important; color: var(--pine) !important; font-weight: 700; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: grid; grid-template-columns: 1fr auto; width: min(360px, calc(100% - 30px)); padding: 15px 17px; color: white; background: var(--pine-deep); border: 1px solid rgba(255,255,255,.15); border-radius: 6px; box-shadow: 0 18px 42px rgba(0,0,0,.22); opacity: 0; transform: translateY(14px); pointer-events: none; transition: .18s ease; }
.toast.visible { opacity: 1; transform: none; pointer-events: auto; }
.toast strong, .toast span { grid-column: 1; }
.toast span { margin-top: 3px; color: rgba(255,255,255,.72); font-size: 10px; }
.toast button { grid-column: 2; grid-row: 1 / span 2; color: white; background: transparent; border: 0; font-size: 20px; cursor: pointer; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .header-row { grid-template-columns: auto 1fr auto auto; }
  .nav-toggle { display: block; grid-column: 3; }
  .primary-nav { position: absolute; top: 71px; right: 28px; left: 28px; display: none; padding: 15px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .primary-nav.open { display: grid; grid-template-columns: repeat(5, 1fr); }
  .primary-nav a { padding: 12px; text-align: center; }
  .header-actions { grid-column: 4; }
  .hero-grid { grid-template-columns: minmax(500px, .96fr) minmax(500px, 1.04fr); }
  .hero h1 { font-size: 42px; }
  .care-model-grid article { grid-template-columns: 56px 1fr; padding: 5px 15px; }
  .care-model-icon { width: 56px; height: 56px; }
  .location-grid { grid-template-columns: 1.15fr .85fr; }
}

@media (max-width: 860px) {
  :root { --container: min(100% - 34px, 740px); }
  .section { padding: 54px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid { background-image: none; }
  .hero-copy {
    min-height: 450px;
    padding: 55px var(--container);
    background-color: var(--paper);
    background-image: url("./assets/images/hero-ink-landscape.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
  }
  .hero-media { height: 430px; margin-left: 0; }
  .hero-media img { -webkit-mask-image: none; mask-image: none; }
  .hero h1 span { white-space: normal; }
  .facts-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .facts-grid strong { font-size: 30px; }
  .overview-grid { grid-template-columns: 1fr; }
  .overview-copy { padding-right: 0; padding-bottom: 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
  .care-model-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .care-model-grid article:nth-child(2) { border-right: 0; }
  .facility-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 150px 220px; }
  .facility-modern { grid-column: 1; grid-row: 1 / 3; }
  .facility-hubin { grid-column: 2; grid-row: 1; }
  .facility-room { grid-column: 2; grid-row: 2; width: calc(50% - 6px); }
  .facility-rehab { grid-column: 2; grid-row: 2; width: calc(50% - 6px); }
  .facility-development { grid-column: 1 / -1; grid-row: 3; }
  .facility-development img { object-position: center 55%; }
  .strength-grid { grid-template-columns: repeat(3, 1fr); gap: 18px 0; }
  .strength-grid article:nth-child(3) { border-right: 0; }
  .planning-grid { grid-template-columns: 1fr; }
  .planning-path { padding-right: 0; padding-bottom: 35px; border-right: 0; border-bottom: 1px solid var(--line); }
  .international-card { width: min(100%, 500px); }
  .location-grid { grid-template-columns: 1fr; }
  .contact-card { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-card > div { border-right: 1px solid var(--line); border-bottom: 0; }
  .contact-card > div:last-child { padding-left: 28px; border-right: 0; }
  .cta-row { grid-template-columns: 1fr; }
  .cta-row > div:last-child { justify-content: flex-start; }
  .footer-row { grid-template-columns: 180px 1fr; }
  .disclaimer { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  :root { --container: calc(100% - 26px); }
  .header-row { min-height: 62px; grid-template-columns: auto 1fr auto; gap: 12px; }
  .brand span { font-size: 15px; }
  .brand small { font-size: 9px; }
  .nav-toggle { grid-column: 3; }
  .header-actions { display: none; }
  .primary-nav { top: 61px; right: 13px; left: 13px; }
  .primary-nav.open { grid-template-columns: 1fr 1fr; }
  .primary-nav a:last-child { grid-column: 1 / -1; }
  .hero-copy { min-height: 0; padding: 48px 22px 42px; }
  .hero h1 { font-size: 39px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-media { height: 350px; }
  .hero-media figcaption { right: 12px; bottom: 12px; padding: 7px 11px; font-size: 11px; }
  .facts { padding-top: 15px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid div { min-height: 86px; border-bottom: 1px solid var(--line); }
  .facts-grid div:nth-child(2n) { border-right: 0; }
  .facts-grid div:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .facts-grid strong { font-size: 34px; }
  .talent-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .talent-grid article:nth-child(2n) { border-right: 0; }
  .talent-grid article:last-child { grid-column: 1 / -1; }
  .specialty-grid { grid-template-columns: 1fr; }
  .specialty-card { min-height: 138px; }
  .care-model { padding: 42px 0; }
  .care-model-grid { grid-template-columns: 1fr; gap: 0; }
  .care-model-grid article { padding: 20px 4px; border-right: 0; border-bottom: 1px solid rgba(227,201,147,.28); }
  .care-model-grid article:last-child { border-bottom: 0; }
  .facility-mosaic { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5, 235px); }
  .facility-modern, .facility-hubin, .facility-room, .facility-rehab, .facility-development { grid-column: 1; width: 100%; }
  .facility-modern { grid-row: 1; }
  .facility-hubin { grid-row: 2; }
  .facility-room { grid-row: 3; }
  .facility-rehab { grid-row: 4; }
  .facility-development { grid-row: 5; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength-grid article { padding: 13px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .strength-grid article:last-child { border-bottom: 0; }
  .planning-steps { grid-template-columns: 1fr; gap: 0; }
  .planning-steps li { display: grid; grid-template-columns: 34px 50px 1fr; gap: 10px; padding: 14px 0; align-items: center; text-align: left; border-bottom: 1px solid var(--line); }
  .planning-steps li:not(:last-child)::after { display: none; }
  .planning-steps i, .planning-icon, .planning-steps h3, .planning-steps p { margin: 0; }
  .planning-steps i { grid-row: 1 / span 2; }
  .planning-icon { grid-row: 1 / span 2; }
  .planning-steps p { grid-column: 3; }
  .planning-summary { text-align: left; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-card > div:last-child { padding-left: 0; border-bottom: 0; }
  .cta-row h2 { font-size: 27px; }
  .cta-row h2 br { display: none; }
  .cta-row > div:last-child { flex-direction: column; }
  .footer-row { grid-template-columns: 1fr; gap: 16px; }
  .disclaimer { grid-column: auto; }
  .intake-dialog form { grid-template-columns: 1fr; }
  .intake-dialog label.full { grid-column: auto; }
  .intake-dialog form .button { justify-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Shared case-inquiry form */
.intake-dialog { overflow-y: auto; }
.intake-dialog form[data-case-inquiry-form] { align-items: start; }
.intake-dialog form[data-case-inquiry-form] .consent-row { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; font-weight: 500; line-height: 1.45; }
.intake-dialog form[data-case-inquiry-form] .consent-row input { width: 16px; height: 16px; margin: 1px 0 0; padding: 0; accent-color: var(--pine); }
.intake-dialog form[data-case-inquiry-form] .form-privacy, .intake-dialog form[data-case-inquiry-form] .button { grid-column: 1 / -1; }
.intake-dialog form[data-case-inquiry-form] .button[disabled] { cursor: wait; opacity: .65; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 720px) { .intake-dialog form[data-case-inquiry-form] .consent-row, .intake-dialog form[data-case-inquiry-form] .form-privacy, .intake-dialog form[data-case-inquiry-form] .button { grid-column: auto; } }
