/* ====== Fonts ====== */
/* 1) Variable (primary) — Safari-friendly declaration */
/* Variable Satoshi */
@font-face{
  font-family: "Satoshi";
  src: url("/assets/fonts/Satoshi-Variable.woff2?v=3") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

/* ====== Global base ====== */
:root{
  --ui-font: "Satoshi", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body{
  margin:0;
  font-family: var(--ui-font);
  font-weight:400;
  color:#0c0c0c;
  background:#fff;
  line-height:1.5;
}

/* Optional: make variation explicit where supported */
@supports (font-variation-settings: normal) {
  body { font-variation-settings: "wght" 400; }
}

/* ============= Typedge — Global Styles (fluid) ============= */
:root{
  --container:max(280px, min(1200px, 92vw));
  --accent:#6F0CE2;

  /* Fluid header/nav sizing */
  --fs-nav: clamp(13px, 1.2vw + 8px, 18px);
  --logo-h: clamp(30px, 0.5vw + 28px, 34px);
  --nav-gap: clamp(20px, 2.2vw, 28px);
  --header-pad-y: clamp(16px, 0.5vw + 12px, 20px);

  /* Fluid hero type tokens */
  --fs-h1:  clamp(36px, 4vw + 20px, 58px);
  --lh-h1:  clamp(44px, 4.5vw + 16px, 66px);
  --fs-lead:clamp(18px, 1.2vw + 12px, 22px);

  /* Global spacing tokens */
  --hero-gap: 30px;

  --card-w:354px; --card-h:398px; --gap-col:120px;
  --caption-title-w:130px; --caption-gap:16px;
}

/* ===== Base ===== */
*{box-sizing:border-box}
html,body{height:100%}

img{display:block;max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
ul{margin:0;padding:0;list-style:none}
.container{width:var(--container);margin-inline:auto;padding-inline:16px}

/* ===== Header / Nav ===== */
.site-header{
  position:sticky;top:0;background:#fff;border-bottom:0 solid #eee;z-index:20;
  transition:transform .28s ease,opacity .28s ease,box-shadow .2s ease
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:var(--header-pad-y) 0}
.logo, .logo-link .logo{height:var(--logo-h)}
.nav ul{display:flex;gap:var(--nav-gap)}
.nav a{font-size:var(--fs-nav);padding-bottom:12px;opacity:.85;position:relative;transition:opacity .2s, transform .2s}
.nav a:hover{opacity:1;transform:translateY(-1px)}
.nav a.active{opacity:1}
/* dot scales with font size */
.nav-toggle{display:none;background:transparent;border:0}
.nav-toggle .bar{display:block;width:18px;height:2px;background:#111;margin:4px 0}
/* Desktop fallback dot only if JS didn't inject the .nav-dot */
@media (min-width: 761px){
  .nav:not(:has(.nav-dot)) a.active::after{
    content:'';
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    bottom:.2em;
    width:.45em;
    height:.45em;
    background:#000;
    border-radius:50%;
  }
}

/* Header variants */
.site-header.is-hidden{transform:translateY(-100%);opacity:.02;pointer-events:none}
.site-header.is-scrolled{box-shadow:0 1px 0 rgba(0,0,0,.06)}

/* ===== Mobile overlay ===== */
.mobile-menu[hidden]{display:none}
.mobile-menu{
  position:fixed;inset:0;background:#000;color:#fff;z-index:50;
  display:grid;grid-template-rows:auto 1fr auto;padding:18px;
  opacity:0;pointer-events:none;transition:opacity .25s ease
}
.site-header.menu-open ~ .mobile-menu{opacity:1;pointer-events:auto}
.mm-top{display:flex;justify-content:space-between;align-items:center}
.mm-close{font-size:28px;background:transparent;border:0;color:#fff}
.mm-nav{display:grid;gap:24px;margin:22px 0}
.mm-link{font-size:32px;color:#fff}
.mm-bottom{display:flex;justify-content:space-between;align-items:center}
.logo-invert{filter:invert(1) brightness(1.2)}
.body-lock{overflow:hidden}

/* ===== HERO (Home baseline) ===== */
.hero{min-height:800px;background:#F9F9F9;display:flex;align-items:flex-start}
.hero .container{padding-top:0}

/* Typography glue: works with .hero-title/.hero-copy OR plain h1/.lead */
.hero .hero-title, .hero h1{
  font-size:var(--fs-h1);
  line-height:var(--lh-h1);
  font-weight:400;
  margin:0;
}
/* Keep the big top pad only when you use the .hero-title class (Home) */
.hero .hero-title{ padding-top:100px; }

.hero .hero-copy, .hero .lead{
  font-size:var(--fs-lead);
  color:#444;
  max-width:760px;
  margin:var(--hero-gap) 0 0;
}

/* (unchanged) */
.showreel-card{
  margin-top:130px;
  width:100%;
  aspect-ratio:16/9;
  border-radius:16px;
  background:#000;
  position:relative;
  overflow:hidden;
  box-shadow:0 22px 60px rgba(0,0,0,.18);
}
.showreel-card video,
.showreel-card img{ width:100%; height:100%; object-fit:cover; display:block; }
.showreel-card iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.card-ph{ color:#fff; font-size:42px; font-weight:500; letter-spacing:.5px; }

/* ===== Projects intro under gray ===== */
.projects-intro{padding-top:80px}
.kicker{font-size:13px;font-weight:400;margin:0}
.projects-h2{margin:40px 0 0;font-size:33px;line-height:1.24;font-weight:300}
.projects-sub{margin:30px 0 0;font-size:15px;font-weight:500;color:#222;letter-spacing:.1px}

/* ===== Playbooks CTA (centered) ===== */
.playbooks{padding-top:230px; text-align:center;}
.playbooks-h{font-size:25px;font-weight:400;margin:0}
.btn-oval{
  display:inline-grid;place-items:center;margin-top:25px;width:200px;height:35px;
  border-radius:999px;border:1px solid #222;font-size:13px;
  transition:background .2s,color .2s,border-color .2s,transform .15s ease
}
.btn-oval:hover{background:#000;color:#fff;border-color:#000;transform:translateY(-1px)}

/* ===== Testimonial ===== */
/* Testimonials: let it grow and reserve room for controls */
.testimonial{
  margin-top:175px;
  background:#0b0b0c;
  color:#f5f5f5;
  padding:80px 0 120px;   /* bottom padding creates space for arrows/dots */
}
@media (max-width:760px){
  .testimonial{ padding:56px 0 140px; }
  .testimonial .t-title{ margin:0 0 18px; font-size:28px; }
  .testimonial .t-intro{ margin:0 auto 36px; }
  .t-lead{ font-size:22px; }
  .t-quote{ font-size:16px; }
}
.testimonial .inner{width:var(--container);padding-inline:16px;margin-inline:auto}
.testimonial .t-title{margin:110px 0 35px;font-size:35px;font-weight:500;text-align:center}
.testimonial .t-intro{margin:0 auto 110px;max-width:920px;text-align:center;color:#cfcfcf}
.t-stage{position:relative;min-height:230px;z-index:1}
.t-slide{position:absolute;inset:0;opacity:0;transition:opacity .3s ease}
.t-slide.is-active{opacity:1}
.t-lead{font-size:30px;margin:0 0 8px}
.t-quote{margin:0 0 14px;color:#d8d8d8}
.t-person{display:flex;gap:12px;align-items:center;justify-content:flex-start}
.t-person img{width:40px;height:40px;border-radius:50%}
.t-person .name{font-size:13px;color:#ddd}
.t-controls{display:flex;align-items:center;justify-content:center;gap:16px;margin:22px auto 0;position:relative;z-index:2}
.t-btn{background:transparent;border:1px solid #5a5a5a;color:#fff;border-radius:999px;width:38px;height:38px;cursor:pointer}
.t-btn:hover{border-color:#fff}
.t-dotbar{display:flex;gap:8px}
.t-dot{width:8px;height:8px;border-radius:50%;background:#777}
.t-dot.is-active{background:#fff}

/* ===== Services preview (Home cards) ===== */
.services-intro{padding-top:95px}
.services-h2{margin:40px 0 0;font-size:33px;font-weight:400}
.services-grid{
  padding-top:100px;display:grid;grid-template-columns:repeat(3,300px);gap:30px 50px;
  justify-content:center;align-items:start
}
.services-grid .svc-card{
  width:300px;min-height:300px;
  border-radius:18px;background:#fff;
  box-shadow:0 10px 35px rgba(0,0,0,.06);
  padding:35px;
  display:grid;grid-template-rows:auto auto 1fr auto;row-gap:22px;margin:0;
}
.services-grid .svc-card h4{margin:0;font-size:22px;font-weight:500}
.services-grid .svc-card .desc{margin:0;font-size:15px;color:#555}
.services-grid .svc-card ul{margin:0;padding-left:18px;list-style:disc}
.services-grid .svc-card ul li+li{margin-top:5px}
.services-grid .svc-card .see{
  margin:0;align-self:start;text-decoration:underline;text-underline-offset:2px;font-size:14px;color:var(--accent)
}

/* ===== New / Refresh bar ===== */
.new-refresh{height:135px;border-top:1px solid #eee;border-bottom:1px solid #eee;display:grid;place-items:center;background:#fff;margin-top:30px}
.nr-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:28px;align-items:center}
.nr-item{display:grid;grid-template-columns:auto 1fr;column-gap:16px;align-items:start}
.nr-title{grid-column:1;grid-row:1 / span 2;font-size:35px;font-weight:500;margin:0;align-self:center}
.nr-desc{grid-column:2;grid-row:1;font-size:18px;color:#222;margin:0}
.nr-mini{grid-column:2;grid-row:2;font-size:11px;font-weight:500;color:#666;margin-top:6px}

/* links purple, underline on hover */
.nr-link,
.nr-link:visited{
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}
.nr-link:hover{
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.nr-link:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* divider solid black */
.nr-divider{width:1px;height:36px;background:#000;opacity:1}

/* ===== SPA scrollytelling (shared) ===== */
.spa-cta{ position:relative; background:#000; color:#fff; min-height:100vh; height:auto; }
.spa-cta__pin{position:sticky;top:0;height:100vh;display:grid;place-items:center;padding:24px}
.spa-cta__stage{position:relative;width:min(90vw,980px);text-align:center}
.spa-cta__slide{ position:absolute; inset:0; display:grid; place-items:center; gap:18px; }
.spa-cta__slide.is-active{opacity:1}
.spa-cta__headline{font-size:34px;margin:0; font-weight:500}
.spa-cta__btn{display:inline-block;padding:12px 20px;border-radius:999px;border:1px solid #fff;background:#fff;color:#000;font-weight:600}
.spa-cta__slide{ will-change: transform, opacity; pointer-events: none; }

/* ===== CTA band above footer (Home) ===== */
.cta-band{padding:90px 0 40px}
.cta-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center}
.cta-copy h3{margin:0 0 16px;font-size:35px;font-weight:400}
.accent{color:var(--accent)}
.img-ph{width:100%;height:320px;background:linear-gradient(180deg,#ececec,#dcdcdc);box-shadow:0 22px 60px rgba(0,0,0,.14)}

/* ===== Footer ===== */
.site-footer{border-top:1px solid #eee;padding:40px 0 64px}
.footer-grid{display:grid;grid-template-columns:auto auto 1fr;column-gap:100px;row-gap:20px}
.footer-links a{font-size:20px;font-weight:500;transition:color .2s}
.footer-links li+li{margin-top:15px}
.footer-links a:hover{color:var(--accent)}
.footer-info{justify-self:end;text-align:right}
.footer-info p{margin:0}
.footer-info p+p{margin-top:25px}
.social{display:flex;gap:10px;margin:0 0 10px}
.social a{display:grid;place-items:center;width:28px;height:28px;border:1px solid #e5e5e5;border-radius:6px}
.social a:hover{background:#000;color:#fff;border-color:#000}

/* ===== Homepage: Projects preview ===== */
.project-preview{margin-top:150px}
.home-cards{display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:40px}
.home-cards .card{display:grid;grid-template-rows:auto auto}
.home-cards .card{
  border-radius: 16px;
}
.home-cards .card-media{position:relative}
.home-cards .card-media figure{
  margin:0;border-radius:16px;overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.08);
  transition:transform .25s ease, box-shadow .25s ease;
  height:354px;
}
.home-cards .card-media figure > img,
.home-cards .card-media > img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; display:block; transition:transform .35s ease;
}
.home-cards .card:hover .card-media figure{
  transform:translateY(-2px); box-shadow:0 24px 50px rgba(0,0,0,.12)
}
.home-cards .card:hover .card-media img{ transform:scale(1.03) }
.home-cards .card-caption{
  display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:start;padding:10px 0 0
}
.home-cards .card-caption h3{font-size:18px;margin:0 0 6px;font-weight:500}
.home-cards .card-caption p{font-size:15px;font-weight:400;color:#444;margin:0;text-align:right}
/* Home projects: perfect centering on all breakpoints */
.home-cards{ justify-content:center; justify-items:center; }
.home-cards .card{ width:min(354px, 100%); }
@media (max-width:1200px){ .home-cards{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:780px){
  .home-cards{ grid-template-columns:1fr; justify-items:stretch; }
  .home-cards .card{ width:100%; }
}

/* ================================================================== */
/* ============================= PAGES =============================== */
/* ================================================================== */

/* --- Normalize hero on non-Home pages --- */
section.hero:not(:has(.showreel-card)),
section.hero:has(+ .gallery-wrap),
.services-hero,
.insights-hero,
.hero.quickstart{
  background:#fff; min-height:auto; display:block; align-items:initial; padding:48px 0 24px;
}
section.hero:has(.showreel-card){
  min-height:800px;background:#F9F9F9;display:flex;align-items:flex-start;
}
/* Shared hero text (global tokens) */
.hero h1{font-size:var(--fs-h1);line-height:var(--lh-h1);font-weight:400;margin:0}
.hero .lead{font-size:var(--fs-lead);color:#444;max-width:780px;margin:var(--hero-gap) 0 0}

/* ---------------- PROJECTS page ---------------- */
.hero.container{padding:48px 0 24px}
.hero .lead{font-size:var(--fs-lead);color:#444;max-width:780px;margin:0}
.hero .lead{margin-bottom:130px}
.gallery-wrap{background:#f7f7f8;padding:50px 0}
.gallery-intro{
  font-size:25px;font-weight:200;text-align:right;margin:0 0 90px;max-width:900px;margin-left:auto;padding-right:8px;line-height:1.25
}
.cards{
  display:grid;grid-template-columns:repeat(3, var(--card-w));
  justify-content:center;column-gap:var(--gap-col);row-gap:130px
}
.card{
  width: var(--card-w);
  border-radius: 18px;
}
.card{width:var(--card-w)}
.card-media{display:block;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 20px 40px rgba(0,0,0,.08);transition:transform .25s ease, box-shadow .25s ease}
.card-media figure{margin:0;height:var(--card-h);overflow:hidden}
.cards .card-media{position:relative}
.cards .card-media figure{position:relative}
.cards .card-media figure > img,
.cards .card-media > img{
  position:absolute; inset:0; width:100% !important; height:100% !important;
  object-fit:cover !important; display:block; transition:transform .35s ease;
}
.card:hover .card-media{transform:translateY(-6px);box-shadow:0 30px 60px rgba(0,0,0,.12)}
.card:hover .card-media img{transform:scale(1.04)}
.card-caption{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:start;padding:10px 4px 0}
.card-caption h3{font-size:18px;margin:0 0 6px;font-weight:400}
.card-caption p{font-size:15px;font-weight:400;color:#444;margin:0;text-align:right}
.cards > .card-bottom-left{grid-column:1}
.cards > .card-bottom-right{grid-column:3}

/* ---------------- SERVICES page (big stacked cards) ---------------- */
.services-hero{margin-bottom:90px}
.services-band{background:#f7f7f8;padding:100px 0 60px}
.svc-stack{display:flex;flex-direction:column;align-items:center}

.svc-card{
  position:relative;width:1100px;max-width:100%;min-height:300px;background:#fff;border-radius:18px;
  box-shadow:0 20px 40px rgba(0,0,0,.08);padding:18px 24px;display:flex;flex-direction:column;align-items:center;gap:14px
}
.svc-card + .svc-card{margin-top:50px}
.svc-head{text-align:center}
.svc-head h2{font-size:40px;margin:0;font-weight:700}
.svc-head p{font-size:15px;margin:4px 0 0;color:#444}

/* Center-anchored bullet layout (desktop) */
.services-band{
  --dot-size:6px;
  --dot-y:.72em;
  --gap:12px;
  --left-offset:225px;
  --right-offset:110px;
}
.svc-lists{
  position:relative;width:100%;flex:1;margin-top:43px;
  display:flex;align-items:flex-start;justify-content:center;padding-bottom:80px;
}
.svc-divider{position:absolute;left:50%;transform:translateX(-50%);width:1px;height:100px;background:#e5e5e5;top:0}
.services-band .svc-list{
  width:50%;position:relative;font-size:15px;line-height:1.5;padding:0 40px;
}
.services-band .svc-list ul{list-style:none;margin:0;padding:0}
.services-band .svc-list li{position:relative;min-height:1.5em}
.services-band .svc-list li+li{margin-top:15px}
.services-band .svc-list li::before{
  content:'';position:absolute;top:var(--dot-y);
  width:var(--dot-size);height:var(--dot-size);border-radius:50%;background:#111;
}
.services-band .svc-list-left  li::before{ right:var(--left-offset); }
.services-band .svc-list-right li::before{ left: var(--right-offset); }
.services-band .li-txt{ position:absolute; top:0; right:0; }
.services-band .svc-list-left  .li-txt{ left:calc(100% - var(--left-offset) + var(--gap)); }
.services-band .svc-list-right .li-txt{ left:calc(var(--right-offset) + var(--gap)); }

/* ---------------- Shared CTA (Projects/Services/Insights/QS) ---------------- */
.cta{padding:80px 0;border-top:1px solid #eee;background:#fff;margin-bottom:100px}
.cta-inner{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;align-items:center}
.cta-text h2{font-size:35px;font-weight:400;margin:0 0 18px}

/* ---------------- BILLBOARD + global rounding ---------------- */
.about-cta-black{
  background:#0b0b0c;
  color:#f5f5f5;
  min-height:400px;
  display:grid;
  place-items:center;
  margin-top:80px;
}
.about-cta-black p{
  margin:0;
  font-size:25px;
  font-weight:700;
  text-align:center;
  padding:0 16px;
}
.billboard, .cta-media img, .cta-img, .img-ph{
  border-radius:16px;
  overflow:hidden;
}

/* ---------------- INSIGHTS list ---------------- */
.insights-hero{margin-bottom:110px}
.hero.container.insights-hero .kicker{font-weight:400;opacity:.75;margin:0 0 12px}
.hero.container.insights-hero h1{font-weight:400;font-size:var(--fs-h1);line-height:var(--lh-h1);margin:0 0 14px}
.hero.container.insights-hero .lead{font-size:var(--fs-lead);color:#444;max-width:780px;margin:0}
.ins-band{background:#f7f7f8}
.ins-grid{
  padding:65px 0 90px;display:grid;grid-template-columns:repeat(3,273px);
  grid-column-gap:88px;grid-row-gap:88px;justify-content:center;
}
.ins-card{width:273px}
.card-link{display:block}
.ins-media{margin:0;width:273px;height:320px;border-radius:16px;box-shadow:0 20px 40px rgba(0,0,0,.08);overflow:hidden;background:#fff;transition:transform .25s, box-shadow .25s}
.ins-media img{width:100%;height:100%;object-fit:cover;display:block}
.ins-meta{margin-top:15px;padding:0 2px}
.ins-title{font-size:15px;font-weight:500;line-height:1.3;margin:0 0 20px}
.ins-excerpt{font-size:13px;line-height:1.45;margin:0;color:#444}
.ins-card:hover .ins-media{transform:translateY(-2px);box-shadow:0 24px 48px rgba(0,0,0,.10)}
.ins-card{ border-radius:16px; }

/* ---------------- INSIGHTS posts ---------------- */
.post-hero{padding:48px 0 24px}
.post-hero .kicker{font-size:13px;opacity:.75;margin:0 0 12px}
.post-hero h1{font-weight:400;font-size:var(--fs-h1);line-height:var(--lh-h1);margin:0}
.post-hero{margin-bottom:180px}
.post-figure{display:flex;justify-content:center}
.post-figure .hero-img{width:1177px;max-width:100%;aspect-ratio:1177/540;object-fit:cover;border-radius:2px}
.post-content{width:min(820px, 90vw);margin:50px auto 0}
.post-title{font-size:25px;font-weight:700;margin:0 0 18px}
.post-body{font-size:25px;line-height:1.6;color:#111}
.post-body p{margin:0 0 18px}
.post-sub{font-size:25px;font-weight:500;margin:26px 0 10px}
.section-divider{margin:80px 0;border:0;border-top:1px solid #eee}
.post-back{display:inline-flex;align-items:center;gap:60px;margin-top:65px;cursor:pointer;transition:transform .2s ease}
.post-back:hover{transform:translateX(-6px)}
.post-back .arrow{font-size:20px}

/* ---------------- QUICK START ---------------- */
.hero.quickstart{margin-bottom:120px}
.qs-band{background:#0b0b0c;color:#f7f7f7;min-height:662px}
.qs-inner{width:var(--container);margin-inline:auto;padding-inline:16px;display:grid;grid-template-columns:auto 1fr;column-gap:150px}
.qs-left{padding-top:80px}
.qs-right{padding-top:155px}
.qs-left h3{font-size:22px;font-weight:400;margin:0}
.qs-right h4{font-size:20px;font-weight:500;margin:0 0 12px}
.qs-right p{font-size:15px;margin:0 0 8px;opacity:.9}
.qs-form{margin-top:30px;max-width:480px}
.qs-input,.qs-select,.qs-textarea,.qs-button{width:480px;border-radius:8px;border:1px solid #333;background:#fff;color:#0c0c0c;font-size:15px;padding:10px 12px}
.qs-input{height:45px}
.qs-select{height:25px;padding:2px 8px}
.qs-textarea{min-height:115px;resize:vertical;padding:10px 12px}
.qs-button{height:45px;background:var(--accent);color:#fff;border:0;cursor:pointer;font-weight:500}
.qs-button:hover{filter:brightness(1.05);transform:translateY(-1px);box-shadow:0 8px 20px rgba(111,12,226,.25)}
.qs-field+.qs-field{margin-top:15px}
::placeholder{color:#7b7b7b;opacity:1}

/* ================================================================== */
/* ========================= RESPONSIVE ============================== */
/* ================================================================== */

@media (max-width:1200px){
  .home-cards{grid-template-columns:1fr 1fr}
  .services-grid{grid-template-columns:repeat(2, minmax(300px, 1fr));gap:30px 40px}
  .services-grid .svc-card{width:auto}
  .cards{grid-template-columns:repeat(2, var(--card-w));column-gap:24px}
  .cards > .card-bottom-left,.cards > .card-bottom-right{grid-column:auto}
}

@media (max-width:900px){
  .new-refresh{height:auto;padding:18px 0}
  .nr-grid{grid-template-columns:1fr;gap:24px}
  .nr-divider{display:none}
  .nr-item{grid-template-columns:1fr}
  .nr-title{grid-row:auto;margin-bottom:6px}
  .nr-desc,.nr-mini{grid-column:1}
}

@media (max-width:780px){
  .home-cards{grid-template-columns:1fr}
  .services-grid{grid-template-columns:1fr}
  .services-grid .svc-card{width:100%}
}

@media (max-width:760px){
  /* Mobile nav */
  .nav ul{display:none !important}
  .nav-toggle{display:inline-flex !important}
  /* Force burger to the far right regardless of HTML order */
  .header-inner .brand{ order:1; }
  .header-inner .nav{ order:2; }
  .header-inner .nav-toggle{ order:3; margin-left:auto; }

  .footer-grid{grid-template-columns:1fr;row-gap:16px}
  .footer-info{justify-self:start;text-align:left}
  .cards{grid-template-columns:var(--card-w);justify-content:center}
  .container{padding-inline:12px}
  .hero{padding:28px 0 12px}

  /* Smaller gap beneath hero on small screens (global) */
  .hero .lead{ margin-bottom:24px !important; }
  /* Home hero: drop the large min-height on mobile and pull video up */
  section.hero:has(.showreel-card){ min-height:auto; }
  .showreel-card{ margin-top:40px; }

  .gallery-intro{font-size:20px;padding-right:0;text-align:left}
  :root{ --caption-title-w:110px; --caption-gap:14px; }

  .svc-head h2{font-size:32px}
  .svc-card{gap:10px}

  .ins-grid{grid-template-columns:1fr;justify-content:center}
  .ins-card{width:100%;max-width:360px;margin-inline:auto}
  .post-content{width:92vw}
}

/* === FIX: keep vertical spacing only in the big Services stack === */
.svc-card + .svc-card{margin-top:0}
.svc-stack > .svc-card + .svc-card{margin-top:50px}

/* === FIX: align the small services cards grid on all pages === */
.services-grid{align-items:start}
.services-grid .svc-card{margin:0 !important}

/* Social icons sizing */
.social svg, .mm-social svg { display:block; width:16px; height:16px }
.mm-social svg { width:18px; height:18px }
.social a, .mm-social a { color:inherit }

/* === Global button normalization (.btn + .btn-pill) === */
a.btn, button.btn, a.btn-pill, button.btn-pill{
  display:inline-grid;
  place-items:center;
  border:1px solid #e6e6e6;
  border-radius:999px;
  background:#fff;
  color:inherit;
  transition:background .2s,color .2s,border-color .2s,transform .15s ease;
}
a.btn, button.btn{ width:200px; height:35px; font-size:13px; }
a.btn-pill, button.btn-pill{ width:120px; height:32px; font-size:12px; }
a.btn:hover, button.btn:hover,
a.btn-pill:hover, button.btn-pill:hover{
  background:var(--accent); color:#fff; border-color:var(--accent); transform:translateY(-1px);
}
a.btn:focus-visible, button.btn:focus-visible,
a.btn-pill:focus-visible, button.btn-pill:focus-visible{
  outline:2px solid var(--accent); outline-offset:2px;
}

/* Global: enforce 30px gap between hero title and supporting copy */
.hero h1 + .lead,
.hero-title + .hero-copy{
  margin-top: var(--hero-gap);
}

/* Mobile overlay: social icons row */
.mm-bottom { gap: 16px; }
.mm-social{ display:flex; align-items:center; gap:10px; }
.mm-social a{
  display:grid; place-items:center; width:28px; height:28px;
  border:1px solid rgba(255,255,255,.25); border-radius:6px;
}
.mm-social a:hover{ background:#fff; color:#000; border-color:#fff; }
.mm-social svg{ display:block; width:16px; height:16px; }

/* ===== Services (page) — mobile bullets: left column dot on the left, no overlap ===== */
@media (max-width:760px){
  .services-band{
    --left-offset: 92px;   /* not used for left column anymore, but keep for layout parity */
    --right-offset: 84px;
    --gap: 10px;
  }

  /* let multi-line items grow naturally */
  .services-band .li-txt{ position: static; display:block; }
  .services-band .svc-list li{ min-height: auto; }
  .services-band .svc-list{ padding: 0 14px; }

  /* LEFT column: move dot to the LEFT of text and align text with it */
  .services-band .svc-list-left li{
    text-align:left;
    padding-left: 18px;                 /* room for the dot */
    padding-right: 0 !important;
  }
  .services-band .svc-list-left li::before{
    left: 0 !important;
    right: auto !important;
    top: .78em;
  }

  /* RIGHT column: keep dot left of text, near center divider */
  .services-band .svc-list-right li{
    text-align:left;
    padding-left: calc(var(--right-offset) + var(--gap));
  }
  .services-band .svc-list-right li::before{
    left: var(--right-offset);
    right: auto !important;
    top: .78em;
  }
}
/* Services: stack left/right lists on mobile and reset offsets */
@media (max-width:760px){
  .services-band .svc-lists{
    flex-direction: column;           /* stack */
    align-items: stretch;
    padding-bottom: 32px;
  }
  .services-band .svc-divider{ display:none; }  /* hide center line */

  .services-band .svc-list{
    width:100%;                       /* full width */
    padding: 0 14px;                  /* already in your file, ok to repeat */
  }
  .services-band .svc-list + .svc-list{ margin-top:16px; } /* space between stacks */

  /* Normalize bullets for both columns */
  .services-band .svc-list-right li,
  .services-band .svc-list-left  li{
    text-align:left;
    padding-left:18px;                /* room for the dot */
  }
  .services-band .svc-list-right li::before,
  .services-band .svc-list-left  li::before{
    left:0; right:auto; top:.78em;    /* dot on the left of text */
  }

  /* Keep text flow natural (you already have this, safe to repeat) */
  .services-band .li-txt{ position: static; display:block; }
  .services-band .svc-list li{ min-height: auto; }
}

/* ==== Project page helpers (shared across all project pages) ==== */
.page-project .project-hero .hero-media img { width: 100%; height: auto; object-fit: cover; border-radius: 16px; }

/* Bands */
.band { position: relative; width: 100%; }
.band--gray { background: var(--gray-band, #f4f4f4); }
.band--tall { min-height: 1000px; }

/* Columns */
.cols { display: grid; align-items: start; }
.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.cols-gap-280 { column-gap: 280px; }
@media (max-width: 900px) {
  .cols-3 { grid-template-columns: 1fr; row-gap: 28px; }
}

/* Plain list */
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { margin: 6px 0; }

/* Overline-ish heading for small column titles */
.t-overline { font-size: 15px; opacity: .8; margin: 0 0 10px; }

/* Pinned image inside tall band (centered, 130px from bottom) */
.band-pin { position: absolute; left: 50%; transform: translateX(-50%); bottom: 130px; width: min(1180px, 92vw); }
.band-pin img { width: 100%; height: auto; border-radius: 16px; object-fit: cover; }

/* Interstitials */
.interstitial { width: 100%; height: 400px; display: grid; place-items: center; text-align: center; padding: 0 24px; }
.interstitial--white { background: #fff; color: inherit; }
.interstitial--dark { background: #0e0e0e; color: #fff; }
.interstitial-text { font-size: 25px; line-height: 1.25; max-width: 820px; margin: 0; }

/* SPA layout (hooked to your existing SPA animation JS) */
.spa { background: #000; color: #fff; }
.spa .slide { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
.spa .slide-head { padding: 60px 60px 0; }
.spa .slide-body { display: grid; place-items: center; padding: 20px; }
.spa .panel { max-width: 820px; }

/* Sneek Peak spacing */
.sneek-peak { padding-top: 150px; }
.sneek-peak img { border-radius: 16px; object-fit: cover; width: 100%; height: auto; }

/* Grid band (gray) */
.grid-band { padding-top: 165px; padding-bottom: 120px; }
.grid-a { display: grid; grid-template-columns: 465px 1fr; column-gap: 31px; align-items: start; }
.grid-left img { width: 465px; height: 660px; object-fit: cover; border-radius: 16px; }
.grid-right { display: grid; grid-template-rows: 315px 315px; row-gap: 31px; }
.grid-right img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.grid-b { margin-top: 31px; }
.grid-b img { width: 100%; height: 660px; object-fit: cover; border-radius: 16px; }

@media (max-width: 1200px) {
  .grid-a { grid-template-columns: 1fr; }
  .grid-left img { width: 100%; height: auto; }
  .grid-right { grid-template-rows: none; grid-auto-rows: 315px; }
}


/* ===================== Quick Start (page-specific) ===================== */
/* tokens this module expects but your globals don't define yet */
:root{
  --qs-card-bg: #fff;
  --qs-line: #e9e9e9;
  --qs-muted: #555;
  --qs-radius: 16px;
  --qs-shadow: 0 22px 60px rgba(0,0,0,.08);
  --qs-speed: 220ms;
}

/* a11y helper to keep parity with previous markup */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Card shell */
.qs-card{ background:var(--qs-card-bg); border:1px solid var(--qs-line); border-radius:var(--qs-radius); box-shadow:var(--qs-shadow); }
.qs-pad{ padding:28px; }
@media (max-width:760px){ .qs-pad{ padding:20px; } }

/* Progress */
.qs-progress{ height:4px; background:#f1f1f3; border-radius:999px; overflow:hidden; }
.qs-progress__bar{ height:100%; width:0%; background:linear-gradient(90deg, var(--accent), #9b59ff); transition: width var(--qs-speed) ease; }

/* Steps */
.qs-step{ display:none; opacity:0; transform:translateY(8px); }
.qs-step.active{ display:block; animation:qs-fade var(--qs-speed) ease forwards; }
@keyframes qs-fade{ from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:translateY(0);} }

.qs-hint{ color:var(--qs-muted); font-size:14px; margin:6px 0 16px; }
.qs-hint-inline{ margin-top:8px; }

/* Choices */
.qs-choices{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; margin:12px 0 0; }
@media (max-width:900px){ .qs-choices{ grid-template-columns:1fr; } }
.qs-choice{
  display:flex; align-items:center; justify-content:center;
  padding:14px 16px; border-radius:12px; border:1px solid var(--qs-line);
  background:#fff; cursor:pointer; transition:transform var(--qs-speed), border-color var(--qs-speed), box-shadow var(--qs-speed);
}
.qs-choice:hover{ transform:translateY(-2px); border-color:#d8d8d8; box-shadow:0 10px 26px rgba(0,0,0,.06); }
.qs-choice.selected{ border-color:rgba(111,12,226,.6); box-shadow:0 12px 30px rgba(111,12,226,.16); }

/* Quick Start: adjust choice button text size */
.qs-choice{
  font-size:16px;   /* or 17–18px if you want stronger */
  font-weight:500;  /* optional, adds a bit more presence */
}

/* Radios as cards */
.qs-radio-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px; margin-top:12px; }
.qs-radio{ position:relative; }
.qs-radio input{ position:absolute; inset:0; opacity:0; }
.qs-radio label{
  display:block; padding:14px 16px; background:#fff; border:1px solid var(--qs-line); border-radius:12px; cursor:pointer;
  transition:transform var(--qs-speed), border-color var(--qs-speed), box-shadow var(--qs-speed);
}
.qs-radio label:hover{ transform:translateY(-2px); }
.qs-radio input:checked + label{ border-color:rgba(111,12,226,.6); box-shadow:0 12px 30px rgba(111,12,226,.12); }

/* Fields */
.qs-fields{ display:grid; gap:12px; margin-top:10px; max-width:620px; }
.qs-fields input, .qs-fields textarea{
  width:100%; padding:14px 12px; border:1px solid var(--qs-line); border-radius:12px; font:inherit;
  background:#fff; color:#0c0c0c; outline:none; transition:border-color var(--qs-speed), box-shadow var(--qs-speed);
}
.qs-fields textarea{ min-height:130px; resize:vertical; }
.qs-fields input:focus, .qs-fields textarea:focus{
  border-color:rgba(111,12,226,.7); box-shadow:0 0 0 3px rgba(111,12,226,.15);
}

/* Inline continue + bottom nav */
.qs-continue{ display:flex; justify-content:flex-end; margin-top:18px; }
.qs-nav{ display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:22px; }

/* Buttons — reuse your global .btn look, keep sizes here */
.btn{
  display:inline-grid; place-items:center; min-width:180px; height:40px;
  border-radius:999px; border:1px solid var(--accent); background:var(--accent); color:#fff; font-weight:600; cursor:pointer;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover{ transform:translateY(-1px); box-shadow:0 8px 20px rgba(111,12,226,.22); filter:saturate(1.03); }
.btn:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.btn[disabled]{ opacity:.55; cursor:not-allowed; transform:none; box-shadow:none; }
.btn-ghost{ background:#fff; color:inherit; border:1px solid #e6e6e6; }

/* Success */
.qs-success{ text-align:center; padding:40px 12px; }
.qs-success__big{ font-size:24px; margin:0 0 8px; }
.qs-success__note{ color:#444; margin:0; }

/* Subtle shake for invalid entries */
.qs-shake{ animation:qs-shake .22s ease; }
@keyframes qs-shake{
  0%{ transform:translateX(0); } 25%{ transform:translateX(-4px);} 50%{ transform:translateX(4px);} 75%{ transform:translateX(-2px);} 100%{ transform:translateX(0); }
}
/* Buttons with arrows */
.btn .icon{width:16px;height:16px;display:inline-block;vertical-align:-3px}
.btn .icon-left{margin-right:8px}
.btn .icon-right{margin-left:8px}

/* Step nav row */
.qs-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:22px}
.btn-ghost{background:#fff;color:inherit;border:1px solid #e6e6e6}

/* Quick Start: icon buttons (scoped) */
.qs-card .btn--with-icon{
  display:inline-flex;              /* don't touch global .btn elsewhere */
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:180px;
  height:40px;
}

.qs-card .btn__icon{
  width:16px;
  height:16px;
  flex-shrink:0;
}

/* arrow on the left for Back */
.qs-card .btn__icon--left{ order:-1; }

/* arrow on the right for Continue (default order) */
.qs-card .btn__icon--right{ order:1; }
/* Quick Start: inline errors (scoped) */
.qs-card .qs-error{
  display:block;
  margin-top:6px;
  font-size:13px;
  color:#c92a2a;           /* readable red on light bg */
}

/* single-field invalid */
.qs-card .is-invalid{
  border-color:#c92a2a !important;
  box-shadow:0 0 0 3px rgba(201,42,42,.12) !important;
}

/* group invalid (e.g., radio/checkbox grids) */
.qs-card .is-invalid-group{
  outline:2px solid rgba(201,42,42,.55);
  outline-offset:4px;
  border-radius:12px;
  padding:6px;             /* tiny breathing room inside the outline */
}
.qs-mini-footer{
  text-align:center;
  font-size:13px;
  padding:24px;
  color:#888;
  border-top:1px solid #eee;
  margin-top:80px;
}
.qs-progress{ box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
@media (max-width:760px){ .qs-pad{ padding:24px; } }

@media (max-width:760px){
  .qs-nav{
    display:flex;
    flex-direction: column;   /* vertical stack */
    align-items: stretch;
    gap: 10px;
  }

  /* CONTINUE = full-width, primary */
  .qs-nav .btn:not(.btn-ghost){
    order: 2;
    width: 100% !important;
    min-width: 0 !important;
    font-weight: 600;
  }

  /* BACK = plain text style */
  .qs-nav .btn-ghost{
    order: 1;
    align-self: center;
    background: none !important;
    border: none !important;       /* no outline */
    color: #666 !important;        /* muted */
    font-size: 14px;
    font-weight: 400;
    padding: 4px 10px !important;
  }
}
@media (max-width:760px){
  /* Hide icons inside nav buttons */
  .qs-nav .btn .icon,
  .qs-nav .btn-ghost .icon {
    display: none !important;
  }
}

/* --- Testimonials: give slides more vertical room + more footer pad --- */
@media (max-width:760px){
  .testimonial { padding-bottom: 180px; }              /* room for buttons */
  .t-stage { min-height: 360px; }                      /* prevents overlap */
  .t-controls { margin-top: 18px; position: relative; z-index: 2; }
}
/* ===== CTA band – responsive layout & sizing ===== */
.cta-band { padding: 56px 0; }
.cta-grid{
  display: grid;
  grid-template-columns: 1fr auto;   /* text | image */
  align-items: center;
  gap: 32px;
}

.cta-figure{ justify-self: end; }
.cta-img{
  display: block;
  width: min(460px, 38vw);            /* healthy default size on desktop */
  height: auto;
}

/* Medium screens */
@media (max-width: 1024px){
  .cta-img{ width: min(420px, 48vw); }
}

/* Phones */
@media (max-width: 760px){
  .cta-grid{
    grid-template-columns: 1fr;       /* stack */
    gap: 20px;
    text-align: left;                 /* keep your left-aligned copy */
  }
  .cta-copy{ order: 1; }
  .cta-figure{ order: 2; justify-self: center; }

  .cta-copy h3{
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.15;
    margin: 0;
  }
  .cta-band .btn-pill{ margin-top: 12px; }

  .cta-img{
    width: min(360px, 88vw);          /* nice, visible image on mobile */
  }
}

/* PROJECTS — Specs grid centering */
.specs-band .specs-inner{ text-align:center; }
.specs-band .specs-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(180px,1fr));
  gap: 22px;
  justify-items:center;           /* centers each column’s content */
}

/* Stack + center on phones */
@media (max-width:760px){
  .specs-band .specs-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .specs-band .specs-grid h4,
  .specs-band .specs-grid p,
  .specs-band .specs-grid ul{ margin:0 auto; }
}

/* Page-scoped polish for the 404 block (keeps globals untouched) */
.nf { padding: 40px 0 20px; }
.nf-inner { display:grid; gap:24px; justify-items:center; text-align:center; }
.nf-ill{
  width:min(980px, 92vw);
  aspect-ratio: 16/9;
  border-radius:14px;
  overflow:hidden;
  background:#f6f6f6;
  box-shadow:0 18px 40px rgba(0,0,0,.08);
  display:grid; place-items:center;
}
.nf-ill img{ width:100%; height:100%; object-fit:cover; display:block; }
.nf-title{ font-size: clamp(22px, 3.4vw, 36px); margin:6px 0 0; font-weight:600; }
.nf-actions{ display:grid; gap:10px; justify-items:center; }
.nf-home-link{ font-size:14px; opacity:.7; }
@media (max-width:760px){ .nf { padding: 24px 0 10px; } }

/* 404: show reveal elements as already-finished */
.page-404 .reveal{
  opacity:1 !important;
  transform:none !important;
  animation:none !important;
}
/* 404 — perfect centering on phones */
@media (max-width:760px){
/* Scope to your 404 block (adjust .nf if your wrapper uses a different class) */
.nf{
display: flex;
flex-direction: column;
align-items: center;     /* center everything horizontally */
text-align: center;      /* center the text under the image */
padding: 0 16px;         /* comfy side gutters */
}

/* Image / illustration */
.nf-ill,
.nf-ill img{
display: block;
width: 100%;
max-width: min(420px, 92vw);  /* never overflow */
height: auto;
margin: 0 auto;               /* center the figure */
}

/* Title + paragraph */
.nf-title,
.nf-copy{
margin: 12px auto 0;
max-width: 32ch;              /* readable line length */
}

/* Buttons */
.nf-actions{
display: flex;
gap: 12px;
justify-content: center;      /* center the button row */
margin-top: 16px;
}
.nf-actions .btn,
.nf-actions .btn-ghost{
width: auto;                  /* don’t stretch full-width unless you want to */
}
}
/* ===== Sticky CTA (site-wide, static-safe) ===== */
.sticky-cta{
  position: fixed;
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  z-index: 9999;                 /* above header/cursor/etc */
  transform: translateY(10px) scale(.98);
  opacity: 0;
  pointer-events: none;
  transition: transform .25s cubic-bezier(.2,.9,.18,1), opacity .2s;
}
.sticky-cta.is-visible{
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta__btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 999px;
  background: var(--accent, #6F0CE2); color: #fff; font-weight: 700;
  font-size: 14px; line-height: 1;
  box-shadow: 0 8px 24px rgba(111,12,226,.35);
}
.sticky-cta__btn .ico{ width:16px; height:16px; display:inline-block; }
@media (max-width: 420px){
  .sticky-cta{ right:12px; bottom:12px; }
}
/* Hover lift + arrow nudge (desktop only) */
@media (hover:hover) and (pointer:fine){
  .sticky-cta__btn{ transition: transform .18s ease, box-shadow .18s ease; }
  .sticky-cta__btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(111,12,226,.42);
  }
  .sticky-cta__btn .ico{ transition: transform .18s ease; }
  .sticky-cta__btn:hover .ico{ transform: translateX(2px); }
}

/* Ripple effect */
.sticky-cta__ripple{
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: .22;
  background: #fff;
  transform: translate(-50%,-50%) scale(0);
  animation: ctaRipple .45s ease-out forwards;
}
@keyframes ctaRipple{
  to { transform: translate(-50%,-50%) scale(8); opacity: 0; }
}

/* Reduced motion: keep it calm */
@media (prefers-reduced-motion: reduce){
  .sticky-cta__btn,
  .sticky-cta__btn:hover{ transform: none !important; box-shadow: 0 8px 24px rgba(111,12,226,.35) !important; }
  .sticky-cta__btn .ico,
  .sticky-cta__btn:hover .ico{ transform: none !important; }
}
