/* =========================================================
   Dr. Gaurav Das — Pediatrician, Hailakandi
   Design: deep teal + warm ivory, Instrument Serif + Manrope
   ========================================================= */

/* Fonts are served from this site (assets/fonts), so nothing is fetched from Google */
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ivory: #F7F3EC;
  --paper: #FFFDF9;
  --sand: #EFE8DC;
  --sage: #DDE7E1;
  --sage-2: #C7D8CF;
  --teal: #0F4C4A;
  --teal-700: #17605D;
  --teal-900: #0A3533;
  --teal-950: #072624;
  --ink: #14201F;
  --ink-2: #33403E;
  --muted: #5C6967;
  --line: rgba(20, 32, 31, .12);
  --line-strong: rgba(20, 32, 31, .22);
  --line-light: rgba(247, 243, 236, .14);
  --peach: #E8A48A;
  --peach-deep: #B3593F;
  --peach-soft: #F6DED2;
  --gold: #DDB870;
  --gold-deep: #97722A;

  --serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  /* Soft but small blurs: very wide shadows are slow to repaint on phones */
  --shadow: 0 1px 2px rgba(10, 53, 51, .05), 0 14px 30px -14px rgba(10, 53, 51, .22);
  --shadow-lg: 0 30px 60px -30px rgba(10, 53, 51, .42);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
  --label: .84rem;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }
::selection { background: var(--teal); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--teal); color: var(--ivory); padding: 10px 18px; border-radius: 999px; font-weight: 600;
}
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* ---------- Type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1; text-wrap: balance; }
h1.display { font-size: clamp(2.9rem, 7vw, 6.4rem); line-height: .96; }
h2.display { font-size: clamp(2.3rem, 4.8vw, 4.2rem); }
h3.display { font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.08; }
.display em { font-style: italic; color: var(--teal); }
.on-dark .display em, .display.on-dark em { color: var(--peach); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: clamp(.86rem, .78rem + .25vw, .98rem); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
}
.eyebrow::before { content: ""; width: 36px; height: 1.5px; background: currentColor; }
.eyebrow.plain::before { display: none; }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.22rem); line-height: 1.65; color: var(--ink-2); max-width: 44ch; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: .94rem; }
.fine a, .prose a { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Loading screen ----------
   Covers the page only while its scripts are still arriving (slow connections).
   main.js adds .motion-ready or .no-motion as soon as it runs, which fades this out. */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ivory); opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.js:not(.motion-ready):not(.no-motion) .loader { opacity: 1; visibility: visible; transition: none; }
.loader-in { display: grid; justify-items: center; gap: 14px; font-family: var(--serif); font-size: 1.5rem; opacity: 0; animation: loader-in .4s .35s forwards; }
.loader .mark { width: 56px; height: 56px; color: var(--teal); }
.loader i { position: relative; width: 120px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.loader i::after { content: ""; position: absolute; inset: 0; background: var(--teal); transform: translateX(-100%); animation: loader-bar 1.1s ease-in-out infinite; }
@keyframes loader-in { to { opacity: 1; } }
@keyframes loader-bar { 50% { transform: none; } 100% { transform: translateX(100%); } }

/* A note at the bottom of the screen when the connection drops */
.net-note { position: fixed; left: 50%; bottom: 18px; z-index: 90; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 10px 18px; border-radius: 18px; background: var(--teal-950); color: var(--ivory); font-size: .88rem; font-weight: 600; text-align: center; box-shadow: var(--shadow); }
.net-note[hidden] { display: none; }

/* ---------- Icons ---------- */
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); --fill: var(--teal-900); --fill-fg: var(--ivory);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  border: 1px solid var(--bd); background: var(--bg); color: var(--fg);
  font: 600 .95rem/1 var(--sans); letter-spacing: .01em; cursor: pointer;
  transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--fill); transform: translateY(102%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--fill-fg); border-color: var(--fill); }
.btn .i { width: 18px; height: 18px; }
.btn .arrow { transition: transform .45s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { --bg: var(--teal); --fg: var(--ivory); --bd: var(--teal); }
.btn-light { --bg: var(--ivory); --fg: var(--teal-900); --bd: var(--ivory); --fill: var(--peach); --fill-fg: var(--teal-950); }
.btn-ghost-light { --fg: var(--ivory); --bd: rgba(247, 243, 236, .35); --fill: var(--ivory); --fill-fg: var(--teal-900); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--teal);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px; transition: background-size .45s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow .i { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .4s var(--ease), transform .55s var(--ease), color .4s;
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
  opacity: 0; transition: opacity .4s;
}
.site-header.is-scrolled { background: rgba(247, 243, 236, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand .mark { width: 50px; height: 50px; color: var(--teal); }
.brand-text strong { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 400; line-height: 1; letter-spacing: -.01em; }
.brand-text small { display: block; margin-top: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

.mark .m-line { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mark .m-tip { fill: currentColor; }
.mark .m-child { fill: var(--peach); }
.mark .m-curl { fill: none; stroke: var(--peach); stroke-width: 1.7; stroke-linecap: round; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: .98rem; font-weight: 600; color: var(--ink-2); transition: color .3s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a[aria-current="page"] { color: var(--teal); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--peach-deep); transform: translateX(-50%);
}
.nav-right { display: flex; align-items: center; gap: 12px; }

.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; color: inherit; cursor: pointer; position: relative;
}
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; z-index: 1; }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--teal-950); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - var(--gutter) - 23px) calc(var(--header-h) / 2));
  visibility: hidden; transition: clip-path .75s var(--ease), visibility 0s .75s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - var(--gutter) - 23px) calc(var(--header-h) / 2)); visibility: visible; transition: clip-path .75s var(--ease), visibility 0s; }
.menu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-light);
  font-family: var(--serif); font-size: clamp(2.4rem, 10vw, 3.4rem); line-height: 1.05;
  opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease);
}
.menu nav a small { font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; color: var(--peach); }
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .06s; }
.menu-open .menu nav a:nth-child(3) { transition-delay: .12s; }
.menu-open .menu nav a:nth-child(4) { transition-delay: .18s; }
.menu-open .menu nav a:nth-child(5) { transition-delay: .24s; }
.menu-foot { display: grid; gap: 14px; font-size: .95rem; color: rgba(247, 243, 236, .75); }
.menu-foot a { color: var(--ivory); font-weight: 600; }
.menu-open .site-header { background: transparent; color: var(--ivory); -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.menu-open .site-header::after { opacity: 0; }
.menu-open .brand .mark, .menu-open .brand-text small { color: var(--ivory); }
.menu-open .menu-btn { border-color: rgba(247, 243, 236, .35); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(88px, 11vw, 150px); }
.section.tight-top { padding-top: 0; }
.section-head { display: grid; gap: 20px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 24px 64px; }
.section-head.split .lead { justify-self: end; }
.bg-sand { background: var(--sand); }
.bg-sage { background: var(--sage); }
.bg-dark { background: var(--teal-950); color: var(--ivory); }
.bg-dark .eyebrow { color: var(--peach); }
.bg-dark .lead, .bg-dark .muted { color: rgba(247, 243, 236, .72); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + clamp(28px, 5vw, 56px)) 0 clamp(40px, 5vw, 64px);
}
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -12vw; top: -18vw; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 216, 207, .8) 0%, rgba(221, 231, 225, .35) 40%, transparent 68%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { margin: 24px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.hero-facts li { padding: 18px 16px 0 0; }
.hero-facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.1; color: var(--teal); }
.hero-facts span { display: block; font-size: .85rem; color: var(--muted); margin-top: 2px; }

.portrait { position: relative; justify-self: end; width: min(100%, 460px); }
.arch {
  position: relative; aspect-ratio: 4 / 5.2; overflow: hidden; background: var(--sand);
  border-radius: 999px 999px var(--r-lg) var(--r-lg); box-shadow: var(--shadow-lg);
}
.arch img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 50% 18%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px;
  background: rgba(255, 253, 249, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); font-size: .85rem; line-height: 1.35;
}
.float-card strong { display: block; font-size: .92rem; }
.float-card small { color: var(--muted); }
.float-card .ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--teal); flex: none; }
.status-card { left: -48px; bottom: 9%; max-width: 280px; }
.status-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex: none; margin: 0 6px; }
.status-dot.live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--teal); animation: pulse 2s var(--ease) infinite; }
.status-dot.off { background: var(--muted); }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.ring {
  position: absolute; right: -44px; top: 12%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--ivory); box-shadow: var(--shadow); display: grid; place-items: center;
}
.ring-text { position: absolute; inset: 8px; animation: spin 26s linear infinite; }
.ring-text text { font: 700 9.6px var(--sans); letter-spacing: .24em; text-transform: uppercase; fill: var(--teal); }
.ring .mark { width: 44px; height: 44px; color: var(--teal); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; will-change: transform; }
.marquee-track > span { display: inline-flex; align-items: center; }
.marquee-item { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: 1.1; padding-inline: clamp(20px, 3vw, 40px); color: var(--ink); }
.marquee-item:nth-child(4n+3) { font-style: italic; color: var(--teal); }
.marquee-sep { width: 9px; height: 9px; border-radius: 50%; background: var(--peach); flex: none; }

/* ---------- Today ---------- */
.today-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.today-grid .lead { margin-top: 24px; }
.today-grid > div > .link-arrow { margin-top: 28px; }
.today-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.today-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.today-day { font-size: var(--label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.today-title { font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.1; margin-top: 6px; }
.today-clock { text-align: right; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.today-clock b { display: block; font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.slot { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.slot-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.slot[data-clinic="ayubia"] .slot-mark { background: var(--peach-deep); }
.slot[data-clinic="sen"] .slot-mark { background: var(--gold-deep); }
.slot-name strong { font-weight: 700; }
.slot-name small { display: block; color: var(--muted); font-size: .86rem; }
.slot-time { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; font-size: .95rem; }
.slot-status { grid-column: 2 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--sage); color: var(--teal-900); }
.slot.is-live .slot-status { background: var(--teal); color: var(--ivory); }
.slot.is-live .slot-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--peach); animation: blink 1.4s infinite; }
.slot.is-done { opacity: .5; }
.slot.is-done .slot-status { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
@keyframes blink { 50% { opacity: .2; } }
.today-next { margin-top: 16px; color: var(--ink-2); font-size: .95rem; }
.today-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; font-size: .92rem; color: var(--muted); }
.today-static p + p { margin-top: 8px; }

/* ---------- Service cards (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  min-height: 440px; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line); transition: color .55s var(--ease), border-color .55s;
}
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal-900); transform: translateY(101%); transition: transform .7s var(--ease); }
.svc-card:hover::before, .svc-card:focus-visible::before { transform: none; }
.svc-card:hover, .svc-card:focus-visible { color: var(--ivory); border-color: var(--teal-900); }
.svc-card:hover p, .svc-card:focus-visible p { color: rgba(247, 243, 236, .75); }
.svc-card:hover .link-arrow, .svc-card:focus-visible .link-arrow { color: var(--peach); }
.svc-card:hover .svc-icon, .svc-card:focus-visible .svc-icon { border-color: rgba(247, 243, 236, .3); color: var(--peach); transform: rotate(-8deg); }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-num { font-size: var(--label); font-weight: 700; letter-spacing: .16em; color: var(--muted); }
.svc-card:hover .svc-num { color: rgba(247, 243, 236, .6); }
.svc-icon { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--teal); transition: transform .6s var(--ease), color .5s, border-color .5s; }
.svc-icon .i { width: 26px; height: 26px; }
.svc-card h3 { font-family: var(--serif); font-size: clamp(2rem, 2.6vw, 2.4rem); line-height: 1.05; margin: auto 0 14px; padding-top: 56px; }
.svc-card p { color: var(--ink-2); transition: color .5s; }
.svc-card .link-arrow { margin-top: 26px; align-self: flex-start; }
.also { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 22px 28px; border-radius: var(--r); border: 1px dashed var(--line-strong); }

/* ---------- Film (video band) ---------- */
.film { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ivory); }
.film-media { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 0 round 0px); }
.film-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; will-change: transform; }
.film-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 38, 36, .2) 0%, rgba(7, 38, 36, 0) 35%, rgba(7, 38, 36, .35) 60%, rgba(7, 38, 36, .85) 100%); }
.film-copy { position: absolute; inset: 0; z-index: 2; display: grid; place-content: end center; justify-items: center; gap: 18px; text-align: center; color: var(--ivory); padding: var(--gutter) var(--gutter) clamp(48px, 9vh, 104px); }
.film-copy .eyebrow { color: var(--peach-soft); }
.film-copy p.display { font-size: clamp(2.2rem, 4.6vw, 4.4rem); max-width: 22ch; line-height: 1.02; }
.film-copy p.display em { color: var(--peach-soft); }

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.approach-media { position: sticky; top: calc(var(--header-h) + 40px); }
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--sand); }
.frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.frame.tall { aspect-ratio: 4 / 5; }
.frame.wide { aspect-ratio: 16 / 10; }
.frame.square { aspect-ratio: 1; }
.seal {
  position: absolute; right: -28px; bottom: -28px; width: 150px; height: 150px; padding: 26px;
  border-radius: 50%; background: var(--ivory); box-shadow: var(--shadow); color: var(--teal);
}
.seal svg { width: 100%; height: 100%; }
.points { margin-top: clamp(32px, 5vw, 56px); }
.points li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points .n { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--peach-deep); line-height: 1.4; }
.points h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.1; margin-bottom: 8px; }
.points p { color: var(--ink-2); max-width: 48ch; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--teal-900); color: var(--ivory); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 40px); }
.stat + .stat { border-left: 1px solid var(--line-light); }
.stat-num { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1; font-variant-numeric: lining-nums; }
.stat-num sup { font-size: .45em; vertical-align: .9em; color: var(--peach); margin-left: 2px; }
.stat-label { margin-top: 12px; color: rgba(247, 243, 236, .72); font-size: .95rem; max-width: 18ch; }

/* ---------- Booking ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-bottom: clamp(40px, 5vw, 64px); }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: var(--line-strong); transform-origin: 0 50%; transform: scaleX(var(--line, 1)); }
.step { position: relative; padding-top: 40px; }
.step-dot { position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--teal); }
.bg-sand .step-dot { background: var(--sand); }
.step-n { font-family: var(--serif); font-style: italic; color: var(--peach-deep); font-size: 1.15rem; }
.step h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.1; margin: 6px 0 10px; }
.step p { color: var(--ink-2); }
.step a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

.call-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.call-card:nth-child(odd):last-child { grid-column: 1 / -1; } /* an odd last card spans the row, like the third clinic card */
.call-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line);
  transition: color .55s var(--ease), border-color .55s;
}
.call-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal-900); transform: translateY(101%); transition: transform .7s var(--ease); }
.call-card:hover::before, .call-card:focus-visible::before { transform: none; }
.call-card:hover, .call-card:focus-visible { color: var(--ivory); border-color: var(--teal-900); }
.call-card:hover small, .call-card:focus-visible small { color: rgba(247, 243, 236, .65); }
.call-card small { display: flex; align-items: center; gap: 10px; font-size: var(--label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .5s; }
.call-card small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.call-card[data-clinic="ayubia"] small::before { background: var(--peach-deep); }
.call-card[data-clinic="sen"] small::before { background: var(--gold-deep); }
.call-card:hover small::before { background: var(--peach); }
.call-card strong { display: block; margin-top: 12px; font-weight: 600; font-size: .95rem; }
.call-card .num { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; margin-top: 2px; font-variant-numeric: lining-nums; }
.call-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: var(--ivory); display: grid; place-items: center; flex: none; transition: transform .6s var(--ease), background .5s, color .5s; }
.call-ico .i { width: 24px; height: 24px; }
.call-card:hover .call-ico { transform: rotate(-14deg) scale(1.06); background: var(--peach); color: var(--teal-950); }
.book-note { margin-top: 28px; text-align: center; }

.notice { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 20px 24px; border-radius: var(--r); background: var(--sage); color: var(--teal-900); }
.notice .i { width: 22px; height: 22px; margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta { display: grid; grid-template-columns: 1.15fr .85fr; border-radius: var(--r-lg); overflow: hidden; background: var(--teal-900); color: var(--ivory); }
.cta-copy { padding: clamp(36px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.cta-copy .eyebrow { color: var(--peach); }
.cta-copy p { color: rgba(247, 243, 236, .76); max-width: 42ch; }
.cta-copy .display em { color: var(--peach); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta-media { position: relative; min-height: 360px; overflow: hidden; }
.cta-media img { position: absolute; inset: -8% 0 auto; width: 100%; height: 116%; object-fit: cover; }
.cta.simple { grid-template-columns: 1fr auto; align-items: center; }
.cta.simple .cta-copy { padding-right: 0; }
.cta.simple .cta-actions { padding: clamp(36px, 6vw, 88px); padding-left: 24px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--teal-950); color: rgba(247, 243, 236, .74); padding-top: clamp(72px, 9vw, 120px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.4fr 1.3fr; gap: 40px; }
.footer-brand .brand { color: var(--ivory); }
.footer-brand .brand .mark { color: var(--ivory); }
.footer-brand .brand-text small { color: rgba(247, 243, 236, .6); }
.footer-brand p { margin-top: 20px; max-width: 32ch; }
.site-footer h4 { font-size: var(--label); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--peach); margin-bottom: 18px; }
.footer-links li + li { margin-top: 12px; }
.footer-links a { transition: color .3s; }
.footer-links a:hover { color: var(--ivory); }
.footer-links strong { display: block; color: var(--ivory); font-weight: 600; }
.footer-note { margin-top: 16px; font-size: .85rem; color: rgba(247, 243, 236, .55); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247, 243, 236, .22); display: grid; place-items: center; color: var(--ivory); transition: background .35s, color .35s, border-color .35s; }
.socials a:hover { background: var(--ivory); color: var(--teal-950); border-color: var(--ivory); }
.socials .i { width: 18px; height: 18px; }
.footer-word { margin-top: clamp(56px, 8vw, 96px); font-family: var(--serif); font-size: clamp(3.6rem, 15vw, 14.5rem); line-height: .78; letter-spacing: -.035em; white-space: nowrap; text-align: center; color: rgba(247, 243, 236, .07); user-select: none; }
.footer-word em { color: rgba(232, 164, 138, .16); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding: 24px 0 32px; border-top: 1px solid var(--line-light); font-size: .85rem; }
.emergency { color: var(--peach); font-weight: 600; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 120px)) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; z-index: -1; left: -20vw; top: -30vw; width: 70vw; height: 70vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 216, 207, .7) 0%, transparent 65%);
}
.page-hero h1.display { font-size: clamp(3rem, 8.4vw, 7.4rem); margin: 22px 0 28px; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-inline: auto; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.page-hero.center .pills { justify-content: center; }
.pills li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .88rem; font-weight: 600; color: var(--ink-2); background: rgba(255, 253, 249, .6); }
.pills li b { color: var(--teal); }
.pills a { transition: color .3s; }
.pills a:hover { color: var(--teal); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.bio p + p { margin-top: 18px; }
.bio p { color: var(--ink-2); max-width: 54ch; }
.bio .lead { margin-bottom: 22px; }
.about-portrait { position: relative; }
.about-portrait .arch { max-width: 440px; margin-left: auto; }
.caption-card { position: absolute; left: 0; bottom: 8%; }

.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.cred { padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.cred + .cred { border-left: 1px solid var(--line); }
.cred small { font-size: var(--label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cred strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.05; margin: 14px 0 8px; color: var(--teal); }
.cred p { color: var(--ink-2); font-size: .95rem; }

.statement { position: relative; min-height: clamp(460px, 86vh, 780px); display: grid; place-items: center; overflow: hidden; color: var(--ivory); text-align: center; }
.statement > img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 38, 36, .35), rgba(7, 38, 36, .7)); }
.statement-copy { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: center; padding: var(--gutter); }
.statement-copy .eyebrow { color: var(--peach-soft); }
.statement-copy p.display { font-size: clamp(2.2rem, 5vw, 4.6rem); max-width: 18ch; line-height: 1.04; }
.statement-copy p.display em { color: var(--peach-soft); }

.tl { position: relative; max-width: 980px; margin-inline: auto; }
.tl-track, .tl-fill { position: absolute; left: 240px; top: 0; bottom: 0; width: 1px; }
.tl-track { background: var(--line-strong); }
.tl-fill { background: var(--teal); transform-origin: 50% 0; transform: scaleY(var(--tl, 1)); width: 2px; margin-left: -.5px; }
.tl-item { position: relative; display: grid; grid-template-columns: 240px 1fr; padding: clamp(28px, 4vw, 48px) 0; }
.tl-tag { padding-right: 40px; text-align: right; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--peach-deep); line-height: 1.3; }
.tl-dot { position: absolute; left: 240px; top: calc(clamp(28px, 4vw, 48px) + 8px); width: 15px; height: 15px; margin-left: -7px; border-radius: 50%; background: var(--sand); border: 2px solid var(--teal); }
.tl-item.is-active .tl-dot { background: var(--teal); box-shadow: 0 0 0 6px rgba(15, 76, 74, .12); }
.tl-dot { transition: background .4s, box-shadow .4s; }
.tl-body { padding-left: 48px; }
.tl-body h3 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; margin-bottom: 10px; }
.tl-body p { color: var(--ink-2); max-width: 52ch; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.gallery-col { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.gallery-col:nth-child(2) { margin-top: clamp(40px, 8vw, 120px); }
.shot figure, .shot { margin: 0; }
.shot .frame img { top: 0; height: 100%; }
.shot figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 14px; font-size: .92rem; color: var(--ink-2); }
.shot figcaption span { font-family: var(--serif); font-style: italic; color: var(--peach-deep); }

/* ---------- Services: age journey (horizontal) ---------- */
.hs { position: relative; overflow: hidden; }
.hs-inner { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; padding: calc(var(--header-h) + 24px) 0 48px; }
.hs-track { display: flex; gap: 24px; width: max-content; padding-inline: var(--gutter); will-change: transform; }
.hs-intro { width: min(84vw, 460px); display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-right: 32px; }
.stage {
  position: relative; overflow: hidden; width: min(80vw, 440px); height: min(64vh, 540px); min-height: 440px;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(26px, 3vw, 36px);
  border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line);
}
.stage-top { display: flex; justify-content: space-between; align-items: flex-start; }
.stage-n { font-family: var(--serif); font-size: clamp(4rem, 7vw, 6rem); line-height: .8; color: var(--sage-2); }
.stage-age { font-size: var(--label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; }
.stage h3 { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin-bottom: 12px; }
.stage p { color: var(--ink-2); max-width: 32ch; }
.stage.photo { color: var(--ivory); border: 0; background: var(--teal-900); }
.stage.photo > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 35%); }
.stage.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 38, 36, .45) 0%, rgba(7, 38, 36, 0) 26%, rgba(7, 38, 36, 0) 40%, rgba(7, 38, 36, .62) 62%, rgba(7, 38, 36, .93) 100%); }
.stage.photo > * { position: relative; z-index: 1; }
.stage.photo .stage-n { color: rgba(247, 243, 236, .55); }
.stage.photo .stage-age { color: var(--ivory); border-color: rgba(247, 243, 236, .4); }
.stage.photo p { color: rgba(247, 243, 236, .85); }
.stage.dark { background: var(--teal-900); color: var(--ivory); border: 0; }
.stage.dark .stage-n { color: rgba(247, 243, 236, .18); }
.stage.dark .stage-age { color: var(--peach); border-color: rgba(247, 243, 236, .25); }
.stage.dark p { color: rgba(247, 243, 236, .78); }
.stage.sage { background: var(--sage); border: 0; }
.hs-progress { position: relative; height: 1px; background: var(--line-strong); margin: clamp(28px, 4vw, 48px) var(--gutter) 0; }
.hs-progress span { position: absolute; inset: 0; background: var(--teal); transform-origin: 0 50%; transform: scaleX(0); height: 2px; top: -.5px; }

/* ---------- Services: stacked panels ---------- */
.svc-stack { display: grid; gap: clamp(24px, 3vw, 40px); }
.svc-panel {
  position: sticky; top: calc(var(--header-h) + 20px + var(--i, 0) * 16px); transform-origin: 50% 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(24px, 4vw, 56px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.svc-panel + .svc-panel { margin-top: 26vh; }
.svc-panel.sage { background: #E9F0EC; }
.svc-panel.sand { background: #F3EDE3; }
.svc-panel .svc-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.svc-panel .svc-tag .svc-icon { width: 48px; height: 48px; }
.svc-panel .svc-tag .svc-icon .i { width: 22px; height: 22px; }
.svc-panel .svc-tag span:last-child { font-size: var(--label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.svc-panel h2.display { font-size: clamp(2.1rem, 3.8vw, 3.3rem); margin-bottom: 18px; }
.svc-panel .lead { max-width: 46ch; }
.checklist { margin-top: 26px; }
.checklist li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; 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='%23F7F3EC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.svc-panel .link-arrow { margin-top: 22px; }
.svc-panel .frame { aspect-ratio: 4 / 3.4; }
.svc-panel .frame img { top: 0; height: 100%; object-position: var(--pos, 50% 50%); }

.record { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.record-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.record-head strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.record-head small { color: var(--muted); font-size: .85rem; }
.record-head .mark { width: 40px; height: 40px; color: var(--teal); }
.record li { display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line-strong); font-size: .95rem; }
.record li:last-child { border-bottom: 0; }
.record li span { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.record .tick { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--teal); display: grid; place-items: center; color: var(--teal); }
.record .tick svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.record li.due .tick { border-color: var(--peach-deep); border-style: dashed; }
.record li.due span { color: var(--peach-deep); font-weight: 700; }

.chart { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(18px, 2.4vw, 28px); box-shadow: var(--shadow); }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.chart-head strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.chart-head small { color: var(--muted); font-size: .82rem; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text { font: 600 10px var(--sans); fill: var(--muted); }
.chart .band { fill: var(--sage); opacity: .55; }
.chart .p { fill: none; stroke: var(--sage-2); stroke-width: 1.5; }
.chart .p50 { fill: none; stroke: var(--teal); stroke-width: 1.8; }
.chart .child { fill: none; stroke: var(--peach-deep); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.chart .pt { fill: var(--paper); stroke: var(--peach-deep); stroke-width: 2.2; }
.chart .lbl { font: 700 10px var(--sans); fill: var(--muted); }
.chart-legend { display: flex; gap: 18px; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.chart-legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; background: var(--peach-deep); }
.chart-legend i.t { background: var(--teal); }

/* Everyday illness */
.ill-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.ill-grid .frame { min-height: 420px; }
.ill-grid .frame img { top: -8%; object-position: 50% 25%; }
.ills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ill { padding: clamp(22px, 2.6vw, 30px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease), box-shadow .5s; }
.ill:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ill .svc-icon { width: 50px; height: 50px; margin-bottom: 18px; }
.ill .svc-icon .i { width: 22px; height: 22px; }
.ill h3 { font-family: var(--serif); font-size: 1.8rem; line-height: 1.05; }
.ill p { color: var(--muted); font-size: .95rem; }

/* Vaccine schedule table */
.vax-table { border-top: 1px solid var(--line-strong); }
.vax-row { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; gap: 16px 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.vax-age { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.1; }
.vax-list { display: flex; flex-wrap: wrap; gap: 8px; }
.vax-list li { padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--teal-900); }
.bg-sand .vax-list li { background: var(--ivory); }
.vax-disclaimer { margin-top: 28px; max-width: 70ch; }

/* What to bring */
.pack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pack li { padding: 26px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; gap: 40px; min-height: 190px; }
.pack .n { font-family: var(--serif); font-style: italic; color: var(--peach-deep); font-size: 1.1rem; }
.pack .i { width: 28px; height: 28px; color: var(--teal); }
.pack strong { font-weight: 600; line-height: 1.35; margin-top: auto; }

/* ---------- Clinics ---------- */
.today-wrap { max-width: 720px; margin: 48px auto 0; text-align: left; }
.clinics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.clinic { display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.clinic-tag { display: inline-flex; align-items: center; gap: 10px; font-size: var(--label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.clinic-tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.clinic[data-clinic="ayubia"] .clinic-tag::before { background: var(--peach-deep); }
.clinic[data-clinic="sen"] .clinic-tag::before { background: var(--gold-deep); }
/* The odd third clinic spans the row: details on the left, map on the right */
@media (min-width: 961px) {
  .clinic.is-wide { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); align-content: start; }
  .clinic.is-wide > * { grid-column: 1; }
  .clinic.is-wide .clinic-tag { justify-self: start; }
  .clinic.is-wide .map { grid-column: 2; grid-row: 1 / span 5; margin-top: 0; }
  .clinic.is-wide .map iframe { height: 100%; min-height: 280px; }
}
.clinic h2 { font-family: var(--serif); font-size: clamp(2.3rem, 3.6vw, 3.1rem); line-height: 1.02; margin: 14px 0 16px; }
.clinic-addr { display: flex; gap: 10px; color: var(--ink-2); }
.clinic-addr .i { margin-top: 4px; color: var(--teal); }
.hours { margin: 26px 0; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours span { color: var(--ink-2); }
.hours strong { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.hours li.off strong { color: var(--muted); font-weight: 600; }
.clinic-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map { margin-top: 24px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.map iframe { width: 100%; height: 280px; border: 0; filter: saturate(.75) contrast(1.02); }

.week-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 40px); box-shadow: var(--shadow); }
.legend { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--teal); }
.legend span[data-clinic="ayubia"]::before { background: var(--peach); }
.legend span[data-clinic="sen"]::before { background: var(--gold); }
.week { display: grid; gap: 8px; }
.week-axis { position: relative; height: 20px; margin-left: 150px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.week-axis span { position: absolute; left: calc((var(--at) - 9) / 12 * 100%); transform: translateX(-50%); white-space: nowrap; }
.week-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; border-radius: 14px; }
.week-day { font-weight: 700; font-size: .95rem; padding: 0 12px; }
.week-day small { display: none; margin-left: 8px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--peach-deep); }
.week-track {
  position: relative; height: 52px; border-radius: 12px; background-color: var(--ivory);
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 12));
}
.blk {
  position: absolute; top: 7px; bottom: 7px; left: calc((var(--from) - 9) / 12 * 100%); width: calc((var(--to) - var(--from)) / 12 * 100%);
  border-radius: 9px; background: var(--teal); color: var(--ivory); display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: .78rem; font-weight: 700; white-space: nowrap; overflow: hidden; padding: 0 8px; transform-origin: 0 50%;
}
.blk[data-clinic="ayubia"] { background: var(--peach); color: var(--teal-950); }
.blk[data-clinic="sen"] { background: var(--gold); color: var(--teal-950); }
.blk b { font-weight: 800; }
.blk.narrow b { display: none; }
.week-row.is-today { background: var(--sage); }
.week-row.is-today .week-day small { display: inline; }
.week-row.is-today .week-track { background-color: var(--paper); }
.week-row.has-now .week-track::after { content: ""; position: absolute; top: -4px; bottom: -4px; left: calc((var(--now) - 9) / 12 * 100%); width: 2px; background: var(--peach-deep); border-radius: 2px; }

.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; transition: background .35s, border-color .35s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--teal); border-color: var(--teal); color: var(--ivory); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 64px 28px 0; color: var(--ink-2); max-width: 64ch; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 6px;
  padding: 28px 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line);
  transition: color .55s var(--ease), border-color .55s, transform .55s var(--ease), box-shadow .55s;
}
.contact-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--teal-900); transform: translateY(101%); transition: transform .7s var(--ease); }
.contact-card:hover::before, .contact-card:focus-visible::before { transform: none; }
.contact-card:hover, .contact-card:focus-visible { color: var(--ivory); border-color: var(--teal-900); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-card:hover small, .contact-card:focus-visible small,
.contact-card:hover > span:not(.svc-icon), .contact-card:focus-visible > span:not(.svc-icon) { color: rgba(247, 243, 236, .7); }
.contact-card:hover .svc-icon, .contact-card:focus-visible .svc-icon { color: var(--peach); border-color: rgba(247, 243, 236, .3); transform: rotate(-8deg) scale(1.06); }
.contact-card .go { position: absolute; top: 28px; right: 24px; width: 20px; height: 20px; color: var(--peach); opacity: 0; transform: translate(-8px, 8px); transition: opacity .45s, transform .55s var(--ease); }
.contact-card:hover .go, .contact-card:focus-visible .go { opacity: 1; transform: none; }
.contact-card small, .contact-card > span:not(.svc-icon) { transition: color .5s; }
.contact-card .svc-icon { width: 50px; height: 50px; margin-bottom: 28px; }
.contact-card .svc-icon .i { width: 22px; height: 22px; }
.contact-card small { font-size: var(--label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-weight: 700; word-break: break-word; }
.contact-card span { font-size: .88rem; color: var(--muted); }

/* ---------- Privacy page ---------- */
.policy { max-width: 760px; margin-inline: auto; }
.policy h2 { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; margin: 44px 0 12px; }
.policy p, .policy li { color: var(--ink-2); }
.policy p + p { margin-top: 12px; }
.policy ul { display: grid; gap: 12px; }
.policy li { position: relative; padding-left: 22px; }
.policy li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--peach-deep); }
.policy a { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Page not found (404.html) ---------- */
.lost-photo { position: relative; width: 170px; margin: 0 auto 26px; overflow: hidden; border-radius: 999px 999px var(--r) var(--r); background: var(--sage); box-shadow: var(--shadow); }
.lost-photo::before { content: ""; display: block; padding-top: 135%; }
.lost-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.lost h1.display { font-size: clamp(2.8rem, 6.4vw, 5.6rem); max-width: 16ch; margin-inline: auto; }
.lost-actions { justify-content: center; }

/* ---------- The crawling baby (Home page only, added by baby.js) ---------- */
.baby { --bx: -50%; position: fixed; left: 0; bottom: 6px; z-index: 40; width: var(--baby-size, 150px); height: var(--baby-size, 150px); pointer-events: none; will-change: transform; transition: opacity .5s; }
.baby.is-gone, .menu-open .baby { opacity: 0; }
.menu-open .baby * { pointer-events: none !important; }
.baby-canvas { display: block; width: 100%; height: 100%; pointer-events: auto; touch-action: manipulation; }
.baby.is-hover .baby-canvas { cursor: pointer; }
.baby-bubble {
  position: absolute; left: 50%; bottom: calc(100% + 2px); margin: 0; width: max-content; max-width: 210px;
  padding: 9px 14px; border-radius: 16px; background: var(--paper); color: var(--teal-900);
  border: 1px solid var(--line); box-shadow: var(--shadow); font: 700 .82rem/1.35 var(--sans); text-align: center;
  opacity: 0; transform: translate(var(--bx), 8px) scale(.9); transform-origin: 50% 100%;
  transition: opacity .35s, transform .45s var(--ease); pointer-events: none;
}
.baby-bubble::after {
  content: ""; position: absolute; top: 100%; left: calc(var(--bx) * -1); width: 12px; height: 12px;
  background: inherit; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: translate(-50%, -6px) rotate(45deg);
}
.baby-bubble.is-on { opacity: 1; transform: translate(var(--bx), 0) scale(1); }
.baby-bubble.is-grumpy { background: var(--peach-soft); color: var(--peach-deep); font-size: .95rem; }
.baby[data-edge="left"] { --bx: -18%; }
.baby[data-edge="right"] { --bx: -82%; }
.baby-close {
  position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--teal-900); display: grid; place-items: center;
  cursor: pointer; pointer-events: auto; opacity: 0; transition: opacity .3s .8s;
}
.baby-close svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.baby.is-hover .baby-close, .baby-close:hover, .baby-close:focus-visible { opacity: 1; transition-delay: 0s; }
@media (hover: none) { .baby-close { opacity: .8; width: 22px; height: 22px; top: 0; right: 0; } }
@media (max-width: 599px) { .baby-bubble { max-width: 170px; font-size: .74rem; padding: 7px 11px; } }

/* ---------- Split word helper ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .12em; margin: 0 -.06em -.12em; }
.wi { display: inline-block; will-change: transform; }

/* Pictures that drift while scrolling get their own layer, so moving them never repaints the page */
.js:not(.no-motion) [data-parallax], .js:not(.no-motion) [data-speed] { will-change: transform; }

/* ---------- Motion initial states (only while JS + motion are active) ---------- */
.js:not(.no-motion) [data-reveal] { opacity: 0; }
.js:not(.no-motion) [data-split]:not(.is-split) { visibility: hidden; }
.js:not(.no-motion) [data-clip] { clip-path: inset(100% 0 0 0); }
.js:not(.no-motion) [data-hero] { opacity: 0; }
.js:not(.no-motion) [data-hero-arch] { clip-path: inset(100% 0 0 0); }
.js:not(.no-motion) [data-stagger] > * { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 12px; } /* five menu links need a little less air on narrow laptops */
  .nav-links a { padding: 8px 8px; font-size: .9rem; }
  .brand-text strong { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-card { left: -16px; }
  .ring { right: -16px; }
}

@media (max-width: 960px) {
  :root { --header-h: 74px; }
  .brand .mark { width: 44px; height: 44px; }
  .brand-text strong { font-size: 1.6rem; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .hero-grid, .today-grid, .approach, .about-grid, .ill-grid, .section-head.split { grid-template-columns: 1fr; }
  .section-head.split .lead { justify-self: start; }
  .hero { min-height: auto; }
  .portrait { justify-self: center; width: min(100%, 420px); margin-top: 16px; }
  .approach-media { position: relative; top: 0; max-width: 520px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 340px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .cta, .cta.simple { grid-template-columns: 1fr; }
  .cta.simple .cta-actions { padding: 0 clamp(36px, 6vw, 88px) clamp(36px, 6vw, 88px); }
  .cta-media { min-height: 300px; order: -1; }
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred:nth-child(3) { border-left: 0; }
  .cred:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-portrait .arch { margin-inline: auto; }
  .svc-panel { position: relative; top: 0 !important; grid-template-columns: 1fr; }
  .svc-panel + .svc-panel { margin-top: 0; }
  .clinics { grid-template-columns: 1fr; }
}

/* Short laptop screens: tighten the stacked service cards so each one fits while it pauses */
@media (min-width: 961px) and (max-height: 820px) {
  .svc-panel { padding: 32px 44px; gap: 48px; }
  .svc-panel .svc-tag { margin-bottom: 12px; }
  .svc-panel h2.display { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 12px; }
  .svc-panel .lead { font-size: 1.02rem; }
  .svc-panel .checklist { margin-top: 16px; }
  .svc-panel .checklist li { padding: 8px 0; }
  .svc-panel .link-arrow { margin-top: 14px; }
  .svc-panel .frame { aspect-ratio: 4 / 3; }
}

@media (max-width: 899px) {
  .hs-inner { min-height: 0; padding: clamp(88px, 11vw, 150px) 0; }
  .hs-track { display: grid; width: auto; padding-inline: 0; margin-inline: var(--gutter); gap: 16px; }
  .hs-intro { width: auto; padding: 0 0 16px; }
  .stage { width: auto; height: auto; min-height: 320px; }
  .hs-progress { display: none; }
}

@media (max-width: 760px) {
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-facts li:nth-child(n+3) { margin-top: 12px; }
  .status-card { left: 8px; right: 8px; bottom: 12px; max-width: none; }
  .ring { width: 104px; height: 104px; right: -6px; top: -16px; }
  .ring .mark { width: 36px; height: 36px; }
  .steps, .call-grid { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .step { padding-top: 0; padding-left: 32px; }
  .step-dot { top: 8px; }
  .call-card .num { font-size: 1.9rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-col:nth-child(2) { margin-top: 48px; }
  .gallery-col:nth-child(3) { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .gallery-col:nth-child(3) .shot:first-child { grid-row: span 2; }
  .tl-track, .tl-fill, .tl-dot { left: 7px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 40px; }
  .tl-tag { text-align: left; padding: 0 0 6px; font-size: 1.1rem; }
  .tl-body { padding-left: 0; }
  .tl-dot { top: calc(clamp(28px, 4vw, 48px) + 6px); }
  .ills { grid-template-columns: 1fr; }
  .vax-row { grid-template-columns: 1fr; gap: 10px; }
  .pack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seal { width: 112px; height: 112px; padding: 20px; right: -8px; bottom: -20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq details p { padding-right: 0; }
  .week-axis { display: none; }
  .week-row { grid-template-columns: 1fr; padding: 10px 12px; gap: 8px; background: var(--ivory); }
  .week-day { padding: 0; }
  .week-track { height: auto; background: none; display: flex; flex-wrap: wrap; gap: 8px; }
  .blk { position: static; width: auto; padding: 8px 12px; }
  .blk.narrow b { display: inline; }
  .week-row.has-now .week-track::after { display: none; }
  .week-row.is-today .week-track { background: none; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  :root { --label: .8rem; }
  .brand { gap: 12px; }
  .brand-text strong { font-size: 1.42rem; }
  .brand-text small { font-size: .68rem; letter-spacing: .16em; }
  .brand .mark { width: 40px; height: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .contact-grid, .pack { grid-template-columns: 1fr; }
  .pack li { min-height: 0; gap: 20px; }
  .call-card { padding: 22px; }
  .call-ico { width: 52px; height: 52px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-col:nth-child(2) { margin-top: 0; }
  .gallery-col:nth-child(3) { grid-template-columns: 1fr; }
  .gallery-col:nth-child(3) .shot:first-child { grid-row: auto; }
  .creds { grid-template-columns: 1fr; }
  .cred + .cred { border-left: 0; border-top: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; }
  .also { padding: 18px 20px; }
  .slot { grid-template-columns: auto 1fr; }
  .slot-time { grid-column: 2; text-align: left; font-size: .9rem; }
}

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