/* =========================================================
   Integrated Hyperbarics — shared stylesheet
   Change the brand colors here and every page updates.
   ========================================================= */
:root {
  --deep: #0F3D4C;        /* deep water: hero, footer */
  --deep-2: #0A2C37;
  --oxygen: #E7F2F4;      /* pale oxygen blue: alternating sections */
  --paper: #FFFFFF;
  --ink: #17262D;         /* body text */
  --muted: #4E626B;       /* secondary text */
  --accent: #157A77;      /* buttons, links */
  --accent-light: #7FD1CC;/* accents on dark backgrounds */
  --line: #CFE0E4;
  --seafoam: #E2F0EB;     /* philosophy section */
  --sky: #E8F0F9;         /* conditions section */
  --sand: #F3EEE6;        /* videos section */

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tint    { background: var(--oxygen); }
/* Section colors: each section gets its own soft background so readers can tell they've moved on */
.section--seafoam { background: var(--seafoam); }
.section--sky     { background: var(--sky); }
.section--sand    { background: var(--sand); }
.section + .section { border-top: 1px solid var(--line); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
}
.btn:hover { background: #0F5F5C; border-color: #0F5F5C; }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--deep); }
.btn--light:hover { background: var(--oxygen); border-color: var(--oxygen); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand img { width: 118px; height: auto; }
.brand-text { font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--sans); font-size: .8rem; color: var(--muted); }

.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: .25rem; align-items: center; }
.nav a {
  display: block; padding: .5rem .7rem; text-decoration: none;
  color: var(--ink); font-weight: 500; font-size: .97rem; border-radius: var(--radius);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .has-sub { position: relative; }
.nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .4rem; box-shadow: 0 10px 30px rgba(15,61,76,.12);
  visibility: hidden; opacity: 0; transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { visibility: visible; opacity: 1; transform: none; }
.nav .sub a { font-weight: 400; }
.nav .sub a:hover { background: var(--oxygen); }
.header-call { white-space: nowrap; padding: .55rem 1rem; font-size: .95rem; }
.menu-toggle { display: none; }

@media (max-width: 1020px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .4rem; margin-left: auto;
    background: none; border: 1px solid var(--line); border-radius: var(--radius);
    padding: .5rem .8rem; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  }
  .header-call { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 72px); overflow-y: auto; padding: .5rem 1.25rem 1.25rem;
  }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav .sub {
    position: static; visibility: visible; opacity: 1; transform: none;
    border: 0; box-shadow: none; padding: 0 0 .25rem 1rem; min-width: 0;
  }
  .nav .sub a { color: var(--muted); padding: .35rem .7rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--deep); color: #fff;
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(4rem, 9vw, 6.5rem);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-place { color: var(--accent-light); font-weight: 600; margin-bottom: 1.25rem; }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  font-weight: 400; letter-spacing: -.01em; line-height: 1.02; margin-bottom: 1.5rem;
}
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { padding-left: .6em; }
.hero h1 span:nth-child(3) { padding-left: 1.2em; }
.hero-sub { font-size: 1.2rem; max-width: 46ch; color: #D4E7EB; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Pressure rings: the one decorative moment on the page */
.hero-rings {
  position: absolute; right: -180px; top: 50%; width: 760px; height: 760px;
  transform: translateY(-50%); z-index: 0; pointer-events: none;
}
.hero-rings circle { fill: none; stroke: var(--accent-light); stroke-width: 1.5; opacity: .18; }
@media (prefers-reduced-motion: no-preference) {
  .hero-rings circle { animation: ring-in 1.6s ease-out both; transform-origin: center; }
  .hero-rings circle:nth-child(2) { animation-delay: .15s; }
  .hero-rings circle:nth-child(3) { animation-delay: .3s; }
  .hero-rings circle:nth-child(4) { animation-delay: .45s; }
  .hero-rings circle:nth-child(5) { animation-delay: .6s; }
}
@keyframes ring-in { from { transform: scale(.6); opacity: 0; } }
@media (max-width: 700px) { .hero-rings { right: -360px; opacity: .7; } }

/* ---------- Facts strip ---------- */
.facts { background: var(--oxygen); border-bottom: 1px solid var(--line); }
.facts ul {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.facts li { padding: 1.6rem 1.25rem; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts strong { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--deep); line-height: 1.1; }
.facts span { color: var(--muted); font-size: .95rem; }
.facts a { color: inherit; }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Services list ---------- */
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 1.75rem; align-items: center;
  padding: 1.75rem 0; border-bottom: 1px solid var(--line);
}
.service img { width: 180px; height: 135px; object-fit: cover; border-radius: var(--radius); background: var(--oxygen); }
.service-tag { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--accent); margin-bottom: .2rem; }
.service h3 { margin-bottom: .35rem; }
.service p { margin: 0; color: var(--muted); max-width: 60ch; }
.service .btn { white-space: nowrap; }
@media (max-width: 760px) {
  .service { grid-template-columns: 1fr; gap: 1rem; }
  .service img { width: 100%; height: 200px; }
  .service .btn { justify-self: start; }
}

/* ---------- Philosophy ---------- */
.philosophy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.philosophy h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.principles { display: grid; gap: 1.5rem; margin-top: 2rem; }
.principles h3 { font-size: 1.25rem; margin-bottom: .25rem; }
.principles p { color: var(--muted); margin: 0; }
.pull-quote {
  margin: 0; padding: 2rem; background: var(--deep); color: #fff; border-radius: var(--radius);
}
.pull-quote p { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; }
.pull-quote footer { color: var(--accent-light); font-size: .95rem; }
.safety { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
.safety li { padding-left: 1.6rem; position: relative; font-weight: 600; font-size: .95rem; }
.safety li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat;
}
@media (max-width: 860px) { .philosophy-grid { grid-template-columns: 1fr; } }

/* ---------- Conditions ---------- */
.conditions-list { list-style: none; padding: 0; margin: 2rem 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.conditions-list li {
  padding: .5rem 1rem; border: 1px solid var(--line); background: var(--paper);
  border-radius: 999px; font-weight: 500;
}
.note { color: var(--muted); font-style: italic; margin-top: 1rem; }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--deep-2); border-radius: var(--radius); overflow: hidden; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame a { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-decoration: none; font-weight: 600; }
.video h3 { margin-top: 1rem; font-size: 1.25rem; margin-bottom: .25rem; }
.video p { color: var(--muted); }
@media (max-width: 760px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- Call to action ---------- */
.cta { background: var(--deep); color: #fff; text-align: left; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.cta p { color: #D4E7EB; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta .newsletter { margin-top: 1.5rem; font-size: .95rem; }
.cta .newsletter a { color: var(--accent-light); }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-2); color: #C5D9DE; font-size: .95rem; padding: 3.5rem 0 2rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.site-footer address { font-style: normal; }
.privacy-note { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); max-width: 80ch; }
.privacy-note strong { color: #fff; }
.copyright { margin-top: 1rem; font-size: .85rem; opacity: .8; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Inner pages
   ========================================================= */
.eyebrow { font-weight: 600; color: var(--accent); margin: 0 0 .5rem; font-size: .98rem; }
.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.1em; }
.prose h2 { margin-top: .2em; }
.prose h3 { margin-top: 1.6em; }

/* Page hero */
.page-hero { background: var(--deep); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.page-hero .eyebrow { color: var(--accent-light); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 400; margin-bottom: 1rem; }
.page-hero p { color: #D4E7EB; font-size: 1.12rem; max-width: 60ch; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero img { border-radius: var(--radius); width: auto; max-width: 100%; max-height: 520px; height: auto; margin: 0 auto; }
.pill-list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .35rem .9rem; font-size: .92rem; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* Stats row */
.stat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.25rem; }
.stat-grid li { border-top: 3px solid var(--accent); padding-top: .75rem; }
.stat-grid strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--deep); line-height: 1.1; }
.stat-grid span { color: var(--muted); font-size: .95rem; }
.stat-band { padding: 2.5rem 0; background: var(--oxygen); }

/* Text beside an image */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split--reverse { grid-template-columns: 1fr 1.3fr; }
.split img { border-radius: var(--radius); width: 100%; background: var(--oxygen); }
.split figure { margin: 0 0 1.25rem; }
.split figcaption { font-size: .9rem; color: var(--muted); margin-top: .4rem; }
@media (max-width: 860px) { .split, .split--reverse { grid-template-columns: 1fr; } }

/* Side-by-side comparison */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.compare-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.compare-card--featured { border: 2px solid var(--accent); }
.compare-card .big { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--deep); margin-bottom: .25rem; }
.compare-card .sub { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.compare-card h3 { font-size: 1.2rem; }
.compare-card ul { margin: 0; padding-left: 1.2rem; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* Check-mark list */
.checklist { list-style: none; padding: 0; margin: 1rem 0; }
.checklist li { padding-left: 1.75rem; position: relative; margin-bottom: .6rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.card .card-sub { color: var(--accent); font-weight: 600; font-size: .95rem; margin-bottom: .6rem; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }

/* Research list */
.research-list { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.research-list li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.research-list .source { font-size: .92rem; font-weight: 600; color: var(--accent); }
.research-list h3 { font-size: 1.3rem; margin: .2rem 0 .4rem; }
.research-list p { color: var(--muted); max-width: 70ch; }

/* Numbered steps (only for real sequences) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.75rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.5rem; max-width: 72ch; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--deep); color: #fff; font-family: var(--serif); font-size: 1.2rem;
}
.steps h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.tip { border-left: 3px solid var(--accent); padding: .4rem 0 .4rem 1rem; color: var(--muted); font-style: italic; }

/* Photo row */
.photo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0 0; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--oxygen); }
.photo-row figcaption { font-size: .9rem; color: var(--muted); margin-top: .4rem; }

/* Info box (directions etc.) */
.info-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-top: 1.25rem; }
.info-box h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.info-box p:last-child { margin-bottom: 0; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.testimonials blockquote { margin: 0; background: var(--paper); border-radius: var(--radius); padding: 1.75rem; border-top: 3px solid var(--accent); }
.testimonials p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }
.testimonials footer { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .testimonials { grid-template-columns: 1fr; } }

/* Service rows without a button (used for pairings) */
.service--plain { grid-template-columns: 180px 1fr; }
@media (max-width: 760px) { .service--plain { grid-template-columns: 1fr; } }

/* Fixes: keep prose sections left-aligned with the rest of the page, and two-column grids for 4 cards */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 70ch; }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
@media (min-width: 761px) { .card-grid--2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Services & HBOT pages ---------- */
.page-hero--text .wrap > * { max-width: 68ch; }
.helps-with { font-size: .93rem; color: var(--muted); margin-top: .5rem; }
.helps-with strong { color: var(--ink); font-weight: 600; }
.service .service-meta { font-size: .9rem; color: var(--accent); font-weight: 600; margin-bottom: .35rem; display: block; }

/* Protocol sequence: shows the order therapies happen in */
.flow { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.flow li { background: var(--oxygen); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; font-size: .9rem; font-weight: 600; color: var(--deep); }
.flow li:not(:last-child)::after { content: "›"; margin-left: .6rem; color: var(--accent); }

/* Pressure level cards */
.pressure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.pressure-grid .compare-card ul { margin-top: .75rem; }
.pressure-grid .compare-card li { margin-bottom: .3rem; }
@media (max-width: 980px) { .pressure-grid { grid-template-columns: 1fr; } }

/* Cards with a photo on top */
.card--photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top; border-radius: calc(var(--radius) - 2px); margin-bottom: 1rem; background: var(--oxygen); }
.fine-print { font-size: .88rem; color: var(--muted); font-style: italic; margin-top: 1.25rem; }

/* ---------- Light therapy & PEMF pages ---------- */
.card--icon img { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; margin-bottom: .9rem; background: var(--oxygen); }
.compare-card img.inline-pic { width: 100%; max-height: 200px; object-fit: cover; border-radius: var(--radius); margin: 1rem 0 0; background: var(--oxygen); }
.compare-card .device { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--deep); background: var(--oxygen); border-radius: 999px; padding: .2rem .7rem; margin-bottom: .75rem; }
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.levels > div { border-top: 3px solid var(--accent); padding-top: .9rem; }
.levels .level-label { font-weight: 700; font-size: .9rem; color: var(--accent); }
.levels h3 { font-size: 1.2rem; margin: .2rem 0 .4rem; }
.levels p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .levels { grid-template-columns: 1fr; } }

/* ---------- Sauna & Integrations pages ---------- */
.photo-row--contain img { object-fit: contain; background: #fff; border: 1px solid var(--line); }
.photo-row--tall img { aspect-ratio: 3 / 4; }
.day-steps { margin: .75rem 0 0; padding-left: 1.3rem; }
.day-steps li { margin-bottom: .6rem; color: var(--ink); }
.day-steps li::marker { font-weight: 700; color: var(--accent); }
.result { margin-top: .9rem; padding-top: .75rem; border-top: 1px solid var(--line); font-weight: 600; color: var(--deep) !important; }
.card p.result { color: var(--deep); }
.aside-pic { display: flex; gap: 1rem; align-items: center; margin-top: 1rem; }
.aside-pic img { width: 120px; border-radius: var(--radius); flex-shrink: 0; }
.aside-pic p { margin: 0; font-style: italic; color: var(--muted); }

/* Two pictures side by side at the top of a card */
.pic-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1rem; }
.pic-pair img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: calc(var(--radius) - 2px); background: var(--oxygen); margin: 0; }

/* ---------- Conditions page filters ---------- */
.filter-bar { padding: 1.5rem 0; background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 72px; z-index: 20; }
.filter-group { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-bottom: .6rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label { font-weight: 700; font-size: .9rem; color: var(--muted); margin-right: .35rem; min-width: 7.5rem; }
.filter-btn {
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  padding: .35rem .85rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--deep);
}
.filter-btn:hover { border-color: var(--accent); }
.filter-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter-status { font-size: .9rem; color: var(--muted); margin: .6rem 0 0; }
.therapy-tags { margin-top: .8rem; font-size: .88rem; font-weight: 600; color: var(--accent); }
.section-therapies { font-size: .95rem; color: var(--muted); margin-top: -.25rem; }
.section-therapies strong { color: var(--ink); }
[hidden] { display: none !important; }
@media (max-width: 1020px) { .filter-bar { position: static; } }
@media (max-width: 600px) { .filter-label { min-width: 100%; } }

/* ---------- Rentals page ---------- */
.rental-logo { max-width: 340px; background: #fff; border-radius: var(--radius); padding: .75rem 1rem; margin-bottom: 1.5rem; }
.price-list { list-style: none; padding: 0; margin: 1rem 0; border-top: 1px solid var(--line); }
.price-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.price-list span { color: var(--muted); }
.price-list strong { color: var(--deep); font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.price-note { font-size: .85rem; color: var(--muted); font-style: italic; margin-bottom: 1.25rem; }
.card--rental { display: flex; flex-direction: column; }
.card--rental .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Research page ---------- */
.toc { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.toc a { display: inline-block; padding: .35rem .85rem; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; color: #fff; text-decoration: none; font-size: .92rem; }
.toc a:hover { background: rgba(255,255,255,.12); }
.ref-section { scroll-margin-top: 90px; }
.ref-list { margin: 1.25rem 0 0; padding-left: 1.4rem; max-width: 80ch; }
.ref-list li { margin-bottom: .85rem; line-height: 1.55; font-size: .97rem; }
.ref-list li::marker { color: var(--accent); font-weight: 600; }
.ref-list a { word-break: break-word; }
.ref-note { max-width: 80ch; background: var(--paper); border-left: 3px solid var(--accent); padding: .8rem 1rem; margin: 1rem 0; border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); }
.back-top { font-size: .9rem; display: inline-block; margin-top: .5rem; }
.flyers { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.flyers a { display: block; text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 600; text-align: center; }
.flyers img { width: 100%; aspect-ratio: 9 / 20; object-fit: cover; object-position: top; border-radius: var(--radius); border: 1px solid var(--line); background: var(--oxygen); margin-bottom: .4rem; }

/* ---------- Videos page ---------- */
.video-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-top: 2rem; }
.video-card .video-frame { margin-bottom: .9rem; }
.video-card h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.video-card p { color: var(--muted); }
.video-missing { position: absolute; inset: 0; display: grid; place-items: center; color: #9fc3c9; font-size: .9rem; text-align: center; padding: 1rem; border: 2px dashed rgba(255,255,255,.25); border-radius: var(--radius); }
.video-warning { font-size: .9rem; font-style: italic; color: var(--accent); }

/* ---------- Meditations page ---------- */
.freq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.freq-grid .card .big { font-family: var(--serif); font-size: 1.7rem; color: var(--deep); margin-bottom: .3rem; line-height: 1.1; }
.track-list { list-style: none; padding: 0; margin: .5rem 0 0; }
.track-list li { padding: .3rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.track-list li:last-child { border-bottom: 0; }
.spotify-frame { width: 100%; height: 352px; border: 0; border-radius: 12px; margin-top: 1rem; }
.warning-box { border-left: 3px solid #C2410C; background: #FFF7ED; color: #7C2D12; padding: .8rem 1rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1rem 0; max-width: 75ch; }
@media (prefers-color-scheme: dark) { .warning-box { color: #7C2D12; } }
.freq-grid .card .video-frame { margin-top: auto; }
.freq-grid .card { display: flex; flex-direction: column; }
.freq-grid .card .video-missing { font-size: .8rem; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 1rem; max-width: 640px; margin-top: 1.5rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .3rem; }
.contact-form .optional { font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper); color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid var(--accent-light); outline-offset: 1px; border-color: var(--accent); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form button { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .9rem 1.1rem; border-radius: var(--radius); font-weight: 600; max-width: 640px; }
.form-status--sent { background: #E3F4EC; color: #14532D; border: 1px solid #A7D7BD; }
.form-status--error { background: #FFF1F0; color: #7F1D1D; border: 1px solid #F3B4AE; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }

/* Contact details shown in plain text next to buttons */
.contact-lines { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .5rem; }
.contact-lines li { font-size: 1.05rem; }
.contact-lines strong { display: inline-block; min-width: 4.5rem; }
.contact-lines a { word-break: break-word; }
.page-hero .contact-lines a, .cta .contact-lines a { color: #fff; }
.contact-lines .alt { color: inherit; opacity: .8; font-size: .95rem; }
