/* LAU Medical Center – Rizk Hospital. Idea: morning light through a hospital window over Achrafieh. */
@font-face { font-family: "Source Serif"; src: url(/fonts/serif.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(/fonts/sans.woff2) format("woff2"); font-weight: 100 900; font-display: optional; }

:root {
  --paper: #f3f5f0;
  --paper-2: #e6ece3;
  --card: #fbfcf9;
  --ink: #13241e;
  --ink-2: #3d5249;
  --line: #c9d5c6;
  --green: #1f4d3d;
  --green-deep: #123329;
  --sage: #dce6d9;
  --sage-3: #7fa08a;
  --sun: #f2b85b;
  --sun-soft: #f8dcaa;
  --red: #b3261e;
  --serif: "Source Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --t-quick: 160ms;
  --t-std: 420ms;
  --t-slow: 900ms;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 6px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.62 var(--sans); font-feature-settings: "kern", "liga"; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--green-deep); text-decoration-thickness: 2px; }
::selection { background: var(--sun); color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.preapp :focus-visible, .thanks :focus-visible, .site-footer :focus-visible, .menu-panel :focus-visible, .utility :focus-visible, .hero :focus-visible { outline-color: var(--sun); }
html { scrollbar-color: var(--sage-3) var(--paper-2); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 450; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; margin: 0; color: var(--green-deep); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--sun); color: var(--green-deep); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.25em; border-radius: var(--radius); border: 1.5px solid transparent; font: 600 .98rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color var(--t-quick) ease, color var(--t-quick) ease, border-color var(--t-quick) ease, transform var(--t-quick) ease; }
.btn:active { transform: scale(.97); }
.btn-sun { background: var(--sun); color: var(--green-deep); }
.btn-sun:hover { background: #f6c97c; color: var(--green-deep); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); color: #fff; }
.btn-line { background: transparent; color: var(--green); border-color: currentColor; }
.btn-line:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* utility bar */
.utility { background: var(--green-deep); color: var(--sage); font-size: .84rem; }
.utility-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.utility a { color: var(--sage); text-decoration: none; }
.utility a:hover { color: #fff; text-decoration: underline; }
.utility-call a { display: inline-flex; align-items: center; gap: .5em; }
.utility-call strong { color: #fff; font-weight: 600; }
.utility-er { margin-left: 1em; color: var(--sun-soft); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px rgba(242,184,91,.22); }
.utility-links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 980px) { .utility-links { display: none; } .utility-in { justify-content: center; } }
@media (max-width: 460px) { .utility-er { display: none; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color var(--t-std) ease, transform 280ms var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-in { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-deep); flex-shrink: 0; }
.brand:hover { color: var(--green-deep); }
.brand-mark { width: 42px; height: 42px; }
.brand-mark.big { width: 64px; height: 64px; }
.brand-word { display: flex; flex-direction: column; font-family: var(--serif); line-height: 1.05; }
.brand-word span:first-child { font-size: 1.08rem; font-weight: 560; letter-spacing: -.01em; }
.brand-word span:last-child { font-size: .95rem; font-style: normal; color: var(--ink-2); font-weight: 400; }
.primary { margin-left: auto; }
.primary > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.primary li { position: relative; }
.primary > ul > li > a { display: block; padding: 10px 11px; font-size: .93rem; font-weight: 520; color: var(--ink); text-decoration: none; border-radius: var(--radius); white-space: nowrap; }
.primary > ul > li > a:hover, .primary li.is-current > a { color: var(--green); background: var(--paper-2); }
.primary .sub { position: absolute; left: 0; top: calc(100% + 4px); min-width: 250px; list-style: none; margin: 0; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px -18px rgba(18,51,41,.35); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: 20px 0; visibility: hidden; transition: opacity 180ms ease, transform 220ms var(--ease), visibility 0s linear 220ms; }
.primary li:hover > .sub, .primary li:focus-within > .sub { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.primary .sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .93rem; }
.primary .sub a:hover { background: var(--paper-2); color: var(--green); }
.header-cta { margin-left: 8px; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; align-items: center; gap: 10px; height: 44px; padding: 0 14px; background: var(--green-deep); color: #fff; border: 0; border-radius: var(--radius); font: 600 .95rem var(--sans); cursor: pointer; }
.menu-toggle-lines { width: 18px; height: 10px; position: relative; }
.menu-toggle-lines::before, .menu-toggle-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform var(--t-std) var(--ease), top var(--t-std) var(--ease); }
.menu-toggle-lines::before { top: 0; } .menu-toggle-lines::after { top: 8px; }
.menu-open .menu-toggle-lines::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle-lines::after { top: 4px; transform: rotate(-45deg); }
@media (max-width: 1279px) { .primary { display: none; } .menu-toggle { display: inline-flex; } .header-cta { margin-left: auto; } .menu-toggle { margin-left: 0; } }
@media (max-width: 560px) { .header-cta { display: none; } .menu-toggle { margin-left: auto; } .brand-word span:first-child { font-size: 1rem; } .brand-mark { width: 38px; height: 38px; } }

/* full menu: clip-path curtain with staggered links (after Animmaster Navigation Menus/17) */
.menu-panel { position: fixed; inset: 0; z-index: 45; background: var(--green-deep); color: var(--sage); padding-top: calc(var(--header-h) + 38px); overflow-y: auto; clip-path: inset(0 0 100% 0); transition: clip-path 760ms var(--ease-io); }
.menu-panel[hidden] { display: block; visibility: hidden; }
.menu-open .menu-panel { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .site-header { background: var(--paper); }
.menu-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 64px; }
.menu-links ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.menu-links a { color: var(--sage); text-decoration: none; display: inline-block; overflow: hidden; vertical-align: bottom; }
.menu-links a span { display: inline-block; transform: translateY(105%); transition: transform 700ms var(--ease); }
.menu-open .menu-links a span { transform: none; transition-delay: calc(260ms + var(--i, 0) * 40ms); }
.menu-big { font-family: var(--serif); font-size: clamp(1.7rem, 4.4vw, 2.6rem); line-height: 1.12; color: #fff !important; }
.menu-big:hover span { color: var(--sun); }
.menu-sub { list-style: none; margin: 6px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .98rem; }
.menu-sub a:hover, .menu-top a:hover { color: #fff; text-decoration: underline; }
.menu-top { list-style: none; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(220,230,217,.2); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; }
.menu-pics { position: relative; min-height: 420px; perspective: 900px; }
.menu-pics img { position: absolute; width: 74%; aspect-ratio: 3/2; object-fit: cover; border-radius: 48% 48% 6px 6px / 30% 30% 6px 6px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); opacity: 0; transform: translateY(40px); transition: opacity 600ms ease, transform 900ms var(--ease); }
.menu-pics img:nth-child(1) { left: 0; top: 0; }
.menu-pics img:nth-child(2) { right: 0; top: 30%; }
.menu-pics img:nth-child(3) { left: 12%; top: 60%; }
.menu-open .menu-pics img { opacity: 1; transform: translate(var(--mx, 0), var(--my, 0)); }
.menu-open .menu-pics img:nth-child(2) { transition-delay: 120ms; } .menu-open .menu-pics img:nth-child(3) { transition-delay: 240ms; }
@media (max-width: 820px) { .menu-grid { grid-template-columns: 1fr; } .menu-pics { display: none; } }
body.menu-open { overflow: hidden; }

/* ---------- home hero: film (back), words (middle), window frame (front) ---------- */
.hero { position: relative; height: calc(100svh - var(--header-h) - 38px); min-height: 560px; max-height: 1100px; overflow: hidden; background: var(--paper); isolation: isolate; }
.hero-film { position: absolute; inset: -6% 0 -14%; z-index: 0; will-change: transform; background: #c9b48e; }
.hero-film video, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(14,40,32,.82) 0%, rgba(14,40,32,.55) 34%, rgba(14,40,32,0) 64%), linear-gradient(0deg, rgba(14,40,32,.55) 0%, rgba(14,40,32,0) 46%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: clamp(36px, 9vh, 96px); z-index: 3; color: #fff; will-change: transform; }
.hero-title { color: #fff; font-weight: 380; font-size: clamp(2.6rem, 7.2vw, 6rem); line-height: 1.0; letter-spacing: -.03em; font-variation-settings: "opsz" 60; max-width: 12ch; }
.hero-kicker { display: block; font-family: var(--sans); font-size: clamp(.92rem, 1.5vw, 1.06rem); font-weight: 560; letter-spacing: 0; line-height: 1.4; color: var(--sun-soft); margin-bottom: .9em; }
.reveal-line { display: block; overflow: hidden; padding-bottom: .06em; }
.reveal-line > span { display: inline-block; }
.hero-search { display: flex; gap: 8px; margin-top: clamp(22px, 4vh, 36px); max-width: 560px; background: rgba(251,252,249,.96); padding: 6px; border-radius: 10px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1rem var(--sans); color: var(--ink); padding: 0 12px; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { box-shadow: 0 0 0 3px var(--sun), 0 24px 50px -24px rgba(0,0,0,.6); }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: .97rem; }
.hero-links a { color: #fff; text-decoration-color: rgba(255,255,255,.5); }
.hero-links a:hover { color: var(--sun-soft); }
.hero-frame { position: absolute; inset: 0; z-index: 2; pointer-events: none; transform-origin: 50% 100%; will-change: transform; }
.aperture { position: absolute; inset: 0 clamp(10px, 1.8vw, 28px); border-radius: 50% 50% 0 0 / 26% 26% 0 0; box-shadow: 0 0 0 100vmax var(--paper); }
.film-toggle { position: absolute; right: clamp(20px, 3vw, 44px); bottom: 22px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); background: rgba(18,51,41,.35); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); }
.ft-icon { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.film-toggle[aria-pressed="true"] .ft-icon { border: 0; width: 0; height: 0; border-left: 12px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
@media (max-width: 700px) {
  .hero { min-height: 600px; }
  .aperture { border-radius: 50% 50% 0 0 / 14% 14% 0 0; inset: 0 8px; }
  .hero-shade { background: linear-gradient(0deg, rgba(14,40,32,.9) 0%, rgba(14,40,32,.6) 48%, rgba(14,40,32,.1) 80%); }
  .hero-film video, .hero-poster { object-position: 38% 50%; }
  .hero-search { flex-direction: column; }
  .hero-search input { min-height: 46px; }
}

/* hero entrance: line-by-line masked reveal (after Animmaster Text Animations/17) */
.js .hero .reveal-line > span { transform: translateY(108%); }
.js .hero.is-in .reveal-line > span { transform: none; transition: transform 1.1s var(--ease); }
.js .hero.is-in .reveal-line:nth-child(2) > span { transition-delay: 120ms; }
.js .hero.is-in .reveal-line:nth-child(3) > span { transition-delay: 240ms; }
.js .hero .hero-search, .js .hero .hero-links { opacity: 0; transform: translateY(14px); }
.js .hero.is-in .hero-search, .js .hero.is-in .hero-links { opacity: 1; transform: none; transition: opacity .8s ease .55s, transform 1s var(--ease) .55s; }
.js .hero.is-in .hero-links { transition-delay: .7s; }

/* ---------- home sections ---------- */
section { position: relative; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(24px, 4vw, 44px); }
.h-section { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 400; letter-spacing: -.025em; }
.h-section.on-dark { color: #fff; }
.h-card { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section-sub { max-width: 52ch; color: var(--ink-2); }
/* block-wipe heading reveal (after Animmaster Text Animations/15) */
.js [data-wipe] { position: relative; }
.js [data-wipe].wipe-ready { color: transparent; }
.js [data-wipe].wipe-ready::after { content: ""; position: absolute; left: 0; top: .08em; bottom: .02em; width: 100%; max-width: var(--ww, 100%); background: var(--sun); transform: scaleX(0); transform-origin: 0 50%; }
.js [data-wipe].wipe-ready.is-in { animation: wipeText 1s steps(1, end) forwards; }
.js [data-wipe].wipe-ready.is-in::after { animation: wipeBlock 1s var(--ease-io) forwards; }
@keyframes wipeBlock { 0% { transform: scaleX(0); transform-origin: 0 50%; } 50% { transform: scaleX(1); transform-origin: 0 50%; } 50.1% { transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }
@keyframes wipeText { 0% { color: transparent; } 50% { color: var(--green-deep); } 100% { color: var(--green-deep); } }

.ways { margin-top: clamp(28px, 5vw, 56px); }
.ways-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.way { position: relative; padding: clamp(22px, 2.6vw, 34px); border-radius: 10px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; }
.way h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.way p { color: inherit; opacity: .9; }
.way-link { margin-top: auto; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .5em; }
.way-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.way-link::before { transition: transform 240ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .way:hover .way-link::before { transform: translateX(6px); } }
.way-link::before { content: ""; order: 2; width: 18px; height: 1.5px; background: currentColor; }
.way-green { background: var(--green-deep); color: var(--sage); }
.way-green h3, .way-green .way-link { color: #fff; }
.way-sage { background: var(--sage); }
.way-sage .way-link { color: var(--green-deep); }
.way-sun { background: var(--sun-soft); }
.way-sun .way-link { color: var(--green-deep); }
.way:focus-within { outline: 3px solid var(--green); outline-offset: 3px; }
.way a:focus-visible { outline: none; }
@media (max-width: 900px) { .ways-grid { grid-template-columns: 1fr; } .way { min-height: 0; } }

.highlights { margin-top: clamp(72px, 10vw, 140px); }
.rail-ctrl { display: flex; gap: 8px; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--green); background: transparent; color: var(--green); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color var(--t-quick) ease, color var(--t-quick) ease; }
.rail-btn:hover { background: var(--green); color: #fff; }
.rail { list-style: none; margin: 0; padding: 0 var(--gutter) 8px; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 34vw, 470px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; cursor: grab; }
@media (min-width: 1432px) { .rail { padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); scroll-padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail-item { scroll-snap-align: start; }
.rail-item figure { margin: 0; }
.rail-pic { aspect-ratio: 4/3; overflow: hidden; border-radius: 10px; background: var(--paper-2); }
.rail-pic img { width: 112%; max-width: none; height: 100%; object-fit: cover; transform: translateX(calc(var(--rx, 0) * 1px - 6%)); }
.rail-item figcaption { margin-top: 14px; font-family: var(--serif); font-size: 1.22rem; line-height: 1.3; color: var(--green-deep); text-wrap: pretty; }
.rail-item figcaption a { color: inherit; text-decoration: underline; text-decoration-color: var(--sage-3); }

.marquee { margin: clamp(72px, 10vw, 130px) 0 0; border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; gap: 0; will-change: transform; }
.marquee-track span { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.3rem); color: var(--green); white-space: nowrap; padding-inline: .7em; }
.marquee-track span::after { content: ""; display: inline-block; width: .32em; height: .32em; margin-left: 1.4em; vertical-align: middle; border-radius: 50% 50% 1px 1px / 60% 60% 1px 1px; background: var(--sun); }

.depts { margin-top: clamp(64px, 9vw, 120px); }
.dept-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(24px, 5vw, 80px); border-top: 1px solid var(--line); }
.dept-list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.dept-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 4px; text-decoration: none; color: var(--green-deep); font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.25; transition: color var(--t-quick) ease; }
.dept-name { transition: transform 260ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .dept-list a:hover { color: var(--green); } .dept-list a:hover .dept-name { transform: translateX(10px); } }
.dept-arrow { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--sage-3); position: relative; transition: background-color var(--t-quick) ease, border-color var(--t-quick) ease; }
.dept-arrow::after { content: ""; position: absolute; left: 8px; top: 8px; width: 7px; height: 7px; border-top: 1.5px solid var(--green); border-right: 1.5px solid var(--green); transform: rotate(45deg); }
.dept-list a:hover .dept-arrow { background: var(--sun); border-color: var(--sun); }
.more-link { margin-top: 22px; }
@media (max-width: 760px) { .dept-list { columns: 1; } }
/* image that follows the cursor over the department list (after Animmaster Hover Effects/16) */
.hover-pic { position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 3/2; pointer-events: none; opacity: 0; scale: .86; transition: opacity 220ms var(--ease), scale 260ms var(--ease); border-radius: 48% 48% 6px 6px / 34% 34% 6px 6px; overflow: hidden; box-shadow: 0 24px 50px -22px rgba(18,51,41,.55); }
.hover-pic img { width: 100%; height: 100%; object-fit: cover; }
.hover-pic.is-on { opacity: 1; scale: 1; }
@media (hover: none), (pointer: coarse) { .hover-pic { display: none; } }

.preapp { margin-top: clamp(80px, 11vw, 150px); background: var(--green-deep); color: var(--sage); padding-block: clamp(56px, 8vw, 110px); }
.preapp-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.preapp-text p { margin-top: 18px; max-width: 46ch; font-size: 1.08rem; }
.preapp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wa { display: flex; flex-direction: column; gap: 6px; min-height: 120px; justify-content: space-between; padding: 18px 18px 16px; border-radius: 10px; background: rgba(220,230,217,.07); border: 1px solid rgba(220,230,217,.18); color: #fff; text-decoration: none; font-weight: 560; line-height: 1.3; transition: background-color var(--t-std) ease, border-color var(--t-std) ease; }
.wa span[lang] { font-weight: 400; color: var(--sage); font-size: .95rem; }
.wa::before { content: "WhatsApp"; font-size: .78rem; font-weight: 600; color: var(--sun); }
.wa:hover { background: rgba(242,184,91,.12); border-color: var(--sun); color: #fff; }
@media (max-width: 860px) { .preapp-in { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .preapp-list { grid-template-columns: 1fr; } .wa { min-height: 0; } }

/* century: the picture inside the headline grows to fill the screen (after Animmaster Scroll Animation/17) */
.century { height: 230vh; margin-top: clamp(60px, 8vw, 110px); }
.century-stick { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.century-title { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 26px); font-size: clamp(3rem, 12vw, 11rem); font-weight: 340; letter-spacing: -.04em; line-height: 1; color: var(--green-deep); white-space: nowrap; }
.century-title .ct-a, .century-title .ct-b { will-change: transform; position: relative; z-index: 1; }
.century-title .ct-b { font-style: normal; color: var(--green); }
.century-window { position: relative; display: block; width: clamp(110px, 20vw, 300px); aspect-ratio: 3/2; }
.century-pic { position: absolute; inset: 0; z-index: 2; overflow: hidden; clip-path: inset(var(--ct, 40%) var(--cr, 40%) var(--cb, 40%) var(--cl, 40%) round var(--crad, 0px)); }
.century-pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); will-change: transform; }
.no-motion .century-pic { position: relative; inset: auto; clip-path: none; height: 60vh; margin-top: 30px; }
.no-motion .century-pic img { transform: none; }
.no-motion .century-window { display: none; }
.no-motion .century-title { gap: .3em; }
.century-cap { position: absolute; left: 0; right: 0; bottom: 12vh; z-index: 3; text-align: center; font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.8rem); color: #fff; opacity: 0; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.no-motion .century { height: auto; }
.no-motion .century-stick { position: relative; height: auto; padding: 60px 0; }
.no-motion .century-cap { position: static; opacity: 1; color: var(--green-deep); text-shadow: none; margin-top: 18px; }

.timeline { margin-top: clamp(40px, 6vw, 80px); }
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--green-deep); }
.tl li { padding: 22px 16px 26px 0; border-bottom: 1px solid var(--line); position: relative; }
.tl li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); border: 2px solid var(--green-deep); }
.tl-y { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--green-deep); line-height: 1; margin-bottom: 10px; font-variant-numeric: lining-nums; }
.tl p { color: var(--ink-2); max-width: 34ch; font-size: .93rem; }
@media (max-width: 1100px) { .tl { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tl { grid-template-columns: 1fr 1fr; } .tl-y { font-size: 1.7rem; } }
.tl-more { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.news { margin-top: clamp(80px, 11vw, 150px); }
.news-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.news-card a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); height: 100%; }
.news-pic { aspect-ratio: 3/2; overflow: hidden; border-radius: 10px; background: var(--paper-2); }
.news-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .news-card a:hover .news-pic img { transform: scale(1.04); } }
.news-card time { font-size: .88rem; color: var(--ink-2); margin-top: 6px; }
.news-card h3 { font-size: 1.32rem; line-height: 1.25; }
.news-card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.news-card p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

.duo { margin-top: clamp(80px, 11vw, 150px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.duo-card { display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.duo-pic { aspect-ratio: 16/9; overflow: hidden; }
.duo-pic img { width: 100%; height: 118%; object-fit: cover; }
.duo-text { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.duo-text p { color: var(--ink-2); flex: 1; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.discover { margin-top: clamp(80px, 11vw, 150px); }
.disc-grid { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.disc { scroll-snap-align: start; }
.disc h3 { font-size: 1.35rem; }
.disc > p { color: var(--ink-2); margin: 6px 0 14px; font-size: .92rem; min-height: 4.2em; }
.flip { margin-bottom: 18px; }
.flip-in { position: relative; display: grid; perspective: 1200px; }
.flip-in img { grid-area: 1 / 1; width: 100%; border-radius: 10px; backface-visibility: hidden; transition: transform 560ms var(--ease); background: var(--paper-2); }
.flip-a { transform: rotateY(180deg); }
.flip.is-flipped .flip-q { transform: rotateY(-180deg); }
.flip.is-flipped .flip-a { transform: rotateY(0); }
.flip-btn { margin-top: 10px; min-height: 40px; font-size: .9rem; }
@media (max-width: 900px) { .disc-grid { grid-auto-columns: 72%; } }

.thanks { margin-top: clamp(80px, 11vw, 150px); background: var(--green); color: var(--sage); padding-block: clamp(56px, 8vw, 110px); }
.thanks-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); margin-top: 34px; }
.thanks h3 { color: #fff; font-size: 1.45rem; margin-bottom: 18px; }
.letters { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-height: 560px; overflow-y: auto; padding-right: 6px; scrollbar-color: var(--sage-3) transparent; }
.letters blockquote { margin: 0; padding: 20px 22px; border-radius: 10px; background: rgba(255,255,255,.06); border-left: 3px solid var(--sun); font-family: var(--serif); font-size: 1.06rem; line-height: 1.55; color: #f1f5ef; display: grid; gap: .5em; }
.thanks-link { display: inline-block; margin-top: 18px; color: var(--sun-soft); font-weight: 600; }
.thanks-link:hover { color: #fff; }
@media (max-width: 860px) { .thanks-cols { grid-template-columns: 1fr; } }

.mailing { margin-block: clamp(70px, 9vw, 120px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.mail-form.inline { display: flex; gap: 8px; flex: 1; max-width: 520px; min-width: min(100%, 300px); }
.mail-form.inline input { flex: 1; min-width: 0; }

/* forms */
input, select, textarea { font: 400 1rem var(--sans); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 11px 12px; min-height: 46px; width: 100%; transition: border-color var(--t-quick) ease, box-shadow var(--t-quick) ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,77,61,.18); }
label { display: grid; gap: 6px; font-weight: 560; font-size: .93rem; color: var(--green-deep); }
.mail-form { display: grid; gap: 14px; margin-top: 40px; padding: clamp(20px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.mail-form.inline { margin: 0; padding: 0; background: none; border: 0; }
.mail-form h2 { font-size: 1.6rem; margin: 0 !important; }
.form-note { color: var(--ink-2); font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.mail-form button { justify-self: start; }
.form-out { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; color: var(--ink-2); }

/* ---------- interior pages ---------- */
.page-hero { padding-top: clamp(26px, 4vw, 54px); overflow: hidden; }
.page-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.page-hero-text { padding-bottom: clamp(10px, 3vw, 40px); will-change: transform; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .9rem; color: var(--ink-2); }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 .6em; color: var(--sage-3); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--green); }
.page-title { font-size: clamp(2.2rem, 5.4vw, 4.4rem); font-weight: 380; letter-spacing: -.03em; line-height: 1.04; font-variation-settings: "opsz" 60; }
.page-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.page-title .w > span { display: inline-block; }
.js .page-title.split-ready .w > span { transform: translateY(105%); }
.js .page-title.split-ready.is-in .w > span { transform: none; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.lede { margin-top: 18px; max-width: 52ch; color: var(--ink-2); font-size: 1.1rem; }
.page-hero-pic { will-change: transform; }
.arch { aspect-ratio: 5/4; max-height: 520px; width: 100%; overflow: hidden; border-radius: 50% 50% 0 0 / 32% 32% 0 0; background: var(--paper-2); }
.arch img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
@media (max-width: 820px) {
  .page-hero-in { grid-template-columns: 1fr; }
  .page-hero-pic { order: -1; }
  .arch { aspect-ratio: 16/10; border-radius: 50% 50% 0 0 / 22% 22% 0 0; }
  .page-hero-text { padding-bottom: 0; }
}
.page-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); margin-top: 0; }
.page-body.no-side { grid-template-columns: minmax(0, 1fr); }
.side { position: relative; }
.side-box { position: sticky; top: calc(var(--header-h) + 20px); }
.side-box summary { font-family: var(--serif); font-size: 1.3rem; color: var(--green-deep); list-style: none; cursor: default; padding-bottom: 12px; border-bottom: 2px solid var(--green-deep); }
.side-box summary::-webkit-details-marker { display: none; }
.side-box ul { list-style: none; margin: 8px 0 0; padding: 0; max-height: calc(100vh - 200px); overflow-y: auto; }
.side-box a { display: block; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .96rem; line-height: 1.35; transition: color var(--t-quick) ease, transform 240ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .side-box a:hover { color: var(--green); transform: translateX(6px); } }
.side-box a[aria-current="page"] { color: var(--green-deep); font-weight: 650; padding-left: 14px; box-shadow: inset 3px 0 0 var(--sun); }
@media (max-width: 960px) {
  .page-body { grid-template-columns: 1fr; }
  .side-box { position: static; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
  .side-box summary { cursor: pointer; border-bottom: 0; padding-bottom: 0; display: flex; justify-content: space-between; font-size: 1.1rem; }
  .side-box summary::after { content: "+"; font-family: var(--sans); color: var(--green); }
  .side-box[open] summary::after { content: "–"; }
  .side-box ul { max-height: none; }
}

/* prose: content carried over from the old site */
.prose { max-width: 74ch; min-width: 0; overflow-wrap: anywhere; }
.page-body.no-side .prose { max-width: 82ch; }
.prose > * + * { margin-top: 1em; }
.prose p, .prose li { text-wrap: pretty; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.8em; }
.prose h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 1.6em; }
.prose h4 { font-size: 1.18rem; margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--sage-3); }
.prose strong, .prose b { font-weight: 650; color: var(--green-deep); }
.prose img { border-radius: 8px; margin-block: 1em; }
.prose blockquote { margin: 1.4em 0; padding: 1em 1.2em; border-left: 3px solid var(--sun); background: var(--card); font-family: var(--serif); font-size: 1.1rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose [dir="rtl"], .prose :lang(ar) { text-align: right; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.prose table { border-collapse: collapse; width: 100%; font-size: .96rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--paper-2); font-weight: 650; color: var(--green-deep); }
.prose tr:last-child td { border-bottom: 0; }
.prose details { border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 0 18px; }
.prose details + details { margin-top: 10px; }
.prose summary { cursor: pointer; padding: 16px 30px 16px 0; font-family: var(--serif); font-size: 1.22rem; color: var(--green-deep); list-style: none; position: relative; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform var(--t-std) var(--ease); }
.prose details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.prose details[open] { padding-bottom: 18px; }
.prose details > :not(summary) + * { margin-top: .8em; }
.card-grid { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.card-grid > li { margin: 0 !important; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0 0 16px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; color: var(--ink-2); }
.card-grid > li > :not(a:first-child) { margin-inline: 16px; }
.card-grid > li > a:first-child { margin: 0; }
.card-grid img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 0; margin: 0; }
.card-grid li > a:not(:first-child), .card-grid h4 { font-family: var(--serif); font-size: 1.12rem; color: var(--green-deep); margin: 0; }
.card-grid > li > * { padding-inline: 16px; }
.card-grid > li > a:first-child { padding: 0; }
.gallery { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.gallery > li, .gallery > a { margin: 0 !important; display: block; }
.gallery > li > :not(img):not(a) { display: none; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin: 0; border-radius: 8px; }
.yt { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; margin-block: 1.2em; }
.yt img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; opacity: .85; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; border: 0; background: var(--sun); cursor: pointer; transition: transform var(--t-std) var(--ease); }
.yt-play span { position: absolute; left: 29px; top: 23px; border-left: 22px solid var(--green-deep); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.yt:hover .yt-play { transform: scale(1.08); }
.map { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: 10px; }

/* doctors */
.doc-wrap { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); }
.doc-filter { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 14px; align-items: end; padding: 12px 0; }
.doc-count { font-weight: 600; color: var(--ink-2); padding-bottom: 12px; white-space: nowrap; }
@media (max-width: 860px) { .doc-filter { grid-template-columns: 1fr 1fr; position: static; } .doc-filter label:first-child { grid-column: 1 / -1; } .doc-count { padding: 0; } }
@media (max-width: 480px) { .doc-filter { grid-template-columns: 1fr; } }
.doc-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.doc { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; align-content: start; }
.doc img, .doc .doc-ph { width: 76px; height: 76px; border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px; object-fit: cover; object-position: top; background: var(--sage); }
.doc .doc-name { font-size: 1.14rem; line-height: 1.25; letter-spacing: -.01em; }
.doc-pos { font-size: .86rem; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }
.doc-spec { display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--green-deep); background: var(--sage); padding: 3px 8px; border-radius: 4px; }
.doc-contact { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; border-top: 1px solid var(--line); padding-top: 10px; overflow-wrap: anywhere; }
.doc-contact span { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.doc-empty { grid-column: 1 / -1; padding: 40px 0; color: var(--ink-2); }
.doc-foot { margin-top: 40px; max-width: 70ch; color: var(--ink-2); font-size: .95rem; }

/* footer */
.site-footer { background: var(--green-deep); color: var(--sage); padding-top: clamp(56px, 7vw, 90px); font-size: .95rem; }
.site-footer a { color: var(--sage); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(240px, 1fr) 2.6fr; gap: clamp(32px, 5vw, 80px); }
.footer-name { font-family: var(--serif); font-size: 1.35rem; color: #fff; margin: 18px 0 10px; line-height: 1.2; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-contact { margin-top: 12px; line-height: 1.7; }
.social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 24px; }
.footer-h { font-family: var(--serif); font-size: 1.1rem; color: #fff; margin-bottom: 10px; }
.footer-h a { color: #fff; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; line-height: 1.35; }
.footer-bottom { margin-top: 56px; padding: 22px 0 30px; border-top: 1px solid rgba(220,230,217,.18); display: flex; flex-wrap: wrap; gap: 8px 30px; justify-content: space-between; font-size: .85rem; color: #b8c8b6; }
.footer-note { max-width: 70ch; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }

/* cross-page fade where the browser supports it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; }

/* people who ask for less motion get the calm version: nothing moves, everything shows */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js .hero .reveal-line > span, .js .page-title.split-ready .w > span { transform: none !important; }
  .js .hero .hero-search, .js .hero .hero-links { opacity: 1 !important; transform: none !important; }
  .js [data-wipe].wipe-ready { color: var(--green-deep) !important; }
  .js [data-wipe].wipe-ready::after { display: none; }
  .hero-film, .hero-copy, .hero-frame, .page-hero-text, .page-hero-pic, .arch img, [data-depth], [data-speed] { transform: none !important; }
  .menu-panel { transition: none; }
  .menu-links a span { transform: none !important; }
  @view-transition { navigation: none; }
}

/* logo lockups drawn in VectorCraft (brand/lockup*.vectorcraft), text outlined */
.brand-lockup { height: 42px; width: auto; }
.footer-lockup { height: 56px; width: auto; margin-bottom: 18px; }
@media (max-width: 560px) { .brand-lockup { height: 38px; } }
