/* ============================================================
   SARVA MULTIMEDIA — PREMIUM REFINEMENT LAYER
   Loads after site.css. Refines the existing system:
   typography, light, glass, CTAs, motion. No structural changes.
   ============================================================ */

:root{
  --orange:#ff7a1f;
  --orange-deep:#e05e00;
  --orange-soft:#ffb26b;
  --bg:#07080b;
  --panel:#101218;
  --muted:#9ea0ab;
  --line:#ffffff1f;
  --glow:0 0 0 1px #ffffff14, 0 24px 60px -24px #000000cc;
  --font-display:'DM Sans','DM Sans Fallback',system-ui,sans-serif;
}

/* ---------- Typography: calmer, more editorial ---------- */
body{
  background:
    radial-gradient(1200px 700px at 85% -10%, #ff69000d, transparent 60%),
    radial-gradient(900px 600px at -10% 20%, #4d6bff08, transparent 55%),
    var(--bg);
  font-feature-settings:'ss01' on;
  letter-spacing:-.006em;
}
h1,h2{
  font-weight:600;
  letter-spacing:-.045em;
  line-height:1.02;
  background:linear-gradient(180deg,#ffffff 55%,#ffffffc4 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
h3{font-weight:600}
h1 em,h2 em{
  font-style:normal;
  background:linear-gradient(100deg,var(--orange-soft),var(--orange) 55%,var(--orange-deep));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
p{color:var(--muted);line-height:1.65}
::selection{background:#ff690033;color:#fff}

/* ---------- Header: floating, quieter, premium ---------- */
.site-header{
  backdrop-filter:blur(14px) saturate(1.3);
  -webkit-backdrop-filter:blur(14px) saturate(1.3);
  background:#07080bb8;
  border-bottom:1px solid var(--line);
}
.nav-capsule{border-radius:999px}
.nav-capsule a, .nav-capsule summary{transition:color .25s ease}
.nav-capsule a:hover, .nav-capsule summary:hover{color:var(--orange-soft)}

/* ---------- Glass: subtle, layered, not frosted-everything ---------- */
.glass{
  background:linear-gradient(140deg,#ffffff12,#ffffff05 45%,#ffffff0a);
  border:1px solid #ffffff38;
  box-shadow:
    inset 0 1px 0 #ffffff5c,
    inset 0 -1px 0 #ffffff12,
    0 20px 44px -20px #000000d9;
  backdrop-filter:blur(10px) saturate(1.25);
  -webkit-backdrop-filter:blur(10px) saturate(1.25);
}

/* ---------- Buttons: premium gradient + lift ---------- */
.pill{
  transition:transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.pill.primary{
  background:linear-gradient(135deg,#ff8a2b 0%,var(--orange) 45%,var(--orange-deep) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff73,
    0 10px 30px -10px #ff69006e,
    0 2px 6px #0006;
}
.pill.primary:hover{
  transform:translateY(-2px);
  box-shadow:
    inset 0 1px 0 #ffffff8c,
    0 18px 40px -12px #ff690096,
    0 4px 10px #0007;
}
.pill.glass:hover{border-color:#ffffff66;transform:translateY(-2px)}
.pill:active{transform:translateY(0)}

/* ---------- Cards: quieter borders, lift on hover ---------- */
.section .card, .work-card, .reel-card, .service-card{
  transition:transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.work-card:hover, .reel-card:hover, .service-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--glow);
}

/* ---------- Section rhythm & hairlines ---------- */
.border-top{border-top:1px solid var(--line)}

/* ---------- Cinematic reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference){
  .reveal{opacity:0;transform:translateY(22px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
  .reveal.in{opacity:1;transform:none}
  .reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}
}

/* ---------- Hero: vignette + grain for cinematic depth ---------- */
.sarva-hero{position:relative;overflow:hidden}
.sarva-hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(120% 90% at 50% 110%, #000000a8, transparent 55%),
    radial-gradient(80% 60% at 50% -10%, #ff690012, transparent 60%);
  z-index:1;
}
.sarva-hero > *{position:relative;z-index:2}

/* ---------- Stat numbers: tabular, confident ---------- */
.stat-num,.stat b,.home-stats b{font-variant-numeric:tabular-nums;letter-spacing:-.03em}

/* ---------- Footer ---------- */
.footer{border-top:1px solid var(--line)}

/* ---------- Forms: focused, premium ---------- */
input,textarea,select{
  background:#ffffff08;
  border:1px solid #ffffff2b;
  border-radius:14px;
  transition:border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
input:focus,textarea:focus,select:focus{
  border-color:#ff6900aa;
  box-shadow:0 0 0 4px #ff690022;
  background:#ffffff0d;
  outline:none;
}
input::placeholder,textarea::placeholder{color:#ffffff59}

/* ---------- Scrollbar (desktop) ---------- */
@media (pointer:fine){
  ::-webkit-scrollbar{width:10px}
  ::-webkit-scrollbar-thumb{background:#ffffff1f;border-radius:8px;border:2px solid var(--bg)}
  ::-webkit-scrollbar-thumb:hover{background:#ffffff33}
}

/* ---------- Mobile polish ---------- */
@media (max-width:720px){
  h1{letter-spacing:-.035em}
  .glass{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
}
