.area-hero { background-image:linear-gradient(90deg,#000a,#0008),url('../services/sports-orthopedic-physical-therapy/step-up-assessment.jpg'); background-position:center 38% }
.area-hero h1 { overflow-wrap:break-word }
.area-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(36px,7vw,96px); align-items:start; padding-block:clamp(56px,7vw,96px) }
.area-intro p { max-width:66ch }
.area-intro p a,.closing p a { text-decoration:underline; text-underline-offset:.2em }
.visit-box,.service-option { border:1px solid #ffffff28; border-radius:16px }
.visit-box { padding:clamp(24px,3vw,42px); background:#101010 }
.visit-box>a,.resource,.service-option>span { color:var(--accent); font-weight:600 }
.area-services { padding-block:20px 60px }
.directory-header { text-align:center }
.directory-header h2 { text-wrap:balance }
.directory-header h2 em { display:inline }
.directory-lead { margin:12px auto 0; font-size:clamp(16px,1.4vw,19px); text-wrap:balance }
.town-search { width:min(100%,46rem); margin:clamp(22px,3vw,36px) auto 0; text-align:left }
.town-search label { display:block; margin-bottom:8px; font-size:14px; font-weight:600 }
.town-search input {
  display:block;
  width:100%;
  min-height:54px;
  padding:12px 16px;
  border:1px solid #706253;
  border-radius:10px;
  background:#14110e;
  color:white;
  font:inherit;
}
.town-search input::placeholder { color:#a5a09a }
.town-search input:focus-visible { outline:2px solid var(--accent); outline-offset:2px }
.town-search p { margin:7px 0 0; font-size:14px }
.county-nav {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  width:min(100%,60rem);
  margin:clamp(20px,2.5vw,30px) auto 0;
}
.county-nav > span {
  display:flex;
  align-items:center;
  gap:12px;
  grid-column:1 / -1;
  margin-bottom:4px;
  font-size:14px;
  font-weight:600;
}
.county-nav > span::before,.county-nav > span::after { content:""; flex:1; height:1px; background:#39322c }
.directory-coverage { max-width:78ch; margin:18px auto 0; font-size:14px; text-wrap:pretty }
.nearby { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px }
.county-nav a,.nearby a { border:1px solid #444; border-radius:999px; font-size:14px; padding:6px 14px }
.county-nav a { display:grid; place-items:center; min-height:44px; padding:8px 4px; background:#11100f }
.county-group,.directory { scroll-margin-top:120px }
.town-list,.service-options { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 24px; margin-top:16px }
.directory { padding-block:clamp(44px,5vw,72px) }
@media(min-width:680px){ .county-nav { grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px } }
.county-group { padding-top:clamp(30px,4vw,52px) }
.county-group h3 { display:flex; align-items:center; gap:16px }
.county-group h3::after { content:""; flex:1; height:1px; background:linear-gradient(to right,#554637,transparent) }
.town-list { gap:10px }
.town-list a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:56px;
  padding:12px 16px;
  border:1px solid #38342f;
  border-radius:12px;
  background:linear-gradient(115deg,#171512,#101010 75%);
  color:#f5f1eb;
  font-weight:600;
}
.town-list a:focus-visible,.county-nav a:focus-visible { outline:2px solid var(--accent); outline-offset:3px }
@media(hover:hover){
  .town-list a:hover { border-color:var(--accent); background:#211c16 }
}
@media(prefers-reduced-motion:no-preference){
  .town-list a { transition:border-color .18s, background-color .18s, color .18s, transform .18s }
}
.service-option { display:flex; flex-direction:column; align-items:start; padding:24px; background:#0c0c0c }
.service-option:hover,.county-nav a:hover,.nearby a:hover { border-color:var(--accent) }
.service-option>span { margin-top:auto }
.resource { display:inline-block; margin-top:16px }
.area-services .service-options { margin-top:32px }
.directory [hidden] { display:none }
@media(max-width:767px){ .area-intro,.service-options {grid-template-columns:1fr} .town-list {grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:480px){ .town-list {grid-template-columns:1fr} }

.visit-map,.area-guide { padding-block:clamp(48px,6vw,84px); border-top:1px solid #303030 }
.visit-map { display:grid; grid-template-columns:minmax(0,4fr) minmax(0,5fr); gap:clamp(32px,6vw,84px); align-items:center }
.visit-map p { max-width:60ch; margin:1em 0 }
.visit-map p a { text-decoration:underline; text-underline-offset:.2em }
.visit-map iframe { width:100%; height:clamp(320px,32vw,470px); border:1px solid #45403a; border-radius:16px; background:#171717 }
.area-guide {
  background:radial-gradient(ellipse at 50% 0%, rgb(218 167 111 / 9%), transparent 75%), #080808;
}
.area-guide-title { text-align:center }
.area-guide-list {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-auto-rows:1fr;
  gap:16px;
  margin-top:32px;
}
.area-guide-list > article { grid-column:span 2 }
@media(min-width:1040px){
  .area-guide-list > article:nth-child(4) { grid-column:2 / span 2 }
}
@media(min-width:700px) and (max-width:1039px){
  .area-guide-list { grid-template-columns:repeat(4,minmax(0,1fr)) }
  .area-guide-list > article:last-child { grid-column:2 / span 2 }
}
@media(max-width:699px){
  .area-guide-list { grid-template-columns:minmax(0,1fr); grid-auto-rows:auto }
  .area-guide-list > article { grid-column:auto }
}
.area-guide-list article { padding:clamp(20px,2.5vw,32px); border:1px solid #333; background:#0c0c0c; border-radius:14px }
.area-guide-list article:focus-within,.area-guide-list article:hover { border-color:var(--accent) }
.area-guide-list h3 { margin:0 0 12px }
.area-guide-list h3 a:hover { text-decoration:underline }
.area-guide-list p { margin:0 }
@media(max-width:767px){ .visit-map { grid-template-columns:1fr } .visit-map iframe { height:310px } }

.town-goal { margin:24px 0; padding-left:20px; border-left:2px solid var(--accent) }
.town-goal h3,.town-session-steps h3 { margin:0 0 10px }
.town-goal p,.town-session-steps p { margin:0 }
.town-service-intro { max-width:70ch; margin:18px 0 }
.town-session { padding-block:clamp(46px,7vw,90px) }
.town-session-steps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:26px 0 36px }
.town-session-steps article { padding:clamp(20px,2.5vw,32px); background:#11100f; border:1px solid #38332e; border-radius:16px }
@media(max-width:767px){ .town-session-steps { grid-template-columns:1fr } }

/* Area guides */
.town-intro { gap:clamp(28px,4vw,64px) }
.town-intro h2 { font-size:clamp(40px,4.2vw,60px); text-wrap:balance }
.town-intro-media { align-self:center; margin:0; overflow:hidden; border:1px solid #332c24; border-radius:16px }
.town-intro-media img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover }
@media(max-width:899px){
  .town-intro { grid-template-columns:minmax(0,1fr) }
  .town-intro-media img { aspect-ratio:16/10 }
}
.local-stories { padding-block:clamp(30px,5vw,78px) }
.local-stories-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:24px }
.local-story { display:grid; position:relative; overflow:hidden; border-radius:14px; background:#141312; isolation:isolate }
.local-story img { display:block; width:100%; height:auto; aspect-ratio:1.45; object-fit:cover }
.local-story strong { position:absolute; inset:auto 0 0; padding:40px 18px 15px; color:white; background:linear-gradient(transparent,#080808ef); font-size:1.2rem }
.local-story:hover strong,.local-story:focus-visible strong { color:var(--accent) }
.local-story:focus-visible { outline:2px solid var(--accent); outline-offset:3px }
@media(max-width:767px){ .local-stories-grid { grid-template-columns:1fr } .local-story img { aspect-ratio:2.4 } }

@media(min-width:768px){ .town-session-steps { grid-template-columns:repeat(3,minmax(0,1fr)) } }

.town-service-band {
  padding-block:clamp(48px,6vw,88px);
  background:linear-gradient(90deg,#000e,#000a),
    url('../services/personal-training/hero.webp') center 44% / cover no-repeat #0c0c0c;
}

.location-banner { position:relative; isolation:isolate; display:grid; place-items:center; min-height:max(60vh,390px); padding:120px 20px 60px; text-align:center; background:#111 }
.location-banner > img,.location-banner::before { position:absolute; inset:0; width:100%; height:100% }
.location-banner > img { object-fit:cover; object-position:var(--hero-photo-position,center); z-index:-2 }
.location-banner::before {
  content:"";
  background:linear-gradient(180deg,#0007,transparent 25%,transparent 75%,#000),
    linear-gradient(90deg,#0006,#0008 50%,#0002 82%);
  z-index:-1;
}
.location-banner-copy { width:100%; max-width:75rem }
.location-banner h1 { font-size:48px; line-height:1; overflow-wrap:break-word; text-wrap:balance }
.location-banner p { max-width:36rem; margin:20px auto 0; color:#eee; font-size:16px; line-height:1.625; text-wrap:pretty }
@media(min-width:640px){ .location-banner h1 { font-size:64px } .location-banner p { font-size:18px } }
@media(min-width:768px){
  .location-banner { min-height:max(50vh,420px); padding:120px 20px 40px }
  .location-banner h1 { font-size:96px }
  .town-hero h1 { font-size:clamp(56px,6.2vw,96px) }
  .location-banner p { font-size:20px }
}
@media(prefers-reduced-motion:no-preference){ .location-banner-copy { animation:rise .8s ease-out both } }

.town-hero[data-focus="sports-performance-training"] { --hero-photo-position:center 56% }
.town-hero[data-focus="return-to-run-return-to-play"] { --hero-photo-position:center 61% }
.location-booking {
  background:linear-gradient(90deg,#0006,#0009 50%,#0002),
    url('./areas-booking.webp') center / cover no-repeat #111;
}
.location-booking p { text-wrap:balance }
.location-booking p a[href^="tel:"] { white-space:nowrap }
@media(max-width:767px){
  .directory-hero,.town-hero[data-focus="sports-orthopedic-physical-therapy"] { --hero-photo-position:78% center }
  .location-banner::before { background:linear-gradient(180deg,#0009,#0008 58%,#000) }
  .location-booking {
    background:linear-gradient(#0009,#000b),
      url('./areas-booking.webp') 78% center / cover no-repeat #111;
  }
}

.location-actions { display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; margin-top:24px }
.location-actions>a:last-child,.care-pair a { color:var(--accent); text-decoration:underline; text-underline-offset:.2em }
.location-care { padding-block:clamp(40px,5vw,76px) }
.care-steps,.care-pair { display:grid; gap:16px; margin:28px 0 0; padding:0 }
.care-steps { grid-template-columns:repeat(4,minmax(0,1fr)); list-style:none; counter-reset:careStep }
.care-steps>li,.care-pair article { padding:clamp(18px,2vw,28px); border:1px solid #38332e; border-radius:14px; background:#11100f }
.care-steps>li { counter-increment:careStep }
.care-steps>li::before { content:counter(careStep,decimal-leading-zero); position:static; display:block; color:var(--accent); margin:0 0 18px; font:600 16px/1 sans-serif }
.care-pair { grid-template-columns:repeat(2,minmax(0,1fr)) }
@media(max-width:960px){.care-steps {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.care-steps,.care-pair {grid-template-columns:1fr}}

@media (hover:hover) and (pointer:fine) {
  :is(.care-steps > li, .care-pair > article, .town-service-band .service-option):hover { background-color:#1b1713; border-color:var(--accent); box-shadow:0 8px 24px #0004 }
}
:is(.care-steps > li, .care-pair > article, .town-service-band .service-option):focus-within { border-color:var(--accent) }
.town-service-band .service-option:focus-visible,.care-pair a:focus-visible { outline:2px solid var(--accent); outline-offset:4px }
@media (prefers-reduced-motion:no-preference) {
  :is(.care-steps > li, .care-pair > article, .town-service-band .service-option) { transition:transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease }
  :is(.care-steps > li, .care-pair > article, .town-service-band .service-option).card-entered { animation:town-card-enter .45s ease-out backwards }
  :is(.care-steps > li, .care-pair > article, .town-service-band .service-option).card-entered:nth-child(2) { animation-delay:45ms }
  :is(.care-steps > li, .care-pair > article, .town-service-band .service-option).card-entered:nth-child(3) { animation-delay:90ms }
  :is(.care-steps > li, .care-pair > article, .town-service-band .service-option).card-entered:nth-child(4) { animation-delay:135ms }
  :is(.care-steps > li, .care-pair > article, .town-service-band .service-option):focus-within { animation:none }
  @keyframes town-card-enter { from { opacity:0; translate:0 12px } to { opacity:1; translate:0 0 } }
}
@media (prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine) {
  :is(.care-steps > li, .care-pair > article, .town-service-band .service-option):hover { transform:translateY(-3px) }
}

.care-faq { display:grid; grid-template-columns:minmax(0,35fr) minmax(0,65fr); gap:0 64px; align-items:start; padding-block:96px }
.care-faq-heading { grid-column:1; grid-row:1 }
.care-faq-heading h2 { font-size:60px; line-height:1 }
.care-faq-heading p { max-width:24rem; margin:20px 0; font-size:16px; line-height:1.625 }
.care-faq-items { grid-column:2; grid-row:1 / span 2; border-bottom:1px solid #383838 }
.care-faq-items details { padding:0; border:0; border-top:1px solid #383838 }
.care-faq-items summary { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:24px 0; font-size:15px; font-weight:500; letter-spacing:.025em; text-transform:uppercase; list-style:none }
.care-faq-items summary::-webkit-details-marker { display:none }
.care-faq-icon { width:20px; height:20px; flex:none; position:relative; color:#aaa }
.care-faq-icon::before,.care-faq-icon::after { content:""; position:absolute; inset:9px 3px auto; height:2px; background:currentColor }
.care-faq-icon::after { transform:rotate(90deg) }
.care-faq-items details[open] .care-faq-icon::after { display:none }
.care-faq-items p { margin:0; padding:0 48px 24px 0; font-size:14px; line-height:1.625 }
.care-faq-contact { grid-column:1; grid-row:2; justify-self:start; border-radius:999px; background:var(--accent); color:#111; padding:14px 26px; font-size:14px; font-weight:600 }
.care-faq-contact:hover { color:#111; filter:brightness(1.1) }
@media(max-width:767px){
 .care-faq { display:flex; flex-direction:column; gap:28px; padding-block:64px }
 .care-faq-heading h2 { font-size:clamp(40px,8vw,52px) }
 .care-faq-heading p { margin-bottom:0 }
 .care-faq-items { width:100% }
 .care-faq-items summary { padding:20px 0; font-size:14px }
 .care-faq-items p { padding-right:16px }
}

.home-services { padding:96px 64px; background:#000 }
.home-services-intro { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:48px }
.home-services h2 { font-size:clamp(32px,4vw,52px); line-height:1.05; scroll-margin-top:130px }
.home-services-intro p { max-width:36rem; margin:20px 0 0 }
.home-services-all,.service-book { display:inline-flex; align-items:center; gap:10px; border-radius:999px; padding:10px 22px; font-size:14px; width:fit-content }
.home-services-all { border:1px solid #777; white-space:nowrap }
.home-service-track { display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none }
.home-service-track::-webkit-scrollbar { display:none }
.home-service-card { flex:0 0 calc((100% - 40px)/3); min-width:0; min-height:440px; display:flex; align-items:flex-end; position:relative; isolation:isolate; overflow:hidden; border-radius:16px; scroll-snap-align:start }
.home-service-card img,.home-service-card::before { position:absolute; inset:0; width:100%; height:100% }
.home-service-card img { object-fit:cover; z-index:-2 }
.home-service-card::before { content:""; z-index:-1; background:linear-gradient(to top,#000e,#0008 55%,transparent) }
.home-service-card>div { padding:28px }
.home-service-card h3 { font-size:24px; letter-spacing:.025em }
.home-service-card ul { display:grid; gap:8px; list-style:none; margin:16px 0 24px; padding:0 }
.home-service-card li { display:flex; align-items:center; gap:8px; margin:0; padding:0; font:400 14px/1.4 Inter,sans-serif; border:0 }
.home-service-card li::before { content:"\2713"; position:static; display:grid; place-items:center; width:20px; height:20px; flex:none; margin:0; border-radius:50%; background:var(--accent); color:#111; font:700 13px/1 sans-serif }
.service-book { background:var(--accent); color:#111 }
.service-book:hover { color:#111; filter:brightness(1.12) }
.service-controls { display:flex; align-items:center; justify-content:space-between; margin-top:32px }
.service-controls[hidden] { display:none }
.service-controls button { cursor:pointer; color:white; background:transparent }
.service-controls .service-prev,.service-controls .service-next { border:1px solid #666; width:40px; height:40px; border-radius:50%; font-size:22px }
.service-controls button:disabled { opacity:.3; cursor:default }
.service-controls .service-next { margin-left:10px }
.service-dots { display:flex; align-items:center; gap:6px }
.service-dots button { padding:8px 0; border:0 }
.service-dots button::before { display:block; content:""; width:9px; height:6px; background:#777; border-radius:6px }
.service-dots button[aria-current="true"]::before { width:32px; background:var(--accent) }
@media(hover:hover) and (prefers-reduced-motion:no-preference){.home-service-card img {transition:transform .5s ease} .home-service-card:hover img {transform:scale(1.08)}}
@media(max-width:767px){.home-services {padding:64px 20px}.home-services-intro {align-items:flex-start;flex-direction:column;margin-bottom:40px}.home-service-card {flex-basis:60%}.home-service-track {gap:16px}}
@media(max-width:639px){.home-service-card {flex-basis:85%}}

.facility-intro { align-items:center; scroll-margin-top:120px }
.facility-photo { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; border-radius:16px }
@media(max-width:767px){ .facility-photo { aspect-ratio:16/9 } }

.client-reviews {scroll-margin-top:8rem}
.review-heading {display:flex;align-items:end;justify-content:space-between;gap:1.5rem;margin-bottom:2rem}
.review-heading h2,.review-heading .pill {margin-bottom:0}
.client-review-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.client-review {margin:0;padding:clamp(1.4rem,3vw,2.6rem);display:flex;flex-direction:column;align-items:flex-start;gap:1.3rem;border:1px solid #39322c;border-radius:1rem;background:radial-gradient(ellipse at top right,#251e16,transparent 70%),#100f0e}
.review-stars {color:var(--accent);letter-spacing:.16em}
.client-review blockquote {margin:0;padding:0;color:#faf7f2;font-size:clamp(1.15rem,1.6vw,1.55rem);line-height:1.45}
.client-review figcaption {margin-top:auto;display:flex;align-items:center;gap:.75rem;padding-top:1.25rem;border-top:1px solid #38332e;width:100%}
.review-initials {display:grid;place-items:center;width:2.7rem;height:2.7rem;border-radius:50%;background:#31271d;color:var(--accent);font-weight:700}
.client-review small {display:block;color:#bbb3aa;margin-top:.15rem}
.review-heading .pill:focus-visible {outline:2px solid white;outline-offset:4px}
@media(max-width:760px){.client-review-grid {grid-template-columns:1fr}.review-heading {align-items:flex-start;flex-direction:column}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .client-review {transition:transform .25s ease,border-color .25s ease}
  .client-review:hover {transform:translateY(-5px);border-color:var(--accent)}
}
@supports (animation-timeline:view()){
  @media(prefers-reduced-motion:no-preference){
    .client-review {animation:client-review-enter linear both;animation-timeline:view();animation-range:entry 0% entry 75%}
    @keyframes client-review-enter {from {opacity:.4;translate:0 16px} to {opacity:1;translate:0 0}}
  }
}
