/* Original section layouts, adapted to the live CMS and current base styles. */
.reference-home .hero{display:block;gap:0;padding:0}
.reference-home .hero h1{margin:0 0 24px;line-height:1.08;letter-spacing:-.035em}
.reference-home .hero-eyebrow{display:inline-flex;margin-bottom:24px}
.reference-home .hero .hero-lede{max-width:620px;margin-bottom:32px}
.reference-home .hero-grid{position:relative;z-index:1}
.reference-home .hero-content{min-width:0}
.reference-home .hero-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.reference-home .hero-stat-value{white-space:nowrap}
.reference-home .btn{font-family:inherit;cursor:pointer}
.reference-home .trust-num{font-size:clamp(24px,2.6vw,38px);letter-spacing:-.04em}
.reference-home .trust-label{font-size:12px}
.reference-home .section-action{text-align:center;margin-top:36px}
.reference-home .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.reference-home .production-video video{display:block;width:100%;aspect-ratio:16/10;object-fit:contain;background:#0c2824;border-radius:var(--radius-lg,16px)}
.reference-home .video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.reference-home .video-wrapper video{display:block;width:100%;aspect-ratio:16/10;object-fit:contain;background:#0c2824}
.reference-home .video-card h3{overflow-wrap:anywhere}
.reference-home .video-card p{line-height:1.6}
.reference-home .facility-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.reference-home .facility-card figcaption{padding:16px 18px;font-size:13px}
.reference-home .facility-card strong{font-weight:600;line-height:1.5;display:block}
.reference-home .facility-card p{font-size:12px;line-height:1.6;margin-top:6px}
.reference-home .about-section{border:0}
.reference-home .about-content .rich-text{font-size:16px;line-height:1.8}
.reference-home .about-content .rich-text p{margin:0 0 18px}
.reference-home .about-placeholder{display:flex;align-items:center;justify-content:center;min-height:460px;font-size:90px;font-weight:800;line-height:.9;color:var(--green);background:var(--mint)}
.reference-home .about-fund{margin:24px 0}
.reference-home .capability-card .rich-text{font-size:14px;line-height:1.7}
.reference-home .process-step .rich-text{font-size:14px;line-height:1.7}
.reference-home .documentation-illustration{padding:42px;border:1px solid var(--line);border-radius:var(--radius-lg,16px);background:linear-gradient(145deg,#fff,#e7eee5);box-shadow:0 12px 36px #143d3210}
.reference-home .documentation-illustration>span{font-size:10px;letter-spacing:2px;color:var(--green)}
.reference-home .documentation-illustration h3{font-size:42px;margin:24px 0;color:var(--ink);letter-spacing:-1.5px}
.reference-home .documentation-illustration ul{list-style:none;padding:0;margin:0}
.reference-home .documentation-illustration li{padding:14px 0;border-bottom:1px solid var(--line);font-size:15px;color:var(--ink)}
.reference-home .documentation-illustration li:before{content:'✓';margin-right:16px;color:var(--green)}
.reference-home .documentation-illustration small{display:block;color:var(--muted);font-size:11px;margin-top:24px}
.reference-home .managed-copy h3{font-size:23px;margin:0 0 18px}
.reference-home .managed-copy .rich-text h2{font-size:20px;margin:24px 0 10px}
.reference-home .managed-copy .rich-text{font-size:15px;line-height:1.8}
.reference-home .coa-content .btn{margin-top:26px}
.reference-home .faq-section{border:0}
.reference-home .faq-grid{max-width:900px;margin:0 auto;display:grid;gap:16px}
.reference-home .faq-item{padding:0;border:1px solid var(--line);border-radius:var(--radius,12px);background:white;overflow:hidden}
.reference-home .faq-item summary{padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;font-weight:600;font-size:16px;list-style:none}
.reference-home .faq-item summary::-webkit-details-marker{display:none}
.reference-home .faq-item summary:after{display:none}
.reference-home .faq-item summary>span{color:var(--green);font-size:24px;font-weight:400}
.reference-home .faq-item[open] summary>span{transform:rotate(45deg)}
.reference-home .faq-answer{padding:0 24px 24px;font-size:14px;line-height:1.8}
.reference-home .faq-answer p{padding:0}
.reference-home .resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.reference-home .resource-card{min-width:0;display:block}
.reference-home .resource-icon{margin-bottom:24px}
.reference-home .resource-card h3{overflow-wrap:anywhere}
.reference-home .resource-card h3{font-size:20px;line-height:1.3;margin-bottom:12px}
.reference-home .resource-card p{font-size:14px;line-height:1.7}
.reference-home .resource-link{display:block;margin-top:20px;font-size:13px;font-weight:600;color:var(--green)}
.reference-home .resource-note{font-size:12px}
.reference-home .contact-grid{align-items:start}
.reference-home .contact-info>p{margin:20px 0 30px}
.reference-home .contact-info{background:var(--brand-900);color:#fff;padding:32px;border-radius:var(--radius-lg,16px)}
.reference-home .contact-info .section-eyebrow{color:var(--brand-200)}
.reference-home .contact-info h2{font-size:clamp(32px,4vw,48px);line-height:1.15;letter-spacing:-1.5px}
.reference-home .contact-info .btn{margin-top:16px}
.reference-home .contact-item a{display:block;overflow-wrap:anywhere}
.reference-home .contact-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.reference-home .contact-form select{width:100%;min-width:0}
.reference-home .contact-form input,.reference-home .contact-form textarea,.reference-home .contact-form select{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:8px;padding:12px 14px;font-family:inherit;font-size:14px;width:100%}
.reference-home .contact-form label{font-size:13px;font-weight:600;display:block;margin-bottom:8px}
.reference-home .contact-form .form-group{margin-bottom:18px;min-width:0}
.reference-home .form-note{font-size:12px;line-height:1.6;color:var(--muted);margin:4px 0 20px}
.reference-home .form-feedback{font-size:13px;color:var(--green);margin-top:14px;min-height:1.5em}
.reference-home .reference-extra{padding:64px 0;background:#fff}
@media(max-width:1024px){
  .reference-home .hero{padding:0}
  .reference-home .hero h1{font-size:48px}
  .reference-home .video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reference-home .facility-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reference-home .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:768px){
  .reference-home .hero{padding:0}
  .reference-home .hero h1{font-size:40px;line-height:1.12}
  .reference-home .hero .hero-lede{font-size:16px}
  .reference-home .hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .reference-home .trust-bar-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .reference-home .trust-item{display:block;min-width:0}
  .reference-home .trust-label{overflow-wrap:anywhere;margin-top:12px}
  .reference-home .trust-num{font-size:27px}
  .reference-home .product-grid,.reference-home .video-grid,.reference-home .resource-grid{grid-template-columns:1fr}
  .reference-home .facility-grid{gap:16px}
  .reference-home .facility-card figcaption{padding:12px;font-size:12px}
  .reference-home .facility-card p{font-size:11px}
  .reference-home .facility-grid img{aspect-ratio:4/3}
  .reference-home .about-placeholder{min-height:280px;font-size:70px}
  .reference-home .documentation-illustration{padding:28px}
  .reference-home .documentation-illustration h3{font-size:34px}
  .reference-home .faq-item summary{font-size:15px;padding:18px}
  .reference-home .faq-answer{padding:0 18px 18px}
  .reference-home .contact-form .form-row{grid-template-columns:1fr;gap:0}
  .reference-home .contact-grid{grid-template-columns:minmax(0,1fr)}
  .reference-home .contact-info,.reference-home .contact-form{min-width:0;width:100%;padding:24px}
  .reference-home .contact-grid .btn{white-space:normal;max-width:100%}
  .reference-home .contact-form input,.reference-home .contact-form textarea,.reference-home .contact-form select{font-size:16px;min-height:44px}
}
@media(max-width:380px){.reference-home .hero h1{font-size:35px}}
/* Blog and post markup follow the archived site's reading layouts. */
.reference-blog .featured-card,.reference-blog .post-card{min-width:0;display:flex;flex-direction:column}
.reference-blog .featured-card h3,.reference-blog .post-card h3{overflow-wrap:anywhere}
.reference-blog .featured-card p,.reference-blog .post-card p{flex:1}
.reference-blog .featured-card-meta,.reference-blog .post-card-meta{gap:12px;flex-wrap:wrap}
.reference-blog .featured-card-label{color:var(--brand-700)}
.reference-post .post-source{margin:0;font-size:12px;color:var(--brand-700);text-decoration:underline;text-underline-offset:4px}
.reference-post .post-cover{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius,10px);margin-bottom:36px}
.reference-post .post-body{font-family:var(--font-sans);font-size:1.05rem;line-height:1.85;color:var(--ink-700)}
.reference-post .post-body h2{font-size:1.7rem;margin:2rem 0 1rem;padding-bottom:.5rem;border-bottom:2px solid var(--brand-100)}
.reference-post .post-body h3{font-size:1.3rem;margin:2rem 0 1rem}
.reference-post .post-navigation{border-top:1px solid var(--line);padding-top:28px;margin-top:40px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px;font-size:14px;color:var(--brand-700)}
.reference-post .post-hero h1{overflow-wrap:anywhere}
@media(max-width:768px){
 .reference-blog .featured-grid,.reference-blog .all-posts-grid{grid-template-columns:1fr}
 .reference-post .post-hero{padding:32px 18px}
 .reference-post .post-content-section{padding:36px 18px}
 .reference-post .post-body{font-size:16px}
 .reference-post .post-body h2{font-size:24px}
}
