:root{
  --blue:#3d6df2;
  --blue-dark:#244ed1;
  --ink:#0f1220;
  --muted:#666a76;
  --bg:#f5f4ef;
  --line:#e2e0d8;
  --card:#ffffff;
  --shadow:0 16px 50px rgba(15,18,32,.08);
  --shadow-soft:0 12px 28px rgba(15,18,32,.06);
  --radius:18px;
  --serif: Georgia, "Times New Roman", serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color:var(--ink);
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit}
img{display:block;max-width:100%}
button{font:inherit}
.shell{width:min(1180px, calc(100% - 40px)); margin:0 auto;}
.section{padding:110px 0}
.alt{background:var(--bg)}
.center{text-align:center}
.left{text-align:left}

.hero{
  position:relative;
  min-height:860px;
  color:#fff;
  background:url('assets/hero.png') center center / cover no-repeat;
  overflow:hidden;
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(7,12,23,.68) 0%, rgba(7,12,23,.42) 35%, rgba(7,12,23,.14) 68%, rgba(7,12,23,.06) 100%),
    linear-gradient(180deg, rgba(7,12,23,.12), rgba(7,12,23,.48));
}
.nav{
  position:sticky;
  top:18px;
  z-index:20;
  display:flex;
  align-items:center;
  gap:34px;
  height:74px;
  padding:0 28px;
  margin-top:22px;
  background:rgba(255,255,255,.93);
  color:var(--ink);
  border:1px solid rgba(255,255,255,.4);
  border-radius:999px;
  box-shadow:0 18px 45px rgba(0,0,0,.10);
  backdrop-filter: blur(12px);
}
.brand{
  margin-right:auto;
  color:var(--blue);
  font:700 24px var(--serif);
  letter-spacing:.3px;
}
.navlinks{display:flex;align-items:center;gap:28px}
.navlinks a{text-decoration:none;font-size:15px;color:#424758;transition:.25s}
.navlinks a:hover{color:var(--ink)}
.hero-layout{
  position:relative; z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:48px;
  align-items:end;
  min-height:760px;
  padding-bottom:20px;
}
.hero-copy{padding-top:210px; padding-bottom:84px;}
.hero h1,
.display,
.section-head h2,
.partner-copy h2,
.case-head h2,
.faq h2,
.cta-blue h2{
  margin:0;
  letter-spacing:-2.5px;
  font-weight:600;
}
.hero h1{font-size:80px; line-height:.97; max-width:740px;}
.hero em,.display em,.section-head em,.partner-copy em,.case-head em,.faq em,.cta-blue em{
  font-family:var(--serif);
  font-style:italic;
  font-weight:400;
}
.hero-copy p{
  max-width:650px;
  margin:26px 0 34px;
  font-size:18px;
  line-height:1.65;
  color:rgba(255,255,255,.92);
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:16px;
  padding:14px 16px 14px 22px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  transition:transform .22s ease, box-shadow .22s ease;
}
.btn:hover{transform:translateY(-2px); box-shadow:0 10px 22px rgba(0,0,0,.12)}
.btn span{
  width:42px; height:42px;
  border-radius:50%;
  display:grid; place-items:center;
  transition:transform .28s ease, background .28s ease, color .28s ease;
}
.btn:hover span{transform:rotate(45deg)}
.btn-light{background:#fff; color:var(--ink)}
.btn-light span{background:var(--blue); color:#fff}
.btn-blue{background:var(--blue); color:#fff}
.btn-blue span{background:#fff; color:var(--blue)}
.forward-card{
  align-self:end;
  margin-bottom:-1px;
  background:rgba(255,255,255,.96);
  color:var(--ink);
  border-radius:22px 22px 0 0;
  padding:28px;
  box-shadow:var(--shadow);
}
.forward-card h3{margin:0 0 10px; font-size:38px; line-height:1.07; letter-spacing:-1px; max-width:250px}
.forward-card p{margin:0 0 20px; color:var(--muted); line-height:1.6}
.email-pill{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; background:#f5f6f8; border-radius:999px; padding:8px 8px 8px 18px;
}
.email-pill span{color:#70727c}
.email-pill b{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--blue);color:#fff}

.display{font-size:60px; line-height:1.14}
.display span{color:#6e7078}
.sub{max-width:670px; margin:26px auto 55px; color:var(--muted); font-size:18px; line-height:1.65}

.intro .display{max-width:1050px; margin-bottom:58px}
.intro-grid{
  display:grid;
  grid-template-columns:.8fr 1.25fr .75fr;
  gap:42px;
  align-items:center;
}
.intro-copy p{margin:0; color:#5f6470; font-size:18px; line-height:1.8}
.portrait-wrap{position:relative}
.portrait-wrap img{width:100%; aspect-ratio:4/4.8; object-fit:cover; border-radius:22px; box-shadow:var(--shadow)}
.stat-floating{
  position:absolute; left:-150px; bottom:24px;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.7);
  border-radius:18px;
  padding:16px 22px;
  box-shadow:var(--shadow-soft);
}
.stat-floating::before{
  content:''; position:absolute; left:0; top:18px; bottom:18px; width:3px; border-radius:3px; background:var(--blue);
}
.stat-floating strong{display:block; padding-left:18px; font-size:72px; letter-spacing:-3px; line-height:.95}
.stat-floating small{display:block; padding-left:18px; color:#525763; font-size:15px}

.pin-card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(251,250,247,.98));
  border:1px solid rgba(26,18,58,.08);
  border-radius:24px;
  padding:26px 26px 22px;
  box-shadow:0 20px 44px rgba(15,18,32,.06);
  isolation:isolate;
}
.pin-card::before{
  content:'';
  position:absolute;
  inset:auto -36px -44px auto;
  width:170px;
  height:170px;
  border-radius:50%;
  background:radial-gradient(circle at center, rgba(126,31,255,.10), rgba(126,31,255,0) 66%);
  z-index:0;
  pointer-events:none;
}
.pin-card::after{
  content:'';
  position:absolute;
  top:18px;
  right:18px;
  width:108px;
  height:108px;
  background:url('assets/brand/socialcan-icon-navy.svg') center/contain no-repeat;
  opacity:.04;
  z-index:0;
  pointer-events:none;
}
.pin-topline{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#7f7b92;
}
.pin-mark{
  width:26px;
  height:26px;
  border-radius:50%;
  flex:0 0 26px;
  background:
    radial-gradient(circle at center, rgba(126,31,255,.18) 0 32%, transparent 33%),
    linear-gradient(135deg, rgba(126,31,255,.12), rgba(126,31,255,.03));
  border:1px solid rgba(126,31,255,.16);
  box-shadow:0 8px 20px rgba(126,31,255,.12);
}
.pin-card ul{
  position:relative;
  z-index:1;
  list-style:none;
  padding:0;
  margin:0;
}
.pin-card li{
  position:relative;
  padding:14px 0 14px 18px;
  border-bottom:1px solid rgba(23,18,43,.08);
  font-size:19px;
  line-height:1.4;
}
.pin-card li::before{
  content:'';
  position:absolute;
  left:0;
  top:24px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:linear-gradient(180deg, #9d59ff, #721dff);
  box-shadow:0 0 0 5px rgba(126,31,255,.08);
}
.pin-card li:last-child{border-bottom:0}


.metric-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
.metric-card{
  padding:28px;
  background:#fff;
  border-radius:18px;
  box-shadow:var(--shadow-soft);
  border:1px solid rgba(20,24,36,.04);
  transition:transform .28s ease, box-shadow .28s ease;
}
.metric-card:hover{transform:translateY(-6px); box-shadow:var(--shadow)}
.icon-badge{
  width:48px;height:48px;border-radius:50%;display:grid;place-items:center;
  background:#eef3ff;color:var(--blue);font-size:21px
}
.metric-card strong{display:block; margin:26px 0 10px; font-size:56px; letter-spacing:-3px}
.metric-card p{margin:0; color:var(--muted); line-height:1.65}

.section-head{display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:52px}
.section-head h2,.partner-copy h2,.case-head h2,.faq h2{font-size:56px; line-height:1.08}
.service-layout{display:grid; grid-template-columns:1.08fr .92fr; gap:58px; align-items:start}
.accordion{padding-top:4px}
.acc{border-top:1px solid var(--line)}
.acc:last-child{border-bottom:1px solid var(--line)}
.acc-title{
  width:100%;
  text-align:left;
  background:none;
  border:0;
  padding:24px 0;
  font-size:25px;
  font-weight:600;
  color:var(--ink);
  cursor:pointer;
}
.acc-body{max-height:0; overflow:hidden; opacity:0; transition:max-height .45s ease, opacity .35s ease, padding .35s ease; padding-right:20px}
.acc.active .acc-body{max-height:260px; opacity:1; padding-bottom:24px}
.acc-body p{margin:0 0 14px; color:var(--muted); line-height:1.75}
.acc-body ul{margin:0; padding-left:22px}
.acc-body li{margin:10px 0; line-height:1.6}
.service-image-card{
  background:#fff; padding:14px; border-radius:24px; box-shadow:var(--shadow); border:1px solid #f0efe8;
}
.service-img{width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:18px}

.process-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:58px; align-items:end}
.process-card{
  min-height:320px;
  background:#f8f8f4;
  border:1px solid #eeece4;
  border-radius:24px;
  padding:30px;
  box-shadow:0 12px 30px rgba(15,18,32,.035);
  display:flex; flex-direction:column; justify-content:flex-end;
  transition:transform .3s ease, box-shadow .3s ease;
}
.process-card:hover{transform:translateY(-5px); box-shadow:var(--shadow-soft)}
.process-card:nth-child(2){transform:translateY(35px)}
.process-card:nth-child(3){transform:translateY(70px)}
.round-icon{
  width:56px; height:56px; border-radius:50%; background:#fff; color:var(--blue);
  display:grid; place-items:center; font-size:24px; margin-bottom:auto; box-shadow:0 8px 18px rgba(61,109,242,.12)
}
.process-card h3{margin:20px 0 12px; font-size:32px; line-height:1.12; letter-spacing:-1px}
.process-card p{margin:0; color:var(--muted); line-height:1.7}

.partnership{padding-top:155px}
.partner-grid{display:grid; grid-template-columns:.95fr 1.05fr; gap:58px; align-items:center}
.photo-cta{position:relative; border-radius:24px; overflow:hidden; box-shadow:var(--shadow)}
.photo-cta img{width:100%; height:650px; object-fit:cover}
.photo-cta::after{content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.46));}
.overlay-copy{position:absolute; left:28px; right:28px; bottom:28px; z-index:1; color:#fff}
.overlay-copy h3{margin:0 0 18px; font-size:52px; line-height:1; letter-spacing:-2px; max-width:380px}
.partner-copy p,.tab-copy{color:var(--muted); line-height:1.8; font-size:17px}
.tabs{display:flex; flex-wrap:wrap; gap:28px; border-bottom:1px solid var(--line); margin:54px 0 26px}
.tab{
  border:0; background:none; padding:0 0 18px; cursor:pointer;
  color:#6b6f7a; font-size:18px; position:relative; transition:.2s;
}
.tab.active{color:var(--ink)}
.tab.active::after{content:''; position:absolute; left:0; right:0; bottom:-1px; height:2px; border-radius:2px; background:var(--blue)}

.case-head{display:flex; justify-content:space-between; align-items:end; gap:20px}
.slide-controls button{
  width:48px; height:48px; border-radius:50%; border:0; cursor:pointer;
  color:var(--blue); background:#fff; box-shadow:var(--shadow-soft); font-size:22px; margin-left:8px;
}
.case-carousel{overflow:hidden; margin-top:48px}
.case-track{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px; transition:transform .5s ease}
.case-card{min-width:0}
.case-card img{width:100%; height:360px; object-fit:cover; border-radius:22px; box-shadow:var(--shadow-soft)}
.case-card h3{
  margin:-56px 18px 0; position:relative;
  background:#fff; border-radius:16px; padding:18px 20px; font-size:20px; box-shadow:var(--shadow-soft)
}

.testimonial-strip{display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:54px}
.quote{
  background:var(--bg); border:1px solid #eceae1; border-radius:20px; padding:26px;
  box-shadow:0 10px 24px rgba(15,18,32,.03)
}
.quote::before{content:'“'; display:block; font-size:58px; line-height:.8; color:#5a5e67; margin-bottom:8px}
.quote p{margin:0; font-size:18px; line-height:1.7}
.quote footer{margin-top:28px; display:flex; flex-direction:column; gap:4px}
.quote footer small{color:#7a7d86}

.consult-grid{display:grid; grid-template-columns:1.2fr .8fr; gap:20px; margin-top:52px}
.consult-grid > img{width:100%; height:540px; object-fit:cover; border-radius:24px; box-shadow:var(--shadow)}
.blue-panel{
  padding:32px; background:var(--blue); color:#fff; border-radius:24px; box-shadow:var(--shadow);
  display:flex; flex-direction:column
}
.pin{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18); margin-bottom:10px}
.blue-panel h3{margin:6px 0 14px; font-size:34px; letter-spacing:-1px}
.blue-panel p{margin:0; line-height:1.75; color:rgba(255,255,255,.86)}
.hours{margin:30px 0}
.hours div{display:flex; justify-content:space-between; gap:20px; padding:19px 0; border-top:1px solid rgba(255,255,255,.2)}
.hours div:last-child{border-bottom:1px solid rgba(255,255,255,.2)}
.hours span{opacity:.92}

.faq{display:grid; grid-template-columns:.85fr 1.25fr; gap:78px}
.question-box{
  background:var(--bg); border:1px solid #edeae0; border-radius:20px; padding:28px; margin-top:52px; box-shadow:var(--shadow-soft)
}
.question-box h3{margin:0 0 10px; font-size:22px}
.question-box p{margin:0 0 20px; color:var(--muted); line-height:1.7}
.faq-row{border-bottom:1px solid var(--line)}
.faq-row button{
  width:100%; display:flex; justify-content:space-between; align-items:center;
  background:none; border:0; cursor:pointer; text-align:left; padding:22px 0; font-size:19px; font-weight:600; color:var(--ink)
}
.faq-row button span{
  width:30px; height:30px; border-radius:50%; display:grid; place-items:center; background:var(--blue); color:#fff; flex:0 0 auto
}
.faq-row p{display:none; margin:-4px 0 22px; color:var(--muted); line-height:1.75; max-width:88%}
.faq-row.open p{display:block}

.blog-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
.blog-card img{width:100%; height:240px; object-fit:cover; border-radius:18px; box-shadow:var(--shadow-soft)}
.blog-card h3{margin:16px 0 10px; font-size:22px; line-height:1.28; letter-spacing:-.6px}
.blog-card p{margin:0 0 14px; color:var(--muted); line-height:1.7}
.blog-card a{text-decoration:none; font-weight:700}
.blog-card a span{display:inline-grid; place-items:center; width:28px; height:28px; margin-left:6px; border-radius:50%; background:var(--blue); color:#fff}

.cta-blue{
  background:var(--blue); color:#fff; border-radius:28px; padding:30px;
  display:grid; grid-template-columns:.95fr 1.05fr; gap:26px; align-items:center; box-shadow:var(--shadow)
}
.cta-content small{display:inline-block; margin-bottom:14px; opacity:.8; font-weight:700}
.cta-blue h2{font-size:58px; line-height:1.04; margin-bottom:26px}
.cta-blue ul{margin:30px 0 0; padding-left:18px}
.cta-blue li{margin:12px 0; line-height:1.65}
.cta-blue img{width:100%; height:430px; object-fit:cover; border-radius:22px}

.footer{padding:82px 0 28px}
.footer-top{display:grid; grid-template-columns:1.8fr repeat(3,1fr); gap:36px}
.footer-top h3{margin:0 0 20px; font-size:20px}
.footer-top a{display:block; color:#60646f; margin:12px 0; text-decoration:none}
.footer-top p{color:var(--muted); line-height:1.65}
.newsletter{
  display:flex; align-items:center; justify-content:space-between; gap:14px;
  max-width:460px; background:#fff; border-radius:999px; padding:8px 8px 8px 18px; box-shadow:var(--shadow-soft)
}
.newsletter span{color:#767985}
.newsletter button{border:0; background:var(--blue); color:#fff; border-radius:999px; padding:12px 18px; cursor:pointer}
.contact-row{display:grid; grid-template-columns:1fr 1.4fr .8fr; gap:20px; margin:58px 0 34px}
.contact-row small{display:block; color:#7a7d86; margin-bottom:6px}
.contact-row strong{font-size:18px}
.footer-blue{
  background:var(--blue); color:#fff; border-radius:16px; padding:22px;
  display:grid; grid-template-columns:1fr 1.2fr; gap:18px 24px; align-items:start
}
.footer-blue b{font:700 30px var(--serif)}
.socials{padding-top:12px; border-top:1px solid rgba(255,255,255,.22)}

.reveal{opacity:0; transform:translateY(24px); transition:opacity .72s ease, transform .72s ease}
.reveal.in{opacity:1; transform:none}
.magnetic{transition:transform .18s ease, box-shadow .22s ease}

@media (max-width: 1100px){
  .hero-layout{grid-template-columns:1fr 320px}
  .hero h1{font-size:68px}
  .intro-grid{grid-template-columns:1fr; gap:28px}
  .stat-floating{position:static; margin-top:18px; width:max-content; max-width:100%}
  .process-grid,.blog-grid,.testimonial-strip,.metric-grid{grid-template-columns:repeat(2,1fr)}
  .partner-grid,.service-layout,.consult-grid,.faq,.cta-blue{grid-template-columns:1fr}
  .photo-cta img,.consult-grid > img,.cta-blue img{height:520px}
  .footer-top{grid-template-columns:1fr 1fr}
}

@media (max-width: 900px){
  .shell{width:min(100% - 28px, 1180px)}
  .nav{height:66px; gap:18px; padding:0 18px}
  .navlinks{display:none}
  .hero{min-height:760px}
  .hero-layout{grid-template-columns:1fr; min-height:690px}
  .hero-copy{padding-top:180px; padding-bottom:28px}
  .forward-card{max-width:390px}
  .display,.section-head h2,.partner-copy h2,.case-head h2,.faq h2{font-size:42px; letter-spacing:-1.5px}
  .case-head,.section-head{flex-direction:column; align-items:flex-start}
  .case-track{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contact-row,.footer-blue{grid-template-columns:1fr}
}

@media (max-width: 640px){
  .section{padding:80px 0}
  .hero{min-height:700px}
  .hero h1{font-size:46px; letter-spacing:-1.5px}
  .hero-copy p{font-size:16px}
  .forward-card{display:none}
  .display,.section-head h2,.partner-copy h2,.case-head h2,.faq h2{font-size:36px}
  .metric-grid,.blog-grid,.testimonial-strip,.process-grid,.case-track,.footer-top{grid-template-columns:1fr}
  .process-card:nth-child(2),.process-card:nth-child(3){transform:none}
  .case-card img{height:300px}
  .photo-cta img,.consult-grid > img,.cta-blue img{height:360px}
  .cta-blue h2{font-size:42px}
  .tabs{gap:16px}
  .faq-row p{max-width:100%}
  .newsletter{flex-wrap:wrap; border-radius:24px; padding:14px}
  .newsletter button{width:100%}
}

/* ---- Premium finish pass ---- */
::selection{background:rgba(61,109,242,.18);color:var(--ink)}
body{overflow-x:hidden}
.scroll-progress{position:fixed;inset:0 0 auto 0;height:3px;z-index:9999;background:transparent;pointer-events:none}
.scroll-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--blue),#6c8dff);box-shadow:0 0 14px rgba(61,109,242,.35)}

.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  margin-bottom:18px;
  color:rgba(255,255,255,.76);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
  font-weight:800;
}
.eyebrow::before{content:'';width:28px;height:1px;background:currentColor;opacity:.7}
.eyebrow.dark{color:#737786}
.eyebrow.center{justify-content:center}

.nav{transition:height .3s ease,background .3s ease,box-shadow .3s ease,transform .3s ease}
.nav.scrolled{height:64px;background:rgba(255,255,255,.97);box-shadow:0 16px 40px rgba(15,18,32,.12)}
.nav.hidden{transform:translateY(-115%)}

.hero::after{
  content:'';position:absolute;inset:auto 0 0 0;height:170px;pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(7,12,23,.24));
}
.hero-copy{max-width:760px}
.hero-copy h1 em{position:relative;display:inline-block}
.hero-copy h1 em::after{
  content:'';position:absolute;left:2%;right:0;bottom:-7px;height:8px;border-bottom:2px solid rgba(255,255,255,.48);border-radius:50%;transform:rotate(-1deg)
}

.btn{position:relative;overflow:hidden;isolation:isolate}
.btn::before{content:'';position:absolute;width:0;height:0;border-radius:50%;background:rgba(255,255,255,.22);left:var(--x,50%);top:var(--y,50%);transform:translate(-50%,-50%);transition:width .45s ease,height .45s ease;z-index:-1}
.btn:hover::before{width:260px;height:260px}

.metric-card,.process-card,.pin-card,.question-box,.service-image-card,.quote,.blog-card,.case-card,.blue-panel,.forward-card{will-change:transform}
.metric-card,.process-card,.pin-card,.question-box,.service-image-card,.quote,.blog-card,.case-card{transition:transform .32s cubic-bezier(.2,.65,.3,1),box-shadow .32s ease,border-color .32s ease}
.metric-card:hover,.pin-card:hover,.question-box:hover,.quote:hover,.blog-card:hover{transform:translateY(-5px);box-shadow:0 22px 50px rgba(15,18,32,.09);border-color:rgba(61,109,242,.12)}
.service-image-card:hover{transform:translateY(-4px) rotate(.15deg)}

.portrait-wrap,.photo-cta,.service-image-card,.case-card,.blog-card,.consult-grid>img,.cta-blue{overflow:hidden}
.portrait-wrap img,.photo-cta img,.service-img,.case-card img,.blog-card img,.consult-grid>img,.cta-blue img{transition:transform .75s cubic-bezier(.2,.65,.3,1),filter .5s ease}
.portrait-wrap:hover img,.photo-cta:hover img,.service-image-card:hover .service-img,.case-card:hover img,.blog-card:hover img,.consult-grid>img:hover,.cta-blue:hover img{transform:scale(1.035);filter:saturate(1.03) contrast(1.01)}

.metric-card .icon-badge,.round-icon{transition:transform .35s cubic-bezier(.2,.8,.2,1),background .3s,color .3s}
.metric-card:hover .icon-badge,.process-card:hover .round-icon{transform:translateY(-3px) rotate(5deg);background:var(--blue);color:#fff}

.acc-title{position:relative;padding-right:42px}
.acc-title::after{content:'+';position:absolute;right:0;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f4f6fb;color:var(--blue);font-weight:500;transition:transform .3s ease,background .3s,color .3s}
.acc.active .acc-title::after{content:'−';background:var(--blue);color:#fff;transform:translateY(-50%) rotate(180deg)}
.acc:hover .acc-title{color:var(--blue-dark)}

.process-card{position:relative;overflow:hidden}
.process-card::after{content:'';position:absolute;left:0;right:100%;bottom:0;height:3px;background:var(--blue);transition:right .45s ease}
.process-card:hover::after{right:0}

.tabs{scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}
.tab{white-space:nowrap}

.case-card{cursor:grab}
.case-card:active{cursor:grabbing}
.slide-controls button{transition:transform .22s ease,background .22s ease,color .22s ease,box-shadow .22s ease}
.slide-controls button:hover:not(:disabled){transform:translateY(-2px);background:var(--blue);color:#fff;box-shadow:0 12px 25px rgba(61,109,242,.22)}

.quote{position:relative}
.quote::after{content:'';position:absolute;left:0;bottom:0;width:0;height:3px;background:var(--blue);border-radius:0 0 20px 20px;transition:width .4s ease}
.quote:hover::after{width:100%}

.blue-panel{position:relative;overflow:hidden}
.blue-panel::after{content:'';position:absolute;right:-90px;top:-90px;width:240px;height:240px;border:1px solid rgba(255,255,255,.18);border-radius:50%;pointer-events:none}
.blue-panel::before{content:'';position:absolute;right:-30px;top:-30px;width:120px;height:120px;border:1px solid rgba(255,255,255,.14);border-radius:50%;pointer-events:none}

.faq-row p{animation:faqIn .32s ease both}
@keyframes faqIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.faq-row button span{transition:transform .3s ease,background .25s}
.faq-row.open button span{transform:rotate(180deg)}

.blog-card{padding-bottom:10px}
.blog-card a span{transition:transform .25s ease}
.blog-card a:hover span{transform:translate(2px,-2px) rotate(45deg)}

.cta-blue{position:relative;overflow:hidden}
.cta-blue::before{content:'';position:absolute;left:-80px;bottom:-160px;width:330px;height:330px;border-radius:50%;border:1px solid rgba(255,255,255,.14);pointer-events:none}
.cta-blue::after{content:'';position:absolute;left:70px;bottom:-210px;width:420px;height:420px;border-radius:50%;border:1px solid rgba(255,255,255,.09);pointer-events:none}
.cta-content{position:relative;z-index:1}
.cta-blue img{position:relative;z-index:1}

.footer-top a{cursor:pointer;transition:color .2s,transform .2s}
.footer-top a:hover{color:var(--blue);transform:translateX(3px)}
.newsletter{transition:box-shadow .25s,border-color .25s;border:1px solid transparent}
.newsletter:focus-within{box-shadow:0 14px 34px rgba(61,109,242,.12);border-color:rgba(61,109,242,.18)}

/* scroll-reveal variants */
.reveal[data-reveal='left']{transform:translateX(-28px)}
.reveal[data-reveal='right']{transform:translateX(28px)}
.reveal.in[data-reveal='left'],.reveal.in[data-reveal='right']{transform:none}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  .reveal{opacity:1!important;transform:none!important}
}
.navlinks a{position:relative}
.navlinks a::after{content:'';position:absolute;left:0;right:100%;bottom:-7px;height:1.5px;background:var(--blue);transition:right .28s ease}
.navlinks a:hover::after,.navlinks a.active::after{right:0}
.navlinks a.active{color:var(--ink)}
.slide-controls button:disabled{cursor:not-allowed;opacity:.45}

/* === Final refinement pass === */
.scroll-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:100;background:transparent;pointer-events:none}
.scroll-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--blue),#7f8cff);transition:width .08s linear}
.nav{transition:transform .32s ease, height .28s ease, box-shadow .28s ease, background .28s ease}
.nav.scrolled{height:66px;background:rgba(255,255,255,.97);box-shadow:0 12px 36px rgba(15,18,32,.10)}
.nav.hidden{transform:translateY(-120%)}
.navlinks a{position:relative}
.navlinks a::after{content:'';position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--blue);transition:right .28s ease}
.navlinks a:hover::after,.navlinks a.active::after{right:0}

.eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:24px;font-size:13px;font-weight:800;letter-spacing:.18em;color:#71758a;text-transform:uppercase}
.eyebrow::before{content:'';width:36px;height:1px;background:#9fa3ae}

.email-pill{text-decoration:none;color:inherit;transition:transform .25s ease,background .25s ease}
.email-pill:hover{transform:translateY(-2px);background:#fff}

.intro-grid{grid-template-columns:.78fr 1.25fr .72fr}
.portrait-wrap{overflow:hidden;border-radius:22px}
.portrait-wrap img{transition:transform .7s cubic-bezier(.2,.75,.2,1)}
.portrait-wrap:hover img{transform:scale(1.025)}

.process-heading{margin-bottom:58px}
.process-grid{align-items:stretch;margin-top:0}
.process-card{
  position:relative;
  min-height:330px;
  overflow:hidden;
  justify-content:space-between;
  background:linear-gradient(180deg,#fbfbf8 0%,#f5f5ef 100%);
  border:1px solid #e8e6de;
  box-shadow:0 14px 34px rgba(15,18,32,.045);
}
.process-card:nth-child(2),.process-card:nth-child(3){transform:none}
.process-card::before{content:'';position:absolute;inset:auto -40px -90px auto;width:190px;height:190px;border:1px solid rgba(61,109,242,.10);border-radius:50%;transition:transform .5s ease,opacity .4s ease}
.process-card::after{content:'';position:absolute;inset:auto -75px -125px auto;width:250px;height:250px;border:1px solid rgba(61,109,242,.06);border-radius:50%;transition:transform .55s ease}
.process-card:hover::before,.process-card:focus::before{transform:scale(1.15);opacity:.85}
.process-card:hover::after,.process-card:focus::after{transform:scale(1.10)}
.process-number{font-family:var(--serif);font-style:italic;font-size:68px;line-height:1;color:rgba(15,18,32,.14);letter-spacing:-3px}
.process-line{height:2px;width:62px;background:var(--blue);margin:28px 0 34px;transform-origin:left;transition:width .35s ease}
.process-card:hover .process-line,.process-card:focus .process-line{width:100px}
.process-content{position:relative;z-index:1}
.process-card h3{margin:0 0 14px}
.process-outcome{margin-top:24px;padding-top:18px;border-top:1px solid #deddd5;display:flex;flex-direction:column;gap:6px;opacity:.72;transition:opacity .3s ease,transform .3s ease}
.process-card:hover .process-outcome,.process-card:focus .process-outcome{opacity:1;transform:translateY(-2px)}
.process-outcome span{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#8b8f99;font-weight:800}
.process-outcome b{font-size:15px;line-height:1.5}

.photo-cta img{object-position:center 54%;transition:transform .8s cubic-bezier(.2,.75,.2,1)}
.photo-cta:hover img{transform:scale(1.025)}
.overlay-copy h3{max-width:500px;font-size:46px;line-height:1.02}

.case-card{overflow:visible}
.case-card img{object-position:center center;transition:transform .55s cubic-bezier(.2,.75,.2,1),filter .4s ease}
.case-card:hover img{transform:scale(1.025);filter:saturate(1.03) contrast(1.01)}
.case-card .case1-img{object-position:center 42%}
.case-card h3{transition:transform .28s ease,box-shadow .28s ease}
.case-card:hover h3{transform:translateY(-4px);box-shadow:0 18px 34px rgba(15,18,32,.09)}

.contact-section{background:linear-gradient(180deg,#f6f5f0 0%,#efeee9 100%)}
.contact-heading{max-width:900px;margin:0 auto 54px;text-align:center}
.contact-heading .eyebrow{justify-content:center}
.contact-heading .eyebrow::before{display:none}
.contact-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:22px;align-items:stretch}
.contact-photo{position:relative;overflow:hidden;border-radius:26px;box-shadow:0 22px 55px rgba(15,18,32,.10);min-height:590px}
.contact-photo img{width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.75,.2,1)}
.contact-photo:hover img{transform:scale(1.025)}
.contact-photo::after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(180deg,transparent,rgba(8,13,24,.65))}
.contact-photo-note{position:absolute;z-index:2;left:28px;right:28px;bottom:28px;color:#fff;font-size:28px;font-weight:700;line-height:1.15;max-width:470px}
.contact-form{background:#111629;color:#fff;border-radius:26px;padding:34px;box-shadow:0 22px 55px rgba(15,18,32,.12);display:flex;flex-direction:column;gap:22px}
.form-row.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-form label{display:flex;flex-direction:column;gap:9px}
.contact-form label>span{font-size:13px;text-transform:uppercase;letter-spacing:.12em;color:#b9bfd1;font-weight:800}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff;border-radius:14px;padding:14px 15px;outline:none;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;font:inherit}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:#9298a9}
.contact-form select option{color:#111;background:#fff}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:#7f8cff;background:rgba(255,255,255,.08);box-shadow:0 0 0 4px rgba(127,140,255,.10)}
.contact-form textarea{resize:vertical;min-height:125px}
.contact-submit{align-self:flex-start;border:0;cursor:pointer}
.form-note{margin:0;color:#aeb4c4;font-size:13px;line-height:1.6}

.question-box .btn{margin-top:2px}

.footer-simple{background:#0f1220;color:#fff;padding:28px 0}
.footer-simple-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.footer-simple-inner>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.footer-simple strong{font-size:15px}
.footer-simple span{color:#9fa5b6;font-size:14px}
.footer-simple a{color:#fff;text-decoration:none;font-weight:600}
.footer-simple a:hover{text-decoration:underline}

.reveal{opacity:0;transform:translate3d(0,34px,0) scale(.992);filter:blur(2px);transition:opacity .72s cubic-bezier(.2,.75,.2,1),transform .72s cubic-bezier(.2,.75,.2,1),filter .72s ease}
.reveal.in{opacity:1;transform:none;filter:none}
.reveal-left{transform:translate3d(-34px,18px,0) scale(.992)}
.reveal-right{transform:translate3d(34px,18px,0) scale(.992)}
.reveal-up{transform:translate3d(0,44px,0) scale(.99)}

@media (max-width:1100px){
  .contact-grid{grid-template-columns:1fr}
  .contact-photo{min-height:480px}
  .intro-grid{grid-template-columns:1fr}
}
@media (max-width:900px){
  .process-grid{grid-template-columns:1fr}
  .process-card{min-height:0}
  .form-row.two-col{grid-template-columns:1fr}
  .footer-simple-inner{align-items:flex-start;flex-direction:column}
}
@media (max-width:640px){
  .contact-form{padding:24px}
  .contact-photo{min-height:360px}
  .contact-photo-note{font-size:22px}
  .overlay-copy h3{font-size:34px}
  .process-number{font-size:54px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition-duration:.001ms!important;transition-delay:0ms!important}
  .reveal,.reveal-left,.reveal-right,.reveal-up{opacity:1!important;transform:none!important;filter:none!important}
}

/* === Premium interaction pass v2 === */
:root{--accent:#6c4cff;--accent-soft:#efeaff;--navy:#12152a;--ivory:#f7f6f1}

/* Contact — lighter, calmer, more premium */
.contact-grid{gap:28px}
.contact-photo{box-shadow:0 24px 60px rgba(15,18,32,.09)}
.contact-photo::after{inset:50% 0 0;background:linear-gradient(180deg,transparent,rgba(8,13,24,.72))}
.contact-photo-note{left:34px;right:34px;bottom:34px;max-width:520px;display:flex;flex-direction:column;gap:5px;align-items:flex-start}
.contact-photo-note span{font-size:15px;line-height:1.2;text-transform:uppercase;letter-spacing:.15em;font-weight:800;color:rgba(255,255,255,.76)}
.contact-photo-note strong{font-size:30px;line-height:1.08;letter-spacing:-.8px;color:#fff}
.contact-form{background:#fff;color:var(--ink);border:1px solid #e7e4db;box-shadow:0 24px 60px rgba(15,18,32,.08);padding:38px;gap:20px}
.form-intro{padding-bottom:5px}
.form-kicker{display:block;margin-bottom:8px;font-size:12px;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:#7d8190}
.form-intro h3{margin:0;font-size:30px;line-height:1.12;letter-spacing:-1px}
.contact-form label>span{color:#666b78;font-size:12px;letter-spacing:.13em}
.contact-form input,.contact-form select,.contact-form textarea{background:#f7f7f4;color:var(--ink);border:1px solid #dfddd5;border-radius:13px;padding:14px 15px}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:#999da6}
.contact-form select option{color:#111;background:#fff}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 4px rgba(108,76,255,.08)}
.form-note{color:#777b86;max-width:600px}
.contact-submit-premium{position:relative;overflow:hidden;align-self:stretch;display:flex;align-items:center;justify-content:space-between;gap:20px;border:0;border-radius:18px;padding:12px 12px 12px 20px;background:var(--navy);color:#fff;cursor:pointer;box-shadow:0 12px 30px rgba(18,21,42,.16);transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
.contact-submit-premium::before{content:'';position:absolute;inset:0;transform:translateX(-120%);background:linear-gradient(105deg,transparent 20%,rgba(255,255,255,.12) 45%,transparent 70%);transition:transform .65s ease}
.contact-submit-premium:hover::before{transform:translateX(120%)}
.contact-submit-premium:hover{background:#171b35;box-shadow:0 16px 36px rgba(18,21,42,.22);transform:translateY(-2px)}
.submit-copy{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left}
.submit-copy small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#aeb3c7;font-weight:700}
.submit-copy b{font-size:18px}
.submit-arrow{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--accent);font-size:22px;transition:transform .3s ease,border-radius .3s ease}
.contact-submit-premium:hover .submit-arrow{transform:rotate(45deg) scale(1.04);border-radius:50%}

/* Process — true flip cards */
.process-grid{perspective:1200px}
.process-card.flip-card{background:transparent;border:0;box-shadow:none;padding:0;min-height:350px;overflow:visible}
.process-card.flip-card::before,.process-card.flip-card::after{display:none}
.flip-card-inner{position:relative;width:100%;height:100%;min-height:350px;transform-style:preserve-3d;transition:transform .72s cubic-bezier(.2,.72,.2,1);border-radius:24px}
.flip-card:hover .flip-card-inner,.flip-card:focus .flip-card-inner,.flip-card.is-flipped .flip-card-inner{transform:rotateY(180deg)}
.flip-face{position:absolute;inset:0;border-radius:24px;padding:30px;backface-visibility:hidden;-webkit-backface-visibility:hidden;border:1px solid #e6e3da;box-shadow:0 16px 38px rgba(15,18,32,.06);overflow:hidden}
.flip-front{background:linear-gradient(145deg,#fff 0%,#f5f4ee 100%);display:flex;flex-direction:column;justify-content:flex-end}
.flip-front::before{content:'';position:absolute;width:230px;height:230px;border-radius:50%;right:-100px;top:-95px;background:radial-gradient(circle at 30% 30%,rgba(108,76,255,.12),rgba(108,76,255,.02) 55%,transparent 70%)}
.flip-back{transform:rotateY(180deg);background:var(--navy);color:#fff;display:flex;flex-direction:column;justify-content:flex-end}
.flip-back::after{content:'';position:absolute;width:240px;height:240px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-95px;top:-110px}
.process-number{position:relative;z-index:1;margin-bottom:auto;font-size:74px;color:rgba(15,18,32,.14)}
.process-kicker{position:relative;z-index:1;margin:0 0 10px;font-size:12px;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:var(--accent)}
.flip-front h3{position:relative;z-index:1;margin:0 0 18px;font-size:32px}
.flip-hint{position:relative;z-index:1;margin:0!important;padding-top:16px;border-top:1px solid #dfddd5!important;color:#777b85!important;font-size:14px!important;display:flex;justify-content:space-between;gap:12px;align-items:center}
.flip-hint span{color:var(--accent);font-size:20px}
.back-label{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:#aeb5cc;font-weight:800;margin-bottom:auto}
.flip-back h3{margin:22px 0 16px;font-size:30px;line-height:1.1;letter-spacing:-.8px}
.flip-back>p{color:#c3c8d7!important;line-height:1.65!important}
.flip-back .process-outcome{border-top-color:rgba(255,255,255,.14);opacity:1}
.flip-back .process-outcome span{color:#9ea5bc}
.flip-back .process-outcome b{color:#fff}

/* Case studies — image first, details reveal in-card */
.case-carousel{overflow:hidden;padding:3px 0 14px}
.case-track{display:flex;gap:20px;transform:none;transition:transform .55s cubic-bezier(.2,.72,.2,1);will-change:transform}
.case-card{position:relative;flex:0 0 calc((100% - 40px)/3);height:500px;border-radius:24px;overflow:hidden!important;background:#111;box-shadow:0 15px 38px rgba(15,18,32,.07);cursor:pointer}
.case-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:24px;transform:scale(1.001);transition:transform .72s cubic-bezier(.2,.72,.2,1),filter .5s ease}
.case-card::after{content:'';position:absolute;inset:38% 0 0;background:linear-gradient(180deg,transparent 0%,rgba(8,12,20,.18) 25%,rgba(8,12,20,.58) 100%);pointer-events:none}
.case-panel{position:absolute;z-index:2;left:18px;right:18px;bottom:18px;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-radius:18px;padding:19px 20px;box-shadow:0 12px 28px rgba(0,0,0,.12);transform:translateY(98px);transition:transform .48s cubic-bezier(.2,.72,.2,1),background .35s ease}
.case-panel h3{margin:0!important;padding:0!important;background:none!important;box-shadow:none!important;transform:none!important;font-size:22px;line-height:1.2}
.case-panel p{margin:14px 0 12px;color:#595e69;line-height:1.55;font-size:15px;opacity:0;transition:opacity .28s ease .08s}
.case-panel span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#7f8490;opacity:0;transition:opacity .28s ease .12s}
.case-card:hover .case-panel,.case-card:focus .case-panel,.case-card.is-open .case-panel{transform:translateY(0)}
.case-card:hover .case-panel p,.case-card:hover .case-panel span,.case-card:focus .case-panel p,.case-card:focus .case-panel span,.case-card.is-open .case-panel p,.case-card.is-open .case-panel span{opacity:1}
.case-card:hover img,.case-card:focus img,.case-card.is-open img{transform:scale(1.055);filter:saturate(.92) contrast(1.02)}
.case-card .case1-img{object-position:center center}
.slide-controls button{transition:transform .22s ease,background .22s ease,color .22s ease}
.slide-controls button:hover:not(:disabled){transform:translateY(-2px);background:var(--navy);color:#fff}

/* Testimonials — auto-rotating premium rail */
.testimonial-section{overflow:hidden;background:#fff}
.testimonial-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:48px}
.testimonial-controls{display:flex;gap:10px}
.testimonial-controls button{width:46px;height:46px;border:1px solid #e6e3db;border-radius:50%;background:#f7f6f1;color:var(--accent);font-size:19px;cursor:pointer;transition:transform .22s ease,background .22s ease,color .22s ease}
.testimonial-controls button:hover{transform:translateY(-2px);background:var(--navy);color:#fff}
.testimonial-viewport{overflow:hidden;padding:0 max(24px,calc((100vw - 1180px)/2)) 24px}
.testimonial-track{display:flex;gap:20px;transition:transform .65s cubic-bezier(.2,.72,.2,1);will-change:transform}
.testimonial-track .quote{flex:0 0 360px;min-height:320px;background:linear-gradient(145deg,#f7f7f3,#efeee8);border:1px solid #e8e5dc;box-shadow:0 12px 30px rgba(15,18,32,.04);display:flex;flex-direction:column;justify-content:space-between;transition:transform .3s ease,box-shadow .3s ease}
.testimonial-track .quote:hover{transform:translateY(-6px);box-shadow:0 20px 44px rgba(15,18,32,.09)}
.testimonial-track .quote::before{color:#5e6270}
.testimonial-track .quote footer{padding-top:20px;border-top:1px solid #dddcd5}

@media(max-width:900px){
  .case-card{flex-basis:calc((100% - 20px)/2)}
  .testimonial-head{align-items:flex-start;flex-direction:column}
  .contact-photo-note strong{font-size:26px}
}
@media(max-width:640px){
  .contact-form{padding:24px}
  .form-intro h3{font-size:25px}
  .case-card{flex-basis:100%;height:450px}
  .case-panel{transform:translateY(84px)}
  .testimonial-track .quote{flex-basis:86vw;min-height:300px}
  .flip-card-inner,.process-card.flip-card{min-height:330px}
  .contact-photo-note{left:24px;right:24px;bottom:24px}
  .contact-photo-note strong{font-size:24px}
}

/* === Focused refinement v3 === */
/* Services: premium index treatment instead of bracketed numbers */
.premium-services .acc{position:relative;border-color:#e1dfd7}
.premium-services .acc-title{display:grid;grid-template-columns:52px 1fr 40px;gap:18px;align-items:center;padding:22px 0}
.service-index{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid #dfddd6;background:#f8f7f2;color:#8a8e98;font-size:12px;font-weight:800;letter-spacing:.08em;transition:.3s ease}
.service-name{font-size:25px;letter-spacing:-.5px}
.service-toggle{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f3f1ff;color:var(--accent);font-size:23px;line-height:1;transition:.3s ease}
.premium-services .acc.active .service-index{background:var(--navy);border-color:var(--navy);color:#fff}
.premium-services .acc.active .service-toggle{background:var(--accent);color:#fff;transform:rotate(180deg)}
.premium-services .acc:hover .service-name{transform:translateX(3px)}
.service-name{transition:transform .25s ease}

/* Process cards: cleaner back faces and stronger visual hierarchy */
.flip-back{justify-content:flex-start;padding-top:32px}
.flip-back .back-label{margin-bottom:26px;color:#aeb4c6}
.flip-back h3{margin:0 0 18px;font-size:28px;max-width:94%}
.flip-back>p{margin:0 0 22px;color:#c8ccda!important}
.flip-back .process-outcome{margin-top:auto;padding-top:18px}
.flip-front .process-kicker{color:#777b88}
.flip-front h3{font-size:31px}

/* Auto-moving case-study rail */
.case-carousel{position:relative}
.case-track{user-select:none}
.case-card{transition:box-shadow .3s ease,transform .3s ease}
.case-card:hover{box-shadow:0 24px 55px rgba(15,18,32,.12)}
.slide-controls button#toggleCases{font-size:17px}

/* Testimonial rail gets a soft edge fade so movement feels continuous */
.testimonial-viewport{position:relative}
.testimonial-viewport::before,.testimonial-viewport::after{content:'';position:absolute;top:0;bottom:22px;width:52px;z-index:3;pointer-events:none}
.testimonial-viewport::before{left:0;background:linear-gradient(90deg,#fff,rgba(255,255,255,0))}
.testimonial-viewport::after{right:0;background:linear-gradient(270deg,#fff,rgba(255,255,255,0))}

/* Contact CTA polish */
.contact-submit-premium{min-height:72px}
.submit-copy b{font-size:19px;letter-spacing:-.25px}
.submit-copy small{color:#bfc5d8}
.form-note{font-size:13px;line-height:1.65;margin-top:2px}

@media(max-width:640px){
  .premium-services .acc-title{grid-template-columns:42px 1fr 36px;gap:12px}
  .service-index{width:36px;height:36px}
  .service-name{font-size:20px}
  .flip-back h3{font-size:25px}
  .testimonial-viewport::before,.testimonial-viewport::after{width:18px}
}

/* === Premium refinement v4 === */
/* Hero: keep the action card fully visible above the fold */
.hero{min-height:100svh}
.hero-layout{min-height:calc(100svh - 96px);align-items:center;padding-bottom:28px}
.hero-copy{padding-top:122px;padding-bottom:32px}
.forward-card{align-self:center;margin-top:104px;margin-bottom:0;width:100%;max-width:330px;padding:24px;border-radius:22px;box-shadow:0 22px 60px rgba(8,12,24,.18)}
.forward-card h3{font-size:32px;max-width:290px}
.forward-card p{font-size:15px;line-height:1.55;margin-bottom:16px}
.forward-card .email-pill{min-height:54px}

/* Metrics: quieter, bespoke line icons and stronger card hierarchy */
.metric-card{position:relative;min-height:310px;padding:30px 28px 28px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;border:1px solid #ebe8df;background:linear-gradient(145deg,#fff,#fbfaf6);box-shadow:0 16px 34px rgba(15,18,32,.055)}
.metric-card::after{content:'';position:absolute;left:28px;right:28px;bottom:0;height:3px;background:linear-gradient(90deg,var(--accent),transparent);transform:scaleX(0);transform-origin:left;transition:transform .42s ease}
.metric-card:hover::after{transform:scaleX(1)}
.metric-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#f1efff;color:var(--accent);box-shadow:inset 0 0 0 1px rgba(108,76,255,.08);transition:transform .3s ease,background .3s ease,color .3s ease,border-radius .3s ease}
.metric-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.metric-card:hover .metric-icon{transform:translateY(-3px) rotate(-2deg);background:var(--navy);color:#fff;border-radius:50%}
.metric-card strong{margin-top:auto;margin-bottom:14px}
.metric-card p{font-size:16px;max-width:95%}

/* Services: refined, single-layer controls with no visual collision */
.premium-services .acc-title{grid-template-columns:48px minmax(0,1fr) 38px;gap:18px;padding:23px 0}
.service-index{width:40px;height:40px;background:#fbfaf6;border:1px solid #ddd9cf;color:#7f8491;box-shadow:none}
.service-toggle{width:36px;height:36px;background:#f7f5ff;border:1px solid #e9e4ff;color:var(--accent);font-size:21px;box-shadow:none}
.premium-services .acc.active .service-toggle{background:var(--navy);border-color:var(--navy);color:#fff;transform:none}
.premium-services .acc.active .service-index{background:#f2efff;border-color:#e3dcff;color:var(--accent)}
.premium-services .acc:hover .service-name{transform:translateX(2px)}

/* Process flip backs: cleaner editorial rhythm and guaranteed fit */
.flip-card-inner,.process-card.flip-card{min-height:370px}
.flip-face{padding:30px 28px}
.flip-back{justify-content:flex-start;padding-top:30px}
.flip-back .back-label{margin:0 0 18px;font-size:11px;letter-spacing:.16em;color:#aeb4c6}
.flip-back h3{margin:0 0 16px;font-size:25px;line-height:1.12;letter-spacing:-.55px;max-width:92%}
.flip-back>p{margin:0;color:#c9ceda!important;font-size:15px;line-height:1.58!important;max-width:95%}
.flip-back .process-outcome{margin-top:auto;padding-top:15px;border-top:1px solid rgba(255,255,255,.14)}
.flip-back .process-outcome span{font-size:10px;letter-spacing:.15em}
.flip-back .process-outcome b{display:block;margin-top:7px;font-size:14px;line-height:1.35;max-width:95%}

/* Contact form: simple premium CTA, direct submission status */
.contact-submit-premium{min-height:62px;border-radius:18px;padding:8px 10px 8px 22px;display:flex;align-items:center;justify-content:space-between;background:var(--navy);color:#fff;font-size:18px;font-weight:800;letter-spacing:-.2px;border:0;cursor:pointer}
.contact-submit-premium:hover{background:#171b35;transform:translateY(-2px);box-shadow:0 15px 32px rgba(18,21,42,.18)}
.contact-submit-premium[disabled]{opacity:.68;cursor:wait;transform:none}
.submit-arrow{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--accent);font-size:20px;transition:transform .3s ease,border-radius .3s ease}
.contact-submit-premium:hover .submit-arrow{transform:rotate(45deg);border-radius:50%}
.form-note{min-height:22px;margin-top:6px;font-size:13px;line-height:1.55;color:#6f7481}
.form-note.success{color:#23764a;font-weight:700}
.form-note.error{color:#a13a3a;font-weight:700}
.form-honey{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}

/* Carousels: motion is intentionally obvious once sections enter view */
.case-track{transition:transform .72s cubic-bezier(.18,.76,.2,1)}
.testimonial-track{transition:transform .78s cubic-bezier(.18,.76,.2,1)}
.case-card,.testimonial-track .quote{will-change:transform}

@media(max-width:1100px){
  .hero-layout{min-height:calc(100svh - 84px)}
  .forward-card{margin-top:74px;max-width:300px}
  .forward-card h3{font-size:28px}
}
@media(max-width:900px){
  .hero{min-height:auto}
  .hero-layout{min-height:690px;align-items:end}
  .forward-card{margin-top:0;align-self:end;max-width:380px}
  .flip-card-inner,.process-card.flip-card{min-height:360px}
}
@media(max-width:640px){
  .forward-card{display:none}
  .metric-card{min-height:270px}
  .flip-card-inner,.process-card.flip-card{min-height:350px}
  .flip-back h3{font-size:23px}
}

/* === Premium refinement v5 === */
/* Animated running border reserved for high-value CTAs */
.cta-run{position:relative;isolation:isolate;overflow:visible}
.cta-run::before{content:'';position:absolute;inset:-2px;border-radius:inherit;padding:2px;background:conic-gradient(from var(--cta-angle,0deg),transparent 0 18%,rgba(126,74,255,.18) 27%,#7a00ff 35%,#9b63ff 42%,transparent 52% 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;animation:ctaOrbit 3.1s linear infinite;opacity:.92}
.cta-run-dark::before{background:conic-gradient(from var(--cta-angle,0deg),transparent 0 17%,rgba(255,255,255,.18) 28%,#b784ff 36%,#fff 43%,transparent 54% 100%)}
@keyframes ctaOrbit{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.cta-run::before{animation:none}}

/* Services header / CTA stability */
.services .section-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:44px}
.services .section-head h2{max-width:820px}
.services-cta{align-self:end;white-space:nowrap;min-width:178px;justify-content:space-between;transform:none!important}
.services-cta:hover{transform:translateY(-2px)!important}
@media(max-width:900px){.services .section-head{grid-template-columns:1fr;gap:24px}.services-cta{justify-self:start}}

/* Process cards: compact, editorial front face */
.process-grid{gap:24px;margin-top:48px}
.flip-card-inner,.process-card.flip-card{min-height:305px}
.flip-face{padding:30px}
.flip-front{justify-content:flex-end;background:linear-gradient(150deg,#fff,#fbfaf5)}
.process-topline{display:flex;align-items:center;gap:12px;margin-bottom:auto}
.process-chip{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f2efff;color:var(--accent);border:1px solid #e5ddff;font-size:12px;font-weight:900;letter-spacing:.08em;flex:0 0 auto}
.flip-front .process-kicker{margin:0;color:#7f8390;font-size:11px;letter-spacing:.14em;line-height:1.3}
.flip-front h3{font-size:30px;line-height:1.08;margin:28px 0 18px;letter-spacing:-.7px}
.process-front-rule{height:1px;background:#deddd5;position:relative;overflow:hidden}
.process-front-rule::after{content:'';position:absolute;inset:0 auto 0 0;width:34%;background:var(--accent);transform:translateX(-105%);transition:transform .45s ease}
.flip-card:hover .process-front-rule::after,.flip-card.is-flipped .process-front-rule::after{transform:translateX(0)}
.flip-back{padding:29px 30px}
.flip-back .back-label{font-size:10px;margin-bottom:16px}
.flip-back h3{font-size:24px;line-height:1.12;margin-bottom:14px;max-width:96%}
.flip-back>p{font-size:14px;line-height:1.52!important;max-width:98%}
.flip-back .process-outcome{padding-top:13px}
.flip-back .process-outcome b{font-size:13px;line-height:1.32}
@media(max-width:640px){.flip-card-inner,.process-card.flip-card{min-height:290px}.flip-front h3{font-size:26px}}

/* Partnership strengths: segmented control */
.partnership-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:42px 0 26px;padding:6px;border:1px solid #e2dfd6;background:#f6f5f0;border-radius:999px;overflow:visible}
.partnership-tabs .tab{margin:0;padding:13px 16px;border:0;border-radius:999px;font-size:15px;font-weight:700;color:#6b6f79;white-space:nowrap;transition:background .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease}
.partnership-tabs .tab::after{display:none}
.partnership-tabs .tab:hover{color:var(--ink);transform:translateY(-1px)}
.partnership-tabs .tab.active{background:#fff;color:var(--navy);box-shadow:0 8px 22px rgba(15,18,32,.08),inset 0 0 0 1px rgba(15,18,32,.04)}
@media(max-width:640px){.partnership-tabs{grid-template-columns:1fr;border-radius:20px}.partnership-tabs .tab{text-align:left;border-radius:14px}}

/* === Premium refinement v6: surgical cleanup === */
/* 1) CTAs: restrained premium treatment, no orbiting/running border */
.cta-run{overflow:hidden!important;isolation:isolate}
.cta-run::before{display:none!important;animation:none!important}
.cta-run::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(122,0,255,.18);
  opacity:.72;
  transition:opacity .25s ease,box-shadow .25s ease;
}
.cta-run:hover::after{opacity:1;box-shadow:inset 0 0 0 1px rgba(122,0,255,.34)}
.btn.cta-run:hover{transform:translateY(-1px)!important}

/* Send inquiry must never leak animation outside its button */
.contact-submit-premium{overflow:hidden!important;isolation:isolate}
.contact-submit-premium::before{display:none!important}
.contact-submit-premium::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.11);
}
.contact-submit-premium:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(18,21,42,.16)}
.contact-submit-premium:hover .submit-arrow{transform:translateX(2px);border-radius:14px}

/* 2) Services: remove the legacy pseudo-control that caused overlap */
.premium-services .acc-title{position:relative}
.premium-services .acc-title::after,
.premium-services .acc.active .acc-title::after{content:none!important;display:none!important}
.service-toggle{position:relative!important;right:auto!important;top:auto!important;transform:none!important;z-index:2}
.premium-services .acc.active .service-toggle{transform:none!important}
.premium-services .acc-title{grid-template-columns:46px minmax(0,1fr) 38px!important;column-gap:18px!important}
.service-name{min-width:0}

/* 3) Process: use the card area instead of leaving a large dead zone */
.process-grid{gap:22px;margin-top:42px}
.flip-card-inner,.process-card.flip-card{min-height:260px!important;height:260px}
.flip-face{padding:26px 28px!important}
.flip-front{justify-content:space-between!important}
.process-topline{margin-bottom:0!important;align-items:center}
.flip-front h3{margin:0!important;font-size:29px;line-height:1.08;max-width:94%}
.process-front-rule{margin-top:18px}
.flip-back{padding:25px 27px!important;justify-content:flex-start!important}
.flip-back .back-label{margin:0 0 12px!important}
.flip-back h3{font-size:22px!important;line-height:1.12!important;margin:0 0 11px!important;max-width:100%!important}
.flip-back>p{font-size:13.5px!important;line-height:1.48!important;margin:0!important;max-width:100%!important}
.flip-back .process-outcome{margin-top:auto!important;padding-top:11px!important}
.flip-back .process-outcome b{font-size:12.5px!important;line-height:1.28!important}
@media(max-width:900px){.flip-card-inner,.process-card.flip-card{height:auto;min-height:250px!important}}
@media(max-width:640px){.flip-card-inner,.process-card.flip-card{min-height:235px!important}.flip-front h3{font-size:25px}}

/* 4) Case study labels: all title panels share the same baseline and height */
.case-card{position:relative;overflow:hidden;border-radius:22px}
.case-panel{
  left:18px!important;
  right:18px!important;
  bottom:18px!important;
  min-height:94px;
  height:94px;
  padding:19px 20px!important;
  display:flex;
  flex-direction:column;
  justify-content:center;
  transform:none!important;
  overflow:hidden;
  transition:height .42s cubic-bezier(.2,.72,.2,1),background .3s ease,box-shadow .3s ease!important;
}
.case-panel h3{display:flex;align-items:center;min-height:48px;margin:0!important;font-size:21px!important;line-height:1.15!important}
.case-panel p,.case-panel span{display:none!important;opacity:0!important}
.case-card:hover .case-panel,.case-card:focus .case-panel,.case-card.is-open .case-panel{height:205px;justify-content:flex-start}
.case-card:hover .case-panel h3,.case-card:focus .case-panel h3,.case-card.is-open .case-panel h3{min-height:auto;margin-bottom:10px!important}
.case-card:hover .case-panel p,.case-card:focus .case-panel p,.case-card.is-open .case-panel p{display:block!important;opacity:1!important;margin:0 0 10px!important}
.case-card:hover .case-panel span,.case-card:focus .case-panel span,.case-card.is-open .case-panel span{display:block!important;opacity:1!important;margin-top:auto}
@media(max-width:640px){.case-panel{height:88px;min-height:88px}.case-card.is-open .case-panel{height:195px}}

/* === SocialCan brand + Zoho Forms integration === */
.brand-logo{
  display:flex;
  align-items:center;
  width:162px;
  min-width:162px;
  height:42px;
  margin-right:auto;
  text-decoration:none;
}
.brand-logo img{width:100%;height:100%;object-fit:contain;object-position:left center;display:block}

.zoho-form-shell{
  min-width:0;
  background:#fff;
  border:1px solid #e7e4db;
  border-radius:26px;
  padding:20px 18px 16px;
  box-shadow:0 24px 60px rgba(15,18,32,.08);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.zoho-form-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:3px 8px 12px;
}
.zoho-form-topline .form-kicker{margin:0}
.zoho-secure{
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6f7480;
  background:#f4f3ef;
  border:1px solid #e3e1d9;
  border-radius:999px;
  padding:7px 10px;
  white-space:nowrap;
}
.zoho-form-frame{
  display:block;
  width:100%;
  height:660px;
  border:0;
  border-radius:18px;
  background:#fff;
}
.zoho-form-note{
  margin:10px 8px 0;
  color:#777b86;
  font-size:12px;
  line-height:1.5;
}
.footer-brand{display:flex;align-items:center;gap:10px!important}
.footer-brand img{width:24px;height:24px;filter:brightness(0) invert(1);opacity:.94}

@media(max-width:900px){
  .brand-logo{width:144px;min-width:144px;height:38px}
  .zoho-form-frame{height:720px}
}
@media(max-width:640px){
  .brand-logo{width:132px;min-width:132px;height:34px}
  .zoho-form-shell{padding:14px 10px 12px;border-radius:22px}
  .zoho-form-topline{padding:4px 5px 10px}
  .zoho-form-frame{height:760px;border-radius:15px}
  .zoho-form-note{margin:8px 5px 0}
}

/* V8 — approved SocialCan footer signature */
.footer-signature{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#0b1730 0%,#10213f 58%,#0b1830 100%);
  color:#fff;
  padding:52px 0 44px;
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-signature::before{
  content:'';
  position:absolute;
  width:420px;
  height:420px;
  border-radius:50%;
  right:-180px;
  top:-250px;
  border:1px solid rgba(255,255,255,.06);
  pointer-events:none;
}
.footer-signature-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.4fr .8fr .8fr;
  gap:56px;
  align-items:end;
}
.footer-signature-brand img{
  width:190px;
  height:auto;
  margin-bottom:18px;
}
.footer-signature-brand p{
  margin:0 0 10px;
  color:#c5cddd;
  font-family:var(--serif);
  font-size:20px;
  line-height:1.45;
  font-style:italic;
}
.footer-signature-brand p em{
  color:#8fd7c5;
  font-style:italic;
}
.footer-signature-brand>span,
.footer-signature-contact>span,
.footer-signature-legal span{
  display:block;
  color:#8f9bb0;
  font-size:13px;
  line-height:1.6;
}
.footer-signature-contact{
  padding-left:34px;
  border-left:1px solid rgba(255,255,255,.1);
}
.footer-signature-contact a{
  display:inline-block;
  margin-top:7px;
  color:#fff;
  text-decoration:none;
  font-size:17px;
  font-weight:650;
  transition:color .2s ease,transform .2s ease;
}
.footer-signature-contact a:hover{
  color:#8fd7c5;
  transform:translateX(2px);
}
.footer-signature-legal{
  padding-left:34px;
  border-left:1px solid rgba(255,255,255,.1);
}
.footer-signature-legal span:first-child{
  color:#d9deea;
  margin-bottom:3px;
}
@media(max-width:860px){
  .footer-signature-inner{grid-template-columns:1fr;gap:30px;align-items:start}
  .footer-signature-contact,.footer-signature-legal{padding-left:0;border-left:0;border-top:1px solid rgba(255,255,255,.09);padding-top:24px}
}
@media(max-width:560px){
  .footer-signature{padding:42px 0 36px}
  .footer-signature-brand img{width:165px}
  .footer-signature-brand p{font-size:18px}
}

/* === V11: production responsive + full-height Zoho form === */

/* Mobile navigation */
.mobile-menu-toggle,.mobile-menu{display:none}
.mobile-menu-toggle{
  width:44px;height:44px;border-radius:50%;border:1px solid #e3e1d9;background:#fff;
  align-items:center;justify-content:center;flex-direction:column;gap:6px;cursor:pointer;padding:0;
  box-shadow:0 8px 20px rgba(15,18,32,.06)
}
.mobile-menu-toggle span{display:block;width:18px;height:2px;border-radius:2px;background:var(--navy);transition:transform .25s ease,opacity .25s ease}
.mobile-menu-toggle.is-open span:first-child{transform:translateY(4px) rotate(45deg)}
.mobile-menu-toggle.is-open span:last-child{transform:translateY(-4px) rotate(-45deg)}
.mobile-menu{
  position:absolute;left:0;right:0;top:calc(100% + 10px);padding:12px;background:rgba(255,255,255,.98);
  border:1px solid #e7e4dc;border-radius:20px;box-shadow:0 20px 50px rgba(15,18,32,.14);backdrop-filter:blur(16px);
  opacity:0;transform:translateY(-8px);pointer-events:none;transition:opacity .24s ease,transform .24s ease
}
.mobile-menu.is-open{opacity:1;transform:none;pointer-events:auto}
.mobile-menu a{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-radius:12px;text-decoration:none;color:var(--navy);font-weight:700}
.mobile-menu a:hover{background:#f5f3ff}
.mobile-menu-cta{margin-top:6px;background:var(--navy)!important;color:#fff!important}

/* Zoho: enough iframe height to show the full standard form without nested scrolling */
.zoho-form-shell{padding:14px;border-radius:26px;overflow:hidden;align-self:stretch}
.zoho-form-frame{height:1120px!important;min-height:1120px;border-radius:18px;overflow:hidden}
.contact-grid{align-items:stretch}
.contact-photo{min-height:1120px}
.contact-photo img{position:absolute;inset:0;width:100%;height:100%}

/* Responsive system */
@media(max-width:1100px){
  .section{padding:92px 0}
  .hero-layout{grid-template-columns:minmax(0,1fr) 310px;gap:30px}
  .hero h1{font-size:clamp(58px,7vw,68px)}
  .display{font-size:clamp(46px,5.6vw,58px)}
  .intro-grid{grid-template-columns:1fr 1fr;gap:28px}
  .intro-copy{grid-column:1/-1;max-width:760px}
  .pin-card{align-self:stretch}
  .service-layout,.partner-grid{grid-template-columns:1fr 1fr;gap:36px}
  .process-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .contact-grid{grid-template-columns:1fr 1fr;gap:18px}
}

@media(max-width:900px){
  .shell{width:min(100% - 32px,1180px)}
  .section{padding:78px 0}
  .nav{height:64px;padding:0 14px 0 16px;top:10px;gap:12px;overflow:visible}
  .nav.scrolled{height:60px}
  .brand-logo{width:142px!important;min-width:142px!important;height:36px!important}
  .navlinks,.nav-cta{display:none!important}
  .mobile-menu-toggle{display:flex;margin-left:auto}
  .mobile-menu{display:block}

  .hero{min-height:680px;background-position:center center!important}
  .hero-layout{display:block;min-height:610px;padding-bottom:0}
  .hero-copy{padding-top:160px;padding-bottom:56px;max-width:720px}
  .hero h1{font-size:clamp(50px,9vw,64px);line-height:.98}
  .hero-copy p{max-width:600px}
  .forward-card{display:none}

  .intro-grid,.service-layout,.partner-grid,.contact-grid,.faq{grid-template-columns:1fr}
  .intro-grid{gap:24px}
  .portrait-wrap img{aspect-ratio:16/11;max-height:520px}
  .pin-card{max-width:none}

  .metric-grid{grid-template-columns:repeat(2,1fr)}
  .section-head,.case-head,.testimonial-head{align-items:flex-start;gap:24px}
  .section-head{display:grid;grid-template-columns:1fr auto}
  .services-cta{justify-self:end;align-self:start}
  .service-image-card{max-width:680px;width:100%;margin:0 auto}
  .service-img{aspect-ratio:16/10;max-height:520px}

  .process-grid{grid-template-columns:1fr;gap:18px;margin-top:30px}
  .flip-card-inner,.process-card.flip-card{height:270px!important;min-height:270px!important}
  .flip-face{padding:24px 26px!important}

  .photo-cta img{height:520px}
  .partner-copy{padding-top:6px}
  .partnership-tabs{margin-top:32px}

  .case-card{flex-basis:calc((100% - 18px)/2);height:470px}
  .testimonial-track .quote{flex-basis:calc((100vw - 84px)/2);min-height:300px}

  .contact-grid{gap:22px}
  .contact-photo{min-height:480px;max-height:560px}
  .contact-photo img{position:relative;height:100%;min-height:480px}
  .zoho-form-frame{height:1140px!important;min-height:1140px}
  .contact-heading{margin-bottom:36px}

  .faq{gap:38px}
  .question-box{margin-top:24px}

  .reveal-left,.reveal-right,.reveal-up,.reveal{transform:translate3d(0,28px,0) scale(.995);filter:none}
}

@media(max-width:640px){
  .shell{width:min(100% - 22px,1180px)}
  .section{padding:64px 0}
  .nav{width:calc(100% - 22px);border-radius:18px;height:58px;padding:0 10px 0 14px}
  .nav.scrolled{height:56px}
  .brand-logo{width:128px!important;min-width:128px!important;height:32px!important}
  .mobile-menu-toggle{width:40px;height:40px}
  .mobile-menu{top:calc(100% + 8px);border-radius:16px;padding:9px}
  .mobile-menu a{padding:12px}

  .hero{min-height:620px}
  .hero-layout{min-height:560px}
  .hero-copy{padding-top:140px;padding-bottom:44px}
  .hero h1{font-size:clamp(42px,12vw,52px);letter-spacing:-1.7px}
  .hero-copy p{font-size:16px;line-height:1.55;margin:20px 0 26px}
  .hero-copy .btn{padding:11px 12px 11px 18px}
  .hero-copy .btn span{width:38px;height:38px}

  .display,.section-head h2,.partner-copy h2,.case-head h2,.faq h2{font-size:clamp(34px,10vw,42px);line-height:1.08;letter-spacing:-1.4px}
  .sub{font-size:16px;margin:20px auto 34px}

  .intro .display{margin-bottom:34px}
  .intro-copy p{font-size:16px;line-height:1.65}
  .portrait-wrap img{aspect-ratio:4/3;border-radius:18px}
  .pin-card{padding:20px;border-radius:16px}
  .pin-card li{font-size:17px;padding:10px 0}

  .metric-grid{grid-template-columns:1fr;gap:14px}
  .metric-card{padding:22px;border-radius:16px}
  .metric-card strong{font-size:48px;margin:20px 0 8px}

  .section-head{grid-template-columns:1fr;gap:18px;margin-bottom:32px}
  .services-cta{justify-self:start}
  .premium-services .acc-title{grid-template-columns:38px minmax(0,1fr) 34px!important;column-gap:12px!important;padding:18px 0}
  .service-index{width:36px;height:36px}
  .service-name{font-size:20px;line-height:1.18}
  .service-toggle{width:34px;height:34px;font-size:20px}
  .acc-body p{font-size:15.5px;line-height:1.6}
  .service-image-card{padding:10px;border-radius:18px}
  .service-img{aspect-ratio:4/3;border-radius:14px}

  .process-heading .display br{display:none}
  .process-grid{gap:14px}
  .flip-card-inner,.process-card.flip-card{height:260px!important;min-height:260px!important}
  .flip-face{padding:22px!important;border-radius:18px}
  .flip-card-inner{border-radius:18px}
  .process-topline{gap:10px}
  .process-chip{width:38px;height:38px;font-size:11px}
  .process-kicker{font-size:10px;letter-spacing:.11em}
  .flip-front h3{font-size:25px!important}
  .flip-back h3{font-size:20px!important}
  .flip-back>p{font-size:13px!important;line-height:1.42!important}
  .flip-back .process-outcome b{font-size:12px!important}
  @media(hover:none){
    .flip-card:hover .flip-card-inner,.flip-card:focus .flip-card-inner{transform:none}
    .flip-card.is-flipped .flip-card-inner{transform:rotateY(180deg)!important}
  }

  .photo-cta img{height:420px;border-radius:18px}
  .photo-cta{border-radius:18px}
  .overlay-copy{left:20px;right:20px;bottom:20px}
  .overlay-copy h3{font-size:34px;line-height:1.02}
  .partnership-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;border-radius:16px;padding:5px;margin:28px 0 22px}
  .partnership-tabs::-webkit-scrollbar{display:none}
  .partnership-tabs .tab{flex:0 0 auto;min-width:max-content;padding:11px 14px;border-radius:12px;text-align:center}
  .partner-copy p,.tab-copy{font-size:15.5px;line-height:1.65}

  .case-head,.testimonial-head{margin-bottom:30px}
  .slide-controls,.testimonial-controls{gap:7px}
  .slide-controls button,.testimonial-controls button{width:42px;height:42px}
  .case-carousel{overflow:hidden}
  .case-track{gap:14px}
  .case-card{flex-basis:100%;height:430px;border-radius:18px}
  .case-card img{border-radius:18px}
  .case-panel{left:12px!important;right:12px!important;bottom:12px!important;height:82px;min-height:82px;padding:15px 16px!important;border-radius:14px}
  .case-panel h3{font-size:19px!important;min-height:42px}
  .case-card.is-open .case-panel{height:185px}

  .testimonial-viewport{padding:0 11px 20px}
  .testimonial-track{gap:14px}
  .testimonial-track .quote{flex-basis:calc(100vw - 44px);min-height:290px;padding:22px;border-radius:16px}
  .quote p{font-size:16px;line-height:1.6}

  .contact-heading .display{font-size:38px}
  .contact-heading .sub{max-width:92%}
  .contact-photo{min-height:360px;max-height:420px;border-radius:18px}
  .contact-photo img{min-height:360px;border-radius:18px}
  .contact-photo-note{left:20px;right:20px;bottom:20px}
  .contact-photo-note span{font-size:11px;letter-spacing:.12em}
  .contact-photo-note strong{font-size:23px;line-height:1.04}
  .zoho-form-shell{padding:8px;border-radius:18px}
  .zoho-form-frame{height:1180px!important;min-height:1180px;border-radius:12px}

  .faq-left .eyebrow{margin-bottom:10px}
  .question-box{padding:22px;border-radius:16px}
  .faq-row button{font-size:17px;line-height:1.35;padding:18px 0;gap:14px}

  .footer-signature{padding:38px 0 32px}
  .footer-signature-inner{gap:22px}
  .footer-signature-brand img{width:158px}
  .footer-signature-brand p{font-size:17px}
  .footer-signature-contact,.footer-signature-legal{padding-top:18px}

  .reveal,.reveal-left,.reveal-right,.reveal-up{transform:translate3d(0,22px,0)!important;filter:none!important;transition-duration:.55s!important}
}

@media(max-width:380px){
  .shell{width:min(100% - 16px,1180px)}
  .hero h1{font-size:40px}
  .display,.section-head h2,.partner-copy h2,.case-head h2,.faq h2{font-size:32px}
  .service-name{font-size:18px}
  .zoho-form-frame{height:1210px!important;min-height:1210px}
}


/* =========================================================
   V12 — intentional mobile UX + compact Zoho form
   ========================================================= */

/* Contact: keep desktop panel compact instead of matching a 1100px iframe */
.contact-grid{
  align-items:start !important;
}
.contact-photo{
  min-height:780px !important;
  height:780px !important;
  max-height:780px !important;
}
.contact-photo img{
  position:absolute !important;
  inset:0;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  object-fit:cover;
}

/* Visually compact the cross-origin Zoho form while preserving the full form. */
.zoho-form-shell{
  height:780px;
  min-height:780px;
  overflow:hidden !important;
  padding:10px !important;
}
.zoho-form-frame{
  display:block;
  width:125% !important;
  height:965px !important;
  min-height:965px !important;
  transform:scale(.80);
  transform-origin:top left;
  border-radius:16px !important;
  overflow:hidden;
}

/* Mobile swipers: native touch scroll is more useful than stacked tall cards. */
@media(max-width:640px){

  /* Intro capability list becomes a compact horizontal swipe row below the image. */
  .intro-grid{
    display:flex !important;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:14px !important;
    padding:0 16px 14px;
    margin-inline:-16px;
    scrollbar-width:none;
  }
  .intro-grid::-webkit-scrollbar{display:none}
  .intro-grid > *{
    flex:0 0 84%;
    scroll-snap-align:start;
  }
  .intro-copy{
    flex-basis:88%;
    display:flex;
    align-items:center;
    min-height:220px;
    padding:26px;
    border:1px solid #ece9df;
    border-radius:20px;
    background:#fff;
    box-shadow:0 12px 30px rgba(15,18,32,.05);
  }
  .intro-copy p{font-size:16px;line-height:1.65}
  .portrait-wrap img{aspect-ratio:4/4.3}
  .pin-card{
    min-height:220px;
    padding:22px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .pin-card li{font-size:16px;padding:10px 0}

  /* Metrics become a swipe carousel rather than a tall vertical stack. */
  .metric-grid{
    display:flex !important;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:14px !important;
    padding:2px 18px 18px;
    margin-inline:-18px;
    scrollbar-width:none;
  }
  .metric-grid::-webkit-scrollbar{display:none}
  .metric-card{
    flex:0 0 82%;
    min-height:250px;
    scroll-snap-align:center;
    padding:24px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .metric-card strong{font-size:50px;margin:20px 0 10px}
  .metric-card p{font-size:16px;line-height:1.55}
  .metric-grid::after,
  .process-grid::after{
    content:'';
    flex:0 0 4px;
  }

  /* How We Work is swipe-first on mobile. */
  .process-grid{
    display:flex !important;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:14px !important;
    margin-inline:-16px;
    padding:4px 16px 18px;
    scrollbar-width:none;
  }
  .process-grid::-webkit-scrollbar{display:none}
  .process-card.flip-card{
    flex:0 0 86%;
    scroll-snap-align:center;
    min-height:245px !important;
  }
  .flip-card-inner{
    min-height:245px !important;
  }
  .flip-front,.flip-back{
    padding:24px !important;
  }
  .flip-front h3{font-size:25px !important}
  .flip-back h3{font-size:23px !important;line-height:1.15}
  .flip-back p{font-size:15px;line-height:1.55}

  /* Partnership tabs become a single-line touch scroller instead of vertical buttons. */
  .partnership-tabs{
    display:flex !important;
    overflow-x:auto;
    gap:8px !important;
    padding:6px !important;
    border-radius:18px !important;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
    background:#f2f1ec;
  }
  .partnership-tabs::-webkit-scrollbar{display:none}
  .partnership-tabs .tab{
    flex:0 0 auto;
    min-width:max-content;
    padding:12px 16px !important;
    border-radius:13px !important;
    text-align:center !important;
    font-size:15px !important;
    scroll-snap-align:start;
  }
  .partner-copy p,.tab-copy{font-size:16px;line-height:1.65}

  /* Contact: on phones the photo is decorative, so remove it and prioritize the form. */
  .contact-grid{
    display:block !important;
  }
  .contact-photo{
    display:none !important;
  }
  .zoho-form-shell{
    height:790px !important;
    min-height:790px !important;
    margin:0;
    padding:6px !important;
    border-radius:18px !important;
  }
  .zoho-form-frame{
    width:133.34% !important;
    height:1040px !important;
    min-height:1040px !important;
    transform:scale(.75);
    transform-origin:top left;
    border-radius:12px !important;
  }
  .contact-heading{margin-bottom:24px !important}
}

/* Small phones: slightly smaller iframe scale to prevent horizontal crowding. */
@media(max-width:390px){
  .zoho-form-shell{
    height:760px !important;
    min-height:760px !important;
  }
  .zoho-form-frame{
    width:142.86% !important;
    height:1060px !important;
    min-height:1060px !important;
    transform:scale(.70);
  }
}

/* Tablet: keep the contact image, but do not let the section grow excessively. */
@media(min-width:641px) and (max-width:900px){
  .contact-photo{
    min-height:560px !important;
    height:560px !important;
    max-height:560px !important;
  }
  .zoho-form-shell{
    height:820px !important;
    min-height:820px !important;
  }
  .zoho-form-frame{
    width:120.5% !important;
    height:990px !important;
    min-height:990px !important;
    transform:scale(.83);
  }
}


/* V13 — refined right-side capabilities card */
@media (max-width: 900px){
  .pin-card{
    padding:22px 22px 18px;
    border-radius:20px;
  }
  .pin-card::after{
    width:82px;
    height:82px;
    top:14px;
    right:14px;
    opacity:.05;
  }
  .pin-card li{
    font-size:17px;
    padding:12px 0 12px 16px;
  }
  .pin-card li::before{
    top:20px;
    width:6px;
    height:6px;
  }
}

@media (max-width: 640px){
  .pin-card{
    min-height:210px;
    justify-content:center;
    padding:22px 20px 18px;
  }
  .pin-topline{
    margin-bottom:12px;
    font-size:11px;
    letter-spacing:.18em;
  }
  .pin-mark{
    width:24px;
    height:24px;
    flex-basis:24px;
  }
  .pin-card li{
    font-size:16px;
    padding:11px 0 11px 14px;
  }
  .pin-card::before{
    width:130px;
    height:130px;
    right:-30px;
    bottom:-32px;
  }
  .pin-card::after{
    width:68px;
    height:68px;
    top:12px;
    right:12px;
    opacity:.05;
  }
}


/* =========================================================
   V14 — premium mobile-first refinement
   Desktop remains intentionally stable.
   ========================================================= */

.mobile-inquiry-card,
.inquiry-modal{display:none}

/* Slight desktop cleanup */
@media(min-width:901px){
  .intro-grid{gap:38px}
  .pin-card{transform:translateY(2px)}
  .contact-section .sub{max-width:720px}
}

/* ---------- MOBILE / SMALL TABLET ---------- */
@media(max-width:640px){

  body{overflow-x:hidden}
  .section{padding:58px 0}
  .shell{width:calc(100% - 28px)}

  /* Navigation feels like an app bar, not a shrunken desktop nav. */
  .nav{
    width:calc(100% - 24px);
    top:8px;
    height:56px;
    border-radius:17px;
    padding:0 9px 0 13px;
    box-shadow:0 10px 30px rgba(15,18,32,.10);
  }
  .brand-logo{width:122px!important;min-width:122px!important}
  .mobile-menu-toggle{width:38px;height:38px;box-shadow:none}
  .mobile-menu{
    position:fixed;
    left:12px;right:12px;top:72px;
    border-radius:18px;
    box-shadow:0 24px 70px rgba(15,18,32,.18);
  }

  /* Hero: reduce noise and keep the first action above the fold. */
  .hero{min-height:590px}
  .hero-layout{min-height:540px}
  .hero-copy{padding-top:132px;padding-bottom:38px}
  .hero h1{
    font-size:clamp(41px,11.8vw,50px);
    line-height:.98;
    letter-spacing:-1.8px;
  }
  .hero-copy p{
    max-width:94%;
    font-size:15.5px;
    line-height:1.55;
    margin:18px 0 24px;
  }
  .hero-copy .btn{font-size:15px}

  /* Universal mobile heading rhythm. */
  .display,.section-head h2,.partner-copy h2,.case-head h2,.faq h2{
    font-size:clamp(32px,9vw,39px);
    line-height:1.07;
    letter-spacing:-1.3px;
  }
  .eyebrow{
    font-size:10px!important;
    letter-spacing:.18em!important;
    margin-bottom:12px!important;
  }

  /* ABOUT: remove the awkward 3-item horizontal rail.
     Copy -> image -> compact 2x2 focus matrix. */
  .intro-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
    overflow:visible!important;
    padding:0!important;
    margin:0!important;
  }
  .intro-grid > *{
    width:100%!important;
    flex:none!important;
  }
  .intro-copy{
    order:1;
    min-height:0!important;
    padding:0!important;
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
  }
  .intro-copy p{
    font-size:16px;
    line-height:1.65;
    color:#666b78;
  }
  .portrait-wrap{order:2}
  .portrait-wrap img{
    aspect-ratio:1.12/1!important;
    border-radius:20px;
    box-shadow:0 18px 42px rgba(15,18,32,.09);
  }
  .pin-card{
    order:3;
    min-height:0!important;
    padding:18px!important;
    border-radius:19px;
    box-shadow:0 14px 34px rgba(15,18,32,.06);
  }
  .pin-card::after{
    width:74px!important;
    height:74px!important;
    opacity:.04!important;
  }
  .pin-topline{
    margin-bottom:12px;
    font-size:10px;
    letter-spacing:.18em;
  }
  .pin-mark{width:22px;height:22px;flex-basis:22px}
  .pin-card ul{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .pin-card li{
    display:flex;
    align-items:center;
    min-height:62px;
    padding:11px 10px 11px 22px!important;
    border:1px solid rgba(23,18,43,.07)!important;
    border-radius:13px;
    background:rgba(255,255,255,.72);
    font-size:14px!important;
    font-weight:650;
    line-height:1.28;
  }
  .pin-card li::before{
    left:10px!important;
    top:50%!important;
    transform:translateY(-50%);
    width:5px!important;height:5px!important;
    box-shadow:0 0 0 4px rgba(126,31,255,.07)!important;
  }

  /* METRICS: intentional horizontal cards with visible next-card peek. */
  .metrics .sub{
    max-width:92%;
    margin:18px auto 28px;
    font-size:15.5px;
  }
  .metric-grid{
    display:flex!important;
    gap:12px!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory;
    scroll-padding-left:14px;
    padding:4px 14px 16px!important;
    margin-inline:-14px!important;
    scrollbar-width:none;
  }
  .metric-grid::-webkit-scrollbar{display:none}
  .metric-card{
    flex:0 0 82%!important;
    min-height:218px!important;
    padding:22px!important;
    scroll-snap-align:start;
    border-radius:18px;
    justify-content:flex-start!important;
  }
  .metric-icon{width:46px!important;height:46px!important}
  .metric-card strong{
    font-size:46px!important;
    margin:18px 0 8px!important;
  }
  .metric-card p{
    font-size:15px!important;
    line-height:1.5!important;
    max-width:94%;
  }

  /* SERVICES: no secondary image on phone. The accordion itself is the content. */
  .service-layout{display:block!important}
  .service-image-card{display:none!important}
  .section-head{display:block!important;margin-bottom:24px!important}
  .services-cta{
    display:inline-flex!important;
    margin-top:18px;
    font-size:14px;
  }
  .premium-services .acc-title{
    grid-template-columns:34px minmax(0,1fr) 32px!important;
    gap:10px!important;
    padding:17px 0!important;
  }
  .service-index{width:32px!important;height:32px!important;font-size:10px!important}
  .service-name{font-size:18px!important;line-height:1.18!important}
  .service-toggle{width:32px!important;height:32px!important;font-size:18px!important}
  .acc-body{padding-left:44px!important}
  .acc-body p{font-size:14.5px!important;line-height:1.55!important}

  /* PROCESS: purpose-built swipe deck + explicit tap affordance. */
  .process-heading .display br{display:none}
  .process-grid{
    display:flex!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory;
    scroll-padding-left:14px;
    gap:12px!important;
    padding:4px 14px 16px!important;
    margin:24px -14px 0!important;
    scrollbar-width:none;
  }
  .process-grid::-webkit-scrollbar{display:none}
  .process-card.flip-card{
    flex:0 0 84%!important;
    width:auto!important;
    height:228px!important;
    min-height:228px!important;
    scroll-snap-align:start;
  }
  .flip-card-inner{
    height:228px!important;
    min-height:228px!important;
  }
  .flip-face{
    padding:20px!important;
    border-radius:18px!important;
  }
  .flip-front{
    display:flex!important;
    flex-direction:column;
  }
  .process-topline{
    gap:8px!important;
    align-items:center;
  }
  .process-chip{
    width:34px!important;height:34px!important;
    flex-basis:34px!important;
  }
  .process-kicker{
    font-size:9px!important;
    letter-spacing:.10em!important;
  }
  .flip-front h3{
    margin:42px 0 0!important;
    font-size:24px!important;
    line-height:1.08!important;
  }
  .process-front-rule{margin-top:14px!important}
  .flip-front::after{
    content:'Tap for details  ↗';
    margin-top:auto;
    color:#777a87;
    font-size:12px;
    font-weight:650;
  }
  .flip-back{
    justify-content:flex-start!important;
    overflow:hidden;
  }
  .back-label{font-size:9px!important;letter-spacing:.14em!important}
  .flip-back h3{
    font-size:19px!important;
    line-height:1.12!important;
    margin:12px 0 9px!important;
  }
  .flip-back>p{
    font-size:12.5px!important;
    line-height:1.43!important;
    margin:0 0 10px!important;
  }
  .process-outcome{
    margin-top:auto!important;
    padding-top:9px!important;
  }
  .process-outcome span{font-size:8px!important}
  .process-outcome b{font-size:11px!important;line-height:1.3!important}

  /* PARTNERSHIP: photo first; selector becomes a true 3-segment mobile control. */
  .partner-grid{gap:28px!important}
  .photo-cta img{height:360px!important}
  .overlay-copy h3{font-size:30px!important;max-width:92%}
  .overlay-copy .btn{font-size:14px}
  .partnership-tabs{
    display:grid!important;
    grid-template-columns:1fr 1fr 1fr;
    gap:4px!important;
    overflow:visible!important;
    padding:4px!important;
    margin:22px 0 18px!important;
    background:#efeee9!important;
    border:1px solid #e4e1d8!important;
    border-radius:15px!important;
  }
  .partnership-tabs .tab{
    min-width:0!important;
    padding:10px 6px!important;
    white-space:normal!important;
    font-size:11.5px!important;
    line-height:1.2!important;
    border-radius:11px!important;
  }
  .partnership-tabs .tab.active{
    background:#fff!important;
    box-shadow:0 6px 16px rgba(15,18,32,.07)!important;
  }
  .tab-copy{
    margin-top:0!important;
    padding:16px!important;
    border:1px solid #ebe8df;
    border-radius:15px;
    background:#fff;
    font-size:14.5px!important;
    line-height:1.55!important;
  }

  /* CASES: bigger visible next-card peek + aligned controls. */
  .case-head{
    display:flex!important;
    flex-direction:column!important;
    gap:18px!important;
    margin-bottom:22px!important;
  }
  .case-head .slide-controls{align-self:flex-end}
  .case-carousel{overflow:visible!important}
  .case-track{
    gap:12px!important;
    padding-right:28px;
  }
  .case-card{
    flex-basis:88%!important;
    height:390px!important;
  }
  .case-panel{
    height:76px!important;
    min-height:76px!important;
  }
  .case-panel h3{
    font-size:18px!important;
    line-height:1.15!important;
    min-height:auto!important;
  }
  .case-card.is-open .case-panel{height:172px!important}

  /* TESTIMONIALS: cleaner single-card mobile reading experience. */
  .testimonial-head{
    display:flex!important;
    flex-direction:column!important;
    gap:18px!important;
    margin-bottom:22px!important;
  }
  .testimonial-controls{align-self:flex-end}
  .testimonial-viewport{
    padding:0 14px 18px!important;
    overflow:hidden;
  }
  .testimonial-track{gap:12px!important}
  .testimonial-track .quote{
    flex-basis:calc(100vw - 56px)!important;
    min-height:260px!important;
    padding:20px!important;
    border-radius:17px!important;
  }
  .quote::before{font-size:48px!important}
  .quote p{font-size:15px!important;line-height:1.55!important}
  .quote footer{margin-top:20px!important}

  /* CONTACT: compact mobile launcher + full-screen form sheet. */
  .contact-section{padding-bottom:54px!important}
  .contact-heading{margin-bottom:18px!important}
  .contact-heading .display{
    font-size:34px!important;
    text-align:left!important;
  }
  .contact-heading .sub{
    max-width:100%!important;
    text-align:left!important;
    margin:14px 0 0!important;
    font-size:15px!important;
  }
  .contact-grid{display:block!important}
  .contact-photo,
  .zoho-form-shell{display:none!important}
  .mobile-inquiry-card{
    display:block;
    position:relative;
    overflow:hidden;
    padding:24px;
    border-radius:22px;
    background:
      radial-gradient(circle at 100% 0%, rgba(126,31,255,.11), transparent 36%),
      #fff;
    border:1px solid #e8e5dc;
    box-shadow:0 18px 46px rgba(15,18,32,.08);
  }
  .mobile-inquiry-card::after{
    content:'';
    position:absolute;
    width:120px;height:120px;
    border:1px solid rgba(126,31,255,.08);
    border-radius:50%;
    right:-50px;top:-50px;
  }
  .mobile-inquiry-eyebrow{
    font-size:9px;
    font-weight:800;
    letter-spacing:.18em;
    color:#817b91;
    margin-bottom:12px;
  }
  .mobile-inquiry-card h3{
    margin:0;
    max-width:92%;
    font-size:27px;
    line-height:1.06;
    letter-spacing:-.8px;
  }
  .mobile-inquiry-card p{
    margin:13px 0 20px;
    color:#6c707c;
    font-size:14.5px;
    line-height:1.55;
  }
  .mobile-inquiry-button{
    width:100%;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:8px 9px 8px 18px;
    border:0;
    border-radius:16px;
    background:#17102f;
    color:#fff;
    font:700 15px inherit;
    cursor:pointer;
  }
  .mobile-inquiry-button b{
    width:42px;height:42px;
    display:grid;place-items:center;
    border-radius:13px;
    background:#7a17ff;
    font-size:18px;
  }
  .mobile-inquiry-card small{
    display:block;
    margin-top:11px;
    color:#9699a3;
    font-size:10.5px;
  }

  .inquiry-modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:block;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease, visibility .22s ease;
  }
  .inquiry-modal.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  .inquiry-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(8,7,18,.48);
    backdrop-filter:blur(8px);
  }
  .inquiry-modal-sheet{
    position:absolute;
    inset:8px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border-radius:22px;
    background:#f7f6f2;
    box-shadow:0 30px 90px rgba(0,0,0,.28);
    transform:translateY(24px) scale(.985);
    transition:transform .28s cubic-bezier(.2,.75,.2,1);
  }
  .inquiry-modal.is-open .inquiry-modal-sheet{transform:none}
  .inquiry-modal-header{
    flex:0 0 auto;
    min-height:72px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:13px 14px 12px 18px;
    background:#fff;
    border-bottom:1px solid #e9e6dd;
  }
  .inquiry-modal-header span{
    display:block;
    margin-bottom:3px;
    color:#86808f;
    font-size:8px;
    font-weight:800;
    letter-spacing:.18em;
  }
  .inquiry-modal-header strong{
    font-size:16px;
    letter-spacing:-.2px;
  }
  .inquiry-modal-close{
    width:42px;height:42px;
    flex:0 0 42px;
    border:1px solid #e5e2d9;
    border-radius:50%;
    background:#f8f7f3;
    color:#17102f;
    font-size:25px;
    line-height:1;
    cursor:pointer;
  }
  .inquiry-modal-frame{
    width:100%;
    height:calc(100dvh - 96px);
    flex:1 1 auto;
    border:0;
    background:#f7f6f2;
  }
  body.inquiry-open{overflow:hidden!important}

  /* FAQ: tighter mobile card rhythm. */
  .faq{gap:28px!important}
  .question-box{margin-top:18px!important}
  .faq-row button{padding:17px 0!important}

  /* Footer: visually lighter on phone. */
  .footer-signature{
    padding:34px 0 28px!important;
  }
  .footer-signature-inner{gap:18px!important}
  .footer-signature-brand img{width:148px!important}
  .footer-signature-brand p{font-size:16px!important}
  .footer-signature-contact,
  .footer-signature-legal{padding-top:16px!important}

  /* Mobile reveal: understated. */
  .reveal,.reveal-left,.reveal-right,.reveal-up{
    transform:translate3d(0,16px,0)!important;
    transition-duration:.48s!important;
  }
}

/* Ultra-small phones */
@media(max-width:375px){
  .shell{width:calc(100% - 22px)}
  .hero h1{font-size:39px}
  .pin-card li{font-size:13px!important}
  .metric-card{flex-basis:86%!important}
  .process-card.flip-card{flex-basis:88%!important}
  .partnership-tabs .tab{font-size:10.5px!important}
  .case-card{flex-basis:91%!important}
  .mobile-inquiry-card h3{font-size:25px}
}

/* Tablet contact form stays embedded, but more proportionate. */
@media(min-width:641px) and (max-width:900px){
  .mobile-inquiry-card{display:none!important}
  .contact-grid{grid-template-columns:1fr!important}
  .contact-photo{
    display:block!important;
    min-height:440px!important;
    height:440px!important;
    max-height:440px!important;
  }
  .zoho-form-shell{
    display:block!important;
    height:760px!important;
    min-height:760px!important;
  }
  .zoho-form-frame{
    width:122%!important;
    height:910px!important;
    min-height:910px!important;
    transform:scale(.82)!important;
  }
}


/* =========================================================
   V15 FINAL — mobile motion refinement
   Content is never hidden while waiting for an observer.
   ========================================================= */
@media(max-width:640px){
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-up{
    opacity:.76 !important;
    transform:translate3d(0,9px,0) scale(.998) !important;
    filter:none !important;
    transition:
      opacity .34s cubic-bezier(.2,.72,.25,1),
      transform .34s cubic-bezier(.2,.72,.25,1) !important;
    transition-delay:0ms !important;
    will-change:opacity,transform;
  }

  .reveal.in,
  .reveal-left.in,
  .reveal-right.in,
  .reveal-up.in{
    opacity:1 !important;
    transform:none !important;
  }

  /* Hero and first visible content should be fully present immediately. */
  .hero .reveal,
  .hero .reveal-left,
  .hero .reveal-right,
  .hero .reveal-up,
  .nav.reveal,
  .intro > .display.reveal{
    opacity:1 !important;
    transform:none !important;
  }

  /* Cards use micro-motion rather than entrance animation on touch. */
  .metric-card,
  .pin-card,
  .process-card,
  .case-card,
  .quote,
  .question-box{
    transition:
      box-shadow .22s ease,
      border-color .22s ease,
      transform .22s ease !important;
  }

  /* Prevent accidental hover states from feeling sticky on mobile browsers. */
  @media (hover:none){
    .metric-card:hover,
    .pin-card:hover,
    .question-box:hover,
    .quote:hover,
    .case-card:hover{
      transform:none !important;
    }
  }
}

/* V16 — mobile Zoho handoff: native page instead of nested iframe */
@media(max-width:640px){
  .mobile-inquiry-button{text-decoration:none!important;}
}


/* =========================================================
   V17 FINAL — Zoho native auto-resize embed
   Desktop: visible embedded form.
   Mobile: compact launcher -> inline form expansion.
   ========================================================= */

.zoho-js-host{
  width:100%;
  min-width:0;
}
.zoho-js-host iframe{
  width:100% !important;
  max-width:100% !important;
  border:0 !important;
  display:block;
}
.mobile-form-toolbar{display:none}

/* The old fixed iframe class is no longer used. */
.zoho-form-frame{display:none!important}

@media(min-width:641px){
  .zoho-form-shell{
    height:auto !important;
    min-height:0 !important;
    overflow:hidden !important;
    padding:10px !important;
  }
  .zoho-js-host{
    overflow:hidden;
    border-radius:18px;
  }
}

/* Mobile native-inline inquiry experience */
@media(max-width:640px){
  .mobile-inquiry-card{
    display:block !important;
  }

  .zoho-form-shell{
    display:none !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    border-radius:20px !important;
    background:#fff !important;
    border:1px solid #e7e4db !important;
    box-shadow:0 20px 54px rgba(15,18,32,.10) !important;
  }

  .zoho-form-shell.mobile-inline-open{
    display:block !important;
    animation:inlineFormOpen .35s cubic-bezier(.2,.72,.25,1) both;
  }

  .mobile-inquiry-card.is-hidden{
    display:none !important;
  }

  .mobile-form-toolbar{
    position:sticky;
    top:0;
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-height:66px;
    padding:11px 12px 11px 16px;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
    border-bottom:1px solid #ece9e1;
  }

  .mobile-form-toolbar div{
    min-width:0;
  }

  .mobile-form-toolbar span{
    display:block;
    margin-bottom:3px;
    color:#8a8493;
    font-size:8px;
    font-weight:800;
    letter-spacing:.18em;
  }

  .mobile-form-toolbar strong{
    display:block;
    color:#17102f;
    font-size:15px;
    line-height:1.18;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .mobile-form-toolbar button{
    flex:0 0 auto;
    height:38px;
    padding:0 13px;
    border:1px solid #e5e1d8;
    border-radius:999px;
    background:#f7f6f2;
    color:#17102f;
    font:700 12px inherit;
    cursor:pointer;
  }

  .zoho-js-host{
    width:100% !important;
    overflow:hidden !important;
    background:#f7f6f2;
  }

  .zoho-js-host iframe{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    transform:none !important;
  }

  @keyframes inlineFormOpen{
    from{opacity:.55;transform:translateY(12px)}
    to{opacity:1;transform:none}
  }
}


/* =========================================================
   V18 FINAL — desktop Zoho JS embed refinement
   Keep the form auto-resizing while the image remains visually controlled.
   ========================================================= */

@media(min-width:901px){
  .contact-grid{
    align-items:start !important;
  }

  .contact-photo{
    position:sticky;
    top:110px;
    height:720px !important;
    min-height:720px !important;
    max-height:720px !important;
    align-self:start !important;
  }

  .contact-photo img{
    position:absolute !important;
    inset:0;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    object-fit:cover !important;
    object-position:center;
  }

  .zoho-form-shell{
    align-self:start !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    padding:10px !important;
  }

  .zoho-js-host{
    overflow:visible !important;
    min-height:0 !important;
  }

  .zoho-js-host iframe{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    transform:none !important;
    margin:0 !important;
  }
}

/* Mid-size desktop/laptop: keep proportions balanced. */
@media(min-width:901px) and (max-width:1180px){
  .contact-photo{
    height:660px !important;
    min-height:660px !important;
    max-height:660px !important;
  }
}

/* V22 canonical contact landing */
#start-conversation{scroll-margin-top:96px}
@media(max-width:640px){#start-conversation{scroll-margin-top:72px}}


/* V23 — keep desktop/tablet native contact anchoring intact */
#start-conversation{
  scroll-margin-top:96px;
}
@media(max-width:640px){
  #start-conversation{
    scroll-margin-top:72px;
  }
}


}


/* =========================================================
   V27 — Book a Free Call uses the normal inline inquiry section
   ========================================================= */
@media(max-width:640px){
  #inlineInquiryShell.mobile-inline-open{
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    margin:0 !important;
    border-radius:20px !important;
    overflow:hidden !important;
  }

  body.book-call-open{
    overflow:auto !important;
  }
}


/* =========================================================
   V31 — final mobile navigation simplification
   Desktop/tablet nav unchanged. No top navigation on phones.
   ========================================================= */
@media(max-width:640px){
  #mainNav,
  .nav,
  .mobile-menu,
  .mobile-menu-toggle{
    display:none !important;
  }

  .hero-copy{
    padding-top:86px !important;
  }
}


/* =========================================================
   V32 — mobile horizontal overflow hardening
   The PAGE cannot pan horizontally; swipe rails remain usable internally.
   ========================================================= */
@media(max-width:640px){
  html,
  body{
    width:100% !important;
    max-width:100% !important;
    overflow-x:clip !important;
    overscroll-behavior-x:none;
  }

  body,
  main,
  header,
  footer,
  section{
    max-width:100% !important;
  }

  .shell,
  .hero,
  .hero-layout,
  .intro,
  .metrics,
  .services,
  .process,
  .partner-grid,
  .cases,
  .testimonials,
  .contact-section,
  .faq,
  .footer-signature{
    min-width:0 !important;
    max-width:100% !important;
  }

  /* Case studies were allowing the whole flex track to contribute to document width. */
  .case-carousel{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
    contain:paint;
  }

  /* Intentional horizontal rails stay self-contained. */
  .metric-grid,
  .process-grid{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    max-width:100% !important;
    overscroll-behavior-x:contain;
  }

  .testimonial-viewport{
    max-width:100% !important;
    overflow:hidden !important;
  }

  /* Avoid viewport-width children expanding page width on mobile browsers. */
  .testimonial-track .quote{
    flex-basis:calc(100% - 28px) !important;
    max-width:calc(100% - 28px) !important;
  }

  /* Decorative elements should clip locally, not expand the document. */
  .pin-card,
  .blue-panel,
  .cta-blue,
  .mobile-inquiry-card,
  .flip-face{
    overflow:hidden;
  }

  img,
  svg,
  iframe{
    max-width:100%;
  }
}


/* =========================================================
   V33 — native thumb swipe for mobile content rails
   Arrow buttons remain functional.
   ========================================================= */
@media(max-width:640px){
  .case-carousel{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    overscroll-behavior-x:contain;
    touch-action:pan-x;
    scrollbar-width:none;
    contain:layout paint;
  }
  .case-carousel::-webkit-scrollbar{display:none}

  .case-track{
    display:flex !important;
    width:max-content !important;
    min-width:100% !important;
    transform:none !important;
    transition:none !important;
    will-change:auto !important;
  }

  .case-card{
    scroll-snap-align:start;
    scroll-snap-stop:normal;
    flex:0 0 calc(100vw - 54px) !important;
    max-width:calc(100vw - 54px) !important;
  }

  .testimonial-viewport{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    overscroll-behavior-x:contain;
    touch-action:pan-x;
    scrollbar-width:none;
  }
  .testimonial-viewport::-webkit-scrollbar{display:none}

  .testimonial-track{
    display:flex !important;
    width:max-content !important;
    min-width:100% !important;
    transform:none !important;
    transition:none !important;
    will-change:auto !important;
  }

  .testimonial-track .quote{
    scroll-snap-align:start;
    scroll-snap-stop:normal;
    flex:0 0 calc(100vw - 54px) !important;
    max-width:calc(100vw - 54px) !important;
  }
}


/* =========================================================
   V34 — mobile Partnership section polish
   ========================================================= */
@media(max-width:640px){
  .partnership{
    padding-top:58px !important;
    padding-bottom:58px !important;
  }

  .partner-grid{
    gap:24px !important;
  }

  .partner-copy{
    padding-top:0 !important;
  }

  .partner-copy .eyebrow{
    margin-bottom:10px !important;
    font-size:9px !important;
    letter-spacing:.17em !important;
  }

  .partner-copy h2{
    margin:0 0 16px !important;
    font-size:34px !important;
    line-height:1.03 !important;
    letter-spacing:-1.15px !important;
  }

  .partner-copy h2 br{
    display:none;
  }

  .partner-copy > p:not(.tab-copy){
    margin:0 !important;
    font-size:15px !important;
    line-height:1.58 !important;
    color:#6c707c !important;
  }

  .partnership-tabs{
    margin:20px 0 14px !important;
    padding:3px !important;
    gap:3px !important;
    border-radius:14px !important;
  }

  .partnership-tabs .tab{
    min-height:38px !important;
    padding:8px 5px !important;
    font-size:10.5px !important;
    line-height:1.15 !important;
    border-radius:10px !important;
  }

  .partnership-tabs .tab.active{
    box-shadow:0 4px 12px rgba(15,18,32,.06) !important;
  }

  .tab-copy{
    margin:0 !important;
    padding:14px 15px !important;
    border-radius:14px !important;
    font-size:14px !important;
    line-height:1.5 !important;
    min-height:0 !important;
  }
}


/* =========================================================
   V36 FINAL — mobile UI hygiene system
   One spacing rhythm, one type scale, balanced cards and footer.
   Desktop/tablet remain unchanged.
   ========================================================= */
@media(max-width:640px){

  /* ---------- Global rhythm ---------- */
  .section{
    padding-top:56px !important;
    padding-bottom:56px !important;
  }

  .shell{
    width:calc(100% - 24px) !important;
  }

  .eyebrow{
    margin-bottom:11px !important;
    font-family:inherit !important;
    font-size:9px !important;
    font-weight:800 !important;
    line-height:1.2 !important;
    letter-spacing:.17em !important;
  }

  .display,
  .section-head h2,
  .partner-copy h2,
  .case-head h2,
  .testimonial-head h2,
  .faq h2{
    font-size:34px !important;
    line-height:1.04 !important;
    letter-spacing:-1.15px !important;
  }

  .sub,
  .intro-copy p,
  .partner-copy > p:not(.tab-copy){
    font-size:15px !important;
    line-height:1.58 !important;
  }

  /* ---------- About / Core Focus ---------- */
  .intro .display{
    margin-bottom:28px !important;
  }

  .intro-grid{
    gap:16px !important;
  }

  .portrait-wrap img{
    border-radius:18px !important;
  }

  .pin-card{
    min-height:0 !important;
    padding:17px !important;
    border-radius:18px !important;
  }

  .pin-topline{
    margin-bottom:11px !important;
    gap:8px !important;
    font-family:inherit !important;
    font-size:9px !important;
    letter-spacing:.16em !important;
  }

  .pin-mark{
    width:20px !important;
    height:20px !important;
    flex-basis:20px !important;
  }

  .pin-card ul{
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
  }

  .pin-card li{
    min-height:62px !important;
    padding:10px 9px 10px 21px !important;
    border-radius:12px !important;
    font-family:inherit !important;
    font-size:13.5px !important;
    font-weight:700 !important;
    line-height:1.22 !important;
    letter-spacing:-.12px !important;
  }

  .pin-card li::before{
    left:9px !important;
  }

  /* ---------- Metrics ---------- */
  .metrics .display br{
    display:none;
  }

  .metrics .sub{
    margin:16px auto 24px !important;
  }

  .metric-grid{
    gap:12px !important;
  }

  .metric-card{
    min-height:210px !important;
    padding:21px !important;
    border-radius:17px !important;
  }

  .metric-card strong{
    font-size:44px !important;
  }

  .metric-card p{
    font-size:14.5px !important;
    line-height:1.5 !important;
  }

  /* ---------- Services ---------- */
  .section-head{
    gap:16px !important;
    margin-bottom:24px !important;
  }

  .premium-services .acc-title{
    min-height:64px !important;
    padding:14px 0 !important;
  }

  .service-name{
    font-size:17px !important;
    line-height:1.22 !important;
  }

  .acc-body{
    padding-left:44px !important;
  }

  .acc-body p{
    font-size:14px !important;
    line-height:1.55 !important;
  }

  /* ---------- How We Work ---------- */
  .process-heading{
    margin-bottom:0 !important;
  }

  .process-heading .display{
    max-width:360px;
  }

  .process-grid{
    margin-top:22px !important;
    gap:12px !important;
  }

  .process-card.flip-card{
    flex-basis:86% !important;
    height:220px !important;
    min-height:220px !important;
  }

  .flip-card-inner{
    height:220px !important;
    min-height:220px !important;
  }

  .flip-face{
    padding:19px !important;
  }

  .process-chip{
    width:34px !important;
    height:34px !important;
    flex-basis:34px !important;
    font-size:10px !important;
  }

  .process-kicker{
    font-family:inherit !important;
    font-size:8.5px !important;
    font-weight:800 !important;
    line-height:1.18 !important;
    letter-spacing:.095em !important;
    white-space:normal !important;
  }

  .flip-front h3{
    margin-top:34px !important;
    font-size:23px !important;
    line-height:1.08 !important;
    letter-spacing:-.5px !important;
  }

  .flip-front::after{
    font-size:11px !important;
  }

  .flip-back h3{
    font-size:18px !important;
  }

  .flip-back > p{
    font-size:12px !important;
    line-height:1.4 !important;
  }

  /* ---------- Partnership image CTA ---------- */
  .partnership{
    padding-top:48px !important;
    padding-bottom:54px !important;
  }

  .partner-grid{
    gap:28px !important;
  }

  .photo-cta{
    border-radius:18px !important;
  }

  .photo-cta img{
    height:340px !important;
    border-radius:18px !important;
  }

  .overlay-copy{
    left:20px !important;
    right:20px !important;
    bottom:20px !important;
  }

  .overlay-copy h3{
    max-width:330px !important;
    margin-bottom:16px !important;
    font-size:27px !important;
    line-height:1.02 !important;
    letter-spacing:-.8px !important;
  }

  .overlay-copy .btn{
    min-height:54px !important;
    padding:7px 8px 7px 17px !important;
    font-size:14px !important;
  }

  .overlay-copy .btn span{
    width:38px !important;
    height:38px !important;
  }

  /* ---------- Partnership copy + segmented tabs ---------- */
  .partner-copy{
    padding-top:0 !important;
  }

  .partner-copy h2{
    margin:0 0 15px !important;
    font-size:34px !important;
    line-height:1.02 !important;
  }

  .partner-copy h2 br{
    display:none !important;
  }

  .partner-copy > p:not(.tab-copy){
    margin:0 !important;
    color:#707481 !important;
  }

  .partnership-tabs{
    display:grid !important;
    grid-template-columns:1.18fr .72fr 1.12fr !important;
    gap:3px !important;
    margin:19px 0 13px !important;
    padding:4px !important;
    overflow:visible !important;
    border-radius:14px !important;
  }

  .partnership-tabs .tab{
    min-width:0 !important;
    min-height:38px !important;
    padding:7px 4px !important;
    border-radius:10px !important;
    font-family:inherit !important;
    font-size:10px !important;
    font-weight:700 !important;
    line-height:1.12 !important;
    letter-spacing:-.08px !important;
    white-space:nowrap !important;
  }

  .tab-copy{
    min-height:0 !important;
    margin:0 !important;
    padding:14px 15px !important;
    border-radius:14px !important;
    font-family:inherit !important;
    font-size:14px !important;
    line-height:1.48 !important;
    color:#686d79 !important;
  }

  /* ---------- Case studies ---------- */
  .case-head{
    gap:15px !important;
    margin-bottom:22px !important;
  }

  .case-head h2{
    max-width:330px;
  }

  .slide-controls,
  .testimonial-controls{
    gap:6px !important;
  }

  .slide-controls button,
  .testimonial-controls button{
    width:40px !important;
    height:40px !important;
    font-size:15px !important;
  }

  .case-card{
    height:404px !important;
    border-radius:17px !important;
  }

  .case-panel{
    min-height:76px !important;
    height:76px !important;
    padding:14px 15px !important;
  }

  .case-panel h3{
    min-height:0 !important;
    font-size:17px !important;
    line-height:1.15 !important;
  }

  .case-card.is-open .case-panel{
    height:168px !important;
  }

  /* ---------- Testimonials ---------- */
  .testimonial-section{
    padding-top:54px !important;
    padding-bottom:54px !important;
  }

  .testimonial-head{
    gap:15px !important;
    margin-bottom:20px !important;
  }

  .testimonial-track .quote{
    min-height:260px !important;
    padding:20px !important;
    border-radius:16px !important;
  }

  .quote p{
    font-size:15px !important;
    line-height:1.55 !important;
  }

  .quote footer strong{
    font-size:14px !important;
  }

  .quote footer small{
    font-size:12px !important;
  }

  /* ---------- Contact ---------- */
  .contact-section{
    padding-top:54px !important;
    padding-bottom:54px !important;
  }

  .contact-heading{
    margin-bottom:20px !important;
  }

  .contact-heading .display{
    font-size:32px !important;
    line-height:1.05 !important;
  }

  .contact-heading .sub{
    margin-top:11px !important;
    font-size:14.5px !important;
  }

  .mobile-inquiry-card{
    padding:21px !important;
    border-radius:19px !important;
  }

  .mobile-inquiry-card h3{
    font-size:25px !important;
    line-height:1.06 !important;
  }

  .mobile-inquiry-card p{
    font-size:14px !important;
  }

  /* ---------- FAQ ---------- */
  .faq{
    gap:24px !important;
  }

  .faq-left h2{
    margin-bottom:18px !important;
  }

  .question-box{
    margin-top:16px !important;
    padding:19px !important;
  }

  .faq-row button{
    padding:15px 0 !important;
    font-size:15px !important;
    line-height:1.35 !important;
  }

  /* ---------- Footer ---------- */
  .footer-signature{
    padding:30px 0 24px !important;
  }

  .footer-signature-inner{
    gap:16px !important;
  }

  .footer-signature-brand img{
    width:142px !important;
  }

  .footer-signature-brand p{
    margin-top:12px !important;
    font-size:15px !important;
    line-height:1.35 !important;
  }

  .footer-signature-brand > span{
    margin-top:10px !important;
    font-size:12px !important;
  }

  .footer-signature-contact,
  .footer-signature-legal{
    padding-top:14px !important;
  }

  .footer-signature-contact > span,
  .footer-signature-legal span{
    font-size:12px !important;
    line-height:1.4 !important;
  }

  .footer-signature-contact a{
    margin-top:4px !important;
    font-size:14px !important;
    line-height:1.3 !important;
    font-weight:700 !important;
    overflow-wrap:anywhere;
  }

  .footer-signature-legal{
    gap:3px !important;
  }
}

@media(max-width:375px){
  .display,
  .section-head h2,
  .partner-copy h2,
  .case-head h2,
  .testimonial-head h2,
  .faq h2{
    font-size:31px !important;
  }

  .pin-card li{
    font-size:12.5px !important;
  }

  .partnership-tabs .tab{
    font-size:9.25px !important;
  }

  .footer-signature-contact a{
    font-size:13.5px !important;
  }
}


/* =========================================================
   V37 — mobile testimonial rail polish
   ========================================================= */
@media(max-width:640px){

  /* Remove desktop edge fades that wash the next mobile card white. */
  .testimonial-viewport::before,
  .testimonial-viewport::after{
    display:none !important;
    content:none !important;
  }

  .testimonial-viewport{
    padding-left:12px !important;
    padding-right:12px !important;
    background:#fff !important;
  }

  .testimonial-track{
    gap:12px !important;
  }

  .testimonial-track .quote{
    flex:0 0 calc(100vw - 54px) !important;
    max-width:calc(100vw - 54px) !important;
    background:linear-gradient(145deg,#f7f7f3,#efeee8) !important;
    border:1px solid #e8e5dc !important;
    box-shadow:0 10px 24px rgba(15,18,32,.035) !important;
  }

  /* Prevent sticky mobile hover from creating the purple bottom line. */
  .testimonial-track .quote::after{
    display:none !important;
    content:none !important;
  }

  .testimonial-track .quote:hover{
    transform:none !important;
    box-shadow:0 10px 24px rgba(15,18,32,.035) !important;
  }
}


/* =========================================================
   V39 FINAL MOBILE BEHAVIOR CLEANUP
   ========================================================= */
@media(max-width:640px){

  /* 1. Brand presence without bringing the mobile menu back.
     This is a simple hero brand mark, not a sticky/floating nav. */
  #mainNav{
    display:flex !important;
    position:absolute !important;
    top:18px !important;
    left:12px !important;
    right:auto !important;
    width:auto !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    overflow:visible !important;
    opacity:1 !important;
    visibility:visible !important;
    z-index:20 !important;
  }

  #mainNav .brand-logo{
    display:block !important;
    width:136px !important;
    min-width:136px !important;
    height:auto !important;
    opacity:1 !important;
    visibility:visible !important;
  }

  #mainNav .brand-logo img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    content:url('assets/brand/socialcan-primary-white.svg');
    filter:drop-shadow(0 2px 10px rgba(0,0,0,.18));
  }

  #mainNav .navlinks,
  #mainNav .nav-cta,
  #mainNav .mobile-menu-toggle,
  #mainNav .mobile-menu{
    display:none !important;
  }

  /* Give the logo comfortable room without recreating a header bar. */
  .hero-copy{
    padding-top:112px !important;
  }

  /* 2 & 3. Native mobile rails.
     Both axes remain available so a vertical gesture scrolls the PAGE,
     while a horizontal gesture swipes the cards. */
  .case-carousel,
  .testimonial-viewport{
    touch-action:pan-x pan-y pinch-zoom !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
  }

  .case-carousel{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    scroll-snap-type:x mandatory;
    scroll-padding-left:0;
    scrollbar-width:none;
    contain:layout paint;
  }

  .case-carousel::-webkit-scrollbar,
  .testimonial-viewport::-webkit-scrollbar{
    display:none;
  }

  #caseTrack,
  #testimonialTrack{
    transform:none !important;
    transition:none !important;
    will-change:auto !important;
  }

  /* 4. Case Studies are intentionally simple on phones:
     image + headline only. No expandable description/category. */
  .case-card{
    cursor:default !important;
  }

  .case-card .case-panel{
    height:auto !important;
    min-height:66px !important;
    max-height:none !important;
    padding:14px 15px !important;
    display:flex !important;
    align-items:center !important;
  }

  .case-card .case-panel h3{
    margin:0 !important;
    min-height:0 !important;
    font-size:17px !important;
    line-height:1.16 !important;
  }

  .case-card .case-panel p,
  .case-card .case-panel span{
    display:none !important;
  }

  .case-card.is-open .case-panel{
    height:auto !important;
    min-height:66px !important;
  }

  .case-card.is-open .case-panel p,
  .case-card.is-open .case-panel span{
    display:none !important;
  }

  /* 5. FAQ mobile hierarchy:
     Heading -> questions -> "Still have a question?" CTA. */
  .faq{
    display:flex !important;
    flex-direction:column !important;
    gap:22px !important;
  }

  .faq-left{
    display:contents !important;
  }

  .faq-left .eyebrow{
    order:1;
    margin-bottom:-10px !important;
  }

  .faq-left h2{
    order:2;
    margin:0 !important;
  }

  .faq-list{
    order:3;
    margin-top:2px !important;
  }

  .question-box{
    order:4;
    margin-top:4px !important;
  }
}


/* =========================================================
   V40 — simplified mobile slider experience
   ========================================================= */
@media(max-width:640px){

  /* Swipe + arrows only on phones. */
  #toggleCases,
  #toggleTestimonials{
    display:none !important;
  }

  .slide-controls,
  .testimonial-controls{
    gap:8px !important;
  }

  #prevCase, #nextCase,
  #prevTestimonial, #nextTestimonial{
    width:42px !important;
    height:42px !important;
    touch-action:manipulation !important;
  }

  /* Native browser gesture handling: vertical page scroll and horizontal swipe coexist. */
  .case-carousel,
  .testimonial-viewport{
    touch-action:auto !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    scroll-snap-type:x mandatory !important;
    scroll-behavior:smooth;
    overscroll-behavior-x:contain;
  }

  #caseTrack,
  #testimonialTrack{
    transform:none !important;
    transition:none !important;
    will-change:auto !important;
  }

  /* Mobile case studies are permanently simple: image + headline only. */
  .case-card .case-panel,
  .case-card.is-open .case-panel{
    height:68px !important;
    min-height:68px !important;
    max-height:68px !important;
    padding:13px 15px !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
  }

  .case-card .case-panel h3{
    display:block !important;
    margin:0 !important;
    min-height:0 !important;
    font-size:17px !important;
    line-height:1.14 !important;
    max-height:2.3em !important;
    overflow:hidden !important;
  }

  .case-card .case-panel p,
  .case-card .case-panel span,
  .case-card.is-open .case-panel p,
  .case-card.is-open .case-panel span{
    display:none !important;
  }
}


/* =========================================================
   V41 — final mobile carousel UX
   Swipe only + progress dots. Desktop controls remain unchanged.
   ========================================================= */
@media(max-width:640px){

  /* Mobile users swipe naturally; controls add clutter and have caused conflicts. */
  .case-head .slide-controls,
  .testimonial-head .testimonial-controls{
    display:none !important;
  }

  /* Softer snap means horizontal swiping still feels guided,
     but vertical page scrolling is never locked by a card rail. */
  .case-carousel,
  .testimonial-viewport{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    scroll-snap-type:x proximity !important;
    scroll-behavior:smooth;
    overscroll-behavior-x:contain;
    touch-action:auto !important;
    scrollbar-width:none;
  }

  .case-carousel::-webkit-scrollbar,
  .testimonial-viewport::-webkit-scrollbar{
    display:none;
  }

  #caseTrack,
  #testimonialTrack{
    transform:none !important;
    transition:none !important;
    will-change:auto !important;
  }

  .case-card,
  .testimonial-track .quote{
    scroll-snap-align:start !important;
  }

  /* Mobile Case Studies: image + headline only, with no expandable state. */
  .mobile-simple-case{
    cursor:default !important;
    user-select:none;
  }

  .mobile-simple-case img{
    pointer-events:none;
    user-select:none;
    -webkit-user-drag:none;
  }

  .mobile-simple-case .case-panel{
    height:66px !important;
    min-height:66px !important;
    max-height:66px !important;
    padding:13px 15px !important;
    display:flex !important;
    align-items:center !important;
    overflow:hidden !important;
  }

  .mobile-simple-case .case-panel h3{
    margin:0 !important;
    min-height:0 !important;
    max-height:2.3em !important;
    overflow:hidden !important;
    font-size:17px !important;
    line-height:1.14 !important;
  }

  /* Dots: understated, touch-friendly, and clearly show more content. */
  .mobile-slider-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:28px;
    margin:10px 0 0;
  }

  .mobile-slider-dots button{
    width:7px;
    height:7px;
    padding:0;
    border:0;
    border-radius:999px;
    background:#d7d3dc;
    box-shadow:none;
    cursor:pointer;
    transition:width .2s ease, background .2s ease, transform .2s ease;
    touch-action:manipulation;
  }

  .mobile-slider-dots button.active{
    width:22px;
    background:#7a17ff;
  }

  .mobile-slider-dots button:active{
    transform:scale(.92);
  }
}


/* =========================================================
   V42 — MOBILE CASE STUDIES: OPTION A
   Desktop remains unchanged.
   Mobile = image + gradient + headline only.
   ========================================================= */
@media(max-width:640px){

  .case-carousel{
    padding-bottom:2px !important;
  }

  .case-track{
    gap:12px !important;
  }

  .mobile-simple-case{
    position:relative !important;
    overflow:hidden !important;
    height:390px !important;
    border-radius:18px !important;
    background:#151126 !important;
    box-shadow:0 14px 34px rgba(15,18,32,.10) !important;
    border:0 !important;
  }

  .mobile-simple-case img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
    border-radius:18px !important;
  }

  /* Dark bottom fade keeps white headline readable on every image. */
  .mobile-simple-case::after{
    content:'' !important;
    position:absolute !important;
    inset:0 !important;
    z-index:1 !important;
    pointer-events:none !important;
    background:
      linear-gradient(
        180deg,
        rgba(10,8,20,0) 42%,
        rgba(10,8,20,.18) 60%,
        rgba(10,8,20,.78) 100%
      ) !important;
  }

  .mobile-simple-case .case-panel{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    z-index:2 !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    padding:22px 20px 20px !important;
    margin:0 !important;
    display:block !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    overflow:visible !important;
  }

  .mobile-simple-case .case-panel h3{
    display:block !important;
    margin:0 !important;
    padding:0 !important;
    max-width:92% !important;
    min-height:0 !important;
    max-height:none !important;
    overflow:visible !important;
    color:#fff !important;
    font-size:23px !important;
    font-weight:750 !important;
    line-height:1.07 !important;
    letter-spacing:-.55px !important;
    text-shadow:0 2px 16px rgba(0,0,0,.28) !important;
  }

  .mobile-simple-case .case-panel p,
  .mobile-simple-case .case-panel span{
    display:none !important;
  }

  /* Keep the next-card peek intentional. */
  .case-card{
    flex:0 0 calc(100vw - 54px) !important;
    max-width:calc(100vw - 54px) !important;
  }

  .case-dots{
    margin-top:12px !important;
  }
}

@media(max-width:375px){
  .mobile-simple-case{
    height:365px !important;
  }

  .mobile-simple-case .case-panel{
    padding:20px 18px 18px !important;
  }

  .mobile-simple-case .case-panel h3{
    font-size:21px !important;
  }
}


/* =========================================================
   V43 — MOBILE TESTIMONIAL POLISH
   Desktop remains unchanged.
   ========================================================= */
@media(max-width:640px){

  .testimonial-section{
    padding-top:50px !important;
    padding-bottom:50px !important;
  }

  .testimonial-head{
    margin-bottom:18px !important;
  }

  .testimonial-head h2{
    max-width:330px !important;
  }

  .testimonial-viewport{
    padding-left:12px !important;
    padding-right:12px !important;
    padding-bottom:8px !important;
  }

  .testimonial-track{
    gap:12px !important;
  }

  .testimonial-track .quote{
    flex:0 0 calc(100vw - 62px) !important;
    max-width:calc(100vw - 62px) !important;
    min-height:238px !important;
    padding:18px 18px 16px !important;
    border-radius:17px !important;
    background:linear-gradient(145deg,#f8f8f4,#f0efe9) !important;
    border:1px solid #e8e5dc !important;
    box-shadow:0 8px 20px rgba(15,18,32,.028) !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
  }

  .testimonial-track .quote::before{
    font-size:34px !important;
    line-height:1 !important;
    margin:0 0 10px !important;
    opacity:.55 !important;
  }

  .quote p{
    margin:0 !important;
    max-width:96% !important;
    font-size:14.5px !important;
    line-height:1.52 !important;
    letter-spacing:-.08px !important;
  }

  .quote footer{
    margin-top:auto !important;
    padding-top:14px !important;
    border-top:1px solid rgba(23,18,43,.08) !important;
  }

  .quote footer strong{
    display:block !important;
    margin-bottom:2px !important;
    font-size:13.5px !important;
    line-height:1.25 !important;
  }

  .quote footer small{
    display:block !important;
    font-size:11.5px !important;
    line-height:1.3 !important;
    color:#8a8d98 !important;
  }

  .testimonial-dots{
    margin-top:8px !important;
    min-height:24px !important;
    gap:6px !important;
  }

  .testimonial-dots button{
    width:6px !important;
    height:6px !important;
  }

  .testimonial-dots button.active{
    width:18px !important;
  }
}

@media(max-width:375px){
  .testimonial-track .quote{
    flex-basis:calc(100vw - 54px) !important;
    max-width:calc(100vw - 54px) !important;
    min-height:228px !important;
    padding:17px 16px 15px !important;
  }

  .quote p{
    font-size:14px !important;
  }
}
