@font-face {
  font-family: Manrope;
  src: local("Manrope"), url("/assets/fonts/manrope.php?v=1") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #1b1e25;
  --surface: #242a35;
  --text: #f1f3f8;
  --muted: #bcc4d2;
  --brand: #a8bdf2;
  --accent: #a8bdf2;
  --ink: #111827;
  --rule: rgba(211, 223, 248, .19);
  --font-body: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
  --font-heading: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
  --font-button: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
  --container: 1160px;
  --header-height: 82px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); scroll-behavior: smooth; scroll-padding-top: 106px; }
body { margin: 0; min-width: 320px; font: 400 16px/1.75 var(--font-body); color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open, body.lightbox-open { overflow: hidden; }
body, input, button, textarea, select { font-family: var(--font-body); }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: .22em; }
button:not(:disabled), a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
/* Intrinsic HTML dimensions reserve space, but never dictate display height. */
img, video { display: block; max-width: 100%; height: auto; }
svg { display: block; }
figure { margin: 0; min-width: 0; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-heading); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 2.65vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.container { width: min(calc(100% - 80px), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(50px, 6vw, 82px); }
.section-label { display: block; margin-bottom: 17px; color: var(--accent); font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.section-heading .section-label { margin-bottom: 11px; }
.section-heading.compact { max-width: 710px; }
.copy-block { display: grid; gap: 17px; color: var(--muted); }
.editorial-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 104px); }
.copy-block p, .profile-copy p { max-width: 65ch; }
.skip-link { position: fixed; z-index: 5000; top: 10px; left: 10px; padding: 12px 20px; transform: translateY(-160%); color: var(--ink); background: var(--text); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 1000; top: 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-shell { width: min(calc(100% - 64px), 1312px); min-height: var(--header-height); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; }
.brand { flex-shrink: 0; display: flex; align-items: center; width: 146px; min-height: 56px; text-decoration: none; }
.brand img { width: 146px; height: auto; max-height: 55px; object-fit: contain; }
.site-nav, .nav-links { display: flex; align-items: center; }
.site-nav { gap: clamp(32px, 5vw, 72px); }
.nav-links { gap: 34px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 24px 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 17px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.header-phone { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 46px; padding: 0 18px; border: 1px solid var(--rule); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .2s, border-color .2s; }
.header-phone:hover { background: var(--surface); border-color: var(--accent); }
.menu-toggle { display: none; flex: 0 0 48px; width: 48px; height: 48px; margin-left: auto; padding: 10px 0 10px 14px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 27px; height: 1px; background: var(--text); margin: 7px 0 7px auto; transition: transform .2s; }
.site-header.is-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.site-header.is-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--rule); border-radius: 2px; font: 600 14px/1.5 var(--font-button); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn-solid { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.btn-solid:hover { background: var(--text); border-color: var(--text); }
.btn-outline { color: var(--text); background: rgba(20,27,42,.38); border-color: rgba(233,240,255,.55); }
.btn-outline:hover { background: var(--surface); border-color: var(--text); }
.arrow { font-size: 21px; line-height: 1; font-weight: 400; }
.text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; margin-top: 18px; color: var(--accent); font-size: 14px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--rule); }
.text-link:hover { border-color: var(--accent); }
/* Full-width scene, not a boxed dashboard. Text stays outside the image's sizing context. */
.home-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.hero-photo, .hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-photo { left: 35%; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; max-height: 740px; object-fit: cover; object-position: 52% 38%; animation: photo-intro 4s ease-out both; }
.hero-shade { background: linear-gradient(90deg, #151c2b 0%, rgba(21,28,43,.97) 29%, rgba(21,28,43,.75) 44%, rgba(21,28,43,.12) 71%), linear-gradient(0deg, rgba(18,25,39,.96), transparent 37%); }
.hero-main { position: relative; display: flex; align-items: center; min-height: 442px; padding-block: 62px 42px; }
.hero-copy { max-width: 510px; }
.home-hero h1 { max-width: 12ch; line-height: 1.13; }
.home-hero .lead { max-width: 48ch; margin-top: 24px; font-size: 16px; line-height: 1.8; color: #e1e6ef; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.visit-row { position: relative; display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 38px; align-items: start; padding-block: 21px 24px; border-top: 1px solid rgba(220,231,252,.27); }
.visit-row > div { min-width: 0; }
.visit-label { display: block; margin-bottom: 7px; color: #bcc6d6; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.visit-row p { font-size: 13px; line-height: 1.7; max-width: 46ch; color: #e0e5ee; }
.visit-row a { font-size: 14px; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.intro-section { border-bottom: 1px solid var(--rule); }
.paths-section { padding-top: 66px; padding-bottom: 54px; }
.specialist-paths { border-top: 1px solid var(--rule); }
.specialist-path { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 7vw, 104px); padding-block: 29px 31px; border-bottom: 1px solid var(--rule); }
.specialist-path > div:first-child { display: grid; grid-template-columns: 26px 1fr; column-gap: 24px; align-content: start; }
.path-number { color: var(--accent); font-size: 12px; line-height: 2; }
.specialist-path h3 { font-size: 26px; line-height: 1.1; }
.person-label { grid-column: 2; margin-top: 10px; font-size: 13px; color: var(--muted); }
.specialist-path > div:nth-child(2) p { max-width: 64ch; font-size: 15px; color: var(--muted); }
.specialist-path .text-link { margin-top: 12px; }
.gallery-section { background: var(--surface); border-block: 1px solid var(--rule); padding-block: 55px 60px; }
.gallery-hint { color: var(--muted); font-size: 12px; max-width: 24ch; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-item { min-width: 0; }
.gallery-image { position: relative; display: block; height: clamp(172px, 18vw, 236px); width: 100%; overflow: hidden; background: var(--paper); border-radius: 2px; }
.gallery-image img { width: 100%; height: 100%; max-height: 236px; object-fit: cover; object-position: 50% 43%; transition: transform .4s ease; }
.gallery-image:hover img { transform: scale(1.025); }
.gallery-item figcaption { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.6; padding-right: 8px; }
.enlarge { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 35px; height: 35px; background: rgba(18,25,39,.88); color: #fff; font-size: 22px; line-height: 1; }
.contact-section { padding-block: 56px 62px; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 44px; }
.contact-grid h2 { font-size: clamp(1.5rem, 2.7vw, 2.1rem); }
.contact-grid p { max-width: 60ch; margin-top: 15px; color: var(--muted); font-size: 14px; }
.contact-number { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 70px; border-bottom: 1px solid var(--accent); color: var(--accent); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 400; text-decoration: none; white-space: nowrap; }
.contact-number > span:last-child { font-size: 31px; }
.specialist-intro { padding-block: 28px 34px; background: var(--paper); }
.page-intro-line { display: flex; gap: 13px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 44px; }
.page-intro-line a { text-decoration: none; }
.page-intro-line .current-page-name { color: var(--text); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.profile-copy h1 { font-size: clamp(1.9rem, 3.1vw, 2.65rem); line-height: 1.14; }
.profile-copy .section-label { margin-bottom: 12px; }
.bio-text { display: grid; gap: 14px; margin-top: 25px; }
.bio-text p { font-size: 15px; line-height: 1.85; color: var(--muted); }
.profile-image { position: relative; display: block; width: 100%; height: 334px; max-height: 334px; overflow: hidden; background: var(--surface); border-radius: 2px; }
.profile-image img { width: 100%; height: 100%; max-height: 334px; object-fit: cover; object-position: center 42%; }
.profile-photo figcaption { color: var(--muted); font-size: 11px; padding-top: 11px; line-height: 1.6; }
.specialist-summary { margin-top: 37px; border-top: 1px solid var(--rule); padding-top: 25px; color: var(--muted); font-size: 14px; }
.information-section { border-top: 1px solid var(--rule); padding-block: 48px 38px; }
.information-section h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); max-width: 19ch; }
.information-section .copy-block p { font-size: 15px; }
.scope-section { padding-block: 20px 54px; }
.simple-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--rule); }
.scope-item { padding: 24px 27px; border-right: 1px solid var(--rule); }
.scope-item:first-child { padding-left: 0; }
.scope-item:last-child { padding-right: 0; border-right: 0; }
.scope-item h3 { font-size: 17px; margin-bottom: 13px; font-weight: 500; letter-spacing: -.01em; }
.scope-item p { font-size: 14px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--rule); background: #121823; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .75fr; gap: 60px; padding-block: 42px 34px; }
.footer-logo-wrap { display: inline-block; width: 145px; max-width: 100%; }
.footer-logo-wrap img { width: 145px; height: auto; max-height: 54px; object-fit: contain; }
.footer-note { max-width: 33ch; margin-top: 19px; font-size: 12px; line-height: 1.8; }
.site-footer h2 { color: var(--text); font-size: 13px; line-height: 1.7; font-weight: 500; letter-spacing: 0; margin-bottom: 15px; }
.site-footer p, .footer-links a { font-size: 13px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-links { display: grid; gap: 7px; }
.site-footer .address { max-width: 26ch; margin-top: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--rule); padding-block: 18px; font-size: 11px; line-height: 1.7; }
.footer-bottom a { color: #d5deef; }
.legal-heading { padding-block: 52px 30px; }
.legal-heading h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.legal-heading p { margin-top: 20px; color: var(--muted); }
.legal-content { padding-block: 10px 60px; }
.legal-narrow, .simple-page .narrow-hero { max-width: 850px; }
.legal-content h2 { font-size: 22px; letter-spacing: -.02em; margin: 30px 0 12px; }
.legal-content p, .legal-content li { color: var(--muted); margin-bottom: 12px; font-size: 15px; }
.legal-note { padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 13px; }
.not-found { min-height: 420px; }
.not-found p { margin-top: 18px; }
/* Full original photo is shown inside the viewport, never as a full-height page. */
.lightbox { border: 1px solid var(--rule); padding: 0; width: min(1060px, calc(100vw - 32px)); height: min(900px, calc(100dvh - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); background: #121823; color: var(--text); overflow: hidden; }
.lightbox::backdrop { background: rgba(5,9,17,.88); }
.lightbox-inner { display: grid; grid-template-rows: 54px minmax(0,1fr) 48px; width: 100%; height: 100%; padding: 0 20px; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; color: var(--muted); }
.lightbox-close { min-width: 100px; min-height: 44px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 18px; border: 0; background: transparent; color: var(--text); font-size: 12px; }
.lightbox-close span { font-size: 25px; line-height: 1; }
.lightbox-stage { position: relative; display: grid; grid-template-columns: 48px minmax(0,1fr) 48px; gap: 12px; width: 100%; height: 100%; min-height: 0; align-items: center; justify-items: center; }
#photo-full { grid-column: 2; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; min-height: 0; }
.photo-prev, .photo-next { border: 1px solid var(--rule); background: var(--surface); width: 46px; height: 46px; padding: 0; font-size: 22px; z-index: 1; }
#photo-caption { align-self: center; margin: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.will-reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.will-reveal.is-visible { opacity: 1; transform: none; }
.sos-custom-section { width: min(calc(100% - 48px), var(--container)); margin: 40px auto; padding: 28px; background: var(--surface); border: 1px solid var(--rule); }
.sos-custom-section img { height: auto; max-height: 360px; width: 100%; object-fit: cover; }
.simple-page *, .simple-page *::before, .simple-page *::after { animation: none !important; transition: none !important; }
@keyframes photo-intro { from { transform: scale(1.04); } to { transform: scale(1); } }
@media (max-width: 1050px) {
  .container { width: calc(100% - 64px); }
  .hero-photo { left: 27%; }
  .hero-shade { background: linear-gradient(90deg, #151c2b 0%, rgba(21,28,43,.9) 38%, rgba(21,28,43,.2)), linear-gradient(0deg,#151c2b,transparent 38%); }
  .hero-copy { max-width: 480px; }
  .profile-grid { gap: 38px; grid-template-columns: 1.1fr .9fr; }
  .profile-image, .profile-image img { height: 304px; max-height: 304px; }
  .gallery-grid { gap: 18px; }
  .contact-grid { grid-template-columns: 1.1fr .9fr; }
}
@media (max-width: 860px) {
  :root { --header-height: 72px; }
  .container { width: calc(100% - 48px); }
  .header-shell { width: calc(100% - 40px); }
  .brand, .brand img { width: 131px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: -20px; right: -20px; width: calc(100% + 40px); display: block; background: #1b1e25; border-bottom: 1px solid var(--rule); padding: 18px 24px 24px; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
  .js .site-nav { visibility: hidden; opacity: 0; pointer-events: none; }
  .js .site-header.is-open .site-nav { visibility: visible; opacity: 1; pointer-events: auto; }
  .nav-links { display: grid; gap: 0; }
  .nav-links a { display: block; padding: 17px 0; border-bottom: 1px solid var(--rule); color: var(--text); font-size: 16px; }
  .nav-links a::after { display: none; }
  .header-phone { margin-top: 18px; width: 100%; min-height: 48px; }
  .hero-main { min-height: 440px; }
  .hero-copy { max-width: 430px; }
  .hero-photo { left: 10%; }
  .home-hero .lead { font-size: 15px; }
  .visit-row { grid-template-columns: 1.4fr 1fr; gap: 18px 30px; }
  .visit-row > div:first-child { grid-column: 1 / -1; }
  .visit-row p { max-width: none; }
  .profile-grid { grid-template-columns: 1fr; gap: 28px; }
  .profile-copy { max-width: 710px; }
  .profile-photo { max-width: none; }
  .profile-image, .profile-image img { height: 280px; max-height: 280px; }
  .profile-image img { object-position: center 40%; }
  .page-intro-line { margin-bottom: 30px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 24px; }
  .information-section h2 { max-width: 27ch; }
  .specialist-path { grid-template-columns: .7fr 1.3fr; gap: 32px; }
  .simple-list { grid-template-columns: 1fr; }
  .scope-item, .scope-item:first-child, .scope-item:last-child { padding: 21px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .gallery-hint { max-width: 22ch; }
  .gallery-image, .gallery-image img { height: 190px; max-height: 190px; }
  .contact-grid { grid-template-columns: 1fr; gap: 23px; }
  .contact-number { width: min(360px,100%); min-height: 58px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-note { max-width: 55ch; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  body { font-size: 15px; }
  .section { padding-block: 43px; }
  .section-label { font-size: 10px; margin-bottom: 12px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading h2 { max-width: 24ch; }
  .gallery-hint { max-width: none; margin-top: 12px; font-size: 11px; }
  .hero-photo { left: 0; }
  .hero-photo img { max-height: 840px; object-position: 56% 30%; }
  .hero-shade { background: linear-gradient(90deg, rgba(19,26,41,.94), rgba(19,26,41,.48)), linear-gradient(0deg, #151c2b 0%, rgba(21,28,43,.83) 24%, transparent 75%); }
  .hero-main { min-height: 400px; padding-block: 54px 36px; }
  .hero-copy { max-width: 440px; }
  .home-hero h1 { font-size: clamp(32px, 9vw, 42px); }
  .home-hero .lead { margin-top: 20px; line-height: 1.8; max-width: 40ch; }
  .hero-actions { gap: 10px; margin-top: 25px; }
  .hero-actions .btn { flex: 1; padding-inline: 16px; gap: 16px; max-width: 185px; }
  .visit-row { gap: 15px 20px; padding-block: 19px 24px; grid-template-columns: 1fr 1fr; }
  .visit-row a { font-size: 12px; }
  .visit-row p { font-size: 12px; }
  .visit-label { font-size: 10px; margin-bottom: 5px; }
  .specialist-path { grid-template-columns: 1fr; gap: 16px; padding-block: 26px; }
  .specialist-path > div:first-child { column-gap: 15px; grid-template-columns: 21px 1fr; }
  .specialist-path h3 { font-size: 24px; }
  .specialist-path > div:nth-child(2) p { font-size: 14px; }
  .specialist-path .text-link { margin-top: 9px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 22px; }
  .gallery-image { height: clamp(170px, 56vw, 250px); max-height: 250px; }
  .gallery-image img { height: 100%; max-height: 250px; }
  .gallery-item figcaption { margin-top: 9px; font-size: 12px; }
  .profile-copy h1 { font-size: clamp(28px, 8vw, 37px); }
  .bio-text { margin-top: 20px; gap: 13px; }
  .bio-text p { font-size: 14px; line-height: 1.8; }
  .profile-image { height: 230px; max-height: 230px; }
  .profile-image img { height: 100%; max-height: 230px; }
  .specialist-intro { padding-block: 23px 25px; }
  .specialist-summary { margin-top: 25px; padding-top: 20px; font-size: 13px; }
  .information-section { padding-bottom: 24px; }
  .information-section .copy-block p { font-size: 14px; }
  .scope-section { padding-top: 20px; }
  .contact-grid p { font-size: 14px; }
  .footer-grid { padding-block: 33px; gap: 28px 24px; }
  .footer-grid > div { min-width: 0; }
  .footer-grid p, .footer-links a { font-size: 12px; overflow-wrap: anywhere; }
  .footer-bottom { flex-direction: column; gap: 7px; font-size: 10px; }
  .lightbox { width: calc(100vw - 12px); max-width: calc(100vw - 12px); height: calc(100dvh - 12px); max-height: calc(100dvh - 12px); }
  .lightbox-inner { padding: 0 10px; grid-template-rows: 52px minmax(0,1fr) 48px; }
  .lightbox-stage { grid-template-columns: minmax(0,1fr); }
  #photo-full { grid-column: 1; grid-row: 1; }
  .photo-prev, .photo-next { position: absolute; width: 44px; height: 44px; background: rgba(20,27,42,.9); }
  .photo-prev { left: 0; }
  .photo-next { right: 0; }
}
@media (max-width: 370px) {
  .visit-row { grid-template-columns: 1fr; }
  .visit-row > div:first-child { grid-column: auto; }
  .visit-row > div:not(:first-child) { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .visit-row .visit-label { margin: 0; }
  .header-shell { width: calc(100% - 32px); }
  .site-nav { left: -16px; right: -16px; width: calc(100% + 32px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .will-reveal { opacity: 1 !important; transform: none !important; }
}
.scope-section .section-heading { display: block; }
.scope-section .section-heading .section-label { margin-bottom: 12px; }
.gallery-section:has(.gallery-grid[data-sos-empty-strict]):not(:has(.gallery-item)) { display: none; }


.visit-row .visit-line { display: flex; flex-direction: column; gap: 6px; }
.visit-row .visit-city { color: var(--text); font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.visit-row .visit-meta { color: #e0e5ee; font-size: 13px; line-height: 1.7; }
.visit-row .visit-meta strong { color: var(--text); font-weight: 500; }
.scope-section .section-heading { display: block; }
.scope-section .section-heading .section-label { margin-bottom: 12px; }
.scope-section .section-heading p { margin-top: 14px; max-width: 70ch; color: var(--muted); font-size: 14px; }
.profile-photo .profile-image.doctor-portrait,
.profile-photo .profile-image.doctor-portrait img { height: 430px; max-height: 430px; }
.profile-photo .profile-image.doctor-portrait img { object-position: center top; }
@media (max-width: 860px) {
  .profile-photo .profile-image.doctor-portrait,
  .profile-photo .profile-image.doctor-portrait img { height: 360px; max-height: 360px; }
}
@media (max-width: 600px) {
  .visit-row .visit-city { font-size: 14px; }
  .visit-row .visit-meta { font-size: 12px; }
  .scope-section .section-heading p { font-size: 13px; }
  .profile-photo .profile-image.doctor-portrait,
  .profile-photo .profile-image.doctor-portrait img { height: 320px; max-height: 320px; }
}
