/* Align Osteopathy – preview site.
   Palette is taken from the clinic's own brand: the pastel teal #8eccc7 that dominates
   the current site, and the olive-grey #7d7c6e of its footer. Neither is dark enough to
   carry body text, so both are anchored by a deeper teal drawn from the same hue. */

:root {
  --ink:        #1e2b29;
  --body:       #3d4a48;
  --muted:      #66746f;

  --teal-deep:  #2c5e58;
  --teal-mid:   #47837b;
  --teal-soft:  #8eccc7;
  --teal-wash:  #e4f1ef;

  --olive:      #7d7c6e;
  --sand:       #efe7dc;
  --cream:      #faf7f2;
  --paper:      #ffffff;

  --line:       #ddd5c9;

  --wrap:       min(1160px, 100% - 2.5rem);
  --radius:     14px;
  --radius-lg:  22px;
  --shadow:     0 1px 2px rgba(30, 43, 41, .05), 0 12px 32px -14px rgba(30, 43, 41, .22);

  --step--1:    clamp(.82rem, .79rem + .14vw, .9rem);
  --step-0:     clamp(1rem, .96rem + .2vw, 1.09rem);
  --step-1:     clamp(1.15rem, 1.08rem + .34vw, 1.35rem);
  --step-2:     clamp(1.45rem, 1.3rem + .72vw, 1.9rem);
  --step-3:     clamp(1.8rem, 1.5rem + 1.45vw, 2.7rem);
  --step-4:     clamp(2.2rem, 1.6rem + 2.9vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--teal-mid); }

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: var(--wrap); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--teal-deep); color: #fff;
  padding: .8rem 1.2rem; border-radius: 0 0 var(--radius) 0;
  font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; color: #fff; }

.eyebrow {
  font-size: var(--step--1);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-mid);
  margin-bottom: .9rem;
}

.lede { font-size: var(--step-1); line-height: 1.55; color: var(--body); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step-0);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.btn--primary { background: var(--teal-deep); color: #fff; }
.btn--primary:hover { background: #23504b; color: #fff; }

.btn--ghost { border-color: var(--teal-deep); color: var(--teal-deep); background: transparent; }
.btn--ghost:hover { background: var(--teal-wash); color: var(--teal-deep); }

.btn--light { background: #fff; color: var(--teal-deep); }
.btn--light:hover { background: var(--teal-wash); color: var(--teal-deep); }

.btn--outline-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 247, 242, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
  padding-block: .7rem;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 148px; height: auto; }

.site-nav {
  display: flex; gap: 1.6rem; margin-left: auto;
  font-size: var(--step--1);
  letter-spacing: .04em;
  font-weight: 500;
}
.site-nav a {
  color: var(--body); text-decoration: none;
  padding-block: .35rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--teal-deep); border-bottom-color: var(--teal-soft); }

.header-actions { display: flex; gap: .6rem; align-items: center; margin-left: auto; }
.header-actions .btn { min-height: 44px; padding: .5rem 1.15rem; font-size: var(--step--1); }
.site-nav + .header-actions { margin-left: 0; }

/* ---------- hero ---------- */

.hero { background: var(--paper); border-bottom: 1px solid var(--line); }

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.hero h1 { margin-bottom: .35em; }
.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--teal-deep);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }

.hero__facts {
  display: flex; flex-wrap: wrap; gap: .6rem 2rem;
  margin-top: 2rem; padding-top: 1.7rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--muted);
}
.hero__facts p { margin: 0; }
.hero__facts strong { color: var(--ink); font-weight: 600; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero__badge {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--teal-deep); color: #fff;
  border-radius: var(--radius);
  padding: .85rem 1.2rem;
  box-shadow: var(--shadow);
  line-height: 1.3;
  max-width: 15rem;
}
.hero__badge .rating {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.6rem;
  display: block;
}
.hero__badge span.sub { font-size: var(--step--1); opacity: .88; }

.status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--step--1); font-weight: 600;
  color: var(--teal-deep);
  background: var(--teal-wash);
  border-radius: 999px;
  padding: .35rem .95rem;
  margin: 0 0 1.3rem;
}
.status__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-mid);
  flex-shrink: 0;
}
.status[data-open="yes"] .status__dot { background: #2f8f5b; }
.status[data-open="no"]  .status__dot { background: var(--olive); }

/* ---------- trust strip ---------- */

.trust { background: var(--teal-deep); color: #fff; }
.trust ul {
  list-style: none; margin: 0; padding: 1.6rem 0;
  display: grid; gap: .9rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  font-size: var(--step--1);
}
.trust li { display: flex; gap: .6rem; align-items: flex-start; }
.trust svg { flex-shrink: 0; margin-top: .18em; }

/* ---------- generic section ---------- */

.section { padding-block: clamp(3.4rem, 8vw, 6rem); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }

/* The header is sticky, so an in-page jump would otherwise land with the section
   heading hidden underneath it. */
[id] { scroll-margin-top: 92px; }

.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p:last-child { color: var(--muted); }

/* ---------- services ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  display: flex; flex-direction: column;
}
.section--paper .card { background: var(--cream); }
.card h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.card p { font-size: var(--step--1); color: var(--body); }
.card .price {
  margin-top: auto; padding-top: 1.1rem;
  font-size: var(--step--1);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.card .price strong { color: var(--teal-deep); font-weight: 600; }

/* ---------- feature (pelvic health) ---------- */

.feature {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.feature img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.tick-list {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .55rem 1.6rem;
  font-size: var(--step--1);
}
.tick-list li { display: flex; gap: .55rem; align-items: flex-start; }
.tick-list svg { flex-shrink: 0; margin-top: .3em; color: var(--teal-mid); }

/* ---------- team ---------- */

.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); }

.member {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.member__body { padding: 1.8rem 1.7rem 2rem; }
.member h3 { margin-bottom: .1em; }
.member .role {
  font-size: var(--step--1); color: var(--teal-mid);
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.member p { font-size: var(--step--1); }

.creds { list-style: none; margin: 1.2rem 0 0; padding: 0; font-size: var(--step--1); }
.creds li {
  padding: .45rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.member .avail {
  margin-top: 1.2rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: var(--step--1);
  color: var(--body);
}
.member .avail strong { color: var(--ink); font-weight: 600; }

/* ---------- prices ---------- */

.price-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.4rem 2.6rem; }

.price-group h3 { font-size: var(--step-1); margin-bottom: .8rem; }
.price-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.price-table th {
  text-align: left; font-weight: 500; color: var(--body);
  padding: .65rem 0; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table td {
  text-align: right; white-space: nowrap; padding: .65rem 0 .65rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 600;
  vertical-align: top;
}
.price-note { margin-top: 1.6rem; font-size: var(--step--1); color: var(--muted); }

/* ---------- testimonial ---------- */

.quote {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.quote blockquote {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--step-2);
  line-height: 1.42;
  color: var(--ink);
}
.quote figcaption { margin-top: 1.4rem; font-size: var(--step--1); color: var(--muted); }
.quote img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); }

.rating-block {
  margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: var(--step--1); color: var(--muted);
}
.rating-block strong { color: var(--ink); font-size: var(--step-1); font-weight: 600; }
.stars { color: #b8891f; letter-spacing: .1em; }

/* ---------- visit ---------- */

.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }

/* Sits under both columns rather than inside one, because the two halves are naturally
   different heights. Capped at the source width so the crop never upscales. */
.visit-photo {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 32%;
  border-radius: var(--radius-lg);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.hours { width: 100%; border-collapse: collapse; font-size: var(--step--1); margin-top: .4rem; }
.hours th {
  text-align: left; font-weight: 500; color: var(--body);
  padding: .5rem 0; border-bottom: 1px solid var(--line);
}
.hours td {
  text-align: right; padding: .5rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hours tr[data-today] th, .hours tr[data-today] td { color: var(--teal-deep); }

.contact-list { list-style: none; margin: 0 0 1.8rem; padding: 0; font-size: var(--step-0); }
.contact-list li { padding: .55rem 0; display: flex; gap: .75rem; align-items: flex-start; }
.contact-list svg { flex-shrink: 0; margin-top: .32em; color: var(--teal-mid); }
.contact-list a { font-weight: 600; }

.note {
  margin-top: 1.8rem; padding: 1.2rem 1.4rem;
  background: var(--teal-wash);
  border-radius: var(--radius);
  font-size: var(--step--1);
  color: var(--body);
}
.note strong { color: var(--ink); }

/* ---------- closing CTA ---------- */

.cta-band { background: var(--teal-deep); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 38rem; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; }

/* ---------- footer ---------- */

.site-footer { background: var(--olive); color: #fff; padding-block: 3rem 2.2rem; }
.site-footer a { color: #fff; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.28);
}
.site-footer img { width: 150px; margin-bottom: 1.1rem; }
.site-footer h4 {
  color: #fff; font-family: 'Inter', sans-serif;
  font-size: var(--step--1); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: .9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; font-size: var(--step--1); }
.site-footer li { padding: .25rem 0; }
.site-footer p { font-size: var(--step--1); color: rgba(255,255,255,.9); }
.socials { display: flex; gap: 1rem; margin-top: 1rem; }
.socials a { display: inline-flex; }
.colophon {
  padding-top: 1.5rem; font-size: var(--step--1);
  color: rgba(255,255,255,.82);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}
.colophon p { margin: 0; color: inherit; }

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .hero__inner, .feature, .quote, .visit, .team { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__badge { left: 12px; }
  .feature img, .quote img { aspect-ratio: 16 / 10; }
  .site-nav { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  :root { --wrap: min(1160px, 100% - 2rem); }
  .site-header__inner { min-height: 68px; gap: .75rem; }
  .brand img { width: 118px; }
  .header-actions .btn { padding: .5rem .95rem; }
  .header-actions .btn--ghost { display: none; }
  .hero__facts { gap: .5rem 1.5rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .member__body { padding: 1.5rem 1.3rem 1.7rem; }
}

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