/* Homepage layout — Task 3. Opt-in, does not change inner-page components. */
.home-hero { min-height: min(820px, 100svh); }
.home-hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(0, .85fr); gap: clamp(2rem,5vw,5rem); }
.home-hero-copy h1 { max-width: 13ch; font-size: clamp(3.1rem,6.7vw,6.3rem); }
.home-hero-copy .lead { max-width: 38rem; }
.home-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.8rem; margin-top:2rem; }
.home-hero-copy .home-hero-actions .btn { margin:0; min-height:46px; }
.home-secondary-action { border-color:var(--border); color:var(--text); }
.home-secondary-action:hover { border-color:var(--gold); }
.home-hero-caption { display:block; margin-top:2.25rem; font-size:.78rem; letter-spacing:.08em; color:var(--muted); }
.home-hero-visual { display:grid; place-items:center; min-width:0; }
.home-hero-visual .orb { justify-self:center; }
.home-hero-visual .hero-uploaded-image { width:100%; }
.home-hero-visual .hero-uploaded-image img { width:100%; max-height:500px; aspect-ratio:5/4; object-fit:cover; border:1px solid var(--border); border-radius:22px; }
.home-stats .strip-inner { grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:0; }
.home-stat { min-width:0; padding:1.5rem 2rem; }
.home-stat b { font-size:clamp(1.7rem,3vw,2.6rem); line-height:1.2; }
.home-stat span { display:block; margin-top:.4rem; font-size:.85rem; }
.home-section-head { display:flex; align-items:end; justify-content:space-between; flex-wrap:wrap; gap:1.25rem; margin-bottom:2.5rem; }
.home-section-head h2 { max-width:18ch; margin:0; }
.home-section-head .label { margin-bottom:.6rem; }
.home-section-head .lead { margin-top:1rem; margin-bottom:0; }
.home-text-link { color:var(--gold-bright); white-space:nowrap; font-size:.9rem; font-weight:600; padding:.55rem 0; }
.home-text-link:hover { text-decoration:underline; text-underline-offset:5px; }
.home-services { padding-bottom:clamp(3.5rem,7vw,6rem); }
.home-services-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.home-services-list .service { display:flex; gap:1.4rem; align-items:flex-start; min-width:0; padding:1.75rem; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--card); }
.home-services-list .service:hover { padding-left:1.75rem; background:var(--bg-2); }
.home-services-list .service-num { flex:0 0 auto; font-size:1rem; color:var(--gold); }
.home-services-list .service h3 { font-size:clamp(1.2rem,2vw,1.7rem); line-height:1.25; }
.home-services-list .service-tag { font-size:.9rem; line-height:1.55; }
.home-projects { padding-top:clamp(3rem,6vw,5.5rem); background:var(--bg-2); }
.home-project-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.5rem,3vw,2.5rem); margin-top:0; }
.home-project-grid .project { min-width:0; }
.home-project-grid .project-img { aspect-ratio:16/10; }
.home-project-grid .project-meta { gap:.75rem; }
.home-project-grid .project-meta h3 { font-size:1.15rem; }
.home-project-grid .project-meta p { font-size:.82rem; }
.home-project-grid .project-num { white-space:nowrap; }
.home-video { padding-top:clamp(4rem,7vw,6rem); }
.home-video .video-frame { max-width:1040px; margin:0 auto; }
@media (max-width: 860px) {
  .home-hero { min-height:auto; padding-top:calc(var(--nav-h) + 3rem); }
  .home-hero-grid { grid-template-columns:1fr; }
  .home-hero-copy h1 { max-width:15ch; }
  .home-hero-visual .orb { order:initial; max-width:240px; }
  .home-services-list { grid-template-columns:1fr; }
  .home-project-grid { grid-template-columns:1fr; }
  .home-stats .strip-inner { grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); }
}
@media (max-width: 520px) {
  .home-hero-copy h1 { font-size:clamp(2.7rem,12vw,4rem); }
  .home-hero-actions { align-items:stretch; }
  .home-hero-actions .btn { justify-content:center; width:100%; }
  .home-hero-caption { margin-top:1.5rem; }
  .home-stat { padding:1.2rem .85rem; }
  .home-services-list .service { padding:1.2rem; gap:.9rem; }
  .home-services-list .service:hover { padding-left:1.2rem; }
  .home-project-grid .project-meta { flex-wrap:wrap; }
}
