/* Dr Jason Wong, Consultant Paediatrician: site styles */
/* Self-hosted fonts (no third-party requests) */
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-latin-wght-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  --ink: #183238;
  --ink-soft: #42575E;
  --muted: #56696F;
  --teal: #0B7177;
  --teal-deep: #08585D;
  --sky: #DCEEF8;
  --sky-deep: #BCDDF0;
  --sage: #DCEADF;
  --sage-deep: #B9D4C2;
  --peach: #F6E3D5;
  --peach-deep: #EBC6AC;
  --cream: #FBF7F0;
  --white: #FFFFFF;
  --line: #E7E0D2;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --shadow: 0 18px 40px -18px rgba(24, 50, 56, 0.28);
  --pad-x: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid #5A9BC4; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--section-y); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 660px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-head.split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 12px 24px -12px rgba(11,113,119,.6); }
.btn-primary:hover { background: var(--teal-deep); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: #CBD9DD; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }
.btn-light { background: var(--white); color: var(--teal-deep); }
.btn-light:hover { background: var(--cream); color: var(--teal-deep); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, 0.9);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(24,50,56,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--cream); display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; }
.brand-text small { font-size: 0.8rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 1.7vw, 28px); }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 10px 0; position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #D3E9F6 0%, #E6F2F9 55%, var(--cream) 100%); }
.hero-sky { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; width: clamp(160px, 22vw, 300px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #FBE7D6, #F3D3BB); right: clamp(-40px, 3vw, 60px); top: clamp(30px, 6vw, 70px); opacity: .9; }
.cloud { position: absolute; fill: var(--white); }
.cloud.c1 { width: 220px; left: 3%; top: 40px; opacity: .85; }
.cloud.c2 { width: 150px; left: 44%; top: 26px; opacity: .65; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center;
  gap: clamp(32px, 5vw, 72px); padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(110px, 12vw, 160px);
}
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--teal-deep); background: rgba(255,255,255,.75); padding: 8px 16px; border-radius: 999px; font-size: 0.95rem; }
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6FAE91; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.9rem); line-height: 1.02; letter-spacing: -0.025em; max-width: 13ch; text-wrap: balance;
}
.lede { font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-soft); font-weight: 500; font-size: 0.97rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-portrait { position: relative; margin: 0; justify-self: end; width: min(100%, 500px); }
.photo { position: relative; overflow: hidden; background: linear-gradient(160deg, #EAF4EE 0%, var(--sage-deep) 100%); }
.photo::before {
  content: attr(data-fallback); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 500; font-size: clamp(4rem, 9vw, 7rem); color: rgba(31,82,79,.25); letter-spacing: -0.02em;
}
.photo img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); box-shadow: 0 40px 70px -30px rgba(24,50,56,.45); border: 8px solid var(--white); }
.name-plate {
  position: absolute; left: -28px; bottom: 44px; background: var(--white); border-radius: var(--r-md);
  padding: 16px 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.35;
}
.name-plate strong { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; }
.name-plate span { color: var(--muted); font-size: .9rem; }
.hero-badge { position: absolute; right: -10px; top: 18%; width: 64px; height: 64px; border-radius: 50%; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow); color: var(--teal); }
.hero-badge svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hills { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(60px, 9vw, 120px); }
.hill-back { fill: var(--sage); }
.hill-front { fill: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .hero-portrait { animation: rise .9s cubic-bezier(.2,.7,.2,1) both .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* Credentials band */
.creds { background: var(--white); padding-bottom: clamp(40px, 5vw, 64px); }
.creds-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.cred { display: flex; gap: 14px; align-items: flex-start; padding: 8px clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred .ico { color: var(--teal); width: 26px; height: 26px; margin-top: 2px; }
.cred p { display: flex; flex-direction: column; line-height: 1.35; }
.cred strong { font-size: 1.02rem; }
.cred span { color: var(--muted); font-size: 0.93rem; }

/* About */
.about { background: var(--white); padding-top: clamp(40px, 5vw, 72px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; padding: 0 0 36px 36px; }
.about-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 78%; height: 78%; border-radius: var(--r-lg); background: var(--sky); }
.about-photo { position: relative; aspect-ratio: 9 / 11; border-radius: var(--r-lg); background: linear-gradient(160deg, var(--sky) 0%, var(--sky-deep) 100%); }
.about-tag { position: absolute; right: -18px; bottom: 0; background: var(--teal); color: var(--white); border-radius: var(--r-md); padding: 18px 22px; display: flex; align-items: center; gap: 14px; max-width: 290px; box-shadow: var(--shadow); line-height: 1.35; font-size: .95rem; }
.about-tag-num { font-family: var(--serif); font-size: 2.8rem; line-height: 1; }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-copy > p { color: var(--ink-soft); max-width: 36em; }
.pull { margin: 4px 0 6px; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); line-height: 1.35; color: var(--teal-deep); padding-left: 22px; border-left: 3px solid var(--sage-deep); }
.cv { margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.cv div { padding: 14px 0; border-top: 1px solid var(--line); }
.cv dt { font-size: .88rem; color: var(--muted); }
.cv dd { margin: 2px 0 0; font-weight: 600; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--ink); padding-top: 4px; }

/* Services */
.services { background: linear-gradient(180deg, var(--white) 0%, var(--cream) 18%); }
.service-groups { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 20px; align-items: start; }
.sg { border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.sg h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; line-height: 1.15; }
.sg-sky { background: var(--sky); }
.sg-sage { background: var(--sage); margin-top: -24px; }
.sg-peach { background: var(--peach); }
.sg-art { width: 120px; height: 80px; }
.sg-art svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sg-art .a1 { fill: var(--white); stroke: none; }
.sg-art .a2 { stroke: rgba(24,50,56,.25); stroke-width: 3; }
.sg-art .a3 { stroke: var(--teal); stroke-width: 4; }
.svc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.svc li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(24,50,56,.1); }
.svc li:first-child { border-top: 0; padding-top: 4px; }
.svc .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--white); color: var(--teal-deep); }
.svc strong { display: block; font-size: 1.04rem; line-height: 1.35; }
.svc span { display: block; color: var(--ink-soft); font-size: .96rem; line-height: 1.5; margin-top: 3px; }
.services-note { text-align: center; margin-top: 36px; color: var(--ink-soft); }
.services-note a { font-weight: 700; }

/* Why */
.why { position: relative; background: var(--teal-deep); color: #E3EFEC; padding-block: clamp(96px, 11vw, 150px); }
.wave-top, .wave-bottom { position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 80px); }
.wave-top { top: -1px; fill: var(--cream); transform: scaleY(-1); }
.wave-bottom { bottom: -1px; fill: var(--white); transform: scaleY(-1); }
.why-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.why .h2 { color: var(--white); }
.why-intro { display: flex; flex-direction: column; gap: 18px; }
.why-intro p { color: #C6DBD7; font-size: 1.1rem; max-width: 28em; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 40px; }
.why-list li { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid rgba(227,239,236,.22); }
.why-num { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); line-height: 1; color: #F6E3D5; }
.why-ico svg { width: 46px; height: 46px; fill: none; stroke: #F6E3D5; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-list h3 { color: var(--white); font-size: 1.12rem; font-weight: 700; }
.why-list p { color: #C6DBD7; font-size: .98rem; }

/* FAQs */
.faqs { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
.faq-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.faq-aside > p { color: var(--ink-soft); }
.bring { margin-top: 8px; background: var(--white); border-radius: var(--r-md); padding: 24px 26px; }
.bring h3 { font-size: 1.05rem; margin-bottom: 10px; }
.bring ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); }
.bring li { display: flex; gap: 10px; align-items: baseline; }
.bring li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; transform: translateY(-2px); }
.faq-tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--white); border-radius: 999px; margin-bottom: 18px; max-width: 100%; overflow-x: auto; }
.faq-tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font: 700 .95rem var(--sans); color: var(--ink); cursor: pointer; white-space: nowrap; }
.faq-tabs button[aria-selected="true"] { background: var(--teal); color: var(--white); }
.faq-panel { display: flex; flex-direction: column; gap: 10px; }
.faq-panel[hidden] { display: none; }
details { background: var(--white); border-radius: var(--r-md); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.04rem; min-height: 64px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F524F' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--ink-soft); }
.fever-note { margin-top: 18px; display: flex; gap: 14px; align-items: flex-start; background: var(--peach); border-radius: var(--r-md); padding: 20px 22px; color: var(--ink); font-size: .98rem; }
.fever-note .ico { color: #8A4E2A; margin-top: 3px; }

/* Contact */
.contact { background: var(--white); }
.book-band {
  position: relative; overflow: hidden; background: var(--teal); color: var(--white); border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.book-band::before { content: ""; position: absolute; width: 360px; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.07); right: -100px; top: -160px; }
.book-band::after { content: ""; position: absolute; width: 220px; aspect-ratio: 1; border-radius: 50%; background: rgba(246,227,213,.14); left: 38%; bottom: -150px; }
.book-copy { position: relative; flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; max-width: 30em; }
.book-copy h2 { color: var(--white); font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.08; }
.book-copy p { color: #D6E8E4; font-size: 1.1rem; }
.book-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.contact-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; }
.contact-info { display: grid; gap: 0; background: var(--cream); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.info-block { padding: 20px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.info-block:first-child { border-top: 0; padding-top: 0; }
.info-block:last-child { padding-bottom: 0; }
.info-block h3 { font-size: 1.05rem; }
.hours { border-collapse: collapse; width: 100%; }
.hours th { text-align: left; font-weight: 500; color: var(--ink-soft); padding: 4px 16px 4px 0; }
.hours td { text-align: right; font-weight: 700; padding: 4px 0; }
.small { font-size: .94rem; color: var(--muted); }
address { font-style: normal; font-weight: 600; line-height: 1.5; }
.text-link { font-weight: 700; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--sky); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #C9D8DB; padding: clamp(56px, 7vw, 88px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.site-footer a { color: #C9D8DB; text-decoration: none; display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-name { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: 6px; }
.footer-brand p { margin-bottom: 2px; }
.footer-legal { margin-top: 48px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid rgba(201,216,219,.18); display: flex; flex-direction: column; gap: 8px; font-size: .88rem; color: #A9BEC2; }

/* Mobile action bar */
.mobile-bar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1060px) {
  .service-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-sage { margin-top: 0; grid-row: span 2; }
  .creds-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .cred:nth-child(3) { border-left: 0; padding-left: 0; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-feature { grid-column: 1 / -1; }
}

/* ---------- Tap-to-open menu (1180px and below) ---------- */
@media (max-width: 1180px) {
  :root { --header-h: 68px; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--white); cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(24,50,56,.35);
    padding: 8px var(--pad-x) 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 16px; min-height: 52px; }

}

/* ---------- Tablet layout ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-portrait { justify-self: center; width: min(100%, 420px); }
  .about-grid, .why-inner, .faq-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; }
  .about-media { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .brand-text strong { font-size: 1.12rem; }
  .brand-mark { width: 40px; height: 40px; }
  .hero-grid { gap: 28px; padding-top: 24px; padding-bottom: 84px; }
  .hero-portrait { width: min(60%, 240px); }
  .hero h1 { font-size: 2.45rem; }
  .arch { border-width: 6px; }
  .name-plate { left: -30%; bottom: 14px; padding: 10px 14px; }
  .name-plate strong { font-size: 1rem; }
  .name-plate span { font-size: .8rem; }
  .hero-badge { width: 52px; height: 52px; right: -16px; }
  .hero-badge svg { width: 24px; height: 24px; }
  .hero-kicker { font-size: .85rem; padding: 6px 12px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { flex-direction: column; gap: 8px; }
  .cloud.c2 { display: none; }

  .creds-row { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .cred { flex-direction: column; gap: 8px; padding: 0; border-left: 0; }
  .cred strong { font-size: .97rem; }
  .cred span { font-size: .86rem; }

  .about-media { padding: 0 0 28px 20px; }
  .about-tag { right: -6px; padding: 14px 16px; max-width: 230px; font-size: .86rem; }
  .about-tag-num { font-size: 2.2rem; }
  .cv { grid-template-columns: 1fr; }

  .service-groups { grid-template-columns: 1fr; gap: 14px; }
  .sg-sage { grid-row: auto; }
  .sg-art { width: 84px; height: 56px; }
  .sg h3 { font-size: 1.35rem; }

  .why-list { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .why-list p { font-size: .92rem; }

  .section-head.split { flex-direction: column; align-items: flex-start; }
  .review-grid { grid-template-columns: 1fr; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(var(--pad-x) * -1); padding: 0 var(--pad-x) 8px; scroll-padding-inline: var(--pad-x); }
  .review { flex: 0 0 86%; scroll-snap-align: start; }
  .review-feature blockquote { font-size: 1.15rem; }

  summary { padding: 18px 18px; font-size: 1rem; }
  details p { padding: 0 18px 18px; }
  .faq-tabs { display: flex; width: 100%; }
  .bring { display: none; }
  .faq-tabs button { flex: 1; padding: 0 12px; font-size: .9rem; }

  .book-actions, .book-actions .btn { width: 100%; }
  .map, .map iframe { min-height: 300px; }
  .hours th, .hours td { display: block; text-align: left; padding: 0; }
  .hours tr { display: block; padding: 6px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(251,247,240,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; font-weight: 700; text-decoration: none; }
  .mb-call { background: var(--white); color: var(--ink); border: 1.5px solid #CBD9DD; }
  .mb-wa { background: var(--teal); color: var(--white); }
  .mb-wa:hover { color: var(--white); }
}

/* ---------- Language switcher ---------- */
.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; }
.site-nav { margin-left: auto; }
.lang-switch {
  flex: none; display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line);
}
.lang-switch a {
  min-width: 46px; min-height: 40px; padding: 0 10px; display: grid; place-items: center;
  border-radius: 999px; font: 700 .85rem/1 var(--sans); letter-spacing: .04em;
  color: var(--ink-soft); text-decoration: none; transition: background-color .2s, color .2s;
}
.lang-switch a:hover { background: var(--sky); color: var(--ink); }
.lang-switch a[aria-current] { background: var(--ink); color: var(--white); cursor: default; }

/* Longer Bahasa Malaysia headings get a little more line width */
html[lang="ms"] .hero h1 { max-width: 15ch; font-size: clamp(2.35rem, 1.3rem + 3.9vw, 4.4rem); }
html[lang="ms"] .why-list h3 { text-wrap: balance; }

/* Tighter nav between tablet and wide desktop */
@media (min-width: 1181px) and (max-width: 1440px) {
  .site-nav { gap: 15px; }
  .site-nav a:not(.btn) { font-size: .9rem; }
  .nav-cta { padding: 0 14px; font-size: .9rem; }
  .brand-text small { display: none; }
  .header-inner { gap: 14px; }
}
@media (max-width: 1180px) {
  .site-nav { margin-left: 0; }
  .lang-switch { margin-left: auto; }
  .header-inner { gap: 10px; }
}
@media (max-width: 380px) {
  .brand-text small { display: none; }
  .lang-switch a { min-width: 40px; padding: 0 8px; }
}

/* Keep nav labels and brand on one line */
.site-nav a, .brand-text strong, .brand-text small { white-space: nowrap; }
html[lang="ms"] .hero h1 { max-width: 17ch; font-size: clamp(2.35rem, 1.3rem + 3.6vw, 4.15rem); }

.header-inner { max-width: 1400px; }

/* Buttons never break mid-label (keeps phone numbers whole) */
.btn, .mobile-bar a { white-space: nowrap; }
.nav-toggle { flex: none; }
@media (max-width: 480px) {
  .brand-text small { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .btn-lg { padding: 0 18px; font-size: 1rem; }
  .mobile-bar a { font-size: .95rem; gap: 6px; padding: 0 8px; }
}

/* Very small phones (≤380px) */
.nw { white-space: nowrap; }
@media (max-width: 380px) {
  :root { --pad-x: 14px; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
  .book-band { padding: 26px 20px; }
  .brand-text strong { font-size: 1.02rem; }
  .lang-switch a { min-width: 38px; padding: 0 6px; }
  .nav-toggle { width: 44px; height: 44px; padding: 0 11px; }
  .mobile-bar { grid-template-columns: auto 1fr; padding-inline: 10px; gap: 8px; }
  .mobile-bar a { padding: 0 14px; font-size: .92rem; }
}
@media (max-width: 340px) {
  .brand-mark { display: none; }
  .mb-wa .ico { display: none; }
}
@media (max-width: 380px) {
  .mb-call { aspect-ratio: 1; padding: 0; width: 52px; }
  .mb-call .mb-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .book-actions .btn { padding-inline: 14px; gap: 8px; }
}

/* =====================================================================
   Multi-page additions (landing pages, navigation, conversion)
   ===================================================================== */
.h3 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.narrow { max-width: 820px; }
.small a { font-weight: 600; }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.text-link.ext .ico { width: 16px; height: 16px; }
.call-link .ico { width: 18px; height: 18px; }
.hero-meet { min-height: 44px; }
.btn .ico { width: 20px; height: 20px; }
.theme-sky { --tint: var(--sky); --tint-deep: var(--sky-deep); --tint-ink: #24597D; }
.theme-sage { --tint: var(--sage); --tint-deep: var(--sage-deep); --tint-ink: #2F5D47; }
.theme-peach { --tint: var(--peach); --tint-deep: var(--peach-deep); --tint-ink: #7E4523; }

/* Header: conditions drop-down */
.nav-home { display: none; }
.nav-group { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 0; background: none; border: 0; cursor: pointer;
  font: 600 .97rem var(--sans); color: var(--ink); white-space: nowrap;
}
.nav-drop-btn .chev { width: 16px; height: 16px; transition: transform .2s; }
.nav-drop-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-drop {
  position: absolute; top: calc(100% + 10px); left: -16px; width: min(560px, 90vw); display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); z-index: 60;
}
.nav-drop.open { display: grid; }
.site-nav .nav-drop a {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; white-space: normal;
  text-decoration: none; color: var(--ink);
}
.site-nav .nav-drop a::after { display: none; }
.site-nav .nav-drop a:hover, .site-nav .nav-drop a[aria-current] { background: var(--tint); }
.nav-drop strong { display: block; font-size: .96rem; line-height: 1.3; }
.nav-drop small { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 2px; }
.drop-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--tint); color: var(--tint-ink); display: grid; place-items: center; }
.drop-ico .ico { width: 20px; height: 20px; }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--teal-deep); }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 18px; font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--ink-soft); font-weight: 600; text-decoration: none; padding: 8px 0; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Landing page hero */
.page-top { background: linear-gradient(180deg, var(--tint) 0%, var(--cream) 100%); }
.page-hero { padding: clamp(20px, 3vw, 40px) 0 clamp(48px, 6vw, 80px); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.page-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.05rem, 1.3rem + 2.8vw, 3.5rem); line-height: 1.06; letter-spacing: -0.02em; max-width: 20ch; text-wrap: balance;
}
.page-q { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.4; color: var(--tint-ink, var(--teal-deep)); max-width: 34em; }
.page-intro { color: var(--ink-soft); font-size: 1.08rem; max-width: 38em; }
.narrow-left { max-width: 860px; }
.trust { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .92rem; line-height: 1.4; }
.trust strong { display: block; color: var(--ink); font-size: .98rem; }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--sage-deep); color: var(--teal-deep); display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; border: 3px solid var(--white); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.page-art { position: relative; aspect-ratio: 1; max-width: 380px; width: 100%; justify-self: end; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; background: var(--white); box-shadow: var(--shadow); display: grid; place-items: center; }
.art-sun { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--peach); right: 2%; top: 4%; }
.art-ico { position: relative; width: 46%; aspect-ratio: 1; border-radius: 32%; background: var(--tint); color: var(--tint-ink); display: grid; place-items: center; }
.art-ico .ico { width: 52%; height: 52%; stroke-width: 1.4; }
.page-photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); border: 8px solid var(--white); box-shadow: var(--shadow); max-width: 420px; justify-self: end; width: 100%; }

/* Checklists */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--teal); color: var(--white); stroke-width: 3; margin-top: 1px; }
.checks.plain .ico { background: var(--sage); color: var(--teal-deep); }
.checks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.checks-grid li { background: var(--white); border-radius: var(--r-md); padding: 18px 20px; box-shadow: 0 6px 20px -16px rgba(24,50,56,.35); }
.signs .h2, .when .h2, .related .h2, .visit .h2, .page-faq .h2 { margin-bottom: 26px; }
.signs { padding-top: clamp(48px, 6vw, 80px); }

.help { background: var(--white); }
.help-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.help-copy { display: flex; flex-direction: column; gap: 16px; }
.help-copy p { color: var(--ink-soft); }
.help-card { background: var(--cream); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.help-card h3 { margin-bottom: 14px; font-size: 1.1rem; }

.when-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.when-grid.single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.urgent { background: #FBEDE6; border: 1.5px solid #E9B9A0; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.urgent h3 { display: flex; gap: 10px; align-items: flex-start; font-size: 1.12rem; color: #6E2E12; margin-bottom: 12px; }
.urgent h3 .ico { flex: none; color: #B4471B; width: 24px; height: 24px; }
.urgent ul { margin: 0 0 14px; padding-left: 22px; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.urgent p { font-weight: 700; color: #6E2E12; }

.info-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); max-width: 900px; display: flex; flex-direction: column; gap: 14px; border-left: 0; }
.info-card p { color: var(--ink-soft); }
.info-section { padding-top: 0; }

.book-note { position: relative; flex-basis: 100%; display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #D6E8E4; border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
.book-note .ico { flex: none; width: 18px; height: 18px; margin-top: 3px; }
.cta-section { padding-block: clamp(24px, 4vw, 48px); }

.page-faq { background: var(--white); }
.page-faq .faq-panel details { background: var(--cream); }

/* Doctor profile (landing pages) */
.profile { background: var(--cream); }
.profile-card { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.profile-photo { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--r-lg) var(--r-lg); background: linear-gradient(160deg, #EAF4EE 0%, var(--sage-deep) 100%); max-width: 360px; width: 100%; }
.profile-copy { display: flex; flex-direction: column; gap: 16px; }
.profile .cv dt { font-weight: 700; color: var(--ink); font-size: .98rem; }
.profile .cv dd { color: var(--ink-soft); font-weight: 500; font-size: .94rem; }

/* Visit strip */
.visit { background: var(--white); }
.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.visit-item { display: flex; gap: 14px; background: var(--cream); border-radius: var(--r-md); padding: 22px; }
.visit-item > .ico { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--white); color: var(--teal); }
.visit-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.visit-item .hours th, .visit-item .hours td { font-size: .93rem; }

/* Concern cards (home + related) */
.concerns { background: var(--white); padding-top: clamp(40px, 5vw, 72px); }
.concern-prompt { font-weight: 600; color: var(--teal-deep); }
.concern-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.concern {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 56px; border-radius: var(--r-lg);
  background: var(--tint); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.concern:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.concern h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.15; }
.concern p { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.concern-ico { width: 48px; height: 48px; border-radius: 16px; background: var(--white); color: var(--tint-ink); display: grid; place-items: center; margin-bottom: 6px; flex: none; }
.concern-ico .ico { width: 24px; height: 24px; }
.concern-more { position: absolute; right: 20px; bottom: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--tint-ink); display: grid; place-items: center; }
.concern-more .ico { width: 18px; height: 18px; }
.related { background: var(--cream); }
.side-card { display: flex; gap: 14px; align-items: flex-start; background: var(--tint); border-radius: var(--r-md); padding: 20px; text-decoration: none; color: var(--ink); margin-top: 6px; }
.side-card:hover { color: var(--ink); box-shadow: var(--shadow); }
.side-card strong { display: block; }
.side-card span span { color: var(--ink-soft); font-size: .94rem; }
.side-card .concern-ico { margin: 0; }

/* Panels as chips */
.chips { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }
.panels-box { align-content: start; }
.contact .contact-info { background: var(--cream); }
.loc .contact-info { background: var(--cream); }

/* Floating WhatsApp (desktop) */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 55; display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--teal); color: var(--white);
  font-weight: 700; text-decoration: none; box-shadow: 0 16px 32px -14px rgba(24,50,56,.6);
}
.wa-float:hover { background: var(--teal-deep); color: var(--white); }
.wa-float .ico { width: 24px; height: 24px; }
@media (max-width: 1360px) { .wa-float { padding: 0; width: 60px; justify-content: center; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Mobile bar: WhatsApp + Directions */
.mb-dir { background: var(--white); color: var(--ink); border: 1.5px solid #CBD9DD; }
.mb-dir:hover { color: var(--ink); }

/* 404 */
.nf { background: var(--cream); }
.nf-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Responsive for new components ---------- */
@media (max-width: 1180px) {
  .nav-home { display: block; }
  .nav-group { border-bottom: 1px solid var(--line); padding: 6px 0 10px; }
  .nav-drop-btn { pointer-events: none; padding: 10px 0 6px; font-size: .82rem; color: var(--muted); text-transform: none; }
  .nav-drop-btn .chev { display: none; }
  .nav-drop { position: static; display: grid; width: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 0; gap: 2px; }
  .site-nav .nav-drop a { padding: 10px 6px; border-bottom: 0; }
  .site-nav .nav-drop small { display: none; }
  .drop-ico { width: 32px; height: 32px; border-radius: 10px; }
  .site-nav { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
}
@media (max-width: 980px) {
  .page-hero-grid, .help-grid, .when-grid, .profile-card { grid-template-columns: minmax(0, 1fr); }
  .page-art, .page-photo { display: none; }
  .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-photo { max-width: 260px; }
}
@media (max-width: 640px) {
  .wa-float { display: none; }
  .mobile-bar { grid-template-columns: 1.35fr 1fr; }
  .checks-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .checks-grid li { padding: 14px 16px; }
  .page-hero h1 { font-size: 1.95rem; }
  .page-q { font-size: 1.12rem; }
  .page-intro { font-size: 1rem; }
  .page-hero { padding-bottom: 36px; }
  .page-hero-copy { gap: 14px; }
  .page-hero .hero-actions .btn { flex: 1 1 100%; }
  .concern-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .concern { padding: 20px 64px 20px 20px; }
  .concern-more { top: 50%; bottom: auto; transform: translateY(-50%); }
  .concern-ico { width: 40px; height: 40px; }
  .concern h3 { font-size: 1.2rem; }
  .section-head.center { text-align: left; align-items: flex-start; }
  .profile-photo { max-width: 220px; }
  .book-band { padding: 28px 22px; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .mobile-bar { grid-template-columns: 1fr auto; }
  .mb-dir { aspect-ratio: 1; width: 52px; padding: 0; }
  .mb-dir span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Mobile-first hero refinements */
.brand { min-height: 44px; }
@media (max-width: 980px) {
  .hero-portrait { order: 0; }
}
@media (max-width: 640px) {
  .hero-grid { padding-top: 20px; gap: 26px; }
  .hero h1 { font-size: 2.2rem; }
  html[lang="ms"] .hero h1 { font-size: 2.05rem; }
  .hero-copy { gap: 18px; }
  .lede { font-size: 1.02rem; }
  .hero-portrait { width: min(64%, 250px); }
}
@media (max-width: 380px) {
  .crumbs { padding-top: 10px; }
  .page-hero { padding-top: 8px; }
  .page-hero h1, html[lang="ms"] .page-hero h1 { font-size: 1.7rem; }
  .page-q { font-size: 1.04rem; }
  .page-intro { font-size: .95rem; line-height: 1.55; }
  .page-hero-copy { gap: 11px; }
  .hero h1, html[lang="ms"] .hero h1 { font-size: 1.85rem; }
  .hero-kicker { font-size: .8rem; }
}
@media (max-width: 980px) {
  .hero .sun { top: auto; bottom: 120px; right: -40px; width: 200px; }
}

/* Clinic logo + real photos */
.brand-logo { width: 48px; height: 48px; flex: none; }
.arch img, .profile-photo img { object-position: 50% 20%; }
.about-photo img { object-position: 40% 50%; }
.avatar img { object-position: 50% 18%; transform: scale(1.5); transform-origin: 50% 22%; }
.nf-logo { width: 180px; height: auto; margin-bottom: 24px; }
@media (max-width: 480px) { .brand-logo { width: 42px; height: 42px; } }
@media (max-width: 340px) { .brand-logo { display: none; } }

/* Content update: no experience figures */
.about-tag { gap: 12px; max-width: 320px; }
.about-tag > .ico { width: 30px; height: 30px; flex: none; color: #F6E3D5; }
.about-tag strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.2; }
.about-tag span span { display: block; font-size: .88rem; color: #D6E8E4; margin-top: 2px; }
.why-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.why-intro { max-width: 640px; }
.why-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .why-list { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 640px) { .why-list { grid-template-columns: minmax(0, 1fr); gap: 22px; } .about-tag { max-width: 270px; } .about-tag strong { font-size: 1.05rem; } }
.about-tag strong .nw { display: inline; font-size: inherit; color: inherit; margin: 0; }
@media (max-width: 640px) { .about-tag { max-width: 300px; } }

/* Heading font: Lora (plain J), used for every serif element */
.h2, .hero h1, .page-hero h1, .brand-text strong, .book-copy h2, .sg h3, .concern h3, .footer-name, .name-plate strong, .about-tag strong { font-weight: 600; }
.hero h1, .page-hero h1 { letter-spacing: -0.015em; }
.h2 { letter-spacing: -0.01em; }
.why-num, .about-tag-num { font-weight: 500; }

/* Professional registration and memberships */
.affil { background: var(--white); padding: 0 0 clamp(40px, 5vw, 64px); }
.affil-row { border-top: 1px solid var(--line); padding-top: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 2.3fr); gap: 20px 40px; align-items: center; }
.affil-title { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.affil-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.affil-list li { display: flex; align-items: center; gap: 14px; background: var(--cream); border-radius: var(--r-md); padding: 14px 16px; }
.affil-logo { flex: none; height: 64px; display: grid; place-items: center; background: var(--white); border-radius: 12px; padding: 6px; }
.affil-logo img { height: 52px; width: auto; max-width: 120px; object-fit: contain; }
.affil-text { font-size: .9rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.affil-text small { display: block; font-weight: 500; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.affil-mini { border-top: 1px solid var(--line); padding-top: 14px; }
.affil-mini > p { font-size: .84rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.affil-list.compact { display: flex; flex-wrap: wrap; gap: 10px; }
.affil-list.compact li { background: var(--white); padding: 8px 12px 8px 8px; gap: 10px; border-radius: 14px; }
.affil-list.compact .affil-logo { height: 44px; padding: 3px; }
.affil-list.compact .affil-logo img { height: 38px; max-width: 96px; }
.affil-list.compact .affil-text { font-size: .82rem; max-width: 190px; }
@media (max-width: 1060px) { .affil-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .affil-list { grid-template-columns: minmax(0, 1fr); gap: 10px; } }
@media (max-width: 640px) { .affil-list.compact { flex-direction: column; } .affil-list.compact .affil-text { max-width: none; } }
@media (min-width: 761px) {
  .affil-list:not(.compact) li { flex-direction: column; text-align: center; justify-content: flex-start; padding: 18px 16px 16px; gap: 12px; }
  .affil-list:not(.compact) .affil-logo { height: 84px; width: 100%; padding: 8px; }
  .affil-list:not(.compact) .affil-logo img { height: 68px; max-width: 100%; }
}

/* Directions video (YouTube Short, loaded on tap) */
.video-section { background: var(--white); }
.video-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1000px; }
.video-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.video-copy p { color: var(--ink-soft); max-width: 34em; }
.yt-facade, .yt-frame { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s; }
.yt-play svg { width: 34px; height: 34px; fill: var(--teal); margin-left: 4px; }
.yt-facade:hover .yt-play { transform: scale(1.06); }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .video-grid { grid-template-columns: minmax(0, 1fr); } .yt-facade, .yt-frame { max-width: 300px; margin-inline: auto; } }

/* Keep the floating WhatsApp button clear of Netlify's "Powered by Netlify" badge (bottom-right) */
.wa-float { bottom: 88px; }

/* From clinic consultation to hospital care (homepage) */
.continuity { position: relative; background: linear-gradient(180deg, var(--sage) 0%, #EEF5F0 100%); }
.cj-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cj-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cj-copy > p { color: var(--ink-soft); max-width: 34em; }
.cj-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--white); color: var(--teal-deep); font-weight: 700; font-size: .9rem; }
.cj-badge .ico { width: 20px; height: 20px; }
.cj-lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.45; color: var(--teal-deep) !important; padding-left: 18px; border-left: 3px solid var(--teal); }
.cj-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 4px; }
.cj-visual { display: flex; flex-direction: column; gap: 14px; }
.cj-photo { aspect-ratio: 16 / 10; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.cj-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; position: relative; }
.cj-steps li { position: relative; display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: var(--r-md); padding: 18px 20px; box-shadow: 0 8px 24px -18px rgba(24,50,56,.45); }
.cj-steps li + li { margin-top: 26px; }
.cj-steps li + li::before { content: ""; position: absolute; left: 41px; top: -27px; height: 28px; border-left: 2px dashed var(--teal); opacity: .55; }
.cj-ico { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--sage); color: var(--teal-deep); display: grid; place-items: center; }
.cj-ico .ico { width: 24px; height: 24px; }
.cj-num { position: absolute; left: 50px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: .75rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--white); }
.cj-steps h3 { font-size: 1.05rem; margin-bottom: 2px; }
.cj-steps p { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.cj-takeaway { display: flex; gap: 14px; align-items: center; background: var(--teal); color: var(--white); border-radius: var(--r-md); padding: 16px 20px; }
.cj-takeaway > .ico { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: rgba(255,255,255,.16); stroke-width: 2.6; }
.cj-takeaway strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.cj-takeaway span { color: #D6E8E4; font-size: .95rem; }
.cj-note { font-size: .86rem; color: var(--muted); }
@media (max-width: 980px) { .cj-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .cj-steps li { padding: 16px; } .cj-actions .btn { flex: 1 1 100%; } }

/* "If your child needs hospital care" (condition pages) */
.hospital-care { padding-top: 0; }
.hc-card { display: flex; gap: clamp(16px, 3vw, 28px); align-items: flex-start; background: linear-gradient(135deg, var(--sage) 0%, #EEF5F0 100%); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); max-width: 980px; }
.hc-ico { flex: none; width: 60px; height: 60px; border-radius: 18px; background: var(--white); color: var(--teal-deep); display: grid; place-items: center; }
.hc-ico .ico { width: 30px; height: 30px; }
.hc-copy { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hc-copy .h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.hc-copy p { color: var(--ink-soft); max-width: 46em; }
.hc-copy .hc-note { font-size: .9rem; color: var(--muted); }
@media (max-width: 640px) { .hc-card { flex-direction: column; } .hc-ico { width: 48px; height: 48px; } }

/* Meet Dr Jason: title, photo + details, then biography */
.about-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "media title" "media body" "media cv"; column-gap: clamp(40px, 6vw, 96px); row-gap: 20px; align-items: start; }
.about-media { grid-area: media; align-self: center; }
.about-title { grid-area: title; align-self: end; }
.about-body { grid-area: body; display: flex; flex-direction: column; gap: 20px; }
.about-body > p { color: var(--ink-soft); max-width: 36em; }
.about-cv { grid-area: cv; margin-top: 0; }
@media (max-width: 980px) {
  .about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "title title" "media cv" "body body"; column-gap: 20px; row-gap: 18px; }
  .about-media { padding: 0; max-width: none; align-self: start; }
  .about-media::before { display: none; }
  .about-photo { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
  .about-tag { display: none; }
  .about-cv { grid-template-columns: minmax(0, 1fr); align-self: start; }
  .about-cv div { padding: 8px 0; }
  .about-cv div:first-child { border-top: 0; padding-top: 0; }
  .about-cv dt { font-size: .78rem; }
  .about-cv dd { font-size: .9rem; line-height: 1.4; }
}
@media (min-width: 641px) and (max-width: 980px) { .about-grid { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); } .about-cv dd { font-size: 1rem; } }
@media (max-width: 380px) { .about-cv dd { font-size: .84rem; } }

/* Hospital care as a highlighted feature inside "Why parents choose" */
.why-inner > .cj-feature { grid-column: 1 / -1; }
.cj-feature { position: relative; margin-top: clamp(8px, 2vw, 24px); background: linear-gradient(160deg, #F4FAF6 0%, var(--sage) 100%); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 52px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); scroll-margin-top: calc(var(--header-h) + 16px); }
.cj-feature::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid rgba(246,227,213,.55); pointer-events: none; }
.cj-feature .cj-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.cj-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.cj-feature .cj-copy > p { color: var(--ink-soft); }
.cj-feature .cj-lead { color: var(--teal-deep) !important; }
.cj-feature .cj-steps h4 { font-size: 1.05rem; margin: 0 0 2px; color: var(--ink); }
.cj-feature .cj-steps p { color: var(--ink-soft); }
.cj-feature .cj-note { color: var(--muted); }
@media (max-width: 980px) { .cj-feature .cj-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .cj-feature { margin-inline: -6px; } }

/* Condition photos */
.page-photo { aspect-ratio: 1 / 1; }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 980px) {
  .page-photo { display: block; justify-self: stretch; max-width: 560px; aspect-ratio: 16 / 10; border-width: 6px; margin-top: 4px; }
  .page-photo img { object-position: 50% 35%; }
}
.concern.has-img { padding-top: 0; overflow: hidden; }
.concern-img { display: block; margin: 0 -24px 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint-deep); }
.concern-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .35s; }
.concern:hover .concern-img img { transform: scale(1.04); }
.concern.has-img .concern-ico { margin-top: -26px; position: relative; border: 3px solid var(--tint); }
.concern-art { display: grid; place-items: center; color: var(--tint-ink); }
.concern-art .ico { width: 56px; height: 56px; stroke-width: 1.4; opacity: .7; }
@media (max-width: 640px) {
  .concern.has-img { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 12px 60px 12px 12px; }
  .concern.has-img .concern-img { grid-row: 1 / span 2; margin: 0; width: 84px; aspect-ratio: 1 / 1; border-radius: 14px; }
  .concern.has-img .concern-ico { display: none; }
  .concern.has-img h3 { align-self: end; }
  .concern.has-img p { align-self: start; font-size: .88rem; }
  .concern-art .ico { width: 36px; height: 36px; }
}

/* Small round photo of Dr Jason: show neck and shoulders */
.avatar img { object-position: 50% 12%; transform: scale(1.12); transform-origin: 50% 0%; }

/* Footer: four columns in one row */
.footer-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.site-footer h2 { color: var(--white); font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 10px; }
.footer-grid > div:last-child p { margin-bottom: 6px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: auto; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
