/* =========================================================================
   R&J Plumbing and Backflow Services - site stylesheet
   Palette locked: red #F01C32 / ink #000000 / paper #FFFFFF / grey #69727D
   Type: Montserrat (headings) + Open Sans (body)
   Radius lock: 6px controls, 12px cards, ticket-stub clip-path only on promo cards
   ========================================================================= */

:root{
  --red:#F01C32;
  --red-dark:#C4142A;
  --red-darker:#8E0E1F;
  --ink:#000000;
  --ink-2:#161616;
  --paper:#FFFFFF;
  --grey:#69727D;
  --grey-light:#8A929B;
  --line:#D5D8DC;
  --surface:#F5F6F7;

  --ff-head:'Montserrat',-apple-system,BlinkMacSystemFont,sans-serif;
  --ff-body:'Open Sans',-apple-system,BlinkMacSystemFont,sans-serif;

  --radius:6px;
  --radius-lg:12px;
  --shadow:0 6px 18px rgba(0,0,0,.10);
  --shadow-lg:0 20px 48px rgba(0,0,0,.18);

  --wrap:1180px;
  --gut:20px;

  --header-h:76px;
  --strip-h:36px;
  --callbar-h:64px;
  --consent-h:0px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;overflow-x:hidden}
img,svg,video{max-width:100%;display:block}
img{height:auto}
h1,h2,h3,h4,p,figure,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;color:inherit}
input,select,textarea{font:inherit}

body{
  font-family:var(--ff-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.55;
  padding-top:calc(var(--strip-h) + var(--header-h));
}
@media (max-width:767px){
  body{padding-bottom:var(--callbar-h)}
}

h1,h2,h3,h4{font-family:var(--ff-head);font-weight:800;line-height:1.12;color:var(--ink)}
h1{font-size:clamp(1.9rem,5.4vw,3.1rem);letter-spacing:-0.01em}
h2{font-size:clamp(1.5rem,3.6vw,2.2rem);letter-spacing:-0.01em}
h3{font-size:1.2rem}
p{color:#333;max-width:65ch}
.lede{font-size:1.08rem;color:var(--grey);max-width:56ch}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.section{padding:56px 0}
.section-tight{padding:36px 0}
@media (min-width:900px){
  .section{padding:88px 0}
  .section-tight{padding:52px 0}
}
.section-ink{background:var(--ink);color:var(--paper)}
.section-ink p,.section-ink .lede{color:#C9CCD1}
.section-ink h1,.section-ink h2,.section-ink h3{color:var(--paper)}
.section-surface{background:var(--surface)}

.skip-link{
  position:absolute;left:8px;top:-48px;background:var(--ink);color:var(--paper);
  padding:10px 16px;border-radius:0 0 var(--radius) var(--radius);z-index:400;transition:top .15s ease;
}
.skip-link:focus{top:0}

.eyebrow{
  display:inline-block;font-family:var(--ff-head);font-weight:800;font-size:.78rem;
  letter-spacing:.09em;text-transform:uppercase;color:var(--red);margin-bottom:10px;
}
.section-ink .eyebrow{color:var(--red)}

/* ---------- Buttons (explicit background always, never UA default) ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:0 22px;border-radius:var(--radius);border:2px solid transparent;
  font-family:var(--ff-head);font-weight:700;font-size:.98rem;white-space:nowrap;
  transition:transform .12s ease,background-color .15s ease,border-color .15s ease;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--red);color:var(--paper);border-color:var(--red)}
.btn-primary:hover,.btn-primary:focus-visible{background:var(--red-dark);border-color:var(--red-dark)}
.btn-dark{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.btn-dark:hover,.btn-dark:focus-visible{background:var(--ink-2)}
.btn-outline{background:var(--paper);color:var(--ink);border-color:var(--ink)}
.btn-outline:hover,.btn-outline:focus-visible{background:var(--ink);color:var(--paper)}
.btn-outline-light{background:transparent;color:var(--paper);border-color:var(--paper)}
.btn-outline-light:hover,.btn-outline-light:focus-visible{background:var(--paper);color:var(--ink)}
.btn-block{width:100%}
.btn-sm{min-height:40px;padding:0 16px;font-size:.9rem}
.btn-lg{min-height:56px;padding:0 30px;font-size:1.05rem}
.btn svg{width:18px;height:18px;flex-shrink:0}
.cta-row{display:flex;flex-wrap:wrap;gap:12px}

/* ---------- Emergency strip ---------- */
.top-strip{
  position:fixed;top:0;left:0;right:0;z-index:210;height:var(--strip-h);
  background:var(--ink);color:var(--paper);display:flex;align-items:center;
  font-family:var(--ff-head);font-weight:700;font-size:.78rem;letter-spacing:.03em;
}
.top-strip .wrap{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;text-align:center}
.top-strip strong{color:var(--red)}
.top-strip a{text-decoration:underline;text-underline-offset:2px}
@media (max-width:480px){
  .top-strip{font-size:.7rem}
  .top-strip .wrap{gap:5px;padding:0 12px}
}

/* ---------- Header ---------- */
.site-header{
  position:fixed;top:var(--strip-h);left:0;right:0;z-index:200;height:var(--header-h);
  background:var(--paper);border-bottom:1px solid var(--line);
}
.site-header .bar{
  max-width:var(--wrap);margin:0 auto;padding:0 var(--gut);height:100%;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.brand img{height:44px;width:auto}
@media (min-width:900px){.brand img{height:52px}}

.nav{display:none}
@media (min-width:1024px){
  .nav{display:flex;align-items:center;gap:22px;font-family:var(--ff-head);font-weight:700;font-size:.92rem}
  .nav a{padding:8px 2px;border-bottom:2px solid transparent}
  .nav a:hover,.nav a[aria-current="page"]{border-color:var(--red)}
  .nav .has-menu{position:relative}
  .nav .menu{
    position:absolute;top:100%;left:0;background:var(--paper);border:1px solid var(--line);
    border-radius:var(--radius);box-shadow:var(--shadow-lg);min-width:260px;padding:8px;
    display:grid;gap:2px;opacity:0;visibility:hidden;transform:translateY(6px);
    transition:opacity .15s ease,transform .15s ease;
  }
  .nav .has-menu:hover .menu,.nav .has-menu:focus-within .menu{opacity:1;visibility:visible;transform:translateY(0)}
  .nav .menu a{display:block;padding:10px 12px;border-radius:8px;border-bottom:0;font-size:.88rem}
  .nav .menu a:hover{background:var(--surface)}
}

.header-cta{display:flex;align-items:center;gap:12px}
.header-phone{
  display:none;font-family:var(--ff-head);font-weight:800;font-size:1.02rem;color:var(--ink);
}
.header-phone svg{width:18px;height:18px;color:var(--red);margin-right:6px;vertical-align:-3px}
@media (min-width:640px){.header-phone{display:inline-flex;align-items:center}}
@media (max-width:1023px){.header-cta .btn-primary{display:none}}

.nav-toggle{
  display:grid;place-items:center;width:44px;height:44px;background:var(--paper);
  border:1px solid var(--line);border-radius:var(--radius);flex-shrink:0;
}
.nav-toggle svg{width:22px;height:22px}
@media (min-width:1024px){.nav-toggle{display:none}}

.mnav{
  position:fixed;top:calc(var(--strip-h) + var(--header-h));left:0;right:0;bottom:0;z-index:190;
  background:var(--paper);transform:translateX(100%);transition:transform .2s ease;
  overflow-y:auto;padding:18px var(--gut) 24px;
}
.mnav[data-open="true"]{transform:translateX(0)}
.mnav a{display:block;padding:14px 4px;font-family:var(--ff-head);font-weight:700;font-size:1.05rem;border-bottom:1px solid var(--line)}
.mnav .mnav-cta{margin-top:18px;display:grid;gap:10px}
@media (min-width:1024px){.mnav{display:none!important}}

/* ---------- Mobile bottom call bar ---------- */
.call-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:195;display:grid;grid-template-columns:1fr 1fr;
  gap:1px;background:var(--line);
}
.call-bar a{
  display:flex;align-items:center;justify-content:center;gap:8px;min-height:var(--callbar-h);
  font-family:var(--ff-head);font-weight:800;font-size:.95rem;
}
.call-bar .call{background:var(--red);color:var(--paper)}
.call-bar .req{background:var(--ink);color:var(--paper)}
.call-bar svg{width:20px;height:20px}
@media (min-width:768px){.call-bar{display:none}}

/* ---------- Hero: split (home / about) ---------- */
.hero-split{background:var(--paper);padding:40px 0 48px}
.hero-split .wrap{
  display:grid;gap:32px;align-items:center;
}
@media (min-width:960px){
  .hero-split .wrap{grid-template-columns:1.05fr .95fr;gap:48px}
}
.hero-split h1{margin-bottom:16px}
.hero-split .lede{margin-bottom:22px}
.hero-media{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);
  aspect-ratio:4/3;
}
@media (min-width:960px){.hero-media{aspect-ratio:1024/576}}
.hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
.hero-media::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(0deg,rgba(0,0,0,.42),rgba(0,0,0,0) 46%);
}
.hero-media .tag{
  position:absolute;left:14px;bottom:14px;z-index:2;color:var(--paper);
  font-family:var(--ff-head);font-weight:700;font-size:.85rem;
  background:rgba(0,0,0,.55);padding:6px 12px;border-radius:999px;
}

/* ---------- Hero: color block (service pages) ---------- */
.hero-block{background:var(--ink);color:var(--paper);padding:52px 0 46px;position:relative;overflow:hidden}
.hero-block::after{
  content:"";position:absolute;right:-10%;top:-30%;width:60%;height:160%;
  background:var(--red);opacity:.14;transform:rotate(14deg);pointer-events:none;
}
.hero-block .wrap{position:relative;z-index:1;max-width:820px}
.hero-block h1{color:var(--paper);margin-bottom:14px}
.hero-block .lede{color:#D7D9DC;margin-bottom:22px}

/* ---------- Trust row ---------- */
.trust-row{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.trust-row ul{
  display:grid;grid-template-columns:repeat(2,1fr);gap:18px 14px;padding:26px 0;
}
@media (min-width:720px){.trust-row ul{grid-template-columns:repeat(5,1fr);gap:10px}}
.trust-row li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px}
.trust-row svg{width:30px;height:30px;color:var(--red)}
.trust-row span{font-family:var(--ff-head);font-weight:800;font-size:.86rem;line-height:1.25}

/* ---------- Promo block (ticket stub) ---------- */
.promo-grid{display:grid;gap:20px}
@media (min-width:720px){.promo-grid{grid-template-columns:repeat(3,1fr)}}
.promo-card{
  background:var(--ink);color:var(--paper);padding:26px 24px 30px;position:relative;
  clip-path:polygon(0% 6px,3% 0%,97% 0%,100% 6px,100% calc(100% - 6px),97% 100%,3% 100%,0% calc(100% - 6px));
}
.promo-card .kicker{font-family:var(--ff-head);font-weight:800;font-size:.72rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--red);display:block;margin-bottom:10px}
.promo-card h3{color:var(--paper);font-size:1.05rem;margin-bottom:8px}
.promo-card .amount{
  display:block;font-family:var(--ff-head);font-weight:800;font-size:1.5rem;color:var(--paper);
  border:2px dashed #55565A;border-radius:var(--radius);padding:10px 12px;margin:10px 0;text-align:center;
}
.promo-card p{color:#C9CCD1;font-size:.9rem;margin:0}
.promo-note{margin-top:18px;font-size:.85rem;color:var(--grey);max-width:70ch}

/* ---------- Service grid ---------- */
.svc-grid{display:grid;gap:18px}
@media (min-width:640px){.svc-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.svc-grid{grid-template-columns:repeat(3,1fr)}}
.svc-card{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:26px 22px;display:flex;flex-direction:column;gap:12px;transition:border-color .15s ease,box-shadow .15s ease;
}
.svc-card:hover{border-color:var(--red);box-shadow:var(--shadow)}
.svc-card .ic{
  width:52px;height:52px;border-radius:var(--radius);background:var(--ink);color:var(--red);
  display:grid;place-items:center;flex-shrink:0;
}
.svc-card .ic svg{width:28px;height:28px}
.svc-card h3{font-size:1.08rem}
.svc-card p{color:var(--grey);font-size:.92rem;margin:0}
.svc-card .go{
  margin-top:auto;font-family:var(--ff-head);font-weight:800;font-size:.86rem;color:var(--red);
  display:inline-flex;align-items:center;gap:6px;
}
.svc-card .go svg{width:16px;height:16px}

/* ---------- What's included checklist ---------- */
.check-list{display:grid;gap:12px;margin-top:6px}
@media (min-width:720px){.check-list{grid-template-columns:1fr 1fr}}
.check-list li{display:flex;gap:10px;align-items:flex-start;color:#2b2b2b;font-size:.98rem}
.check-list svg{width:20px;height:20px;color:var(--red);flex-shrink:0;margin-top:2px}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{
  list-style:none;cursor:pointer;padding:18px 4px;display:flex;align-items:center;justify-content:space-between;
  gap:16px;font-family:var(--ff-head);font-weight:700;font-size:1rem;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary .plus{
  width:26px;height:26px;border-radius:50%;border:2px solid var(--red);color:var(--red);
  display:grid;place-items:center;flex-shrink:0;font-size:1.1rem;font-weight:800;transition:transform .15s ease;
}
.faq details[open] summary .plus{transform:rotate(45deg)}
.faq .faq-a{padding:0 4px 20px;color:var(--grey);max-width:70ch}

/* ---------- CTA banner ---------- */
.cta-banner{background:var(--red);color:var(--paper);text-align:center}
.cta-banner h2{color:var(--paper);margin-bottom:10px}
.cta-banner p{color:#FFE1E4;margin:0 auto 22px;max-width:56ch}
.cta-banner .cta-row{justify-content:center}

/* ---------- Service area ---------- */
.area-grid{display:grid;gap:10px;margin-top:20px}
@media (min-width:640px){.area-grid{grid-template-columns:repeat(3,1fr)}}
.area-grid li{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:14px 16px;display:flex;align-items:center;gap:10px;font-family:var(--ff-head);font-weight:700;font-size:.95rem;
}
.area-grid svg{width:18px;height:18px;color:var(--red);flex-shrink:0}

/* ---------- Gallery categories ---------- */
.gallery-grid{display:grid;gap:16px}
@media (min-width:640px){.gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1024px){.gallery-grid{grid-template-columns:repeat(4,1fr)}}
.gallery-card{
  background:var(--ink);color:var(--paper);border-radius:var(--radius-lg);padding:26px 18px;
  min-height:150px;display:flex;flex-direction:column;justify-content:flex-end;gap:8px;position:relative;overflow:hidden;
}
.gallery-card::before{content:"";position:absolute;inset:0;background:var(--red);opacity:0;transition:opacity .15s ease}
.gallery-card:hover::before{opacity:.12}
.gallery-card svg{width:30px;height:30px;color:var(--red);position:relative;z-index:1}
.gallery-card span{font-family:var(--ff-head);font-weight:800;font-size:.98rem;position:relative;z-index:1}

/* ---------- Prose (about / legal) ---------- */
.prose{max-width:74ch}
.prose h2{margin-top:34px;margin-bottom:12px}
.prose h2:first-child{margin-top:0}
.prose p{margin-bottom:16px;color:#2b2b2b}
.prose ul{margin:0 0 16px;padding-left:0}
.prose li{display:flex;gap:10px;margin-bottom:8px;color:#2b2b2b}
.prose li svg{width:18px;height:18px;color:var(--red);flex-shrink:0;margin-top:3px}

/* ---------- Values / crew strip (about) ---------- */
.value-grid{display:grid;gap:16px;margin-top:8px}
@media (min-width:640px){.value-grid{grid-template-columns:repeat(2,1fr)}}
.value-card{border-left:3px solid var(--red);padding:4px 0 4px 18px}
.value-card h3{font-size:1.02rem;margin-bottom:6px}
.value-card p{color:var(--grey);font-size:.92rem;margin:0}

/* ---------- Contact page ---------- */
.contact-grid{display:grid;gap:32px}
@media (min-width:960px){.contact-grid{grid-template-columns:1fr 1fr}}
.info-card{background:var(--surface);border-radius:var(--radius-lg);padding:26px;display:grid;gap:16px}
.info-row{display:flex;gap:12px;align-items:flex-start}
.info-row svg{width:22px;height:22px;color:var(--red);flex-shrink:0;margin-top:2px}
.info-row strong{display:block;font-family:var(--ff-head);font-size:.95rem}
.info-row span,.info-row a{color:var(--grey);font-size:.94rem}
.map-frame{border-radius:var(--radius-lg);overflow:hidden;border:1px solid var(--line);margin-top:6px}
.map-frame iframe{display:block;width:100%;height:260px;border:0}

.field{display:grid;gap:6px;margin-bottom:16px}
.field label{font-family:var(--ff-head);font-weight:700;font-size:.88rem}
.field input,.field select,.field textarea{
  border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px;background:var(--paper);color:var(--ink);
  min-height:48px;
}
.field textarea{min-height:110px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--red);outline-offset:1px}
.field small{color:var(--grey);font-size:.82rem}
.form-note{
  background:var(--surface);border:1px dashed var(--grey-light);border-radius:var(--radius);
  padding:14px 16px;font-size:.86rem;color:var(--grey);margin-bottom:18px;
}
.form-msg{display:none;border-radius:var(--radius);padding:14px 16px;margin-top:14px;font-size:.92rem}
.form-msg[data-show="true"]{display:block}
.form-msg.ok{background:#E7F5EA;color:#1E6B34}
.form-msg.bad{background:#FDE9E9;color:#8E0E1F}

/* ---------- Client logo wall (built, commented out via HTML comment; styles kept for future use) ---------- */
.logo-wall{display:flex;flex-wrap:wrap;gap:28px;align-items:center;justify-content:center;opacity:.85}
.logo-wall img{height:36px;width:auto;filter:grayscale(1)}

/* ---------- Footer ---------- */
.site-footer{background:var(--ink);color:#C9CCD1;padding:56px 0 0}
.footer-grid{display:grid;gap:32px;padding-bottom:36px}
@media (min-width:720px){.footer-grid{grid-template-columns:1.2fr 1fr 1fr 1.2fr}}
.logo-plate{display:inline-flex;background:var(--paper);padding:8px 14px;border-radius:var(--radius);margin-bottom:14px}
.logo-plate img{height:34px;width:auto}
.footer-brand p{color:#A7ACB3;font-size:.92rem;max-width:32ch}
.site-footer h4{color:var(--paper);font-size:.85rem;letter-spacing:.05em;text-transform:uppercase;margin-bottom:14px}
.footer-links{display:grid;gap:10px}
.footer-links a{color:#C9CCD1;font-size:.92rem}
.footer-links a:hover{color:var(--paper);text-decoration:underline}
.footer-contact li{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px;font-size:.92rem}
.footer-contact svg{width:18px;height:18px;color:var(--red);flex-shrink:0;margin-top:2px}
.footer-contact a{color:#C9CCD1}
.footer-contact a:hover{color:var(--paper)}
.social-row{display:flex;gap:10px;margin-top:14px}
.social-row a{
  width:40px;height:40px;border-radius:50%;border:1px solid #3A3B3D;display:grid;place-items:center;color:var(--paper);
}
.social-row a:hover{background:var(--red);border-color:var(--red)}
.social-row svg{width:18px;height:18px}
.footer-bottom{
  border-top:1px solid #2A2B2D;padding:18px var(--gut);display:flex;flex-wrap:wrap;gap:10px 20px;
  align-items:center;justify-content:space-between;font-size:.82rem;color:#8B8F94;max-width:var(--wrap);margin:0 auto;
}
.footer-bottom a{color:#8B8F94}
.footer-bottom a:hover{color:var(--paper);text-decoration:underline}

/* ---------- 404 ---------- */
.err-page{min-height:70svh;display:flex;align-items:center}
.err-page .wrap{text-align:center}
.err-page .code{
  font-family:var(--ff-head);font-weight:800;font-size:clamp(3rem,14vw,7rem);color:var(--red);line-height:1;
}

/* ---------- Scroll reveal (gated hide + matched-specificity reveal) ---------- */
html.js .fade-up{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s ease}
html.js .fade-up.is-in{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion:reduce){
  html.js .fade-up{opacity:1;transform:none;transition:none}
}

/* ---------- Utilities ---------- */
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.center{text-align:center}
.mt0{margin-top:0}
.narrow{max-width:640px}
.stack{display:grid;gap:10px}

/* =========================================================================
   Consent + accessibility widget
   Fleet-standard cookie consent banner + floating accessibility widget,
   ported from autentica-taqueria/assets/js/site.js and restyled red/black.
   localStorage keys renamed to rj_consent / rj_a11y for this project.
   ========================================================================= */
.a11y-fab{
  position:fixed;left:16px;bottom:calc(16px + var(--consent-h,0px));z-index:220;
  width:48px;height:48px;border-radius:50%;border:2px solid transparent;
  background:var(--red);color:var(--paper);display:grid;place-items:center;
  box-shadow:var(--shadow);transition:background .18s ease,transform .15s ease;
}
@media (max-width:767px){.a11y-fab{bottom:calc(16px + var(--callbar-h) + var(--consent-h,0px))}}
.a11y-fab svg{width:26px;height:26px}
.a11y-fab:hover,.a11y-fab:focus-visible{background:var(--red-dark)}
.a11y-fab:active{transform:translateY(1px)}
.a11y-fab[aria-expanded="true"]{background:var(--ink)}

.a11y-panel{
  position:fixed;left:16px;bottom:calc(16px + 48px + 12px + var(--consent-h,0px));z-index:220;
  width:min(320px,calc(100vw - 32px));max-height:min(520px,calc(100vh - 140px));overflow-y:auto;
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);padding:18px;
}
@media (max-width:767px){.a11y-panel{bottom:calc(16px + 48px + 12px + var(--callbar-h) + var(--consent-h,0px))}}
.a11y-panel[hidden]{display:none}
.a11y-panel__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.a11y-panel__head h2{font-family:var(--ff-body);font-size:1.02rem;font-weight:800;color:var(--ink);margin:0}
.a11y-close{
  width:44px;height:44px;border-radius:50%;border:0;flex-shrink:0;
  background:var(--surface);color:var(--ink);display:grid;place-items:center;
}
.a11y-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.a11y-close:hover,.a11y-close:focus-visible{background:var(--line)}

.a11y-group{margin-bottom:12px}
.a11y-group__label{display:block;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--grey);margin-bottom:8px}
.a11y-seg{display:flex;gap:6px}
.a11y-seg button{
  flex:1;min-height:44px;border-radius:var(--radius);border:1px solid var(--line);
  background:var(--surface);color:var(--ink);font-weight:700;
}
.a11y-seg button[aria-pressed="true"]{background:var(--red);color:var(--paper);border-color:var(--red)}
.a11y-seg button:hover{border-color:var(--red)}

.a11y-item{
  display:flex;align-items:center;justify-content:space-between;width:100%;min-height:46px;
  margin-bottom:8px;padding:10px 14px;border-radius:var(--radius);border:1px solid var(--line);
  background:var(--surface);color:var(--ink);font-weight:600;font-size:.95rem;text-align:left;
}
.a11y-item::after{content:"Off";font-size:.78rem;font-weight:700;color:var(--grey)}
.a11y-item[aria-pressed="true"]{background:var(--red);color:var(--paper);border-color:var(--red)}
.a11y-item[aria-pressed="true"]::after{content:"On";color:var(--paper)}
.a11y-item:hover{border-color:var(--red)}

.a11y-reset{
  width:100%;min-height:44px;margin:6px 0 12px;border-radius:var(--radius);border:1px solid var(--ink);
  background:var(--ink);color:var(--paper);font-weight:700;
}
.a11y-reset:hover{background:var(--ink-2)}
.a11y-statement{display:block;text-align:center;font-size:.85rem;color:var(--red);text-decoration:underline}

/* ---- Accessibility state classes (applied to <html> by site.js) ---- */
html.a11y-text-large{font-size:112.5%}
html.a11y-text-larger{font-size:125%}
html.a11y-font{--ff-head:var(--ff-body)}
html.a11y-underline a{text-decoration:underline!important;text-underline-offset:.14em}
html.a11y-contrast{filter:contrast(1.3) saturate(1.15)}
html.a11y-contrast :focus-visible{outline:3px solid var(--red);outline-offset:2px}
html.a11y-motion,html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{
  animation-duration:.001ms!important;animation-iteration-count:1!important;
  transition-duration:.001ms!important;scroll-behavior:auto!important;
}

/* ---- Cookie consent banner ---- */
.rj-consent{
  position:fixed;left:0;right:0;bottom:0;z-index:230;
  background:var(--paper);border-top:1px solid var(--line);box-shadow:var(--shadow-lg);
}
@media (max-width:767px){.rj-consent{bottom:var(--callbar-h)}}
.rj-consent[hidden]{display:none}
.rj-consent__body{
  max-width:var(--wrap);margin:0 auto;padding:14px var(--gut);
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;
}
.rj-consent p{margin:0;color:#333;font-size:.9rem;max-width:70ch}
.rj-consent a{color:var(--red)}
.rj-consent__actions{display:flex;gap:10px;flex-shrink:0}
@media (max-width:420px){
  .rj-consent__body{justify-content:flex-start}
  .rj-consent__actions{width:100%}
  .rj-consent__actions .btn{flex:1}
}
.ftr-legal-btn{
  background:none;border:0;padding:6px 0;margin:0;font:inherit;color:#8B8F94;text-decoration:underline;
}
.ftr-legal-btn:hover{color:var(--paper)}
