/* ==========================================================================
   Dr Martelize Weyers Inc. – Inner pages
   Loaded after styles.css on every page except the homepage, so the
   homepage keeps exactly the styles it was approved with.
   ========================================================================== */

/* Navigation state -------------------------------------------------------- */
.site-nav__trigger.is-current::after { transform: scaleX(1); }
.submenu a[aria-current="page"] { background: var(--grey); padding-left: 1.75rem; }
.submenu a[aria-current="page"]::before { transform: scaleY(1); }

/* Footer: legal links beside the copyright line */
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 2rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }

/* Shared pieces ----------------------------------------------------------- */
.btn--light { background: var(--white); color: var(--navy); }

.inline-link,
.article p a,
.article li a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  transition: text-decoration-color var(--fast), color var(--fast);
}
.inline-link:hover,
.article p a:hover,
.article li a:hover { text-decoration-color: var(--navy); }

/* Page hero --------------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: var(--grey); }
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.page-hero__copy > * { animation: rise .9s var(--ease) both; }
.page-hero__copy > :nth-child(2) { animation-delay: .06s; }
.page-hero__copy > :nth-child(3) { animation-delay: .12s; }
.page-hero__copy > :nth-child(4) { animation-delay: .18s; }
.page-hero__copy > :nth-child(5) { animation-delay: .24s; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--font-display);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.breadcrumb li { display: flex; align-items: center; gap: .65rem; }
.breadcrumb li + li::before { content: ""; width: .9rem; height: 1px; background: var(--teal); }
.breadcrumb a {
  text-decoration: none;
  background: linear-gradient(var(--teal), var(--teal)) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.breadcrumb a:hover { background-size: 100% 1px; }
.breadcrumb [aria-current] { color: var(--navy); }

.page-title { margin: 0; font-weight: 300; text-wrap: balance; }
.page-title__main {
  display: block;
  font-size: clamp(2.375rem, 1.4rem + 2.8vw, 3.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.page-title__sub {
  display: block;
  margin-top: .75rem;
  font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--ink-soft);
}
.page-hero__lead {
  max-width: 40rem;
  margin-block: 1.75rem 2.5rem;
  font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  line-height: 1.65;
  color: var(--ink-soft);
}
.page-hero__lead:last-child { margin-bottom: 0; }

/* Visual: a photo (or line-art panel) set on a light-blue field */
.page-hero__visual {
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: 100%;
  max-width: 27rem;
  padding: 0 0 2.25rem 2.25rem;
}
.page-hero__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 70%;
  background: var(--blue);
}
.page-hero__media { overflow: hidden; animation: open-left 1.3s var(--ease) .1s both; }
.page-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  animation: settle 1.8s var(--ease) .1s both;
}
/* Second, smaller photo overlapping the lower-left corner */
.page-hero__inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44%;
  border: clamp(6px, .8vw, 9px) solid var(--white);
  box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--navy) 32%, transparent);
  animation: rise 1s var(--ease) .6s both;
}
.page-hero__inset img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Service pages: sidebar + article --------------------------------------- */
.service-body { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
/* Article on the left, sidebar on the right */
.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15.5rem, 19rem);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
}

/* The aside runs the full height of the article. The form's wrapper takes
   up all the spare height, so the form sticks below the nav bar while the
   article scrolls; the service list and booking card sit at the foot of the
   sidebar and arrive as the article ends, pushing the form along with them. */
.service-aside {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.service-aside__form { flex: 1; }
.service-aside__form .form-card { position: sticky; top: 7.25rem; }

.side-nav { background: var(--grey); border-top: 2px solid var(--teal); }
.side-nav__summary { display: none; }
.side-nav__title {
  padding: 1.5rem 1.5rem .25rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.side-nav__group { padding-block: .5rem; }
.side-nav__group + .side-nav__group { border-top: 1px solid var(--line); }
.side-nav__label {
  display: block;
  padding: .65rem 1.5rem .3rem;
  font-family: var(--font-display);
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.side-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .6rem 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color var(--fast), color var(--fast), padding var(--fast) var(--ease);
}
.side-nav a .icon { width: 1.375rem; height: 1.375rem; stroke-width: 1.2; color: var(--teal); transition: color var(--fast); }
.side-nav a::before {
  content: "";
  position: absolute;
  left: 0; top: .45rem; bottom: .45rem;
  width: 2px;
  background: var(--teal);
  transform: scaleY(0);
  transition: transform var(--fast) var(--ease);
}
.side-nav a:hover { background: var(--white); padding-left: 1.75rem; }
.side-nav a:hover::before { transform: scaleY(1); }
.side-nav a[aria-current="page"] { background: var(--navy); color: var(--white); padding-left: 1.5rem; }
.side-nav a[aria-current="page"] .icon { color: var(--blue); }
.side-nav a[aria-current="page"]::before { display: none; }
.side-nav__current-mark { margin-left: auto; width: 1rem; height: 1rem; }

/* Booking card under the service list */
.book-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--navy);
  color: var(--blue);
  font-size: 1rem;
  line-height: 1.55;
}
.book-card .art {
  top: .75rem; right: .75rem;
  width: 3.5rem; height: 4rem;
  stroke: var(--teal);
  transform: rotate(18deg);
  opacity: .7;
}
.book-card__row + .book-card__row { margin-top: 1rem; }
.book-card__row > a {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--white);
  text-decoration: none;
  background: linear-gradient(var(--teal), var(--teal)) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.book-card__row > a:hover { background-size: 100% 1px; }
.book-card .hours { color: var(--white); font-size: .9375rem; }
.book-card .btn {
  width: 100%;
  justify-content: space-between;
  gap: .5rem;
  margin-top: 1.5rem;
  padding-inline: 1.25rem;
  font-size: .6875rem;
  letter-spacing: .12em;
  white-space: nowrap;
}

/* Enquiry form ------------------------------------------------------------ */
.form-card {
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--teal);
}
.form-card__title {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
}

.enquiry-form { display: grid; gap: 1rem; }
.enquiry-form--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.enquiry-form--wide .field--full { grid-column: 1 / -1; }

.field { display: grid; gap: .1rem; }
.field .label { margin-bottom: .3rem; }
.enquiry-form input:not([type="checkbox"]),
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .9rem;
  border: 1px solid color-mix(in srgb, var(--navy) 24%, transparent);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.enquiry-form textarea { resize: vertical; min-height: 7rem; }
.enquiry-form select {
  appearance: none;
  padding-right: 2.5rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23063b4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 13 7 7 7-7'/%3E%3C/svg%3E") no-repeat right .85rem center / 1rem;
}
.enquiry-form input:not([type="checkbox"]):focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent);
}
/* Spam trap: hidden from people, filled in by bots */
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .7rem;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input { width: 1.1rem; height: 1.1rem; margin: .2em 0 0; accent-color: var(--navy); }
.consent a { color: var(--navy); text-decoration-color: var(--teal); text-underline-offset: .2em; }

.enquiry-form .btn { width: 100%; justify-content: space-between; }
.enquiry-form--wide .btn { width: auto; }
.form-card .btn { font-size: .6875rem; letter-spacing: .12em; padding-inline: 1.25rem; }

.form-status {
  margin: 0;
  padding: .85rem 1rem;
  border-left: 2px solid var(--teal);
  background: color-mix(in srgb, var(--blue) 32%, var(--white));
  font-size: .9375rem;
  line-height: 1.5;
}
.form-status[data-state="error"] { border-left-color: var(--navy); }

/* Contact page form section */
.enquiry { border-bottom: 1px solid var(--line); }
/* Form with its heading on the left, practice details card beside it */
.enquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
}

/* Article ----------------------------------------------------------------- */
.article { max-width: 54rem; }
.article p { color: var(--ink-soft); }
.article strong { font-weight: 500; color: var(--ink); }

.article__section + .article__section {
  margin-top: clamp(2.75rem, 2rem + 2.5vw, 4rem);
  padding-top: clamp(2.75rem, 2rem + 2.5vw, 4rem);
  border-top: 1px solid var(--line);
}
.article__title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.0625rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.015em;
  text-wrap: balance;
}
/* Short teal rule beneath each section title, as on the homepage headings */
.article__title::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 1.1rem;
  background: var(--teal);
}
.article__lead { font-size: clamp(1.1875rem, 1.1rem + .3vw, 1.3125rem); line-height: 1.6; }
.article .article__lead { color: var(--ink); }

/* Panel sections: grey ground for practical "how to prepare" style advice */
.article__section--panel {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--grey);
}
.article__section + .article__section--panel { border-top: 0; }
.article__section--panel + .article__section { border-top: 0; padding-top: 0; }
/* Icon sits beside the heading; the text below spans the full width */
.article__section--panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1.1rem;
  align-items: start;
}
.article__section--panel > * { grid-column: 1 / -1; }
.article__section--panel > .service__icon { grid-column: 1; margin: -.2rem 0 0; }
.article__section--panel > .article__title { grid-column: 2; }

/* Dark section for a definition worth pausing on */
.article__section--dark {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4.5vw, 3.25rem);
  background: var(--navy);
  color: var(--white);
}
.article__section + .article__section--dark { border-top: 0; }
.article__section--dark + .article__section { border-top: 0; padding-top: 0; }
.article .article__section--dark p { color: var(--blue); }
.article .article__section--dark .note { color: var(--white); }
.article__section--dark .article__title::after { background: var(--blue); }
.article__section--dark .art {
  right: -1rem; bottom: -2rem;
  width: 7rem; height: 11rem;
  opacity: .5;
  transform: rotate(-14deg);
}
.article__section--dark > :not(.art) { position: relative; }

/* Teal-ruled emphasis for a key sentence */
.note {
  padding-left: 1.5rem;
  border-left: 2px solid var(--teal);
}
.article .note { color: var(--ink); }

/* Two-column checklist with hairlines */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2.25rem;
  margin-block: 1.5rem 1.75rem;
  border-top: 1px solid var(--line);
}
.check-list:last-child { margin-bottom: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding-block: .95rem;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}
.check-list .icon { margin-top: .15em; color: var(--teal); }
.check-list--single { grid-template-columns: minmax(0, 1fr); }
/* Urgent variant (inside callouts): bolder text, navy ticks */
.check-list--urgent { margin-top: .25rem; margin-bottom: 1.25rem; }
.check-list--urgent li { font-weight: 600; }
.check-list--urgent .icon { color: var(--navy); }

/* Hairline tile grid (conditions) */
.tile-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-block: 1.75rem;
  background: var(--line);
  border: 1px solid var(--line);
}
.tile-list li {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 1.35rem;
  background: var(--white);
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.45;
  transition: background-color var(--fast);
}
.tile-list li::after { content: ""; width: 1.75rem; height: 2px; margin-top: auto; background: var(--teal); }
.tile-list li:hover { background: var(--grey); }

/* Rounded tags (skin conditions) */
.pill-list { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.pill-list li {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--grey);
  font-size: 1rem;
  line-height: 1.35;
}
.pill-list li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--teal); flex: none; }

/* Treatment cards */
.treatment-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1.75rem;
  background: var(--line);
  border: 1px solid var(--line);
}
.treatment-cards li {
  padding: 1.75rem 1.6rem 1.9rem;
  background: var(--white);
  color: var(--ink-soft);
  line-height: 1.6;
}
.treatment-cards strong { font-family: var(--font-display); font-size: 1rem; font-weight: 500; }

/* Paired paragraphs as cards */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.article .duo p {
  margin: 0;
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--line);
  border-top: 2px solid var(--teal);
}

/* Callouts: light-blue ground, navy rule, line icon */
.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
  padding: 1.6rem 1.75rem;
  background: color-mix(in srgb, var(--blue) 32%, var(--white));
  border-left: 3px solid var(--navy);
}
.callout > .icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.25; color: var(--navy); }
.article .callout p { color: var(--ink); }
.callout__list { margin-block: .25rem 1.25rem; }
.callout__list li {
  position: relative;
  padding: .55rem 0 .55rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  line-height: 1.5;
}
.callout__list li:first-child { border-top: 1px solid var(--line); }
.callout__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.3em;
  width: .7rem; height: 2px;
  background: var(--navy);
}

/* Text beside a supporting photo */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 14.5rem);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
.split__media { overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 35%; }

/* Closing call to action */
.article__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

/* About ------------------------------------------------------------------- */
.page-hero__visual--about .page-hero__media img { object-position: 50% 22%; }
.about-hero__signature { width: clamp(8.5rem, 11vw, 10.5rem); margin-top: 1.75rem; }

.story { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }

/* Opening statement in the display face */
.story__lead {
  max-width: 64rem;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + .35vw, 1.3125rem);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.story__lead::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-top: 1.75rem;
  background: var(--teal);
}

/* Three themes side by side, divided by hairlines like the homepage services grid */
.story__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.story__col {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2.25rem) clamp(2rem, 3vw, 2.75rem);
  background: var(--white);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.story__col:first-child { padding-left: 0; }
.story__col:last-child { padding-right: 0; }
.story__col .service__icon { margin-bottom: 1.5rem; }

/* Closing note on navy, with the butterfly line art */
.story__close {
  position: relative;
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.75rem, 5vw, 4rem);
  padding-right: clamp(1.75rem, 14vw, 12rem);
  background: var(--navy);
}
.story__close p {
  max-width: 56rem;
  font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem);
  line-height: 1.65;
  color: var(--white);
}
.story__close a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: .22em;
  transition: text-decoration-color var(--fast);
}
.story__close a:hover { text-decoration-color: var(--blue); }
.story__close .art {
  top: 50%;
  right: clamp(1.5rem, 4vw, 3.5rem);
  width: clamp(4.5rem, 8vw, 7rem);
  height: clamp(5rem, 9vw, 8rem);
  stroke: var(--blue);
  opacity: .6;
  translate: 0 -50%;
  transform: rotate(14deg);
}

.team { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); background: var(--grey); }
.team__head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.team__head .heading { margin-bottom: 0; }
.team__head .heading--accent::after { margin-inline: auto; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 62rem;
  margin-inline: auto;
}
.team-card {
  display: grid;
  align-content: start;
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--white);
  border-top: 2px solid var(--teal);
}
.monogram {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--blue);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--navy);
}
.monogram .icon { width: 2rem; height: 2rem; stroke-width: 1.2; }
.team-card__name { margin-bottom: .35rem; font-size: 1.375rem; font-weight: 500; line-height: 1.25; }
.team-card .label { margin-bottom: 1.1rem; color: var(--ink-soft); }
.team-card p { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.65; }
.team__cta { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* Contact ----------------------------------------------------------------- */
.contact-hero .page-hero__lead { max-width: 54rem; margin-bottom: 0; }

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--navy);
  color: var(--blue);
}
.contact-card .art {
  top: 1.25rem; right: 1.25rem;
  width: 4.5rem; height: 5rem;
  transform: rotate(18deg);
  opacity: .65;
}
.contact-card__title {
  max-width: 19rem;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--white);
}
.contact-card__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.05rem;
  border-top: 1px solid var(--line-dark);
}
.contact-card__list .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.25; color: var(--teal); }
.contact-card__list a {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--white);
  text-decoration: none;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--teal), var(--teal)) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.contact-card__list a:hover { background-size: 100% 1px; }
.contact-card__list address a { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 400; }
.contact-card .hours { color: var(--white); font-size: 1rem; }

.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.visit__bring { padding: clamp(1.75rem, 4vw, 3rem); background: var(--grey); }
.visit__bring .check-list { grid-template-columns: minmax(0, 1fr); margin-bottom: 0; }
.visit__block + .visit__block { margin-top: 2.75rem; padding-top: 2.75rem; border-top: 1px solid var(--line); }
.visit__title { margin-bottom: 1.1rem; font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem); font-weight: 400; line-height: 1.25; }
.visit__bring .service__icon { margin-bottom: 1.25rem; }
.visit p { color: var(--ink-soft); }

.emergency { background: var(--blue); padding-block: clamp(2.75rem, 2rem + 3vw, 4.25rem); }
.emergency__grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}
.emergency__icon { width: 3rem; height: 3rem; stroke-width: 1.15; color: var(--navy); }
.emergency__title { margin-bottom: .6rem; font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem); font-weight: 500; }
.emergency__text { max-width: 42rem; }
.emergency__dial { display: flex; gap: 1px; background: color-mix(in srgb, var(--navy) 20%, transparent); }
.emergency__dial a {
  display: grid;
  gap: .2rem;
  min-width: 9rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  text-decoration: none;
  transition: background-color var(--fast), color var(--fast);
}
.emergency__dial a:hover { background: var(--navy); color: var(--white); }
.emergency__dial strong { font-family: var(--font-display); font-size: 1.75rem; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; }
.emergency__dial span { font-family: var(--font-display); font-size: .625rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* Legal ------------------------------------------------------------------- */
.page-hero--compact .page-hero__grid { grid-template-columns: minmax(0, 1fr); padding-block: clamp(2.75rem, 2rem + 3vw, 4.25rem); }
.page-hero--compact .page-hero__lead { margin-bottom: 0; }
.page-hero--compact .art--butterfly { top: 50%; translate: 0 -50%; }

.legal__grid {
  display: grid;
  grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
}
.legal__aside { position: sticky; top: 7.25rem; }
.toc { background: var(--grey); border-top: 2px solid var(--teal); padding-bottom: .75rem; }
.toc .side-nav__title { padding-bottom: .75rem; }
.toc a {
  display: block;
  padding: .45rem 1.5rem;
  font-size: .9375rem;
  line-height: 1.4;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color var(--fast), background-color var(--fast);
}
.toc a:hover { color: var(--navy); background: var(--white); }

.legal__content { max-width: 46rem; color: var(--ink-soft); }
.legal__content .lead { color: var(--ink); }
.legal__section { padding-top: 2.25rem; margin-top: 2.25rem; border-top: 1px solid var(--line); }
.legal__section h2 { margin-bottom: 1rem; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 500; line-height: 1.3; color: var(--ink); }
.legal__content ul { margin-block: 0 1.25rem; }
.legal__content ul li { position: relative; padding: .3rem 0 .3rem 1.5rem; }
.legal__content ul li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: .7rem; height: 1px; background: var(--teal); }
.legal__content address { color: var(--ink); line-height: 1.7; }
.legal__content a { color: var(--navy); text-decoration-color: var(--teal); text-underline-offset: .22em; }

/* Responsive -------------------------------------------------------------- */
/* Tablet portrait: keep hero photos beside the title instead of stacking */
@media (min-width: 641px) and (max-width: 860px) {
  .page-hero:not(.page-hero--compact) .page-hero__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2.5rem; }
  .page-hero__visual { justify-self: end; padding: 0 0 1.5rem 1.5rem; }
}

/* Contact: card drops below the form until there is room beside it */
@media (max-width: 1100px) {
  .enquiry__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 640px) and (max-width: 1100px) {
  .contact-card__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}
@media (max-width: 860px) {
  .emergency__dial a { flex: 1; }
}

/* Short screens: let the sidebars scroll with the page */
@media (max-height: 760px) {
  .legal__aside { position: static; }
  /* Laptop heights: tighten the sticky form so all of it fits on screen */
  .service-aside__form .form-card { top: 6.25rem; padding-block: 1.1rem 1.15rem; }
  .form-card__title { margin-bottom: .75rem; font-size: 1.125rem; }
  .form-card .enquiry-form { gap: .6rem; }
  .form-card .field .label { margin-bottom: .15rem; }
  .form-card input:not([type="checkbox"]),
  .form-card select { min-height: 2.6rem; padding-block: .5rem; }
  .form-card textarea { min-height: 4.5rem; }
  .form-card .consent { font-size: .8125rem; line-height: 1.4; }
  .form-card .btn { min-height: 2.9rem; padding-block: .75rem; }
}

@media (max-width: 1024px) {
  .legal__aside,
  .service-aside__form .form-card { top: 6.5rem; }
  .tile-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sidebars collapse into a disclosure above the article */
@media (max-width: 960px) {
  .service-layout,
  .legal__grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .service-aside,
  .service-aside__form { display: contents; }
  .side-nav { order: -1; }
  .form-card { order: 2; }
  .book-card { order: 3; }
  .legal__aside { position: static; }

  .side-nav__summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    list-style: none;
  }
  .side-nav__summary::-webkit-details-marker { display: none; }
  .side-nav__summary-text { display: grid; flex: 1; gap: .15rem; }
  .side-nav__summary-text .label { margin: 0; }
  .side-nav__summary-current { font-size: 1.0625rem; line-height: 1.35; }
  .side-nav__summary .icon { color: var(--teal); transition: transform var(--fast) var(--ease); }
  .side-nav[open] .side-nav__summary .icon { transform: rotate(180deg); }
  .side-nav[open] .side-nav__summary { border-bottom: 1px solid var(--line); }
  .side-nav__title { display: none; }
  .side-nav a { padding-inline: 1.25rem; }
  .toc a { padding-inline: 1.25rem; }

  .book-card { padding: 2rem clamp(1.25rem, 4vw, 2.5rem); }
  .book-card__rows { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 1.25rem 2.5rem; justify-content: start; }
  .book-card__row + .book-card__row { margin-top: 0; }
  .book-card .btn { width: auto; }

  .article { max-width: none; }
}

@media (min-width: 561px) and (max-width: 960px) {
  .side-nav__group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .page-hero__grid,
  .visit__grid,
  .enquiry__grid { grid-template-columns: minmax(0, 1fr); }

  .page-hero__visual { justify-self: start; max-width: 25rem; }
  .emergency__grid { grid-template-columns: auto minmax(0, 1fr); }
  .emergency__dial { grid-column: 1 / -1; }
  .team__grid { grid-template-columns: minmax(0, 1fr); }
  .story__cols { grid-template-columns: minmax(0, 1fr); background: none; border: 0; }
  .story__col,
  .story__col:first-child,
  .story__col:last-child { padding: 1.75rem 0; border-top: 1px solid var(--line); }
  .story__col:last-child { border-bottom: 1px solid var(--line); }
  .story__col { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; }
  .story__col .service__icon { margin: 0; }
  .story__close .art { display: none; }
  .story__close { padding-right: clamp(1.75rem, 5vw, 4rem); }
}

@media (max-width: 560px) {
  .page-hero__lead { margin-bottom: 2rem; }
  .page-hero__copy .btn,
  .article__cta .btn,
  .team__cta .btn,
  .book-card .btn { width: 100%; justify-content: center; }
  .page-hero__visual { padding: 0 0 1.5rem 1.5rem; }

  .book-card__rows { grid-template-columns: minmax(0, 1fr); gap: 1rem; }

  .enquiry-form--wide { grid-template-columns: minmax(0, 1fr); }
  .enquiry-form--wide .btn { width: 100%; justify-content: center; }
  .check-list,
  .duo,
  .treatment-cards,
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__media { max-width: 16rem; }
  .tile-list { grid-template-columns: minmax(0, 1fr); }
  .tile-list li { gap: .75rem; padding: 1.1rem 1.25rem; }
  .callout { grid-template-columns: minmax(0, 1fr); gap: .85rem; padding: 1.4rem 1.25rem; }

  .emergency__grid { grid-template-columns: minmax(0, 1fr); }
  .emergency__dial a { flex: 1; min-width: 0; }
}
