/* Shared public-site design; admin uses its own layout and stylesheet. */
.refined-front{
 background-color:var(--background);
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='14' viewBox='0 0 20 14'%3E%3Cpath fill='%23F5F5F7' fill-opacity='.11' d='M8 10h1v1H8z'/%3E%3C/svg%3E");
 background-repeat:repeat;
}
/* Hero already draws the same grid on canvas: keep the two grids from stacking. */
.refined-front .hero{background-color:var(--background)}
.refined-front .page-heading{padding:48px 0}
.refined-front .page-heading h1{font-size:clamp(36px,4vw,56px);line-height:1.45;letter-spacing:-.02em;text-wrap:balance}
.refined-front .page-heading .small-label{font-size:14px;margin-bottom:16px}
.refined-front .page-heading>p:last-child{font-size:18px;line-height:1.85;margin-top:24px;max-width:64ch}
.refined-front .section-top{padding-bottom:64px}
.refined-front .prose h2{font-size:28px;line-height:1.5;margin:40px 0 16px}
.refined-front .prose h3{font-size:23px;margin:32px 0 16px}
.refined-front .prose p,.refined-front .prose li{font-size:17px;line-height:1.95}
.refined-front .article-layout{grid-template-columns:240px minmax(0,1fr);gap:64px}
.refined-front .toc{font-size:15px;gap:16px}
.refined-front .article-heading .article-meta{margin-top:24px;font-size:14px}
.refined-front .article-heading{max-width:none}
.refined-front .page-heading>h1+p{font-size:18px;line-height:1.85;margin-top:24px;color:var(--muted);max-width:64ch}
.refined-front .about-grid{gap:64px;padding-bottom:64px}
.refined-front .brand-panel{background:var(--surface);border-radius:12px;min-height:360px}
.refined-front .contact-layout{grid-template-columns:1fr 1.2fr;gap:64px;padding-bottom:64px}
.refined-front .contact-layout h2{font-size:28px}
.refined-front .contact-form{border:1px solid var(--border);padding:32px}
.refined-front .contact-form fieldset>label{margin-bottom:24px}
.refined-front .contact-pending p,.refined-front .contact-layout aside>p{font-size:16px}
.refined-front .filter-bar{gap:16px;margin-bottom:32px}
.refined-front .service-row{grid-template-columns:1fr 1fr 32px;gap:32px;padding:24px 0;min-height:112px}
.refined-front .service-row h3{font-size:23px}
.refined-front .service-row p{font-size:16px}
.refined-front .narrow{max-width:800px}
@media(prefers-reduced-motion:no-preference){.page-interior main{animation:service-page-arrive .55s ease-out}}
@media(max-width:760px){
 .refined-front .page-heading{padding:32px 0}
 .refined-front .page-heading h1{font-size:34px}
 .refined-front .page-heading>p:last-child{font-size:16px;margin-top:16px}
 .refined-front .page-heading>h1+p{font-size:16px;margin-top:16px}
 .refined-front .section-top{padding-bottom:48px}
 .refined-front .prose h2{font-size:24px;margin-top:32px}
 .refined-front .prose h3{font-size:21px}
 .refined-front .prose p,.refined-front .prose li{font-size:16px}
 .refined-front .article-layout,.refined-front .about-grid,.refined-front .contact-layout{grid-template-columns:1fr;gap:32px}
 .refined-front .brand-panel{min-height:280px}
 .refined-front .contact-form{padding:24px}
 .refined-front .service-row{grid-template-columns:1fr 24px;gap:8px 16px}
 .refined-front .service-row h3{font-size:21px}
 .refined-front .service-row p{font-size:15px;grid-column:1;grid-row:2}
}
/* Service detail shares the grid and typography; reading stays spacious. */
.service-detail .page-heading{padding:48px 0}
.service-detail .page-heading h1{font-size:clamp(36px,4vw,56px);line-height:1.45;letter-spacing:-.02em}
.service-detail .page-heading .small-label{font-size:14px;margin-bottom:16px}
.service-detail .page-heading>p:last-child{font-size:18px;margin-top:24px;max-width:60ch}
.service-detail .detail-layout{grid-template-columns:minmax(0,1fr) 288px;gap:64px;padding-bottom:32px}
.service-detail .summary-box{background:transparent;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:24px 0;border-radius:0}
.service-detail .summary-box .small-label{font-size:14px;color:var(--highlight)}
.service-detail .prose h2{font-size:28px;line-height:1.5;margin:40px 0 16px}
.service-detail .prose p,.service-detail .prose li{font-size:17px;line-height:1.95}
.service-detail .prose li{padding-block:4px}
.service-detail .consult-panel{padding:24px;background:var(--surface);border:1px solid var(--border);border-radius:12px}
.service-detail .consult-panel h3{font-size:28px;line-height:1.5;margin-bottom:16px}
.service-detail .consult-panel p{font-size:15px;line-height:1.9}
.service-detail .consult-panel nav{font-size:14px}
.service-detail .consult-panel .small-label{font-size:13px;margin-bottom:16px;display:block}
.refined-front main,.refined-front .scroll-particle-layer{transition:opacity .18s ease}
.refined-front.page-leaving main,.refined-front.page-leaving .scroll-particle-layer{opacity:0}
@media(prefers-reduced-motion:no-preference){.service-detail main{animation:service-page-arrive .55s ease-out}@keyframes service-page-arrive{from{opacity:.4}to{opacity:1}}}
@media(max-width:760px){
 .service-detail .detail-layout{grid-template-columns:1fr;gap:32px}
 .service-detail .page-heading{padding:32px 0}
 .service-detail .page-heading h1{font-size:34px}
 .service-detail .page-heading>p:last-child{font-size:16px;margin-top:16px}
 .service-detail .prose h2{font-size:24px;margin-top:32px}
 .service-detail .prose p,.service-detail .prose li{font-size:16px}
 .service-detail .consult-panel{position:static}
}
.refined-front{--content-width:1120px;--display-size:clamp(36px,3.4vw,48px)}
.refined-front .container{width:min(var(--content-width),calc(100% - 96px))}
.refined-front .site-header{width:min(var(--content-width),calc(100% - 96px));height:88px;margin-inline:auto;padding-inline:0;gap:24px}
.refined-front .site-header nav{gap:24px;font-size:15px}
.refined-front .nav-contact{font-size:14px}
.refined-front .brand{font-size:18px}
.refined-front h2,.refined-front h3{text-wrap:balance}
.refined-front .text-link{font-size:15px;gap:12px}
.refined-front .button{font-size:15px;min-height:48px;padding:12px 24px}
.refined-front em{color:var(--highlight)}
.refined-front .hero{height:calc(100svh - 88px);min-height:640px;max-height:960px}
.refined-front .hero-copy p{font-size:16px;line-height:1.8}
.refined-front .introduction{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:start;padding:96px 0 64px}
.refined-front .introduction h2{font-size:var(--display-size);line-height:1.5;letter-spacing:-.02em}
.refined-front .intro-description{display:block;margin:8px 0 0}
.refined-front .intro-description p{font-size:17px;line-height:1.9;max-width:42ch}
.refined-front .intro-description .text-link{margin-top:24px}
.refined-front .section{padding:64px 0}
.refined-front .section-heading{align-items:center;gap:32px;margin-bottom:32px}
.refined-front .section-heading h2,.refined-front .faq-section h2{font-size:36px;line-height:1.5;letter-spacing:-.02em}
.refined-front .section-heading p{font-size:16px;line-height:1.9}
.refined-front .category-rows>a{padding:32px 0;gap:24px;min-height:128px}
.refined-front .category-symbol{width:40px;color:var(--primary)}
.refined-front .category-symbol svg{width:24px;height:24px}
.refined-front .category-rows h3{font-size:26px}
.refined-front .category-rows p{font-size:16px;margin-top:8px}
.refined-front .category-rows>a>svg{width:20px;height:20px}
.refined-front .industry-band{background:transparent;padding:64px 0}
.refined-front .industry-band .section-heading{align-items:start;margin-bottom:40px}
.refined-front .industry-band h2{font-size:36px;line-height:1.5}
.refined-front .industry-grid{gap:0 32px}
.refined-front .industry-grid a{font-size:16px;padding:24px 0;min-height:88px;border-color:var(--border)}
.refined-front .steps{gap:32px}
.refined-front .steps h3{font-size:24px;margin:16px 0 8px}
.refined-front .steps p{font-size:16px;line-height:1.9}
.refined-front .article-grid{gap:32px}
.refined-front .article-art{height:208px;background:var(--surface)}
.refined-front .article-card h3{font-size:22px;line-height:1.6;margin-bottom:12px}
.refined-front .article-card p{font-size:16px;line-height:1.8}
.refined-front .article-meta{font-size:13px;margin:24px 0 12px}
.refined-front .article-link{font-size:15px}
.refined-front .faq-section{grid-template-columns:1fr 1.4fr;gap:64px}
.refined-front summary{font-size:17px;padding-block:24px}
.refined-front .faq-section details p{font-size:16px;line-height:1.9}
.refined-front .cta{padding:64px 0;margin-top:32px;gap:64px;border-top:1px solid var(--border);align-items:center}
.refined-front .cta .small-label{display:none}
.refined-front .cta h2{font-size:var(--display-size);line-height:1.5}
.refined-front .cta p{font-size:16px;line-height:1.9}
.refined-front .footer{margin-top:32px;padding-top:32px}
.refined-front .footer-links{font-size:14px}
.refined-front .breadcrumb{padding-top:24px;font-size:13px}
.refined-front .services-heading{padding:56px 0 48px;display:flex;align-items:center;justify-content:space-between;gap:48px}
.refined-front .services-heading h1{font-size:56px;line-height:1.4;letter-spacing:-.025em}
.refined-front .services-heading p{font-size:18px;line-height:1.85;color:var(--muted);margin-top:24px}
.service-dots{width:192px;height:120px;color:var(--primary);opacity:.55;flex-shrink:0}
.refined-front .tabs{gap:8px;margin-bottom:0;padding-bottom:32px;border-bottom:1px solid var(--border)}
.refined-front .tabs a{font-size:15px;padding:8px 20px;border-color:transparent;min-height:48px;display:flex;align-items:center}
.refined-front .tabs a.active{color:var(--highlight);border-color:#65542b;background:var(--background)}
.refined-front .tabs a:hover{background:var(--surface);color:var(--foreground)}
.service-group{display:grid;grid-template-columns:280px minmax(0,1fr);gap:64px;padding:48px 0;border-bottom:1px solid var(--border)}
.service-group:last-child{border-bottom:0}
.group-icon{display:block;color:var(--primary);margin-bottom:24px}
.service-group-intro h2{font-size:28px;line-height:1.5;margin-bottom:12px}
.service-group-intro p{font-size:16px;line-height:1.9;color:var(--muted);max-width:26ch}
.directory-link{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:116px;padding:24px 0;border-top:1px solid var(--border)}
.directory-link:first-child{border-top:0;padding-top:0;min-height:92px}
.directory-link h3{font-size:22px;line-height:1.5}
.directory-link p{font-size:16px;line-height:1.8;color:var(--muted);margin-top:8px;max-width:54ch}
.directory-arrow{width:40px;height:40px;border:1px solid var(--border);border-radius:50%;display:grid;place-items:center;color:var(--primary);flex-shrink:0;transition:background .18s,border-color .18s}
.directory-link:hover h3{color:var(--highlight)}
.directory-link:hover .directory-arrow{border-color:var(--primary);background:var(--border-gold)}
@media(max-width:1000px){
 .refined-front .container,.refined-front .site-header{width:calc(100% - 64px)}
 .refined-front .site-header nav{gap:16px;font-size:14px}
 .refined-front .nav-contact{font-size:13px}
 .refined-front .introduction{gap:40px}
 .service-group{grid-template-columns:224px minmax(0,1fr);gap:40px}
 .refined-front .section-heading h2,.refined-front .industry-band h2{font-size:32px}
}
@media(max-width:760px){
 .refined-front .container,.refined-front .site-header{width:calc(100% - 40px)}
 .refined-front .site-header{height:80px;gap:12px}
 .refined-front .brand{font-size:16px}
 .refined-front .site-header nav{left:0;right:0;font-size:16px;gap:16px}
 .refined-front .nav-contact{font-size:12px}
 .refined-front .hero{height:calc(100svh - 80px);min-height:620px}
 .refined-front .hero-copy p{font-size:14px}
 .refined-front .hero .button{font-size:14px;padding:12px 20px}
 .refined-front .introduction{grid-template-columns:1fr;gap:24px;padding:64px 0 32px}
 .refined-front .introduction h2{font-size:34px}
 .refined-front .intro-description{margin:0}
 .refined-front .intro-description p{font-size:16px}
 .refined-front .section,.refined-front .industry-band{padding:40px 0}
 .refined-front .section-heading{align-items:start;gap:16px;margin-bottom:24px}
 .refined-front .section-heading h2,.refined-front .industry-band h2,.refined-front .faq-section h2{font-size:28px}
 .refined-front .category-rows>a{gap:16px;min-height:120px;padding:24px 0}
 .refined-front .category-symbol{width:24px}
 .refined-front .category-rows h3{font-size:22px}
 .refined-front .category-rows p{font-size:15px;max-width:none}
 .refined-front .industry-grid{gap:0 24px}
 .refined-front .industry-grid a{font-size:15px;min-height:96px}
 .refined-front .steps{gap:24px}
 .refined-front .steps h3{font-size:22px;margin:0}
 .refined-front .article-grid{gap:40px}
 .refined-front .article-art{height:208px}
 .refined-front .faq-section{grid-template-columns:1fr;gap:24px}
 .refined-front summary{font-size:16px}
 .refined-front .cta{margin-top:24px;padding:48px 0;gap:24px;align-items:start}
 .refined-front .cta h2{font-size:34px}
 .refined-front .services-heading{padding:32px 0;gap:16px}
 .refined-front .services-heading h1{font-size:36px}
 .refined-front .services-heading p{font-size:16px;margin-top:16px}
 .service-dots{display:none}
 .refined-front .tabs{gap:8px;padding-bottom:24px}
 .refined-front .tabs a{font-size:14px;padding:8px 16px}
 .service-group{grid-template-columns:1fr;gap:24px;padding:32px 0}
 .service-group-intro{display:grid;grid-template-columns:24px 1fr;gap:8px 16px}
 .group-icon{margin:4px 0 0}
 .service-group-intro h2{font-size:24px;margin:0}
 .service-group-intro p{grid-column:2;font-size:15px;max-width:none}
 .directory-link,.directory-link:first-child{padding:24px 0;min-height:120px;gap:16px;border-top:1px solid var(--border)}
 .directory-link h3{font-size:20px}
 .directory-link p{font-size:15px;line-height:1.8}
 .directory-arrow{width:32px;height:32px}
 .directory-arrow svg{width:16px;height:16px}
}
