@font-face { font-family: "DM Sans"; src: url("assets/brand/DMSans-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("assets/brand/DMSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/brand/CormorantGaramond-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root { --stone: #e7e4d8; --ink: #1b1917; --sage: #94897d; --sand: #bdb7af; --etch: #777361; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body { background-color: var(--stone); background-image: radial-gradient(circle at 20% 30%, rgba(88,78,62,.04) 0 .6px, transparent .8px), radial-gradient(circle at 70% 60%, rgba(255,255,255,.42) 0 .7px, transparent .9px); background-size: 7px 7px, 11px 11px; color: var(--ink); font-family: "DM Sans", sans-serif; line-height: 1.5; }
* { scrollbar-color: var(--etch) var(--stone); scrollbar-width: thin; }
*::-webkit-scrollbar { width:10px; }
*::-webkit-scrollbar-track { background:var(--stone); }
*::-webkit-scrollbar-thumb { background:var(--etch); border:3px solid var(--stone); border-radius:10px; }
a { color: inherit; text-underline-offset: .25em; }
::selection { background: var(--ink); color: var(--stone); }
.skip-link { position: fixed; z-index: 20; left: 1rem; top: -4rem; background: var(--ink); color: white; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: absolute; z-index: 5; inset: 0 0 auto; height: 20%; display: grid; grid-template-columns: 1fr auto auto; align-items: center; padding: 0 4.8vw; border-bottom: 1px solid rgba(27,23,21,.22); }
.brand { display: inline-flex; width: max-content; text-decoration: none; }
.brand img { display:block; width:clamp(22rem,27vw,28rem); height:auto; mix-blend-mode:multiply; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.5rem,2.4vw,2.75rem); margin: 0; }
nav a, .header-action { font-size: .72rem; text-decoration: none; text-transform: uppercase; letter-spacing: .16em; }
.header-action { display: none; }
.site-header--scrolled { position: fixed; height: 4.5rem; align-items: center; column-gap: clamp(2rem,3vw,3.5rem); padding-top: .7rem; padding-bottom: .7rem; background: rgba(231,228,216,.96); box-shadow: 0 12px 28px rgba(27,23,21,.08); animation: header-settle .42s cubic-bezier(.2,.8,.2,1) both; }
.site-header--scrolled .brand img { width: 8rem; }
.site-header--scrolled .header-action { display: inline-flex; margin: 0; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.page { min-height: 100vh; }
.hero { position: relative; width: 100%; min-height: 64rem; height: 100vh; overflow: hidden; background-color:var(--stone); background-image:linear-gradient(96deg, rgba(255,255,255,.16), transparent 42%), url("assets/plates/paper-surface.png"); background-size:auto, 180px 180px; }
.hero__patient { position: absolute; left: 50.5%; top: 20%; width: 46.2%; height: 62%; object-fit: cover; object-position: 50% 28%; border:1px solid rgba(119,115,97,.55); border-radius: 14rem 0 0 0; filter: saturate(.76) contrast(.93); }
.hero__copy { position: absolute; left: 5.1%; top: 30%; width: 42%; }
.hero__copy h1, .section-title h2, .care-note h2, .location h2, .closing h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; letter-spacing: -.04em; line-height: .87; margin: 0; }
.hero__copy h1 { font-size: clamp(5rem,6.55vw,6rem); max-width: 9ch; }
.hero__copy h1 span { display:block; white-space:nowrap; }
.hero__copy p { display: none; }
.primary-action { display: inline-flex; width: 23.5rem; min-height: 4.6rem; align-items: center; justify-content: space-between; gap: 3rem; margin-top: 3rem; padding: 1.15rem 2rem; background: var(--ink); color: #fff; text-decoration: none; letter-spacing: .08em; font-size: 1rem; transition: gap .35s cubic-bezier(.2,.8,.2,1), background .2s; }
.messenger-icon { width:2rem; height:2rem; flex:0 0 auto; color:#f5f2e9; }
.action-icon { width:1.2rem; height:1.2rem; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.primary-action:hover { gap: 4rem; background: #3c3734; }
.hero__routes { position: absolute; left: 5.1%; right: 2.2%; bottom: 4.8%; display: grid; grid-template-columns: repeat(4,1fr) 1.35fr; border-bottom: 1px solid rgba(27,23,21,.3); }
.hero__routes > * { min-height: 5.3rem; margin: 0; padding: 1rem 1.6rem 1rem 0; color: #2e2a27; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; border-right: 1px solid rgba(27,23,21,.2); }
.hero__routes > * + * { padding-left: 1.6rem; }
.hero__routes a > span { display: block; color: #81786f; font-size: .62rem; margin-bottom: .65rem; }
.hero__routes p { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-right: 0; color: #a3a19c; }
.route-arrow { width:2rem; height:2rem; margin:0 .5rem 0 0; flex:0 0 auto; fill:none; stroke:var(--etch); stroke-width:1.2; stroke-linecap:square; stroke-linejoin:miter; vector-effect:non-scaling-stroke; }
.about, .services { padding: 9rem 5vw; display: grid; grid-template-columns: .9fr 1.2fr .7fr; gap: 6vw; }
.section-title h2, .location h2 { font-size: clamp(3.8rem,5.5vw,6rem); }
.about { background: #282523; color: #ece8df; grid-template-columns:.8fr 1.1fr 1fr; align-items:start; }
.about__story { max-width: 44rem; font-family: "DM Sans", sans-serif; font-size: clamp(1.3rem,1.8vw,2rem); line-height: 1.45; }
.about__story p:first-child { margin-top: 0; }
.about__photo { margin:0; align-self:stretch; min-height:32rem; overflow:hidden; border-radius:10rem 0 0; }
.about__photo img { width:100%; height:100%; min-height:32rem; object-fit:cover; object-position:52% 50%; filter:saturate(.72) contrast(.92); }
.services { grid-template-columns: .8fr 1.8fr; background: #f3f0e8; }
.service-groups { border-top: 1px solid var(--ink); }
.service-groups article { display: grid; grid-template-columns: .65fr 1.35fr; gap: 2rem; padding: 2.2rem 0; border-bottom: 1px solid rgba(27,23,21,.35); scroll-margin-top: 3rem; }
.service-groups h3 { margin: 0; font-weight: 500; font-size: 1rem; text-transform: uppercase; letter-spacing: .13em; }
.service-groups ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 2rem; color: #5c5550; }
.service-groups li { margin-bottom: .6rem; break-inside: avoid; }
.care-note { min-height: 75vh; display:grid; grid-template-columns:1fr 1fr; background: #aeb8b2; color: #202421; }
.care-note figure { margin:0; min-height:42rem; overflow:hidden; }
.care-note figure img { width:100%; height:100%; object-fit:cover; object-position:52% center; filter:saturate(.72) contrast(.92); }
.care-note__content { padding:8rem 7vw; display:flex; flex-direction:column; justify-content:center; }
.care-note h2 { font-size: clamp(4rem,8vw,6rem); }
.care-note__body { max-width: 32rem; margin: 2.5rem 0 0; font-size: clamp(1.2rem,1.6vw,1.7rem); }
.location { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 48rem; }
.location__photo { margin:0; overflow:hidden; min-height:48rem; }
.location__photo img { width:100%; height:100%; min-height:48rem; object-fit:cover; object-position:50% center; filter:saturate(.72) contrast(.92); }
.location__content { padding: 8rem 6vw; background: var(--stone); }
address { margin: 3rem 0; font-style: normal; font-size: 1.15rem; line-height: 1.9; color: #5c5550; }
.location__content a { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; }
.text-action { display:inline-flex; align-items:center; gap:.5rem; }
.closing { min-height: 82vh; padding: 8rem 6vw; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 4rem; background: #1b1918; color: #f3f0e8; }
.closing h2 { font-size: clamp(5rem,8vw,6rem); margin: 0; }
.closing__actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 1rem; }
.primary-action--light { margin-top: 0; background: #f3f0e8; color: #1b1918; }
.social-action { display:inline-flex; width:23.5rem; min-height:4.6rem; align-items:center; justify-content:space-between; gap:3rem; padding:1.15rem 2rem; border: 1px solid rgba(243,240,232,.55); color:#f3f0e8; text-decoration:none; letter-spacing:.08em; font-size:1rem; transition:gap .35s cubic-bezier(.2,.8,.2,1),background .2s,color .2s; }
.social-action:hover { gap:4rem; background:#f3f0e8; color:#1b1918; }
footer { padding: 2rem 5vw; background:#1b1918; color:#aaa39c; border-top:1px solid #3d3936; display:flex; justify-content:space-between; font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; }
footer a { text-decoration:none; }
@keyframes header-settle { from { opacity: .6; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 800px) {
  .site-header { height: 6.8rem; grid-template-columns: 1fr auto; padding: 1.1rem 1.2rem; }
  .brand img { width: 7.2rem; }
  .site-header nav { display: none; }
  .header-action { display:inline-flex; margin-top: 0; }
  .hero { min-height: 0; height: auto; padding: 7.8rem 1.2rem 4rem; display: flex; flex-direction: column; overflow: visible; }
  .hero__patient { position: static; order: 2; width: 100%; height: auto; margin-top: 2rem; object-fit: contain; object-position: center; border-radius: 7rem 0 0 0; }
  .hero__copy { position: static; order: 1; width: auto; margin-top: 1.5rem; }
  .hero__copy h1 { font-size: clamp(3.25rem,14.4vw,4rem); max-width: 7.6ch; line-height: .84; }
  .hero__copy p { display: none; }
  .primary-action { width: 100%; min-height:3.5rem; margin-top: 1rem; padding:.75rem 1rem; gap: 1.5rem; font-size:.72rem; }
  .messenger-icon { width:1.6rem; height:1.6rem; }
  .hero__routes { position: static; order: 3; margin-top: 2.5rem; display:grid; grid-template-columns:1fr 1fr; }
  .hero__routes > * { min-height:3.4rem; padding:.55rem 0; font-size:.54rem; }
  .hero__routes > :nth-child(even) { padding-left:.75rem; }
  .hero__routes a > span { margin-bottom:.2rem; font-size:.5rem; }
  .hero__routes p { grid-column:1 / -1; min-height:3rem; border-top:1px solid rgba(27,23,21,.2); }
  .route-arrow { width:1.2rem; height:1.2rem; margin-right:.3rem; }
  .about, .services { padding: 5rem 1.2rem; grid-template-columns: 1fr; gap: 3rem; }
  .section-title h2, .location h2 { font-size: 4rem; }
  .about__story { font-size: 1.35rem; }
  .about__photo { min-height:26rem; border-radius:7rem 0 0; }
  .about__photo img { min-height:26rem; }
  .services { gap: 3rem; }
  .service-groups article { grid-template-columns: 1fr; gap: 1rem; }
  .service-groups ul { columns: 1; }
  .care-note { min-height: 70vh; grid-template-columns:1fr; }
  .care-note figure { min-height:25rem; }
  .care-note__content { padding:4.5rem 1.2rem 5rem; }
  .care-note h2 { font-size: 5rem; }
  .care-note__body { margin-left: 0; }
  .location { grid-template-columns: 1fr; }
  .location__photo, .location__photo img { min-height:28rem; }
  .location__content { padding: 5rem 1.2rem; }
  .closing { min-height: 72vh; padding: 5rem 1.2rem; display: flex; flex-direction: column; justify-content: center; }
  .closing h2 { font-size: 6rem; margin-bottom: 4rem; }
  .closing__actions { align-self: stretch; justify-content: flex-start; flex-direction: column; }
  .social-action { width:100%; min-height:3.5rem; padding:.75rem 1rem; gap:1.5rem; font-size:.72rem; }
  footer { padding: 1.5rem 1.2rem; flex-direction: column; gap: .8rem; }
}

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