/* Погоджена композиція головної. Решта сторінок зберігає власне оформлення. */
body:is(.home-next,.page-next) { font-size:18px; line-height:1.55; }
body:is(.home-next,.page-next) .wrap { width:min(1120px,calc(100% - 96px)); max-width:none; padding-inline:0; margin-inline:auto; }
body:is(.home-next,.page-next) .site-header { position:relative; border:0; }
body:is(.home-next,.page-next) .nav { min-height:100px; gap:28px; }
body:is(.home-next,.page-next) .brand { display:flex; flex-direction:column; align-items:flex-start; gap:4px; flex-shrink:0; }
body:is(.home-next,.page-next) .brand .logo { font-size:34px; line-height:1; min-height:0; }
body:is(.home-next,.page-next) .brand-name { font-size:14px; line-height:1.5; max-width:none; }
body:is(.home-next,.page-next) .navlinks { gap:26px; font-size:16px; }
body:is(.home-next,.page-next) .btn { border-radius:3px; min-height:48px; padding:10px 25px; gap:26px; font-size:17px; line-height:1.3; }
body:is(.home-next,.page-next) .nav-cta { min-height:44px; padding:9px 20px; font-size:16px; }
body:is(.home-next,.page-next) .home-page h2 { font-size:30px; line-height:1.2; letter-spacing:-.035em; text-wrap:balance; }
body:is(.home-next,.page-next) .home-hero { grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); gap:64px; align-items:center; padding-block:24px 0; }
body:is(.home-next,.page-next) .hero-copy { min-width:0; max-width:600px; }
body:is(.home-next,.page-next) .space-label { display:block; width:auto; min-height:0; margin:0 0 16px; padding:0; background:none; border:0; border-radius:0; color:var(--muted); font-size:14px; letter-spacing:.04em; }
body:is(.home-next,.page-next) .home-hero h1 { font-size:clamp(36px,4vw,54px); line-height:1.12; letter-spacing:-.035em; max-width:18ch; margin:0 0 24px; text-wrap:balance; }
body:is(.home-next,.page-next) .hero-practitioner { margin:0; }
body:is(.home-next,.page-next) .hero-practitioner .practitioner-name { font:400 24px/1.3 var(--serif); margin:0 0 5px; }
body:is(.home-next,.page-next) .hero-practitioner .practitioner-role { max-width:44ch; margin:0; font-size:17px; line-height:1.5; }
body:is(.home-next,.page-next) .hero-summary { margin-top:20px; padding:0; background:none; border:0; border-radius:0; }
body:is(.home-next,.page-next) .hero-description { font-size:18px; max-width:44ch; }
body:is(.home-next,.page-next) .hero-description p { margin:0 0 14px; line-height:1.55; }
body:is(.home-next,.page-next) .hero-facts { gap:6px 16px; margin-top:16px; padding:0; border:0; font-size:16px; }
body:is(.home-next,.page-next) .home-hero .actions { margin-top:22px; }
body:is(.home-next,.page-next) .home-hero .hero-visual { width:100%; max-width:370px; justify-self:end; margin:0; }
body:is(.home-next,.page-next) .hero-portrait { display:block; width:100%; height:460px; max-height:none; aspect-ratio:auto; object-fit:cover; border-radius:3px; }
body:is(.home-next,.page-next) .home-portals { margin-top:56px; padding:0; }
body:is(.home-next,.page-next) .portal-grid { grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:36px; row-gap:40px; align-items:start; }
body:is(.home-next,.page-next) .portal-card { grid-column:span 4; min-height:0; height:auto; display:block; margin:0; padding:0; background:none; border:0; border-radius:0; }
body:is(.home-next,.page-next) .portal-about { grid-column:span 5; align-self:center; padding:28px; background:var(--card); border-radius:3px; }
body:is(.home-next,.page-next) .portal-therapy { grid-column:span 7; padding-left:20px; }
body:is(.home-next,.page-next) .portal-card h2 { margin:0 0 14px; }
body:is(.home-next,.page-next) .portal-card:hover h2 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:6px; }
body:is(.home-next,.page-next) .portal-card p { max-width:54ch; margin:0; padding:0; font-size:18px; line-height:1.55; }
body:is(.home-next,.page-next) .portal-subtitle { margin-top:7px; font-size:17px; line-height:1.4; }
body:is(.home-next,.page-next) .portal-terms { margin:16px 0 0; gap:4px; font-size:17px; }
body:is(.home-next,.page-next) .portal-terms span:first-child { color:var(--ink); font-weight:500; }
body:is(.home-next,.page-next) .portal-more { display:inline-block; width:auto; margin-top:16px; padding:0; border:0; font-size:17px; }
body:is(.home-next,.page-next) .portal-photo { grid-column:span 4; min-width:0; margin:0; overflow:hidden; border-radius:3px; }
body:is(.home-next,.page-next) .portal-photo img { display:block; width:100%; height:230px; object-fit:cover; }
body:is(.home-next,.page-next) .home-page>.section { padding:0; margin-top:56px; margin-bottom:0; }
body:is(.home-next,.page-next) .home-page .work-section { display:grid; grid-template-columns:1fr; gap:24px; }
body:is(.home-next,.page-next) .work-section::before, body:is(.home-next,.page-next) .section-band::before { display:none; }
body:is(.home-next,.page-next) .start-section .section-intro { max-width:none; }
body:is(.home-next,.page-next) .start-section .section-intro h2 { margin:0; }
body:is(.home-next,.page-next) .start-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:42px; }
body:is(.home-next,.page-next) .start-grid li { min-width:0; margin:0; padding:0; background:none; border:0; border-radius:0; font-size:17px; line-height:1.55; }
body:is(.home-next,.page-next) .start-grid li::before { position:static; display:block; margin:0 0 12px; font:400 15px/1.4 var(--sans); }
body:is(.home-next,.page-next) .start-grid strong { display:block; margin:0 0 8px; font:600 18px/1.4 var(--sans); }
body:is(.home-next,.page-next) .contact-location { border:0; }
body:is(.home-next,.page-next) .contact-location .sectionhead { margin-bottom:24px; }
body:is(.home-next,.page-next) .contact-location .sectionhead h2 { margin:0; }
body:is(.home-next,.page-next) .location-grid { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:44px; align-items:center; }
body:is(.home-next,.page-next) .location-grid.contact-only { grid-template-columns:1fr; }
body:is(.home-next,.page-next) .gallery { display:block; min-width:0; }
body:is(.home-next,.page-next) .gallery figure { margin:0; }
body:is(.home-next,.page-next) .gallery .cabinet-photo { display:block; width:100%; height:310px; max-height:none; aspect-ratio:auto; object-fit:cover; border-radius:3px; }
body:is(.home-next,.page-next) .location-info { min-width:0; }
body:is(.home-next,.page-next) .location-info h3 { font:400 26px/1.25 var(--serif); }
body:is(.home-next,.page-next) .location-info>p { margin-bottom:16px; font-size:18px; }
body:is(.home-next,.page-next) .location-info .textlink { display:inline-flex; font-size:17px; }
body:is(.home-next,.page-next) .location-map { margin-top:16px; font-size:16px; }
body:is(.home-next,.page-next) .location-map>summary { cursor:pointer; width:fit-content; padding-block:8px; text-decoration:underline; text-underline-offset:5px; }
body:is(.home-next,.page-next) .location-map .map { display:block; width:100%; height:240px; margin-top:12px; border:0; }
body:is(.home-next,.page-next) .rental-callout { margin-top:36px; padding:22px 0; grid-template-columns:minmax(0,1fr) auto; gap:24px; border-block:1px solid var(--line); background:none; border-radius:0; }
body:is(.home-next,.page-next) .rental-callout h2 { margin-bottom:8px; font-size:26px; }
body:is(.home-next,.page-next) .rental-callout .textlink { white-space:nowrap; }
body:is(.home-next,.page-next) .site-footer { border:0; padding-block:26px 32px; }
@media(max-width:1100px) {
  body:is(.home-next,.page-next) .wrap { width:calc(100% - 72px); }
  body:is(.home-next,.page-next) .nav { gap:20px; }
  body:is(.home-next,.page-next) .navlinks { gap:16px; font-size:15px; }
  body:is(.home-next,.page-next) .home-hero { gap:40px; }
  body:is(.home-next,.page-next) .hero-portrait { height:420px; }
  body:is(.home-next,.page-next) .portal-grid { column-gap:26px; }
}
@media(max-width:900px) {
  body:is(.home-next,.page-next) .nav { min-height:88px; }
  body:is(.home-next,.page-next) .menu-toggle { margin-left:0; }
  body:is(.home-next,.page-next) .navlinks { padding:16px 36px; }
  body:is(.home-next,.page-next) .home-hero { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:30px; }
  body:is(.home-next,.page-next) .home-hero h1 { font-size:40px; }
  body:is(.home-next,.page-next) .hero-portrait { height:360px; }
  body:is(.home-next,.page-next) .hero-practitioner .practitioner-role { font-size:16px; }
  body:is(.home-next,.page-next) .portal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px 26px; }
  body:is(.home-next,.page-next) .portal-about, body:is(.home-next,.page-next) .portal-therapy { grid-column:1/-1; }
  body:is(.home-next,.page-next) .portal-therapy { padding:0; }
  body:is(.home-next,.page-next) .portal-card { grid-column:auto; }
  body:is(.home-next,.page-next) .portal-about, body:is(.home-next,.page-next) .portal-therapy, body:is(.home-next,.page-next) .portal-photo { grid-column:1/-1; }
  body:is(.home-next,.page-next) .portal-photo img { height:160px; object-position:50% 25%; }
  body:is(.home-next,.page-next) .home-page h2 { font-size:28px; }
  body:is(.home-next,.page-next) .start-grid { gap:26px; }
  body:is(.home-next,.page-next) .location-grid { gap:30px; }
  body:is(.home-next,.page-next) .gallery .cabinet-photo { height:280px; }
}
@media(max-width:640px) {
  body:is(.home-next,.page-next) .wrap { width:calc(100% - 48px); }
  body:is(.home-next,.page-next) .nav { min-height:80px; gap:12px; }
  body:is(.home-next,.page-next) .brand .logo { font-size:29px; }
  body:is(.home-next,.page-next) .brand-name { font-size:13px; }
  body:is(.home-next,.page-next) .nav-cta { padding-inline:14px; font-size:15px; gap:12px; }
  body:is(.home-next,.page-next) .menu-toggle { margin-left:0; }
  body:is(.home-next,.page-next) .navlinks { padding-inline:24px; }
  body:is(.home-next,.page-next) .home-hero { grid-template-columns:1fr; gap:26px; padding-top:24px; }
  body:is(.home-next,.page-next) .home-hero h1 { font-size:36px; margin-bottom:22px; }
  body:is(.home-next,.page-next) .hero-practitioner .practitioner-name { font-size:22px; }
  body:is(.home-next,.page-next) .hero-facts { font-size:16px; }
  body:is(.home-next,.page-next) .home-hero .hero-visual { max-width:none; justify-self:start; }
  body:is(.home-next,.page-next) .hero-portrait { height:280px; }
  body:is(.home-next,.page-next) .home-portals { margin-top:36px; }
  body:is(.home-next,.page-next) .portal-grid { grid-template-columns:1fr; gap:36px; }
  body:is(.home-next,.page-next) .portal-card, body:is(.home-next,.page-next) .portal-photo { grid-column:1; }
  body:is(.home-next,.page-next) .portal-about { padding:22px; }
  body:is(.home-next,.page-next) .home-page h2 { font-size:27px; }
  body:is(.home-next,.page-next) .portal-card h2 { margin-bottom:12px; }
  body:is(.home-next,.page-next) .portal-more { margin-top:14px; }
  body:is(.home-next,.page-next) .portal-photo { margin-bottom:-18px; }
  body:is(.home-next,.page-next) .portal-photo img { height:145px; }
  body:is(.home-next,.page-next) .home-page>.section { margin-top:40px; }
  body:is(.home-next,.page-next) .start-grid { grid-template-columns:1fr; gap:24px; }
  body:is(.home-next,.page-next) .start-grid li { position:relative; padding-left:48px; font-size:18px; }
  body:is(.home-next,.page-next) .start-grid li::before { position:absolute; left:0; top:3px; margin:0; }
  body:is(.home-next,.page-next) .start-grid strong { margin-bottom:5px; }
  body:is(.home-next,.page-next) .location-grid { grid-template-columns:1fr; gap:24px; }
  body:is(.home-next,.page-next) .gallery .cabinet-photo { height:auto; aspect-ratio:1.5; }
  body:is(.home-next,.page-next) .rental-callout { grid-template-columns:1fr; gap:12px; margin-top:32px; }
  body:is(.home-next,.page-next) .rental-callout h2 { font-size:26px; }
}
@media(max-width:360px) {
  body:is(.home-next,.page-next) .wrap { width:calc(100% - 36px); }
  body:is(.home-next,.page-next) .nav { gap:8px; }
  body:is(.home-next,.page-next) .brand .logo { font-size:26px; }
  body:is(.home-next,.page-next) .nav-cta { padding-inline:10px; font-size:14px; gap:8px; }
  body:is(.home-next,.page-next) .home-hero h1 { font-size:33px; }
  body:is(.home-next,.page-next) .home-page h2 { font-size:25px; }
  body:is(.home-next,.page-next) .hero-portrait { height:235px; }
}

