/* Buffalo Rheumatology — theme.css (Design Canvas aligned)
 * Compact chrome: max-width 1279px. Mobile content: max-width 768px.
 */
:root{
  --br-burgundy:#7A1F33;
  --br-burgundy-dark:#5E1727;
  --br-cream:#F7F3EC;
  --br-paper:#FFFDF9;
  --br-ink:#2B2426;
  --br-ink-2:#2A2724;
  --br-muted:#6B655E;
  --br-body:#4A4540;
  --br-gold:#8A6A2B;
  --br-gold-soft:#E8C77A;
  --br-line:rgba(42,39,36,.08);
  --br-max:1240px;
  --br-radius:22px;
  --br-font:'Atkinson Hyperlegible',system-ui,sans-serif;
  --br-serif:'Source Serif 4',Georgia,serif;
  --br-chrome-pad:24px;
  --br-section-pad:20px;
  --br-interior-max:760px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--br-cream)}
body{margin:0;font-family:var(--br-font);font-size:18px;line-height:1.6;color:var(--br-ink-2);background:var(--br-cream);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--br-burgundy);text-decoration:none}
a:hover{color:var(--br-burgundy-dark);text-decoration:underline}
:focus-visible{outline:3px solid var(--br-burgundy);outline-offset:3px;border-radius:12px}
.br-skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--br-burgundy);color:#fff;padding:8px 16px}
.br-skip:focus{left:12px;top:12px}

.br-wrap{max-width:var(--br-max);margin:0 auto;padding-left:var(--br-section-pad);padding-right:var(--br-section-pad)}
.br-eyebrow{margin:0 0 10px;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--br-gold);font-weight:700}
.br-eyebrow--on-dark{color:var(--br-gold-soft)}
h1,h2,h3{font-family:var(--br-serif);font-weight:500;color:var(--br-ink);letter-spacing:-.01em;line-height:1.12;margin:0 0 12px;text-wrap:pretty}
h1{font-size:clamp(34px,4.2vw,54px)}
h2{font-size:clamp(28px,3.6vw,46px)}
h3{font-size:27px}
.br-diff h3,.br-card__body h3{font-size:27px;margin:0 0 10px}
.br-lead,.br-hero__lede,.br-hero__lede{font-size:20px;line-height:1.6;color:var(--br-body);max-width:32em}
.br-muted{color:var(--br-body)}

/* Buttons */
.br-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:999px;font-weight:700;font-size:16px;border:2px solid transparent;cursor:pointer;text-decoration:none;font-family:inherit;transition:background .15s,color .15s,border-color .15s;background:transparent;color:var(--br-burgundy)}
.br-btn:hover{text-decoration:none}
.br-btn--primary{background:var(--br-burgundy);color:var(--br-paper);box-shadow:0 6px 16px rgba(122,31,51,.22);border-color:transparent}
.br-btn--primary:hover{background:var(--br-burgundy-dark);color:var(--br-paper)}
.br-btn--outline{background:transparent;border-color:var(--br-burgundy);color:var(--br-burgundy)}
.br-btn--outline:hover{background:#F5E6E9;color:var(--br-burgundy)}
.br-btn--lg{min-height:58px;padding:0 28px;font-size:19px}
.br-btn--sm{min-height:44px;padding:0 16px;font-size:15px}
.br-btn--block{width:100%;justify-content:center}
.br-only-mobile{display:none!important}
.br-only-desktop{display:inline-flex!important}

/* Topbar */
.br-topbar{background:var(--br-burgundy);color:var(--br-cream);font-size:16px}
.br-topbar__inner{display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center;justify-content:space-between;padding:10px var(--br-chrome-pad)}
.br-topbar__phones{display:flex;flex-wrap:wrap;gap:8px 28px}
.br-topbar a{color:var(--br-cream);display:flex;gap:8px;align-items:baseline;min-height:28px}
.br-topbar a:hover{color:#FFFDF9;text-decoration:none}
.br-topbar span{opacity:.8;font-size:14px;letter-spacing:.08em;text-transform:uppercase}
.br-topbar strong{font-size:17px;font-weight:700}
.br-topbar__meta{display:flex;gap:6px 22px;flex-wrap:wrap;align-items:center}
.br-topbar__meta a{text-decoration:underline;text-underline-offset:3px}

/* Header — LAY-01/02/03/04/10 */
.br-header{background:var(--br-paper);border-bottom:1px solid var(--br-line);position:sticky;top:0;z-index:40}
.br-header__inner{display:flex;align-items:center;gap:16px 24px;justify-content:space-between;padding:14px var(--br-chrome-pad);flex-wrap:nowrap;min-height:60px}
.br-logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit;flex:none}
.br-logo:hover{text-decoration:none}
.br-logo__img{height:52px;width:auto}
.br-logo__text{display:flex;flex-direction:column;line-height:1;color:#3A3538}
.br-logo__buffalo{font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:400}
.br-logo__rheum{font-size:22px;letter-spacing:.02em;text-transform:uppercase;font-weight:700;color:var(--br-burgundy);margin-top:2px}
.br-logo__pllc{font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:400;margin-top:4px;color:var(--br-muted)}
.br-nav{display:flex;gap:2px;flex-wrap:nowrap;align-items:center;min-width:0}
.br-nav a,.br-nav__item>a{padding:10px 11px;border-radius:10px;color:var(--br-ink-2);font-size:16px;white-space:nowrap;text-decoration:none}
.br-nav a:hover,.br-nav__item>a:hover,.br-nav a.is-current,.br-nav a.is-current{background:#F1EBE0;color:var(--br-burgundy);text-decoration:none}
.br-nav__item{position:relative}
.br-nav__drop{display:none;position:absolute;top:100%;left:0;min-width:240px;background:var(--br-paper);border-radius:14px;box-shadow:0 18px 40px rgba(42,39,36,.14);padding:8px;z-index:50}
.br-nav__item:hover .br-nav__drop,.br-nav__item:focus-within .br-nav__drop{display:flex;flex-direction:column}
.br-nav__drop a{padding:10px 12px;border-radius:10px;white-space:normal}
.br-header__ctas{display:flex;gap:10px;align-items:center;flex:none}
.br-header__ctas .br-btn{min-height:46px;font-size:16px}
.br-header__ctas .br-btn--outline{padding:0 18px}
.br-header__ctas .br-btn--primary{padding:0 20px}
/* LAY-01: hide Book+burger by default (class is mobile-actions, not mobile) */
.br-header__mobile-actions{display:none;align-items:center;gap:6px;flex:none}
.br-burger{width:48px;height:48px;border-radius:14px;border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer;padding:0}
.br-burger span{display:block;width:22px;height:2px;background:var(--br-ink);border-radius:2px}
.br-burger span:last-child{width:14px;background:var(--br-burgundy);align-self:flex-end;margin-right:13px}

/* Drawer — MBL-03 safe-area */
.br-drawer[hidden]{display:none}
.br-drawer__backdrop{position:fixed;inset:0;z-index:50;background:rgba(43,36,38,.45)}
.br-drawer__panel{position:fixed;top:0;right:0;bottom:0;width:min(100%,400px);z-index:51;background:var(--br-paper);display:flex;flex-direction:column;padding:calc(12px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));box-shadow:-20px 0 60px rgba(0,0,0,.2);overflow-y:auto}
.br-drawer__head{display:flex;justify-content:space-between;align-items:center;min-height:48px;margin-bottom:12px}
.br-drawer__close{width:48px;height:48px;border-radius:999px;border:0;background:#F1EBE0;font:inherit;font-size:24px;color:var(--br-ink);cursor:pointer}
.br-drawer__nav{display:flex;flex-direction:column}
.br-drawer__nav a{display:flex;align-items:center;justify-content:space-between;min-height:60px;padding:0 4px;border-bottom:1px solid var(--br-line);color:var(--br-ink);font-family:var(--br-serif);font-size:26px;font-weight:500;text-decoration:none}
.br-drawer__nav svg{color:var(--br-burgundy)}
.br-drawer__foot{margin-top:auto;padding-top:28px;display:flex;flex-direction:column;gap:10px}
.br-drawer__phones{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px}
.br-drawer__phones a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:64px;border-radius:16px;background:var(--br-cream);color:var(--br-ink);text-decoration:none}
.br-drawer__phones span{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--br-muted)}
.br-drawer__phones strong{font-size:17px;color:var(--br-burgundy)}
.br-drawer__hours{margin:6px 0 0;text-align:center;font-size:15px;color:var(--br-muted)}

/* Hero */
.br-hero{position:relative;min-height:540px;display:flex;align-items:center;overflow:hidden;background:#E9E2D6}
.br-hero__media{position:absolute;inset:0}
.br-hero__media img{width:100%;height:100%;object-fit:cover}
.br-hero__veil{position:absolute;inset:0;background:linear-gradient(90deg,rgba(247,243,236,.55) 0%,rgba(247,243,236,0) 60%);pointer-events:none}
.br-hero__content{position:relative;padding:56px var(--br-chrome-pad);width:100%}
.br-hero__card{max-width:620px;background:rgba(255,253,249,.94);backdrop-filter:blur(8px);border-radius:28px;padding:40px 44px 36px;box-shadow:0 30px 70px rgba(42,39,36,.18)}
.br-hero__card h1{margin:0 0 18px}
.br-hero .br-eyebrow{font-size:15px}
.br-hero__actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin:28px 0 0}
.br-hero__actions .br-btn--outline{background:#FFFDF9;border:2px solid rgba(122,31,51,.35);color:var(--br-burgundy)}
.br-hero__actions .br-btn--outline:hover{background:#F5E6E9}
.br-hero__note{margin:22px 0 0;font-size:16px;color:var(--br-muted)}

/* Sections */
.br-section{padding:clamp(48px,6vw,72px) 0}
.br-section__head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:28px}
.br-section__head>div:first-child{max-width:40em;flex:1 1 auto;min-width:0}
.br-section__head .br-btn{flex:none;display:inline-flex;align-items:center;min-height:50px;padding:0 22px;font-size:17px}
.br-section__sub{margin:0;font-size:17px;color:var(--br-body)}
.br-section__intro{max-width:44em;margin-bottom:28px}
.br-diff__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.br-card{background:var(--br-paper);border-radius:var(--br-radius);overflow:hidden;box-shadow:0 8px 28px rgba(42,39,36,.07);display:flex;flex-direction:column}
.br-card__media{aspect-ratio:16/9;background:#E9E2D6}
.br-card__media img{width:100%;height:100%;object-fit:cover}
.br-card__body{padding:24px 24px 28px}
.br-card__body p{margin:0;color:var(--br-body)}
.br-swipe-hint{margin:0;font-size:14px;color:var(--br-muted);display:none;align-items:center;gap:6px}

/* Providers */
.br-providers{background:var(--br-paper)}
.br-provider-scroller,.br-provider-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:26px}
.br-provider-card{display:flex;flex-direction:column;width:100%;height:100%;text-align:left;background:var(--br-cream);border-radius:var(--br-radius);padding:14px 14px 22px;color:var(--br-ink-2);border:0;cursor:pointer;font:inherit;appearance:none;-webkit-appearance:none;transition:box-shadow .3s,transform .3s}
.br-provider-card:hover{box-shadow:0 14px 34px rgba(42,39,36,.10);transform:translateY(-2px)}
.br-provider-card__photo{aspect-ratio:4/3;border-radius:18px;overflow:hidden;background:#E9E2D6;margin-bottom:20px;flex:none}
.br-provider-card__photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.br-provider-card__placeholder{width:100%;height:100%;background:linear-gradient(135deg,#E9E2D6,#F1EBE0)}
.br-provider-card__body{padding:0 8px;display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.br-provider-card__name{font-family:var(--br-serif);font-size:clamp(23px,2vw,27px);font-weight:500;line-height:1.2;color:var(--br-ink);min-height:2.4em}
.br-provider-card__cred{font-size:16px;letter-spacing:.06em;text-transform:uppercase;color:var(--br-burgundy);font-weight:700;margin:8px 0}
.br-provider-card__spec{margin:0;font-size:18px;color:var(--br-body);line-height:1.5;min-height:3em}
.br-provider-card__more{display:inline-block;margin-top:auto;padding-top:12px;font-size:16px;font-weight:700;color:var(--br-burgundy)}

/* Life */
.br-section.br-life{padding-bottom:0}
.br-life__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:28px;align-items:center}
.br-life__media{border-radius:24px;overflow:hidden;box-shadow:0 18px 48px rgba(42,39,36,.12);background:#E9E2D6;aspect-ratio:1159/380}
.br-life__media img{width:100%;height:100%;object-fit:cover}
.br-chip-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.br-chip{font-weight:700;font-size:16px;min-height:46px;padding:0 18px;border-radius:999px;background:var(--br-paper);border:1px solid rgba(42,39,36,.1);display:inline-flex;align-items:center;color:var(--br-ink);text-decoration:none}
.br-chip:hover{background:#F5E6E9;text-decoration:none;color:var(--br-burgundy)}

/* Conditions */
.br-conditions{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:6px 8px}
.br-conditions a,.br-conditions li>span{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:8px 16px;border-radius:12px;background:var(--br-paper);color:var(--br-ink-2);font-size:17px;box-shadow:0 1px 0 rgba(42,39,36,.06);text-decoration:none}
.br-conditions a:hover{background:#F5E6E9;color:var(--br-burgundy)}
.br-conditions svg{flex:none;opacity:.55}

/* Locations */
.br-locations{background:var(--br-burgundy);color:var(--br-cream);padding:clamp(48px,6vw,72px) 0}
.br-locations h2{color:var(--br-paper)}
.br-locations__head{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:24px;align-items:center;margin-bottom:28px}
.br-locations__lobby{border-radius:20px;overflow:hidden;background:var(--br-burgundy-dark);aspect-ratio:1159/380}
.br-locations__lobby img{width:100%;height:100%;object-fit:cover}
.br-locations__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,400px),1fr));gap:24px}
.br-loc{background:var(--br-paper);color:var(--br-ink-2);border-radius:24px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.18)}
.br-loc__map{aspect-ratio:16/8;background:#E9E2D6}
.br-loc__map iframe{border:0;display:block;width:100%;height:100%;filter:saturate(.85)}
.br-loc__body{padding:24px 22px}
.br-loc__actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:10px;margin-top:18px}
.br-loc__actions .br-btn{min-height:54px;font-size:17px}
.br-maps-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:6px;font-size:15px;font-weight:700;color:var(--br-burgundy);text-decoration:underline;text-underline-offset:3px}
.br-maps-link:hover{color:var(--br-burgundy-dark)}
.br-pill{display:inline-flex;align-items:center;gap:8px;background:#F6EBD2;color:#5E4715;border-radius:999px;padding:6px 14px;font-size:16px;font-weight:700;margin:0 0 12px}

/* Interior pages — fixed content width / chrome */
.br-page-hero{padding:48px 0 28px;background:var(--br-paper);border-bottom:1px solid var(--br-line)}
.br-page-hero .br-wrap{padding-left:var(--br-chrome-pad);padding-right:var(--br-chrome-pad)}
.br-page-title{margin:0 0 12px}
.br-page-hero .br-lead{margin:8px 0 0;max-width:40em}
.br-wrap.br-interior{max-width:760px;margin-left:auto;margin-right:auto;padding:40px var(--br-chrome-pad) 72px}
.br-prose{color:var(--br-body);font-size:18px;line-height:1.7;max-width:40em}
.br-prose>*:first-child{margin-top:0}
.br-prose h2,.br-prose h3{margin-top:1.6em}
.br-prose p{margin:0 0 1em}
.br-prose ul,.br-prose ol{padding-left:1.2em;margin:0 0 1em}
.br-prose li{margin:.35em 0}
.br-contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:36px;align-items:start}
.br-form{display:flex;flex-direction:column;gap:16px}
.br-form label{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:700;color:#3A3538}
.br-form input,.br-form textarea{font:inherit;font-weight:400;font-size:18px;color:var(--br-ink);min-height:56px;padding:0 18px;border-radius:14px;border:1.5px solid rgba(42,39,36,.15);background:var(--br-paper);width:100%}
.br-form textarea{padding:14px 18px;min-height:120px;resize:vertical}
.br-form input:focus,.br-form textarea:focus{border-color:var(--br-burgundy);box-shadow:0 0 0 4px rgba(122,31,51,.12);outline:0}
.br-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.br-form-msg{padding:14px 18px;border-radius:14px;margin-bottom:16px;font-weight:700}
.br-form-msg--ok{background:#E8F5EC;color:#1F5A32}
.br-form-msg--err{background:#F5E6E9;color:var(--br-burgundy)}
.br-loc-card,.br-contact-locs .br-loc-card{background:var(--br-paper);border-radius:20px;padding:24px;margin-bottom:16px;box-shadow:0 8px 28px rgba(42,39,36,.07)}
.br-loc-card h2{font-size:28px;margin:0 0 10px}
.br-note{font-size:15px;color:var(--br-muted);margin-top:16px}
.br-contact-locs{display:flex;flex-direction:column;gap:0}

/* Footer desktop */
.br-footer{background:var(--br-cream);padding:64px 0 40px;border-top:1px solid var(--br-line)}
.br-footer__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:36px 28px;font-size:17px}
.br-footer__label{margin:0 0 8px;font-weight:700;font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--br-muted)}
.br-footer__patients{display:grid;gap:8px;align-content:start}
.br-footer__patients .br-btn{width:fit-content}
.br-footer__legal{margin-top:48px;padding-top:24px;border-top:1px solid rgba(42,39,36,.1);display:flex;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;font-size:15px;color:var(--br-muted)}
.br-footer__legal-links{display:flex;gap:20px}
.br-footer__legal-links a{color:var(--br-muted)}
.br-footer__credit{margin:16px 0 0;font-size:14px;color:var(--br-muted)}
.br-footer__credit a{color:var(--br-burgundy);font-weight:700}
.br-footer__mobile{display:none}

/* Mobile bar */
.br-mobar{display:none}

/* Modals */
.br-modal[hidden]{display:none}
.br-modal{position:fixed;inset:0;z-index:60;background:rgba(43,36,38,.55);backdrop-filter:blur(4px);display:flex;align-items:flex-start;justify-content:center;padding:32px 16px;overflow-y:auto}
.br-modal__panel{background:var(--br-paper);border-radius:28px;max-width:560px;width:100%;box-shadow:0 40px 90px rgba(0,0,0,.3);overflow:hidden;padding-bottom:env(safe-area-inset-bottom)}
.br-modal__panel--wide{max-width:960px}
.br-modal__close-row{display:flex;justify-content:flex-end;padding:12px 12px 0}
.br-modal__close{min-height:48px;min-width:48px;border-radius:999px;border:0;background:#F1EBE0;font:inherit;font-size:22px;color:var(--br-ink-2);cursor:pointer}
.br-modal__body{padding:0 28px 36px}
.br-modal__thanks{text-align:center;padding:24px 0 12px}
.br-modal__check{width:64px;height:64px;border-radius:999px;background:#F5E6E9;color:var(--br-burgundy);display:flex;align-items:center;justify-content:center;margin:0 auto 20px}
.br-provider-profile{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:28px;padding:12px 24px 40px;align-items:start}
.br-provider-profile__photo{aspect-ratio:4/3;border-radius:20px;overflow:hidden;background:#E9E2D6;margin-bottom:22px}
.br-provider-profile__photo img{width:100%;height:100%;object-fit:cover;object-position:top}
.br-provider-profile__bio{font-size:17px;line-height:1.7;color:#3A3538}
.br-provider-profile__bio p{margin:0 0 20px}
.br-bio-soon{background:var(--br-cream);border-radius:18px;padding:28px 30px}

/* Compact header — DC isCompact: w < 1280 */
@media (max-width:1279px){
  .br-topbar{display:none}
  .br-nav,.br-header__ctas{display:none}
  .br-header__mobile-actions{display:flex}
  .br-header__inner{padding:8px var(--br-chrome-pad);min-height:60px;height:60px}
  .br-logo__pllc{display:none}
  .br-logo__rheum{font-size:17px}
  .br-logo__buffalo{font-size:10px}
  .br-logo__img{height:38px}
}

/* Mobile content */
@media (max-width:768px){
  .br-only-mobile{display:block!important}
  .br-swipe-hint.br-only-mobile,.br-only-mobile.br-swipe-hint{display:flex!important}
  .br-only-desktop{display:none!important}
  .br-hero{min-height:0;display:block;background:var(--br-paper)}
  .br-hero__media{position:relative;aspect-ratio:16/11}
  .br-hero__veil{display:none}
  .br-hero__content{padding:0}
  .br-hero__card{max-width:none;border-radius:28px 28px 0 0;margin-top:-28px;box-shadow:none;padding:28px 20px 24px;background:var(--br-paper)}
  .br-hero .br-eyebrow{font-size:13px}
  .br-hero__actions{flex-direction:column}
  .br-hero__actions .br-btn{width:100%}
  .br-provider-scroller{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin:0 -20px;padding:0 20px 8px;scrollbar-width:none}
  .br-provider-scroller::-webkit-scrollbar{display:none}
  .br-provider-scroller .br-provider-card{flex:none;width:min(78vw,320px);scroll-snap-align:start;height:auto;align-self:stretch}
  /* LAY-11: interior providers stay grid (no snap) */
  .br-provider-grid{display:grid;grid-template-columns:1fr;gap:16px;overflow:visible}
  .br-swipe-hint{display:flex}
  .br-page-hero{padding:36px 0 20px}
  .br-wrap.br-interior{padding:28px 20px 56px}
  .br-section{padding:40px 0}
  .br-contact-grid{gap:28px}
  /* Mobile footer cards + 2-col tiles */
  .br-footer{padding:48px 20px 24px}
  .br-footer__grid,.br-footer__legal,.br-footer__credit{display:none}
  .br-footer__mobile{display:block}
  .br-footer__mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:6px}
  .br-footer__mobile-brand .br-logo__img{height:40px}
  .br-footer__mobile-brand .br-logo__rheum{font-size:17px}
  .br-footer__mobile-brand .br-logo__buffalo{font-size:10px}
  .br-footer__mobile-brand .br-logo__pllc{display:block;font-size:8px;margin-top:3px}
  .br-footer__mobile-hours{margin:0 0 20px;font-size:15px;color:var(--br-muted)}
  .br-footer__m-locs{display:grid;gap:12px;margin-bottom:24px}
  .br-footer__m-card{background:var(--br-paper);border-radius:20px;padding:20px}
  .br-footer__m-card .br-footer__label{color:var(--br-gold);font-size:12px;letter-spacing:.12em}
  .br-footer__m-card p{margin:0 0 4px;font-size:16px;line-height:1.5}
  .br-footer__m-card .br-muted{margin:0 0 14px;font-size:15px}
  .br-footer__m-card .br-pill{margin:0 0 4px;font-size:15px;padding:0;background:transparent;color:#5E4715}
  .br-footer__m-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .br-footer__m-actions a{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:999px;font-weight:700;font-size:15px;text-decoration:none}
  .br-footer__m-actions a:first-child{background:#F5E6E9;color:var(--br-burgundy)}
  .br-footer__m-actions a:last-child{border:1px solid rgba(42,39,36,.12);color:var(--br-ink)}
  .br-footer__m-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:24px}
  .br-footer__m-tiles a{display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:14px;background:var(--br-paper);color:var(--br-ink);font-weight:700;font-size:15px;text-decoration:none}
  .br-footer__m-tiles a.br-footer__m-span{grid-column:1/-1}
  .br-footer__m-legal{display:flex;gap:16px;margin-bottom:12px;font-size:14px}
  .br-footer__m-legal a{color:var(--br-muted);min-height:44px;display:inline-flex;align-items:center}
  .br-footer__m-copy{margin:0;font-size:13px;line-height:1.5;color:var(--br-muted)}
  .br-mobar{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:30;grid-template-columns:repeat(4,1fr);gap:6px;background:rgba(255,253,249,.96);backdrop-filter:blur(14px);border-top:1px solid var(--br-line);padding:8px 12px calc(8px + env(safe-area-inset-bottom))}
  .br-mobar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;border-radius:16px;color:var(--br-burgundy);font-weight:700;font-size:12px;text-decoration:none}
  .br-mobar__book{background:var(--br-burgundy);color:var(--br-paper)!important}
  body{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  .br-modal{padding:48px 0 0}
  .br-modal__panel{border-radius:28px 28px 0 0;min-height:100%}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* Aliases / gaps */
.br-main{display:block}
.br-footer__brand .br-logo,.br-logo--footer{margin-bottom:18px}
.br-nav__link{display:inline-block}
.br-muted{color:var(--br-muted)}
.br-locations__head{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr));gap:24px;align-items:center;margin-bottom:28px}
.br-loc__body .br-muted{color:var(--br-muted);font-size:16px}
.br-page-hero .br-lead{margin-top:8px}
@media (min-width:769px){
  .br-footer__mobile{display:none!important}
}


/* Interior polish (Adam P0) */
.br-page-hero{padding:48px 0 28px;background:var(--br-paper);border-bottom:1px solid var(--br-line)}
.br-page-hero .br-wrap{padding-left:var(--br-chrome-pad);padding-right:var(--br-chrome-pad)}
.br-page-title{margin:0 0 10px;font-family:var(--br-serif);font-weight:500;font-size:clamp(34px,4vw,48px);line-height:1.12;color:var(--br-ink)}
.br-page-hero .br-lead,.br-page-hero .br-lede{margin:8px 0 0;font-size:20px;line-height:1.55;color:var(--br-body);max-width:40em}
.br-wrap.br-interior{max-width:760px;margin-left:auto;margin-right:auto;padding:40px var(--br-chrome-pad) 72px}
.br-interior .br-prose,.br-prose{max-width:40em;color:var(--br-body);font-size:18px;line-height:1.7}
.br-section .br-wrap{padding-left:var(--br-section-pad);padding-right:var(--br-section-pad)}
.br-locations .br-wrap{padding-left:var(--br-section-pad);padding-right:var(--br-section-pad)}
.br-provider-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:26px}
@media (max-width:768px){
  .br-provider-grid{grid-template-columns:1fr;gap:16px;overflow:visible;scroll-snap-type:none}
  .br-provider-grid .br-provider-card{width:100%;flex:unset;scroll-snap-align:unset}
  .br-page-hero{padding:36px 0 20px}
  .br-wrap.br-interior{padding:28px 20px 64px}
  .br-contact-grid{grid-template-columns:1fr;gap:28px}
}

/* New patient forms PDF CTA */
.br-forms-download { margin-top: 24px; }
.br-forms-download .br-btn { display: inline-flex; }

/* ===== Interior hub cards (1.0.5) ===== */
.br-wrap.br-interior.br-interior--hub{
  max-width:var(--br-max);
  padding-top:40px;
  padding-bottom:72px;
}
.br-interior--hub .br-prose{
  max-width:40em;
  margin-bottom:32px;
}
.br-hub{margin:32px 0 0}
.br-hub__heading{
  font-family:var(--br-serif);
  font-weight:500;
  font-size:clamp(24px,2.4vw,32px);
  line-height:1.2;
  color:var(--br-ink);
  margin:0 0 16px;
}
.br-hub__note{
  margin:0 0 16px;
  max-width:40em;
  font-size:17px;
  line-height:1.6;
  color:var(--br-body);
}
.br-hub-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));
  gap:24px;
  align-items:stretch;
}
.br-hub-card{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:160px;
  padding:24px;
  background:var(--br-paper);
  border-radius:var(--br-radius);
  box-shadow:0 8px 28px rgba(42,39,36,.07);
  border:1px solid var(--br-line);
  color:var(--br-ink-2);
  text-decoration:none;
  transition:box-shadow .3s,transform .3s,border-color .2s;
}
.br-hub-card:hover{
  box-shadow:0 14px 34px rgba(42,39,36,.10);
  transform:translateY(-2px);
  border-color:rgba(122,31,51,.2);
  text-decoration:none;
  color:var(--br-ink-2);
}
.br-hub-card__title{
  font-family:var(--br-serif);
  font-size:clamp(20px,2vw,24px);
  font-weight:500;
  line-height:1.25;
  color:var(--br-ink);
  margin:0 0 8px;
}
.br-hub-card__lede{
  font-size:16px;
  line-height:1.5;
  color:var(--br-body);
  margin:0 0 12px;
  flex:1 1 auto;
}
.br-hub-card__more{
  margin-top:auto;
  padding-top:8px;
  font-size:16px;
  font-weight:700;
  color:var(--br-burgundy);
}
.br-hub-card:hover .br-hub-card__more{color:var(--br-burgundy-dark)}
.br-ext-icon{font-size:.85em;opacity:.7}
.br-resource-products{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));
  gap:12px;
}
.br-resource-products a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:52px;
  padding:12px 16px;
  background:var(--br-paper);
  border-radius:14px;
  border:1px solid var(--br-line);
  font-weight:700;
  font-size:16px;
  text-decoration:none;
  color:var(--br-burgundy);
  transition:background .15s,border-color .15s;
}
.br-resource-products a:hover{
  background:#F5E6E9;
  border-color:rgba(122,31,51,.25);
  text-decoration:none;
}

/* Prose rhythm polish */
.br-prose h2{margin-top:1.75em;margin-bottom:.5em}
.br-prose h3{margin-top:1.4em;margin-bottom:.4em}
.br-prose ul,.br-prose ol{margin:0 0 1.25em;padding-left:1.25em}
.br-prose li{margin:.45em 0;line-height:1.55}
.br-prose ul.br-prose-list{display:grid;gap:4px}
.br-prose .br-cta-row{margin:1.25em 0 1.5em}
.br-prose .br-inline-cta{
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Footer copyright — avoid digit ghosting (no letter-spacing / text-shadow / faux bold) */
.br-footer__legal p,
.br-footer__m-copy{
  letter-spacing:0;
  text-shadow:none;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  font-variant-numeric:normal;
}
.br-footer__legal strong,
.br-footer__m-copy strong{font-weight:700}

@media (max-width:768px){
  .br-wrap.br-interior.br-interior--hub{padding:28px 20px 56px}
  .br-hub-grid{grid-template-columns:1fr;gap:16px}
  .br-hub-card{min-height:0;padding:20px}
}

/* Footer digit ghosting — synthetic bold / underline through glyphs */
.br-footer{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-shadow:none;
  font-synthesis:none;
}
.br-footer a,
.br-footer p,
.br-footer strong{
  text-shadow:none;
  letter-spacing:0;
  text-decoration:none;
}
.br-footer a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-thickness:1px;
}
.br-footer strong{
  font-weight:700;
  font-synthesis:none;
}
.br-footer__grid p,
.br-footer__legal p,
.br-footer__m-copy{
  font-variant-numeric:lining-nums;
}
.br-footer__phone{font-weight:700;font-synthesis:none;color:var(--br-burgundy)}

/* ===== Interior column lock (1.0.6) — title + body share one left edge ===== */
.br-page-hero .br-wrap{
  max-width:var(--br-interior-max);
  margin-left:auto;
  margin-right:auto;
  padding-left:var(--br-chrome-pad);
  padding-right:var(--br-chrome-pad);
}
.br-page-hero .br-wrap.br-interior{
  max-width:var(--br-interior-max);
  padding-top:0;
  padding-bottom:0;
}
.br-page--hub .br-page-hero .br-wrap,
.br-page--hub .br-page-hero .br-wrap.br-interior,
.br-page-hero .br-wrap.br-interior--hub,
.br-main--wide .br-page-hero .br-wrap{
  max-width:var(--br-max);
}
.br-wrap.br-interior{
  max-width:var(--br-interior-max);
  margin-left:auto;
  margin-right:auto;
  padding:40px var(--br-chrome-pad) 72px;
}
.br-wrap.br-interior.br-interior--hub{
  max-width:var(--br-max);
}
.br-interior .br-prose,
.br-prose{
  max-width:40em;
  margin-left:0;
  margin-right:0;
}
.br-interior--hub .br-prose{
  max-width:40em;
}
@media (max-width:768px){
  .br-page-hero .br-wrap,
  .br-page-hero .br-wrap.br-interior,
  .br-wrap.br-interior{
    padding-left:20px;
    padding-right:20px;
  }
  .br-wrap.br-interior{padding-top:28px;padding-bottom:56px}
}

/* Make a Payment — Jotform embed (config TBD) */
.br-payment-form{margin-top:28px;max-width:40em}
.br-payment-form iframe{max-width:100%}

/* ===== Client edits 1.0.9 ===== */

/* Nav: Providers + Contact baseline with dropdown parents */
.br-nav > a.br-nav__link,
.br-nav > .br-nav__item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.br-nav > .br-nav__item > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Providers section: title full width; sub+CTA row */
.br-section__intro--wide {
  max-width: none;
  margin-bottom: 16px;
}
.br-section__intro--wide h2 {
  max-width: none;
}
.br-section__head--providers {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.br-section__head--providers .br-section__sub {
  margin: 0;
  flex: 1 1 auto;
  max-width: none;
}

/* Name + credentials same line/font; tighter card body */
.br-provider-card__name {
  min-height: 0;
  margin: 0;
}
.br-provider-card__cred {
  display: none;
}
.br-provider-card__spec {
  margin: 6px 0 0;
  min-height: 0;
  font-size: 17px;
  line-height: 1.4;
}
.br-provider-card__more {
  padding-top: 8px;
}
.br-provider-profile h2 {
  margin-bottom: 0;
}
.br-provider-profile .br-provider-card__cred[hidden] {
  display: none;
}

/* Home conditions: 4 across, View All burgundy */
.br-conditions--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 14px;
}
.br-conditions--home a {
  justify-content: center;
}
.br-conditions__view-all a {
  background: var(--br-burgundy);
  color: #fff;
  font-weight: 700;
  justify-content: space-between;
}
.br-conditions__view-all a:hover {
  background: var(--br-burgundy-dark, #5c1726);
  color: #fff;
}
.br-conditions__view-all svg {
  opacity: 1;
  color: #fff;
}
@media (max-width: 1100px) {
  .br-conditions--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .br-conditions--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .br-conditions--home { grid-template-columns: 1fr; }
}

/* Interiors: full --br-max width, no 760 lock */
.br-wrap.br-interior,
.br-page-hero .br-wrap.br-interior,
.br-page-hero .br-wrap,
.br-wrap.br-interior.br-interior--hub,
.br-page--hub .br-page-hero .br-wrap.br-interior {
  max-width: var(--br-max);
}
.br-interior .br-prose,
.br-interior--hub .br-prose,
.br-prose {
  max-width: none;
}
.br-page-hero .br-lead,
.br-lead {
  max-width: none;
}
.br-page--interior .br-wrap,
.br-page--hub .br-wrap {
  max-width: var(--br-max);
}

/* About conditions / insurance 3-col lists */
.br-col-list,
.br-prose ul.br-col-list,
.br-prose-list.br-col-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 28px;
  list-style: disc;
  padding-left: 1.1em;
  margin: 0 0 1.25em;
}
.br-col-list li {
  margin: 0.15em 0;
  line-height: 1.35;
}
@media (max-width: 800px) {
  .br-col-list,
  .br-prose ul.br-col-list,
  .br-prose-list.br-col-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .br-col-list,
  .br-prose ul.br-col-list,
  .br-prose-list.br-col-list { grid-template-columns: 1fr; }
}

/* Hub cards 3 across (patients + resources orgs) */
.br-hub-grid,
.br-hub-grid--links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 22px;
}
@media (max-width: 960px) {
  .br-hub-grid,
  .br-hub-grid--links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .br-hub-grid,
  .br-hub-grid--links { grid-template-columns: 1fr; }
}
.br-hub--resources { margin-bottom: 40px; }
.br-hub--theralogix { margin-top: 48px; }
.br-hub__note { max-width: none; }

/* Conditions treated page: 3 across white boxes, more spacing */
.page-template-page-conditions-treated .br-conditions,
.br-conditions--page {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 18px;
}
@media (max-width: 900px) {
  .page-template-page-conditions-treated .br-conditions,
  .br-conditions--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .page-template-page-conditions-treated .br-conditions,
  .br-conditions--page { grid-template-columns: 1fr; }
}

/* Management: name H3, title in provider-cred red */
.br-mgmt-name {
  font-family: var(--br-serif);
  font-size: clamp(22px, 2vw, 26px);
  font-weight: 500;
  margin: 1.4em 0 0.15em;
  color: var(--br-ink);
}
.br-mgmt-title {
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--br-burgundy);
  font-weight: 700;
  margin: 0 0 0.75em;
}

/* Portal structured blocks */
.br-portal-faq h3,
.br-content-faq h3 {
  margin: 1.5em 0 0.35em;
  font-size: 1.15em;
}
.br-portal-list,
.br-content-list {
  margin: 0.5em 0 1.25em;
  padding-left: 1.2em;
}
.br-portal-list li,
.br-content-list li {
  margin: 0.35em 0;
}

/* Clinical studies H4 rhythm */
.br-prose h4 {
  margin: 1.5em 0 0.4em;
  font-size: 1.05em;
  color: var(--br-ink);
}

/* Footer credit: muted, normal weight; tighter to copyright */
.br-footer__legal {
  margin-bottom: 0;
  padding-bottom: 0;
}
.br-footer__credit,
.br-footer__m-credit {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--br-muted);
}
.br-footer__credit a,
.br-footer__m-credit a {
  color: var(--br-muted);
  font-weight: 400;
  text-decoration: none;
}
.br-footer__credit a:hover,
.br-footer__m-credit a:hover {
  text-decoration: underline;
}

/* Jotform embeds */
.br-jotform {
  min-height: 420px;
  margin: 8px 0 16px;
}
.br-modal .br-jotform {
  min-height: 480px;
}
.br-modal__panel {
  max-width: min(720px, 100%);
}

/* ===== Under-title body gap (1.0.11) — space AFTER H1 into content ===== */
.br-page-hero{
  /* keep sticky-header clearance; leave room under the title itself */
  padding:clamp(56px,6vw,80px) 0 clamp(28px,3vw,40px);
}
.br-page-hero .br-eyebrow{margin:0 0 12px}
.br-page-title{margin:0}
/* Default interiors: hero then .br-wrap > .br-prose (no .br-section) */
.br-page-hero + .br-wrap{
  padding-top:clamp(48px,6vw,80px);
  padding-bottom:clamp(56px,7vw,96px);
}
/* Templates where a .br-section follows the hero */
.br-page-hero + .br-section{
  padding-top:clamp(48px,6vw,80px);
}
.br-wrap.br-interior{
  padding-top:clamp(48px,6vw,80px);
}
@media (max-width:768px){
  .br-page-hero{padding:44px 0 24px}
  .br-page-hero + .br-wrap,
  .br-page-hero + .br-section,
  .br-wrap.br-interior{padding-top:40px}
}
