@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  --navy: #243946;
  --slate: #49616f;
  --mist: #dbe4e8;
  --ice: #edf2f4;
  --paper: #f9faf9;
  --white: #ffffff;
  --ink: #172730;
  --muted: #667985;
  --warm: #d59a78;
  --warm-light: #f0d7c8;
  --line: #cbd7dc;
  --shadow: 0 24px 70px rgba(31, 57, 70, .13);
  --sidebar: 300px;
}

* { box-sizing: border-box; }
html { background: var(--navy); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font: 400 16px/1.65 Manrope, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--warm); outline-offset: 4px; }
.skip { position: fixed; top: -100px; left: 18px; z-index: 100; padding: 10px 14px; color: var(--navy); background: white; }
.skip:focus { top: 16px; }

.shell { min-height: 100vh; padding-left: var(--sidebar); background: var(--paper); }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; width: var(--sidebar); flex-direction: column; padding: 34px 30px 28px; overflow: hidden; color: white; background: var(--navy); }
.sidebar::after { position: absolute; right: -76px; bottom: -94px; width: 240px; height: 240px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: ""; }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.brand-mark { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font: 500 17px/1 Space Grotesk, sans-serif; letter-spacing: -.04em; }
.brand-copy strong { display: block; font: 500 15px/1.2 Space Grotesk, sans-serif; letter-spacing: .03em; }
.brand-copy small { color: #bdd0d9; font-size: 11px; letter-spacing: .16em; }
.sidebar-note { margin: 62px 0 20px; color: #a9c0cb; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.nav { display: grid; gap: 6px; }
.nav a { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 10px; color: #c7d6dd; font-size: 14px; transition: color .25s ease, background .25s ease, transform .25s ease; }
.nav a::after { width: 7px; height: 7px; border: 1px solid currentColor; border-radius: 50%; content: ""; transition: background .25s ease, transform .25s ease; }
.nav a:hover { color: white; background: rgba(255,255,255,.07); transform: translateX(4px); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--warm-light); }
.nav a[aria-current="page"]::after { border-color: var(--warm); background: var(--warm); transform: scale(1.35); }
.sidebar-bottom { position: relative; z-index: 1; margin-top: auto; }
.pulse { height: 54px; margin: 0 -4px 22px; color: #8eb5c4; }
.pulse svg { width: 100%; height: 100%; overflow: visible; }
.pulse path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; animation: trace 3.8s ease-in-out infinite; }
.sidebar-cta { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 10px; color: var(--navy); background: var(--warm); font-size: 13px; font-weight: 700; transition: transform .25s ease, background .25s ease; }
.sidebar-cta:hover { background: #e3ad8e; transform: translateY(-2px); }
.menu-toggle { display: none; }

.page { min-height: 100vh; animation: page-in .7s cubic-bezier(.2,.8,.2,1) both; }
.page-grid { position: relative; display: grid; background: #f0ece6; min-height: 100vh; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); }
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(42px, 7vw, 120px); }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--slate); font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.kicker::before { width: 30px; height: 2px; background: var(--warm); content: ""; }
h1, h2, h3 { margin: 0; font-family: "Space Grotesk", Manrope, sans-serif; }
h1 { max-width: 760px; font-size: clamp(3.2rem, 6vw, 6.8rem); font-weight: 400; line-height: .96; letter-spacing: -.065em; }
h1 .soft { display: block; color: var(--slate); }
.lead { max-width: 600px; margin: 30px 0 34px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 12px 19px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(36,57,70,.13); }
.btn-primary { color: white; background: var(--slate); }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { border-color: var(--line); background: white; }
.btn-ghost:hover { background: var(--ice); }
.hero-visual { position: absolute; inset: 0; overflow: hidden; }
.hero-visual img { position: absolute; right: 2%; bottom: 140px; width: 90%; height: calc(100% - 140px); object-fit: contain; object-position: right bottom; mask-image: linear-gradient(to right, transparent, black 26%); }
.hero-visual .visual-card { left: auto; width: min(38%, 610px); }
.visual-card { position: absolute; right: 26px; bottom: 28px; left: 26px; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 20px; border: 1px solid rgba(255,255,255,.55); border-radius: 12px; color: white; background: rgba(36,57,70,.78); box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.motion-orb { position: relative; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.motion-orb::before { position: absolute; inset: 9px; border-radius: 50%; background: var(--warm); content: ""; animation: breathe 3.2s ease-in-out infinite; }
.visual-card strong { display: block; font: 500 17px/1.25 Space Grotesk, sans-serif; }
.visual-card span { color: #d4e0e5; font-size: 12px; }
.focus-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; border: 1px solid var(--line); background: var(--line); }
.focus-strip div { padding: 16px; background: white; }
.focus-strip strong { display: block; color: var(--slate); font-size: 19px; }
.focus-strip span { color: var(--muted); font-size: 12px; }

.content-page { padding: clamp(48px, 7vw, 96px); }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 54px; }
.page-head h1 { max-width: 750px; font-size: clamp(3rem, 5.5vw, 5.8rem); }
.page-head p { max-width: 390px; margin: 0 0 8px; color: var(--muted); }
.about-layout { display: grid; grid-template-columns: minmax(280px,.78fr) minmax(0,1.22fr); gap: 54px; }
.portrait-panel { position: relative; min-height: 540px; overflow: hidden; border-radius: 14px; background: var(--mist); }
.portrait-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-copy { display: flex; flex-direction: column; justify-content: center; }
.about-copy .intro { margin: 0 0 22px; color: var(--ink); font: 400 28px/1.35 Space Grotesk, sans-serif; }
.about-copy p { max-width: 680px; color: var(--muted); }
.qualifications { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 34px; }
.qualifications article { padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: white; transition: transform .25s ease, border-color .25s ease; }
.qualifications article:hover { border-color: var(--warm); transform: translateY(-4px); }
.qualifications strong { display: block; margin-bottom: 7px; color: var(--slate); font: 500 22px/1 Space Grotesk, sans-serif; }
.qualifications span { color: var(--muted); font-size: 13px; }

.care-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.care-card { position: relative; min-height: 240px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.care-card:hover { border-color: #98adb7; box-shadow: var(--shadow); transform: translateY(-5px); }
.care-number { color: var(--warm); font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.care-card h2 { margin: 44px 0 12px; font-size: 28px; font-weight: 500; letter-spacing: -.03em; }
.care-card p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; }

.visit-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(360px,.9fr); gap: 20px; }
.map-card { position: relative; min-height: 560px; padding: 38px; overflow: hidden; border-radius: 14px; color: white; background: var(--slate); }
.map-card-content { position: relative; z-index: 1; max-width: 450px; }
.map-card h2 { margin: 12px 0 18px; font-size: clamp(2.2rem,4vw,4.5rem); font-weight: 400; letter-spacing: -.05em; }
.map-card p { color: #d7e2e6; }
.contact-stack { display: grid; gap: 16px; }
.contact-card { padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.contact-card span { color: var(--slate); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.contact-card h3 { margin: 12px 0 8px; font-size: 22px; font-weight: 500; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14px; }

.booking-layout { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(370px,.98fr); gap: 54px; align-items: center; min-height: calc(100vh - 192px); }
.booking-copy h1 { font-size: clamp(3.2rem, 5.5vw, 6.5rem); }
.booking-copy p { max-width: 600px; color: var(--muted); font-size: 18px; }
.booking-card { padding: 38px; border: 1px solid #b9c9d0; border-radius: 14px; background: linear-gradient(145deg, #fff, var(--ice)); box-shadow: var(--shadow); }
.booking-card .system { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--slate); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.booking-card .system::before { width: 10px; height: 10px; border-radius: 50%; background: var(--warm); content: ""; animation: breathe 2.7s ease-in-out infinite; }
.booking-card h2 { margin-bottom: 14px; font-size: 34px; font-weight: 500; letter-spacing: -.04em; }
.booking-card p { color: var(--muted); }
.booking-card .btn { width: 100%; margin-top: 18px; }
.booking-card small { display: block; margin-top: 14px; color: var(--muted); font-size: 12px; }

@keyframes page-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes trace { 0%,12% { stroke-dashoffset: 260; opacity: .15; } 50%,75% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -260; opacity: .15; } }
@keyframes breathe { 0%,100% { transform: scale(.78); opacity: .72; } 50% { transform: scale(1); opacity: 1; } }
@keyframes image-breathe { from { transform: scale(1.015); } to { transform: scale(1.075); } }
@keyframes pin-pulse { 0% { box-shadow: 0 0 0 0 rgba(213,154,120,.35); } 70%,100% { box-shadow: 0 0 0 20px rgba(213,154,120,0); } }

@media (max-width: 1100px) {
  :root { --sidebar: 250px; }
  .sidebar { padding-inline: 22px; }
  .hero-copy, .content-page { padding: 54px 40px; }
  .page-grid { grid-template-columns: minmax(0,1.05fr) minmax(330px,.95fr); }
  .qualifications { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  html { background: var(--paper); }
  body { padding-top: 76px; }
  .shell { padding-left: 0; }
  .sidebar { right: 0; bottom: auto; width: auto; height: 76px; padding: 13px 18px; overflow: visible; flex-direction: row; align-items: center; justify-content: space-between; }
  .sidebar::after, .sidebar-note, .sidebar-bottom { display: none; }
  .brand-mark { width: 44px; height: 44px; }
  .menu-toggle { position: relative; display: block; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 9px; color: white; background: transparent; }
  .menu-toggle span, .menu-toggle::before, .menu-toggle::after { position: absolute; top: 21px; left: 12px; width: 19px; height: 1px; background: currentColor; content: ""; transition: transform .25s ease, opacity .2s ease; }
  .menu-toggle::before { transform: translateY(-6px); }
  .menu-toggle::after { transform: translateY(6px); }
  .menu-toggle[aria-expanded="true"] span { opacity: 0; }
  .menu-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }
  .nav { position: absolute; top: 76px; right: 0; left: 0; display: none; gap: 4px; padding: 14px 18px 22px; color: white; background: var(--navy); box-shadow: 0 14px 30px rgba(17,34,43,.22); }
  .nav.open { display: grid; animation: page-in .25s ease both; }
  .page-grid, .about-layout, .visit-layout, .booking-layout { grid-template-columns: 1fr; }
  .hero-copy { min-height: 67vh; padding: 64px 26px 46px; }
  .hero-visual { position: relative; }
  .hero-visual img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; object-position: 95% center; mask-image: none; }
  .hero-visual .visual-card { position: relative; inset: auto; width: auto; margin: 0 16px 16px; }
  .focus-strip { grid-template-columns: 1fr; }
  .page-head { display: block; }
  .page-head p { margin-top: 24px; }
  .content-page { padding: 54px 22px; }
  .portrait-panel { min-height: 460px; }
  .qualifications { grid-template-columns: 1fr; }
  .care-grid { grid-template-columns: 1fr; }
  .booking-layout { min-height: 0; }
}

@media (max-width: 480px) {
  h1 { font-size: 3.2rem; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 9px; }
  .visual-card { right: 16px; bottom: 16px; left: 16px; }
  .care-card { min-height: 220px; }
  .booking-card { padding: 26px; }
  .map-card { min-height: 500px; padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}


.visit-layout { align-items: start; }
.map-card .btn-ghost { color: var(--navy); }
.practice-map { display: block; width: 100%; height: 360px; margin-top: 24px; border: 0; border-radius: 8px; background: var(--paper); }

.practice-enquiry { display: block; width: 100%; height: 720px; border: 0; }
