/* Self-hosted variable fonts (latin) */
@font-face {
  font-family: 'Roboto'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/roboto-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto Slab'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/roboto-slab-var.woff2') format('woff2');
}
/* Perfect Wellness - single stylesheet. Mobile first. */
:root {
  --ink: #2f3a37;
  --ink-soft: #5c6a66;
  --brand: #4cb681;
  --brand-dark: #2f7d55;
  --link: #2b7350;
  --bg: #ffffff;
  --bg-soft: #f7f4ee;
  --line: #e8e2d7;
  --radius: 10px;
  --measure: 62rem;
  --serif: "Roboto Slab", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }

h1, h2, h3 { font-family: var(--serif); color: #424143; }
h1 { font-size: 1.9rem; line-height: 1.25; font-weight: 700; }
h2 { font-size: 1.4rem; line-height: 1.3; margin: 0 0 .9rem; font-weight: 600; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child, .prose h2#gallery { margin-top: 0; }
h3 { font-size: 1.1rem; margin: 1.2rem 0 .4rem; font-weight: 600; }
@media (min-width: 46rem) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.7rem; }
}

/* Layout */
.wrap { max-width: 70rem; margin: 0 auto; padding: 0 1.25rem; }
main { display: block; }
.prose { max-width: var(--measure); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .6rem 1.2rem; padding-top: .8rem; padding-bottom: .8rem;
}
.logo { display: block; }
.logo img { height: 46px; width: auto; }
.site-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 400; font-size: 1rem;
  padding: .65rem 0;
}
.site-nav a:hover { color: var(--brand-dark); }
.site-nav a[aria-current="page"] { color: var(--brand-dark); font-weight: 500; }

/* Hero */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 2.8rem; padding-bottom: 2.8rem; }
.hero h1 { margin: 0 0 .7rem; }
.hero p.lead { margin: 0; font-size: 1.18rem; color: var(--ink-soft); max-width: var(--measure); }

/* Sections */
section { padding: 2.4rem 0; }
section + section { border-top: 1px solid var(--line); }
ul.checks { list-style: none; padding: 0; margin: .5rem 0 0; max-width: var(--measure); }
ul.checks li { padding: .32rem 0 .32rem 1.7rem; position: relative; }
ul.checks li::before {
  content: ""; position: absolute; left: 0; top: .78rem;
  width: .95rem; height: .5rem; border-left: 3px solid var(--brand);
  border-bottom: 3px solid var(--brand); transform: rotate(-45deg);
}

/* Two-column media rows on wide screens */
.split { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 46rem) { .split { grid-template-columns: 1fr 1fr; } }
.split img { border-radius: var(--radius); }

/* Profile page hero band: small photo + name/contact side by side */
.profile-hero { display: flex; gap: 1.4rem; align-items: center; }
.profile-hero img.avatar {
  width: 116px; height: 145px; object-fit: cover; object-position: center top;
  border-radius: var(--radius); flex-shrink: 0;
}
@media (min-width: 46rem) { .profile-hero img.avatar { width: 144px; height: 180px; } }
.profile-hero h1 { margin: 0 0 .15rem; font-size: 1.7rem; }
@media (min-width: 46rem) { .profile-hero h1 { font-size: 2.1rem; } }
.profile-hero p.role { margin: 0 0 .45rem; color: var(--ink-soft); }
.contact-line { list-style: none; margin: 0 0 .7rem; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; font-size: .97rem; }
.profile-hero .btn { padding: .5rem 1.15rem; font-size: .93rem; }

/* Cards (rooms, practitioners) - whole card is clickable via stretched link */
.grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 34rem) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 54rem) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--bg); display: flex; flex-direction: column;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: 0 6px 20px rgba(36, 53, 47, .13); transform: translateY(-2px); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card .card-body { padding: 1rem 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.1rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: .95rem; flex: 1; }
.card a.more { font-weight: 600; text-decoration: none; margin-top: .55rem; }
.card a.more::after { content: ""; position: absolute; inset: 0; }


/* CSS-only lightbox via :target */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(18, 25, 22, .94); align-items: center; justify-content: center;
}
.lightbox:target { display: flex; }
.lightbox img {
  position: relative; z-index: 1; max-width: 92vw; max-height: 86vh;
  width: auto; height: auto; border-radius: 6px;
}
.lightbox .lb-bg { position: absolute; inset: 0; z-index: 0; }
.lb-prev, .lb-next, .lb-close {
  position: absolute; z-index: 2; color: #fff; text-decoration: none;
  font-size: 3rem; line-height: 1; padding: .8rem 1rem; font-family: var(--serif);
}
.lb-prev:hover, .lb-next:hover, .lb-close:hover { color: #b8e6cf; }
.lb-prev { left: .3rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .3rem; top: 50%; transform: translateY(-50%); }
.lb-close { top: .4rem; right: .8rem; font-size: 2.2rem; }

/* Pricing */
.price-cards { display: grid; gap: 1.2rem; grid-template-columns: 1fr; max-width: var(--measure); }
.price {
  border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.price h3 { margin: 0 0 .2rem; }
.price .amount { font-size: 1.75rem; font-weight: 700; color: var(--brand-dark); font-family: var(--serif); }
.price .amount small { font-size: .95rem; font-weight: 400; color: var(--ink-soft); font-family: Roboto, sans-serif; }
.price ul { margin: .6rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); font-size: .95rem; }

/* Buttons */
.btn {
  display: inline-block; background: var(--brand-dark); color: #fff; text-decoration: none;
  padding: .68rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .97rem;
}
.btn:hover { background: #266746; color: #fff; }
.btn-lg { padding: .85rem 1.9rem; font-size: 1.08rem; }
.btn-outline { background: transparent; color: var(--brand-dark); border: 2px solid var(--brand-dark); }
.btn-outline:hover { background: var(--brand-dark); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 0; }

/* Enquiry form (native, styled; posts to Jotform) */
.enquiry-form { max-width: 62rem; display: grid; gap: .9rem; }
.enquiry-form label { font-weight: 500; font-size: .95rem; display: block; margin-bottom: .25rem; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%; padding: .65rem .8rem; font: inherit; color: var(--ink);
  border: 1px solid #a9b8b1; border-radius: 8px; background: var(--bg);
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus {
  outline: 2px solid var(--brand-dark); outline-offset: 1px; border-color: var(--brand-dark);
}
.enquiry-form textarea { min-height: 8rem; resize: vertical; }
.enquiry-form button {
  justify-self: stretch; background: var(--brand-dark); color: #fff; border: none; cursor: pointer;
  padding: 1.05rem 3.5rem; border-radius: 999px; font-weight: 700; font-size: 1.25rem;
  font-family: inherit; letter-spacing: .02em; margin-top: .4rem;
}
@media (min-width: 40rem) {
  .enquiry-form button { justify-self: start; min-width: 20rem; }
}
.enquiry-form button:hover { background: #266746; }
@media (min-width: 40rem) {
  .enquiry-form .row2 { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
}


/* Contact cards */
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.contact-card h3 { margin: 0; }
.contact-card p.role { margin: 0 0 .5rem; color: var(--ink-soft); font-size: .93rem; }
.contact-card ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.contact-card li { padding: .12rem 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 2.5rem; }
.site-footer .wrap { padding-top: 2.2rem; padding-bottom: 2.2rem; display: grid; gap: 1.5rem; }
@media (min-width: 46rem) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.02rem; margin: 0 0 .5rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .15rem 0; }
.site-footer a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: var(--brand-dark); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--ink-soft); font-size: .95rem; }
.site-footer .fineprint { grid-column: 1 / -1; color: var(--ink-soft); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 1rem; }

/* Inner page heading band */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 2.2rem; padding-bottom: 2.2rem; }
.page-head h1 { margin: 0; }
.page-head p { margin: .45rem 0 0; color: var(--ink-soft); max-width: var(--measure); }

/* Utility */
table { border-collapse: collapse; }


/* Small-print terms near the form */
.terms { font-size: .92rem; color: var(--ink-soft); border-top: 1px solid var(--line); margin-top: 1.8rem; padding-top: 1.1rem; }

/* Full-width room hero + swipeable film strip */
.room-hero img.hero-img {
  width: 100%; height: clamp(340px, 58vw, 680px); object-fit: cover; display: block;
}
.film-strip {
  display: flex; flex-wrap: wrap; gap: .7rem; padding: .8rem 1.25rem;
  max-width: 70rem; margin: 0 auto;
}
.film-strip a { flex: 0 0 auto; }
.film-strip img { height: 150px; width: auto; border-radius: 8px; display: block; }
@media (min-width: 46rem) { .film-strip img { height: 220px; } }

/* Enquiry band: tinted section so the form stands out */
.enquire-band { background: #eaf6ee; border-top: 1px solid #d8ebdd; border-bottom: 1px solid #d8ebdd; }
.enquire-band .wrap { padding-top: 2.8rem; padding-bottom: 3rem; }
.enquire-band .terms { border-top-color: #d8ebdd; }

/* Practitioner list: small uniform photo + name, role, blurb */
.plist { display: grid; gap: 1rem; max-width: var(--measure); }
.plist-row {
  position: relative; display: flex; gap: 1.2rem; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem;
  background: var(--bg); transition: box-shadow .15s ease, transform .15s ease;
}
.plist-row:hover { box-shadow: 0 6px 20px rgba(36, 53, 47, .13); transform: translateY(-2px); }
.plist-row img {
  width: 92px; height: 115px; object-fit: cover; object-position: center top;
  border-radius: 8px; flex-shrink: 0;
}
@media (min-width: 46rem) { .plist-row img { width: 118px; height: 148px; } }
.plist-row h3 { margin: 0; }
.plist-row p.role { margin: 0 0 .45rem; color: var(--ink-soft); font-size: .93rem; }
.plist-row p.blurb { margin: 0 0 .4rem; font-size: .98rem; }
.plist-row a.more { font-weight: 600; text-decoration: none; }
.plist-row a.more::after { content: ""; position: absolute; inset: 0; }

/* Mobile: room photos become a swipeable slider; the next photo peeks in
   from the edge so it is obviously swipeable */
.swipe-hint { display: none; }
@media (max-width: 45.99rem) {
  .room-hero { display: none; }
  .swipe-hint {
    display: block; margin: 0 0 .4rem; padding: 0 1rem;
    font-size: .85rem; color: #5c6b64; text-align: center;
  }
  .film-strip {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; gap: .5rem; padding: 0 1rem; scrollbar-width: none;
  }
  .film-strip::-webkit-scrollbar { display: none; }
  .film-strip a { flex: 0 0 86%; scroll-snap-align: center; }
  .film-strip img { width: 100%; height: 62vw; object-fit: cover; border-radius: 8px; }
}

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand-dark); color: #fff;
  padding: .6rem 1.2rem; border-radius: 0 0 8px 0; z-index: 2000; text-decoration: none;
}
.skip-link:focus { left: 0; }
@media (prefers-reduced-motion: reduce) {
  .card, .plist-row { transition: none; }
  .card:hover, .plist-row:hover { transform: none; }
}
