/* =========================================================
   UMAIR KHAN — PORTFOLIO DESIGN SYSTEM
   Palette: deep navy/charcoal + muted gold + emerald
   Display: Space Grotesk / Body: Inter / Data: IBM Plex Mono
   ========================================================= */

:root{
  --navy-950:#05070d;
  --navy-900:#0a0e1a;
  --navy-850:#0d1322;
  --charcoal-800:#121828;
  --charcoal-700:#1a2135;
  --charcoal-600:#232c45;

  --gold:#c9a24d;
  --gold-bright:#e0bd6e;
  --emerald:#17a67a;
  --emerald-bright:#22c793;

  --text-primary:#f2f4f9;
  --text-muted:#9aa3b8;
  --text-faint:#5f6a82;

  --border-soft: rgba(201,162,77,0.22);
  --border-emerald-soft: rgba(34,199,147,0.22);

  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'IBM Plex Mono', monospace;

  --ease-out: cubic-bezier(.16,.84,.32,1);
  --section-pad: 128px;
}

*{ box-sizing:border-box; margin:0; padding:0; }

html{ scroll-behavior:smooth; }

body{
  background:var(--navy-950);
  color:var(--text-primary);
  font-family:var(--font-body);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

img, svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font:inherit; background:none; border:none; cursor:pointer; color:inherit; }

.section-inner{
  max-width:1180px;
  margin:0 auto;
  padding:0 32px;
}
.section-inner--wide{ max-width:1400px; }

.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--gold-bright);
  margin-bottom:14px;
  font-weight:500;
}

.section-title{
  font-family:var(--font-display);
  font-size:clamp(28px,3.4vw,42px);
  font-weight:600;
  letter-spacing:-0.01em;
  max-width:640px;
}

.section-head{ margin-bottom:56px; }

/* -------- Page header (used at the top of every inner page) -------- */
.page-header{
  padding:76px 0 40px;
  text-align:center;
}
.page-header .section-inner{ max-width:720px; }
.page-title{
  font-family:var(--font-display);
  font-size:clamp(36px,5vw,54px);
  font-weight:700;
  letter-spacing:-0.02em;
  margin-bottom:16px;
}
.page-sub{
  color:var(--text-muted);
  font-size:16px;
  max-width:560px;
  margin:0 auto;
}

.accent-gold{ color:var(--gold-bright); }
.accent-emerald{ color:var(--emerald-bright); }

/* ---------- Ambient background ---------- */
.ambient-bg{
  position:fixed;
  inset:0;
  z-index:0;
  overflow:hidden;
  pointer-events:none;
}
.glow{
  position:absolute;
  border-radius:50%;
  filter:blur(90px);
  opacity:0.28;
  will-change:transform, opacity;
}
.glow-gold{
  width:520px; height:520px;
  top:-120px; left:-100px;
  background:radial-gradient(circle, var(--gold) 0%, transparent 70%);
  animation: drift-a 26s ease-in-out infinite;
}
.glow-emerald{
  width:620px; height:620px;
  top:35%; right:-180px;
  background:radial-gradient(circle, var(--emerald) 0%, transparent 70%);
  animation: drift-b 32s ease-in-out infinite;
}
.glow-navy{
  width:700px; height:700px;
  bottom:-260px; left:20%;
  background:radial-gradient(circle, #2c3a63 0%, transparent 72%);
  opacity:0.4;
  animation: drift-c 38s ease-in-out infinite;
}
@keyframes drift-a{
  0%,100%{ transform:translate(0,0) scale(1); opacity:0.24; }
  50%{ transform:translate(60px,50px) scale(1.15); opacity:0.34; }
}
@keyframes drift-b{
  0%,100%{ transform:translate(0,0) scale(1); opacity:0.22; }
  50%{ transform:translate(-70px,40px) scale(1.1); opacity:0.3; }
}
@keyframes drift-c{
  0%,100%{ transform:translate(0,0) scale(1); opacity:0.32; }
  50%{ transform:translate(40px,-40px) scale(1.08); opacity:0.42; }
}

main, .site-header, .site-footer{ position:relative; z-index:1; }

/* ---------- Scroll reveal system ---------- */
.reveal-init{ opacity:0; transform:translateY(22px); }
.reveal-init.in-view{
  animation: reveal-up 0.9s var(--ease-out) forwards;
}
.reveal-delay-1.in-view{ animation-delay:.05s; }
.reveal-delay-2.in-view{ animation-delay:.15s; }
.reveal-delay-3.in-view{ animation-delay:.25s; }
.reveal-delay-4.in-view{ animation-delay:.35s; }
.reveal-delay-5.in-view{ animation-delay:.45s; }
.reveal-delay-6.in-view{ animation-delay:.55s; }

.reveal-on-scroll{
  opacity:0;
  transform:translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-on-scroll.in-view{ opacity:1; transform:translateY(0); }

@keyframes reveal-up{
  from{ opacity:0; transform:translateY(22px); }
  to{ opacity:1; transform:translateY(0); }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header{
  position:sticky; top:0;
  z-index:50;
  background:rgba(5,7,13,0.7);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.nav-wrap{
  max-width:1180px;
  margin:0 auto;
  padding:18px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.nav-logo{ display:flex; align-items:center; gap:10px; }
.nav-logo-mark{ width:28px; height:28px; }
.nav-logo-text{
  font-family:var(--font-display);
  font-weight:600;
  font-size:17px;
  letter-spacing:-0.01em;
}
.nav-links{ display:flex; align-items:center; gap:26px; }
.nav-link{
  font-size:14.5px;
  color:var(--text-muted);
  transition:color .25s ease;
  position:relative;
}
.nav-link:hover{ color:var(--text-primary); }
.nav-link::after{
  content:'';
  position:absolute; left:0; bottom:-6px;
  width:0; height:1px;
  background:linear-gradient(90deg,var(--gold),var(--emerald));
  transition:width .3s ease;
}
.nav-link:hover::after{ width:100%; }
.nav-link--cta{
  color:var(--navy-950);
  background:linear-gradient(120deg,var(--gold-bright),var(--emerald-bright));
  padding:9px 18px;
  border-radius:999px;
  font-weight:600;
}
.nav-link--cta::after{ display:none; }
.nav-link--cta:hover{ filter:brightness(1.08); color:var(--navy-950); }

.nav-toggle{ display:none; flex-direction:column; gap:5px; padding:6px; }
.nav-toggle span{ width:22px; height:2px; background:var(--text-primary); border-radius:2px; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  min-height:92vh;
  display:flex;
  align-items:center;
  padding:80px 32px 60px;
  position:relative;
}
.hero-inner{
  max-width:1180px;
  margin:0 auto;
  width:100%;
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:64px;
  align-items:center;
}

/* photo */
.hero-photo-col{ display:flex; justify-content:center; }
.photo-frame{
  position:relative;
  width:320px;
  aspect-ratio:3/3.4;
}
.photo-ring{
  position:absolute;
  border-radius:28px;
  border:1px solid var(--border-soft);
  pointer-events:none;
}
.photo-ring--outer{
  inset:-18px;
  animation: ring-pulse 5s ease-in-out infinite;
}
.photo-ring--inner{
  inset:-8px;
  border-color:var(--border-emerald-soft);
  animation: ring-pulse 5s ease-in-out infinite 0.6s;
}
@keyframes ring-pulse{
  0%,100%{ opacity:0.45; transform:scale(1); }
  50%{ opacity:0.9; transform:scale(1.015); }
}
.photo-mask{
  width:100%; height:100%;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 30px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  position:relative;
  clip-path:inset(0 0 0 0);
  animation: photo-wipe 1.3s var(--ease-out) 0.2s both;
}
@keyframes photo-wipe{
  from{ clip-path:inset(0 0 100% 0); opacity:0.4; }
  to{ clip-path:inset(0 0 0% 0); opacity:1; }
}
.photo-placeholder{ width:100%; height:100%; }
.photo-badge{
  position:absolute;
  bottom:12px; left:50%;
  transform:translateX(-50%);
  background:rgba(5,7,13,0.85);
  border:1px solid var(--border-soft);
  color:var(--text-muted);
  font-family:var(--font-mono);
  font-size:10.5px;
  letter-spacing:0.03em;
  padding:6px 12px;
  border-radius:999px;
  white-space:nowrap;
}

/* text */
.hero-name{
  font-family:var(--font-display);
  font-size:clamp(38px,5vw,58px);
  font-weight:700;
  letter-spacing:-0.02em;
  line-height:1.05;
  margin-bottom:10px;
}
.hero-title{
  font-size:clamp(16px,1.6vw,19px);
  color:var(--text-muted);
  font-weight:500;
  margin-bottom:22px;
}
.hero-tagline{
  font-family:var(--font-display);
  font-size:clamp(22px,2.6vw,30px);
  font-weight:600;
  color:var(--gold-bright);
  line-height:1.3;
  margin-bottom:20px;
  max-width:560px;
}
.hero-sub{
  color:var(--text-muted);
  font-size:16px;
  max-width:480px;
  margin-bottom:36px;
}
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; }

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 26px;
  border-radius:12px;
  font-size:15px;
  font-weight:600;
  font-family:var(--font-body);
  transition: transform .3s var(--ease-out), box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.btn svg{ transition:transform .3s ease; }
.btn:hover svg{ transform:translateX(3px); }
.btn-primary{
  background:linear-gradient(120deg,var(--gold-bright),var(--emerald-bright));
  color:var(--navy-950);
  box-shadow:0 12px 30px -10px rgba(201,162,77,0.35);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 36px -10px rgba(34,199,147,0.4); }
.btn-large{ padding:18px 32px; font-size:16px; }
.btn-ghost{
  border:1px solid rgba(255,255,255,0.14);
  color:var(--text-primary);
}
.btn-ghost:hover{ border-color:var(--gold-bright); color:var(--gold-bright); transform:translateY(-2px); }
.btn-outline{
  border:1px solid var(--border-soft);
  color:var(--text-primary);
  padding:14px 28px;
}
.btn-outline:hover{ border-color:var(--emerald-bright); color:var(--emerald-bright); transform:translateY(-2px); }

.scroll-cue{
  position:absolute;
  bottom:28px; left:50%;
  transform:translateX(-50%);
  width:22px; height:36px;
  border:1.5px solid rgba(255,255,255,0.2);
  border-radius:20px;
}
.scroll-cue span{
  position:absolute;
  top:7px; left:50%;
  transform:translateX(-50%);
  width:4px; height:4px;
  border-radius:50%;
  background:var(--gold-bright);
  animation:scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot{
  0%{ opacity:1; top:7px; }
  70%{ opacity:0; top:20px; }
  100%{ opacity:0; top:7px; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats{ padding:80px 0 var(--section-pad); }
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:rgba(255,255,255,0.07);
  border:1px solid rgba(255,255,255,0.07);
  border-radius:20px;
  overflow:hidden;
}
.stat-card{
  background:var(--navy-900);
  padding:40px 24px;
  text-align:center;
}
.stat-number{
  font-family:var(--font-mono);
  font-size:clamp(30px,3.6vw,44px);
  font-weight:600;
  background:linear-gradient(120deg,var(--gold-bright),var(--emerald-bright));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  margin-bottom:8px;
}
.stat-label{
  font-size:13.5px;
  color:var(--text-muted);
  letter-spacing:0.01em;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services{ padding-bottom:var(--section-pad); }
.services-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.service-card{
  background:linear-gradient(160deg,var(--charcoal-800),var(--navy-900));
  border:1px solid rgba(255,255,255,0.06);
  border-radius:18px;
  padding:32px 26px;
  transition: transform .35s var(--ease-out), border-color .35s ease, box-shadow .35s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  border-color:var(--border-emerald-soft);
  box-shadow:0 20px 40px -18px rgba(0,0,0,0.5);
}
.service-icon{
  display:flex; align-items:center; justify-content:center;
  width:52px; height:52px;
  border-radius:14px;
  background:rgba(201,162,77,0.08);
  color:var(--gold-bright);
  margin-bottom:22px;
}
.service-icon svg{ width:24px; height:24px; }
.service-title{
  font-family:var(--font-display);
  font-size:17.5px;
  font-weight:600;
  margin-bottom:10px;
}
.service-desc{
  font-size:14.5px;
  color:var(--text-muted);
  line-height:1.55;
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
.case-studies{ padding-bottom:var(--section-pad); }
.case-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.case-card{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.07);
  background:radial-gradient(120% 140% at 0% 0%, var(--charcoal-700) 0%, var(--navy-900) 60%);
  aspect-ratio:4/5;
  cursor:default;
}
.case-card-inner{
  position:absolute; inset:0;
  padding:26px;
  display:flex; flex-direction:column; justify-content:flex-end;
  transition:transform .5s var(--ease-out);
}
.case-card:hover .case-card-inner{ transform:scale(1.05); }
.case-tag{
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:0.06em;
  text-transform:uppercase;
  color:var(--text-faint);
  margin-bottom:14px;
}
.case-metric{
  font-family:var(--font-display);
  font-size:22px;
  font-weight:600;
  line-height:1.3;
  margin-bottom:10px;
}
.case-note{
  font-size:13px;
  color:var(--text-muted);
  line-height:1.5;
}
.case-card::before{
  content:'';
  position:absolute; inset:0;
  background:radial-gradient(circle at 30% 20%, rgba(201,162,77,0.16), transparent 55%);
  opacity:0;
  transition:opacity .5s ease;
}
.case-card:hover::before{ opacity:1; }

.case-cta{ text-align:center; margin-top:44px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials{ padding-bottom:var(--section-pad); }
.testi-slider{ position:relative; max-width:760px; margin:0 auto; }
.testi-track{
  display:flex;
  transition:transform .6s var(--ease-out);
}
.testi-card{
  min-width:100%;
  background:linear-gradient(160deg,var(--charcoal-800),var(--navy-900));
  border:1px solid rgba(255,255,255,0.07);
  border-radius:20px;
  padding:48px 44px;
  text-align:center;
}
.testi-quote{
  font-family:var(--font-display);
  font-size:19px;
  line-height:1.55;
  font-weight:500;
  color:var(--text-primary);
  margin-bottom:26px;
}
.testi-quote::before{ content:'"'; color:var(--gold-bright); }
.testi-author{ display:flex; flex-direction:column; gap:3px; }
.testi-name{ font-weight:600; font-size:14.5px; }
.testi-role{ font-size:13px; color:var(--text-muted); }

.testi-controls{
  display:flex; align-items:center; justify-content:center;
  gap:22px; margin-top:30px;
}
.testi-arrow{
  width:38px; height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.14);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted);
  transition:border-color .25s ease, color .25s ease;
}
.testi-arrow:hover{ border-color:var(--gold-bright); color:var(--gold-bright); }
.testi-dots{ display:flex; gap:9px; }
.testi-dot{
  width:7px; height:7px;
  border-radius:50%;
  background:rgba(255,255,255,0.18);
  transition:background .3s ease, transform .3s ease;
}
.testi-dot.is-active{
  background:linear-gradient(120deg,var(--gold-bright),var(--emerald-bright));
  transform:scale(1.25);
}

/* ============================================================
   CERTIFICATIONS MARQUEE
   ============================================================ */
.certs{ padding-bottom:var(--section-pad); }
.certs-eyebrow{ text-align:center; margin-bottom:36px; }
.marquee{
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,0.07);
  border-bottom:1px solid rgba(255,255,255,0.07);
  padding:26px 0;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.marquee-track{
  display:flex;
  align-items:center;
  width:max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-item{
  font-family:var(--font-mono);
  font-size:14.5px;
  letter-spacing:0.02em;
  color:var(--text-muted);
  white-space:nowrap;
  padding:0 22px;
}
.marquee-dot{ color:var(--gold-bright); opacity:0.6; }
@keyframes marquee-scroll{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* ============================================================
   CLOSING CTA
   ============================================================ */
.closing-cta{ padding-bottom:var(--section-pad); }
.closing-inner{
  text-align:center;
  max-width:640px;
  margin:0 auto;
  background:linear-gradient(160deg,var(--charcoal-800),var(--navy-900));
  border:1px solid var(--border-soft);
  border-radius:26px;
  padding:72px 48px;
  position:relative;
  overflow:hidden;
}
.closing-inner::before{
  content:'';
  position:absolute; inset:-40%;
  background:radial-gradient(circle at 50% 0%, rgba(34,199,147,0.14), transparent 60%);
  pointer-events:none;
}
.closing-inner .eyebrow{ position:relative; }
.closing-title{
  font-family:var(--font-display);
  font-size:clamp(26px,3.2vw,36px);
  font-weight:600;
  margin-bottom:16px;
  position:relative;
}
.closing-sub{
  color:var(--text-muted);
  font-size:15.5px;
  margin-bottom:34px;
  position:relative;
}
.closing-inner .btn{ position:relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{
  border-top:1px solid rgba(255,255,255,0.07);
  padding-top:64px;
}
.footer-inner{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:40px;
  padding-bottom:48px;
}
.footer-brand{ display:flex; flex-direction:column; gap:16px; max-width:280px; }
.footer-tagline{ color:var(--text-muted); font-size:14px; line-height:1.6; }
.footer-col-title{
  display:block;
  font-family:var(--font-mono);
  font-size:11.5px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--text-faint);
  margin-bottom:16px;
}
.footer-links{ display:flex; flex-direction:column; gap:12px; }
.footer-links a{ font-size:14px; color:var(--text-muted); transition:color .25s ease; width:fit-content; }
.footer-links a:hover{ color:var(--gold-bright); }
.social-icons{ display:flex; gap:12px; }
.social-icon{
  width:38px; height:38px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.1);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-muted);
  transition:color .25s ease, border-color .25s ease, transform .25s ease;
}
.social-icon:hover{ color:var(--navy-950); background:linear-gradient(120deg,var(--gold-bright),var(--emerald-bright)); border-color:transparent; transform:translateY(-3px); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.06);
  padding:22px 32px;
  text-align:center;
}
.footer-bottom p{ font-size:12.5px; color:var(--text-faint); }

/* ============================================================
   THEME OVERRIDES — set via <html data-theme="..."> by site-render.js
   Default (no attribute, or "midnight-navy") uses the :root values above.
   ============================================================ */
html[data-theme="charcoal-gold"]{
  --navy-950:#0e0d0b;
  --navy-900:#161310;
  --navy-850:#1a1613;
  --charcoal-800:#1c1814;
  --charcoal-700:#241f19;
  --charcoal-600:#2c251e;
  --gold:#c9a24d;
  --gold-bright:#eec873;
  --emerald:#a5793a;
  --emerald-bright:#c9a24d;
  --border-soft: rgba(238,200,115,0.24);
  --border-emerald-soft: rgba(201,162,77,0.24);
}
html[data-theme="slate-emerald"]{
  --navy-950:#070b0d;
  --navy-900:#0c1315;
  --navy-850:#0f1719;
  --charcoal-800:#101a1c;
  --charcoal-700:#172325;
  --charcoal-600:#1f2c2f;
  --gold:#4fae8c;
  --gold-bright:#6fd9b0;
  --emerald:#12b57e;
  --emerald-bright:#16d18a;
  --border-soft: rgba(111,217,176,0.22);
  --border-emerald-soft: rgba(22,209,138,0.24);
}
html[data-theme="deep-graphite"]{
  --navy-950:#08090b;
  --navy-900:#0e1013;
  --navy-850:#121417;
  --charcoal-800:#15171b;
  --charcoal-700:#1c1f24;
  --charcoal-600:#25292f;
  --gold:#a9b1bc;
  --gold-bright:#d7dde3;
  --emerald:#2d94d1;
  --emerald-bright:#3fb8ff;
  --border-soft: rgba(215,221,227,0.2);
  --border-emerald-soft: rgba(63,184,255,0.24);
}

@media (max-width:1024px){
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .case-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-inner{ grid-template-columns:1fr 1fr; }
}

@media (max-width:860px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background:rgba(5,7,13,0.97);
    backdrop-filter:blur(14px);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:8px 32px 20px;
    border-bottom:1px solid rgba(255,255,255,0.07);
    transform:translateY(-8px);
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease, transform .25s ease;
  }
  .nav-links.is-open{ opacity:1; transform:translateY(0); pointer-events:auto; }
  .nav-link{ width:100%; padding:13px 0; border-bottom:1px solid rgba(255,255,255,0.05); }
  .nav-link--cta{ margin-top:12px; text-align:center; }
  .nav-toggle{ display:flex; }

  .hero-inner{ grid-template-columns:1fr; text-align:center; }
  .hero-photo-col{ order:-1; margin-bottom:12px; }
  .photo-frame{ width:240px; }
  .hero-cta{ justify-content:center; }
  .hero-sub{ margin-left:auto; margin-right:auto; }
}

@media (max-width:640px){
  :root{ --section-pad:84px; }
  .stats-grid{ grid-template-columns:1fr 1fr; }
  .services-grid{ grid-template-columns:1fr; }
  .case-grid{ grid-template-columns:1fr; }
  .case-card{ aspect-ratio:5/4; }
  .footer-inner{ grid-template-columns:1fr; }
  .testi-card{ padding:36px 26px; }
  .closing-inner{ padding:48px 26px; }
}
