/* ==========================================================================
   Janesville Pro Mold Removal — design system v2
   --------------------------------------------------------------------------
   Rebuilt to share nothing with the sister Pennsylvania site, which is a
   dark-banded, hairline-ruled, two-column editorial layout on slate and
   ochre. This one is the opposite instruction in every dimension:

     ground      soft sage and mist rather than sand and charcoal
     shape       16-20px radii and layered shadows rather than 3px and rules
     rhythm      one centred reading column, no right rail anywhere
     density     wide vertical spacing, fewer things per screen
     type        Fraunces for headings, Figtree for text

   Nothing here is borrowed from that stylesheet. Class names are kept so the
   templates did not all have to be rewritten, but every rule is new.
   ========================================================================== */

:root{
  /* ground */
  --paper:#FFFFFF;
  --bg:#F6F8F6;            /* page */
  --mist-100:#ECF1EC;      /* tinted sections */
  --mist-200:#DFE7DF;
  --mist-300:#CFDACF;
  --rule:#E4EBE4;
  --rule-2:#CCD8CC;

  /* ink */
  --ink:#2E3630;           /* headings, warm graphite green */
  --ink-2:#3F4A41;
  --text:#3C453D;
  --text-2:#5E6A5F;
  --text-3:#8A9489;

  /* accents */
  --sage:#6B8F71;
  --sage-dk:#4F7156;
  --sage-lt:#A8B5A0;
  --sage-wash:#E8EFE7;
  --clay:#C4785C;          /* action only */
  --clay-dk:#A85F45;
  --clay-wash:#FAEEE8;
  --amber:#B6873F;
  --amber-wash:#FAF3E4;

  /* type */
  --serif:"Fraunces",Georgia,"Times New Roman",serif;
  --sans:"Figtree",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;

  /* geometry — soft */
  --r:14px;
  --r-sm:10px;
  --r-lg:20px;
  --r-xl:26px;
  --pill:999px;
  --gutter:22px;
  --maxw:1140px;
  --read:730px;            /* the reading column */

  /* layered, very soft shadows */
  --sh-1:0 1px 2px rgba(47,66,52,.04), 0 2px 8px rgba(47,66,52,.05);
  --sh-2:0 2px 4px rgba(47,66,52,.04), 0 10px 26px rgba(47,66,52,.07);
  --sh-3:0 4px 8px rgba(47,66,52,.05), 0 18px 40px rgba(47,66,52,.10);
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--sans);font-size:16.5px;line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--sage-dk);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
h1,h2,h3,h4{
  font-family:var(--serif);color:var(--ink);line-height:1.2;margin:0 0 .7rem;
  font-weight:500;font-variation-settings:"SOFT" 40,"opsz" 40;letter-spacing:-.012em;
}
h1{font-size:clamp(2rem,4.2vw,3.1rem);line-height:1.12}
h2{font-size:clamp(1.45rem,2.6vw,2rem)}
h3{font-size:1.14rem;font-weight:600}
h4{font-size:.98rem;font-weight:600}
p{margin:0 0 1.05rem}
ul,ol{margin:0 0 1.05rem;padding-left:1.2rem}
li{margin-bottom:.45rem}
strong{font-weight:600;color:var(--ink)}
em{font-style:italic}
hr{border:0;border-top:1px solid var(--rule);margin:2.4rem 0}
.container{max-width:var(--maxw);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;z-index:9999;background:var(--ink);color:#fff;padding:.7rem 1.1rem;border-radius:var(--r-sm)}
:focus-visible{outline:2px solid var(--sage);outline-offset:3px;border-radius:4px}
.mb-0{margin-bottom:0}
.mt-4{margin-top:1.7rem}
.text-center,.center{text-align:center}

/* ==========================================================================
   MASTHEAD — one line, no utility bar above it
   ========================================================================== */
.utility{display:none}          /* retired; kept so old markup cannot break */

.masthead{
  position:sticky;top:0;z-index:1030;
  background:rgba(246,248,246,.86);backdrop-filter:saturate(1.4) blur(12px);
  -webkit-backdrop-filter:saturate(1.4) blur(12px);
  border-bottom:1px solid transparent;transition:border-color .2s ease,box-shadow .2s ease;
}
.masthead.stuck{border-bottom-color:var(--rule);box-shadow:0 6px 20px rgba(47,66,52,.05)}
.masthead .container{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:76px}
.brand{display:inline-flex;align-items:center;gap:.75rem}
.brand:hover{text-decoration:none}
.brand-mark{
  width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;
  background:linear-gradient(150deg,var(--sage) 0%,var(--sage-dk) 100%);
  color:#fff;border-radius:var(--r-sm);
  font-family:var(--mono);font-size:.68rem;font-weight:700;
  box-shadow:0 3px 10px rgba(79,113,86,.28);
}
.brand-name{
  display:flex;flex-direction:column;font-family:var(--serif);font-weight:600;
  font-size:1.1rem;color:var(--ink);line-height:1.15;
}
.brand-name small{
  font-family:var(--sans);font-size:.685rem;font-weight:500;letter-spacing:.04em;
  color:var(--text-3);margin-top:.22rem;text-transform:none;
}

.nav-toggle{
  display:none;width:46px;height:46px;border:1px solid var(--rule-2);background:var(--paper);
  border-radius:var(--r-sm);cursor:pointer;align-items:center;justify-content:center;
  box-shadow:var(--sh-1);
}
.nav-toggle span,.nav-toggle span::before,.nav-toggle span::after{
  content:'';display:block;width:18px;height:2px;background:var(--ink);position:relative;border-radius:2px;
}
.nav-toggle span::before{position:absolute;top:-6px}
.nav-toggle span::after{position:absolute;top:6px}

.nav{display:flex;align-items:center;gap:.15rem;margin:0;padding:0;list-style:none}
.nav > li{position:relative;margin:0}
.nav > li > a{
  display:block;padding:.55rem .85rem;font-size:.92rem;font-weight:500;color:var(--text);
  white-space:nowrap;border-radius:var(--pill);transition:background .16s ease,color .16s ease;
}
.nav > li > a:hover,.nav > li > a[aria-current]{
  background:var(--sage-wash);color:var(--sage-dk);text-decoration:none;
}
.nav .caret{
  display:inline-block;margin-left:.35rem;width:5px;height:5px;
  border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;
  transform:rotate(45deg) translateY(-2px);opacity:.5;
}

.submenu{
  position:absolute;top:calc(100% + 8px);left:0;min-width:280px;background:var(--paper);
  border:1px solid var(--rule);border-radius:var(--r);box-shadow:var(--sh-3);
  padding:.6rem;margin:0;list-style:none;
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:all .18s ease;z-index:60;
}
.submenu.wide{min-width:540px;column-count:2;column-gap:.4rem}
.nav > li:hover > .submenu,.nav > li:focus-within > .submenu{opacity:1;visibility:visible;transform:none}
.submenu a{
  display:block;padding:.45rem .7rem;font-size:.875rem;color:var(--text);
  break-inside:avoid;border-radius:var(--r-sm);
}
.submenu a:hover{background:var(--sage-wash);color:var(--sage-dk);text-decoration:none}
.submenu .grp{
  font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--text-3);padding:.7rem .7rem .3rem;break-inside:avoid;
}
.submenu .all{margin-top:.35rem;font-weight:600;color:var(--sage-dk);background:var(--mist-100)}
.nav > li:nth-last-child(2) .submenu,.nav > li:last-child .submenu{left:auto;right:0}

.nav > li > a.nav-call,.nav-call{
  display:inline-flex;align-items:center;gap:.5rem;margin-left:.6rem;
  background:var(--clay);color:#fff !important;
  padding:.68rem 1.15rem !important;border-radius:var(--pill);
  font-weight:600 !important;font-size:.9rem;
  box-shadow:0 3px 12px rgba(196,120,92,.34);
}
.nav-call svg{flex:0 0 auto;display:block;width:15px;height:15px}
.nav-call:hover{background:var(--clay-dk);color:#fff !important;text-decoration:none;
  box-shadow:0 5px 16px rgba(196,120,92,.42)}

@media (max-width:1199px){
  .submenu.wide{min-width:300px;column-count:1}
  .submenu{max-width:calc(100vw - 2.5rem)}
}
@media (max-width:1120px){
  .nav > li > a{padding:.5rem .6rem;font-size:.86rem}
  .brand-name{font-size:1rem}
}
@media (max-width:991px){
  .nav-toggle{display:flex}
  .nav{
    display:none;position:absolute;top:calc(100% + 8px);left:var(--gutter);right:var(--gutter);
    background:var(--paper);border:1px solid var(--rule);border-radius:var(--r-lg);
    box-shadow:var(--sh-3);flex-direction:column;align-items:stretch;
    padding:.8rem 1rem 1.1rem;max-height:calc(100vh - 120px);overflow-y:auto;gap:0;
  }
  .nav.open{display:flex}
  .nav > li > a{padding:.8rem .6rem;font-size:1rem;border-radius:var(--r-sm)}
  .submenu,.submenu.wide,.nav > li:last-child .submenu{
    position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;
    border:0;border-left:2px solid var(--mist-300);border-radius:0;column-count:1;
    padding:.2rem 0 .5rem .8rem;margin:.2rem 0 .5rem .6rem;display:none;min-width:0;right:auto;max-width:none;
  }
  .submenu.open{display:block}
  .nav > li > a.nav-call,.nav-call{display:flex;justify-content:center;margin:.9rem 0 0}
}

/* ==========================================================================
   BREADCRUMB — quiet, no bar
   ========================================================================== */
.crumbs{background:transparent;font-size:.82rem}
.crumbs ol{display:flex;flex-wrap:wrap;gap:.45rem;list-style:none;margin:0;padding:1.1rem 0 0}
.crumbs li{margin:0;color:var(--text-3)}
.crumbs li+li::before{content:'›';color:var(--mist-300);margin-right:.45rem}
.crumbs a{color:var(--text-3)}
.crumbs a:hover{color:var(--sage-dk)}

/* ==========================================================================
   BUTTONS — pills
   ========================================================================== */
.btn-call,.btn-ghost,.btn-line{
  display:inline-flex;align-items:center;gap:.55rem;font-weight:600;font-size:.95rem;
  padding:.9rem 1.6rem;border-radius:var(--pill);border:1.5px solid transparent;
  transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease;
}
.btn-call{background:var(--clay);color:#fff;border-color:var(--clay);box-shadow:0 4px 14px rgba(196,120,92,.32)}
.btn-call:hover{background:var(--clay-dk);border-color:var(--clay-dk);color:#fff;text-decoration:none;
  transform:translateY(-1px);box-shadow:0 8px 22px rgba(196,120,92,.4)}
.btn-ghost{background:var(--paper);color:var(--ink);border-color:var(--rule-2);box-shadow:var(--sh-1)}
.btn-ghost:hover{border-color:var(--sage);color:var(--sage-dk);text-decoration:none;transform:translateY(-1px);box-shadow:var(--sh-2)}
.btn-line{background:var(--sage-wash);color:var(--sage-dk);border-color:transparent}
.btn-line:hover{background:var(--sage);color:#fff;text-decoration:none}
.btn-call svg,.btn-ghost svg,.btn-line svg{width:16px;height:16px;flex:0 0 auto}

/* ==========================================================================
   EYEBROW / KICKER — soft pill, no rule
   ========================================================================== */
.eyebrow,.kicker{
  display:inline-flex;align-items:center;gap:.45rem;
  font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--sage-dk);background:var(--sage-wash);
  padding:.4rem .9rem;border-radius:var(--pill);margin-bottom:1.1rem;
}
.eyebrow::before,.kicker::before{
  content:'';width:6px;height:6px;border-radius:50%;background:var(--sage);display:inline-block;
}

/* ==========================================================================
   HERO — centred, photo as a floating rounded card beneath
   ========================================================================== */
.hero{position:relative;overflow:hidden;background:var(--bg)}
.hero::before{
  content:'';position:absolute;top:-30%;left:50%;transform:translateX(-50%);
  width:1100px;height:900px;border-radius:50%;z-index:0;
  background:radial-gradient(circle,rgba(168,181,160,.30) 0%,rgba(168,181,160,0) 62%);
}
.hero .container{position:relative;z-index:2;padding-top:3.6rem;padding-bottom:0}
.hero-wrap{max-width:860px;margin:0 auto;text-align:center}
.hero h1{margin:0 auto 1.3rem;max-width:18ch}
.hero h1 em{font-style:normal;color:var(--sage-dk)}
.hero-lede{font-size:1.1rem;line-height:1.8;color:var(--text-2);max-width:64ch;margin:0 auto}
.hero-lede strong{color:var(--ink)}
.hero .head-cta{justify-content:center}
.hero-facts{
  display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;
  margin:2.2rem auto 0;padding:0;max-width:760px;
}
.hero-facts > div{
  display:inline-flex;align-items:baseline;gap:.5rem;background:var(--paper);
  border-radius:var(--pill);padding:.6rem 1.15rem;box-shadow:var(--sh-1);
}
.hero-facts dt{font-family:var(--mono);font-size:.98rem;font-weight:700;color:var(--sage-dk);line-height:1}
.hero-facts dd{margin:0;font-size:.79rem;color:var(--text-3);line-height:1.3}
/* photographic header: the picture sits behind the type, darkened just
   enough to read against, with a soft bottom radius so the shape still
   belongs to the rest of the site */
.hero-bgimg,.pagehead-bg{
  position:absolute;inset:0;z-index:0;
  background-size:cover;background-position:center;background-repeat:no-repeat;
}
.hero-bgimg::after,.pagehead-bg::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(175deg,rgba(32,40,34,.80) 0%,rgba(38,48,40,.66) 42%,rgba(46,54,48,.88) 100%);
}
.hero-media,.pagehead-hasimg{
  background:var(--ink);border-radius:0 0 var(--r-xl) var(--r-xl);overflow:hidden;
}
.hero-media::before,.pagehead-hasimg::before{display:none}
.hero-media h1,.pagehead-hasimg h1{color:#fff}
.hero-media h1 em,.pagehead-hasimg h1 em{color:#C3D9C0}
.hero-media .hero-lede,.pagehead-hasimg .pagehead-lede{color:rgba(255,255,255,.84)}
.hero-media .hero-lede strong,.pagehead-hasimg .pagehead-lede strong{color:#fff}
.hero-media .eyebrow,.pagehead-hasimg .eyebrow{background:rgba(255,255,255,.15);color:#fff}
.hero-media .eyebrow::before,.pagehead-hasimg .eyebrow::before{background:#C3D9C0}
.hero-media .btn-ghost,.pagehead-hasimg .btn-ghost{
  background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.34);box-shadow:none;
}
.hero-media .btn-ghost:hover,.pagehead-hasimg .btn-ghost:hover{
  background:rgba(255,255,255,.24);color:#fff;border-color:rgba(255,255,255,.5);
}
.hero-media .hero-facts > div{background:rgba(255,255,255,.13);box-shadow:none}
.hero-media .hero-facts dt{color:#C3D9C0}
.hero-media .hero-facts dd{color:rgba(255,255,255,.72)}
.pagehead-hasimg .zipline{color:rgba(255,255,255,.7)}
.pagehead-hasimg .zipline b{color:#C3D9C0}
.pagehead-hasimg .zipline span{background:rgba(255,255,255,.15);color:#fff;box-shadow:none}
.pagehead-hasimg .article-meta,.pagehead-hasimg .byline-t i{color:rgba(255,255,255,.66)}
.pagehead-hasimg .byline-t b{color:#fff}
/* a photographic header owns its own bottom space and overlaps nothing */
.hero-media > .container{padding-bottom:4.4rem}
.hero-media + .sec,.hero-media + section{padding-top:4.4rem}
.hero-bg{position:relative;border-radius:var(--r-lg);overflow:hidden;aspect-ratio:16/9;
  background:var(--mist-200) center/cover no-repeat;box-shadow:var(--sh-2)}
.head-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.9rem}

/* the section that follows a hero with a photo has to clear the overlap */
.hero + .sec,.hero + section{padding-top:7.5rem}

@media (max-width:991px){
  .hero + .sec,.hero + section{padding-top:5.5rem}
  .hero-media + .sec,.hero-media + section{padding-top:3.6rem}
}
@media (max-width:620px){
  .hero .container{padding-top:2.4rem}
  .hero + .sec,.hero + section{padding-top:4.5rem}
  .hero-media > .container{padding-bottom:3.2rem}
  .hero-media + .sec,.hero-media + section{padding-top:3rem}
  .hero-media,.pagehead-hasimg{border-radius:0 0 var(--r-lg) var(--r-lg)}
  .hero-facts{gap:.45rem}
  .hero-facts > div{padding:.5rem .9rem}
}

/* ==========================================================================
   CALL CARD (homepage) — soft white card
   ========================================================================== */
.callcard{background:var(--paper);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--sh-2)}
.callcard-hd{padding:1.6rem 1.7rem 1.2rem;background:var(--sage-wash)}
.callcard-hd h2{font-size:1.28rem;margin-bottom:.5rem}
.callcard-hd p{font-size:.92rem;color:var(--text-2);margin:0;line-height:1.7}
.callcard-bd{padding:1.5rem 1.7rem 1.7rem}
.callcard-note{display:flex;gap:.6rem;font-size:.855rem;color:var(--text-2);margin:1rem 0 1.1rem;line-height:1.6}
.callcard-note svg{width:17px;height:17px;flex:0 0 auto;color:var(--sage);margin-top:.2rem}
.callcard-bd ul{list-style:none;padding:0;margin:0}
.callcard-bd li{
  margin:0;padding:.7rem 0 .7rem 1.6rem;font-size:.895rem;color:var(--text-2);
  position:relative;line-height:1.6;
}
.callcard-bd li+li{border-top:1px solid var(--rule)}
.callcard-bd li::before{
  content:'';position:absolute;left:0;top:1.25rem;width:7px;height:7px;
  background:var(--sage-lt);border-radius:50%;
}
.bignum{
  display:flex;align-items:center;justify-content:center;gap:.6rem;
  background:var(--clay);color:#fff !important;font-family:var(--mono);font-weight:700;
  font-size:1.35rem;letter-spacing:-.01em;padding:1.05rem 1rem;border-radius:var(--pill);
  box-shadow:0 5px 18px rgba(196,120,92,.34);transition:transform .16s ease,box-shadow .16s ease;
}
.bignum:hover{background:var(--clay-dk);text-decoration:none;transform:translateY(-1px);
  box-shadow:0 9px 26px rgba(196,120,92,.42)}
.bignum svg{width:20px;height:20px;flex:0 0 auto}

/* ==========================================================================
   PAGE HEAD — centred, photo below as a rounded card
   ========================================================================== */
.pagehead{position:relative;background:var(--bg);overflow:hidden}
.pagehead::before{
  content:'';position:absolute;top:-40%;left:50%;transform:translateX(-50%);
  width:900px;height:700px;border-radius:50%;z-index:0;
  background:radial-gradient(circle,rgba(168,181,160,.24) 0%,rgba(168,181,160,0) 62%);
}
.pagehead .container{position:relative;z-index:2;padding-top:2.6rem;padding-bottom:2.8rem;text-align:center}
.pagehead .eyebrow,.pagehead .zipline{justify-content:center}
.pagehead h1{max-width:20ch;margin-left:auto;margin-right:auto;margin-bottom:1rem}
.pagehead h1 em{font-style:normal;color:var(--sage-dk)}
.pagehead-lede{font-size:1.04rem;line-height:1.8;color:var(--text-2);max-width:64ch;margin:0 auto}
.pagehead-lede strong{color:var(--ink)}
.pagehead .head-cta{justify-content:center}
.pagehead-hasimg .container{padding-top:3.6rem;padding-bottom:3.8rem}
.pagehead-hasimg + .sec,.pagehead-hasimg + section{padding-top:4.4rem}
@media (max-width:620px){
  .pagehead-hasimg .container{padding-top:2.6rem;padding-bottom:2.8rem}
  .pagehead-hasimg + .sec,.pagehead-hasimg + section{padding-top:3rem}
}
.zipline{
  display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin-bottom:1.1rem;
  font-size:.78rem;color:var(--text-3);
}
.zipline b{font-weight:700;color:var(--sage-dk);margin-right:.3rem;font-size:.68rem;letter-spacing:.11em;text-transform:uppercase}
.zipline span{background:var(--paper);padding:.22rem .6rem;border-radius:var(--pill);box-shadow:var(--sh-1);font-family:var(--mono);font-size:.74rem}

/* ==========================================================================
   SECTIONS — generous rhythm
   ========================================================================== */
.sec{padding:4.4rem 0}
.sec-stone{background:var(--mist-100)}
.sec-head{max-width:64ch;margin:0 auto 2.6rem;text-align:center}
.sec-head .kicker{margin-left:auto;margin-right:auto}
.sec-head.center{text-align:center}
.sec-head p{color:var(--text-2);font-size:1rem;margin:0}
.twocol{display:grid;grid-template-columns:1.15fr .85fr;gap:3.4rem;align-items:start}
@media (max-width:900px){.twocol{grid-template-columns:1fr;gap:2.4rem}}
.lede-big{font-size:1.08rem;line-height:1.8;color:var(--text-2)}

/* ==========================================================================
   CARDS — rounded, shadowed, lifting on hover
   ========================================================================== */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.cards.two{grid-template-columns:repeat(2,1fr)}
.cards.four{grid-template-columns:repeat(4,1fr)}
.card-s{
  background:var(--paper);border-radius:var(--r-lg);padding:1.7rem 1.6rem;
  display:flex;flex-direction:column;position:relative;box-shadow:var(--sh-1);
  transition:transform .2s ease,box-shadow .2s ease;
}
.card-s:hover{transform:translateY(-3px);box-shadow:var(--sh-3)}
.card-emoji{
  font-size:1.55rem;line-height:1;margin-bottom:1rem;display:grid;place-items:center;
  width:52px;height:52px;border-radius:var(--r-sm);background:var(--sage-wash);
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
}
.card-s h3{font-size:1.1rem;margin-bottom:.5rem}
.card-s h3 a{color:var(--ink)}
.card-s h3 a:hover{color:var(--sage-dk)}
.card-s p{font-size:.925rem;color:var(--text-2);line-height:1.7;margin:0;flex-grow:1}
.card-link{
  font-size:.83rem;font-weight:600;color:var(--sage-dk);
  display:inline-flex;align-items:center;gap:.4rem;margin-top:1.1rem;
}

/* photo cards */
.card-ph{
  position:relative;background:var(--paper);border-radius:var(--r-lg);
  overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--sh-1);
  transition:transform .2s ease,box-shadow .2s ease;
}
.card-ph:hover{transform:translateY(-3px);box-shadow:var(--sh-3)}
.card-ph-img{position:relative;display:block;aspect-ratio:16/10;background:var(--mist-200);overflow:hidden}
.card-ph-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.card-ph:hover .card-ph-img img{transform:scale(1.045)}
.card-ph-chip{
  position:absolute;left:.9rem;bottom:.9rem;z-index:2;width:42px;height:42px;
  border-radius:var(--r-sm);background:rgba(255,255,255,.94);display:grid;place-items:center;
  font-size:1.2rem;line-height:1;box-shadow:0 4px 14px rgba(47,66,52,.22);
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
}
.card-ph-b{padding:1.35rem 1.5rem 1.6rem;display:flex;flex-direction:column;flex-grow:1}
.card-ph h3{font-size:1.1rem;line-height:1.35;margin:0 0 .5rem}
.card-ph h3 a{color:var(--ink)}
.card-ph h3 a::after{content:'';position:absolute;inset:0;z-index:3}
.card-ph:hover h3 a{color:var(--sage-dk)}
.card-ph p{font-size:.92rem;color:var(--text-2);line-height:1.7;margin:0;flex-grow:1}

@media (max-width:991px){.cards,.cards.four{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){
  .cards,.cards.two,.cards.four{grid-template-columns:1fr}
  .card-ph-chip{width:38px;height:38px;font-size:1.05rem}
}

/* ==========================================================================
   READING COLUMN — one centred column, no rail
   ========================================================================== */
.reading{max-width:var(--read);margin:0 auto}
.layout{display:block;max-width:var(--read);margin:0 auto}   /* legacy name */
.prose{min-width:0;max-width:none}
.prose > h2{
  margin-top:3rem;padding-top:0;border-top:0;position:relative;padding-left:0;
}
.prose > h2::before{
  content:'';display:block;width:38px;height:3px;border-radius:2px;
  background:var(--sage-lt);margin-bottom:1rem;
}
.prose > h2:first-child{margin-top:0}
.prose h3{margin-top:2rem;color:var(--ink-2)}
.prose p,.prose li{color:var(--text);font-size:1.025rem;line-height:1.82}
.prose ul,.prose ol{padding-left:1.3rem}
.prose li{margin-bottom:.6rem}
.prose li::marker{color:var(--sage-lt)}
.prose a{border-bottom:1px solid var(--sage-lt);text-decoration:none}
.prose a:hover{background:var(--sage-wash);text-decoration:none}

/* blocks that are allowed to break out of the reading width */
.prose .spec,.prose .rail-cta,.prose .figure-lead{
  width:min(calc(100vw - 2*var(--gutter)),calc(var(--read) + 120px));
  max-width:none;margin-left:50%;transform:translateX(-50%);
}
@media (max-width:991px){
  .prose .spec,.prose .rail-cta,.prose .figure-lead{width:100%;margin-left:0;transform:none}
}

/* the aside boxes, now a card grid under the article */
.asidegrid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:1.3rem;max-width:var(--maxw);margin:3.6rem auto 0;
}
.rail{display:contents}     /* legacy wrapper */
@media (max-width:620px){.asidegrid{grid-template-columns:1fr;margin-top:2.6rem}}

/* ==========================================================================
   IN-FLOW CALL CARD (was the rail CTA)
   ========================================================================== */
.rail-cta{
  background:linear-gradient(165deg,#F2F6F1 0%,#E7EFE6 100%);
  border-radius:var(--r-lg);padding:2rem 2.1rem;margin:2.6rem 0;
  box-shadow:var(--sh-2);text-align:center;
}
.rail-cta h2{color:var(--ink);font-size:1.32rem;margin-bottom:.6rem}
.rail-cta h2::before{display:none}
.rail-cta p{font-size:.985rem;line-height:1.7;margin:0 auto 1.4rem;color:var(--text-2);max-width:52ch}
.rail-cta .bignum{max-width:340px;margin:0 auto}
/* .rail-cta p sets max-width:52ch with auto side margins; this rule used
   to reset the margin to 0, which left the (centred) text in a box pinned to
   the left edge of the card. */
.rail-cta .fineprint{font-size:.83rem;color:var(--text-3);margin:.9rem auto 0;line-height:1.55}
@media (max-width:620px){.rail-cta{padding:1.6rem 1.3rem;border-radius:var(--r)}}

.rail-box{background:var(--paper);border-radius:var(--r);padding:1.5rem 1.6rem;box-shadow:var(--sh-1)}
.rail-box h3{
  font-size:.74rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;
  color:var(--text-3);margin-bottom:1rem;
}
.rail-box ul{list-style:none;padding:0;margin:0}
.rail-box li{margin:0}
.rail-box li+li{border-top:1px solid var(--rule)}
.rail-box li a{display:block;padding:.55rem 0;font-size:.92rem;color:var(--text)}
.rail-box li a:hover{color:var(--sage-dk);text-decoration:none}
.rail-box .chk li{padding-left:1.5rem}
.rail-box .chk li+li{border-top:0}
.rail-fact{background:var(--sage-wash);border-radius:var(--r);padding:1.4rem 1.5rem}
.rail-fact b{display:block;font-family:var(--serif);font-size:1.05rem;color:var(--ink);margin-bottom:.4rem}
.rail-fact p{font-size:.9rem;color:var(--text-2);margin:0;line-height:1.7}
.zips{list-style:none;padding:0;margin:0}
.zips li{display:flex;gap:.7rem;padding:.45rem 0;margin:0}
.zips li+li{border-top:1px solid var(--rule)}
.zips b{font-family:var(--mono);font-size:.86rem;color:var(--sage-dk);flex:0 0 3.6rem}
.zips span{font-size:.86rem;color:var(--text-2)}

/* ==========================================================================
   CALLOUT BOXES — tinted, soft, no left bar
   ========================================================================== */
.box{border-radius:var(--r);padding:1.4rem 1.5rem;margin:2rem 0;background:var(--sage-wash)}
.box-t{display:flex;align-items:center;gap:.55rem;font-family:var(--serif);font-weight:600;color:var(--ink);margin-bottom:.6rem;font-size:1.06rem}
.box-t svg{width:18px;height:18px;flex:0 0 auto}
.box p{font-size:.955rem;color:var(--text-2);line-height:1.75}
.box.warn{background:var(--amber-wash)}
.box.warn .box-t svg{color:var(--amber)}
.box.danger{background:var(--clay-wash)}
.box.danger .box-t svg{color:var(--clay-dk)}
.box.good{background:var(--sage-wash)}
.box.good .box-t svg{color:var(--sage-dk)}

/* ==========================================================================
   TABLES
   ========================================================================== */
.spec{
  overflow-x:auto;margin:2rem 0;border-radius:var(--r);background:var(--paper);
  box-shadow:var(--sh-1);max-width:100%;
}
.spec table{width:100%;border-collapse:collapse;font-size:.92rem;min-width:520px}
.spec th{
  text-align:left;background:var(--mist-100);color:var(--ink);
  font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  padding:.9rem 1.1rem;
}
.spec td{padding:.85rem 1.1rem;color:var(--text-2);vertical-align:top;line-height:1.65}
.spec tbody tr+tr td{border-top:1px solid var(--rule)}
.spec tbody tr:hover{background:var(--bg)}
@media (max-width:520px){.spec table{min-width:440px}}

.price-note{
  display:flex;gap:.7rem;align-items:flex-start;
  margin:-.6rem 0 2rem;padding:.95rem 1.2rem;
  background:var(--mist-100);border-radius:var(--r-sm);
  font-size:.875rem;line-height:1.65;color:var(--text-2);
}
.price-note::before{content:'i';display:grid;place-items:center;flex:0 0 20px;height:20px;margin-top:.15rem;
  background:var(--sage);color:#fff;border-radius:50%;font-family:var(--serif);font-size:.76rem;font-weight:700}
.price-note a{font-weight:600;white-space:nowrap}

/* ==========================================================================
   FAQ — separated soft cards
   ========================================================================== */
.faq{border-top:0;margin:1.8rem 0;display:flex;flex-direction:column;gap:.7rem}
.faq-i{background:var(--paper);border-radius:var(--r);box-shadow:var(--sh-1);overflow:hidden}
.faq-q{
  width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;
  background:none;border:0;padding:1.15rem 1.4rem;cursor:pointer;text-align:left;
  font-family:var(--serif);font-size:1.05rem;font-weight:600;color:var(--ink);line-height:1.45;
}
.faq-q:hover{color:var(--sage-dk)}
.faq-ico{flex:0 0 18px;width:18px;height:18px;position:relative;margin-top:.3rem}
.faq-ico::before,.faq-ico::after{content:'';position:absolute;background:var(--sage);border-radius:2px;transition:transform .2s ease}
.faq-ico::before{left:0;top:8px;width:18px;height:2px}
.faq-ico::after{left:8px;top:0;width:2px;height:18px}
.faq-q[aria-expanded="true"] .faq-ico::after{transform:scaleY(0)}
.faq-a{padding:0 1.4rem 1.2rem}
.faq-a p{font-size:.975rem;color:var(--text-2);line-height:1.8;margin-bottom:.85rem}
.faq-a p:last-child{margin-bottom:0}

/* ==========================================================================
   CLOSING BAND — a soft card, not a dark bar
   ========================================================================== */
.band{padding:0 0 4.6rem;background:transparent}
/* a tinted section ends flush with its own edge, so the closing card needs
   its own space when it follows one */
.sec-stone + .band,.strip + .band,.pagehead + .band{padding-top:4.2rem}
.band .container{max-width:var(--maxw)}
.band > .container{
  position:relative;
}
.band h2,.band p,.band .btn-call,.band .band-pills{position:relative;z-index:2}
.band > .container::before{
  content:'';position:absolute;inset:0;left:var(--gutter);right:var(--gutter);
  background:linear-gradient(150deg,#EDF3EC 0%,#E3ECE2 55%,#DFE9E0 100%);
  border-radius:var(--r-xl);box-shadow:var(--sh-2);z-index:0;
}
.band .container{padding-top:3.4rem;padding-bottom:3.4rem;text-align:center}
.band h2{color:var(--ink);max-width:24ch;margin-left:auto;margin-right:auto}
.band p{font-size:1.02rem;max-width:58ch;margin:0 auto 1.8rem;color:var(--text-2)}
.band-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-top:1.6rem;padding:0;list-style:none}
.band-pills span{
  font-size:.79rem;color:var(--text-2);background:rgba(255,255,255,.75);
  padding:.35rem .9rem;border-radius:var(--pill);
}
@media (max-width:620px){
  .band > .container::before{left:12px;right:12px;border-radius:var(--r-lg)}
  .band .container{padding-top:2.4rem;padding-bottom:2.4rem}
}

/* trust strip */
.strip{background:var(--paper)}
.strip .container{display:grid;grid-template-columns:repeat(4,1fr);gap:1.6rem;padding-top:1.8rem;padding-bottom:1.8rem}
.strip-i{display:flex;gap:.7rem;align-items:flex-start;font-size:.86rem;line-height:1.55}
.strip-i svg{width:19px;height:19px;flex:0 0 auto;color:var(--sage);margin-top:.15rem}
.strip-i b{display:block;color:var(--ink);font-size:.9rem;margin-bottom:.1rem}
.strip-i span{color:var(--text-3)}
@media (max-width:900px){.strip .container{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.strip .container{grid-template-columns:1fr}}

/* ==========================================================================
   PILLS / STATS / LISTS
   ========================================================================== */
.pills{display:flex;flex-wrap:wrap;gap:.45rem;margin:1.1rem 0 1.8rem}
.pill{font-size:.82rem;color:var(--text-2);background:var(--paper);padding:.35rem .85rem;border-radius:var(--pill);box-shadow:var(--sh-1)}
.statgrid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:0}
.stat{padding:1.4rem 1.5rem;background:var(--paper);border-radius:var(--r);box-shadow:var(--sh-1)}
.stat dt{font-family:var(--mono);font-size:1.5rem;font-weight:700;color:var(--sage-dk);line-height:1}
.stat dd{margin:.45rem 0 0;font-size:.83rem;color:var(--text-3);line-height:1.5}
.chk{list-style:none;padding:0;margin:0}
.chk li{position:relative;padding-left:1.7rem;font-size:.93rem;color:var(--text-2);margin-bottom:.6rem;line-height:1.65}
.chk li::before{
  content:'';position:absolute;left:0;top:.42rem;width:1.05rem;height:1.05rem;border-radius:50%;
  background:var(--sage-wash);
}
.chk li::after{
  content:'';position:absolute;left:.33rem;top:.66rem;width:.36rem;height:.62rem;
  border:2px solid var(--sage-dk);border-top:0;border-left:0;transform:rotate(38deg);
}
.arealist{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}
.arealist li{margin:0}
.arealist a{
  display:block;padding:.7rem .95rem;font-size:.91rem;background:var(--paper);
  border-radius:var(--r-sm);box-shadow:var(--sh-1);transition:transform .16s ease,box-shadow .16s ease;
}
.arealist a:hover{text-decoration:none;color:var(--sage-dk);transform:translateY(-2px);box-shadow:var(--sh-2)}
@media (max-width:760px){.arealist{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.arealist{grid-template-columns:1fr}}
.steps{counter-reset:s;list-style:none;padding:0;margin:1.8rem 0}
.steps li{counter-increment:s;position:relative;padding-left:3.1rem;margin-bottom:1.3rem;font-size:.985rem;color:var(--text-2);line-height:1.75}
.steps li::before{
  content:counter(s);position:absolute;left:0;top:0;width:2.15rem;height:2.15rem;
  background:var(--sage-wash);color:var(--sage-dk);border-radius:50%;
  display:grid;place-items:center;font-family:var(--mono);font-size:.85rem;font-weight:700;
}
.steps li b{display:block;color:var(--ink);font-family:var(--serif);font-size:1.06rem;font-weight:600;margin-bottom:.25rem}
.num{font-family:var(--mono);font-weight:700;color:var(--sage-dk)}
.mini{font-size:.83rem;color:var(--text-3)}
.feat{display:grid;grid-template-columns:repeat(2,1fr);gap:1.3rem;margin:1.8rem 0}
.panel{background:var(--paper);border-radius:var(--r);padding:1.6rem 1.7rem;box-shadow:var(--sh-1)}
.panel h3{margin-bottom:.5rem}
.panel p{font-size:.93rem;color:var(--text-2);margin:0;line-height:1.7}
.toc{background:var(--mist-100);border-radius:var(--r);padding:1.5rem 1.7rem;margin:0 0 2.4rem}
.toc ul{list-style:none;padding:0;margin:0;columns:2;column-gap:1.8rem}
.toc li{margin-bottom:.45rem;font-size:.92rem}
@media (max-width:620px){.toc ul{columns:1}.feat{grid-template-columns:1fr}}

/* risk panel (area pages) */
.risk{border-top:0;display:flex;flex-direction:column;gap:.9rem}
.risk-row{padding:0}
.risk-top{display:flex;justify-content:space-between;gap:.7rem;align-items:baseline}
.risk-name{font-size:.92rem;color:var(--ink);font-weight:600}
.risk-tag{font-size:.66rem;letter-spacing:.06em;text-transform:uppercase;font-weight:700;
  padding:.16rem .55rem;border-radius:var(--pill);white-space:nowrap}
.t-vhigh{background:var(--clay-wash);color:var(--clay-dk)}
.t-high{background:var(--amber-wash);color:var(--amber)}
.t-mod{background:var(--sage-wash);color:var(--sage-dk)}
.risk-bar{height:6px;background:var(--mist-200);border-radius:var(--pill);margin:.55rem 0 .45rem;overflow:hidden}
.risk-bar i{display:block;height:100%;border-radius:var(--pill)}
.risk-note{font-size:.83rem;color:var(--text-3);line-height:1.6}

/* ==========================================================================
   BLOG
   ========================================================================== */
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.post-c{background:var(--paper);border-radius:var(--r-lg);overflow:hidden;display:flex;flex-direction:column;
  box-shadow:var(--sh-1);transition:transform .2s ease,box-shadow .2s ease}
.post-c:hover{transform:translateY(-3px);box-shadow:var(--sh-3)}
.post-img{position:relative;display:block;aspect-ratio:16/10;background:var(--mist-200);overflow:hidden}
.post-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.post-c:hover .post-img img{transform:scale(1.045)}
.post-img .post-tag{position:absolute;top:.85rem;left:.85rem;margin:0;z-index:2;
  background:rgba(255,255,255,.93);color:var(--sage-dk);box-shadow:0 3px 10px rgba(47,66,52,.18)}
.post-tag{
  display:inline-block;font-size:.68rem;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:var(--sage-dk);background:var(--sage-wash);
  padding:.25rem .7rem;border-radius:var(--pill);margin-bottom:.7rem;align-self:flex-start;
}
.post-bd{padding:1.4rem 1.5rem 1.5rem;display:flex;flex-direction:column;flex-grow:1}
.post-c h3{font-size:1.1rem;line-height:1.35;margin-bottom:.55rem}
.post-c h3 a{color:var(--ink)}
.post-c h3 a:hover{color:var(--sage-dk)}
.post-c p{font-size:.92rem;color:var(--text-2);line-height:1.7;margin:0 0 1.1rem;flex-grow:1}
.post-meta{font-size:.78rem;color:var(--text-3);display:flex;gap:.9rem;flex-wrap:wrap}
@media (max-width:900px){.posts{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.posts{grid-template-columns:1fr}}

.article-meta{display:flex;flex-wrap:wrap;gap:1.2rem;font-size:.82rem;color:var(--text-3);margin-top:1.2rem;justify-content:center}
.byline{display:inline-flex;align-items:center;gap:.65rem}
.byline-av{
  width:38px;height:38px;border-radius:50%;
  background:linear-gradient(150deg,var(--sage) 0%,var(--sage-dk) 100%);color:#fff;
  display:grid;place-items:center;font-family:var(--mono);font-size:.72rem;font-weight:700;
}
.byline-t{display:flex;flex-direction:column;line-height:1.3;text-align:left}
.byline-t b{font-size:.88rem;color:var(--ink);font-weight:600}
.byline-t i{font-style:normal;font-size:.78rem;color:var(--text-3)}
.authorbox{display:flex;gap:1.2rem;background:var(--mist-100);border-radius:var(--r);padding:1.6rem 1.7rem;margin:2.6rem 0 0}
.authorbox-av{
  width:56px;height:56px;flex:0 0 56px;border-radius:50%;
  background:linear-gradient(150deg,var(--sage) 0%,var(--sage-dk) 100%);color:#fff;
  display:grid;place-items:center;font-family:var(--mono);font-size:1rem;font-weight:700;
}
.authorbox h3{font-size:1.06rem;margin-bottom:.2rem}
.authorbox-beat{font-size:.8rem;color:var(--sage-dk);margin-bottom:.7rem;font-weight:600}
.authorbox p{font-size:.93rem;color:var(--text-2);line-height:1.75;margin-bottom:.6rem}
.team{display:grid;grid-template-columns:repeat(2,1fr);gap:1.3rem;margin-top:1.8rem}
.team-m{display:flex;gap:1rem;background:var(--paper);border-radius:var(--r);padding:1.5rem;box-shadow:var(--sh-1)}
.team-av{
  width:50px;height:50px;flex:0 0 50px;border-radius:50%;
  background:linear-gradient(150deg,var(--sage) 0%,var(--sage-dk) 100%);color:#fff;
  display:grid;place-items:center;font-family:var(--mono);font-size:.9rem;font-weight:700;
}
.team-m h3{font-size:1.02rem;margin-bottom:.2rem}
.beat{font-size:.8rem;color:var(--sage-dk);margin:0 0 .55rem;font-weight:600}
.team-m p{font-size:.9rem;color:var(--text-2);line-height:1.7;margin:0}
@media (max-width:760px){.team{grid-template-columns:1fr}}

.figure-lead{margin:0 0 2.2rem;border-radius:var(--r-lg);overflow:hidden;background:var(--paper);box-shadow:var(--sh-2)}
.figure-lead img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:cover}
.figure-lead figcaption{font-size:.84rem;color:var(--text-3);line-height:1.6;padding:.85rem 1.2rem;background:var(--paper)}

/* ==========================================================================
   SOURCES
   ========================================================================== */
.sources{background:var(--mist-100);border-radius:var(--r);padding:1.5rem 1.7rem;margin:2.8rem 0 0}
.sources h3{font-size:.74rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--text-3);margin-bottom:.8rem}
.sources ol{margin:0;padding-left:1.2rem}
.sources li{font-size:.885rem;color:var(--text-2);margin-bottom:.45rem;line-height:1.65}

/* ==========================================================================
   FOOTER — deep sage graphite
   ========================================================================== */
.foot{background:var(--ink);color:rgba(255,255,255,.66);font-size:.9rem;
  border-radius:var(--r-xl) var(--r-xl) 0 0;margin-top:0;overflow:hidden}
.foot-main{padding:3.6rem 0 2.8rem}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:2.2rem}
.foot-id .brand-mark{background:rgba(255,255,255,.14);box-shadow:none}
.foot-id .brand-name{color:#fff}
.foot-id .brand-name small{color:rgba(255,255,255,.45)}
.foot-about{font-size:.88rem;line-height:1.75;margin:1.2rem 0;color:rgba(255,255,255,.6);max-width:42ch}
.foot-ct{display:flex;gap:.65rem;align-items:flex-start;margin-bottom:.9rem;line-height:1.5}
.foot-ct svg{width:17px;height:17px;flex:0 0 auto;color:var(--sage-lt);margin-top:.25rem}
.foot-ct a{color:#fff;font-weight:600}
.foot-ct a[href^="tel:"]{display:inline-block;padding:.45rem 0;min-height:44px;line-height:1.9}
@media (min-width:768px){.foot-ct a[href^="tel:"]{padding:0;min-height:0;line-height:inherit}}
.foot-ct-s{font-size:.8rem;color:rgba(255,255,255,.42)}
.foot h4{color:#fff;font-family:var(--sans);font-size:.72rem;font-weight:700;letter-spacing:.11em;
  text-transform:uppercase;margin-bottom:1rem}
.foot ul{list-style:none;padding:0;margin:0}
.foot li{margin-bottom:.5rem}
.foot li a{color:rgba(255,255,255,.62);font-size:.875rem}
.foot li a:hover{color:#fff;text-decoration:none}
.foot-legal{border-top:1px solid rgba(255,255,255,.1);padding:1.8rem 0}
.foot-legal p{font-size:.79rem;line-height:1.75;color:rgba(255,255,255,.42);margin:0}
.foot-legal a{color:rgba(255,255,255,.62);text-decoration:underline}
.foot-legal strong{color:rgba(255,255,255,.62);font-weight:600}
.foot-bot{border-top:1px solid rgba(255,255,255,.1);padding:1.3rem 0}
.foot-bot .container{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.8rem;color:rgba(255,255,255,.4)}
.foot-bot nav a{color:rgba(255,255,255,.55);margin-left:1.3rem;font-size:.8rem}
@media (max-width:1000px){.foot-grid{grid-template-columns:1fr 1fr 1fr}}
@media (max-width:640px){.foot-grid{grid-template-columns:1fr 1fr}.foot-id{grid-column:1/-1}}

/* ==========================================================================
   FLOATING CONTROLS
   ========================================================================== */
#totop{
  position:fixed;right:18px;bottom:84px;width:46px;height:46px;z-index:1020;
  background:var(--paper);border:0;border-radius:50%;
  color:var(--ink);cursor:pointer;display:none;place-items:center;box-shadow:var(--sh-3);
}
#totop.show,#totop.on{display:grid}
#totop svg{width:17px;height:17px}
.sticky-call{position:fixed;left:0;right:0;bottom:0;z-index:1025;display:none;padding:.5rem}
.sticky-call a{
  display:flex;align-items:center;justify-content:center;gap:.55rem;
  background:var(--clay);color:#fff;font-weight:600;font-size:.97rem;padding:1rem;
  border-radius:var(--pill);box-shadow:0 6px 22px rgba(196,120,92,.45);
}
.sticky-call a:hover{text-decoration:none}
.sticky-call svg{width:17px;height:17px}
@media (max-width:767px){
  .sticky-call{display:block}
  body{padding-bottom:70px}
  #totop{bottom:82px;right:14px}
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print{
  .masthead,.asidegrid,.band,.sticky-call,#totop,.foot-main,.rail-cta{display:none}
  body{background:#fff}
  .reading,.layout{max-width:none}
}

/* --------------------------------------------------------------------------
   Overlap handling: a page head or hero that carries a photograph lets the
   picture hang into the section below, so the container itself must not add
   padding under it.
   -------------------------------------------------------------------------- */
.hero > .container{padding-bottom:0}
.crumbs + .pagehead .container,.crumbs + .hero .container{padding-top:1.4rem}

/* --------------------------------------------------------------------------
   Small screens: a centred paragraph that runs to eight lines is hard to
   track back, so the lede goes flush left while the heading stays centred.
   -------------------------------------------------------------------------- */
@media (max-width:620px){
  .hero-lede,.pagehead-lede{text-align:left}
  .hero h1,.pagehead h1{max-width:none}
}
@media (max-width:420px){
  .brand-name{font-size:.95rem}
  .brand-name small{display:none}
  .brand-mark{width:40px;height:40px;flex:0 0 40px}
}
.sources h2{font-family:var(--sans);font-size:.74rem;font-weight:700;letter-spacing:.11em;
  text-transform:uppercase;color:var(--text-3);margin-bottom:.8rem}

/* --------------------------------------------------------------------------
   Type set over a photograph needs a real inset from the edges of the
   picture — 22px of gutter is enough against the page ground but far too
   tight against an image. These come last so they beat the earlier
   .hero > .container and .crumbs + .pagehead .container rules.
   -------------------------------------------------------------------------- */
.hero-media > .container,
.pagehead-hasimg > .container,
.crumbs + .pagehead-hasimg > .container{
  padding-top:clamp(3.4rem,6.5vw,5.4rem);
  padding-bottom:clamp(3.2rem,6vw,5rem);
  padding-left:clamp(24px,5vw,60px);
  padding-right:clamp(24px,5vw,60px);
}
.hero-media .hero-wrap,
.pagehead-hasimg .container > *{max-width:min(860px,100%)}
.hero-media .hero-wrap{margin-left:auto;margin-right:auto}
.pagehead-hasimg h1{max-width:19ch}
.pagehead-hasimg .pagehead-lede{max-width:60ch}
