/* ─── Fonts (self-hosted, latin) ─────────────────────── */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif.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.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; }

/* ─── Tokens ─────────────────────────────────────────── */
/* The logo's palette with blue as the one lead accent. Magenta and green appear only as small signals
   (the status dot, the medical centre, the stripe above the header, and "January 2027").
   "-text" shades are darkened so they pass 4.5:1 on white; the pure logo colours are used for shapes and light. */
:root {
  --bg: #ffffff;
  --bg-2: #f4f9fc;
  --bg-3: #eaf4fa;
  --surface: #f6fafd;
  --surface-2: #eef5fa;
  --line: #e1eaf1;
  --line-2: #cddbe6;
  --heading: #0c3450;
  --text: #4a5e70;
  --muted: #607386;
  --blue: #0a9bd7;    --blue-text: #0670a3;    --blue-tint: #e6f5fc;
  --magenta: #b0189b; --magenta-text: #9d1489; --magenta-tint: #fbedf8;
  --green: #6aae3f;   --green-text: #3b6f1f;   --green-tint: #eef7e8;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --r-xl: 32px; --r-lg: 24px; --r-md: 18px; --r-sm: 12px;
  --shadow-soft: 0 1px 2px rgba(12, 52, 80, .04), 0 12px 32px -8px rgba(12, 52, 80, .1);
  --shadow-lift: 0 2px 6px rgba(12, 52, 80, .05), 0 30px 60px -20px rgba(12, 52, 80, .22);
  --gutter: clamp(20px, 4vw, 44px);
  --section: clamp(96px, 12vw, 168px);
  --header: 88px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
:root { --tone: var(--blue); --tone-text: var(--blue-text); --tone-tint: var(--blue-tint); }

/* ─── Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; background: var(--bg); }
html:not(.motion-still) { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2 { font-family: var(--display); font-weight: 400; color: var(--heading); margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 8.4vw, 7.6rem); line-height: .94; }
h2 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1; }
h3 { font-family: var(--sans); font-size: 1.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; color: var(--heading); margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--heading); }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--heading); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { background: var(--blue-tint); color: var(--heading); }
/* Split headings: each word sits in a mask so it can rise into place */
.split-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .12em; margin: -.06em -.02em -.12em; }
.split-word { display: inline-block; will-change: transform; }

/* ─── Buttons and small parts ────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: 1rem; font-weight: 700; letter-spacing: -.005em; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: scale(.98); }
/* .btn-light is the main action; .btn-ghost the quiet one (names kept from the page markup) */
.btn-light { background: var(--blue-text); color: #fff; box-shadow: 0 12px 28px -12px rgba(6, 112, 163, .7); }
.btn-light:hover { background: #055b85; color: #fff; box-shadow: 0 0 0 6px rgba(10, 155, 215, .14), 0 18px 40px -14px rgba(6, 112, 163, .8); }
.btn-ghost { background: #fff; color: var(--heading); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-text); }
.btn-glow { color: var(--blue-text); background: #fff; border: 1.5px solid var(--blue); }
.btn-glow:hover { color: #fff; background: var(--blue-text); border-color: var(--blue-text); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); color: var(--heading); font-size: .92rem; font-weight: 600; box-shadow: var(--shadow-soft); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--green); opacity: 0; }
.motion-full .dot::after, .motion-lite .dot::after { animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

.section { position: relative; padding: var(--section) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 72px; align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head p { font-size: 1.125rem; max-width: 30em; }

/* ─── Header ─────────────────────────────────────────── */
.header { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); border-bottom: 1px solid transparent; }
.header::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue) 0 33.33%, var(--magenta) 33.33% 66.66%, var(--green) 66.66%); }
.header.scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(18px); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(12, 52, 80, .3); }
.motion-lite .header.scrolled, .motion-still .header.scrolled { background: rgba(255, 255, 255, .97); backdrop-filter: none; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header); }
.brand-logo { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { position: relative; padding: 10px 16px; color: var(--text); font-size: .95rem; font-weight: 600; text-decoration: none; transition: color .25s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--heading); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.mbar { display: none; }
.nav-toggle { display: none; place-items: center; width: 48px; height: 48px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; color: var(--heading); cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close, .menu-open .nav-toggle .icon-open { display: none; }
.menu-open .nav-toggle .icon-close { display: block; }
main { display: block; }

/* ─── Hero ───────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header) + 40px) 0 120px; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #fff, var(--bg-2)); }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.aurora span { position: absolute; border-radius: 50%; }
.aurora-a { width: 70vmax; height: 70vmax; right: -24vmax; top: -30vmax; background: radial-gradient(circle, rgba(10, 155, 215, .18), rgba(10, 155, 215, 0) 62%); }
.aurora-b { width: 50vmax; height: 50vmax; left: -20vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(10, 155, 215, .08), rgba(10, 155, 215, 0) 62%); }
.motion-full .aurora-a { animation: drift-a 22s ease-in-out infinite alternate; }
.motion-full .aurora-b { animation: drift-c 30s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.08); } }
@keyframes drift-c { to { transform: translate3d(5vmax, -6vmax, 0) scale(1.1); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; align-items: center; }
.hero h1 { margin-top: 32px; max-width: 10ch; }
.hero-lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.65; margin-top: 32px; max-width: 30em; }
.hero-art { position: relative; justify-self: end; width: min(100%, 480px); }
.mark-art { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.mark-glow { position: absolute; inset: -12%; border-radius: 50%; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); background: radial-gradient(circle at 50% 45%, rgba(10, 155, 215, .2), transparent 62%); }
.mark-img { position: relative; width: 78%; height: auto; filter: drop-shadow(0 24px 40px rgba(12, 52, 80, .16)); }
.scroll-cue { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--muted); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; }
.scroll-cue i { position: relative; width: 1px; height: 48px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--blue); }
.motion-full .scroll-cue i::after, .motion-lite .scroll-cue i::after { animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
/* Hidden until the opening sequence plays (full motion only; shown anyway after 3 s) */
.motion-full [data-hero], .motion-full [data-hero-art], .motion-full .page-hero .mark-art, .motion-full .reveal { opacity: 0; }
.section-flush { padding-top: 0; }

/* ─── Opening date ───────────────────────────────────── */
.opening { position: relative; padding: clamp(80px, 12vw, 180px) 0; text-align: center; overflow: hidden; background: var(--bg-2); }
.opening-kicker { color: var(--muted); font-size: 1.1rem; font-weight: 600; }
.opening-date { margin: 18px 0 0; font-size: clamp(4rem, 15vw, 15rem); line-height: .9; letter-spacing: -.035em; }
/* Two layers: a thin outline underneath, and the solid colours on top, revealed left to right as the page scrolls.
   The coloured layer has extra room around it so the tails of "J" and "y" are never cut off. */
.opening-date { position: relative; display: inline-block; }
.od-br { display: none; }
.od-outline { display: block; color: transparent; -webkit-text-stroke: 1.2px rgba(12, 52, 80, .28); }
/* Only the three logo colours, in the logo's order: blue blends into magenta across the month, and the change to
   green happens in the gap between the words, so the two opposite colours never mix into a muddy shade. */
.od-fill { --fill: 100%; position: absolute; inset: -.1em -.06em -.3em; padding: .1em .06em .3em; clip-path: inset(0 calc(100% - var(--fill)) 0 0); color: transparent;
  background-image: linear-gradient(90deg, #0994ce 6%, #b0189b 48%, #b0189b 57%, #5e9a38 65%);
  background-image: linear-gradient(90deg in oklab, #0994ce 6%, #b0189b 48%, #b0189b 57%, #5e9a38 65%);
  -webkit-background-clip: text; background-clip: text; }
.opening-note { max-width: 34em; margin: 36px auto 0; font-size: 1.15rem; }

/* ─── What we will offer (chapters) ──────────────────── */
.story { position: relative; padding: var(--section) 0 calc(var(--section) * .5); isolation: isolate; }
.story-glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.story-glow::before { content: ""; position: absolute; width: 80vmax; height: 80vmax; left: 50%; top: 50%; transform: translate(-30%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(10, 155, 215, .1), transparent 60%); }
.story-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 72px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.story-head p { font-size: 1.125rem; }
.story-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.story.is-pinned .story-inner { grid-template-columns: 220px minmax(0, 1fr); }
.story-rail { list-style: none; margin: 0; padding: 0; display: none; }
.chapters { display: grid; gap: clamp(64px, 8vw, 112px); }
.chapter { position: relative; padding-left: clamp(0px, 3vw, 40px); border-left: 1px solid var(--line); }
.chapter::before { content: ""; position: absolute; left: -1px; top: 0; width: 3px; height: 120px; border-radius: 3px; background: var(--tone); }
.chapter-kicker { display: flex; align-items: center; gap: 14px; color: var(--tone-text); font-weight: 700; font-size: 1rem; }
.chapter-kicker span { font-family: var(--display); font-size: 1.6rem; font-weight: 400; line-height: 1; }
.chapter-title { margin-top: 20px; font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.02em; max-width: 14ch; }
.chapter-list { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.chapter-list li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.chapter-list li:hover { border-color: var(--line-2); box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.chapter-list strong { display: block; color: var(--heading); font-size: 1.02rem; }
.chapter-list span { font-size: .93rem; }
.chapter-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; color: var(--tone-text); background: var(--tone-tint); }
.chapter-icon .icon { width: 20px; height: 20px; }
/* Pinned version (wide screens with full motion): chapters swap in place while the page scrolls */
.story.is-pinned .story-stage { height: 100vh; display: flex; align-items: center; }
.story.is-pinned .story-rail { display: grid; align-content: center; gap: 28px; }
.story-rail li { display: flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 600; transition: color .4s var(--ease); }
.story-rail li span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font-family: var(--display); font-size: 1.15rem; transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.story-rail li.on { color: var(--heading); }
.story-rail li.on span { background: var(--tone); border-color: var(--tone); color: #fff; box-shadow: 0 8px 20px -6px var(--tone); }
.story.is-pinned .chapters { display: grid; grid-template-areas: "c"; }
.story.is-pinned .chapter { grid-area: c; }

/* ─── Medical centre ─────────────────────────────────── */
.medical { background: var(--bg-2); }
.medical-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.medical h2 { margin-top: 28px; max-width: 13ch; }
.medical-lead { margin-top: 28px; font-size: 1.15rem; max-width: 32em; }
.medical-note { margin-top: 16px; color: var(--muted); font-weight: 600; }
.dot-magenta { background: var(--magenta); }
.dot-magenta::after { border-color: var(--magenta); }
.floor-medical { --tone: var(--magenta); --tone-text: var(--magenta-text); --tone-tint: var(--magenta-tint); }
.directory { padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.directory-head { display: flex; align-items: center; gap: 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 700; font-size: .95rem; }
.directory-head .icon { width: 18px; height: 18px; color: var(--blue-text); }
.floors { list-style: none; margin: 0; padding: 0; display: grid; }
.floors li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.floors li:last-child { border-bottom: 0; padding-bottom: 0; }
.floor-no { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--tone-tint); color: var(--tone-text); font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.floors strong { display: block; color: var(--heading); font-size: 1.15rem; }
.floors div span { font-size: .93rem; color: var(--muted); }
.floors em { font-style: normal; font-size: .82rem; font-weight: 700; color: var(--tone-text); background: var(--tone-tint); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }


/* ─── Visit (map + card) ─────────────────────────────── */
.visit { position: relative; min-height: 600px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); box-shadow: var(--shadow-soft); }
.visit-map, .visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit-map iframe { filter: saturate(.8); }
.visit-card { position: relative; z-index: 1; width: min(440px, calc(100% - 48px)); margin: 32px 32px 32px auto; padding: 40px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.motion-lite .visit-card, .motion-still .visit-card { background: #fff; backdrop-filter: none; }
.visit-card h2 { font-size: clamp(2.2rem, 3.6vw, 3rem); }
.visit-card .facts { margin-top: 24px; }
.visit-card .actions { margin-top: 28px; }
.facts { margin: 0; display: grid; }
.facts > div { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-tint); color: var(--blue-text); flex: none; }
.facts-icon .icon { width: 18px; height: 18px; }
.facts dt { font-weight: 700; color: var(--heading); font-size: .95rem; }
.facts dd { margin: 2px 0 0; font-size: .95rem; overflow-wrap: anywhere; }
.facts a { font-weight: 600; }

/* ─── FAQ ────────────────────────────────────────────── */
.faq-section { background: var(--bg-2); }
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.faq-intro p { margin-top: 24px; font-size: 1.1rem; max-width: 26em; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; color: var(--heading); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; transition: color .25s var(--ease); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue-text); }
.faq-toggle { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; flex: none; transition: transform .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.faq-toggle .icon { width: 16px; height: 16px; }
.faq-list details[open] .faq-toggle { transform: rotate(45deg); background: var(--blue-text); border-color: var(--blue-text); color: #fff; }
.faq-list details p { padding: 0 64px 30px 0; max-width: 40em; }

/* ─── Inner pages ────────────────────────────────────── */
.page-hero { position: relative; padding: calc(var(--header) + clamp(64px, 10vw, 140px)) 0 clamp(72px, 9vw, 120px); overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #fff, var(--bg-2)); }
.page-hero-glow { position: absolute; inset: 0; z-index: -1; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); background: radial-gradient(50% 70% at 85% 0%, rgba(10, 155, 215, .16), transparent 70%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6.4rem); margin-top: 28px; max-width: 12ch; }
.page-lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); margin-top: 28px; max-width: 32em; }
.page-hero .mark-art { max-width: 380px; margin-left: auto; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .92rem; color: var(--muted); }
.crumbs li { display: inline-flex; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue-text); }
.crumbs [aria-current] { color: var(--heading); font-weight: 600; }

/* Services */
.svc-group { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.svc-group:first-child { border-top: 0; padding-top: 0; }
.svc-group .chapter-title { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.svc-group p.svc-intro { margin-top: 18px; max-width: 26em; }
.svc-group .chapter-list { margin-top: 0; }

/* About */
.about-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.about-split h2 { max-width: 12ch; }
.about-split .prose { display: grid; gap: 18px; margin-top: 28px; font-size: 1.1rem; max-width: 32em; }
.about-art { position: relative; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: radial-gradient(70% 70% at 80% 10%, rgba(10, 155, 215, .1), transparent 70%), #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 20px; padding-bottom: 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: linear-gradient(var(--tone), transparent); opacity: .5; }
.timeline li:last-child::before { display: none; }
.timeline-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 6px var(--tone-tint); }
.timeline-when { color: var(--tone-text); font-weight: 700; font-size: .95rem; }
.timeline h3 { margin-top: 4px; font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -.01em; }
.timeline p { margin-top: 8px; }
.quote-section { text-align: center; background: var(--bg-2); }
.quote { max-width: 17em; margin: 0 auto; font-family: var(--display); font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em; color: var(--heading); }
.quote-by { margin-top: 32px; color: var(--muted); font-weight: 600; }
.promise-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.promise-grid li { padding: 32px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.promise-grid h3 { margin-top: 24px; }
.promise-grid p { margin-top: 8px; font-size: .96rem; }

/* Contact */
.contact-cards { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-cards li { padding: 36px 32px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.contact-cards h3 { margin-top: 24px; }
.contact-cards p { margin-top: 8px; }
.contact-cards a { font-weight: 700; }
.map-wide { position: relative; height: clamp(380px, 44vw, 560px); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.map-wide iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.8); }

/* ─── Footer ─────────────────────────────────────────── */
.footer { position: relative; overflow: hidden; isolation: isolate; padding: var(--section) 0 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg-3)); }
.footer-glow { position: absolute; z-index: -1; left: 50%; top: 0; width: 120vmax; height: 60vmax; transform: translate(-50%, -55%); background: radial-gradient(closest-side, rgba(10, 155, 215, .1), transparent); }
.footer a:not(.btn) { color: var(--heading); text-decoration: none; }
.footer a:not(.btn):hover { color: var(--blue-text); text-decoration: underline; }
.footer-cta { text-align: center; display: flex; flex-direction: column; align-items: center; }
.footer-title { margin-top: 28px; font-size: clamp(3.2rem, 9vw, 8.4rem); line-height: .92; letter-spacing: -.03em; }
.footer-lead { margin-top: 28px; max-width: 32em; font-size: 1.15rem; }
.footer-cta .actions { justify-content: center; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 40px; margin-top: clamp(80px, 10vw, 140px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line-2); }
.footer-logo { height: 54px; width: auto; }
.footer-about { margin-top: 20px; max-width: 24em; }
.footer-head { color: var(--heading); font-weight: 700; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-muted { margin-top: 10px; color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(48px, 6vw, 80px); padding: 26px 0 40px; border-top: 1px solid var(--line-2); font-size: .9rem; color: var(--muted); }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .promise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header: 76px; }
  .nav-toggle { display: grid; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% - 4px); flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lift); }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: 14px 12px; font-size: 1.1rem; }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--blue-text); }
  .menu-open .header { background: rgba(255, 255, 255, .97); }
  .brand-logo { height: 44px; }
  .hero { min-height: 0; padding: calc(var(--header) + 32px) 0 110px; }
  .hero-grid, .page-hero-grid, .section-head, .story-head, .faq, .about-split, .svc-group, .medical-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; justify-self: end; width: min(56vw, 280px); margin: -8px -12px -40px 0; }
  .page-hero .mark-art { display: none; }
  .chapter { padding-left: 20px; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .visit { display: flex; flex-direction: column; min-height: 0; }
  .visit-map { position: relative; height: 320px; order: -1; }
  .visit-card { width: auto; margin: 0; border-radius: 0; border: 0; border-top: 1px solid var(--line); padding: 32px 24px; box-shadow: none; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .actions .btn { flex: 1 1 100%; }
  .chapter-list { grid-template-columns: minmax(0, 1fr); }
  .promise-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-list details p { padding-right: 0; }
  .floors li { grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; }
  .floor-no { width: 52px; height: 52px; font-size: 1.8rem; grid-row: span 2; }
  .floors em { justify-self: start; }
  .scroll-cue { display: none; }
}
/* ─── Phones and small tablets: designed for the hand ── */
@media (max-width: 900px) {
  /* Menu: a compact dropdown card under the header */
  .menu-open .header { background: #fff; backdrop-filter: none; }
  .nav { position: absolute; top: calc(100% + 6px); left: 12px; right: 12px; bottom: auto; height: auto; gap: 12px;
    padding: 8px 16px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lift); }
  .nav-links a { font-size: 1.05rem; font-weight: 600; padding: 13px 4px; color: var(--heading); border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a.active { color: var(--blue-text); }
  .nav .nav-cta { min-height: 48px; }
  .nav.open { animation: menu-in .3s var(--ease) both; transform-origin: top right; }
  /* Bottom action bar, within thumb reach */
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--shadow-lift);
    transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease); }
  .mbar.show { transform: none; }
  .mbar-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; color: var(--heading); font-weight: 700; font-size: .98rem; text-decoration: none; }
  .mbar-btn .icon { width: 18px; height: 18px; }
  .mbar-primary { background: var(--blue-text); color: #fff; }
  .mbar-btn:hover { color: var(--heading); } .mbar-primary:hover { color: #fff; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  :root { --section: 72px; }

  /* Top section: the headline, text and both buttons on the first screen; the logo becomes a soft background mark */
  .hero { padding: calc(var(--header) + 28px) 0 72px; }
  .hero-grid { position: relative; }
  .hero-copy { position: relative; z-index: 1; }
  .hero-art { position: absolute; z-index: 0; right: -84px; top: 34%; width: 260px; margin: 0; pointer-events: none; }
  .hero-art .mark-art { opacity: .13; }
  .hero h1 { font-size: 3.5rem; margin-top: 24px; }
  .hero-lead { font-size: 1.05rem; margin-top: 20px; }
  .hero .actions { margin-top: 28px; gap: 10px; }

  /* "January 2027" on two big lines that fill the width */
  .opening { padding: 72px 0; }
  .opening-date { font-size: clamp(5rem, 33vw, 9rem); margin-top: 8px; line-height: .92; }
  .od-br { display: inline; }
  .od-fill { background-image: none; }
  .od-m { display: inline-block; padding: 0 .04em .2em .14em; margin: 0 -.04em -.2em -.14em; color: transparent; -webkit-background-clip: text; background-clip: text;
    background-image: linear-gradient(90deg, #0994ce 8%, #b0189b 92%); background-image: linear-gradient(90deg in oklab, #0994ce 8%, #b0189b 92%); }
  .od-y { color: #5e9a38; }
  .opening-note { margin-top: 24px; font-size: 1.02rem; }

  /* Services as compact rows, not tall cards */
  .story { padding-bottom: 24px; }
  .chapters { gap: 56px; }
  .chapter-title { font-size: 2.3rem; }
  .chapter-list { gap: 0; margin-top: 20px; }
  .chapter-list li { padding: 16px 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .chapter-list li:last-child { border-bottom: 0; }
  .chapter-list li:hover { transform: none; box-shadow: none; }
  .chapter-icon { width: 40px; height: 40px; }
  .svc-group { padding: 48px 0; gap: 20px; }

  /* Medical centre directory */
  .directory { padding: 24px 20px; }

  /* Contact and promise cards: icon beside the text */
  .contact-cards li, .promise-grid li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 24px 20px; }
  .contact-cards li > .chapter-icon, .promise-grid li > .chapter-icon { grid-row: 1 / span 4; width: 44px; height: 44px; }
  .contact-cards li > :not(.chapter-icon), .promise-grid li > :not(.chapter-icon) { grid-column: 2; }
  .contact-cards h3, .promise-grid h3 { margin-top: 0; }

  /* FAQ: questions first, the contact prompt after them */
  .faq-intro { order: 2; }
  .faq-list summary { padding: 22px 0; font-size: 1.05rem; }

  /* Footer: page links in two columns, comfortable tap targets */
  .footer-cta .footer-title { font-size: 3rem; }
  .footer-grid { gap: 32px; }
  nav[aria-label="Pages"] .footer-links { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .footer-links a { padding: 6px 0; }
  .footer-bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ─── Light motion: fades as blocks arrive ───────────── */
.lite-on .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.lite-on .reveal.in { opacity: 1; transform: none; }

/* ─── Micro-interactions: small, quick responses to the pointer ── */
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(2px) scale(1.08); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost:hover { transform: translateY(-2px); background: #fff; }
.brand-logo { transition: transform .5s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.03); }
.chapter-icon, .facts-icon, .floor-no, .timeline-dot { transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease); }
.chapter-list li:hover .chapter-icon, .promise-grid li:hover .chapter-icon, .contact-cards li:hover .chapter-icon { background: var(--tone); color: #fff; transform: rotate(-6deg) scale(1.06); }
.promise-grid li, .contact-cards li { transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.promise-grid li:hover, .contact-cards li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-2); }
.floors li:hover .floor-no { transform: scale(1.08); }
.timeline li:hover .timeline-dot { transform: scale(1.15); }
.facts > div:hover .facts-icon { background: var(--blue); color: #fff; }
.faq-list summary:hover .faq-toggle { border-color: var(--blue); color: var(--blue-text); }
.faq-list details[open] summary:hover .faq-toggle { color: #fff; }
.story-rail li span { transition: border-color .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.story-rail li.on span { transform: scale(1.08); }
.footer-links a { display: inline-block; transition: transform .3s var(--ease), color .3s var(--ease); }
.footer-links a:hover { transform: translateX(3px); }
.crumbs a { transition: color .25s var(--ease); }
@media (hover: none) { .chapter-list li:hover, .promise-grid li:hover, .contact-cards li:hover, .btn-light:hover, .btn-ghost:hover { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
