/* Shared layout and touch refinements for phones, tablets and desktops. */
html { scroll-padding-top: 110px; }
body { overflow-wrap: break-word; }
.container > *, .profile-layout > *, .detail-content > *, .contact-layout > *,
.people-grid > *, .featured-grid > *, .category-grid > *, .form-row > * { min-width: 0; }
.button { max-width: 100%; min-height: 48px; }
.button, .text-link, summary, .menu-toggle, .social-links a { touch-action: manipulation; }
.text-link { padding-block: 10px 6px; }
.languages { flex-shrink: 0; font-size: 12px; gap: 4px; }
.languages a { display: inline-flex; min-width: 38px; min-height: 44px; align-items: center; justify-content: center; }
.header-inner { height: auto; min-height: 103px; }
.site-header { top: calc(-1 * var(--header-row-height, 103px)); transition: box-shadow .2s; }
.header-contacts span { font-size: 12px; }
.desktop-nav { font-size: 14px; }
.nav-actions > .button { min-height: 44px; font-size: 14px; }
.nav-actions .social-links a { width: 36px; height: 44px; }
.dropdown a { min-height: 44px; display: flex; align-items: center; }
.dropdown .dropdown-all { font-size: 14px; }
.site-header.is-scrolled { box-shadow: 0 6px 24px #22394b12; }
.section-heading p, .intro p, .specialty-feature p, .category-card > p { font-size: 16px; }
.specialty-feature h3 { min-height: 0; line-height: 1.4; }
.specialty-feature > div:last-child { padding: 24px; }
.specialty-feature span { padding-top: 6px; }
.other-services a, .exam-row a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.tags a { font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.breadcrumbs { font-size: 13px; row-gap: 6px; }
.breadcrumbs a { padding-block: 5px; }
.information-card { top: 110px; }
.profile-card { top: 110px; }
.information-card p, .profile-card p, .person-info p { font-size: 15px; }
.person-info p { min-height: 0; }
.person-photo, .team-page .person-photo { height: 100%; min-height: 350px; }
.portrait-frame, .team-page .portrait-frame { height: 100%; min-height: 350px; }
.person-info { min-height: 350px; }
.person-info h3 { line-height: 1.3; }
.person-info .professional-registration { font-size: 14px; }
.contact-band p { max-width: 620px; font-size: 16px; }
.contact-band .button { flex-shrink: 0; }
.footer-grid { font-size: 14px; }
.footer-grid > div > a, .cookie-reopen { min-height: 40px; padding-block: 6px; }
.footer-ribbon span { font-size: 14px; }
.copyright { font-size: 12px; }
.contact-value, .footer-grid a { overflow-wrap: anywhere; }
.booking-form label, .booking-form .form-note { font-size: 14px; }
.booking-form > p, .contact-info address { font-size: 16px; }
.booking-form input, .booking-form select { min-width: 0; width: 100%; min-height: 50px; }
.cookie-notice { max-height: calc(100dvh - 32px); overflow-y: auto; }
.cookie-notice p, .cookie-notice a, .cookie-notice .button { font-size: 14px; }
.cookie-notice > div { flex-wrap: wrap; }
.floating-booking { min-height: 50px; font-size: 14px; bottom: max(20px, env(safe-area-inset-bottom)); }
.detail-heading { align-items: center; }
.detail-visual { margin: 0; min-width: 0; }
.detail-visual img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.detail-visual figcaption { font-size: 12px; line-height: 1.6; margin-top: 10px; color: #677581; }
.detail-content .prose > :first-child { margin-top: 0; }
/* Biofeedback: short introduction, a clear visit sequence, then questions. */
.bio-intro h2 { margin-top: 0; max-width: 700px; }
.bio-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 44px; }
.bio-highlights > div { padding: 22px 20px; background: #f5f7f9; border-top: 2px solid var(--copper); border-radius: 0 0 8px 8px; }
.prose .bio-highlights h3 { font-size: 17px; letter-spacing: -.02em; margin: 0 0 10px; line-height: 1.4; }
.prose .bio-highlights p { font-size: 15px; line-height: 1.75; margin: 0; }
.session-path { margin-bottom: 52px; }
.prose .session-path ol { padding: 0; margin: 25px 0; list-style: none; counter-reset: visit; display: grid; gap: 20px; }
.prose .session-path li { display: flex; gap: 18px; counter-increment: visit; padding: 0; }
.session-path li::before { content: counter(visit, decimal-leading-zero); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; border: 1px solid #dbcba9; border-radius: 50%; color: var(--gold); font-size: 14px; font-weight: 700; background: #fffdf8; }
.prose .session-path h3 { font-size: 19px; margin: 3px 0 7px; }
.prose .session-path p { margin: 0; font-size: 16px; line-height: 1.8; }
.faq-section { border-top: 1px solid var(--line); padding-top: 36px; }
.faq-section > h2 { margin-top: 0; }
.faq-topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 36px; }
.prose .faq-topics a { border: 1px solid #d5dfe6; border-radius: 24px; min-height: 46px; display: inline-flex; align-items: center; padding: 10px 17px; color: var(--navy); font-size: 14px; line-height: 1.5; text-decoration: none; }
.faq-topics a:hover { background: var(--navy); color: #fff; }
.faq-group { margin: 0 0 32px; scroll-margin-top: 110px; }
.prose .faq-group > h3 { font-size: 22px; margin: 0 0 16px; }
.faq-item { border: 1px solid var(--line); border-radius: 9px; margin: 10px 0; overflow: hidden; background: #fff; transition: border-color .2s; }
.faq-item[open] { border-color: #c6b38f; background: #fcfbf8; }
.faq-item > summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; cursor: pointer; color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.6; list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { background: #f5f7f9; }
.faq-item > summary:focus-visible { outline-offset: -4px; }
.faq-indicator { position: relative; width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); }
.faq-indicator::before, .faq-indicator::after { content: ''; position: absolute; background: currentColor; top: 8px; left: 2px; width: 14px; height: 2px; }
.faq-indicator::after { transform: rotate(90deg); transition: transform .2s; }
.faq-item[open] .faq-indicator::after { transform: rotate(0); }
.faq-answer { padding: 0 22px 22px; }
.prose .faq-answer p { margin: 0; font-size: 16px; line-height: 1.85; }
.faq-item[open] .faq-answer { animation: faq-appear .22s ease; }
.faq-support { padding: 28px; margin: 36px 0 0; background: var(--navy); border-radius: 12px; }
.prose .faq-support h2 { color: #fff; font-size: 26px; margin: 0 0 14px; }
.prose .faq-support p { color: #e0e8ee; margin-bottom: 24px; }
.prose .faq-support .button { color: var(--navy); background: #fff; text-decoration: none; }
@keyframes faq-appear { from { opacity: 0; } to { opacity: 1; } }
/* Use a touch menu before the full navigation starts to feel crowded. */
@media (max-width: 1180px) {
 .site-header { top: 0 !important; }
 .header-inner { min-height: 84px; gap: 20px; }
 .brand { width: 210px; }
 .header-contacts, .navigation-row { display: none; }
 .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 46px; height: 46px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; }
 .menu-toggle span { width: 19px; height: 2px; background: var(--navy); }
 .mobile-nav.open { display: flex; flex-direction: column; padding: 12px max(24px, calc((100vw - 1000px) / 2)) 24px; max-height: calc(100dvh - 84px); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); }
 .mobile-nav > a, .mobile-nav .nav-group > summary { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; white-space: normal; color: var(--navy); min-height: 48px; }
 .mobile-nav .nav-group > summary { justify-content: space-between; }
 .mobile-nav .dropdown { position: static; width: auto; max-height: none; border: 0; border-left: 2px solid var(--copper); box-shadow: none; padding: 3px 0; margin-block: 10px; border-radius: 0; animation: none; }
 .mobile-nav .dropdown a { font-size: 15px; padding: 12px 18px; }
 .mobile-nav > .button { color: #fff; margin-top: 20px; padding: 14px; }
 .mobile-nav > .social-links { margin-top: 20px; }
 .mobile-nav .social-links a { width: 44px; height: 44px; }
 .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .specialty-image { height: auto; aspect-ratio: 8 / 5; }
 .person-card { grid-template-columns: minmax(0, 1fr); }
 .person-photo, .team-page .person-photo { height: auto; aspect-ratio: 4 / 5; min-height: 0; position: relative; }
 .portrait-frame, .team-page .portrait-frame { min-height: 0; height: 100%; }
 .person-info, .team-page .person-info { min-height: 310px; }
 .person-info .eyebrow { min-height: 0; }
 .person-0 .portrait-frame img { width: 100%; height: 100%; top: 0; object-fit: cover; object-position: center 22%; }
 .person-1 .portrait-frame img { width: 100%; top: -6%; }
 .testimonial-grid { grid-template-columns: 1fr; }
 .testimonial-card { padding: 28px; }
 .testimonial-card blockquote { font-size: 16px; }
}
@media (max-width: 1024px) {
 .container { width: calc(100% - 48px); }
 .section-heading { align-items: flex-start; gap: 28px; }
 .section-heading p { max-width: 370px; }
 .profile-layout { grid-template-columns: minmax(0, 1fr); gap: 38px; }
 .profile-card { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 62%); position: static; }
 .profile-card > img { width: 100%; height: 100%; min-height: 320px; max-height: 430px; object-fit: cover; }
 .profile-card > div { padding: 30px; align-self: center; }
 .detail-content { grid-template-columns: minmax(0, 1fr); gap: 32px; }
 .information-card { position: static; }
 .information-card h2 { font-size: 26px; }
 .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 38px; }
 .contact-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
 .contact-info > div { margin: 0; }
 .contact-social { grid-column: 1 / -1; }
 .contact-info > .button { justify-self: start; align-self: start; }
 .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
 .footer-brand { grid-column: 1 / -1; }
 .footer-brand > .brand-mark { margin-top: 0; }
}
@media (max-width: 900px) {
 .hero-stage { display: flex; flex-direction: column; }
 .hero { order: 1; display: block; min-height: 0; padding-block: 40px 28px; }
 .hero-copy { width: 100%; max-width: 650px; }
 .hero h1 { font-size: clamp(36px, 6.5vw, 58px); }
 .hero-copy > p { max-width: 620px; font-size: 17px; }
 .hero-media { order: 2; position: relative; inset: auto; width: 100%; height: clamp(270px, 43vw, 390px); z-index: 0; }
 .hero-media img { object-position: 65% 58%; }
 .hero-media::after { background: linear-gradient(180deg, #fff 0%, #ffffff00 20%); }
 .welcome-strip { margin-top: 0; }
 .welcome-strip > a { display: block; padding: 24px 20px; }
 .welcome-strip .icon { margin-bottom: 12px; }
 .welcome-strip strong { font-size: 15px; }
 .welcome-strip span { font-size: 14px; }
 .intro { grid-template-columns: minmax(0, 1fr); gap: 30px; }
 .intro-image { height: auto; aspect-ratio: 16 / 9; max-height: 430px; }
 .intro h2 { max-width: 620px; }
 .detail-heading { grid-template-columns: minmax(0, 1fr); gap: 30px; }
 .detail-heading > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; max-height: 460px; border-radius: 12px; }
 .detail-visual img { max-height: 460px; }
 .contact-band > .container { display: block; }
 .contact-band .button { margin-top: 24px; }
}
@media (max-width: 700px) {
 .section-heading { display: block; }
 .section-heading p { max-width: 100%; margin-top: 18px; }
 .social-section { display: block; }
 .social-section > .social-links { margin-top: 24px; }
 .bio-highlights { grid-template-columns: minmax(0, 1fr); gap: 12px; }
 .bio-highlights > div { padding: 19px 22px; border-top: 0; border-left: 2px solid var(--copper); }
 .faq-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .prose .faq-topics a { border-radius: 8px; padding: 12px; }
 .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
 .footer-ribbon > .container { display: block; }
 .footer-ribbon strong { display: block; margin-bottom: 8px; }
}
@media (max-width: 600px) {
 .container { width: calc(100% - 36px); }
 .announcement .container { gap: 8px; align-items: center; }
 .announcement .container > span { font-size: 12px; max-width: none; line-height: 1.5; padding-block: 7px; }
 .languages { font-size: 12px; gap: 0; }
 .languages a { min-width: 30px; }
 .header-inner { min-height: 78px; }
 .brand { width: min(200px, 62vw); }
 .mobile-nav.open { padding-inline: 18px; max-height: calc(100dvh - 78px); }
 .hero { padding-top: 32px; }
 .hero h1 { font-size: clamp(34px, 9vw, 48px); }
 .hero-copy > p { font-size: 16px; }
 .hero-copy .eyebrow { font-size: 12px; letter-spacing: .1em; }
 .hero .actions { display: flex; align-items: flex-start; gap: 14px; }
 .hero .button { width: 100%; font-size: 16px; }
 .hero .text-link { font-size: 15px; }
 .hero-note { font-size: 14px; }
 .hero-media { height: clamp(235px, 65vw, 330px); }
 .welcome-strip { grid-template-columns: minmax(0, 1fr); }
 .welcome-strip > a { display: flex; align-items: center; gap: 18px; padding: 20px 22px; }
 .welcome-strip .icon { margin: 0; }
 .welcome-strip > a + a { border-left: 0; border-top: 1px solid var(--line); }
 .services-section, .team-section, .testimonials-section { padding-block: 48px; }
 .featured-grid, .category-grid, .people-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
 .specialty-image { aspect-ratio: 8 / 5; }
 .specialty-feature h3 { font-size: 22px; }
 .specialty-feature p { font-size: 16px; }
 .specialty-feature > div:last-child { padding: 24px; }
 .specialty-feature span { font-size: 15px; }
 .category-card > div { height: auto; aspect-ratio: 8 / 5; }
 .category-card h2 { font-size: 23px; margin: 24px 24px 14px; min-height: 0; }
 .category-card > p, .category-card > span { margin-inline: 24px; }
 .person-card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
 .person-photo, .team-page .person-photo { aspect-ratio: 4 / 3; min-height: 0; height: auto; }
 .portrait-frame, .team-page .portrait-frame { min-height: 0; }
 .person-info, .team-page .person-info { min-height: 0; padding: 26px; }
 .person-info h3 { font-size: 26px; margin-bottom: 14px; }
 .person-info .eyebrow { min-height: 0; font-size: 12px; margin-bottom: 12px; }
 .person-info p { min-height: 0; font-size: 16px; margin-bottom: 18px; }
 .person-info .card-action { font-size: 14px; margin-top: 10px; padding-block: 8px; }
 .person-0 .portrait-frame img { width: 100%; height: 100%; top: 0; object-fit: cover; object-position: center 20%; }
 .person-1 .portrait-frame img { width: 100%; top: -16%; }
 .profile-card { display: block; }
 .profile-card > img { height: auto; aspect-ratio: 4 / 5; min-height: 0; max-height: none; object-fit: cover; }
 .profile-card > div { padding: 26px; }
 .profile-copy h1, .detail-heading h1, .page-heading h1 { font-size: clamp(30px, 8vw, 40px); overflow-wrap: anywhere; }
 .profile-copy h2, .prose h2 { font-size: 26px; }
 .profile-copy p, .prose { font-size: 16px; line-height: 1.85; }
 .detail-heading .actions { align-items: flex-start; }
 .detail-heading .actions .button { width: 100%; font-size: 16px; }
 .detail-content { padding-block: 30px 46px; }
 .detail-visual img { aspect-ratio: 3 / 2; }
 .prose ul.topic-bullets { grid-template-columns: minmax(0, 1fr); padding: 22px 20px 22px 38px; }
 .contact-info, .footer-grid { grid-template-columns: minmax(0, 1fr); }
 .contact-info > .button { width: 100%; justify-self: stretch; }
 .booking-form { padding: 26px 20px; }
 .booking-form .button { width: 100%; font-size: 15px; }
 .contact-band h2 { font-size: 30px; }
 .contact-band .button { width: 100%; font-size: 16px; }
 .footer-brand, .contact-social { grid-column: auto; }
 .cookie-notice { left: 14px; bottom: max(14px, env(safe-area-inset-bottom)); width: calc(100% - 28px); padding: 20px; }
 .cookie-notice p { font-size: 14px; line-height: 1.65; }
 .cookie-notice a, .cookie-notice .button { font-size: 14px; }
 .cookie-notice .button { min-height: 44px; }
 .floating-booking { left: 18px; right: 18px; font-size: 15px; }
 .faq-item > summary { padding: 18px; gap: 14px; }
 .faq-answer { padding: 0 18px 20px; }
 .faq-support { padding: 25px 22px; }
 .faq-support .button { width: 100%; }
 .session-path li::before { width: 36px; height: 36px; }
 .prose .session-path li { gap: 14px; }
}
@media (max-width: 360px) {
 .faq-topics { grid-template-columns: minmax(0, 1fr); }
 .social-links-labels a { width: 100%; justify-content: flex-start; }
 .hero h1 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
 .faq-item[open] .faq-answer { animation: none; }
 .faq-indicator::after { transition: none; }
}
