/* Free Spirit Holistic Health Club
   Palette sampled from the logo. TODO: confirm against the printer's artwork. */

:root{
  /* DARK. Every value below verified against WCAG AA.
     The advantage of dark: the TRUE brand colours pass here
     (coral 7.19:1, blue 7.68:1) rather than needing darkened stand-ins. */
  --coral:#F0886F;        /* true brand coral - 7.19:1 on the page ground */
  --coral-btn:#F0886F;    /* dark text on coral: 7.19:1 */
  --coral-dk:#F5A28E;
  --blue:#6CB4CC;
  --blue-dk:#8ACBE0;      /* links */
  --gold:#D4B26A;
  --ink:#DDE3E7;          /* body text - 13.79:1. Was #EAEDEF: passed AA at
                             15.18 but haloed at 17px on near-black. */
  --ink-2:#C3CAD1;        /* 10.79:1 - lede and secondary */
  --ink-3:#A7B0B8;        /* 8.12:1. Was #8A939B at 5.72 - technically AA,
                             but read as greyed-out rather than as text. */
  --cream:#14181B;        /* page ground */
  --line:#2E353B;
  --white:#1D2226;        /* raised surfaces */
  --wrap:1120px;
  --r:10px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:17px;
  line-height:1.65;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue-dk)}
/* Slight positive tracking counteracts smear on dark backgrounds. */
body{letter-spacing:.005em}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 22px}

.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;background:var(--ink);color:#fff;padding:10px 14px;z-index:99;border-radius:6px}
:focus-visible{outline:3px solid var(--blue-dk);outline-offset:2px}

/* ---------- header ---------- */
/* Anchor targets sat behind the sticky header, so #minerals scrolled the
   heading off the top of the screen. */
[id]{scroll-margin-top:150px}
html{scroll-behavior:smooth}
.site-header{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.header-inner{display:flex;align-items:center;gap:24px;padding-top:14px;padding-bottom:14px;flex-wrap:wrap}

.brand{text-decoration:none;line-height:1;display:block;flex:0 0 auto}
.brand-free,.brand-spirit{font-family:Newsreader,Georgia,serif;font-size:1.85rem;font-weight:600}
.brand-free{color:var(--coral)}
.brand-spirit{color:var(--blue);margin-left:.12em}
.brand-sub{display:block;font-size:.62rem;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin-top:5px}

.nav{display:flex;gap:20px;margin-left:auto;flex-wrap:wrap}
/* Nav links were 35px tall. Apple and Google both put the minimum touch
   target at 44px, and most of this site's traffic will be a phone. */
.nav a{color:var(--ink-2);text-decoration:none;font-weight:500;font-size:.95rem;
  padding:12px 0;border-bottom:2px solid transparent;display:inline-block;line-height:1.25}
.nav a:hover{color:var(--ink);border-bottom-color:var(--coral)}

.header-cta{display:flex;gap:10px;align-items:center}

.btn{display:inline-block;padding:11px 20px;border-radius:var(--r);text-decoration:none;font-weight:600;font-size:.95rem;border:1.5px solid transparent;white-space:nowrap}
.btn-primary{background:var(--coral-btn);color:#14181B}
.btn-primary:hover{background:var(--coral-dk);color:#14181B}
.btn-ghost{border-color:var(--line);color:var(--ink)}
.btn-ghost:hover{border-color:var(--blue);color:var(--blue-dk)}

/* ---------- type ---------- */
h1,h2,h3{font-family:Newsreader,Georgia,serif;font-weight:600;line-height:1.15;text-wrap:balance;color:var(--ink)}
h1{font-size:clamp(2rem,4.6vw,3.05rem);margin:0 0 .45em}
h2{font-size:clamp(1.4rem,2.6vw,1.95rem);margin:2.2em 0 .5em}
h3{font-size:1.2rem;margin:1.8em 0 .4em}
p,li{max-width:68ch}
.lede{font-size:1.19rem;color:var(--ink-2)}
.muted{color:var(--ink-3);font-size:.94rem;font-weight:450}

/* ---------- sections ---------- */
.section{padding:46px 0}
/* the opening section of a page sits tight to what follows - a large dark gap
   under the hero pushed the first real content below the fold */
main > .section:first-child{padding-bottom:24px}
main > .hero + .section{padding-top:34px}
.section-tint{background:var(--white);border-block:1px solid var(--line)}
.eyebrow{font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);font-weight:600;margin:0 0 10px}

.grid{display:grid;gap:26px}
.grid-4{display:grid;gap:20px;grid-template-columns:1fr}
@media(min-width:720px){ .grid-2{grid-template-columns:1fr 1fr} .grid-3{grid-template-columns:repeat(3,1fr)} }

.card{background:var(--white);border:1px solid var(--line);border-radius:var(--r);padding:24px}
.card h2,.card h3{margin-top:0;font-size:1.18rem}
.card p{margin-bottom:0}

/* ---------- image placeholder — deliberately NOT stock imagery.
   Research: stock photography actively signals a template practice. ---------- */
.ph{
  background:repeating-linear-gradient(45deg,#1B2126,#1B2126 12px,#20272C 12px,#20272C 24px);
  border:1px dashed var(--line);border-radius:var(--r);
  display:flex;align-items:center;justify-content:center;
  min-height:220px;color:var(--ink-3);font-size:.85rem;text-align:center;padding:20px;
}

/* ---------- footer ---------- */
.site-footer{background:var(--white);border-top:1px solid var(--line);margin-top:70px;padding:52px 0 26px}
.footer-grid{display:grid;gap:34px}
@media(min-width:760px){ .footer-grid{grid-template-columns:repeat(2,1fr)} }
@media(min-width:1000px){ .footer-grid{grid-template-columns:repeat(5,1fr)} }
.foot-brand{font-family:Newsreader,Georgia,serif;font-size:1.15rem;margin:0 0 8px}
.foot-h{font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);margin:0 0 10px;font-family:Inter,sans-serif;font-weight:600}
.hours{margin:0;font-size:.93rem}
.hours div{display:flex;justify-content:space-between;gap:14px;padding:2px 0;max-width:250px}
.hours dt{color:var(--ink-2)}
.hours dd{margin:0;font-variant-numeric:tabular-nums}
.foot-legal{border-top:1px solid var(--line);margin-top:34px;padding-top:18px}

/* ---------- build-time notice — never ships ---------- */
.todo{background:#2A2115;border:1px solid #6B5222;color:#E0A64E;border-radius:var(--r);padding:14px 18px;margin:22px 0;font-size:.9rem}
.todo strong{color:#F0C070}

/* ---------- about: story left, square portrait right ---------- */
.bio{display:grid;gap:38px;align-items:start}
@media(min-width:820px){ .bio{grid-template-columns:1.15fr .85fr;gap:56px} }
.bio-text h1{margin-bottom:.3em}
.bio-portrait{text-align:center}
.bio-name{font-size:1.5rem;margin:0 0 2px}
.bio-title{margin:0 0 18px;color:var(--ink-3);font-size:.9rem;letter-spacing:.02em}
.portrait{
  width:100%;max-width:360px;margin:0 auto;
  aspect-ratio:1/1;object-fit:cover;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 1px var(--line);
}
.portrait.ph{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px}

/* ---------- brand: the real logo artwork, not a font approximation ---------- */
.brand{display:block}
.brand-lockup{height:104px;width:auto;display:block}
@media(max-width:600px){ .brand-lockup{height:72px} }
.foot-lockup{max-width:260px;width:100%;height:auto;margin:0 0 14px}

/* ---------- hero ---------- */
.hero{padding:44px 0 26px}
.hero-grid{display:grid;gap:34px;align-items:center}
@media(min-width:860px){ .hero-grid{grid-template-columns:1.05fr .95fr;gap:52px} }
.hero-img{width:100%;height:auto;border-radius:var(--r);border:1px solid var(--line)}
.hero-note{margin-top:16px}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}

/* ---------- five-second facts ---------- */
.facts .fact-n{font-size:1.9rem;margin:0 0 6px;color:var(--coral)}
.facts p{margin:0;color:var(--ink-2)}

/* ---------- long-form prose ---------- */
.prose{max-width:66ch;margin-top:48px}
/* A prose column with a photograph floated into it needs to be wider than
   a plain one, or the float eats the measure and the text ends up in a
   ribbon down the left of the screen. */
.prose-wide{max-width:940px}
.prose h2{margin-top:0}
.prose p{margin:0 0 1.15em}
.pull{font-family:Newsreader,Georgia,serif;font-size:1.38rem;font-weight:600;line-height:1.4;
  color:var(--coral);border-left:3px solid var(--blue);padding-left:20px;margin:1.6em 0}
.sig{color:var(--ink-3);font-size:.95rem}

/* ---------- ticked list ---------- */
.ticks{list-style:none;padding:0}
.ticks li{padding-left:26px;position:relative;margin-bottom:8px}
.ticks li::before{content:"";position:absolute;left:0;top:.55em;width:11px;height:6px;
  border-left:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(-45deg)}

/* ---------- highlighted block: the single strongest fact on a page ---------- */
.highlight{border:1px solid var(--blue);border-left:4px solid var(--coral);
  border-radius:var(--r);padding:24px 26px;margin-top:30px;background:rgba(108,180,204,.06)}
.highlight h3{margin:0 0 10px;color:var(--coral)}
.highlight p{margin:0 0 .8em}
.highlight p:last-child{margin-bottom:0}

/* ---------- visit page ---------- */
.warnbox{border-left:3px solid var(--coral);padding-left:16px;margin:22px 0}
.hours-lg{font-size:1rem}
.hours-lg div{max-width:320px;padding:5px 0;border-bottom:1px solid var(--rule)}
.hours-lg div:last-child{border-bottom:none}
.tech-grid .card h3{font-size:1.02rem;margin-bottom:6px}
.tech-grid .card p{font-size:.93rem}
/* ---------- price list ---------- */
.pricelist{margin:0 0 20px;font-family:Newsreader,Georgia,serif}
.pricelist div{display:flex;align-items:baseline;gap:14px;padding:9px 0;
  border-bottom:1px solid var(--rule);max-width:300px}
.pricelist div:last-child{border-bottom:none}
.pricelist dt{color:var(--ink);flex:1}
.pricelist dd{margin:0;color:var(--coral);font-size:1.35rem;font-weight:600}

/* A hero band sitting straight on top of a tinted one was ~116px apart:
   24px of button margin plus 46px of section padding on each side. Below
   the fold that is breathing room; at the top of a page it just pushes the
   content people came for off the screen. */
.section-hero{padding-bottom:28px}
.section-hero + .section-tint{padding-top:32px}

/* ---------- hyperbaric: the chamber is portrait, so cap it rather than
   letting a tall photo shove the rest of the page down ---------- */
.chamber-shot{margin:30px 0 0;max-width:420px}
.chamber-shot img{border-radius:var(--r);border:1px solid var(--line)}
.chamber-shot figcaption{margin-top:10px;font-size:.9rem;color:var(--ink-3);font-weight:450}
@media(min-width:820px){
  .chamber-shot{float:right;margin:0 0 24px 34px;max-width:340px}
}

/* ---------- a row of photographs that stays a row on desktop and
   scrolls rather than stacking on a phone ---------- */
.photo-row{display:grid;gap:14px;margin-top:26px;grid-template-columns:1fr}
.photo-row figure{margin:0}
.photo-row img{width:100%;border-radius:var(--r);border:1px solid var(--line);
  aspect-ratio:4/5;object-fit:cover}
@media(min-width:720px){ .photo-row{grid-template-columns:repeat(3,1fr)} }

/* ---------- about: a photograph beside the bio, capped so it ends with
   the paragraph about playing with their kids rather than running on
   past the pull quote ---------- */
.prose-aside{display:none}
@media(min-width:820px){
  .prose-aside{
    display:block;margin:0 0 18px 38px;float:right;
    width:330px;
  }
  /* Two images stacked, sized so the column runs from the first heading down
     to the signature line rather than stopping halfway. */
  .prose-aside img{
    width:100%;object-fit:cover;
    border-radius:var(--r);border:1px solid var(--line);
    display:block;
  }
  .prose-aside img:first-child{height:250px;object-position:center 42%;margin-bottom:14px}
  .prose-aside img:last-child{height:455px;object-position:center 22%}
}

/* The adjustment shot is portrait but the hero slot is landscape. Crop to
   the working hands rather than reframing the whole hero around it. */
.hero .hero-img{aspect-ratio:5/4;object-fit:cover;object-position:center 38%}

/* ---------- the team. A grid that reads correctly at one member and still
   reads correctly at six, so growing the practice is a data change. ---------- */
.team{display:grid;gap:34px;margin:22px 0 40px;grid-template-columns:1fr}
@media(min-width:640px){ .team{grid-template-columns:repeat(2,1fr)} }
@media(min-width:960px){ .team{grid-template-columns:repeat(3,1fr)} }
.team-member .portrait{max-width:220px;margin:0 0 16px}
.team-member .bio-name{font-size:1.25rem;margin:0 0 2px}
.team-member .bio-title{margin-bottom:10px}
.team-join{border:1px dashed var(--line);border-radius:var(--r);padding:22px}
.team-join .bio-name{color:var(--ink-2)}

/* ---------- footer page links ---------- */
.foot-links{list-style:none;margin:0;padding:0}
.foot-links li{padding:3px 0}
.foot-links a{font-size:.95rem}

/* ---------- document links ---------- */
.doclist{list-style:none;margin:0 0 14px;padding:0}
.doclist li{padding:5px 0;border-bottom:1px solid var(--line);font-size:.95rem}
.doclist li:last-child{border-bottom:none}
.doclist .muted{display:block;font-size:.85rem}

/* ---------- supplier logo inside a product card ---------- */
.supplier-logo{width:115px;margin-top:20px;background:#fff;border-radius:8px;padding:10px}
.card h4{font-family:Newsreader,Georgia,serif;font-weight:600;font-size:1.05rem;margin:0 0 6px}

/* ---------- product boxes sized to their content ----------
   A single grid stretched every card to the tallest one, which left the
   short entries as mostly empty boxes. Two groups instead: the cards that
   carry extra content, then the compact ones. */
@media(min-width:900px){ .grid-4{grid-template-columns:repeat(4,1fr)} }
@media(min-width:560px) and (max-width:899px){ .grid-4{grid-template-columns:repeat(2,1fr)} }
.cards-short{margin-top:22px}
.cards-short .card h2{font-size:1.12rem}
.cards-short .card p{font-size:.94rem}
