/* Setuply site kit: the small set of pieces every theme shares. Each theme
   file sets the variables, then builds its own page layouts on top. */

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--heading-weight, 600);
  line-height: 1.1;
  letter-spacing: var(--heading-spacing, -0.01em);
  text-transform: var(--heading-transform, none);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, var(--h1-max, 4rem)); }
h2 { font-size: clamp(1.8rem, 4vw, var(--h2-max, 2.6rem)); }
h3 { font-size: 1.3rem; }

p, ul, dl, dd, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.centre { text-align: center; margin-inline: auto; }

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text, var(--accent));
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 2px solid var(--primary);
  border-radius: var(--btn-radius, 8px);
  background: var(--primary);
  color: var(--on-primary);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.text-link {
  display: inline-block;
  margin-top: 22px;
  font-weight: 600;
  color: var(--accent-text, var(--accent));
  text-underline-offset: 4px;
}

/* Demo bar (template previews only) */
.demo-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  padding: 8px 16px;
  background: #14282c;
  color: #f5efe3;
  font: 500 14px/1.4 system-ui, sans-serif;
  text-align: center;
}
.demo-bar a { color: #f2c14e; font-weight: 700; }

/* Header */
.topbar { font-size: 0.88rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-block: 8px; }
.topbar a { text-decoration: none; font-weight: 600; }
.topbar-phone { margin-left: auto; }
header.site { background: var(--header-bg, var(--bg)); color: var(--header-text, var(--text)); }
.site-inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { font-family: var(--font-display); font-weight: var(--heading-weight, 600); font-size: 1.45rem; line-height: 1.1; text-decoration: none; text-transform: var(--heading-transform, none); }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: var(--accent); }
.btn.call { padding: 10px 18px; }

/* Photos and placeholders */
.photo { width: 100%; height: 100%; object-fit: cover; }
.ph {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 200px;
  padding: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 14px, transparent 14px 28px),
    linear-gradient(140deg, var(--ph-a), var(--ph-b));
  color: var(--ph-text, #fff);
  text-align: center;
}
.ph span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.5; opacity: 0.9; }
.ph, .photo { border-radius: var(--radius); }
.round { border-radius: 50% !important; aspect-ratio: 1; min-height: 0; }

/* Initials tile for team members without a photo */
.avatar {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--ph-a), var(--ph-b));
  color: var(--ph-text, #fff);
  font-family: var(--font-display);
  font-weight: var(--heading-weight, 600);
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.02em;
}

/* Map and star rating */
iframe.map { display: block; width: 100%; height: 280px; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.stars { margin-bottom: 14px; color: var(--star, #e8a917); font-size: 1.25rem; letter-spacing: 0.18em; line-height: 1; }

/* The header stays in view, and sections fade up as they arrive */
header.site { position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(0, 0, 0, 0.45); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.photo { transition: filter .3s, transform .5s; }
.gallery li:hover .photo { filter: brightness(1.06) saturate(1.08); }

/* Lists that each theme restyles */
.svc li { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 20px; align-items: baseline; }
.svc p { color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feats h3 { margin-bottom: 8px; }
.feats p { color: var(--muted); }
.feat-n { display: none; }
.quote p { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; }
.quote footer { margin-top: 20px; color: var(--muted); font-size: 1rem; }
.note { margin-top: 28px; color: var(--muted); }

/* Text beside a photo (About page) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-text h2 { margin-bottom: 18px; }
.split-text p { color: var(--muted); }
.split-text p + p { margin-top: 14px; }
.split-media .ph, .split-media .photo { aspect-ratio: 4 / 3.4; }

/* Inner page heading */
.page-hero { padding: 72px 0 56px; background: var(--surface); }
.page-hero .lead { margin-top: 18px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person .ph, .person .photo { aspect-ratio: 1; min-height: 0; margin-bottom: 16px; }
.person .role { color: var(--accent-text, var(--accent)); font-weight: 600; margin: 2px 0 8px; }
.person p { color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .ph, .gallery .photo { aspect-ratio: 1; min-height: 0; }
.gallery figcaption { margin-top: 8px; font-size: 0.9rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-details h2, .contact-form h2 { margin-bottom: 20px; }
.contact-details h3 { margin: 28px 0 10px; }
.contact-details dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; }
.contact-details dt { font-weight: 600; }
.contact-details dd { color: var(--muted); }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours li span:last-child { color: var(--muted); }
.ph.map { margin-top: 28px; }

.contact-form { padding: 32px; background: var(--card-bg, var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-form label { display: block; margin-bottom: 16px; font-size: 0.92rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--field-radius, 8px);
  background: var(--field-bg, var(--bg));
  color: inherit;
  font: inherit;
  font-weight: 400;
}
.contact-form textarea { resize: vertical; }
.form-msg { margin-top: 14px; font-weight: 600; color: var(--accent-text, var(--accent)); }
[hidden] { display: none !important; }

/* Footer */
.site-footer { padding: 56px 0 24px; background: var(--footer-bg, var(--surface)); color: var(--footer-text, var(--text)); font-size: 0.95rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h3 { margin-bottom: 10px; font-size: 1rem; }
.site-footer p { opacity: 0.8; }
.site-footer .brand { opacity: 1; margin-bottom: 8px; }
.site-footer .hours li { border-color: color-mix(in srgb, currentColor 18%, transparent); }
.site-footer .hours li span:last-child { color: inherit; opacity: 0.8; }
.footer-mark { display: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 0.85rem; }

/* Smaller screens */
@media (max-width: 900px) {
  .site-inner { flex-wrap: wrap; padding-block: 14px; gap: 10px 20px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; gap: 4px 20px; }
  .btn.call { margin-left: auto; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .feats, .team { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-inner span:nth-child(2), .topbar-inner > a:not(.topbar-phone) { display: none; }
}

/* Phones: a Menu button replaces the row of links, and everything gets
   one column with generous gaps. */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 9px 16px;
  border: 1.5px solid currentColor;
  border-radius: var(--btn-radius, 8px);
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.nav-toggle::before { content: ""; width: 16px; height: 10px; border-block: 2px solid currentColor; }

@media (max-width: 760px) {
  .site-inner { flex-direction: row; flex-wrap: wrap; align-items: center; min-height: 0; padding-block: 16px; gap: 0 16px; }
  .brand { font-size: 1.35rem; flex: 1 1 0; min-width: 0; }
  .btn.call { display: none; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .nav-open .site-nav { display: flex; flex-direction: column; order: 5; width: 100%; margin: 14px 0 0; gap: 0; }
  .site-nav a { padding: 14px 2px; border-bottom: 0; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); font-size: 1.05rem; }
  .site-nav a[aria-current] { color: var(--accent-text, var(--accent)); }
  .topbar-inner { justify-content: space-between; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 22px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 30px; }
  .lead { font-size: 1.08rem; }
  .feats, .team, .footer-grid { grid-template-columns: 1fr; }
  .feats { gap: 32px; }
  .team { gap: 40px; }
  .footer-grid { gap: 32px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .actions { gap: 12px; margin-top: 28px; }
  .actions .btn { flex: 1 1 100%; }
  .split, .contact-grid { gap: 40px; }
  .contact-form { padding: 24px 20px; }
  .page-hero { padding: 52px 0 40px; }
  .ph { overflow: hidden; }
  .ph span { font-size: 0.68rem; }
  .text-link { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Still: slow and spacious. For health, wellness and beauty.
   Edge-to-edge photo, one large statement, a timeline, fine ruled lists. */
:root {
  --bg: #fbfaf6;
  --surface: #eef1ea;
  --text: #2c3a33;
  --muted: #66746c;
  --line: #dde3d9;
  --primary: #5d7a69;
  --on-primary: #fbfaf6;
  --accent: #5d7a69;
  --accent-text: #4b6757;
  --radius: 4px;
  --btn-radius: 999px;
  --field-radius: 4px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
  --heading-weight: 500;
  --heading-spacing: 0;
  --h1-max: 4.6rem;
  --h2-max: 3rem;
  --footer-bg: #2c3a33;
  --footer-text: #eef1ea;
  --ph-a: #c9d6c8;
  --ph-b: #9db3a2;
  --ph-text: #2c3a33;
  --card-bg: #fbfaf6;
}

body { font-size: 18px; }
h3 { font-size: 1.6rem; }
.eyebrow { font-weight: 500; letter-spacing: 0.24em; font-size: 0.74rem; }
.brand { font-size: 1.8rem; font-style: italic; }
.btn { font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; padding: 16px 30px; }
.btn.call { background: transparent; color: var(--text); border: 1px solid var(--text); padding: 11px 22px; }
.site-nav a { font-weight: 400; letter-spacing: 0.04em; }
.section { padding: 112px 0; }

/* Hero: photo fills the left half to the screen edge */
.st-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 660px; }
.st-hero-media .ph, .st-hero-media .photo { height: 100%; min-height: 380px; border-radius: 0 0 280px 0; }
.st-hero-text { align-self: center; padding: 64px clamp(24px, 7vw, 110px); }
.st-hero-text .lead { margin-top: 24px; }

/* One large statement */
.st-statement { padding: 128px 0; text-align: center; }
.statement { max-width: 900px; margin-inline: auto; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.3; }

/* Timeline beside an arched photo */
.st-steps { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 88px; align-items: center; }
.st-steps-head h2 { margin-bottom: 36px; }
.arch { border-radius: 300px 300px 4px 4px !important; aspect-ratio: 4 / 4.4; }
.feats.timeline { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--text); }
.feats.timeline li { position: relative; padding: 0 0 48px 56px; }
.feats.timeline li:last-child { padding-bottom: 0; }
.feats.timeline .feat-n { display: grid; place-items: center; position: absolute; left: -22px; top: -4px; width: 44px; height: 44px; border: 1px solid var(--text); border-radius: 50%; background: var(--surface); font-family: var(--font-display); font-style: italic; font-size: 1.15rem; }
.values .feats.timeline { max-width: 720px; margin-inline: auto; }

/* Treatments: two columns of fine ruled lines */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; }
.svc li { grid-template-columns: 1fr; gap: 4px; padding: 26px 0; border-top: 1px solid var(--text); }
.svc-n { display: none; }
.svc h3 { font-size: 1.75rem; }
.svc-price { order: -1; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); }

/* Review beside a round photo */
.st-quote { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 72px; align-items: center; }
.st-quote .quote p { font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.25; }

/* Closing: a fine double frame */
.st-cta { padding: 112px 0; }
.st-cta-frame { display: grid; justify-items: center; gap: 14px; padding: 72px 24px; border: 1px solid var(--text); outline: 1px solid var(--text); outline-offset: 8px; text-align: center; }
.st-cta-frame p { color: var(--muted); margin-bottom: 10px; }

/* Inner pages */
.page-hero { background: transparent; text-align: center; padding: 112px 0 40px; }
.page-hero .lead { margin-inline: auto; }
.section-head { margin-inline: auto; text-align: center; }
.story .split { direction: rtl; }
.story .split > * { direction: ltr; }
.story .split-media .ph, .story .split-media .photo { border-radius: 300px 300px 4px 4px; aspect-ratio: 4 / 4.8; }
.person { text-align: center; }
.person .ph, .person .photo { border-radius: 50%; width: 62%; margin-inline: auto; }
.gallery { grid-template-columns: 1fr 1fr; gap: 72px 56px; max-width: 900px; margin-inline: auto; }
.gallery .ph, .gallery .photo { aspect-ratio: 4 / 5; }
.gallery li:nth-child(even) { margin-top: 96px; }
.gallery figcaption { margin-top: 14px; font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; }
.contact-form { border: 0; background: var(--surface); padding: 48px; }
.note { text-align: center; }

@media (max-width: 900px) {
  .st-hero { grid-template-columns: 1fr; min-height: 0; }
  .st-hero-media .ph, .st-hero-media .photo { border-radius: 0 0 160px 0; min-height: 300px; }
  .st-hero-text { padding: 48px 24px; }
  .st-steps, .st-quote, .svc { grid-template-columns: 1fr; gap: 48px; }
  .svc { gap: 0; }
  .st-quote .round { max-width: 220px; }
  .st-statement, .st-cta { padding: 80px 0; }
  .feats.timeline { margin-left: 22px; }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; gap: 40px; }
  .gallery li:nth-child(even) { margin-top: 0; }
  .contact-form { padding: 24px; }
}

/* Phones */
@media (max-width: 600px) {
  body { font-size: 17px; }
  .section { padding: 76px 0; }
  .st-hero-media .ph, .st-hero-media .photo { min-height: 260px; border-radius: 0 0 120px 0; }
  .st-hero-text { padding: 44px 22px 56px; }
  .st-statement, .st-cta { padding: 76px 0; }
  .st-steps { gap: 56px; }
  .st-steps-head h2 { margin-bottom: 28px; }
  .feats.timeline li { padding: 0 0 40px 44px; }
  .svc li { padding: 24px 0; }
  .st-quote { gap: 36px; }
  .st-cta-frame { padding: 52px 20px; outline-offset: 6px; margin-inline: 6px; }
  .page-hero { padding: 64px 0 24px; }
  .person .ph, .person .photo { width: 56%; }
}

@media (max-width: 760px) { .brand { font-size: 1.45rem; } }

@media (max-width: 900px) { .values .feats.timeline { margin-left: 22px; margin-right: 0; } }

.person .avatar { border-radius: 50%; width: 56%; margin-inline: auto; font-style: italic; }
