/* Bio Medical — design system (warm architectural, 2026-09-28)
   Per Mrs. Gschwend's approved warm blend: Ivory #F5F1E9 is the warm white, Limestone #E7E0D5 the warm panel tone,
   brand blue #42BBEA accent system unchanged · Deep blue #0E5EA8 for text/buttons · soft blue #8ED4F2 on dark · serif Source Serif 4 / sans Manrope */

:root {
  --ivory: #F5F1E9;
  --ink: #0B1E24;
  --ocean: #42BBEA;
  --ocean-deep: #0B4E86;
  --blue: #42BBEA;
  --rule: rgba(245, 241, 233, 0.16);
  --vc-accent: var(--blue);
  --paper: #F5F1E9;
  --tint: #0B1E24;
  --tint-2: #0B1E24;
  --content: 1180px;
  --radius: 8px;
  --radius-panel: 12px;
  --paper-true: #F5F1E9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--tint);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--ocean); }

h1, h2, .serif {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.18; margin-bottom: 16px; }
h3 { font-size: 20px; line-height: 1.3; margin-bottom: 8px; font-weight: 700; }

.container {
  max-width: var(--content);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 960px) {
  .container { padding-left: 48px; padding-right: 48px; }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
  scroll-padding-top: 96px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta .btn { padding: 11px 22px; min-height: 44px; font-size: 16px; }
.nav-cta .apply-btn { background: var(--blue); color: var(--ink); border: none; }
.nav-cta .apply-btn:hover, .nav-cta .apply-btn:focus-visible { background: var(--ocean-deep); color: #FFFFFF; }
.nav-cta .js-text-panel { background: transparent; border-color: rgba(245, 241, 233, 0.55); color: var(--ivory); }
.nav-cta .js-text-panel:hover, .nav-cta .js-text-panel:focus-visible { background: var(--ivory); color: var(--tint-2); }
.nav-phone {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.nav-phone:hover, .nav-phone:focus-visible { color: var(--ocean); }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo { width: 52px; height: 52px; display: block; flex-shrink: 0; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--ocean); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 14px 26px;
  min-height: 48px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--blue); color: var(--ink); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--ocean-deep); color: #FFFFFF; }
.btn-outline { border-color: rgba(245, 241, 233, 0.55); color: var(--ivory); background: transparent; }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--ivory); color: var(--tint-2); }
.btn-light { background: var(--paper-true); color: var(--ink); border-color: var(--paper-true); }
.btn-light:hover, .btn-light:focus-visible { background: #FFFFFF; color: var(--ink); }
.hero .btn-outline { color: var(--ivory); border-color: rgba(245, 241, 233, 0.55); }
.hero .btn-outline:hover, .hero .btn-outline:focus-visible { background: var(--ivory); color: var(--tint-2); border-color: var(--ivory); }
.hero .btn-primary:hover, .hero .btn-primary:focus-visible { background: var(--ocean-deep); color: #FFFFFF; }

/* ---------- Hero ---------- */
.nw { white-space: nowrap; }
.hero { background: var(--tint-2); color: var(--ivory); padding: 56px 0 88px; overflow: hidden; position: relative; }
.hero p { color: var(--ivory); }
.hero-lead { font-size: 19px; max-width: 52ch; margin-bottom: 28px; }
.hero-support { font-size: 15px; margin-top: 18px; max-width: 46ch; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
}
.hero-art { position: relative; min-height: 420px; display: flex; flex-direction: column; }
.hero-art svg { position: relative; flex: 1; min-height: 0; width: 100%; }

/* Arc art as background overlay: text sits on top */
.hero-art-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-grid > div:not(.hero-art-bg) { position: relative; z-index: 1; }
.hero-art-bg svg {
  position: absolute;
  right: -70px;
  top: -30px;
  width: min(78vw, 460px);
  height: auto;
  opacity: 0.35;
  z-index: 0;
}

/* Builder-transformed homepage: force the same overlay via the element id */
.hero #ipycz {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  pointer-events: none;
}
.hero #ipycz svg {
  position: absolute;
  right: -70px;
  top: -30px;
  width: min(78vw, 460px);
  height: auto;
  opacity: 0.35;
}
.hero .hero-grid > * { position: relative; z-index: 1; }
.hero .hero-grid > #ipycz { position: absolute; z-index: 0; }
.anchor-gap { height: 64px; }
.ark-anchor { position: static; margin-top: 12px; }
/* Desktop (861px+): on the transformed page the anchor sits inside the absolute
   arc overlay (#ipycz), which puts it at the top-left, crowding the eyebrow.
   Pin it to the bottom-right of the hero instead, under the arcs.
   Mobile (≤860px) re-parents it via display:contents and is unaffected. */
@media (min-width: 861px) {
  .hero #ipycz .ark-anchor {
    position: absolute;
    right: clamp(24px, 4vw, 48px);
    bottom: 20px;
    margin: 0;
    text-align: right;
  }
}
.ark-anchor .ark-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.ark-anchor .ark-sub {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-top: 4px;
}
.hero svg path[stroke="#0E5EA8"] { stroke: #8ED4F2; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  font-weight: 500;
  color: var(--ink);
}
.hero h1 .accent { color: var(--blue); display: block; }
.hero-lead { font-size: 19px; color: var(--ivory); max-width: 52ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-support { font-size: 15px; color: var(--ivory); margin-top: 18px; max-width: 46ch; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
/* White becomes the exception: a section is dark (Ink) by default and opts out explicitly */
.section-light { background: var(--paper-true); color: var(--ink); }
.section-light h1, .section-light h2, .section-light h3 { color: var(--ink); }
.section-light p, .section-light .rows .row p, .section-light .recog-row p, .section-light .recog-intro p, .section-light .faq-item p { color: var(--ink); }
.section-light .service-cols li span, .section-light .loop-fig figcaption { color: var(--ink); }
.section-light .interest-panel p { color: var(--ivory); }
.section-light a { color: var(--ocean-deep); }
.section-light .eyebrow { color: var(--blue); }
.section-dark { background: var(--tint-2); color: var(--ivory); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-dark p { color: rgba(245, 241, 233, 0.86); }
.section-dark a { color: #8ED4F2; }
.section-dark .btn-light { border-color: var(--paper-true); }
.section-dark .eyebrow { color: #8ED4F2; }
.section-band { background: var(--tint-2); color: var(--ivory); }
.section-band h2 { color: var(--ivory); }
.section-band p { color: rgba(245, 241, 233, 0.86); }
.section-band a { color: var(--blue); }
/* White sections are the exception: dark-tinted rules so borders stay visible */
.section-light .faq, .section-light .faq-item, .section-light .rows, .section-light .rows .row,
.section-light .recog-rows, .section-light .recog-row, .section-light .interest-panel { border-color: rgba(11, 30, 36, 0.14); }
.section-light .card { background: var(--paper-true); border-color: rgba(11, 30, 36, 0.15); }
.section-light .card h3 { color: var(--ocean-deep); }
.section-light .card p { color: rgba(11, 30, 36, 0.85); }
.section-light .card a { color: var(--ocean-deep); }
.section-light .btn-outline { color: var(--ink); border-color: var(--ink); }
.section-light .tool-fig { border-color: rgba(11, 30, 36, 0.15); }
.section-light .ark-num { color: var(--ocean-deep); }
/* Link-styling overrides must not eat button labels */
.section-light a.btn, .section-band a.btn-primary, .section-dark a.btn-primary { color: var(--ink); }
.section-rule { border-top: 1px solid var(--rule); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Recognition rows (thin rules, not boxes) */
.recog-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}
.recog-intro p { color: var(--ivory); max-width: 42ch; }
.recog-rows { border-top: 1px solid var(--rule); }
.recog-row { border-bottom: 1px solid var(--rule); padding: 26px 0; display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.recog-row h3 { margin-bottom: 0; font-size: 19px; }
.recog-row p { color: var(--ivory); font-size: 17px; max-width: 52ch; }

/* ARK steps */
.ark-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  counter-reset: step;
}
.ark-step { border-top: 1px solid rgba(245, 241, 233, 0.25); padding-top: 20px; }
.section-light .ark-step { border-top-color: rgba(11, 30, 36, 0.2); }
.ark-num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 18px;
  color: var(--ocean);
  font-style: italic;
  display: block;
  margin-bottom: 10px;
}
.section-dark .ark-num { color: #8ED4F2; }
.ark-step h3 { color: inherit; margin-bottom: 10px; font-size: 19px; }
.ark-step p { font-size: 17px; }

/* Editorial rows */
.rows { border-top: 1px solid var(--rule); }
.rows .row { border-bottom: 1px solid var(--rule); padding: 26px 0; display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.rows .row h3 { font-size: 19px; margin-bottom: 0; }
.rows .row p { color: var(--ivory); font-size: 17px; max-width: 56ch; }

/* Editorial card grids (kept for supporting pages) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-2.uneven { align-items: start; }
.cards-2.uneven .col { display: grid; gap: 20px; align-content: start; }
.card {
  background: rgba(66, 185, 234, 0.10);
  border: 1px solid rgba(66, 185, 234, 0.35);
  border-radius: var(--radius-panel);
  padding: 26px;
}
.card h3 { margin-bottom: 10px; color: var(--ivory); }
.tool-fig { margin: 0 0 14px; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule); }
.tool-fig img { display: block; width: 100%; height: auto; }
/* Cards sitting on dark or tinted bands keep their Ink surface + accent border */
.section-band .card, .section-dark .card { background: rgba(66, 185, 234, 0.10); border-color: rgba(66, 185, 234, 0.35); }
.section-band .card h3 { color: var(--blue); }

/* ---- Vitality Collective handoff band ---- */
.vc-handoff { background: var(--tint-2); padding: 34px 0 30px; }
.vc-panel { background: var(--paper-true); border: 2px solid var(--vc-accent); border-radius: var(--radius-panel); padding: 26px 28px; }
.vc-panel-slim { padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.vc-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ocean-deep); }
.vc-handoff h2 { margin: 0 0 8px; font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--ink); }
.vc-lead { margin: 0 0 14px; color: rgba(11, 30, 36, 0.92); max-width: 56ch; }
.vc-panel-slim .vc-lead { margin: 0; flex: 1 1 320px; }
.vc-cta { display: inline-block; background: var(--blue); color: var(--ink); font-weight: 700; padding: 10px 18px; border-radius: 999px; text-decoration: none; }
.vc-cta:hover { filter: brightness(1.08); }
.vc-note { margin: 12px 0 0; font-size: 14px; color: var(--ocean-deep); }
.card p { color: var(--ivory); font-size: 16.5px; }
.card a { font-weight: 700; text-decoration: none; }
.card-link { margin-top: 16px; display: inline-block; }

/* Compact multi-column service list */
.service-cols {
  columns: 3;
  column-gap: 48px;
  max-width: 980px;
}
.service-cols li {
  list-style: none;
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
  break-inside: avoid;
  font-weight: 600;
}
.service-cols li span { display: block; font-weight: 400; font-size: 15.5px; margin-top: 4px; }
.service-cols li a { color: var(--blue); }

/* Testimonial */
.testimonial { border-left: 3px solid var(--blue); padding: 8px 0 8px 24px; max-width: 720px; }
.testimonial + .testimonial { margin-top: 40px; }
.testimonial blockquote { font-family: 'Source Serif 4', Georgia, serif; font-size: 21px; line-height: 1.5; margin-bottom: 12px; }
.testimonial cite { font-style: normal; font-size: 15px; color: var(--ivory); }

/* Regenerative interest panel */
.interest-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-panel);
  padding: 32px;
  max-width: 620px;
  margin-top: 36px;
}
.interest-note { font-size: 14px; margin-top: 14px; color: var(--ink); }

/* FAQ */
.faq { max-width: 780px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  padding: 22px 0;
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  color: var(--ocean);
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: '\2013'; }
.faq-item p { padding: 0 0 22px; color: var(--ivory); max-width: 62ch; }

/* Contact block */
.contact-panel {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-panel);
  padding: 36px;
  max-width: 560px;
}
.section-dark .contact-panel { background: rgba(245, 241, 233, 0.06); border-color: rgba(245, 241, 233, 0.25); }
.section-dark .contact-panel, .section-dark .contact-panel p { color: var(--ivory); }
.phone-large {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  margin: 12px 0 20px;
  color: inherit;
}
a.phone-large { text-decoration: none; }
a.phone-large:hover, a.phone-large:focus-visible { color: var(--ocean); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.expectation { font-size: 14.5px; color: var(--ink); max-width: 46ch; }
.section-dark .expectation { color: rgba(245, 241, 233, 0.92); }
.contact-panel { color: var(--tint-2); }
.contact-panel p { color: var(--tint-2); }
.contact-panel a { color: var(--ivory); }
/* On light panels (no .section-dark ancestor) links must be deep blue; the ivory link color above is only safe on dark sections */
.section:not(.section-dark) .contact-panel a { color: var(--ocean-deep); }
/* Buttons keep ink text on their ivory fill in every panel, light or dark */
.contact-panel a.btn-light { color: var(--ink); }
.brand-line { margin-top: 28px; font-weight: 700; }

/* Copy number panel (desktop text button) */
.copy-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--radius-panel);
  padding: 20px;
  width: 300px;
  box-shadow: 0 12px 32px rgba(20, 43, 50, 0.16);
  z-index: 60;
}
.copy-panel[hidden] { display: none; }
.copy-panel .phone-large { font-size: 26px; margin: 8px 0 14px; }
.copy-panel p { font-size: 14.5px; color: var(--ink); margin-bottom: 14px; }
.copy-panel .btn { width: 100%; padding: 10px 16px; font-size: 15px; margin-bottom: 10px; }
.copy-panel .alt-link { font-size: 14px; }
.contact-wrap { position: relative; }

/* Cherry widget section */
.cherry-wrap { max-width: 860px; margin: 0 auto; }
.cherry-wrap #all, .cherry-wrap #hero, .cherry-wrap #calculator,
.cherry-wrap #howitworks, .cherry-wrap #testimony, .cherry-wrap #faq { min-height: 1px; }

/* ARK linework divider fragment */
.ark-divider { padding: 8px 0; }
.ark-divider svg { height: 72px; width: 220px; opacity: 0.5; }
.section-dark .ark-divider path[stroke="#FFFFFF"] { stroke: #8ED4F2; }
.section-dark .ark-divider path[stroke="#0E5EA8"] { stroke: #42BBEA; }

/* Brain-body loop figure (Our Approach) */
.loop-fig { max-width: 760px; margin: 0 auto; }
.loop-fig svg { width: 100%; height: auto; }
.loop-svg-tall { display: none; }
.loop-fig figcaption {
  font-size: 15px;
  color: var(--ink);
  max-width: 60ch;
  margin: 12px auto 0;
  text-align: center;
}
.loop-fig figcaption a { font-weight: 700; text-decoration: none; }
.loop-fig figcaption strong { white-space: normal; }
@media (max-width: 860px) {
  .loop-svg-wide { display: none; }
  .loop-svg-tall { display: block; max-width: 380px; margin: 0 auto; }
  .loop-fig figcaption { text-align: left; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-true);
  color: rgba(11, 30, 36, 0.8);
  padding: 64px 0 120px;
}
.site-footer a { color: rgba(11, 30, 36, 0.92); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--ocean-deep); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand { font-weight: 700; color: var(--ink); font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-tagline { margin: 10px 0 18px; max-width: 34ch; }
.footer-col h4 {
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(11, 30, 36, 0.8); }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--ocean-deep); }
.footer-legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(11, 30, 36, 0.2);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-disclaimer {
  width: 100%;
  font-size: 13px;
  color: rgba(11, 30, 36, 0.65);
  margin: 0;
}

/* ---------- Mobile contact bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 12px;
}
.mobile-bar .btn { flex: 1; padding: 12px 10px; font-size: 16px; min-height: 48px; }
.mobile-bar .btn-primary { flex: 2; }
.site-footer .btn-outline { color: var(--ink); border-color: var(--ink); }
.section-light .testimonial cite { color: var(--ink); }

/* ---------- Focus ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ocean);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .recog-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); }
  .ark-steps { gap: 32px; }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--rule); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; position: relative; }
  .hero-grid > div:first-child { display: contents; }
  .hero .hero-art { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .hero .hero-lead { order: 3; }
  .hero .ark-anchor { order: 4; text-align: right; padding: 26px 0 20px; }
  .hero .hero-actions.contact-wrap { order: 5; }
  .hero .hero-support { order: 6; }
  .hero .hero-art svg { position: absolute; right: -60px; top: -18px; width: min(70vw, 300px); opacity: 0.3; z-index: 0; }
  .hero { padding: 40px 0 calc(72px + env(safe-area-inset-bottom, 0px)); }
  .ark-steps { grid-template-columns: 1fr; gap: 24px; }
  .cards, .cards-2 { grid-template-columns: 1fr; }
  .rows .row, .recog-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .service-cols { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 56px 0; }
}

@media (max-width: 720px) {
  body { font-size: 17px; line-height: 1.6; }
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 130px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 46px); }
  .nw { white-space: normal; }
  .hero-lead { font-size: 17px; }
  .anchor-gap { height: 40px; }
  .copy-panel { position: static; width: auto; margin-top: 16px; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Website chat widget suppressor — Bio Medical site only.
   The MELT Precision Coach widget script is injected by the builder's page
   records (body-end code slot); this rule keeps it from ever rendering here.
   Remove this rule if the widget should come back on this site. */
#nocotel-widget-container,
#nocotel-widget-app,
.nocotel-orb-launcher,
.nocotel-orb-floating,
.nocotel-fallback-orb { display: none !important; }

/* ---------- Warm architectural layer (approved 2026-09-28, carried from the homepage preview) ---------- */
body { color: var(--ivory); }
.nav-phone { color: var(--ivory); }
.brand { color: var(--ivory); }
.main-nav a { color: var(--ivory); }
.nav-toggle { color: var(--ivory); }
.site-header { background: var(--tint-2); }
.main-nav { background: var(--tint-2); }
.ark-anchor .ark-sub { color: var(--ivory); }
.loop-fig figcaption { color: var(--ivory); }
.hero h1 { color: var(--ivory); font-size: clamp(44px, 5.8vw, 80px); }
.hero h1 .accent { color: #E7E0D5; font-style: italic; }
.hero #ipycz svg, .hero .hero-art-bg svg { opacity: 0.22; width: min(64vw, 400px); }
@media (min-width: 861px) { .hero { padding: 88px 0 104px; } }
.copy-panel { color: var(--tint-2); }
.copy-panel p { color: rgba(11, 30, 36, 0.78); }
.copy-panel .btn-outline { color: var(--tint-2); border-color: var(--tint-2); }
.contact-panel .btn-outline { color: var(--tint-2); border-color: var(--tint-2); }
.mobile-bar { border-top-color: rgba(11, 30, 36, 0.14); }
.mobile-bar .btn-outline { color: var(--tint-2); border-color: var(--tint-2); }
.interest-panel { background: var(--tint-2); border-color: rgba(245, 241, 233, 0.2); }
.interest-panel p, .interest-note { color: var(--ivory); }
.warm-story { background: #F5F1E9; color: #0B1E24; border-top: 0; }
.warm-story h2, .warm-story h3 { color: #0B1E24; }
.warm-story p { color: rgba(11, 30, 36, 0.78); }
.warm-story .recog-rows { background: #E7E0D5; border-top: 0; padding: 0 32px; }
.warm-story .recog-row { border-bottom: 1px solid rgba(11, 30, 36, 0.12); }
.warm-story .recog-row:last-child { border-bottom: 0; }
.warm-story a { color: #0B4E86; }
.warm-photo { margin: 32px 0 0; border-radius: 4px; overflow: hidden; }
.warm-photo img { width: 100%; height: auto; display: block; }
.warm-ark { background: #0B1E24; color: #F5F1E9; }
.warm-ark h2 { color: #F5F1E9; }
.warm-ark p { color: rgba(245, 241, 233, 0.82); }
.warm-ark .eyebrow { color: #42BBEA; }
.warm-ark .ark-step { border-top: 1px solid rgba(245, 241, 233, 0.25); }
.warm-ark .ark-num { color: #E7E0D5; font-size: 15px; }
.warm-ark a { color: #42BBEA; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .warm-story .recog-rows { padding: 0 20px; } }

/* Care options: linked service list + Restore Room card (2026-09-28 copy revision) */
.service-cols li a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.restore-card { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; background: var(--paper-true); border-radius: var(--radius-panel); padding: 34px 32px; margin-top: 44px; max-width: 980px; }
.restore-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ocean-deep); margin-bottom: 4px; }
.restore-card h3 { color: var(--ink); }
.restore-card p { color: rgba(11, 30, 36, 0.78); font-size: 16.5px; margin-bottom: 10px; }
.restore-link { display: inline-block; margin-top: 8px; background: var(--blue); color: var(--ink); font-weight: 700; padding: 10px 18px; border-radius: 999px; text-decoration: none; }
.restore-link:hover { filter: brightness(1.08); }
.restore-photo img { width: 100%; height: auto; display: block; border-radius: 4px; }
@media (max-width: 860px) { .restore-card { grid-template-columns: 1fr; padding: 26px 22px; } }

/* Contact page: form shell + two-column layout (2026-10-01) */
.form-embed-shell { background: var(--tint-2); border: 1px solid rgba(245, 241, 233, 0.2); border-radius: var(--radius-panel); padding: 24px; }
.contact-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); gap: 40px; align-items: start; }
.contact-panel-side { max-width: none; }
.contact-cols .contact-panel { max-width: none; margin-bottom: 0; }
@media (max-width: 860px) { .contact-cols { grid-template-columns: 1fr; gap: 24px; } }

/* Service detail pages (2026-09-28) */
.cta-strip { margin-top: 40px; background: var(--tint-2); border: 1px solid rgba(245, 241, 233, 0.2); border-radius: var(--radius-panel); padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta-strip-lead { margin: 0 auto 0 0; max-width: 52ch; color: var(--ivory); font-size: 17px; }
@media (max-width: 860px) { .cta-strip { flex-direction: column; align-items: stretch; text-align: center; } .cta-strip .btn { width: 100%; } }
.service-detail { max-width: 760px; }

/* Apply to Become a Patient section (2026-10-05) */
.apply-section .lead { max-width: 68ch; }
.apply-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.apply-note { margin-top: 16px; font-size: 14px; color: var(--ivory); }
.service-photo { margin: 0 0 28px; border-radius: 4px; overflow: hidden; }
.service-photo img { width: 100%; height: auto; display: block; }
.service-detail p { color: rgba(245, 241, 233, 0.88); margin-bottom: 18px; max-width: 64ch; }
.service-backlink { margin-top: 8px; }
.service-backlink a { color: #0B4E86; font-weight: 600; }

/* 2026-11-02-c: keep header phone visible on desktop; trim nav instead of hiding Apply/phone */
@media (min-width: 861px) and (max-width: 1180px) {
  .main-nav a[href="/conditions-we-help"] { display: none !important; }
  .nav-cta { gap: 8px !important; }
  .nav-cta .btn { padding: 9px 12px !important; font-size: 14px !important; }
  .nav-phone { font-size: 14px !important; white-space: nowrap; }
  .main-nav { gap: 12px !important; }
  .main-nav a { font-size: 14px !important; white-space: nowrap; }
  .site-header .container { gap: 12px !important; }
}
@media (min-width: 861px) and (max-width: 1000px) {
  .main-nav a[href="/our-team"], .main-nav a[href="/your-first-visit"] { display: none !important; }
}

/* 2026-11-02-d: keep nav on one line on every page */
.main-nav a { white-space: nowrap; }
.nav-cta .btn, .nav-phone { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1480px) {
  .main-nav a[href="/conditions-we-help"] { display: none !important; }
}
@media (min-width: 1181px) and (max-width: 1480px) {
  .main-nav { gap: 22px; }
  .site-header .container { gap: 18px; }
}
@media (min-width: 1481px) {
  .site-header .container { max-width: 1400px; }
}

/* readable back link on navy hero */
.hero .service-backlink a { color: #F5EFE6; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.hero .service-backlink a:hover, .hero .service-backlink a:focus-visible { color: #42BBEA; }

/* 2026-11-03-m: proportionate mobile bar labels */
.mobile-bar .btn, .mobile-bar .btn-primary, .mobile-bar .btn-outline {
  font-size: 15px !important; font-weight: 600 !important; line-height: 1.2 !important;
  letter-spacing: 0 !important; white-space: nowrap !important;
  padding: 12px 8px !important; display: inline-flex; align-items: center; justify-content: center;
}

/* 2026-11-03-n: breathing room between an intro paragraph and a ruled list */
p + .recog-rows, p + .rows { margin-top: 30px; }

/* 2026-11-03-n: clear the H1 below the back link */
.service-backlink { display: block; margin-bottom: 20px; }

/* 2026-11-03-o: dark text on cream sections of service pages (was cream-on-cream) */
.section-light .service-detail p, .section-light .service-detail li { color: rgba(11, 30, 36, 0.85); }
.section-light .service-detail a { color: var(--ocean-deep); }

/* 2026-11-03-p: tighter vertical rhythm (was 64px/96px per band + trailing margins) */
.section { padding: 72px 0; }
.section .container > :last-child,
.section .service-detail > :last-child,
.section .section-head:last-child > :last-child { margin-bottom: 0; }
.hero { padding-bottom: 56px !important; }
.hero .container > :last-child { margin-bottom: 0; }
.hero + .section:not(.section-light):not(.section-rule) { padding-top: 8px; }
.service-photo { margin-bottom: 24px; }
/* Home: outline button pair under the team blurb */
.btn-pair { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.section:not(.section-light) .btn-pair .btn-outline { color: var(--ivory); border-color: rgba(245, 241, 233, 0.55); }
.section:not(.section-light) .btn-pair .btn-outline:hover,
.section:not(.section-light) .btn-pair .btn-outline:focus-visible { background: var(--ivory); color: var(--tint-2); border-color: var(--ivory); }
@media (max-width: 860px) {
  .section { padding: 40px 0; }
  .hero { padding-bottom: 32px !important; }
  .hero + .section:not(.section-light):not(.section-rule) { padding-top: 0; }
  .hero .ark-anchor { padding: 20px 0 0; }
  .btn-pair { flex-direction: column; }
  .btn-pair .btn { width: 100%; text-align: center; justify-content: center; }
}
/* 2026-11-03-p: space between a card grid and the paragraph after it */
.section .container > div + p, .cards + p, .cards-2 + p { margin-top: 24px; }
.section-band { padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 860px) { .section-band { padding-top: 40px; padding-bottom: 40px; } }
/* 2026-11-03-p: Apply CTA block above the footer keeps its own padding */
.apply-section { padding: 72px 0; }
.apply-section .container > :last-child, .apply-section .apply-note { margin-bottom: 0; }
@media (max-width: 860px) { .apply-section { padding: 48px 0 40px; } }
/* 2026-11-03-p: readable Apply button on dark CTA */
.apply-section .btn-light, .apply-section a.btn-light { color: #0B1E24 !important; }
.apply-section .btn-light:hover, .apply-section .btn-light:focus-visible { color: #0B1E24 !important; background: #FFFFFF; }
