/* ========================================================================
   Galaxy Physiotherapy Solutions — Design System
   Tokens derived from brand palette + logo
   ======================================================================== */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

*, *::before, *::after {
  box-sizing: border-box;
}
:root{
  /* --- Galaxy brand palette (official) --- */
  --red:      #FF0000;
  --red-dark: #D90000;
  --charcoal: #1D1D1D;
  --sage:     #BBD5DA;
  --ice:      #DFF1F1;
  --cream:    #FEFEF2;
  --gray:     #E8EBED;

  /* semantic aliases */
  --ocean:  var(--charcoal);
  --sea:    var(--sage);
  --mist:   var(--ice);
  --peach:  var(--red);
  --ivory:  var(--cream);
  --sand:   var(--sage);
  --rust:   var(--red);
  --umber:  #444444;
  --wine:   var(--charcoal);
  --ink:    var(--charcoal);

  --rust-dark: var(--red-dark);
  --sand-deep: #9fb8be;
  --cream-dim: var(--ice);
  --ink-soft:  #333333;
  --line-on-light: rgba(29,29,29,0.12);
  --line-on-dark:  rgba(254,254,242,0.18);

  /* --- Type: 4 brand fonts only --- */
  --font-display: 'Inria Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Century Gothic', 'CenturyGothic', 'AppleGothic', 'Trebuchet MS', sans-serif;
  --font-accent: 'Quicksand', sans-serif;
  --font-condensed: 'Gabriel Sans Cd Trial', 'Gabriel Sans Cond-Trial', 'Century Gothic', sans-serif;
  --font-mono: var(--font-condensed);

  /* --- Layout --- */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;

  --ease: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html,body{ margin:0; padding:0; }

body{
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Type utilities --- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content:'';
  width: 22px; height: 1px;
  background: currentColor;
  display:inline-block;
}
.eyebrow.on-dark{ color: var(--sage); }
.eyebrow.on-light{ color: var(--red); }

.on-light{ color: var(--charcoal); }
.on-light .lede, .on-light.lede{ color: var(--ink-soft); }

/* Light hero — dark readable text (overrides .on-dark) */
.hero-new,
.hero-new .on-dark,
.hero-new h1,
.hero-new h2{
  color: var(--charcoal);
}
.hero-new .lede,
.hero-new .on-dark.lede,
.hero-new .lede.on-dark{
  color: var(--ink-soft);
}
.hero-new .eyebrow,
.hero-new .eyebrow.on-dark{
  color: var(--umber);
}
.hero-new .tagline{ color: var(--red); }
.hero-new h1 em{ color: var(--red); }

h1, .h1{
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
}
h2, .h2{
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  line-height: 1.12;
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
}
h3, .h3{
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.25;
}
.tagline{
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}
.lede{
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 54ch;
}
.body-text{ color: var(--ink-soft); max-width: 62ch; }
.body-text + .body-text{ margin-top: 1em; }

.on-dark{ color: var(--cream); }
.on-dark .lede, .on-dark.lede{ color: var(--sage); }
.on-dark .body-text{ color: #d7d3c4; }

/* ========================================================================
   Top bar
   ======================================================================== */
.top-bar{
  background: var(--charcoal);
  color: var(--cream);
  font-size: 13px;
  padding: 9px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  transition: transform .35s var(--ease);
  border-bottom: 1px solid rgba(250,249,240,.08);
}
.top-bar.is-hidden{ transform: translateY(-100%); }
.top-bar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage);
  transition: color .25s;
}
.top-bar a:hover{ color: var(--cream); }
.top-bar svg{ width: 14px; height: 14px; stroke: currentColor; fill: none; }

/* ========================================================================
   Header / Nav
   ======================================================================== */
.site-header{
  position: fixed;
  top: 38px; left:0; right:0;
  z-index: 100;
  padding: 12px 0 16px;
  transition: background var(--ease) .35s, padding var(--ease) .35s, border-color var(--ease) .35s;
  border-bottom: 1px solid transparent;
  overflow: visible;
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
  overflow: visible;
}
@media (min-width: 981px){
  .site-header{
    padding: 14px 0;
  }
  .site-header .container{
    display: grid;
    grid-template-columns: minmax(0, auto) 1fr minmax(0, auto);
    align-items: center;
    gap: 24px 32px;
  }
  .site-header .nav-links{
    justify-content: center;
    justify-self: center;
    gap: 28px;
  }
  .site-header .nav-cta{
    justify-self: end;
  }
}
.site-header.is-dark{ /* sits on dark hero */
  background: transparent;
}
.site-header.is-dark .brand img{
  filter: none;
  mix-blend-mode: normal;
}
.site-header.is-scrolled{
  top: 0;
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom-color: var(--line-on-dark);
}
.site-header.is-dark.is-scrolled{
  background: rgba(26,26,26,0.97);
}
.site-header.is-light{
  background: transparent;
}
.site-header.is-light .brand .word,
.site-header.is-light .brand .word small{ color: var(--charcoal); }
.site-header.is-light .brand .word small{ color: var(--umber); }
.site-header.is-light .brand img{
  filter: none;
}
.site-header.is-light .nav-links a{
  color: var(--charcoal);
  opacity: 0.88;
}
.site-header.is-light .nav-links a:hover,
.site-header.is-light .nav-links a.active{
  color: var(--charcoal);
  opacity: 1;
}
.site-header.is-light .nav-links a.active::after{ background: var(--red); }
.site-header.is-light .nav-toggle span{ background: var(--charcoal); }
.site-header.is-light .btn-ghost-dark{
  border-color: rgba(26,26,26,0.35);
  color: var(--charcoal);
}
.site-header.is-light .btn-ghost-dark:hover{
  border-color: var(--charcoal);
  background: rgba(26,26,26,0.06);
}
.site-header.is-light.is-scrolled{
  background: rgba(250,249,240,0.98);
  border-bottom-color: var(--line-on-light);
  box-shadow: 0 4px 24px -8px rgba(26,26,26,0.12);
}
.site-header.is-light.is-scrolled .brand .word,
.site-header.is-light.is-scrolled .nav-links a{ color: var(--charcoal); }
.site-header.is-light.is-scrolled .brand .word small{ color: var(--umber); }
.brand{ display:flex; align-items:center; gap:12px; min-width: 0; }
.brand--assets{
  text-decoration: none;
  flex: 0 0 auto;
  max-width: min(280px, 46vw);
}
.brand-lockup{
  display: none;
  align-items: flex-end;
  gap: 8px;
  min-width: 0;
  overflow: visible;
}
.site-header.is-light .brand-lockup--dark{ display: flex; }
.site-header.is-dark .brand-lockup--light{ display: flex; }
.brand-logo-slot{
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  flex-shrink: 0;
  overflow: visible;
}
.brand-logo-slot--icon{
  width: 50px;
  height: 58px;
}
.brand-logo-slot--name{
  height: 42px;
  max-width: 176px;
  min-width: 0;
  flex-shrink: 1;
}
.brand-part{
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
}
.brand-logo-slot--name .brand-part{
  object-position: left bottom;
}
.site-header .brand{
  background: transparent;
  align-self: center;
  overflow: visible;
}
.site-header .brand--assets{
  overflow: visible;
}
@media (min-width: 981px){
  .brand--assets{
    max-width: 288px;
  }
  .site-header .brand-lockup{
    gap: 10px;
  }
  .brand-logo-slot--icon{
    width: 52px;
    height: 60px;
  }
  .brand-logo-slot--name{
    height: 44px;
    max-width: 184px;
  }
}
@media (min-width: 641px) and (max-width: 980px){
  .brand-logo-slot--icon{
    width: 51px;
    height: 59px;
  }
  .brand-logo-slot--name{
    height: 43px;
    max-width: 172px;
  }
}
.footer-brand-mark.brand--assets-footer .brand-lockup--light{
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  overflow: visible;
}
.footer-brand-mark .brand-logo-slot--icon{
  width: clamp(52px, 7vw, 62px);
  height: clamp(58px, 8vw, 70px);
}
.footer-brand-mark .brand-logo-slot--name{
  height: clamp(46px, 6.5vw, 56px);
  max-width: min(272px, 85vw);
}
@media (max-width: 980px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn{ display:none; }
  .brand--assets{ max-width: calc(100vw - 96px); }
}
@media (max-width: 640px){
  .site-header{
    padding: 10px 0;
  }
  .site-header .container{
    align-items: center;
  }
  .brand--assets{
    max-width: calc(100vw - 72px);
  }
  .brand-lockup{
    gap: 5px;
  }
  .brand-logo-slot--icon{
    width: 48px;
    height: 56px;
  }
  .brand-logo-slot--name{
    height: 40px;
    max-width: calc(100vw - 132px);
  }
  .hero-top .hero-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .hero-top .hero-actions .btn{
    width: 100%;
    justify-content: center;
  }
  .floating-call{
    bottom: 22px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
}
.brand .word{
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}
.brand .word small{
  display: block;
  font-size: .55rem;
  letter-spacing: .18em;
  color: var(--sand);
  margin-top: 3px;
  font-weight: 500;
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 34px;
}
.nav-links a{
  font-family: var(--font-condensed);
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--sand);
  position:relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav-links a:hover{ color: var(--cream); }
.nav-links a.active{ color: var(--cream); }
.nav-links a.active::after{
  content:'';
  position:absolute; left:0; right:0; bottom:-2px;
  height:1px; background: var(--rust);
}

/* Platforms dropdown nav */
.nav-dropdown{
  position: relative;
}
.nav-dropdown-trigger{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-dropdown-trigger::after{
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform .25s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-trigger::after{
  transform: rotate(180deg);
}
.nav-dropdown-menu{
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: rgba(26,26,26,0.98);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-m);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.45);
  z-index: 120;
}
.nav-dropdown:hover .nav-dropdown-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a{
  display: block;
  padding: 11px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
  color: var(--sand);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-dropdown-menu a::after{ display: none; }
.nav-dropdown-menu a:hover{
  background: rgba(254,254,242,0.06);
  color: var(--cream);
}
.site-header.is-light .nav-dropdown-menu{
  background: rgba(254,254,242,0.98);
  border-color: var(--line-on-light);
  box-shadow: 0 16px 40px -12px rgba(26,26,26,0.18);
}
.site-header.is-light .nav-dropdown-menu a{
  color: var(--charcoal);
}
.site-header.is-light .nav-dropdown-menu a:hover{
  background: var(--ice);
  color: var(--charcoal);
}

.nav-cta{
  display:flex; align-items:center; gap:16px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight:600;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--red);
  color: #ffffff;
}
.btn-primary:hover{ background: var(--red-dark); color: #ffffff; }
.btn-outline-dark{
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-outline-dark:hover{ background: var(--charcoal); color: var(--cream); }
.btn-ghost-dark{
  border-color: var(--line-on-dark);
  color: var(--cream);
}
.btn-ghost-dark:hover{ border-color: var(--cream); }
.btn-ghost-light{
  border-color: var(--line-on-light);
  color: var(--ink);
}
.btn-ghost-light:hover{ border-color: var(--ink); }
.btn-outline-cream{
  border-color: rgba(254,254,242,0.5);
  color: var(--cream);
}
.btn-outline-cream:hover{ background: var(--cream); color: var(--ink); }
.btn-block{ width:100%; }

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none; border:none; padding:6px;
}
.nav-toggle span{
  width: 24px; height: 1.5px; background: var(--cream); display:block;
}

/* ========================================================================
   Buttons secondary sizes / mobile menu
   ======================================================================== */
.mobile-menu{
  position: fixed; inset:0;
  background: var(--ink);
  z-index: 200;
  display:flex; flex-direction:column;
  align-items: stretch;
  padding: 100px var(--gutter) 40px;
  transform: translateY(-100%);
  transition: transform .45s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open{ transform: translateY(0); }
.mobile-menu > a{
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-on-dark);
  line-height: 1.2;
}
.mobile-menu-platforms{
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--line-on-dark);
}
.mobile-platforms-toggle{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  padding: 14px 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  line-height: 1.2;
}
.mobile-platforms-arrow{
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  margin-right: 6px;
  flex-shrink: 0;
}
.mobile-menu-platforms.is-open .mobile-platforms-arrow{
  transform: rotate(-135deg);
  margin-top: 6px;
}
.mobile-platforms-dropdown{
  display: none;
  padding: 0 0 10px 18px;
}
.mobile-menu-platforms.is-open .mobile-platforms-dropdown{
  display: block;
}
.mobile-platforms-dropdown a{
  display: block;
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sage);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  line-height: 1.35;
}
.mobile-platforms-dropdown a:last-child{
  border-bottom: none;
  padding-bottom: 4px;
}
.mobile-close{
  position:absolute; top:22px; right: var(--gutter);
  background:none; border:none; color:var(--cream); font-size: 1.8rem;
}

/* ========================================================================
   Hero
   ======================================================================== */
.hero{
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 170px 0 120px;
  overflow: hidden;
}
.hero-arc{
  position: absolute;
  right: -8%;
  top: -12%;
  width: min(60vw, 780px);
  opacity: .9;
  pointer-events: none;
}
.hero-arc path{
  fill:none;
  stroke: url(#arcGradient);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 2.2s var(--ease) .3s forwards;
}
.hero-arc .spark{
  transform-origin: center;
  opacity:0;
  animation: fade-in .8s ease 1.8s forwards;
}
@keyframes draw{ to{ stroke-dashoffset:0; } }
@keyframes fade-in{ to{ opacity:1; } }

.hero-content{
  position:relative;
  z-index:2;
  max-width: 760px;
}
.hero h1{ margin-top: 22px; }
.hero h1 em{ color: var(--sand); font-style: italic; }
.hero .lede{ margin-top: 26px; }
.hero-actions{ display:flex; gap:16px; margin-top: 40px; flex-wrap:wrap; }
.hero-meta{
  margin-top: 88px;
  display:flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 28px;
  max-width: 820px;
}
.hero-meta .stat b{
  display:block;
  font-family: var(--font-mono);
  font-size: 1.9rem;
  color: var(--sand);
  font-weight:700;
}
.hero-meta .stat span{
  font-size: 13px;
  color: #b9b6a6;
  letter-spacing: .04em;
}

/* Page (inner) hero — About / Services / Contact */
.page-hero{
  background: var(--ink);
  color: var(--cream);
  padding: 168px 0 96px;
  position: relative;
  overflow:hidden;
}
.page-hero .container{ position:relative; z-index:2; max-width: 880px; }
.page-hero h1{ margin-top: 18px; }
.page-hero .lede{ margin-top:20px; }
.page-hero .mini-arc{
  position:absolute; right:-10%; top:-30%; width: 46%; opacity:.55; z-index:1;
}

/* ========================================================================
   Stat strip
   ======================================================================== */
.stat-strip{
  background: var(--rust);
  color: var(--cream);
}
.stat-strip .container{
  display:flex;
  flex-wrap:wrap;
  gap: 28px 56px;
  padding-top: 30px;
  padding-bottom: 30px;
  justify-content: space-between;
}
.stat-strip .item{ display:flex; align-items:baseline; gap:12px; }
.stat-strip .item b{
  font-family: var(--font-mono);
  font-size: 1.15rem;
}
.stat-strip .item span{ font-size: 14px; color: #ffe8d9; }

/* ========================================================================
   Sections generic
   ======================================================================== */
section{ position:relative; }
.section{
  padding: 108px 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
.section-tight{ padding: 80px 0; }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head .eyebrow{ margin-bottom: 18px; }
.section-head--center{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head--center .eyebrow{
  justify-content: center;
}
.about-centered-block{
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.bg-cream{ background: var(--cream); }
.bg-sand{ background: var(--mist); }
.bg-sea{ background: var(--sea); }
.bg-ink{ background: var(--ink); }
.bg-wine{ background: var(--wine); }
.bg-cream-dim{ background: var(--gray); }

/* ========================================================================
   Services grid (home preview + services page)
   ======================================================================== */
.card-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card{
  background: var(--cream);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display:flex; flex-direction:column;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -24px rgba(47,62,92,0.22);
}
.service-card .img-wrap{
  aspect-ratio: 4/3;
  overflow:hidden;
  background: var(--sand);
}
.service-card .img-wrap img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .6s var(--ease);
}
.service-card:hover .img-wrap img{ transform: scale(1.06); }
.service-card .body{ padding: 26px 26px 30px; flex:1; display:flex; flex-direction:column; }
.service-card h3{ margin-bottom: 10px; }
.service-card p{ color: var(--umber); font-size: 14.5px; flex:1; }
.service-card .more{
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rust);
  display:inline-flex; align-items:center; gap:8px;
}
.service-card .more svg{ width:14px; height:14px; transition: transform .3s; }
.service-card:hover .more svg{ transform: translateX(4px); }

/* Full services list (services.html) */
.services-page__list{
  display:flex;
  flex-direction:column;
  gap: clamp(24px, 3vw, 36px);
}

.service-nav{
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-on-light);
  padding: 12px 0;
}
.service-nav__track{
  display:flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}
.service-nav__track::-webkit-scrollbar{ display:none; }
.service-nav__track a{
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--umber);
  background: var(--cream);
  border: 1px solid var(--line-on-light);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.service-nav__track a:hover,
.service-nav__track a.is-active{
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.service-block{
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 44px);
  scroll-margin-top: 130px;
  box-shadow: 0 12px 40px rgba(28, 26, 22, 0.04);
}
.service-block__top{
  display:grid;
  grid-template-columns: 1fr min(400px, 44%);
  gap: clamp(28px, 4vw, 52px);
  align-items:center;
  margin-bottom: clamp(28px, 4vw, 40px);
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line-on-light);
}
.service-block:nth-child(even) .service-block__top{
  direction: rtl;
}
.service-block:nth-child(even) .service-block__top > *{
  direction: ltr;
}
.service-block .tag-index{
  font-family: var(--font-mono);
  color: var(--sand-deep);
  font-size: 13px;
  letter-spacing: .1em;
}
.service-block h3{
  margin: 12px 0 14px;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}
.service-block .body-text{
  font-size: 15px;
  line-height: 1.65;
  max-width: 58ch;
}
.service-visual{
  position:relative;
  border-radius: var(--radius-m);
  overflow:hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-dim);
  box-shadow: 0 18px 48px rgba(28, 26, 22, 0.1);
}
.service-visual img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center 30%;
  display:block;
  transition: transform .6s var(--ease);
}
.service-block:hover .service-visual img{
  transform: scale(1.03);
}
.service-visual__accent{
  position:absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rust), var(--sand-deep));
  z-index: 2;
}
.service-block__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items:start;
}
.service-block h4.service-subhead{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 14px;
  color: var(--charcoal);
}
.service-block ul{
  margin: 0;
  display:flex;
  flex-direction:column;
  gap:9px;
}
.service-block ol.service-treatments{
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: service-treatment;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.service-block ul li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size: 14px;
  color: var(--umber);
  line-height: 1.55;
  padding: 8px 12px;
  background: var(--cream);
  border-radius: var(--radius-s);
}
.service-block ol.service-treatments li{
  position: relative;
  padding: 10px 12px 10px 36px;
  font-size: 14px;
  color: var(--umber);
  line-height: 1.55;
  background: var(--cream);
  border-radius: var(--radius-s);
  counter-increment: service-treatment;
}
.service-block ol.service-treatments li::before{
  content: counter(service-treatment);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 20px;
  height: 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--rust);
  border-radius: 50%;
}
.service-block ul li::before{
  content:'';
  width:6px;
  height:6px;
  border-radius:50%;
  background: var(--rust);
  margin-top:7px;
  flex-shrink:0;
}
.service-block__cta{
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-on-light);
}

/* Legacy alias — keep if referenced elsewhere */
.service-full{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items:start;
  padding: 64px 0;
  border-bottom: 1px solid var(--line-on-light);
}
.service-full:last-child{ border-bottom:none; }
.service-full.reverse .img-col{ order:2; }
.service-full .img-col img{
  border-radius: var(--radius-l);
  aspect-ratio: 5/4;
  object-fit: cover;
  width:100%;
}
.service-full .tag-index{
  font-family: var(--font-mono);
  color: var(--sand-deep);
  font-size: 13px;
  letter-spacing: .1em;
}
.service-full h3{ margin: 12px 0 16px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.service-full h4.service-subhead{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin: 28px 0 12px;
  color: var(--charcoal);
}
.service-full ul{ margin-top: 12px; display:flex; flex-direction:column; gap:10px; }
.service-full ol.service-treatments{
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
  counter-reset: service-treatment;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.service-full ul li{
  display:flex; gap:10px; align-items:flex-start;
  font-size: 14.5px; color: var(--umber);
  line-height: 1.55;
}
.service-full ol.service-treatments li{
  position: relative;
  padding-left: 32px;
  font-size: 14.5px;
  color: var(--umber);
  line-height: 1.55;
  counter-increment: service-treatment;
}
.service-full ol.service-treatments li::before{
  content: counter(service-treatment) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--rust);
}
.service-full ul li::before{
  content:'';
  width:6px; height:6px; border-radius:50%;
  background: var(--rust);
  margin-top:7px; flex-shrink:0;
}

/* ========================================================================
   About teaser / split blocks
   ======================================================================== */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items:center;
}
.split.reverse .split-img{ order: 2; }
.split-img{
  position: relative;
  min-height: 280px;
}
.split-img img{
  display: block;
  border-radius: var(--radius-l);
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center center;
  max-width: none;
  box-shadow: 0 24px 48px -24px rgba(26,26,26,.18);
  border: 1px solid var(--line-on-light);
}
.split-img.wide img{ aspect-ratio: 5 / 4; }
.split-img--portrait{
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}
.split-img--portrait img{
  aspect-ratio: 3 / 4;
  min-height: 0;
  max-height: 480px;
  width: 100%;
  object-fit: cover;
  object-position: center 12%;
}
@media (max-width: 980px){
  .split-img--portrait{
    max-width: 100%;
  }
  .split-img--portrait img{
    max-height: 420px;
  }
}

/* ========================================================================
   Values / pillars with connecting arc
   ======================================================================== */
.pillars{
  position: relative;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.pillar{
  padding: 32px 24px;
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-m);
  transition: border-color .3s, background .3s;
}
.pillar:hover{ border-color: var(--sand); background: rgba(254,254,242,0.03); }
.pillar .num{
  font-family: var(--font-mono);
  color: var(--rust);
  font-size: 13px;
  letter-spacing: .1em;
}
.pillar h3{ color: var(--cream); margin: 16px 0 10px; }
.pillar p{ color: #cfccbc; font-size: 14px; }

/* ========================================================================
   Process steps (services page) — genuine sequence
   ======================================================================== */
.process{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 64px;
}
.process::before{
  content:'';
  position:absolute;
  top: 17px; left: 6%; right:6%;
  height:1px;
  background: repeating-linear-gradient(90deg, var(--rust) 0 8px, transparent 8px 16px);
}
.step{
  position:relative;
  padding-right: 20px;
}
.step .dot{
  width: 34px; height:34px;
  border-radius:50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  display:flex; align-items:center; justify-content:center;
  position:relative; z-index:2;
}
.step h4{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 20px 0 8px;
}
.step p{ font-size: 13.5px; color: var(--umber); }

/* ========================================================================
   Timeline / roadmap arc (About — Vision)
   ======================================================================== */
.roadmap{
  margin-top: 56px;
  display:flex;
  flex-direction:column;
  gap: 0;
}
.roadmap-item{
  display:grid;
  grid-template-columns: 120px 32px 1fr;
  gap: 0 28px;
}
.roadmap-item .rm-year{
  font-family: var(--font-mono);
  color: var(--rust);
  font-size: 13px;
  padding-top: 4px;
}
.roadmap-item .rm-line{
  display:flex; flex-direction:column; align-items:center;
}
.roadmap-item .rm-line .dot{
  width:12px; height:12px; border-radius:50%;
  background: var(--wine);
  border: 3px solid var(--sand);
  flex-shrink:0;
}
.roadmap-item .rm-line .bar{
  width:1px; flex:1;
  background: var(--line-on-light);
  margin: 4px 0;
}
.roadmap-item:last-child .rm-line .bar{ display:none; }
.roadmap-item .rm-body{ padding-bottom: 44px; }
.roadmap-item .rm-body h4{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem; margin-bottom: 6px;
}
.roadmap-item .rm-body p{ color: var(--umber); font-size: 14.5px; max-width: 52ch; }

/* ========================================================================
   Testimonial / quote
   ======================================================================== */
.quote-block{
  max-width: 780px;
  margin: 0 auto;
  text-align:center;
}
.quote-block .mark{
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--red);
  line-height:1;
  font-style: italic;
}
.quote-block p{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--ink);
  line-height:1.45;
  margin-top: 10px;
}
.quote-block .who{
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform:uppercase;
  color: var(--umber);
}

/* ========================================================================
   CTA banner
   ======================================================================== */
.cta-banner{
  background: var(--wine);
  color: var(--cream);
  padding: 96px 0;
  text-align:center;
  position: relative;
  overflow:hidden;
}
.cta-banner .container{ position:relative; z-index:2; }
.cta-banner h2{ max-width: 700px; margin: 20px auto 0; }
.cta-banner .lede{ margin: 20px auto 0; max-width: 560px; color: var(--sage); }
.cta-banner .hero-actions{ justify-content:center; margin-top: 36px; }

/* ========================================================================
   Founder / person card
   ======================================================================== */
.person-card{
  display:flex;
  gap: 26px;
  align-items:center;
  background: var(--cream);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-m);
  padding: 26px;
  max-width: 520px;
}
.person-card--center{
  margin-left: auto;
  margin-right: auto;
  flex-direction: column;
  text-align: center;
  max-width: 480px;
  padding: 32px 28px;
}
.person-card--center .links{
  justify-content: center;
}
.person-card .avatar{
  width: 84px; height:84px;
  border-radius: 50%;
  background: var(--sand);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-style:italic; font-size:1.8rem;
  color: var(--wine);
  flex-shrink:0;
}
.person-card h4{ font-family: var(--font-display); font-weight: 700; font-size:1.3rem; }
.person-card .role{ font-family: var(--font-mono); font-size: 12px; color: var(--rust); letter-spacing:.05em; text-transform:uppercase; margin-top:4px; }
.person-card .links{ margin-top:10px; display:flex; gap:14px; font-size:13.5px; color:var(--umber); }

.founder-profile{
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
  max-width: 820px;
  margin: 32px auto 0;
}
.founder-profile__photo{
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-l);
  box-shadow: 0 20px 40px -24px rgba(26,26,26,0.3);
}
.founder-profile__photo img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-l) - 6px);
}
.founder-profile__content{
  background: var(--cream);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 36px);
}
.founder-profile__content h3{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
}
.founder-profile__content .role{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--rust);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 6px;
}
.founder-profile__content .body-text{
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  max-width: 54ch;
}
.founder-profile__links{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 14px;
  font-weight: 600;
}
.founder-profile__links a{
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 720px){
  .founder-profile{
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .founder-profile__photo{
    width: 200px;
    margin: 0 auto;
  }
  .founder-profile__content{
    text-align: center;
  }
  .founder-profile__content .body-text{
    margin-left: auto;
    margin-right: auto;
  }
  .founder-profile__links{
    justify-content: center;
  }
}

/* ========================================================================
   Contact page
   ======================================================================== */
.contact-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items:flex-start;
}
.form-card{
  background: var(--cream);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-l);
  padding: 44px;
}
.field{ margin-bottom: 22px; }
.field label{
  display:block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--umber);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width:100%;
  border: none;
  border-bottom: 1.5px solid var(--line-on-light);
  background: transparent;
  padding: 10px 2px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  transition: border-color .3s;
}
.field textarea{ resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-bottom-color: var(--rust);
}
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-note{ font-size:13px; color: var(--umber); margin-top: 4px; }

.info-card{
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-l);
  padding: 44px;
}
.info-row{
  display:flex; gap:16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.info-row:first-of-type{ padding-top:0; }
.info-row:last-of-type{ border-bottom:none; }
.info-row .ic{
  width: 38px; height:38px;
  border-radius:50%;
  border: 1px solid var(--line-on-dark);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.info-row .ic svg{ width:16px; height:16px; stroke: var(--sand); }
.info-row h4{ font-size: 13px; letter-spacing:.06em; text-transform:uppercase; font-family: var(--font-mono); color: var(--sand); margin-bottom:6px; }
.info-row p, .info-row a{ font-size: 15px; color: var(--cream); }
.info-row a:hover{ color: var(--sand); }

.map-wrap{
  margin-top: 28px;
  border-radius: var(--radius-l);
  overflow:hidden;
  border: 1px solid var(--line-on-light);
  aspect-ratio: 16/10;
}
.map-wrap iframe{ width:100%; height:100%; border:0; }
.map-link{
  display: inline-block;
  margin-top: 8px;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--sand) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-btn{
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}
@media (max-width: 640px){
  .map-wrap{ aspect-ratio: 4 / 3; }
}

/* ========================================================================
   FAQ (contact/services)
   ======================================================================== */
.faq-item{
  border-bottom: 1px solid var(--line-on-light);
  padding: 22px 0;
}
.faq-q{
  display:flex; align-items:center; justify-content:space-between;
  cursor:pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  gap: 20px;
}
.faq-q .plus{
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--rust);
  transition: transform .3s;
  flex-shrink:0;
}
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{
  max-height:0;
  overflow:hidden;
  transition: max-height .4s var(--ease);
}
.faq-item.open .faq-a{ max-height: 240px; }
.faq-a p{ padding-top:14px; color: var(--umber); font-size:14.5px; max-width: 60ch; }

/* ========================================================================
   Footer
   ======================================================================== */
.site-footer{
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 30px;
}
.footer-top{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand-mark{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  text-decoration: none;
}
.footer-brand-mark img{
  mix-blend-mode: normal;
  filter: none;
  max-width: none;
}
.footer-brand-mark .word{
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}
.footer-brand-mark .word small{
  display: block;
  font-size: .55rem;
  letter-spacing: .18em;
  color: var(--sand);
  margin-top: 3px;
  font-weight: 500;
}
.footer-brand p{ color:#b9b6a6; font-size:14px; max-width:32ch; }
.footer-col h5{
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: var(--sand);
  margin-bottom: 18px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ color:#d7d3c4; font-size:14.5px; transition:color .25s; }
.footer-col a:hover{ color: var(--cream); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top: 26px;
  flex-wrap:wrap; gap:12px;
  font-size:12.5px; color:#8a8672;
  font-family: var(--font-mono);
}

/* ========================================================================
   Reveal on scroll
   ======================================================================== */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 980px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-cta .btn{ display:none; }
  .card-grid{ grid-template-columns: 1fr 1fr; }
  .pillars{ grid-template-columns: 1fr 1fr; }
  .process{ grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process::before{ display:none; }
  .split, .contact-grid, .footer-top{ grid-template-columns: 1fr; }
  .split-img{ order:-1 !important; }
  .service-full{ grid-template-columns: 1fr; }
  .service-full .img-col{ order:-1 !important; }
  .service-block__top{ grid-template-columns: 1fr; direction: ltr !important; }
  .service-block:nth-child(even) .service-block__top > *{ direction: ltr; }
  .service-block__grid{ grid-template-columns: 1fr; }
  .service-visual{ order: -1; aspect-ratio: 16 / 9; max-height: 260px; }
  .service-nav{ top: 64px; }
  .footer-top{ gap: 40px; }
}
@media (max-width: 640px){
  .card-grid{ grid-template-columns: 1fr; }
  .pillars{ grid-template-columns: 1fr; }
  .process{ grid-template-columns: 1fr; }
  .process::before{ display:none; }
  .hero{ padding: 140px 0 80px; }
  .hero-meta{ gap: 28px; }
  .field-row{ grid-template-columns: 1fr; }
  .roadmap-item{ grid-template-columns: 90px 24px 1fr; }
  .service-block{ padding: 20px 18px; border-radius: var(--radius-m); }
  .service-block__top{ gap: 20px; margin-bottom: 24px; padding-bottom: 24px; }
  .service-block .body-text{ max-width: none; font-size: 14.5px; }
  .service-block ul li,
  .service-block ol.service-treatments li{ font-size: 13.5px; padding: 8px 10px; }
  .service-block ol.service-treatments li{ padding-left: 34px; }
  .service-nav__track a{ font-size: 10.5px; padding: 8px 12px; }
  .service-block__cta .btn{ width: 100%; justify-content: center; }
}

.platform-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.platform-list li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--umber);
}
.platform-list li::before{
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 8px;
  flex-shrink: 0;
}
.hero-new{
  position: relative;
  background: linear-gradient(135deg, var(--ice) 0%, var(--cream) 55%, var(--sage) 100%);
  color: var(--charcoal);
  padding: 188px 0 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.hero-new > .container{
  width: 100%;
  max-width: var(--container);
  overflow: hidden;
}
.hero-new::before{
  content:'';
  position:absolute;
  top:-20%; right:-15%;
  width:min(55vw,620px);
  height:min(55vw,620px);
  border-radius:50%;
  border: 2px solid rgba(207,222,223,.65);
  pointer-events:none;
}
.hero-new .hero-arc{ opacity:.35; }
.hero-split{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(32px, 5vw, 56px);
  width: 100%;
  max-width: 100%;
  overflow: visible;
}
.hero-side-lottie{
  position: relative;
  width: 100%;
  max-width: min(660px, 100%);
  justify-self: end;
  align-self: center;
  aspect-ratio: 1 / 1.08;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: heroLottieIn 1s cubic-bezier(.22,1,.36,1) 0.35s forwards;
  overflow: visible;
}
.hero-top{
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-bottom: 0;
  min-width: 0;
}
.hero-side-lottie::before{
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223,241,241,0.75) 0%, rgba(187,213,218,0.2) 45%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.hero-side-lottie dotlottie-wc{
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 36px rgba(29,29,29,0.08));
  animation: heroLottieFloat 7s ease-in-out 1.4s infinite;
}
@keyframes heroLottieIn{
  from{ opacity: 0; transform: translateY(24px) scale(0.94); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLottieFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}
@media (max-width: 1080px){
  .hero-split{
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .hero-top{
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-top .lede{
    margin-left: auto;
    margin-right: auto;
  }
  .hero-top .hero-actions{
    justify-content: center;
  }
  .hero-top .eyebrow{
    justify-content: center;
  }
  .hero-gallery{
    justify-self: center;
    max-width: min(520px, 92vw);
    margin: 0 auto;
    order: 2;
  }
  .hero-top{ order: 1; }
}
@media (max-width: 640px){
  .hero-split{ margin-bottom: 28px; }
}
@media (prefers-reduced-motion: reduce){
  .hero-side-lottie{
    animation: heroLottieIn 0.01s forwards;
  }
  .hero-side-lottie dotlottie-wc{
    animation: none;
  }
}


/* ============================================================
   HERO LOTTIE — LARGE & RESPONSIVE
   ============================================================ */

.hero-side-lottie {
  position: relative;
  width: 100%;
  max-width: 960px;
  justify-self: end;
  align-self: center;
  aspect-ratio: 1 / 1;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  animation: heroLottieIn 1s cubic-bezier(.22,1,.36,1) 0.35s forwards;

  /* Makes the animation area larger */
  transform-origin: center center;
}

.hero-side-lottie dotlottie-wc {
  display: block;

  /* Increase actual visible Lottie size */
  width: 125%;
  height: 125%;

  /* Keep it centered after increasing size */
  margin: -12.5%;

  filter: drop-shadow(0 18px 36px rgba(29,29,29,0.08));

  animation: heroLottieFloat 7s ease-in-out 1.4s infinite;
}

@keyframes heroLottieFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1080px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .hero-top {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-top .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-top .hero-actions {
    justify-content: center;
  }

  .hero-top .eyebrow {
    justify-content: center;
  }

  .hero-side-lottie {
    width: min(430px, 90vw);
    max-width: 430px;
    justify-self: center;
    margin: 0 auto;
    order: 2;
  }

  .hero-top {
    order: 1;
  }

  .hero-side-lottie dotlottie-wc {
    width: 125%;
    height: 125%;
    margin: -12.5%;
  }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 640px) {
  .hero-split {
    margin-bottom: 30px;
  }
}
.hero-top h1{ margin-top: 14px; }
.hero-top h1 em{ color: var(--red); font-style: italic; }
.hero-top .tagline{ margin-top: 12px; }
.hero-top .lede{ margin-top: 18px; color: var(--ink-soft); max-width: 52ch; }
.hero-top .hero-actions{ margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Curved physiotherapist image — right side */
.hero-curve-wrap{
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
}
.hero-curve-image{
  position: relative;
  width: 100%;
  height: clamp(380px, 42vw, 540px);
  border-radius: 999px 0 0 999px;
  overflow: hidden;
  box-shadow: 0 32px 64px -28px rgba(26,26,26,.28);
  border: 4px solid rgba(255,255,255,.85);
  background: var(--sage);
  animation: hero-image-in 1s var(--ease) .2s both;
}
.hero-curve-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.hero-curve-ring{
  position: absolute;
  inset: -18px -18px -18px 8%;
  border: 2px solid rgba(230,0,0,.25);
  border-radius: 999px 0 0 999px;
  pointer-events: none;
  animation: hero-ring-in 1.2s var(--ease) .5s both;
}
.hero-curve-badge{
  position: absolute;
  left: -12px;
  bottom: 36px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 28px -8px rgba(230,0,0,.45);
  white-space: nowrap;
}
@keyframes hero-image-in{
  from{ opacity:0; transform: translateX(24px); }
  to{ opacity:1; transform:none; }
}
@keyframes hero-ring-in{
  from{ opacity:0; transform: scale(.96); }
  to{ opacity:1; transform:none; }
}

.hero-showcase{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 0.95fr;
  gap: 26px;
  align-items: stretch;
  padding-bottom: 40px;
}

/* ========================================================================
   Service mode tabs — Clinic / Home (hero bottom)
   ======================================================================== */
.service-mode-section{
  position: relative;
  z-index: 2;
  padding-top: 48px;
  padding-bottom: 72px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.service-mode-tabs{
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}
.service-tab-track{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: min(100%, 720px);
  padding: 5px;
  background: #fff;
  border: 1px solid rgba(187,213,218,0.65);
  border-radius: 999px;
  box-shadow: 0 10px 32px -12px rgba(29,29,29,0.1),
              inset 0 1px 0 rgba(255,255,255,0.9);
}
.service-tab-slider{
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(33.333% - 3.33px);
  height: calc(100% - 10px);
  background: linear-gradient(145deg, #FF1a1a 0%, var(--red) 48%, #E60000 100%);
  border-radius: 999px;
  box-shadow: 0 8px 22px -6px rgba(255,0,0,0.55),
              0 2px 6px rgba(255,0,0,0.2),
              inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform 0.45s cubic-bezier(.22,1,.36,1),
              box-shadow 0.45s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.service-tab-track[data-active="clinic"] .service-tab-slider{
  transform: translateX(calc(100% + 5px));
}
.service-tab-track[data-active="connect"] .service-tab-slider{
  transform: translateX(calc(200% + 10px));
}
.service-tab{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  padding: 12px 18px;
  border: none;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: color 0.35s var(--ease);
}
.service-tab .tab-label{
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: var(--charcoal);
  line-height: 1.2;
  transition: color 0.35s var(--ease);
}
.service-tab .tab-sublabel{
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(29,29,29,0.42);
  transition: color 0.35s var(--ease);
}
.service-tab:not(.active):hover .tab-label{ color: var(--red); }
.service-tab:not(.active):hover .tab-sublabel{ color: rgba(255,0,0,0.55); }
.service-tab.active .tab-label{
  color: #fff;
}
.service-tab.active .tab-sublabel{
  color: rgba(255,255,255,0.82);
}

.service-panel{
  display: none;
  animation: panelFadeIn .5s var(--ease) both;
}
.service-panel.active{ display: block; }
@keyframes panelFadeIn{
  from{ opacity: 0; transform: translateY(12px); }
  to{ opacity: 1; transform: none; }
}

.service-intro{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 44px);
  align-items: stretch;
  margin-bottom: 56px;
}
.service-intro-img{
  position: relative;
  min-height: min(420px, 52vh);
  height: 100%;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(26,26,26,.2);
  border: 1px solid var(--line-on-light);
  background: var(--mist);
}
.service-intro-img img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.service-intro-text h2{
  margin-top: 12px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}
.service-intro-text .body-text + .body-text{
  margin-top: 1em;
}
.service-why-head{
  margin-bottom: 36px;
  max-width: 720px;
}
.service-why-head h3{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-bottom: 10px;
}

/* ========================================================================
   Scrolling gallery showcase — shared across all platforms (index)
   ======================================================================== */
.service-mode-section > .gallery-showcase{
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line-on-light);
}
.gallery-showcase{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px);
  width: 100%;
  max-width: 100%;
}
.gallery-showcase-content h3{
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin: 14px 0 16px;
  color: var(--charcoal);
}
.gallery-showcase-content .body-text{
  font-size: 15px;
  line-height: 1.65;
}
.gallery-highlights{
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gallery-highlights li{
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.gallery-highlights li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.gallery-mini-stats{
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-on-light);
}
.gallery-stat b{
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--red);
  line-height: 1;
}
.gallery-stat span{
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--umber);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-scroll-wrap{
  position: relative;
  width: 100%;
  max-width: 100%;
  height: clamp(380px, 52vw, 520px);
  overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid rgba(187,213,218,0.55);
  background: linear-gradient(145deg, var(--ice) 0%, var(--cream) 100%);
  box-shadow: 0 24px 48px -24px rgba(29,29,29,0.14);
}
.gallery-scroll-fade{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(223,241,241,0.85) 0%,
    transparent 22%,
    transparent 78%,
    rgba(223,241,241,0.85) 100%
  );
}
.gallery-scroll-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 16px);
  height: 100%;
  padding: clamp(10px, 1.8vw, 16px);
  transform: rotate(5deg) scale(1.06);
  transform-origin: center center;
}
.gallery-scroll-col{
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8vw, 16px);
  will-change: transform;
}
.gallery-scroll-card{
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: var(--gray);
  box-shadow: 0 8px 20px -8px rgba(29,29,29,0.18);
}
.zigzag-media img,
.service-visual img,
.split-img img{
  object-fit: cover;
  object-position: center center;
}
.split-img img{
  object-position: center 18%;
}

.gallery-scroll-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.gallery-scroll-card[data-focus="top"] img{
  object-position: center 18%;
}
.gallery-scroll-card[data-focus="equip"] img{
  object-position: center 42%;
}
.gallery-scroll-card[data-focus="bed"] img{
  object-position: center 55%;
}
.gallery-scroll-card[data-focus="portrait"] img{
  object-position: center 12%;
}
.gallery-float-cards{
  position: absolute;
  bottom: clamp(14px, 3vw, 28px);
  left: clamp(14px, 3vw, 24px);
  right: clamp(14px, 3vw, 24px);
  z-index: 3;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: clamp(8px, 2vw, 14px);
  pointer-events: none;
}
.gallery-float-card{
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 320px;
  padding: 10px 16px 10px 10px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 16px;
  box-shadow: 0 10px 32px -10px rgba(29,29,29,0.14);
  pointer-events: auto;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.gallery-float-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -12px rgba(29,29,29,0.2);
}
.gallery-float-icon{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gallery-float-icon svg{
  width: 18px;
  height: 18px;
}
.gallery-float-icon--red{
  background: rgba(255,0,0,0.08);
  color: var(--red);
}
.gallery-float-icon--teal{
  background: rgba(187,213,218,0.45);
  color: var(--charcoal);
}
.gallery-float-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gallery-float-text strong{
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.2;
}
.gallery-float-text small{
  font-size: 11px;
  color: var(--umber);
}

/* Hero — scrolling gallery (Recovery in Motion) */
.hero-gallery{
  position: relative;
  width: 100%;
  max-width: 100%;
  justify-self: end;
  align-self: center;
  z-index: 1;
  min-width: 0;
}
.hero-gallery .gallery-scroll-wrap{
  height: clamp(400px, 44vw, 540px);
  max-width: 100%;
}

@media (max-width: 1080px){
  .hero-gallery{
    justify-self: center;
    max-width: min(520px, 92vw);
    margin: 0 auto;
    order: 2;
  }
  .hero-gallery .gallery-scroll-wrap{
    height: clamp(340px, 58vw, 460px);
  }
}
@media (max-width: 640px){
  .hero-gallery{
    max-width: min(380px, 92vw);
    margin: 16px auto 0;
    order: 2;
  }
  .hero-gallery .gallery-scroll-wrap{
    height: clamp(300px, 72vw, 380px);
    border-radius: var(--radius-m);
  }
}

@media (max-width: 1080px){
  .gallery-showcase{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gallery-showcase-content{
    text-align: center;
  }
  .gallery-showcase-content .eyebrow{
    justify-content: center;
  }
  .gallery-highlights{
    align-items: flex-start;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }
  .gallery-mini-stats{
    justify-content: center;
  }
  .gallery-showcase-content .btn{
    display: inline-flex;
  }
  .gallery-scroll-wrap{
    height: clamp(340px, 58vw, 460px);
    max-width: 520px;
    margin: 0 auto;
  }
  .gallery-scroll-grid{
    transform: rotate(4deg) scale(1.04);
  }
}
@media (max-width: 640px){
  .gallery-showcase{
    margin: 32px 0 48px;
    gap: 24px;
  }
  .gallery-scroll-wrap{
    height: clamp(300px, 72vw, 380px);
    max-width: 100%;
    border-radius: var(--radius-m);
  }
  .gallery-scroll-grid{
    gap: 8px;
    padding: 8px;
    transform: rotate(3deg) scale(1.02);
  }
  .gallery-scroll-col{ gap: 8px; }
  .gallery-scroll-card{ border-radius: 14px; }
  .gallery-float-cards{
    flex-direction: row;
    flex-wrap: nowrap;
    left: 8px;
    right: 8px;
    bottom: 10px;
    gap: 8px;
  }
  .gallery-float-card{
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    padding: 8px 10px 8px 8px;
    border-radius: 12px;
    gap: 8px;
  }
  .gallery-float-icon{
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .gallery-float-icon svg{
    width: 15px;
    height: 15px;
  }
  .gallery-float-text strong{ font-size: 11px; }
  .gallery-float-text small{ font-size: 9px; line-height: 1.25; }
  .gallery-mini-stats{ gap: 16px 24px; }
  .gallery-stat b{ font-size: 1.5rem; }
}

/* Zig-zag timeline treatments */
.zigzag-timeline{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
}
.zigzag-line{
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--sand-deep) 8%, var(--sand-deep) 92%, transparent);
  transform: translateX(-50%);
  z-index: 0;
}
.zigzag-item{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px 0;
  z-index: 1;
}
.zigzag-item .zigzag-card{ grid-column: 1; grid-row: 1; }
.zigzag-item .zigzag-marker{ grid-column: 2; grid-row: 1; }
.zigzag-item .zigzag-media{ grid-column: 3; grid-row: 1; }
.zigzag-item.reverse .zigzag-card{ grid-column: 3; }
.zigzag-item.reverse .zigzag-media{ grid-column: 1; }

.zigzag-marker{
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.zigzag-marker span{
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--sand-deep);
  transition: border-color .4s, background .4s, transform .4s var(--ease);
}
.zigzag-item.is-visible .zigzag-marker span{
  border-color: var(--red);
  background: var(--red);
  transform: scale(1.15);
}

.zigzag-card{
  position: relative;
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  overflow: hidden;
  transition: box-shadow .4s var(--ease);
}
.zigzag-card:hover{
  box-shadow: 0 16px 36px -16px rgba(26,26,26,.14);
}
.zigzag-card.accent{
  background: var(--ice);
  border-color: rgba(207,222,223,.8);
}
.zigzag-num{
  position: absolute;
  top: 12px;
  right: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(26,26,26,.06);
  pointer-events: none;
}
.zigzag-card.accent .zigzag-num{ color: rgba(26,26,26,.08); }
.zigzag-card h3{
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: 10px;
  position: relative;
}
.zigzag-card p{
  font-size: 14.5px;
  color: var(--umber);
  line-height: 1.65;
  position: relative;
}
.zigzag-card ul{
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.zigzag-card ul li{
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 5px 0 5px 18px;
  position: relative;
}
.zigzag-card ul li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.zigzag-media{
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  min-height: 220px;
  box-shadow: 0 16px 32px -16px rgba(26,26,26,.16);
  background: var(--mist);
}
.zigzag-media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transition: transform .6s var(--ease);
}
.zigzag-item:hover .zigzag-media img{ transform: scale(1.04); }

/* Zig-zag scroll reveal */
.reveal-left{
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .75s cubic-bezier(.22,.61,.36,1),
              transform .75s cubic-bezier(.22,.61,.36,1);
}
.reveal-right{
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .75s cubic-bezier(.22,.61,.36,1),
              transform .75s cubic-bezier(.22,.61,.36,1);
}
.reveal-left.is-visible,
.reveal-right.is-visible{
  opacity: 1;
  transform: translateX(0);
}
.zigzag-item.reveal-left,
.zigzag-item.reveal-right{
  transition-delay: var(--d, 0ms);
}

@media (max-width: 1080px){
  .service-intro{ grid-template-columns: 1fr; align-items: start; }
  .service-intro-img{
    order: -1;
    min-height: 0;
    height: auto;
    aspect-ratio: 5 / 4;
    max-height: 420px;
  }
  .service-intro-img img{
    position: absolute;
    inset: 0;
  }
  .zigzag-line{ left: 20px; transform: none; }
  .zigzag-item,
  .zigzag-item.reverse{
    grid-template-columns: 40px 1fr;
    gap: 20px;
    padding-left: 8px;
  }
  .zigzag-item .zigzag-card,
  .zigzag-item.reverse .zigzag-card{ grid-column: 2; grid-row: 1; }
  .zigzag-item .zigzag-marker,
  .zigzag-item.reverse .zigzag-marker{ grid-column: 1; grid-row: 1; }
  .zigzag-item .zigzag-media,
  .zigzag-item.reverse .zigzag-media{ grid-column: 2; grid-row: 2; }
  .reveal-left{ transform: translateX(-24px); }
  .reveal-right{ transform: translateX(24px); }
}
/* PhysioClinic — real facility & equipment gallery */
.clinic-showcase{
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.clinic-showcase figure{
  position: relative;
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--gray);
  border: 1px solid var(--line-on-light);
  box-shadow: 0 20px 44px -28px rgba(26,26,26,0.22);
}
.clinic-showcase img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease);
}
.clinic-showcase figure:hover img{
  transform: scale(1.03);
}
.clinic-showcase__hero{
  aspect-ratio: 16 / 9;
  min-height: 260px;
  max-height: 420px;
}
.clinic-showcase__hero img{
  object-position: center 40%;
}
.clinic-showcase__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.clinic-showcase__grid figure{
  aspect-ratio: 4 / 3;
  min-height: 0;
}
.clinic-showcase__grid figure:nth-child(4){
  grid-column: span 2;
}
.clinic-showcase figcaption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 16px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: linear-gradient(180deg, transparent 0%, rgba(26,26,26,0.82) 100%);
  pointer-events: none;
}
.clinic-showcase--compact{
  margin-top: 28px;
}
.clinic-showcase--compact .clinic-showcase__hero{
  max-height: 360px;
}
.clinic-showcase--compact .clinic-showcase__grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.clinic-showcase--compact .clinic-showcase__grid figure:nth-child(4){
  grid-column: span 1;
}
@media (max-width: 900px){
  .clinic-showcase__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .clinic-showcase__grid figure:nth-child(4){
    grid-column: span 2;
  }
}
@media (max-width: 560px){
  .clinic-showcase__hero{
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  .clinic-showcase__grid{
    grid-template-columns: 1fr;
  }
  .clinic-showcase__grid figure:nth-child(4){
    grid-column: span 1;
  }
}

@media (max-width: 640px){
  .service-mode-tabs{
    margin-bottom: 32px;
  }
  .service-tab-track{
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
    padding: 6px;
    gap: 6px;
  }
  .service-tab-slider{
    display: none;
  }
  .service-tab{
    width: 100%;
    min-height: 56px;
    padding: 12px 16px;
    border-radius: 12px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 3px;
  }
  .service-tab.active{
    background: linear-gradient(145deg, #FF1a1a 0%, var(--red) 48%, #E60000 100%);
    box-shadow: 0 8px 22px -6px rgba(255,0,0,0.45);
  }
  .service-tab .tab-label{
    font-size: 1.02rem;
  }
  .service-tab .tab-sublabel{
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .zigzag-card{ padding: 24px 20px; }
}

.showcase-slider{
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: #fff;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 440px;
  box-shadow: 0 24px 48px -24px rgba(26,26,26,.18);
  border: 1px solid var(--line-on-light);
}
.showcase-slider .slides{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.showcase-slider .slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .85s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: var(--mist);
}
.showcase-slider .slide.active{ opacity:1; z-index: 1; }
.showcase-slider .slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.showcase-slider .slide::after{
  display: none;
}
.slide-nav{
  position:absolute; top:50%; transform: translateY(-50%);
  z-index:4;
  width:40px; height:40px;
  border-radius:50%;
  background: rgba(26,26,26,.78);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  font-size: 20px;
  backdrop-filter: blur(8px);
  transition: background .25s, transform .25s, border-color .25s;
}
.slide-nav:hover{ background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-50%) scale(1.05); }
.slide-nav.prev{ left:16px; }
.slide-nav.next{ right:16px; }
.slide-dots{
  position:absolute; bottom:20px; left:50%; transform: translateX(-50%);
  z-index:4;
  display:flex; gap:8px;
}
.slide-dots .dot{
  width:8px; height:8px; border-radius:50%;
  background: rgba(254,254,242,.35);
  transition: background .3s, width .3s;
  cursor:pointer;
  border: none;
  padding: 0;
}
.slide-dots .dot.active{ background: var(--peach); width:24px; border-radius:4px; }

.showcase-stats{
  display:flex;
  flex-direction:column;
  gap: 18px;
  justify-content: center;
}
.stat-badge{
  background: rgba(254,254,242,.04);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-m);
  padding: 24px 22px;
  transition: border-color .3s, transform .3s, background .3s;
}
.stat-badge:hover{ border-color: var(--sage); transform: translateY(-3px); background: #fff; }
.stat-badge b{
  display:block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--red);
  line-height:1;
}
.stat-badge span{
  display:block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.appointment-card{
  background: var(--cream);
  border-radius: var(--radius-l);
  overflow: hidden;
  height: fit-content;
  align-self: center;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55);
}
.apt-head{
  background: var(--charcoal);
  color: var(--cream);
  padding: 24px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.3;
}
.apt-body{ padding: 24px 26px 28px; }
.apt-body .field{ margin-bottom: 14px; }
.apt-body .field input{
  width:100%;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-s);
  background: var(--cream-dim);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .25s;
}
.apt-body .field input:focus{ outline:none; border-color: var(--rust); }
.apt-consent{
  display:flex; align-items:flex-start; gap:10px;
  font-size: 12.5px;
  color: var(--umber);
  margin-bottom: 18px;
  line-height:1.5;
}
.apt-consent input{ margin-top:3px; accent-color: var(--rust); flex-shrink:0; }

.stat-strip-v2{
  position: relative;
  z-index:2;
  background: var(--sea);
  color: var(--ocean);
}
.stat-strip-v2 .container{
  display:flex;
  flex-wrap:wrap;
  gap: 24px 48px;
  padding-top: 28px;
  padding-bottom: 28px;
  justify-content: space-between;
}
.stat-strip-v2 .ss-item{
  display:flex; align-items:center; gap:14px;
}
.stat-strip-v2 .dots{
  display:grid;
  grid-template-columns: repeat(2, 5px);
  grid-template-rows: repeat(3, 5px);
  gap:4px;
  flex-shrink:0;
}
.stat-strip-v2 .dots span{ width:5px; height:5px; border-radius:50%; background: rgba(47,62,92,.45); }
.stat-strip-v2 .ss-item b{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  display:block;
}
.stat-strip-v2 .ss-item span{ font-size: 13px; color: var(--ocean); opacity: .85; }

.floating-call{
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 150;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 14px 30px -8px rgba(230,0,0,.55);
  animation: pulse-ring 2.6s ease-out infinite;
}
.floating-call svg{ width:24px; height:24px; }
.floating-call:hover{ background: var(--red-dark); }
@keyframes pulse-ring{
  0%{ box-shadow: 0 0 0 0 rgba(230,0,0,.5), 0 14px 30px -8px rgba(230,0,0,.55); }
  70%{ box-shadow: 0 0 0 16px rgba(230,0,0,0), 0 14px 30px -8px rgba(230,0,0,.55); }
  100%{ box-shadow: 0 0 0 0 rgba(230,0,0,0), 0 14px 30px -8px rgba(230,0,0,.55); }
}

/* Decorative shapes */
.shape-blob{
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: .35;
  animation: float-blob 8s ease-in-out infinite alternate;
}
.shape-blob.rust{ background: var(--rust); }
.shape-blob.sand{ background: var(--sand); }
.shape-blob.wine{ background: var(--wine); }
@keyframes float-blob{
  from{ transform: translate(0, 0) scale(1); }
  to{ transform: translate(20px, -15px) scale(1.08); }
}
.deco-ring{
  position: absolute;
  border: 1px solid rgba(217,189,165,.25);
  border-radius: 50%;
  pointer-events: none;
}
.deco-dots{
  position: absolute;
  width: 80px; height: 80px;
  background-image: radial-gradient(var(--rust) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: .25;
  pointer-events: none;
}

/* Counter section */
.counter-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.counter-card{
  text-align: center;
  padding: 36px 20px;
  background: var(--cream);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-m);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.counter-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(47,62,92,.18);
}
.counter-card .num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--red);
  line-height: 1;
}
.counter-card .label{
  margin-top: 10px;
  font-size: 14px;
  color: var(--umber);
}

/* Why choose us */
.why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card{
  padding: 32px 28px;
  background: var(--cream);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-m);
  transition: transform .35s var(--ease), border-color .35s;
}
.why-card:hover{
  transform: translateY(-4px);
  border-color: var(--sand-deep);
}
.why-card .icon{
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cream-dim);
  border: 1px solid var(--line-on-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--rust);
}
.why-card .icon svg{ width: 22px; height: 22px; stroke: currentColor; fill: none; }
.why-card h3{ font-size: 1.2rem; margin-bottom: 8px; }
.why-card p{ font-size: 14px; color: var(--umber); }

/* Conditions chips */
.conditions-wrap{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.condition-chip{
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  background: var(--cream);
  border: 1px solid var(--line-on-light);
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.condition-chip:hover{
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
  transform: translateY(-2px);
}

/* Testimonials */
.testimonial-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card{
  background: var(--cream);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-m);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.testimonial-card .stars{
  color: var(--rust);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testimonial-card p{
  font-size: 14.5px;
  color: var(--umber);
  flex: 1;
  line-height: 1.65;
}
.testimonial-card .author{
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-on-light);
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Process on dark bg fix */
.bg-ink .step p{ color: #cfccbc; }
.bg-ink .step h4{ color: var(--cream); }

/* Page hero padding with top bar */
.page-hero{ padding-top: 196px; }

@media (max-width: 1080px){
  .hero-showcase{ grid-template-columns: 1fr; }
  .hero-split{ grid-template-columns: 1fr; }
  .hero-curve-wrap{ justify-self: center; max-width: 400px; }
  .hero-curve-image{ border-radius: var(--radius-l); height: clamp(320px, 55vw, 420px); }
  .hero-curve-ring{ display: none; }
  .hero-curve-badge{ left: 16px; bottom: 16px; }
  .showcase-slider{ max-height: 380px; }
  .counter-grid{ grid-template-columns: 1fr 1fr; }
  .why-grid{ grid-template-columns: 1fr 1fr; }
  .testimonial-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .hero-new{ padding-top: 156px; }
  .page-hero{ padding-top: 164px; }
  .showcase-slider{
    aspect-ratio: 4 / 3;
    max-height: none;
  }
  .stat-badge b{ font-size: 1.8rem; }
  .floating-call{ width:52px; height:52px; right:18px; bottom:18px; }
  .stat-strip-v2 .container{ gap:20px 32px; }
  .counter-grid{ grid-template-columns: 1fr; }
  .why-grid{ grid-template-columns: 1fr; }
  .top-bar .container{ justify-content: center; font-size: 12px; }
  .site-header{ top: 34px; }
}

 /* ============================================================
    HERO LOTTIE — ACTUAL CHARACTER SIZE
    ============================================================ */

.hero-side-lottie {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 1 / 1.12;
  position: relative;
  justify-self: end;
  align-self: center;
  z-index: 1;
  overflow: visible;
}

/* Make the actual Lottie artwork bigger */
.hero-side-lottie dotlottie-wc {
  display: block;
  width: 150%;
  height: 150%;
  filter: drop-shadow(0 18px 36px rgba(29,29,29,0.08));

  /* Scale unchanged — shift up slightly so legs aren't cropped */
  transform: scale(1.65) translateY(-5%);
  transform-origin: center 44%;

  animation: heroLottieFloatLarge 7s ease-in-out 1.4s infinite;
}

@keyframes heroLottieFloatLarge {
  0%, 100% {
    transform: scale(1.65) translateY(-5%);
  }

  50% {
    transform: scale(1.65) translateY(calc(-5% - 10px));
  }
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1080px) {

  .hero-side-lottie {
    width: min(500px, 90vw);
    max-width: 500px;
    justify-self: center;
    margin: 0 auto;
  }

  .hero-side-lottie dotlottie-wc {
    transform: scale(1.5);
    animation: heroLottieFloatTablet 7s ease-in-out 1.4s infinite;
  }

  @keyframes heroLottieFloatTablet {
    0%, 100% {
      transform: scale(1.5) translateY(0);
    }

    50% {
      transform: scale(1.5) translateY(-8px);
    }
  }
}


/* =========================
   MOBILE — Lottie size only
   ========================= */

@media (max-width: 640px) {

  .hero-new > .container{
    overflow: visible;
  }

  .hero-split{
    overflow: visible;
    gap: 8px;
  }

  .hero-top .hero-actions{
    margin-bottom: 4px;
  }

  .hero-side-lottie {
    width: min(350px, 88vw);
    max-width: 88vw;
    margin: 16px auto 0;
    justify-self: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-side-lottie dotlottie-wc {
    width: 118%;
    height: 118%;
    margin: -9%;
    transform: scale(1.35);
    transform-origin: center center;
    animation: heroLottieFloatMobile 7s ease-in-out 1.4s infinite;
  }

  @keyframes heroLottieFloatMobile {
    0%, 100% {
      transform: scale(1.35) translateY(0);
    }

    50% {
      transform: scale(1.35) translateY(-6px);
    }
  }
}

/* ========================================================================
   Site-wide responsive overflow fixes (Lottie sizes unchanged)
   ======================================================================== */
.site-header,
.top-bar,
.cta-banner,
.stat-strip-v2,
.site-footer,
.service-panel,
.service-intro,
.zigzag-timeline {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.service-intro{
  overflow: hidden;
}

.zigzag-item{
  min-width: 0;
}

@media (max-width: 640px){
  .hero-new .hero-arc{
    width: min(80vw, 400px);
    right: -22%;
    opacity: 0.2;
  }
  .hero-new::before{
    width: min(65vw, 340px);
    right: -28%;
  }
  .shape-blob{
    opacity: 0.18;
    filter: blur(48px);
  }
  .deco-ring{
    opacity: 0.35;
  }
  .hero-top h1{
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
  .service-intro-text h2{
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }
  .service-intro-img{
    aspect-ratio: 4 / 3;
    max-height: 320px;
  }
  .zigzag-media{
    aspect-ratio: 4 / 3;
  }
}
