/* One collection rhythm: six cards, three / two / one columns. */
.page-home #featured-services,.page-home #latest-blogs,.page-home #home-tools{padding-block:64px 16px;border-bottom:1px solid var(--border)}
.page-home #featured-services>.card-grid,.page-home #latest-blogs>.card-grid,.page-home #home-tools>.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:32px}
.page-home .section-index{font-size:13px;font-family:monospace;color:var(--accent-text);vertical-align:middle;margin-left:12px;letter-spacing:.1em}
.page-home .home-toolkit .compact-card .card-body{grid-template-columns:76px minmax(0,1fr);grid-template-rows:auto auto auto;padding:22px;gap:17px 15px}
.page-home .home-toolkit .compact-card .card-meta{grid-column:1;grid-row:1;gap:9px}
.page-home .home-toolkit .compact-card .compact-thumbnail{width:76px;height:52px;object-fit:cover;border-radius:8px}
.page-home .home-toolkit .compact-card h3{grid-column:2;align-self:start;font-size:16px;line-height:1.55}
.page-home .home-toolkit .compact-card p{grid-column:1/-1;font-size:13px;line-height:1.8}
.page-home .home-toolkit .compact-card .card-link{grid-column:1/-1;align-self:end}
.page-home .original-metrics{margin-top:50px;padding:0;border:1px solid var(--border);border-radius:18px;background:var(--surface);overflow:hidden}
.page-home .original-metrics .stats-bar{padding-block:34px}
.page-home .original-metrics strong{font-variant-numeric:tabular-nums;font-size:clamp(25px,2.4vw,36px);letter-spacing:-.04em}
.page-home .original-metrics small{font-size:11px;margin-top:7px}
.page-home .restored-team-grid{gap:24px}
.page-home .restored-team-card{grid-template-columns:116px minmax(0,1fr);gap:8px 24px;padding:30px;border:1px solid var(--border);border-radius:20px;overflow:hidden;background:linear-gradient(145deg,var(--accent-soft),transparent 50%),var(--surface)}
.page-home .restored-team-card img{width:116px;height:132px;grid-row:1/4;object-fit:cover;border-radius:12px;border:1px solid var(--border)}
.page-home .restored-team-card h3{align-self:end;margin:0;font-size:26px;line-height:1.25}
.page-home .restored-team-card>.eyebrow{align-self:start;line-height:1.8;margin:0;color:var(--accent-text)}
.page-home .restored-team-card p{grid-column:1/-1;margin:16px 0 0;padding-top:22px;font-size:13px;line-height:1.9}
.team-number{grid-column:2;grid-row:1;font-family:monospace;font-size:11px;letter-spacing:.15em;color:var(--muted)}
.page-home .testimonial-grid{gap:24px}
.page-home .testimonial{position:relative;overflow:hidden;border-radius:18px;padding:28px;background:var(--surface);border-top:3px solid var(--accent)}
.page-home .testimonial .quote-mark{font-size:74px;height:42px;opacity:.65}
.page-home .testimonial blockquote{font-size:14px;line-height:1.95;margin-top:18px}
.page-home .testimonial-person{gap:13px;align-items:center}
.feedback-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;font-weight:700;background:var(--accent-soft);color:var(--accent-text);border:1px solid var(--border)}
.search-workspace{padding-block:36px 70px}
.search-masthead{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:center;padding:42px;border:1px solid var(--border);border-radius:22px;background:radial-gradient(ellipse at 95% 0,var(--accent-soft),transparent 60%),var(--surface);margin-bottom:30px}
.search-masthead h1{font-size:clamp(28px,3.5vw,48px);max-width:800px;overflow-wrap:anywhere;margin:12px 0}
.search-masthead p{max-width:650px;margin:0;font-size:15px}
.search-symbol{display:grid;place-items:center;width:100px;height:100px;border:1px solid var(--border);border-radius:24px;color:var(--accent-text);background:var(--accent-soft)}
.search-symbol .icon{width:40px;height:40px}
.search-workspace .catalog-toolbar{border:1px solid var(--border);padding:18px 22px;border-radius:14px;background:var(--surface);margin-bottom:25px}
.search-workspace .results-summary{padding:0 2px 20px;margin:0;gap:15px}
.search-workspace .empty-state{background:var(--surface);border:1px dashed var(--border);border-radius:18px;padding:60px 25px}
.search-workspace .empty-state>.icon{width:42px;height:42px;color:var(--accent-text);margin-bottom:18px}
.search-workspace .empty-state .btn{margin:6px}
@media(min-width:701px) and (max-width:1024px){
 .page-home #featured-services>.card-grid,.page-home #latest-blogs>.card-grid,.page-home #home-tools>.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .page-home .restored-team-card{padding:23px;grid-template-columns:80px minmax(0,1fr);gap:8px 16px}
 .page-home .restored-team-card img{width:80px;height:110px}.page-home .restored-team-card h3{font-size:21px}
}
@media(max-width:700px){
 .page-home #featured-services,.page-home #latest-blogs,.page-home #home-tools{padding-top:42px}
 .page-home #featured-services>.card-grid,.page-home #latest-blogs>.card-grid,.page-home #home-tools>.card-grid{grid-template-columns:minmax(0,1fr);gap:20px}
 .page-home .restored-team-card{padding:23px;grid-template-columns:84px minmax(0,1fr);gap:8px 18px}
 .page-home .restored-team-card img{width:84px;height:114px}.page-home .restored-team-card h3{font-size:22px}
 .page-home .testimonial{padding:25px}.page-home .testimonial blockquote{font-size:13px}
 .page-home .original-metrics .stats-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 0;padding:28px 10px}
 .page-home .original-metrics .stat-item{flex-direction:column;text-align:center;gap:10px}.page-home .original-metrics .stat-item:nth-child(2){border-right:0}
 .search-workspace{padding-top:22px}.search-masthead{padding:25px;grid-template-columns:1fr;gap:16px}.search-symbol{display:none}
 .search-masthead p{font-size:13px}.search-workspace .catalog-toolbar{padding:16px;gap:18px}.search-workspace .catalog-controls{flex-wrap:wrap}
}

@media(min-width:701px) and (prefers-reduced-motion:no-preference){
 .desktop-effects .page-home .resource-card,.desktop-effects .page-home .restored-team-card,.desktop-effects .page-home .testimonial{transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,border-color .3s ease;transition-delay:var(--reveal-delay,0ms)}
 .desktop-effects .page-home .reveal-pending{opacity:0;transform:translateY(36px) scale(.98)}

 .desktop-effects .page-home .hero-inner>.eyebrow,.desktop-effects .page-home .hero-inner>h1,.desktop-effects .page-home .hero-copy,.desktop-effects .page-home .hero-actions,.desktop-effects .page-home .hero-trust{animation:home-message-enter .85s cubic-bezier(.16,1,.3,1) both}
 .desktop-effects .page-home .hero-inner>.eyebrow{animation-delay:.05s}.desktop-effects .page-home .hero-inner>h1{animation-delay:.16s}.desktop-effects .page-home .hero-copy{animation-delay:.30s}.desktop-effects .page-home .hero-actions{animation-delay:.44s}.desktop-effects .page-home .hero-trust{animation-delay:.56s}
 @keyframes home-message-enter{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
}

@media(min-width:701px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .desktop-effects .page-home .resource-card:hover,.desktop-effects .page-home .restored-team-card:hover,.desktop-effects .page-home .testimonial:hover{transform:translateY(-7px);transition-delay:0ms;box-shadow:0 20px 45px #0002}
}
