/* ==========================================================================
   Paragon Sport Spine & Wellness: site styles
   Built for an Elementor rebuild: every layout is a flex container.
   Colors & fonts = Elementor Site Settings → Global Colors / Global Fonts.

   Visual direction: strong condensed headlines over real clinic photos, clean
   photo cards, black bands and warm ivory sections.
   Logo colors (black, white, gold) are unchanged. Gold never carries text on a
   light background: headlines stay black, gold is for buttons, icons and accents.
   ========================================================================== */

:root {
  /* Logo colors */
  --gold: #FFC72C;
  --black: #000000;
  --white: #FFFFFF;

  /* Supporting neutrals */
  --ivory: #FBF8F1;
  --sand: #F4EEE1;
  --gold-tint: #FFF3CC;
  --gold-deep: #7D5B00;   /* gold for small text: passes contrast on white, ivory and sand */
  --ink: #151515;
  --charcoal: #2B2B2B;
  --gray: #45423C;
  --gray-muted: #625D53;
  --line: rgba(60, 48, 20, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);

  /* Fonts */
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --boxed: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 8px;
  --section-y: 88px;
  --shadow: 0 1px 2px rgba(60, 48, 20, 0.05), 0 12px 32px rgba(60, 48, 20, 0.07);
  --shadow-lift: 0 2px 4px rgba(60, 48, 20, 0.06), 0 20px 44px rgba(60, 48, 20, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
[id], .tabs { scroll-margin-top: 110px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible, .mobile-nav :focus-visible { outline-color: var(--gold); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0 0 0.5em; font-family: var(--font-head); color: var(--black); letter-spacing: 0.01em; text-transform: capitalize; overflow-wrap: break-word; }
h1 { font-size: clamp(2.7rem, 4.4vw, 3.6rem); font-weight: 700; line-height: 1.12; }
h2 { font-size: clamp(2.05rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.16; }
h3 { font-size: 1.42rem; font-weight: 600; line-height: 1.25; color: var(--charcoal); }
h4 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; color: var(--charcoal); }
.lead { font-size: 1.16rem; line-height: 1.65; color: var(--gray); }
.muted { color: var(--gray-muted); }
.small { font-size: 0.875rem; }

/* Headline highlight: gold words on dark, a soft marker stroke on light (Heading widget + inline span) */
.gold-text {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 100% 0.32em;
  background-position: 0 92%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.06em;
}
.dark .gold-text { background: none; padding: 0; color: var(--gold); }

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dark .eyebrow { color: var(--gold); }

/* ---------- Layout: sections & flex containers ---------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding: 72px 0; }
.section--light { background: var(--ivory); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--black); }
.section--ink { background: var(--ink); }
.dark { color: rgba(255, 255, 255, 0.8); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--white); }
.dark .lead { color: rgba(255, 255, 255, 0.82); }
.dark .muted { color: rgba(255, 255, 255, 0.65); }

.container { width: 100%; max-width: var(--boxed); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

/* A "row" = Elementor container, direction row, wrap */
.row { display: flex; flex-wrap: wrap; gap: 28px; }
.row--center { align-items: center; }
.row--tight { gap: 18px; }
.row--wide { gap: 64px; }
.col { flex: 1 1 0; min-width: 0; }
.w-25 { flex: 1 1 calc(25% - 28px); min-width: 230px; }
.w-33 { flex: 1 1 calc(33.333% - 28px); min-width: 280px; }
.w-40 { flex: 1 1 calc(40% - 32px); min-width: 300px; }
.w-50 { flex: 1 1 calc(50% - 32px); min-width: 320px; }
.w-60 { flex: 1 1 calc(60% - 32px); min-width: 320px; }
.center { text-align: center; }
.section-head { max-width: 760px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.center .btn-row, .btn-row--center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.3s cubic-bezier(.34, 1.56, .64, 1);
}
/* Buttons pop on hover with a little spring, and press in when tapped */
@media (prefers-reduced-motion: no-preference) {
  @media (hover: hover) {
    .btn:not(:disabled):hover, .header-phone:hover { transform: scale(1.08); }
  }
  .btn:not(:disabled):focus-visible { transform: scale(1.08); }
  .btn:not(:disabled):active, .mobile-bar a:active, .header-phone:active { transform: scale(0.96); }
}
.btn--gold { background: var(--gold); color: var(--black); box-shadow: 0 6px 18px rgba(190, 140, 0, 0.32); }
.btn--gold:hover { background: var(--black); color: var(--gold); box-shadow: none; }
.site-header .btn--gold, .mobile-nav .btn--gold { box-shadow: none; }
.dark .btn--gold { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
.dark .btn--gold:hover, .site-header .btn--gold:hover { background: var(--white); color: var(--black); }
.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover { background: var(--charcoal); }
.btn--outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--outline:hover { background: var(--charcoal); color: var(--white); }
.dark .btn--outline { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.dark .btn--outline:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--black); font-weight: 650; font-size: 0.98rem;
  border-bottom: 2px solid var(--gold); padding-bottom: 2px;
  transition: gap 0.2s;
}
.text-link:hover { gap: 12px; }
.text-link i { font-size: 0.8em; }
.dark .text-link { color: var(--white); }

/* ---------- Top bar & header ---------- */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: var(--gold); color: var(--black); padding: 10px 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.logo { flex: none; }
.logo img { width: 200px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 7px;
  padding: 29px 11px;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 500;
  white-space: nowrap;
  background: none; border: 0; cursor: pointer;
  transition: color 0.2s;
}
.nav-link i { font-size: 0.62rem; color: var(--gold); }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-current="page"] { color: var(--gold); }
.dropdown, .flyout {
  position: absolute;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.dropdown { top: calc(100% - 8px); left: 0; min-width: 280px; transform: translateY(6px); }
.flyout { top: -10px; left: calc(100% + 8px); min-width: 300px; max-height: 78vh; overflow-y: auto; transform: translateX(6px); }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--charcoal); font-size: 0.96rem; font-weight: 500; }
.dropdown a:hover { background: var(--ivory); color: var(--black); }
.dd-item { position: relative; }
.dd-item::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 10px; }
.dd-item > a { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dd-item > a i { font-size: 0.62rem; color: var(--gold-deep); }
.dd-item:hover > .flyout, .dd-item:focus-within > .flyout { opacity: 1; visibility: visible; transform: translateX(0); }
.dd-item:hover > a { background: var(--ivory); }
.flyout .flyout-head { font-weight: 650; color: var(--black); border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; margin-bottom: 6px; }
.dd-feature { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.dd-feature > a { justify-content: flex-start; gap: 0; font-weight: 650; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: none; align-items: center; gap: 8px; color: var(--white); font-weight: 500; font-size: 0.98rem; white-space: nowrap; transition: color 0.2s, transform 0.3s cubic-bezier(.34, 1.56, .64, 1); }
.header-phone i { color: var(--gold); font-size: 0.85rem; }
.header-phone:hover { color: var(--gold); }
@media (min-width: 1360px) { .header-phone { display: inline-flex; } }
.header-cta .btn { padding: 11px 20px; font-size: 0.95rem; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; padding: 8px; }
.mobile-nav { display: none; }
.badge-new { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 20px; background: var(--gold); color: var(--black); font-size: 0.72rem; font-weight: 700; line-height: 1.5; }

/* ---------- Photo sections: background image + dark overlay ----------
   Elementor: Container → Style → Background (image, cover) + Background Overlay. */
.hero, .cta-photo { position: relative; overflow: hidden; background: var(--black); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 300ms ease; }
.hero-video.is-playing { opacity: 1; }
.hero::before, .cta-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.hero > .container, .cta-photo > .container { position: relative; z-index: 2; }

/* ---------- Hero ---------- */
/* The banner tucks 1px under the header, so no line of the white page can show between them at any zoom */
main > .hero:first-child { margin-top: -1px; }
.hero { display: flex; align-items: center; min-height: 660px; padding: 88px 0; }
.hero::before { background: linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.66) 42%, rgba(0, 0, 0, 0.14) 78%); }
.hero-content { max-width: 640px; }
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255, 255, 255, 0.9); }
.hero--page { min-height: 440px; padding: 64px 0; text-align: center; }
.hero--page::before { background: rgba(0, 0, 0, 0.66); }
.hero--page .hero-content { max-width: 860px; margin: 0 auto; }
.hero--page .btn-row { justify-content: center; }
.hero--page .lead { max-width: 700px; margin-left: auto; margin-right: auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.hero--page .breadcrumb { justify-content: center; }
.breadcrumb a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--gold); }
.hero .post-meta { justify-content: center; color: rgba(255, 255, 255, 0.85); }
.hero .post-meta i { color: var(--gold); }

/* Trust band under the hero (Icon List widget, inline) */
.trust { background: var(--black); border-top: 1px solid var(--line-dark); }
.trust .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 44px; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: 1.02rem; font-weight: 500; line-height: 1.3; }
.trust-item i { flex: none; width: 22px; text-align: center; color: var(--gold); }
.trust--detail .container { align-items: flex-start; justify-content: flex-start; gap: 24px 36px; padding-top: 30px; padding-bottom: 30px; }
.trust--detail .trust-item { flex: 1 1 calc(25% - 36px); min-width: 230px; display: flex; align-items: flex-start; gap: 14px; }
.trust--detail .trust-item i { width: 26px; margin-top: 4px; font-size: 1.25rem; }
.trust--detail strong { display: block; margin-bottom: 6px; color: var(--white); font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.trust--detail p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.96rem; font-weight: 400; line-height: 1.45; }

/* ---------- Icons ---------- */
.icon { display: flex; align-items: center; justify-content: center; flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--gold-tint); color: var(--black); font-size: 1.1rem; }
.dark .icon { background: var(--gold); }

/* ---------- Icon boxes ---------- */
.icon-box { padding: 34px 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.2s, border-color 0.2s; }
a.icon-box { display: block; }
a.icon-box:hover { box-shadow: var(--shadow-lift); border-color: transparent; }
.icon-box .icon { margin-bottom: 20px; }
.icon-box h3 { margin-bottom: 10px; }
.icon-box p { font-size: 1rem; }
.icon-box .text-link { margin-top: 18px; }
.icon-box--compact { padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
a.icon-box--compact { display: flex; }
.icon-box--compact .icon { margin: 0; width: 44px; height: 44px; font-size: 1rem; }
.icon-box--compact h3 { margin: 0; font-size: 1.2rem; }
.icon-box--compact .arrow { margin-left: auto; color: var(--gold-deep); font-size: 0.85rem; transition: transform 0.2s; }
a.icon-box--compact:hover .arrow { transform: translateX(3px); }

/* ---------- Image cards (services, blog) ---------- */
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow 0.2s, transform 0.2s; }
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card img[src*="service-physical-therapy-handson"] { object-position: 50% 0; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.card-body h3 { margin-bottom: 6px; }
.card-body p { font-size: 1rem; line-height: 1.55; flex: 1; }
.card-body .text-link { align-self: flex-start; margin-top: 14px; border: 0; padding: 0; color: var(--gold-deep); font-size: 0.98rem; }
.card-meta { margin-bottom: 8px; color: var(--gold-deep); font-size: 0.88rem; font-weight: 600; }
.svc-cards { margin: 28px 0; }

/* Wide feature card: photo + black panel */
.feature-card { display: flex; flex-wrap: wrap; overflow: hidden; border-radius: 16px; background: var(--black); color: rgba(255, 255, 255, 0.84); transition: box-shadow 0.2s, transform 0.2s; }
.feature-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.feature-card--flip { flex-direction: row-reverse; }
.feature-media { flex: 1 1 42%; min-width: 300px; }
.feature-media img { width: 100%; height: 100%; min-height: 290px; object-fit: cover; }
.feature-body { flex: 1 1 52%; min-width: 300px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 40px 52px; }
.feature-body .eyebrow { color: var(--gold); margin-bottom: 8px; }
.feature-body h3 { color: var(--white); font-size: 2rem; margin-bottom: 10px; }
.feature-body p { font-size: 1.02rem; line-height: 1.6; }
.feature-body .text-link { margin-top: 18px; color: var(--gold); border: 0; padding: 0; }

/* Link list with an icon (condition areas on Home) */
.link-list { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 28px; }
.link-list li { flex: 1 1 calc(25% - 28px); min-width: 240px; }
.link-list a { display: flex; align-items: center; gap: 12px; color: var(--charcoal); font-weight: 500; line-height: 1.3; }
.link-list span { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link-list a:hover { color: var(--black); }
.link-list i { flex: none; width: 22px; text-align: center; color: var(--gold-deep); }
.area-line { margin: 40px 0 0; color: var(--gray-muted); font-size: 1rem; }

/* ---------- Images ---------- */
.framed, .framed--left, .img-cover { border-radius: 18px; }
.framed, .framed--left { box-shadow: var(--shadow-lift); }
.img-cover { width: 100%; height: 460px; object-fit: cover; }

/* ---------- Icon list ---------- */
.icon-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; }
.icon-list i { flex: none; margin-top: 6px; color: var(--gold-deep); }
.dark .icon-list i { color: var(--gold); }
.icon-list--2col { flex-direction: row; flex-wrap: wrap; column-gap: 32px; }
.icon-list--2col li { flex: 1 1 calc(50% - 32px); min-width: 240px; }

/* ---------- Stats ---------- */
.stat { flex: 1 1 calc(50% - 28px); min-width: 180px; }
.stat strong { display: block; margin-bottom: 8px; color: var(--gold); font-family: var(--font-head); font-size: clamp(4.5rem, 6.5vw, 6rem); font-weight: 700; line-height: 1; }
.stat > span { font-size: 1.05rem; }

/* ---------- Steps ---------- */
.step { padding: 32px 30px 30px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.step-num { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--gold); color: var(--black); font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; line-height: 1; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 1rem; }

/* ---------- Testimonials & stars ---------- */
.stars { display: flex; gap: 3px; color: var(--gold); font-size: 0.92rem; margin-bottom: 16px; }
.testimonial { margin: 0; display: flex; flex-direction: column; padding: 32px 30px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); }
.testimonial blockquote { margin: 0 0 20px; flex: 1; color: var(--charcoal); font-size: 1.02rem; line-height: 1.65; }
.testimonial cite { font-style: normal; font-weight: 650; color: var(--black); }
.testimonial--feature { padding: 52px 56px; background: var(--white); border: 0; box-shadow: var(--shadow); }
.testimonial--feature blockquote { font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 500; line-height: 1.35; }
.quote-mark { color: var(--gold); font-size: 2rem; margin-bottom: 14px; }

/* ---------- Scrolling reviews: about 39px per second on desktop, 23px on phones ---------- */
.review-scroll { overflow-x: auto; padding: 2px 24px; }
.review-scroll.is-running { overflow: hidden; padding: 2px 0; }
.review-track { display: flex; width: max-content; }
.review-scroll.is-running .review-track { animation: review-drift calc(var(--reviews) * 10s) linear infinite; }
.review-scroll:hover .review-track { animation-play-state: paused; }
.review-set { display: flex; gap: 28px; padding-right: 28px; }
.review-set .testimonial { flex: 0 0 360px; width: 360px; padding: 28px 28px; }
@keyframes review-drift { to { transform: translateX(-50%); } }

/* Hides the scroll back to the top while a page changes inside a preview frame. The header stays on top of it. */
.page-cover { position: fixed; inset: 0; z-index: 99; background: var(--black); }

/* ---------- Scroll animations, every page ----------
   Each item rises in once, the first time it scrolls into view, and then stays still for good.
   site.js adds these classes and removes them when the item lands, so nothing is hidden if it doesn't run.
   They use "translate" rather than "transform" so an item's own hover movement keeps working. */
.rv {
  transition:
    opacity 800ms cubic-bezier(.7, 0, .2, 1) var(--rv-delay, 0ms),
    translate 800ms cubic-bezier(.7, 0, .2, 1) var(--rv-delay, 0ms),
    transform 0.25s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.rv--below { opacity: 0; translate: 0 32px; }
@keyframes rv-load { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * { animation: rv-load 800ms cubic-bezier(.7, 0, .2, 1) backwards; }
  .hero-content > :nth-child(2) { animation-delay: 150ms; }
  .hero-content > :nth-child(3) { animation-delay: 300ms; }
  .hero-content > :nth-child(n+4) { animation-delay: 450ms; }
}
@media print { .rv--below { opacity: 1 !important; translate: none !important; } }

/* Home headline: the gold phrase changes. Every phrase shares one space, so the page never shifts. */
.rotator { display: grid; }
.rotator > span { grid-area: 1 / 1; opacity: 0; translate: 0 0.45em; transition: opacity 600ms cubic-bezier(.7, 0, .2, 1), translate 600ms cubic-bezier(.7, 0, .2, 1); }
.rotator > .is-on { opacity: 1; translate: 0 0; transition-delay: 280ms; }
.rotator > .is-leaving { translate: 0 -0.45em; transition-duration: 300ms; }
@media (max-width: 340px) { .rotator { font-size: 0.92em; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Numbers count up once. They finish with a small pop. */
.count { display: inline-block; font-variant-numeric: tabular-nums; }
.count.is-done { animation: count-pop 420ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes count-pop { 40% { transform: scale(1.14); } }

/* ---------- About: map with a pin on each town our patients come from ---------- */
.coverage { display: flex; flex-wrap: wrap; align-items: center; gap: 44px; }
.coverage-map { flex: 1 1 56%; min-width: min(100%, 440px); border-radius: 18px; overflow: hidden; background: #0c0c0c; border: 1px solid var(--line-dark); }
.coverage-map svg { display: block; width: 100%; height: auto; }
.coverage-towns { flex: 1 1 34%; min-width: min(100%, 300px); }
.coverage-towns h3 { margin-bottom: 16px; color: var(--white); font-size: 1.5rem; }
.map-land path { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.map-nj { fill: #232323; }
.map-pa { fill: #151515; }
.map-water path { fill: #0b1a24; stroke: none; }
.map-roads path { fill: none; stroke: rgba(255, 255, 255, 0.11); stroke-width: 1.5; }
.map-pin-shape path { fill: var(--gold); stroke: #000; stroke-width: 1.2; }
.map-pin-shape circle { fill: #000; }
.map-pin text { fill: var(--white); font-size: 16px; font-weight: 600; paint-order: stroke; stroke: rgba(0, 0, 0, 0.85); stroke-width: 3.5px; stroke-linejoin: round; }
.map-pin--hub .map-pin-shape { transform: scale(1.7); }
.map-pin--hub text { font-size: 23px; font-weight: 700; }
/* Pins drop in one time as the map first comes into view */
.coverage-map.is-live .map-pin-drop { animation: map-pin-drop 600ms cubic-bezier(.34, 1.56, .64, 1) backwards; animation-delay: calc(200ms + var(--i) * 70ms); }
@keyframes map-pin-drop { from { opacity: 0; translate: 0 -24px; } }
.town-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.town-list li { padding: 7px 14px; border: 1px solid rgba(255, 199, 44, 0.5); border-radius: 30px; color: var(--white); font-size: 0.96rem; font-weight: 600; line-height: 1.3; }
.town-list li.is-hub { background: var(--gold); border-color: var(--gold); color: var(--black); }
.town-note { margin: 20px 0 0; color: rgba(255, 255, 255, 0.8); }
@media (max-width: 640px) {
  .map-pin:not(.map-pin--major):not(.map-pin--hub) text { display: none; }
  .map-pin text { font-size: 26px; stroke-width: 5px; }
  .map-pin-shape { transform: scale(1.3); }
  .map-pin--hub .map-pin-shape { transform: scale(2.1); }
  .map-pin--hub text { font-size: 30px; }
  .coverage { gap: 28px; }
}

/* ---------- Accordion (Elementor Accordion widget) ---------- */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.accordion details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.2s; }
.accordion details[open] { box-shadow: var(--shadow); border-color: transparent; }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px;
  color: var(--black); font-weight: 650; font-size: 1.05rem;
  cursor: pointer; list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-tint); color: var(--black); font-size: 1.2rem; font-weight: 500; line-height: 1; }
.accordion details[open] summary::after { content: "−"; background: var(--gold); }
.accordion .acc-body { padding: 0 22px 22px; font-size: 1rem; }

/* ---------- Team ---------- */
.team-card { flex: 1 1 calc(25% - 21px); min-width: 220px; max-width: 282px; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.team-card img { width: 100%; height: 310px; object-fit: cover; object-position: top center; }
.team-card .card-body { padding: 22px 22px 26px; }
.team-card h3 { font-size: 1.42rem; margin-bottom: 4px; color: var(--black); }
.team-card .creds { color: var(--gold-deep); font-size: 0.92rem; font-weight: 600; line-height: 1.35; margin-bottom: 12px; flex: none; }
.team-card p { font-size: 0.96rem; line-height: 1.55; }
.team-group + .team-group { margin-top: 72px; }
.team-group > h2 { font-size: 1.8rem; margin-bottom: 28px; }
.provider { display: flex; align-items: center; gap: 20px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); flex: 1 1 calc(50% - 28px); min-width: 300px; }
.provider img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--gold); }
.provider h3 { font-size: 1.3rem; margin-bottom: 2px; }
.provider p { font-size: 0.94rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: flex; flex-wrap: wrap; gap: 16px; }
.gallery figure { margin: 0; flex: 1 1 calc(33.333% - 16px); min-width: 240px; overflow: hidden; border-radius: var(--radius); }
.gallery figure.wide { flex-basis: calc(50% - 16px); }
.gallery img { width: 100%; height: 290px; object-fit: cover; }

/* ---------- Condition hub cards ---------- */
.area-card { flex: 1 1 calc(50% - 28px); min-width: 300px; display: flex; flex-direction: column; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.area-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.area-card h2 { font-size: 1.5rem; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.tags li { list-style: none; padding: 5px 12px; background: var(--ivory); border: 1px solid var(--line); border-radius: 30px; font-size: 0.88rem; color: var(--charcoal); }
.area-card .btn { align-self: flex-start; margin-top: auto; }

/* Linked cards (treatments, services on condition pages) */
.link-box { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); flex: 1 1 calc(50% - 28px); min-width: 280px; transition: box-shadow 0.2s, border-color 0.2s; }
.link-box:hover { box-shadow: var(--shadow-lift); border-color: transparent; }
.link-box h3 { font-size: 1.3rem; margin-bottom: 4px; }
.link-box p { font-size: 0.98rem; line-height: 1.5; margin: 0; }
.link-box > div { flex: 1; }
.link-box .arrow { align-self: center; color: var(--gold-deep); font-size: 0.85rem; transition: transform 0.2s; }
.link-box:hover .arrow { transform: translateX(3px); }
.area-links { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 28px; }

/* ---------- Forms (Elementor Form widget) ---------- */
.form-card { padding: 38px; background: var(--white); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-lift); color: var(--gray); }
.form-card h2 { color: var(--black); }
.form-card .btn--gold { box-shadow: none; }
.form-card .btn--gold:hover { background: var(--black); color: var(--gold); }
.form { display: flex; flex-wrap: wrap; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 100%; }
.field--half { flex: 1 1 calc(50% - 18px); min-width: 220px; }
.field label { color: var(--charcoal); font-size: 0.92rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid rgba(60, 48, 20, 0.28); border-radius: var(--radius-sm);
  background: var(--white); color: var(--charcoal);
  font: inherit; font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.5); }
.field input[type="date"] { min-height: 52px; min-width: 0; appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { flex: 1 1 100%; padding: 16px; }
.form .btn:disabled, .form .btn:disabled:hover { background: var(--line, #d9d9d9); color: #555; cursor: not-allowed; box-shadow: none; transform: none; }
.form-notice { margin-top: 12px; padding: 12px 16px; background: var(--gold-tint); border-left: 4px solid var(--gold); color: var(--black); }
.form-notice a { color: var(--black); font-weight: 700; text-decoration: underline; }
.form-note { flex: 1 1 100%; font-size: 0.86rem; color: var(--gray-muted); }

/* ---------- Info blocks (contact, hours) ---------- */
.info-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.info-list li { display: flex; gap: 14px; align-items: center; }
.info-list strong { display: block; color: var(--black); }
.dark .info-list strong { color: var(--white); }
.hours { list-style: none; display: flex; flex-direction: column; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.hours li span:first-child { font-weight: 600; color: var(--black); }
.dark .hours li { border-color: var(--line-dark); }
.dark .hours li span:first-child { color: var(--white); }
.map { display: block; width: 100%; height: 100%; min-height: 400px; border: 0; border-radius: 18px; background: var(--sand); }

/* ---------- Prose (blog, legal) ---------- */
.prose { font-size: 1.1rem; line-height: 1.75; overflow-wrap: anywhere; }
.prose .lead { font-size: 1.28rem; }
.prose h2 { font-size: 1.85rem; margin-top: 1.7em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose ul { margin: 0 0 1.2em; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { display: flex; gap: 12px; }
.prose ul li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 12px; background: var(--gold); border-radius: 50%; }
.prose a { color: var(--black); border-bottom: 2px solid var(--gold); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 10px; font-size: 0.95rem; color: var(--gray-muted); }
.post-meta i { color: var(--gold-deep); margin-right: 6px; }
.callout { padding: 34px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.callout--tint { background: var(--ivory); box-shadow: none; border: 1px solid var(--line); }

/* ---------- Tabs (Elementor Tabs widget). CSS radio tabs, no layout JS ---------- */
.tabs { display: flex; flex-direction: column; gap: 26px; }
.tab-input { position: absolute; opacity: 0; pointer-events: none; }
.tab-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.tabs--center .tab-nav { justify-content: center; }
.tab-label {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--line); border-radius: 40px;
  background: var(--white); color: var(--charcoal);
  font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.tab-label i { color: var(--gold-deep); }
.tab-label:hover { border-color: var(--charcoal); }
.tab-panel { display: none; animation: tabIn 0.3s ease; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tab-input:nth-of-type(1):checked ~ .tab-nav .tab-label:nth-child(1),
.tab-input:nth-of-type(2):checked ~ .tab-nav .tab-label:nth-child(2),
.tab-input:nth-of-type(3):checked ~ .tab-nav .tab-label:nth-child(3),
.tab-input:nth-of-type(4):checked ~ .tab-nav .tab-label:nth-child(4),
.tab-input:nth-of-type(5):checked ~ .tab-nav .tab-label:nth-child(5),
.tab-input:nth-of-type(6):checked ~ .tab-nav .tab-label:nth-child(6),
.tab-input:nth-of-type(7):checked ~ .tab-nav .tab-label:nth-child(7),
.tab-input:nth-of-type(8):checked ~ .tab-nav .tab-label:nth-child(8) { background: var(--black); border-color: var(--black); color: var(--white); }
.tab-input:nth-of-type(1):checked ~ .tab-nav .tab-label:nth-child(1) i,
.tab-input:nth-of-type(2):checked ~ .tab-nav .tab-label:nth-child(2) i,
.tab-input:nth-of-type(3):checked ~ .tab-nav .tab-label:nth-child(3) i,
.tab-input:nth-of-type(4):checked ~ .tab-nav .tab-label:nth-child(4) i,
.tab-input:nth-of-type(5):checked ~ .tab-nav .tab-label:nth-child(5) i,
.tab-input:nth-of-type(6):checked ~ .tab-nav .tab-label:nth-child(6) i,
.tab-input:nth-of-type(7):checked ~ .tab-nav .tab-label:nth-child(7) i,
.tab-input:nth-of-type(8):checked ~ .tab-nav .tab-label:nth-child(8) i { color: var(--gold); }
.tab-input:nth-of-type(1):checked ~ .tab-panels .tab-panel:nth-child(1),
.tab-input:nth-of-type(2):checked ~ .tab-panels .tab-panel:nth-child(2),
.tab-input:nth-of-type(3):checked ~ .tab-panels .tab-panel:nth-child(3),
.tab-input:nth-of-type(4):checked ~ .tab-panels .tab-panel:nth-child(4),
.tab-input:nth-of-type(5):checked ~ .tab-panels .tab-panel:nth-child(5),
.tab-input:nth-of-type(6):checked ~ .tab-panels .tab-panel:nth-child(6),
.tab-input:nth-of-type(7):checked ~ .tab-panels .tab-panel:nth-child(7),
.tab-input:nth-of-type(8):checked ~ .tab-panels .tab-panel:nth-child(8) { display: block; }
.tab-input:focus-visible ~ .tab-nav { outline: 3px solid var(--black); outline-offset: 6px; border-radius: 8px; }

.welcome-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; padding: 40px 44px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow); }
.welcome-panel .col { flex: 1 1 380px; }
.welcome-panel h3 { font-size: 1.9rem; line-height: 1.2; margin-bottom: 10px; color: var(--black); }
.welcome-panel p { font-size: 1.08rem; }
.welcome-panel .btn-row { margin-top: 0; flex: 0 1 auto; flex-direction: column; align-items: stretch; }

/* ---------- StemWave pricing ---------- */
.price-card { padding: 40px; background: var(--white); border-radius: 18px; color: var(--gray); }
.price-card h2 { color: var(--black) !important; margin-bottom: 4px; }
.price-card .eyebrow { color: var(--gold-deep); }
.price-card .icon-list { margin: 22px 0 6px; }
.price-card .icon-list i { color: var(--gold-deep); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 0; }
.price .amount { font-family: var(--font-head); font-size: 4.4rem; font-weight: 700; line-height: 1; color: var(--black); }
.price .note { font-size: 0.95rem; font-weight: 600; color: var(--gray-muted); }
.provider-note { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 26px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.provider-note h3 { margin-bottom: 6px; }

/* ---------- Closing call to action ---------- */
.cta-photo { padding: 92px 0; }
.cta-photo .hero-bg { object-position: 50% 62%; }
.cta-photo::before { background: linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.72) 55%, rgba(0, 0, 0, 0.5) 100%); }
.cta-photo .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-copy { flex: 1 1 480px; max-width: 660px; }
.cta-photo h2 { margin: 0; color: var(--white); font-size: clamp(2.2rem, 3.6vw, 3.1rem); font-weight: 700; text-transform: uppercase; }
.cta-photo h2::after { content: ""; display: block; width: 72px; height: 4px; margin: 18px 0 20px; background: var(--gold); border-radius: 2px; }
.cta-photo p { margin: 0; color: rgba(255, 255, 255, 0.9); }
.cta-photo .btn-row { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255, 255, 255, 0.76); font-size: 1rem; }
.footer-main { padding: 56px 0 56px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 44px; padding-bottom: 36px; margin-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-top img { flex: none; width: 210px; }
.footer-top p { flex: 1 1 380px; margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--white); }
.footer-cols { gap: 44px; }
.footer-col { flex: 1 1 280px; min-width: 0; }
.site-footer h3 { color: var(--gold); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); color: var(--white); font-size: 0.98rem; line-height: 1.3; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.footer-links i { flex: none; color: var(--gold); font-size: 0.72rem; }
.footer-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.footer-links a:hover i { color: var(--black); }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-links a:hover { color: var(--black); }
.site-footer .btn--outline:hover { color: var(--black); }
.site-footer .hours li { padding: 6px 0; font-size: 0.94rem; border-color: var(--line-dark); }
.site-footer .hours li span:first-child { color: var(--white); font-weight: 500; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; color: var(--white); }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 22px 0; font-size: 0.9rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom nav { display: flex; gap: 22px; }

/* Sticky mobile call/book bar */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta .btn { display: none; }
  .mobile-nav {
    display: block;
    position: fixed; inset: 84px 0 0 0; z-index: 99;
    overflow-y: auto;
    padding: 12px 24px 120px;
    background: var(--black);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav a, .mobile-nav summary {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--line-dark);
    color: var(--white);
    font-weight: 600; font-size: 1.12rem;
    cursor: pointer; list-style: none;
  }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
  .mobile-nav details[open] > summary::after { content: "−"; }
  .mobile-nav details a { padding: 12px 0 12px 16px; font-size: 1rem; font-weight: 500; color: rgba(255, 255, 255, 0.82); }
  .mobile-nav details.sub { padding-left: 16px; }
  .mobile-nav details.sub summary { font-size: 1.04rem; color: var(--gold); }
  .mobile-nav details.sub a { padding-left: 12px; }
  .mobile-nav a.mobile-feature { padding-left: 16px; font-weight: 600; font-size: 1.04rem; color: var(--gold); justify-content: flex-start; }
  .mobile-nav .btn { margin-top: 20px; width: 100%; border: 0; color: var(--black); justify-content: center; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 980px) {
  :root { --section-y: 76px; }
  .team-card { flex-basis: calc(50% - 14px); max-width: calc(50% - 14px); min-width: 220px; }
  .hero { min-height: 560px; padding: 64px 0; }
  .hero--page { min-height: 400px; padding: 56px 0; }
  .hero::before { background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.4) 100%); }
  .hero--page::before { background: rgba(0, 0, 0, 0.66); }
  .feature-body { padding: 36px 36px; }
  .row--wide { gap: 44px; }
  .img-cover { height: 380px; }
  .form-card { padding: 28px 22px; }
  .testimonial--feature { padding: 34px 28px; }
  .cta-photo { padding: 68px 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; --section-y: 60px; }
  body { font-size: 16px; }
  h1 { font-size: 2.3rem; }
  .hero--page h1 { font-size: 2.1rem; }
  .site-header .container { height: 70px; }
  .mobile-nav { inset: 70px 0 0 0; }
  .logo img { width: 165px; }
  .btn { width: 100%; white-space: normal; text-align: center; }
  .btn-row { flex-direction: column; }
  .hero, .hero--page { min-height: 0; padding: 56px 0 60px; }
  .hero::before, .hero--page::before { background: rgba(0, 0, 0, 0.68); }
  .trust .container { flex-direction: column; align-items: flex-start; gap: 10px; }
  .trust--detail .container { gap: 20px; }
  .trust--detail .trust-item { flex: none; width: 100%; }
  .feature-media, .feature-body { flex-basis: 100%; min-width: 0; }
  .feature-media img { height: 220px; min-height: 0; }
  .feature-body { padding: 28px 24px 30px; }
  .feature-body h3 { font-size: 1.7rem; }
  .link-list li { flex-basis: 100%; min-width: 0; }
  .review-scroll.is-running .review-track { animation-duration: calc(var(--reviews) * 14s); }
  .review-set { gap: 16px; padding-right: 16px; }
  .review-set .testimonial { flex-basis: 300px; width: 300px; padding: 24px 22px; }
  .cta-photo .btn-row { width: 100%; }
  .btn-row .text-link { align-self: flex-start; }
  .form-card { padding: 28px 22px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-top p { flex: none; }
  .section-head { margin-bottom: 36px; }
  .w-25, .w-33, .w-40, .w-50, .w-60, .team-card, .area-card, .link-box, .provider, .stat { flex-basis: 100%; min-width: 100%; max-width: 100%; }
  .stat { flex-basis: calc(50% - 14px); min-width: calc(50% - 14px); max-width: calc(50% - 14px); }
  .stat strong { font-size: 4rem; }
  .gallery figure, .gallery figure.wide { flex-basis: 100%; min-width: 100%; }
  .gallery img { height: 220px; }
  .card img { height: 200px; }
  .team-card img { height: 340px; }
  .img-cover { height: 260px; }
  .footer-bottom .container, .footer-bottom nav { flex-direction: column; gap: 8px; }
  .tab-nav { gap: 8px; }
  .tab-label { flex: 1 1 calc(50% - 8px); justify-content: center; text-align: center; padding: 11px 10px; font-size: 0.92rem; line-height: 1.25; border-radius: 12px; }
  .tab-label i { display: none; }
  .welcome-panel { padding: 26px 22px; gap: 22px; }
  .price-card { padding: 28px 22px; }
  .provider-note { flex-direction: column; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 98; box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.2); }
  .mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 17px 8px; font-weight: 650; font-size: 1rem; transition: transform 0.3s cubic-bezier(.34, 1.56, .64, 1); }
  .mobile-bar a:first-child { background: var(--black); color: var(--white); }
  .mobile-bar a:last-child { background: var(--gold); color: var(--black); }
}
/* ==========================================================================
   Design 2: airy, editorial and calm. Large light headlines with one italic
   serif accent, pill buttons, off-white and near-black sections, big rounded
   photos and a timeline down the services. Same logo colors: black, white, gold.
   The black-and-gold condensed design is saved in _archive as a zip.
   ========================================================================== */
:root {
  --black: #0B0B0B;
  --ivory: #F6F5F1;
  --sand: #F6F5F1;
  --ink: #1B1B1A;
  --charcoal: #2A2A28;
  --gray: #55544F;
  --gray-muted: #6B6A64;
  --line: rgba(20, 20, 18, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --font-head: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --radius: 20px;
  --radius-sm: 12px;
  --section-y: 120px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(0, 0, 0, 0.06);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.05), 0 24px 56px rgba(0, 0, 0, 0.12);
}
body { font-size: 17px; line-height: 1.65; letter-spacing: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; text-transform: none; letter-spacing: -0.02em; color: var(--ink); }
h1, .hero--page h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-weight: 300; line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.75rem); font-weight: 300; line-height: 1.1; letter-spacing: -0.022em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--white); }
.lead { font-size: 1.15rem; line-height: 1.6; }
.section-head { margin-bottom: 64px; }
.section-head .lead { margin-top: 16px; }
.section--light { background: var(--ivory); }
.section--dark { background: var(--black); }
/* Key words: the same simple font as the headline, bold and gold. On light backgrounds a deeper gold keeps them readable. */
.gold-text, .section:not(.dark) .gold-text, .dark .gold-text { padding: 0; background: none; box-shadow: none; font-family: var(--font-head); font-style: normal; font-weight: 700; font-size: 1em; letter-spacing: -0.028em; color: var(--gold); }
.section:not(.dark) .gold-text { color: #A87F00; }
.section:not(.dark) .dark .gold-text { color: var(--gold); }
@media (max-width: 640px) { .hero .rotator.gold-text { font-size: 0.86em; } }
.eyebrow { display: inline-block; margin-bottom: 18px; padding: 5px 12px; border-radius: 7px; background: var(--ink); color: var(--white); font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; }
.dark .eyebrow, .feature-body .eyebrow { background: rgba(255, 255, 255, 0.1); color: var(--gold); }
.price-card .eyebrow { background: var(--ink); color: var(--white); }

/* Announcement bar */
.announce { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 8px 16px; background: var(--black); border-bottom: 1px solid var(--line-dark); color: rgba(255, 255, 255, 0.82); font-size: 0.82rem; line-height: 1.4; text-align: center; }
.announce a { padding: 2px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.12); color: var(--white); font-weight: 600; }
.announce a:hover { background: var(--gold); color: var(--black); }
.menu-open .announce { display: none; }

/* Buttons: pills, with a small round arrow on the main action */
.btn { gap: 10px; padding: 13px 26px; border-radius: 100px; font-size: 0.95rem; font-weight: 600; letter-spacing: 0; }
.btn--gold, .dark .btn--gold, .site-header .btn--gold, .form-card .btn--gold { padding: 9px 9px 9px 24px; background: var(--gold); color: var(--black); box-shadow: none; }
.btn--gold:hover, .dark .btn--gold:hover, .site-header .btn--gold:hover, .form-card .btn--gold:hover { background: var(--gold); color: var(--black); box-shadow: 0 10px 28px rgba(255, 199, 44, 0.28); }
.btn--gold > i { display: none; }
.btn--gold::after { content: "\2192"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--black); color: var(--gold); font-size: 0.95rem; line-height: 1; }
.btn--black { background: var(--ink); }
.btn--outline { border: 1px solid rgba(20, 20, 18, 0.35); }
.dark .btn--outline { border: 1px solid rgba(255, 255, 255, 0.4); }
.form .btn:disabled, .form .btn:disabled:hover { background: rgba(20, 20, 18, 0.1); }
.form .btn:disabled::after { display: none; }
.text-link { font-weight: 600; font-size: 0.95rem; }

/* Header */
.site-header .container { height: 72px; }
.logo img { width: 164px; }
.nav-link { padding: 24px 11px; font-size: 0.9rem; font-weight: 500; }
.header-phone { font-size: 0.9rem; }
.header-cta .btn { padding: 6px 6px 6px 18px; font-size: 0.86rem; }
.header-cta .btn--gold::after { width: 26px; height: 26px; font-size: 0.85rem; }
.dropdown, .flyout { border-radius: 16px; }
@media (max-width: 1180px) { .mobile-nav { inset: 72px 0 0 0; } .mobile-nav .btn { padding: 12px 12px 12px 24px; } }

/* Banners */
.hero::before, .hero--page::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.46) 45%, rgba(0, 0, 0, 0.8) 100%); }
.hero { min-height: max(620px, calc(100vh - 110px)); text-align: center; justify-content: center; }
.hero--page { min-height: 480px; }
.hero-content, .hero--page .hero-content { max-width: 1000px; margin: 0 auto; }
.hero .btn-row { justify-content: center; }
.hero .lead { max-width: 680px; margin: 20px auto 0; color: rgba(255, 255, 255, 0.86); font-size: 1.1rem; }
.hero h1 { margin: 0; }
.rotator { justify-items: center; }
.breadcrumb { justify-content: center; }

/* Highlights under the banner */
.trust { border-top: 0; }
.trust--detail .container { gap: 28px 44px; padding-top: 36px; padding-bottom: 36px; }
.trust--detail strong { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.3; }
.trust--detail p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.66); }
.trust--detail .trust-item i { font-size: 1.05rem; }
.trust-item { font-size: 0.95rem; }


/* Rounded panels */
.feature-card, .offer { border-radius: 24px; }
.feature-body h3 { font-size: clamp(1.8rem, 3vw, 2.75rem); font-weight: 300; }
.offer { display: flex; flex-wrap: wrap; overflow: hidden; background: var(--black); color: rgba(255, 255, 255, 0.78); }
.offer-copy { flex: 1 1 46%; min-width: min(100%, 360px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 64px; }
.offer-copy h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); margin-bottom: 18px; }
.offer-media { flex: 1 1 46%; min-width: min(100%, 360px); }
.offer-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 22px 0 0; }
.offer-price strong { color: var(--white); font-size: clamp(3.5rem, 6vw, 5.25rem); font-weight: 300; line-height: 1; letter-spacing: -0.03em; }
.offer-price > span { font-size: 0.95rem; }
.row--top { align-items: flex-start; }

/* Cards */
.card, .team-card, .icon-box, .step, .link-box, .provider, .area-card, .testimonial { border-color: var(--line); }
.team-card img { height: 300px; }
.team-card h3 { font-size: 1.25rem; font-weight: 500; }
.team-card .creds { font-size: 0.86rem; }
.stat strong { font-weight: 300; letter-spacing: -0.03em; }
.step-num { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; }
.price .amount { font-weight: 300; letter-spacing: -0.03em; }
.form-card { border-top: 0; border-radius: 24px; }
.field input, .field select, .field textarea { border-radius: 12px; }

/* Reviews on black */
.reviews .section-head { margin-bottom: 56px; }
.reviews .btn-row { margin-top: 48px; }
.dark .testimonial { background: #171716; border-color: rgba(255, 255, 255, 0.1); }
.dark .testimonial blockquote { color: rgba(255, 255, 255, 0.86); font-size: 1rem; }
.dark .testimonial cite { color: var(--white); }

/* Rows with a line between them (Where does it hurt?) */
.link-list { flex-direction: column; flex-wrap: nowrap; gap: 0; border-top: 1px solid var(--line); }
.link-list li { flex: none; min-width: 0; border-bottom: 1px solid var(--line); }
.link-list a { padding: 20px 4px; font-size: 1.05rem; transition: padding 0.2s; }
.link-list a::after { content: "\2192"; margin-left: auto; color: var(--gold-deep); }
.link-list a:hover { padding-left: 12px; }
.link-list span { text-decoration: none; }
.area-line { margin-top: 0; }

/* Closing call to action */
.cta-photo { padding: 150px 0; text-align: center; }
.cta-photo::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.62)); }
.cta-photo .container { justify-content: center; flex-direction: column; gap: 36px; }
.cta-copy { flex: none; max-width: 780px; }
.cta-photo h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 300; text-transform: none; }
.cta-photo h2::after { display: none; }
.cta-photo p { margin-top: 18px; }
.cta-photo .btn-row { justify-content: center; }

/* Footer */
.site-footer { font-size: 0.95rem; }
.site-footer h3 { font-family: var(--font-body); font-size: 0.74rem; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.55); }
.footer-links { gap: 2px; }
.footer-links a { padding: 7px 0; border: 0; border-radius: 0; font-size: 0.95rem; }
.footer-links a:hover, .site-footer .footer-links a:hover { background: none; color: var(--gold); }
.footer-links a:hover i { color: var(--gold); }
.footer-links i { display: none; }
.footer-top p { font-size: 1rem; color: rgba(255, 255, 255, 0.8); }

/* Motion: a soft blur as things settle */
.rv { transition: opacity 800ms cubic-bezier(.7, 0, .2, 1) var(--rv-delay, 0ms), translate 800ms cubic-bezier(.7, 0, .2, 1) var(--rv-delay, 0ms), filter 800ms cubic-bezier(.7, 0, .2, 1) var(--rv-delay, 0ms), transform 0.25s, box-shadow 0.2s, border-color 0.2s, background 0.2s; }
.rv--below { filter: blur(6px); }

@media (max-width: 980px) {
  :root { --section-y: 88px; }
  .offer-copy { padding: 44px; }
}
@media (max-width: 760px) {
}
@media (max-width: 640px) {
  :root { --section-y: 72px; }
  body { font-size: 16px; }
  h1, .hero--page h1 { font-size: 2.35rem; }
  h2 { font-size: 2rem; }
  .hero { min-height: max(560px, calc(100vh - 150px)); padding: 56px 0; }
  .hero--page { min-height: 0; }
  .section-head { margin-bottom: 40px; }
  .btn--gold { justify-content: space-between; }
  .offer-copy { padding: 34px 26px; }
  .offer-media img { min-height: 260px; }
  .cta-photo { padding: 88px 0; }
  .team-card img { height: 340px; }
  .stat strong { font-size: 3.6rem; }
}
@media (max-width: 340px) { h1, .hero--page h1 { font-size: 2.05rem; } }

/* ---------- Design 2, whole-site patterns ---------- */
/* A counting number always matches the text around it, whatever styles nearby labels have */
.section--dark { background: linear-gradient(180deg, #0B0B0B 0%, #121211 100%); }
.section--flush-top { padding-top: 96px; }
.framed, .framed--left { box-shadow: none; }
.hero--page { min-height: max(560px, 72vh); }

/* A small mouse at the bottom of the first screen says there's more below */
.hero:not(.hero--page)::after { content: ""; position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 12px; background: radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.85) 0 2px, transparent 2.5px); }

/* Large rounded showcase */
.stage img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 24px; }
.stage img.rv { transition: opacity 800ms cubic-bezier(.7, 0, .2, 1), filter 800ms cubic-bezier(.7, 0, .2, 1), translate 800ms cubic-bezier(.7, 0, .2, 1), scale 1300ms cubic-bezier(.2, .7, .2, 1); }
.stage img.rv--below { scale: 0.9; }
.stage + .btn-row { margin-top: 44px; }

/* Oversized statement. It darkens word by word, once. */
.statement { max-width: 1040px; margin: 0 0 72px; color: var(--ink); font-size: clamp(2.1rem, 4.5vw, 4.1rem); font-weight: 300; line-height: 1.14; letter-spacing: -0.025em; }
.statement .w { opacity: 0.14; transition: opacity 520ms ease; transition-delay: calc(var(--w) * 60ms); }
.statement.is-live .w { opacity: 1; }
.statement-row { align-items: flex-start; }

/* Services carousel: tall photo tiles with the caption on the photo */
.slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 4px max(24px, calc((100vw - 1200px) / 2)); scroll-padding: 0 max(24px, calc((100vw - 1200px) / 2)); }
.slider::-webkit-scrollbar { display: none; }
.slider:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.tile { position: relative; flex: 0 0 min(390px, 78vw); height: 540px; overflow: hidden; border-radius: 20px; background: #222; scroll-snap-align: start; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.84) 100%); }
.tile-text { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.tile-text strong { color: var(--white); font-size: 1.45rem; font-weight: 400; line-height: 1.2; letter-spacing: -0.015em; }
.tile-text small { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; line-height: 1.45; }
.slider-nav { display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.slider-btn { width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.3s cubic-bezier(.34, 1.56, .64, 1); }
.slider-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); transform: scale(1.08); }


/* Team mosaic: portraits in staggered columns */
.mosaic { display: flex; gap: 20px; align-items: flex-start; }
.mosaic-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.mosaic-col:nth-child(even) { margin-top: 72px; }
.mosaic-tile { overflow: hidden; border-radius: 20px; }
.mosaic-photo { position: relative; }
.mosaic-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; }
.mosaic-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.82) 100%); }
.mosaic-caption { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.mosaic-caption h3 { margin: 0 0 2px; color: var(--white); font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em; }
.mosaic-caption p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.8rem; line-height: 1.35; }
.mosaic + .btn-row { margin-top: 52px; }

/* Questions: thin lines rather than boxes */
.accordion { gap: 0; border-top: 1px solid var(--line); }
.accordion details, .accordion details[open] { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.accordion summary { padding: 20px 4px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.accordion summary::after, .accordion details[open] summary::after { width: auto; height: auto; background: none; font-size: 1.3rem; font-weight: 300; }
.accordion .acc-body { padding: 0 4px 22px; font-size: 0.98rem; }
.dark .accordion, .dark .accordion details, .dark .accordion details[open] { border-color: var(--line-dark); }
.dark .accordion summary { color: var(--white); }
.faq-note { margin-top: 20px; }

/* Blog and article cards: the photo stands on its own */
.card { border: 0; background: none; overflow: visible; border-radius: 0; }
.card:hover { box-shadow: none; transform: none; }
.card img { border-radius: 16px; }
.card-body { padding: 18px 2px 8px; }

/* Closing section: black fading into the photo, then into the footer */
.cta-photo { padding: 130px 0 340px; }
.cta-photo::before { background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.9) 42%, rgba(0, 0, 0, 0.3) 78%, #0B0B0B 100%); }
.cta-photo .hero-bg { object-position: 50% 100%; }

@media (max-width: 980px) {
  .mosaic { flex-wrap: wrap; }
  .mosaic-col { flex: 1 1 calc(50% - 10px); }
  .mosaic-col:nth-child(even) { margin-top: 48px; }
  .stage img { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
}
@media (max-width: 640px) {
  .tile { height: 460px; }
  .stage img { aspect-ratio: 4 / 3; }
  .statement { margin-bottom: 44px; }
  .mosaic-caption { left: 12px; right: 12px; bottom: 10px; }
  .mosaic-caption h3 { font-size: 0.98rem; }
  .mosaic-caption p { font-size: 0.72rem; }
  .cta-photo { padding: 88px 0 220px; }
}

/* ---------- Services slider: a constant loop ----------
   Without the script (or with reduced motion) it's a plain row you can scroll by hand.
   At rest each block shows the photo and title. On hover the photo softens under a gradient,
   the title lifts and the description fades in. */
.slider { display: block; padding: 0; overflow-x: auto; scroll-snap-type: none; }
.slider-track { position: relative; display: flex; gap: 20px; width: max-content; padding: 4px max(24px, calc((100vw - 1200px) / 2)); }
.slider.is-looping { overflow: hidden; touch-action: pan-y; cursor: grab; }
.slider.is-looping.is-dragging { cursor: grabbing; }
.slider.is-looping .slider-track { padding: 4px 0; will-change: transform; }
.tile { flex: 0 0 min(390px, 78vw); scroll-snap-align: none; -webkit-user-drag: none; user-select: none; }
.tile img { -webkit-user-drag: none; pointer-events: none; transition: transform 0.7s cubic-bezier(.2, .7, .2, 1), filter 0.5s ease; }
.tile::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.78) 100%); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; background: linear-gradient(180deg, rgba(11, 11, 11, 0.2) 0%, rgba(11, 11, 11, 0.58) 48%, rgba(11, 11, 11, 0.94) 100%); transition: opacity 0.45s ease; pointer-events: none; }
.tile-text { z-index: 2; gap: 0; }
.tile-text small { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s ease, opacity 0.45s ease, margin-top 0.45s ease; }
.tile:hover::before, .tile:focus-visible::before { opacity: 1; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); filter: blur(5px); }
.tile:hover .tile-text small, .tile:focus-visible .tile-text small { max-height: 110px; margin-top: 10px; opacity: 1; }
/* Touch screens can't hover, so the description simply stays visible */
@media (hover: none) {
  .tile::before { opacity: 0.8; }
  .tile-text small { max-height: 110px; margin-top: 10px; opacity: 1; }
}

/* ---------- Glass header ----------
   The banner slides up under the announcement bar and header, so the video shows through the frosted glass.
   Past the banner it becomes a darker glass, which keeps the white logo and menu readable over light sections.
   --top-h is the height of the two bars. site.js keeps it exact, and these values cover the first moment. */
:root { --top-h: 110px; }
.announce { position: relative; z-index: 101; background: rgba(0, 0, 0, 0.3); border-bottom: 1px solid rgba(255, 255, 255, 0.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header { background: rgba(11, 11, 11, 0.72); border-bottom: 1px solid rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); transition: background 0.3s ease; }
.site-header.is-over-hero { background: rgba(255, 255, 255, 0.08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.menu-open .site-header { background: var(--black); -webkit-backdrop-filter: none; backdrop-filter: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .announce, .site-header, .site-header.is-over-hero { background: var(--black); }
}
main > .hero:first-child { margin-top: calc(-1 * var(--top-h)); padding-top: calc(88px + var(--top-h)); }
main > .hero:not(.hero--page):first-child { min-height: max(680px, 100vh); }
main > .hero--page:first-child { min-height: max(640px, 80vh); padding-top: calc(64px + var(--top-h)); }
@media (max-width: 640px) {
  :root { --top-h: 134px; }
  main > .hero:first-child, main > .hero--page:first-child { padding-top: calc(48px + var(--top-h)); }
  main > .hero:not(.hero--page):first-child { min-height: max(620px, calc(100vh - 60px)); }
  main > .hero--page:first-child { min-height: 0; }
}

/* ==========================================================================
   Liquid glass theme. One fixed backdrop of dark graphite with soft shapes
   sits behind every page. Sections float over it as frosted sheets that blur
   the shapes as they pass, and cards inside are lighter panes with lit edges.
   Text is light everywhere, gold stays the accent, and solid gold is kept for
   the main actions. To retire the theme, remove this one block.
   ========================================================================== */
:root {
  color-scheme: dark;
  --ink: #F7F5EE;
  --charcoal: #EFECE3;
  --gray: rgba(255, 255, 255, 0.9);
  --gray-muted: rgba(255, 255, 255, 0.8);
  --line: rgba(255, 255, 255, 0.15);
  --gold-deep: #FFC72C;
  --glass: linear-gradient(140deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 46%, rgba(255, 255, 255, 0.07)), rgba(11, 12, 14, 0.38);
  --glass-smoke: linear-gradient(140deg, rgba(9, 10, 12, 0.56), rgba(9, 10, 12, 0.4));
  --glass-pane: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)), rgba(11, 12, 14, 0.16);
  --glass-border: 1px solid rgba(255, 255, 255, 0.14);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.26), inset 0 -1px 0 rgba(255, 255, 255, 0.05), 0 22px 54px rgba(0, 0, 0, 0.26);
  --pane-edge: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 26px rgba(0, 0, 0, 0.16);
  --sheet-radius: 36px;
}
body { background: #08090A; color: var(--gray); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(30vmax 30vmax at 12% 18%, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03) 72%, transparent 73%),
    radial-gradient(21vmax 21vmax at 90% 10%, rgba(132, 144, 164, 0.17), rgba(90, 100, 118, 0.08) 72%, transparent 73%),
    radial-gradient(34vmax 34vmax at 80% 74%, rgba(112, 126, 148, 0.17), rgba(70, 80, 98, 0.08) 72%, transparent 73%),
    radial-gradient(25vmax 25vmax at 20% 92%, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.022) 72%, transparent 73%),
    radial-gradient(13vmax 13vmax at 54% 44%, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015) 72%, transparent 73%),
    linear-gradient(160deg, #141517 0%, #0D0E10 55%, #08090A 100%);
}

/* Sections: floating frosted sheets */
main { display: flex; flex-direction: column; gap: 16px; padding-bottom: 16px; }
main > * { min-width: 0; }
.section, .section--light, .section--sand, .section--dark, .section--ink { margin: 0 16px; overflow: hidden; border: var(--glass-border); border-radius: var(--sheet-radius); background: var(--glass); box-shadow: var(--glass-edge); -webkit-backdrop-filter: blur(34px) saturate(120%); backdrop-filter: blur(34px) saturate(120%); }
.section--dark, .section--ink { background: var(--glass-smoke); }
main > .hero:first-child { border-radius: 0 0 var(--sheet-radius) var(--sheet-radius); }
.trust { margin: 0 16px; border: var(--glass-border); border-radius: 28px; background: var(--glass-smoke); box-shadow: var(--glass-edge); -webkit-backdrop-filter: blur(30px) saturate(120%); backdrop-filter: blur(30px) saturate(120%); }
.cta-photo { margin: 0 16px 16px; overflow: hidden; border: var(--glass-border); border-radius: var(--sheet-radius); box-shadow: var(--glass-edge); }
.cta-photo::before { background: linear-gradient(180deg, rgba(9, 10, 12, 0.86) 0%, rgba(9, 10, 12, 0.66) 48%, rgba(9, 10, 12, 0.2) 100%); }
.site-footer { margin: 0 16px 16px; overflow: hidden; border: var(--glass-border); border-radius: var(--sheet-radius); background: var(--glass-smoke); box-shadow: var(--glass-edge); -webkit-backdrop-filter: blur(34px) saturate(120%); backdrop-filter: blur(34px) saturate(120%); }

/* Header, menus and small bars */
.announce { background: rgba(11, 12, 14, 0.36); }
.site-header { background: rgba(14, 15, 18, 0.46); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
.dropdown, .flyout { border: var(--glass-border); background: rgba(22, 23, 27, 0.9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 24px 56px rgba(0, 0, 0, 0.45); }
.dropdown a { color: var(--charcoal); }
.dropdown a:hover, .dd-item:hover > a { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.flyout .flyout-head { color: var(--white); }
@media (max-width: 1180px) { .mobile-nav { background: rgba(12, 13, 16, 0.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); } }
.mobile-bar a:first-child { background: rgba(12, 13, 16, 0.8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }

/* Panes: everything that used to be a white or black box */
.card-pane, .icon-box, .step, .testimonial, .testimonial--feature, .dark .testimonial, .team-card, .provider, .area-card, .link-box, .form-card, .callout, .callout--tint, .welcome-panel, .price-card, .provider-note, .mosaic-stat, .coverage-map { border: var(--glass-border); background: var(--glass-pane); box-shadow: var(--pane-edge); }
.icon-box:hover, a.icon-box:hover, .link-box:hover { border-color: rgba(255, 255, 255, 0.28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 34px rgba(0, 0, 0, 0.24); }
.card { background: none; border: 0; }
.feature-card, .offer { border: var(--glass-border); background: rgba(9, 10, 12, 0.38); box-shadow: var(--pane-edge); }
.form-card { border-top: var(--glass-border); }
.tile { background: rgba(255, 255, 255, 0.06); border: var(--glass-border); box-shadow: var(--pane-edge); }
.mosaic-tile { border: var(--glass-border); box-shadow: var(--pane-edge); }
.tags li { border: var(--glass-border); background: rgba(255, 255, 255, 0.07); color: var(--charcoal); }
.icon, .dark .icon { background: rgba(255, 199, 44, 0.16); border: 1px solid rgba(255, 199, 44, 0.28); color: var(--gold); }
.tab-label { border: var(--glass-border); background: rgba(255, 255, 255, 0.07); color: var(--charcoal); }
.tab-label:hover { border-color: rgba(255, 255, 255, 0.4); }

/* Light text everywhere that used to be black */
.text-link, .prose a, .info-list strong, .hours li span:first-child, .form-card h2, .welcome-panel h3, .team-card h3, .price .amount, .testimonial cite, .accordion summary, .accordion summary::after, .link-list a, .link-list a:hover, .journey-links a { color: var(--white); }
.price-card h2 { color: var(--white) !important; }
.testimonial blockquote, .field label { color: rgba(255, 255, 255, 0.92); }
.card-body .text-link, .feature-body .text-link { color: var(--gold); }
.gold-text, .section:not(.dark) .gold-text { color: var(--gold); }
.eyebrow, .dark .eyebrow, .feature-body .eyebrow, .price-card .eyebrow { border: var(--glass-border); background: rgba(9, 10, 12, 0.5); color: var(--gold); font-size: 0.74rem; }

/* Photos behind text: deeper shade so words hold up over bright rooms and skin tones */
.hero--page::before, main > .hero--page:first-child::before { background: linear-gradient(180deg, rgba(9, 10, 12, 0.72) 0%, rgba(9, 10, 12, 0.66) 50%, rgba(9, 10, 12, 0.84) 100%); }
.hero h1, .hero .lead, .breadcrumb, .cta-photo h2, .cta-photo p { text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45); }
.mosaic-photo::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.72) 68%, rgba(0, 0, 0, 0.95) 100%); }
.mosaic-caption p { color: rgba(255, 255, 255, 0.92); }
.tile::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.88) 100%); }

/* Buttons: gold stays solid for the main action, the rest are glass pills */
.btn--gold, .dark .btn--gold, .site-header .btn--gold, .form-card .btn--gold { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 22px rgba(255, 199, 44, 0.16); }
.btn--gold:hover, .dark .btn--gold:hover, .site-header .btn--gold:hover, .form-card .btn--gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 30px rgba(255, 199, 44, 0.3); }
.btn--black, .btn--outline, .dark .btn--outline { border: 1px solid rgba(255, 255, 255, 0.26); background: rgba(255, 255, 255, 0.09); color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--black:hover, .btn--outline:hover, .dark .btn--outline:hover, .site-footer .btn--outline:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.18); color: var(--white); }
.form .btn:disabled, .form .btn:disabled:hover { border: var(--glass-border); background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.62); box-shadow: none; }
.slider-btn { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22); }

/* Forms */
.field input, .field select, .field textarea { border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.07); color: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.28); }
.form-notice { border-left-color: var(--gold); background: rgba(255, 199, 44, 0.14); color: var(--white); }
.form-notice a { color: var(--gold); }

/* Footer without its old black */
.footer-links a:hover, .site-footer .footer-links a:hover { color: var(--gold); }

@media (max-width: 640px) {
  :root { --sheet-radius: 26px; }
  main > .hero:not(.hero--page):first-child::before { background: linear-gradient(180deg, rgba(8, 8, 9, 0.7) 0%, rgba(8, 8, 9, 0.66) 50%, rgba(8, 8, 9, 0.86) 100%); }
  .section, .section--light, .section--sand, .section--dark, .section--ink, .cta-photo, .site-footer { margin-left: 8px; margin-right: 8px; -webkit-backdrop-filter: blur(24px) saturate(120%); backdrop-filter: blur(24px) saturate(120%); }
  .trust { margin-left: 8px; margin-right: 8px; border-radius: 22px; }
  main { gap: 10px; padding-bottom: 10px; }
  .cta-photo, .site-footer { margin-bottom: 10px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .section, .section--light, .section--sand { background: rgba(30, 32, 37, 0.92); }
  .section--dark, .section--ink, .trust, .site-footer { background: rgba(14, 15, 18, 0.94); }
}

/* ---------- Success Stories: scroll-driven opening ----------
   Quotes float around the headline and drift away, the headline parts, and a video grows from the gap to fill
   the screen before a caption fades in word by word. Without the script (or with reduced motion) this stays a
   simple still banner with the photo below it: site.js adds .is-pinned to turn the sequence on. */
main > .hero.hero--story:first-child { display: block; min-height: 0; padding: calc(64px + var(--top-h)) 0 0; overflow: visible; background: none; border-radius: 0; text-align: center; }
.hero--story::before, .hero--story::after { display: none; }
.story-stage { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0 24px; }
.story-stage h1 { margin: 0; }
.story-stage .breadcrumb { margin: 0; }
.story-l1, .story-l2 { display: block; }
.story-extras .lead { max-width: 640px; margin: 0 auto; }
.story-floats, .story-cue { display: none; }
.story-media { order: 5; width: 100%; max-width: 1100px; margin-top: 20px; overflow: hidden; border-radius: 24px; }
.story-media img { width: 100%; }
.story-media .hero-video { display: none; }
.story-caption { margin: 0; padding: 18px 0 0; }

main > .hero.hero--story.is-on:first-child { padding-top: 0; }
.story-pin.is-pinned { height: 420vh; }
.is-pinned .story-stage { position: sticky; top: 0; display: block; height: 100vh; height: 100svh; padding: 0; overflow: hidden; -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px); }
.is-pinned .story-media { position: absolute; inset: 0; z-index: 1; width: auto; max-width: none; margin: 0; border-radius: 0; opacity: 0; transform: scale(0.02); will-change: transform; background: #111; }
.is-pinned .story-media img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 20%; }
.is-pinned .story-media .hero-video { display: block; }
.is-pinned .story-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 8, 9, 0.42), rgba(8, 8, 9, 0.58)); }
.is-pinned .story-caption { position: absolute; left: 0; right: 0; top: 50%; z-index: 2; padding: 0 24px; color: var(--white); font-size: clamp(1.8rem, 3.6vw, 3.25rem); font-weight: 300; line-height: 1.15; letter-spacing: -0.02em; transform: translateY(-50%); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5); }
.is-pinned .story-caption span { opacity: 0; }
.is-pinned h1 { position: absolute; left: 0; right: 0; top: 50%; z-index: 3; height: 0; }
.is-pinned .story-l1 { position: absolute; left: 0; right: 0; bottom: 0.1em; will-change: opacity, transform; }
.is-pinned .story-l2 { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.is-pinned .story-word { position: absolute; top: 0; will-change: transform, opacity; white-space: nowrap; }
.is-pinned .story-word--left { right: 50%; }
.is-pinned .story-word--right { left: 50%; }
.is-pinned .breadcrumb { position: absolute; left: 0; right: 0; top: calc(var(--top-h) + 20px); z-index: 3; }
.is-pinned .story-extras { position: absolute; left: 0; right: 0; top: calc(50% + clamp(66px, 7.5vw, 104px)); z-index: 3; padding: 0 24px; }
.is-pinned .story-floats { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.story-float { position: absolute; width: min(280px, 24vw); margin: 0; padding: 16px 18px; border: var(--glass-border); border-radius: 18px; background: var(--glass-pane); box-shadow: var(--pane-edge); text-align: left; will-change: transform, opacity; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.story-float blockquote { margin: 0 0 8px; color: rgba(255, 255, 255, 0.92); font-size: 0.86rem; line-height: 1.45; }
.story-float figcaption { color: var(--white); font-size: 0.82rem; font-weight: 600; }
.story-initial { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 10px; border: 1px solid rgba(255, 199, 44, 0.4); border-radius: 50%; background: rgba(255, 199, 44, 0.14); color: var(--gold); font-size: 0.8rem; font-weight: 700; }
.f1 { left: 4%; top: 15%; } .f2 { right: 5%; top: 13%; } .f3 { left: 2%; top: 49%; } .f4 { right: 2%; top: 50%; } .f5 { left: 14%; bottom: 5%; } .f6 { right: 15%; bottom: 4%; }
.is-pinned .story-cue { display: block; position: absolute; left: 50%; bottom: 24px; z-index: 3; width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid rgba(255, 255, 255, 0.5); border-radius: 12px; background: radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.85) 0 2px, transparent 2.5px); }

/* Review walls: three staggered columns */
.wall { display: flex; align-items: flex-start; gap: 20px; margin-top: 20px; }
.wall-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.wall-col:nth-child(2) { margin-top: 56px; }
.wall-col:nth-child(3) { margin-top: 24px; }
.wall .testimonial { padding: 26px; }
.wall .testimonial blockquote { font-size: 0.98rem; }
.wall-photo { margin: 0; overflow: hidden; border: var(--glass-border); border-radius: var(--radius); box-shadow: var(--pane-edge); }
.wall-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.wall.is-collapsed .is-extra { display: none; }
.wall-more { margin-top: 40px; }
.rating-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin: -36px 0 8px; color: var(--white); font-weight: 600; }
.rating-line .stars { margin: 0; }
.rating-actions { margin: 20px 0 48px; }

@media (max-width: 860px) {
  .wall { flex-wrap: wrap; }
  .wall-col { flex: 1 1 calc(50% - 10px); }
  .wall-col:nth-child(3) { flex-basis: 100%; margin-top: 0; }
}
@media (max-width: 760px) {
  .story-pin.is-pinned { height: 340vh; }
  .story-float { width: 44vw; padding: 11px 13px; }
  .story-float blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-bottom: 4px; font-size: 0.74rem; }
  .story-initial { display: none; }
  .f3, .f4 { display: none; }
  .f1 { left: 3%; top: 15%; } .f2 { right: 3%; top: 15%; } .f5 { left: 3%; bottom: 9%; } .f6 { right: 3%; bottom: 9%; }
  .is-pinned .breadcrumb { display: none; }
  .is-pinned .story-extras .btn-row { margin-top: 16px; }
  .is-pinned .story-extras { top: calc(50% + 50px); }
  .is-pinned .story-extras .lead { font-size: 0.98rem; }
  .is-pinned .story-cue { display: none; }
}
@media (max-width: 640px) {
  .wall, .wall-col { display: block; }
  .wall-col:nth-child(n) { margin: 0; }
  .wall-item { margin-bottom: 14px; }
  .rating-line { margin-top: -20px; }
}

/* ---------- November updates: announcement, button arrows, statement comparison ---------- */
.announce span { color: var(--gold); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.announce span strong { font-weight: 800; }

/* Gold buttons: a drawn arrow, centred in its circle and thick enough to read at a glance */
.btn--gold::after { content: ""; width: 32px; height: 32px; background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC72C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M12.5 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px 16px no-repeat; transition: background-position 0.25s cubic-bezier(.7, 0, .2, 1); }
.btn--gold { font-weight: 700; }
.btn--gold:hover::after { background-position: calc(50% + 2px) 50%; }
.header-cta .btn--gold::after { width: 28px; height: 28px; background-size: 14px 14px; }

/* Statement with a side-by-side comparison */
.statement--center { margin: 0 auto 56px; text-align: center; text-wrap: balance; }
.compare { max-width: 1040px; margin: 0 auto; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; }
.compare-cell { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 19px 28px; line-height: 1.45; }
.compare-cell i { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 0; border-radius: 50%; font-size: 0.74rem; }
.compare-them { border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.62); }
.compare-them i { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.55); }
.compare-us { border: 1px solid rgba(255, 199, 44, 0.3); border-top: 0; border-bottom-color: rgba(255, 199, 44, 0.12); background: rgba(255, 199, 44, 0.06); color: var(--white); font-weight: 600; }
.compare-us i { background: var(--gold); color: var(--black); }
.compare-head .compare-cell { padding-block: 16px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.compare-head .compare-them { color: rgba(255, 255, 255, 0.55); }
.compare-head .compare-us { border-top: 1px solid rgba(255, 199, 44, 0.3); border-radius: 20px 20px 0 0; color: var(--gold); }
.compare-row:last-child .compare-us { border-bottom-color: rgba(255, 199, 44, 0.3); border-radius: 0 0 20px 20px; }
.compare-row:last-child .compare-them { border-bottom: 0; }
.compare-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; max-width: 1040px; margin: 44px auto 0; }
.compare-foot .icon-list { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 10px 40px; }
.compare-foot .icon-list i { margin-top: 5px; }

/* Row arrows: same drawn arrow as the gold buttons */
.link-list a::after { content: ""; flex: none; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFC72C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M12.5 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 700px) {
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; margin-bottom: 12px; overflow: hidden; border: 1px solid rgba(255, 199, 44, 0.26); border-radius: 18px; }
  .compare-row:last-child { margin-bottom: 0; }
  .compare-cell { padding: 14px 18px; }
  .compare-them { font-size: 0.92rem; }
  .compare-us, .compare-row:last-child .compare-us { border: 0; border-radius: 0; }
  .compare-row:last-child .compare-them { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .compare-foot .icon-list { grid-template-columns: minmax(0, 1fr); }
}

/* StemWave How It Works: an animation above each step */
.stage-cards { align-items: stretch; }
.stage-card { display: flex; flex-direction: column; padding: 14px 14px 28px; }
.stage-card h3, .stage-card p { padding: 0 14px; }
.stage-media { position: relative; margin-bottom: 22px; overflow: hidden; border-radius: calc(var(--radius) - 6px); background: #111; aspect-ratio: 720 / 776; }
.stage-media img, .stage-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-media video { opacity: 0; transition: opacity 0.6s ease; }
.stage-media video.is-playing { opacity: 1; }
.stage-media .step-num { position: absolute; left: 14px; top: 14px; z-index: 1; margin: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); }

/* Home: the slider sits under "Every specialist. One front door." */
.slider-nav + .btn-row { margin-top: 36px; }
.nowrap { white-space: nowrap; }

/* Home services slider: the new StemWave tile, gold-edged */
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity 0.6s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1), filter 0.5s ease; }
.tile video.is-playing { opacity: 1; }
.tile:hover video, .tile:focus-visible video { transform: scale(1.05); filter: blur(5px); }
.tile.tile--new { border: 2px solid var(--gold); box-shadow: 0 0 0 1px rgba(255, 199, 44, 0.25), 0 14px 40px rgba(255, 199, 44, 0.18); }
.tile-badge { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 6px 12px; border-radius: 99px; background: var(--gold); color: var(--black); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3); }

/* StemWave: Where do you feel it. A tab per body area, each with a photo and its common conditions */
.area-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 44px; max-width: 1080px; margin: 0 auto; padding: 16px; border: var(--glass-border); border-radius: 28px; background: var(--glass-pane); box-shadow: var(--pane-edge); }
.area-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.area-copy { min-width: 0; padding: 12px 28px 12px 0; }
.area-copy h3 { margin-bottom: 16px; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.area-list { display: flex; flex-direction: column; margin: 0 0 28px; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.area-list li { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 0 14px 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.area-list li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 199, 44, 0.15); }
.area-list strong { color: var(--white); font-weight: 600; }
.area-list span { color: rgba(255, 255, 255, 0.74); font-size: 0.95rem; line-height: 1.5; }
.area-copy .btn-row { margin-top: 0; }
.area-note { margin: 28px 0 0; text-align: center; }
@media (max-width: 860px) {
  .area-panel { grid-template-columns: 1fr; gap: 20px; padding: 12px; border-radius: 22px; }
  .area-media img { aspect-ratio: 4 / 3; border-radius: 16px; }
  .area-copy { padding: 0 10px 12px; }
}

/* Headlines: Jost, a Futura-style geometric face. Its round O and G echo the logo, and spaced capitals match the logo's tagline.
   Light headlines with semibold gold key words read refined rather than heavy. Body text stays DM Sans for easy reading. */
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.01em; }
h1, .hero--page h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.08; letter-spacing: -0.018em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 500; line-height: 1.22; }
.gold-text, .section:not(.dark) .gold-text, .dark .gold-text { font-weight: 600; letter-spacing: -0.012em; }
.eyebrow, .dark .eyebrow, .feature-body .eyebrow, .price-card .eyebrow { font-family: var(--font-head); font-weight: 500; letter-spacing: 0.22em; }
.feature-body h3 { font-size: clamp(1.9rem, 3.1vw, 2.7rem); font-weight: 400; }
.offer-copy h2 { font-size: clamp(2.1rem, 3.5vw, 3.1rem); }
.offer-price strong, .stat strong, .price .amount { font-family: var(--font-head); font-weight: 500; letter-spacing: -0.02em; }
.cta-photo h2 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); font-weight: 400; }
.statement { font-family: var(--font-head); font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 400; line-height: 1.14; letter-spacing: -0.015em; }
.is-pinned .story-caption { font-family: var(--font-head); font-size: clamp(1.9rem, 3.5vw, 3.1rem); font-weight: 400; line-height: 1.14; letter-spacing: -0.012em; }
.tile-text strong { font-family: var(--font-head); font-size: 1.45rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.team-card h3 { font-size: 1.3rem; font-weight: 500; }
.mosaic-caption h3 { font-size: 1.18rem; font-weight: 500; letter-spacing: 0; }
.area-copy h3 { font-size: clamp(1.5rem, 2.3vw, 1.85rem); }
.testimonial--feature blockquote { font-family: var(--font-body); font-weight: 500; }
@media (max-width: 760px) {
  h1, .hero--page h1 { font-size: 2.35rem; }
  h2 { font-size: 2rem; }
  .mosaic-caption h3 { font-size: 1.02rem; }
}
@media (max-width: 340px) { h1, .hero--page h1 { font-size: 2.05rem; } h2 { font-size: 1.8rem; } h1 .nowrap, h2 .nowrap { white-space: normal; } }

/* About: three stats in one row */
.stat-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat-trio .stat { min-width: 0; }
@media (max-width: 640px) {
  .stat-trio { gap: 14px; }
  .stat-trio .stat > span { display: block; font-size: 0.85rem; line-height: 1.35; }
}

/* Medical group pages: jump chips, then one glass block per treatment */
.tx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 0 auto 56px; }
.tx-chips a { padding: 9px 16px; border: var(--glass-border); border-radius: 100px; background: rgba(255, 255, 255, 0.05); color: var(--white); font-size: 0.9rem; font-weight: 600; line-height: 1.3; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.tx-chips a:hover { border-color: var(--gold); background: rgba(255, 199, 44, 0.08); color: var(--gold); }
.tx-list { display: flex; flex-direction: column; gap: 28px; max-width: 1080px; margin: 0 auto; }
.tx-block { padding: 44px; border: var(--glass-border); border-radius: 28px; background: var(--glass-pane); box-shadow: var(--pane-edge); scroll-margin-top: 110px; }
.tx-block:target { border-color: rgba(255, 199, 44, 0.55); }
.tx-head { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 28px; margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.tx-head h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.tx-head .lead { margin: 0; }
.tx-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; }
.tx-body h3, .tx-expect h3 { margin-bottom: 14px; font-size: clamp(1.4rem, 2vw, 1.7rem); }
.tx-lists h3 + .icon-list { margin-bottom: 26px; }
.tx-lists .icon-list:last-child { margin-bottom: 0; }
.tx-expect { margin-top: 34px; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.tx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.tx-steps li { display: flex; gap: 14px; align-items: flex-start; }
.tx-steps strong { display: block; margin-bottom: 4px; color: var(--white); }
.tx-steps p { margin: 0; font-size: 0.95rem; line-height: 1.55; }
.tx-step-num { display: flex; flex: none; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--black); font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; line-height: 1; }
.group-box p { color: rgba(255, 255, 255, 0.72); }
.group-box h3 { margin-bottom: 8px; font-size: 1.35rem; }
@media (max-width: 860px) {
  .tx-block { padding: 28px 22px; border-radius: 22px; }
  .tx-body { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .tx-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tx-head { flex-direction: column; gap: 14px; padding-bottom: 22px; margin-bottom: 24px; }
  .tx-chips { margin-bottom: 36px; }
  .tx-chips a { font-size: 0.84rem; padding: 8px 13px; }
}

/* Success Stories: rating and Google buttons close out the single review wall */
.rating-foot { margin-top: 64px; padding-top: 48px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; }
.rating-foot .rating-line { justify-content: center; margin: 0 0 22px; font-size: 1.15rem; }
/* Success Stories: a patient's video story, mixed in with the written reviews */
.wall-video { margin: 0; overflow: hidden; border: var(--glass-border); border-radius: var(--radius); background: var(--glass-pane); box-shadow: var(--pane-edge); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.wall-video-frame { position: relative; background: #0b0b0b; }
.wall-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #0b0b0b; }
.wall-video video { cursor: pointer; }
.vbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 34px 14px 12px; background: linear-gradient(180deg, rgba(8, 8, 9, 0), rgba(8, 8, 9, 0.72)); }
.vbar-play { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--gold); color: var(--black); font-size: 0.82rem; cursor: pointer; transition: transform 0.2s ease; }
.vbar-play .fa-play { margin-left: 2px; }
.vbar-play:hover { transform: scale(1.08); }
.vbar-play:focus-visible, .vbar-seek:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.vbar-time { flex: 0 0 auto; color: var(--white); font-size: 0.78rem; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.vbar-seek { --p: 0%; flex: 1 1 auto; min-width: 0; height: 18px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.vbar-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--gold) var(--p), rgba(255, 255, 255, 0.3) var(--p)); }
.vbar-seek::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--gold) var(--p), rgba(255, 255, 255, 0.3) var(--p)); }
.vbar-seek::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -4px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); -webkit-appearance: none; appearance: none; }
.vbar-seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4); }
.wall-video figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 18px 22px 20px; }
.wall-video figcaption .stars { flex-basis: 100%; margin-bottom: 4px; }
.wall-video cite { font-style: normal; font-weight: 650; color: var(--white); }
.wall-video-meta { color: rgba(255, 255, 255, 0.7); font-size: 0.86rem; }
.wall-video-meta i { margin-right: 4px; color: var(--gold); }

/* Condition pages: a short row of reviews when there are too few for the slider */
.row--reviews { justify-content: center; }
.row--reviews .testimonial { flex: 0 1 380px; max-width: 380px; }
.reviews .btn-row { margin-top: 40px; }

/* Header logo: the new full-resolution logo, shown larger */
.logo img, .site-header .logo img { width: 240px; height: auto; }
.footer-top img { width: 250px; height: auto; }
@media (max-width: 1500px) { .logo img, .site-header .logo img { width: 222px; } .nav-link { padding-left: 9px; padding-right: 9px; } }
@media (max-width: 1240px) { .logo img, .site-header .logo img { width: 210px; } }
@media (min-width: 1360px) and (max-width: 1419px) { .header-phone { display: none; } }
@media (max-width: 760px) { .logo img, .site-header .logo img { width: 190px; } }
@media (max-width: 360px) { .logo img, .site-header .logo img { width: 168px; } }

/* ---------- Fluid layout ----------
   One continuous background instead of stacked boxes. Soft glows in the brand's gold, amber and ember sit behind
   everything: a fixed set that stays put, and a second set that scrolls with the page so the color shifts as you go.
   Sections have no borders or panels, photos fade into the background, and frosted glass stays on cards and panels. */
:root {
  --page-bg: #0B0C0F; --section-y: 96px;
  --glass: linear-gradient(140deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 46%, rgba(255, 255, 255, 0.07)), rgba(12, 13, 16, 0.38);
  --glass-smoke: linear-gradient(140deg, rgba(12, 13, 16, 0.6), rgba(12, 13, 16, 0.42));
  --glass-pane: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)), rgba(12, 13, 16, 0.22);
}
body { background: var(--page-bg); }
body::before { content: none; }
/* Glows live inside the page, so they scroll with it, and drift slowly on their own. Bright gold and orange cores
   with fast falloff read as light rather than brown; soft silver glows keep the palette from feeling all warm. */
main { position: relative; z-index: 0; gap: 0; padding-bottom: 0; overflow-x: clip; }
/* The glow layer is a fixed frame the size of the page content. It holds the fades (none behind the banner, a soft
   one at the bottom), so the drifting light inside never ends in a hard line or spills into the footer. The light
   only slides (no scaling), which keeps it on the graphics card and moving smoothly. A faint grain smooths the
   gradients so they don't show steps on dark screens. */
.bg-glow {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--hero-end, 100vh) + 360px), #000 calc(var(--hero-end, 100vh) + 820px), #000 calc(100% - 560px), transparent calc(100% - 40px));
  mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--hero-end, 100vh) + 360px), #000 calc(var(--hero-end, 100vh) + 820px), #000 calc(100% - 560px), transparent calc(100% - 40px));
}
.bg-glow span {
  position: absolute; inset: -150px -10vw; background-size: 100% 2800px; background-repeat: repeat-y;
  will-change: transform; backface-visibility: hidden;
}
/* Mostly silver-gray light, with a few warm gold accents */
.bg-glow span:first-child {
  background-image:
    radial-gradient(52rem 40rem at 82% 520px, rgba(176, 188, 208, 0.27), rgba(176, 188, 208, 0.08) 45%, transparent 72%),
    radial-gradient(34rem 28rem at 10% 1180px, rgba(255, 196, 36, 0.2), rgba(255, 196, 36, 0.05) 40%, transparent 70%),
    radial-gradient(56rem 42rem at 70% 1900px, rgba(150, 164, 188, 0.27), rgba(150, 164, 188, 0.08) 45%, transparent 72%);
  animation: glow-drift-a 22s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
.bg-glow span:last-child {
  background-image:
    radial-gradient(50rem 38rem at 14% 760px, rgba(196, 204, 218, 0.22), rgba(196, 204, 218, 0.07) 45%, transparent 72%),
    radial-gradient(32rem 26rem at 88% 1480px, rgba(255, 160, 30, 0.17), rgba(255, 160, 30, 0.04) 40%, transparent 70%),
    radial-gradient(52rem 40rem at 26% 2260px, rgba(168, 180, 200, 0.24), rgba(168, 180, 200, 0.07) 45%, transparent 72%);
  animation: glow-drift-b 28s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
.bg-glow::after {
  content: ""; position: absolute; inset: 0; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes glow-drift-a { from { transform: translate3d(-7vw, -110px, 0); } to { transform: translate3d(8vw, 120px, 0); } }
@keyframes glow-drift-b { from { transform: translate3d(7vw, 100px, 0); } to { transform: translate3d(-8vw, -120px, 0); } }
@media (prefers-reduced-motion: reduce) { .bg-glow span { animation: none; } }
/* Contact page map: a rounded card inside the page, so the background flows around it instead of stopping at a hard edge */
.map-card { margin-top: 64px; overflow: hidden; border: var(--glass-border); border-radius: 28px; background: #1a1c21; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.map-card .map { height: 440px; min-height: 0; border-radius: 0; filter: saturate(0.85) brightness(0.94); }
@media (max-width: 640px) { .map-card { margin-top: 44px; border-radius: 22px; } .map-card .map { height: 340px; } }
.site-header { background: rgba(13, 14, 17, 0.5); }
.announce { background: rgba(11, 12, 15, 0.4); }
.section, .section--light, .section--sand, .section--dark, .section--ink {
  margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.section--flush-top { padding-top: 40px; }
main > .hero:first-child { border-radius: 0; }
/* Photos fade into the background at their edges */
.hero .hero-bg, .hero::before { -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.82) 58%, rgba(0, 0, 0, 0.5) 72%, rgba(0, 0, 0, 0.22) 84%, rgba(0, 0, 0, 0.06) 94%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 42%, rgba(0, 0, 0, 0.82) 58%, rgba(0, 0, 0, 0.5) 72%, rgba(0, 0, 0, 0.22) 84%, rgba(0, 0, 0, 0.06) 94%, transparent 100%); }
.hero, .cta-photo { background: none; }
.cta-photo { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.cta-photo .hero-bg, .cta-photo::before { -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 10%, rgba(0, 0, 0, 0.75) 22%, #000 34%, #000 66%, rgba(0, 0, 0, 0.75) 78%, rgba(0, 0, 0, 0.3) 90%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 10%, rgba(0, 0, 0, 0.75) 22%, #000 34%, #000 66%, rgba(0, 0, 0, 0.75) 78%, rgba(0, 0, 0, 0.3) 90%, transparent 100%); }
/* The trust strip floats as a frosted pill where the banner fades out */
.trust { position: relative; z-index: 2; width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
/* Footer: no box, just a fine gold-tinted rule above it */
.site-footer { margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-footer::before { content: ""; display: block; height: 1px; max-width: 1200px; margin: 0 auto; background: linear-gradient(90deg, transparent, rgba(255, 199, 44, 0.35), transparent); }
/* Cards and panels: true frosted glass now that they sit right on the glowing background */
.card-pane, .icon-box, .step, .testimonial, .team-card, .provider, .area-card, .link-box, .form-card, .callout, .callout--tint, .welcome-panel, .price-card, .provider-note, .mosaic-stat, .area-panel, .tx-block, .compare-us, .tab-label, .feature-card, .offer {
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
@media (max-width: 640px) {
  :root { --section-y: 64px; }
  .section, .section--light, .section--sand, .section--dark, .section--ink, .cta-photo, .site-footer { margin: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .trust { width: calc(100% - 24px); margin-top: 0; }
  main { gap: 0; padding-bottom: 0; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .section, .section--light, .section--sand, .section--dark, .section--ink, .site-footer { background: none; }
}

/* Background video: once it's playing, the still photo beneath it is hidden, so it can't show through where the
   banner fades out. The Success Stories video sits in its own frame and doesn't fade at all. */
.video-on > img { opacity: 0; transition: opacity 300ms ease; }
.hero--story .hero-bg { -webkit-mask-image: none; mask-image: none; }

/* New Patient Intake form */
.intake [hidden] { display: none !important; }
.intake-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: 34px; }
.intake-intro > div:first-child { flex: 1 1 420px; min-width: 0; }
.intake-intro p { margin: 10px 0 0; max-width: 62ch; color: rgba(255, 255, 255, 0.78); }
.intake-intro .btn-row { margin-top: 0; }
.intake { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.intake-rail { position: sticky; top: 110px; list-style: none; margin: 0; padding: 10px; display: flex; flex-direction: column; gap: 2px; border: var(--glass-border); border-radius: 20px; background: rgba(255, 255, 255, 0.05); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.intake-rail button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; border-radius: 12px; background: none; color: rgba(255, 255, 255, 0.7); font: inherit; font-size: 0.93rem; text-align: left; cursor: pointer; }
.intake-rail button span { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.28); font-size: 0.8rem; font-weight: 700; }
.intake-rail button:hover { background: rgba(255, 255, 255, 0.07); color: var(--white); }
.intake-rail button[aria-current] { background: rgba(255, 199, 44, 0.12); color: var(--white); font-weight: 600; }
.intake-rail button[aria-current] span { border-color: var(--gold); background: var(--gold); color: var(--black); }
.intake-rail button.done span { border-color: rgba(255, 199, 44, 0.6); color: var(--gold); }
.intake-main { position: relative; overflow: hidden; padding: 44px 44px 36px; }
.intake-bar { position: absolute; inset: 0 0 auto; height: 3px; background: rgba(255, 255, 255, 0.08); }
.intake-bar span { display: block; height: 100%; width: 11%; background: var(--gold); transition: width 400ms ease; }
.intake .form-notice { margin: 0 0 26px; }
.intake form { display: block; }
.istep-head { margin-bottom: 26px; }
.istep-count { margin: 0 0 6px; color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.istep-head h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--white); outline: none; }
.istep-head p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.74); }
.ig { padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.ig h3 { margin: 0 0 16px; font-size: 1.15rem; color: var(--white); }
.ig-note { margin: -8px 0 16px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.66); }
.field--third { flex: 1 1 calc(33.333% - 18px); min-width: 150px; }
.intake fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.intake legend { padding: 0; margin-bottom: 10px; color: rgba(255, 255, 255, 0.92); font-size: 0.92rem; font-weight: 600; }
.iq-hint { font-weight: 400; color: rgba(255, 255, 255, 0.55); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 100px; background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.86); font-size: 0.92rem; line-height: 1.2; transition: background 160ms, border-color 160ms, color 160ms; }
.chip:hover span { border-color: rgba(255, 255, 255, 0.45); }
.chip input:checked + span { border-color: var(--gold); background: var(--gold); color: var(--black); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chip--num span { justify-content: center; min-width: 40px; padding: 8px 0; }
.chips--scale { gap: 6px; }
.chips--scale .chip { flex: 1 1 0; min-width: 34px; }
.chips--scale .chip span { width: 100%; min-width: 0; }
.yn-list { display: flex; flex-direction: column; flex: 1 1 100%; }
.yn { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.yn > legend { float: left; margin: 0; flex: 1 1 300px; font-weight: 500; color: rgba(255, 255, 255, 0.88); }
.yn-pick { display: flex; gap: 8px; }
.yn-pick .chip span { min-width: 64px; justify-content: center; }
.yn .field { flex: 1 1 100%; }
.agree, .toggle { display: flex; align-items: flex-start; gap: 12px; flex: 1 1 100%; cursor: pointer; color: rgba(255, 255, 255, 0.9); line-height: 1.5; }
.agree input, .toggle input, .tick input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold); cursor: pointer; }
.toggle { margin: 22px 0 4px; font-weight: 600; }
.agree { padding: 16px 18px; border: 1px solid rgba(255, 199, 44, 0.3); border-radius: 14px; background: rgba(255, 199, 44, 0.07); }
.invalid.agree, .invalid.yn, .field.invalid { border-radius: 14px; box-shadow: 0 0 0 2px rgba(255, 110, 90, 0.75); }
.field.invalid { padding: 8px; margin: -8px; }
.field.invalid input { border-color: rgba(255, 110, 90, 0.9); }
/* Body chart: the paper form's outlines, shown light on the dark page */
.body-chart { flex: 1 1 100%; }
.body-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.body-tools b { font-size: 1rem; }
.body-undo, .rows-add, .sig-clear { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 100px; background: none; color: rgba(255, 255, 255, 0.8); font: inherit; font-size: 0.9rem; cursor: pointer; }
.body-undo:hover, .rows-add:hover, .sig-clear:hover { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.body-undo { margin-left: auto; }
.body-stage { position: relative; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12); cursor: crosshair; overflow: hidden; touch-action: manipulation; }
.body-stage img { display: block; width: 100%; height: auto; filter: invert(1) contrast(1.4); mix-blend-mode: screen; opacity: 0.88; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.mark { position: absolute; display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border: 2px solid var(--black); border-radius: 50%; font: 800 0.9rem/1 var(--font-body, sans-serif); color: var(--black); cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.mark--X { background: #ff6b5e; }
.mark--N { background: #7fb4ff; }
.mark--T { background: #7fe0a2; }
.body-help { margin: 10px 0 0; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.body-scroll { border-radius: 16px; }
.body-swipe { display: none; }
/* Medication table */
.meds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 34px; }
.med-group { min-width: 0; }
.med-head, .med-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 66px); align-items: center; gap: 4px; }
.med-head { position: sticky; top: 90px; z-index: 1; padding: 10px 0 8px; border-bottom: 1px solid rgba(255, 199, 44, 0.35); background: rgba(16, 17, 20, 0.92); }
.med-head h3 { margin: 0; font-size: 1.02rem; color: var(--gold); }
.med-head span { text-align: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.med-row { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.med-name { font-size: 0.93rem; color: rgba(255, 255, 255, 0.88); min-width: 0; overflow-wrap: anywhere; }
.med-row .tick { justify-self: center; }
.med-row .tick span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.med-other, .tx-part, .rows-row input { width: 100%; min-width: 0; min-height: 42px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 10px; background: rgba(255, 255, 255, 0.07); color: var(--white); font: inherit; font-size: 0.93rem; }
.med-other:focus, .tx-part:focus, .rows-row input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.28); }
.tick { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.tick--wide { flex: 1 1 220px; color: rgba(255, 255, 255, 0.9); }
/* Past care rows */
.tx-list { display: flex; flex-direction: column; flex: 1 1 100%; }
.tx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.tx-rate { display: flex; gap: 6px; }
.tx-part { flex: 1 1 180px; width: auto; }
/* Review of systems */
.ros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 34px; }
.ros-col { min-width: 0; }
.ros legend { color: var(--gold); font-size: 1rem; }
.ros .chip span { min-height: 36px; padding: 6px 13px; font-size: 0.88rem; }
/* Repeatable rows */
.rows { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; }
.rows-head, .rows-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rows-head span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.rows-add { align-self: flex-start; margin-top: 4px; }
/* Policies and signature */
.policy { padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.policy h3 { margin: 0 0 12px; font-size: 1.15rem; color: var(--white); }
.policy-text { max-height: 260px; overflow-y: auto; margin-bottom: 16px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: rgba(0, 0, 0, 0.22); font-size: 0.92rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.policy-text h4 { margin: 14px 0 6px; font-size: 0.98rem; color: var(--white); }
.policy-text h4:first-child { margin-top: 0; }
.policy-text p, .policy-text ol { margin: 0 0 10px; }
.policy-text ol { padding-left: 20px; }
.sig { gap: 10px; }
.sig-label { color: rgba(255, 255, 255, 0.92); font-size: 0.92rem; font-weight: 600; }
.sig-pad { display: block; width: 100%; height: 180px; border: 1px dashed rgba(255, 255, 255, 0.35); border-radius: 14px; background: rgba(255, 255, 255, 0.05); color: var(--white); touch-action: none; cursor: crosshair; }
.sig-clear { align-self: flex-start; }
.field.sig.invalid { margin: 0; padding: 0; }
.field.sig.invalid .sig-pad { border-color: rgba(255, 110, 90, 0.9); }
/* Buttons along the bottom */
.intake-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.intake-nav [data-next], .intake-nav [data-submit] { margin-left: auto; }
.intake-nav .btn { flex: 0 0 auto; padding-top: 12px; padding-bottom: 12px; }
.intake-nav .btn--gold { padding: 9px 9px 9px 24px; }
.intake-status { min-height: 1.5em; margin: 14px 0 0; color: #ffb4a8; font-size: 0.93rem; }
.intake-done { text-align: center; padding: 30px 0 10px; outline: none; }
.intake-done .icon { width: 64px; height: 64px; margin: 0 auto 18px; font-size: 1.6rem; }
.intake-done h2 { color: var(--white); }
.intake-done p { max-width: 52ch; margin: 10px auto 0; color: rgba(255, 255, 255, 0.8); }
.print-logo { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1080px) {
  .intake { grid-template-columns: minmax(0, 1fr); }
  .intake-rail { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; border-radius: 100px; padding: 6px; }
  .intake-rail::-webkit-scrollbar { display: none; }
  .intake-rail li { flex: none; }
  .intake-rail button { padding: 7px 14px 7px 7px; border-radius: 100px; white-space: nowrap; font-size: 0.86rem; }
  .meds, .ros { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .intake-main { padding: 34px 18px 26px; }
  .field--third { flex-basis: calc(50% - 18px); }
  .field--third:first-of-type { flex-basis: 100%; }
  .med-head, .med-row { grid-template-columns: minmax(0, 1fr) repeat(3, 50px); }
  .med-head span { font-size: 0.62rem; letter-spacing: 0.02em; }
  .chips--scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .intake-nav { gap: 10px; }
  .intake-nav .intake-print { order: 3; flex-basis: 100%; justify-content: center; }
  .rows-head { display: none; }
  .rows-row { grid-template-columns: minmax(0, 1fr); padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .body-tools .chip span { padding: 8px 12px; }
  .body-undo { margin-left: 0; }
  .body-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .body-scroll .body-stage { width: 820px; max-width: none; }
  .body-swipe { display: inline; }
}
/* Print my answers: every step on paper, black on white */
@media print {
  .site-header, .announce, .site-footer, .cta-photo, .hero, .trust, .intake-intro, .intake-rail, .intake-bar, .intake-nav, .intake-status, .intake-offline, .body-tools, .body-help, .rows-add, .sig-clear, .bg-glow { display: none !important; }
  @page { margin: 14mm; }
  :root { color-scheme: light; --page-bg: #fff; }
  html, body, main, .section, .intake-main { background: #fff !important; color: #000 !important; }
  .intake .field { gap: 2px; }
  .intake .field input { min-height: 28px; padding: 2px 0; }
  .intake-section { padding: 0 !important; }
  .intake { display: block; }
  .intake-main { padding: 0; border-radius: 0 !important; overflow: visible !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .print-logo { display: block !important; width: 2.2in; height: auto; margin: 0 0 18px; }
  .istep { display: block !important; break-before: page; }
  .istep:first-of-type { break-before: auto; }
  .intake h2, .intake h3, .intake legend, .intake label, .intake p, .intake span, .med-name, .policy-text, .policy-text * { color: #000 !important; text-shadow: none !important; }
  .istep-count, .med-head h3, .ros legend { color: #555 !important; }
  .chip span { border-color: #999 !important; background: #fff !important; min-height: 0; padding: 3px 10px; }
  .chip input:checked + span { background: #ddd !important; border-color: #000 !important; font-weight: 700; }
  .chip input:checked + span::before { content: "\2713 "; }
  .field input, .field textarea, .med-other, .tx-part, .rows-row input { border: 0 !important; border-bottom: 1px solid #999 !important; border-radius: 0 !important; background: #fff !important; color: #000 !important; box-shadow: none !important; }
  .med-head { position: static; background: #fff !important; }
  .policy-text { max-height: none; overflow: visible; border-color: #ccc !important; background: #fff !important; }
  .agree { border-color: #ccc !important; background: #fff !important; }
  .body-stage { border-color: #ccc !important; background: #fff !important; width: auto !important; }
  .body-scroll { overflow: visible !important; }
  .body-stage img { filter: none; mix-blend-mode: normal; opacity: 1; }
  .sig-pad { border-color: #999 !important; background: #fff !important; color: #000 !important; }
  .ig, .policy { border-color: #ddd !important; }
  .yn, .med-row, .tx-row, .field, .agree, .body-chart { border-color: #ddd !important; break-inside: avoid; }
  .ig h3, .policy h3 { break-after: avoid; }
}

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

/* Blog posts copied from WordPress: mixed inline text in list items, images, tables */
.prose--wp ul li { display: block; position: relative; padding-left: 20px; }
.prose--wp ul li::before { position: absolute; left: 0; top: 0; }
.prose--wp ol { margin: 0 0 1.2em; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.prose--wp h4 { font-size: 1.1rem; margin-top: 1.4em; }
.prose--wp h5, .prose--wp h6 { font-size: 1rem; margin-top: 1.2em; }
.prose--wp figure { margin: 1.6em 0; }
.prose--wp img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
.prose--wp p > img { margin: 1.4em 0; }
.prose--wp blockquote { margin: 1.4em 0; padding-left: 18px; border-left: 3px solid var(--gold); }
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
.prose--wp table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
.prose--wp td, .prose--wp th { padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.18); vertical-align: top; text-align: left; }
.prose--wp tr:first-child td { background: rgba(255, 255, 255, 0.06); }
