/* Public content pages use the selected homepage's compact editorial styling. */
body.reference-content .phero{background:var(--cream-2);border-bottom:1px solid var(--line-2)}
body.reference-content .phero.hero::before{display:none}
body.reference-content .phero .hero-in{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:calc(24 * var(--u));min-height:calc(300 * var(--u));align-items:stretch}
body.reference-content .phero .hero-txt{padding:calc(22 * var(--u)) 0;min-width:0}
body.reference-content .phero .hero-txt h1{font-size:calc(40 * var(--u));line-height:1.06;margin:calc(12 * var(--u)) 0 calc(14 * var(--u));letter-spacing:0}
body.reference-content .phero .hero-txt .lead{max-width:calc(460 * var(--u));margin:0 0 calc(18 * var(--u));font-size:calc(14 * var(--u));line-height:1.5}
body.reference-content .phero .hero-media{min-width:0;margin:calc(18 * var(--u)) 0;border-radius:5px;overflow:hidden}
body.reference-content .phero .hero-media>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;-webkit-mask-image:none;mask-image:none}
body.reference-content .phero .badge{top:auto;right:calc(18 * var(--u));bottom:calc(18 * var(--u));width:calc(94 * var(--u));padding:calc(10 * var(--u));box-shadow:0 0 0 2px var(--gold),0 0 0 4px rgba(217,187,122,.2)}
body.reference-content .phero .badge b{font-size:calc(14 * var(--u))}
body.reference-content .phero .badge small{font-size:calc(8 * var(--u))}
body.reference-content .hero-cta{gap:calc(10 * var(--u))}
body.reference-content .hero-cta .btn-gold{background:var(--g800);color:#fff;border-color:var(--g800)}
body.reference-content .content-heading{padding:calc(20 * var(--u)) 0 calc(24 * var(--u))}
body.reference-content .content-heading-row{margin-top:calc(10 * var(--u));align-items:end}
body.reference-content .content-heading-row .lead{margin:0;max-width:calc(480 * var(--u))}
body.reference-content .content-heading-title{margin:calc(12 * var(--u)) 0}
body.reference-content .two{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:calc(28 * var(--u));min-width:0}
body.reference-content .two>*{min-width:0}
body.reference-content .sec-head{gap:calc(16 * var(--u));margin-bottom:calc(18 * var(--u));align-items:end}
body.reference-content .sec-head p{margin-top:calc(8 * var(--u));font-size:calc(13 * var(--u))}
body.reference-content .eyebrow{font-size:calc(11 * var(--u));letter-spacing:.05em;gap:calc(7 * var(--u));line-height:1.3}
body.reference-content .eyebrow .ic{width:calc(18 * var(--u));height:calc(18 * var(--u))}
body.reference-content .visual-note{font-size:calc(11 * var(--u));line-height:1.45;color:var(--muted);padding-top:calc(8 * var(--u));padding-bottom:calc(8 * var(--u))}
body.reference-content .prose{font:400 calc(14 * var(--u))/1.7 var(--sans);overflow-wrap:break-word}
body.reference-content .prose h2{font:700 calc(24 * var(--u))/1.16 var(--serif);margin:calc(22 * var(--u)) 0 calc(12 * var(--u))}
body.reference-content .prose h3{font:700 calc(19 * var(--u))/1.2 var(--serif);margin:calc(18 * var(--u)) 0 calc(10 * var(--u))}
body.reference-content .prose p:last-child{margin-bottom:0}
body.reference-content .prose table{max-width:100%;font-size:calc(12 * var(--u))}
body.reference-content .media-r{border-radius:5px;box-shadow:none;overflow:hidden;border:1px solid var(--line-2)}
body.reference-content .media-r img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
body.reference-content .cards3,body.reference-content .bgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(14 * var(--u))}
body.reference-content .cards4{grid-template-columns:repeat(4,minmax(0,1fr));gap:calc(14 * var(--u))}
body.reference-content .cards6{grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(14 * var(--u))}
body.reference-content .icard,body.reference-content .photo-card,body.reference-content .acard,body.reference-content .bcard{border:1px solid var(--line-2);border-radius:5px;background:#fff;box-shadow:none;min-width:0}
body.reference-content .icard{padding:calc(18 * var(--u));display:block}
body.reference-content .icard h3{font:700 calc(19 * var(--u))/1.15 var(--serif);margin:calc(10 * var(--u)) 0 calc(8 * var(--u));color:var(--ink)}
body.reference-content .icard p{font-size:calc(13 * var(--u));line-height:1.55;margin:0;color:var(--muted)}
body.reference-content .icard .circ{width:calc(34 * var(--u));height:calc(34 * var(--u));background:var(--cream-2);border:1px solid var(--g700);color:var(--g700)}
body.reference-content .icard .circ .ic{width:calc(18 * var(--u));height:calc(18 * var(--u))}
body.reference-content .icard .num{font:400 calc(12 * var(--u))/1 var(--sans);margin-bottom:calc(10 * var(--u))}
body.reference-content .photo-card .ph,body.reference-content .acard .ph{aspect-ratio:4/3}
body.reference-content .photo-card .t,body.reference-content .acard .t{padding:calc(12 * var(--u))}
body.reference-content .photo-card h3,body.reference-content .acard h3{font:700 calc(18 * var(--u))/1.15 var(--serif);margin-bottom:calc(6 * var(--u));color:var(--ink)}
body.reference-content .photo-card p,body.reference-content .acard li{font-size:calc(12 * var(--u));line-height:1.5}
body.reference-content .photo-card:hover .ph img,body.reference-content .bcard:hover .bimg img{transform:none}
body.reference-content .bcard:hover{transform:none;box-shadow:0 2px 8px rgba(8,45,33,.08)}
body.reference-content .bcard .bimg{aspect-ratio:16/9}
body.reference-content .bcard .bbody{padding:calc(14 * var(--u))}
body.reference-content .bcard .bcat{font:400 calc(10 * var(--u))/1.35 var(--sans);letter-spacing:.025em;margin-bottom:calc(7 * var(--u));color:var(--muted)}
body.reference-content .bcard h3,body.reference-content .content-article-card-title{font:700 calc(20 * var(--u))/1.15 var(--serif);margin-bottom:calc(8 * var(--u));color:var(--ink)}
body.reference-content .bcard p{font-size:calc(12 * var(--u));line-height:1.5;margin-bottom:calc(12 * var(--u))}
body.reference-content .bcard .link-arrow{font-size:calc(12 * var(--u))}
body.reference-content .timeline{border-radius:5px;padding:calc(16 * var(--u)) calc(24 * var(--u));font-size:calc(13 * var(--u));background:var(--g900)}
body.reference-content .timeline div{padding:calc(14 * var(--u)) 0}
body.reference-content .timeline b{font:400 calc(30 * var(--u))/1 var(--serif);margin-bottom:calc(7 * var(--u))}
body.reference-content .vm{grid-template-columns:1fr 1fr;gap:calc(16 * var(--u))}
body.reference-content .vm .icard h3{color:var(--g800)}
body.reference-content .facts{margin:0;border-radius:5px}
body.reference-content .facts div{grid-template-columns:minmax(0,.7fr) minmax(0,1fr);gap:calc(12 * var(--u));padding:calc(12 * var(--u));font-size:calc(12 * var(--u));overflow-wrap:break-word}
body.reference-content .cmp-wrap,body.reference-content .cmp{border-radius:5px}
body.reference-content .cmp{font-size:calc(12 * var(--u));table-layout:fixed}
body.reference-content .cmp th,body.reference-content .cmp td{padding:calc(12 * var(--u));overflow-wrap:break-word}
body.reference-content .cmp thead th{font-weight:600;background:var(--g800)}
body.reference-content .vol{gap:calc(8 * var(--u));margin-top:calc(16 * var(--u))}
body.reference-content .vol span{padding:calc(5 * var(--u)) calc(12 * var(--u));font-size:calc(12 * var(--u));border-radius:5px}
body.reference-content .checks{gap:calc(9 * var(--u))}
body.reference-content .checks li{font-size:calc(13 * var(--u));gap:calc(8 * var(--u))}
body.reference-content .checks .ic{width:calc(16 * var(--u));height:calc(16 * var(--u))}
body.reference-content .process,body.reference-content .process.light{background:var(--cream-2);padding:calc(28 * var(--u)) 0;color:var(--ink-2);border-block:1px solid var(--line-2)}
body.reference-content .process-in,body.reference-content .process.light .process-in{display:block;padding-top:0;padding-bottom:0}
body.reference-content .process h2{font:700 calc(25 * var(--u))/1.15 var(--serif);color:var(--g800);margin-bottom:calc(8 * var(--u))}
body.reference-content .process-in>div>p{font-size:calc(13 * var(--u));margin-bottom:calc(18 * var(--u));color:var(--muted)}
body.reference-content .steps,body.reference-content .process.light .steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:calc(12 * var(--u))}
body.reference-content .step,body.reference-content .process.light .step{min-width:0;padding:calc(12 * var(--u));background:#fff;border:1px solid var(--line-2);border-radius:5px;text-align:left}
body.reference-content .step::after{display:none}
body.reference-content .step h3,body.reference-content .process.light .step h3{font:700 calc(16 * var(--u))/1.2 var(--serif);margin:calc(9 * var(--u)) 0 calc(6 * var(--u));color:var(--ink)}
body.reference-content .step p,body.reference-content .process.light .step p{font-size:calc(11 * var(--u));line-height:1.5;color:var(--muted);margin:0}
body.reference-content .step .circ,body.reference-content .process.light .step .circ{width:calc(28 * var(--u));height:calc(28 * var(--u));background:var(--cream-2);border:1px solid var(--line);color:var(--g700);margin:0}
body.reference-content .step .circ .ic{width:calc(16 * var(--u));height:calc(16 * var(--u))}
body.reference-content .cta-band{grid-template-columns:minmax(0,1fr) auto;padding:calc(24 * var(--u));gap:calc(24 * var(--u));border-radius:5px;background:var(--g900);color:#e1ebe3;box-shadow:none}
body.reference-content .cta-band>div{min-width:0}
body.reference-content .cta-band h2{font:700 calc(25 * var(--u))/1.15 var(--serif);color:#fffaf0;margin:0 0 calc(10 * var(--u));text-wrap:balance}
body.reference-content .cta-band p{max-width:60ch;font:400 calc(13 * var(--u))/1.6 var(--sans);color:#e1ebe3;margin:0}
body.reference-content .cta-band .acts{gap:calc(10 * var(--u));align-items:center}
body.reference-content .cta-band .btn{min-height:calc(36 * var(--u));font-weight:500;box-shadow:none}
body.reference-content .cta-band .btn-gold{--bg:var(--gold-l);--bd:var(--gold-l);--fg:var(--g900);background:var(--bg)}
body.reference-content .cta-band .btn-gold:hover{--bg:var(--gold-bg);--bd:var(--gold-bg)}
body.reference-content .cta-band .btn-light{--fg:#fffaf0;--bd:#b8cabe}
body.reference-content .cta-band .btn-light:hover{--bg:#fffaf0;--fg:var(--g900);--bd:#fffaf0}
body.reference-article .cta-band{grid-template-columns:minmax(0,1fr)}
body.reference-content .certs{grid-template-columns:repeat(3,minmax(0,1fr));gap:calc(14 * var(--u))}
body.reference-content .cert{padding:calc(14 * var(--u));border-radius:5px;gap:calc(6 * var(--u))}
body.reference-content .cert img{object-fit:contain;border-radius:3px;background:#fff}
body.reference-content .cert h3{font:700 calc(19 * var(--u))/1.2 var(--serif)}
body.reference-content .cert small{font-size:calc(11 * var(--u))}
body.reference-content .empty{padding:calc(24 * var(--u));border:1px solid var(--line-2);border-radius:5px;background:var(--cream-2);font-size:calc(13 * var(--u))}
body.reference-content .empty p{margin-bottom:calc(14 * var(--u))}
body.reference-content .empty p:last-child{margin-bottom:0}
body.reference-content .content-brand-card{display:flex;flex-direction:column}
body.reference-content .content-brand-mark{height:calc(92 * var(--u));display:grid;place-items:center;background:var(--cream-2);border-radius:3px;margin-bottom:calc(14 * var(--u));padding:calc(10 * var(--u))}
body.reference-content .content-brand-mark img{max-width:min(100%,170px);width:auto;height:auto;max-height:60px;object-fit:contain}
body.reference-content .content-brand-title{font:700 calc(23 * var(--u))/1.15 var(--serif);margin-bottom:calc(6 * var(--u));color:var(--ink)}
body.reference-content .content-brand-tagline{margin:0 0 calc(14 * var(--u));font-size:calc(13 * var(--u))}
body.reference-content .content-brand-link{margin-top:auto;font-size:calc(12 * var(--u))}
body.reference-content .content-brand-heading{margin-top:calc(16 * var(--u));align-items:center}
body.reference-content .content-brand-logo{height:calc(200 * var(--u));padding:calc(24 * var(--u));background:#fff;border:1px solid var(--line-2);border-radius:5px;display:grid;place-items:center}
body.reference-content .content-brand-logo img{width:auto;max-width:min(100%,170px);height:auto;max-height:90px;object-fit:contain}
body.reference-content .content-article-heading{padding:calc(20 * var(--u)) 0 0;border:0;background:#fff}
body.reference-content .art-head{max-width:calc(820 * var(--u))}
body.reference-content .art-head h1{font:700 calc(38 * var(--u))/1.08 var(--serif);margin:calc(10 * var(--u)) 0 calc(14 * var(--u));overflow-wrap:break-word}
body.reference-content .art-meta{gap:calc(14 * var(--u));font-size:calc(11 * var(--u));line-height:1.5}
body.reference-content .art-cover{margin:calc(22 * var(--u)) 0 calc(24 * var(--u));aspect-ratio:21/8;border-radius:5px;box-shadow:none}
body.reference-content .art{grid-template-columns:minmax(0,1fr) calc(250 * var(--u));gap:calc(30 * var(--u));padding-bottom:calc(36 * var(--u))}
body.reference-content .art>*{min-width:0}
body.reference-content .content-article-excerpt{font-size:calc(16 * var(--u));line-height:1.55;color:var(--ink)}
body.reference-content .content-article-sidebar{display:grid;gap:calc(14 * var(--u))}
body.reference-content .toc{top:calc(72 * var(--u));padding:calc(14 * var(--u));border-radius:5px}
body.reference-content .toc h2{font:700 calc(18 * var(--u))/1.2 var(--serif);text-transform:none;letter-spacing:0;margin-bottom:calc(10 * var(--u));color:var(--ink)}
body.reference-content .toc a{font-size:calc(12 * var(--u));line-height:1.5;overflow-wrap:break-word}
body.reference-content .mini-p{grid-template-columns:calc(54 * var(--u)) minmax(0,1fr);gap:calc(10 * var(--u))}
body.reference-content .mini-p img{width:calc(54 * var(--u));height:calc(54 * var(--u));border-radius:3px;background:var(--cream-2)}
body.reference-content .mini-p b{font-size:calc(12 * var(--u));font-weight:600}
body.reference-content .mini-p small{font-size:calc(10 * var(--u))}
body.reference-content .content-legal-body{max-width:calc(840 * var(--u));padding:calc(20 * var(--u));background:#fff;border:1px solid var(--line-2);border-radius:5px}
body.reference-content .contact-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:calc(24 * var(--u))}
body.reference-content .cinfo{gap:calc(10 * var(--u))}
body.reference-content .cinfo a,body.reference-content .cinfo div.ci{grid-template-columns:calc(34 * var(--u)) minmax(0,1fr);gap:calc(12 * var(--u));padding:calc(12 * var(--u));border-radius:5px;box-shadow:none;overflow-wrap:anywhere}
body.reference-content .cinfo .circ{width:calc(34 * var(--u));height:calc(34 * var(--u));border:1px solid var(--line-2);background:var(--cream-2)}
body.reference-content .cinfo .circ .ic{width:calc(18 * var(--u));height:calc(18 * var(--u))}
body.reference-content .cinfo small{font-size:calc(10 * var(--u));letter-spacing:.025em}
body.reference-content .cinfo b{font-size:calc(13 * var(--u));font-weight:500;line-height:1.45}
body.reference-content .form-card{padding:calc(20 * var(--u));border-radius:5px;box-shadow:none}
body.reference-content .form-card h2{font:700 calc(26 * var(--u))/1.15 var(--serif);margin-bottom:calc(8 * var(--u))}
body.reference-content .form-card>p{font-size:calc(12 * var(--u));line-height:1.5;margin-bottom:calc(16 * var(--u))}
body.reference-content .form{gap:calc(12 * var(--u))}
body.reference-content .form .row{grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(12 * var(--u))}
body.reference-content .fld{min-width:0;gap:calc(5 * var(--u))}
body.reference-content .fld label{font-size:calc(12 * var(--u))}
body.reference-content .fld input,body.reference-content .fld select,body.reference-content .fld textarea{min-height:calc(38 * var(--u));padding:calc(9 * var(--u)) calc(11 * var(--u));font-size:calc(13 * var(--u));border-radius:4px;min-width:0}
body.reference-content .fld select{padding-right:calc(34 * var(--u))}
body.reference-content .fld textarea{min-height:calc(108 * var(--u))}
body.reference-content .consent{font-size:calc(11 * var(--u));line-height:1.55;gap:calc(8 * var(--u))}
body.reference-content .alert{font-size:calc(12 * var(--u));padding:calc(10 * var(--u));border-radius:4px}
body.reference-content .map{aspect-ratio:16/6;margin-top:calc(24 * var(--u));border-radius:5px}
body.reference-content .content-search-form{display:flex;align-items:stretch;gap:calc(10 * var(--u));margin-top:calc(16 * var(--u));max-width:calc(640 * var(--u))}
body.reference-content .content-search-form .fld{flex:1;min-width:0}
body.reference-content .content-search-form .btn{height:auto;min-height:calc(38 * var(--u))}
body.reference-content .nf{padding:calc(60 * var(--u)) 0;min-height:calc(330 * var(--u));background:var(--cream-2)}
body.reference-content .nf>b{font:400 calc(88 * var(--u))/1 var(--serif);color:var(--g800)}
body.reference-content .content-error-title{margin:calc(12 * var(--u)) 0;font:700 calc(30 * var(--u))/1.15 var(--serif)}
body.reference-content .nf p{max-width:calc(540 * var(--u));margin-inline:auto;font-size:calc(13 * var(--u))}
body.reference-content .rv{opacity:1;transform:none}
body.reference-expertise .photo-card .ph img{object-fit:contain;background:var(--cream-2)}
@media(max-width:940px){
  body.reference-content .cta-band{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:760px){
  body.reference-content .phero .hero-in{grid-template-columns:1fr;gap:0;min-height:0}
  body.reference-content .phero .hero-txt{padding:24px 0 16px}
  body.reference-content .phero .hero-txt h1{font-size:34px}
  body.reference-content .phero .hero-txt .lead{font-size:14px;max-width:none}
  body.reference-content .phero .hero-media{margin:0 0 20px;height:230px;order:0}
  body.reference-content .phero .hero-media>img{position:absolute;object-position:center}
  body.reference-content .two,body.reference-content .contact-grid,body.reference-content .art{grid-template-columns:1fr;gap:22px}
  body.reference-content .content-heading-row{gap:12px;align-items:start}
  body.reference-content .cards4,body.reference-content .cards6,body.reference-content .cards3,body.reference-content .bgrid,body.reference-content .certs{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.reference-content .steps,body.reference-content .process.light .steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.reference-content .cta-band{grid-template-columns:1fr;gap:16px}
  body.reference-content .cta-band h2{font-size:28px}
  body.reference-content .cta-band p{font-size:14px}
  body.reference-content .cta-band .btn{min-height:44px;font-size:13px}
  body.reference-content .content-article-sidebar{grid-row:2;display:grid;grid-template-columns:1fr 1fr;align-items:start}
  body.reference-content .toc{position:static}
  body.reference-content .art-head h1{font-size:32px}
  body.reference-content .art-cover{aspect-ratio:16/9}
  body.reference-content .map{aspect-ratio:16/9}
}
@media(max-width:480px){
  body.reference-content .phero .hero-txt h1{font-size:30px}
  body.reference-content .phero .hero-media{height:210px}
  body.reference-content .cards3,body.reference-content .cards4,body.reference-content .cards6,body.reference-content .bgrid,body.reference-content .certs{grid-template-columns:1fr}
  body.reference-content .vm,body.reference-content .form .row,body.reference-content .content-article-sidebar{grid-template-columns:1fr}
  body.reference-content .steps,body.reference-content .process.light .steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.reference-content .facts div{grid-template-columns:1fr;gap:4px}
  body.reference-content .cmp{font-size:11px}
  body.reference-content .cmp th,body.reference-content .cmp td{padding:9px 7px}
  body.reference-content .sec-head{align-items:start;gap:12px}
  body.reference-content .sec-head .btn{max-width:100%;white-space:normal}
  body.reference-content .hero-cta .btn{white-space:normal;min-height:42px}
  body.reference-content .cta-band{padding:24px}
  body.reference-content .cta-band h2{font-size:27px}
  body.reference-content .cta-band .acts{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  body.reference-content .cta-band .btn{width:100%;white-space:normal;padding:10px 14px}
  body.reference-content .content-brand-logo{height:170px}
  body.reference-content .art-head h1{font-size:30px}
  body.reference-content .content-legal-body{padding:16px}
  body.reference-content .cinfo b{font-size:14px}
  body.reference-content .form-card{padding:16px}
  body.reference-content .fld input,body.reference-content .fld select,body.reference-content .fld textarea{font-size:16px;min-height:44px}
  body.reference-content .map{aspect-ratio:4/3}
  body.reference-content .nf{padding:42px 0}
  body.reference-content .content-error-title{font-size:27px}
}
