/*
Theme Name: Codify — Final Advanced V3.6.2
Theme URI: https://codefi.pk/
Author: Maryam Umer
Description: Premium one-page portfolio theme for Codify — Shopify & WordPress Designer.
Version: 3.6.2
Text Domain: codify-v3
*/

:root{
  --white:#ffffff;
  --paper:#ffffff;
  --soft:#f7f7f2;
  --ink:#102b2c;
  --deep:#001018;
  --ocean:#132e2e;
  --surface:#eef3f1;
  --mint:#70d8c0;
  --teal:#2ca5a8;
  --coral:#d98b78;
  --gold:#c8a66b;
  --muted:#60706f;
  --line:#dfe7e4;
  --shadow:0 22px 70px rgba(16,43,44,.09);
  --radius:28px;
  --ease:cubic-bezier(.22,.8,.2,1);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--white);color:var(--ink);font-family:"DM Sans",Arial,sans-serif;line-height:1.65;overflow-x:hidden}
body,button,input,textarea,select{font-family:"DM Sans",Arial,sans-serif}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{cursor:pointer}
::selection{background:var(--mint);color:var(--ink)}
.container{width:min(1180px,88vw);margin-inline:auto}
.section{padding:110px 0}
.eyebrow{margin:0 0 18px;color:var(--coral);font-size:11px;font-weight:800;letter-spacing:.2em;text-transform:uppercase}
h1,h2,h3,h4{font-family:"Playfair Display",Georgia,serif;font-weight:500;line-height:1.02;margin:0;letter-spacing:-.035em}
h1{font-size:clamp(54px,7vw,100px)}
h2{font-size:clamp(44px,6vw,76px)}
h3{font-size:clamp(40px,5vw,68px)}
em{font-style:normal;color:var(--coral)}
p{margin:0 0 18px}
.muted{color:var(--muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 20px;border-radius:999px;font-size:12px;font-weight:800;transition:transform .25s var(--ease),background .25s var(--ease),color .25s var(--ease)}
.btn:hover{transform:translateY(-2px)}
.btn-dark{background:var(--ink);color:#fff}
.btn-light{background:var(--white);color:var(--ink)}
.text-link{font-size:12px;font-weight:800;border-bottom:1px solid currentColor;padding-bottom:4px}
.text-link:hover{opacity:.72}

/* Header — no hover underline/effect */
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.94);backdrop-filter:none;border-bottom:1px solid rgba(16,43,44,.08)}
.header-inner{min-height:74px;display:flex;align-items:center;gap:26px}
.brand{display:flex;align-items:center;gap:11px;min-width:230px}
.brand-mark{width:39px;height:39px;border:1px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-family:"Playfair Display",Georgia,serif;font-size:18px}
.brand-name{display:block;font-size:14px;font-weight:800;letter-spacing:.03em}
.brand-sub{display:block;color:var(--muted);font-size:9px;letter-spacing:.11em;text-transform:uppercase}
.nav{display:flex;align-items:center;justify-content:center;gap:22px;flex:1}
.nav a{font-size:12px;font-weight:600}
.nav a:hover{color:inherit} /* deliberately neutral — hover effect removed */
.header-cta{border:1px solid var(--ink);background:var(--ink);color:#fff;padding:11px 17px;border-radius:999px;font-size:11px;font-weight:800}
.menu-toggle{display:none;border:0;background:transparent;font-size:22px;color:var(--ink)}

/* Scroll progress */
.scroll-progress{position:fixed;top:0;left:0;width:100%;height:3px;background:transparent;z-index:2000}
.scroll-progress span{display:block;width:0;height:100%;background:var(--mint)}

/* Hero */
.hero{min-height:calc(100vh - 74px);display:grid;grid-template-columns:.84fr 1.16fr;gap:5vw;align-items:center;padding:72px 0 90px}
.hero-copy{max-width:620px}
.hero-sub{font:500 clamp(24px,2.7vw,39px)/1.15 "Playfair Display",Georgia,serif;color:var(--coral);margin:16px 0 24px}
.hero-body{max-width:560px;color:var(--muted);font-size:17px}
.platforms{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:28px 0;font-size:13px;font-weight:800}
.platforms span{white-space:nowrap}
.platforms b{color:var(--mint)}
.hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.hero-visual{position:relative}
.hero-visual:after{content:"";position:absolute;inset:10% -4% -5% 8%;border:1px solid var(--line);border-radius:34px;z-index:-1}
.hero-visual img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow)}

/* Statement */
.dark-section{background:var(--deep);color:#fff}
.statement-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:end;margin-top:70px}
.statement-lead{font-size:clamp(21px,2.2vw,30px);max-width:520px;color:#dce9e6}
.ticker-wrap{overflow:hidden;border-top:1px solid rgba(255,255,255,.28);border-bottom:1px solid rgba(255,255,255,.28);padding:22px 0}
.ticker{display:flex;width:max-content;align-items:center;gap:22px;white-space:nowrap;color:#fff;font-size:18px;font-weight:800;letter-spacing:.09em;animation:marquee 28s linear infinite}
.ticker b{color:var(--mint);font-size:13px}
@keyframes marquee{to{transform:translateX(-50%)}}

/* Work */
.section-intro{max-width:1000px;margin-bottom:70px}
.work-project{display:grid;grid-template-columns:.72fr 1.28fr;gap:6vw;align-items:center;padding:105px 0;border-top:1px solid var(--line)}
.work-project.reverse{grid-template-columns:1.28fr .72fr}
.work-project.reverse .project-copy{order:2}
.work-project.reverse .project-media{order:1}
.project-copy{max-width:490px}
.project-number{font:500 34px/1 "Playfair Display",Georgia,serif;color:var(--coral)}
.project-type{margin:14px 0 20px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.17em}
.project-copy .description{color:var(--muted);font-size:16px}
.project-points{list-style:none;padding:0;margin:26px 0;display:grid;gap:8px}
.project-points li{font-size:13px}
.project-points li:before{content:"✦";color:var(--coral);margin-right:9px}
.project-media{overflow:hidden;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow)}
.project-media img{width:100%;transform:scale(1.001);transition:transform 1.1s var(--ease)}
.project-media:hover img{transform:scale(1.015)}
/* requested cinematic split reveal */
.reveal-left,.reveal-right{opacity:0;transition:opacity .9s var(--ease),transform 1s var(--ease)}
.reveal-left{transform:translateX(-70px)}
.reveal-right{transform:translateX(70px)}
.in-view .reveal-left,.in-view .reveal-right,.is-visible.reveal-left,.is-visible.reveal-right{opacity:1;transform:none}

/* Journey */
.journey-card{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:76px;border-radius:var(--radius);background:var(--ocean);color:#fff;box-shadow:var(--shadow)}
.journey-card p{color:#d8e6e2;font-size:18px;align-self:center}

/* Detail */
.detail-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:65px}
.detail-item{padding:34px 24px;border-right:1px solid var(--line)}
.detail-item:last-child{border-right:0}
.detail-item .num{font-size:11px;color:var(--coral);font-weight:800}
.detail-item h3{font-size:32px;margin:16px 0 12px}
.detail-item p{color:var(--muted);font-size:14px}

/* Testimonials */
.testimonials{background:var(--soft)}
.testimonial-list{display:grid;gap:14px}
.testimonial{display:grid;grid-template-columns:50px 52px 1fr;gap:20px;align-items:center;padding:26px 28px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 35px rgba(16,43,44,.045)}
.testimonial .num{font:500 24px/1 "Playfair Display",Georgia,serif;color:var(--coral)}
.avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--ocean);color:#fff;font-size:11px;font-weight:800}
.quote{font:500 18px/1.45 "Playfair Display",Georgia,serif;margin:0 0 8px}
.testimonial strong{font-size:12px;display:block}
.testimonial small{color:var(--muted);font-size:10px}

/* About */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:7vw;align-items:center}
.about-copy p{max-width:620px;color:var(--muted)}
.about-points{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0}
.about-points span{padding:8px 12px;border:1px solid var(--line);border-radius:999px;font-size:11px;font-weight:700}
.about-visual{position:relative}
.about-visual img{width:100%;border-radius:var(--radius);box-shadow:var(--shadow)}
.signature-card{position:absolute;left:22px;bottom:22px;background:rgba(0,16,24,.92);color:#fff;padding:17px 20px;border-radius:18px}
.signature-card strong{display:block;font:500 25px/1 "Playfair Display",Georgia,serif}
.signature-card small{display:block;color:#b9d0cb;font-size:9px;letter-spacing:.1em;text-transform:uppercase;margin-top:6px}

/* Contact CTA */
.contact-card{display:grid;grid-template-columns:1fr auto;gap:50px;align-items:center;padding:70px;border-radius:var(--radius);background:var(--ocean);color:#fff;box-shadow:var(--shadow)}
.contact-card p:last-of-type{max-width:620px;color:#d5e4e0}
.contact-card h2{max-width:900px}
.contact-card .btn{min-width:240px}

/* Footer */
.site-footer{background:var(--deep);color:#fff;padding:80px 0 25px}
.footer-main{width:min(1180px,88vw);margin:auto;display:grid;grid-template-columns:1.25fr 1fr 1fr 1.15fr;gap:45px}
.footer-brand strong{font:600 34px/1 "Playfair Display",Georgia,serif}
.footer-brand p{max-width:320px;color:#b8cbc7;margin-top:16px}
.site-footer h4{font-family:"DM Sans",Arial,sans-serif;font-size:11px;letter-spacing:.17em;text-transform:uppercase;color:var(--mint);margin:0 0 18px}
.site-footer a{display:block;width:max-content;max-width:100%;font-size:12px;color:#e5eeeb;margin:9px 0}
.footer-consult{margin-top:18px!important;padding:10px 14px;border:1px solid rgba(112,216,192,.5);border-radius:999px}
.footer-bottom{width:min(1180px,88vw);margin:55px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.15);display:flex;justify-content:space-between;gap:20px;color:#91aaa5;font-size:10px}

/* Generic reveal */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.is-visible{opacity:1;transform:none}

/* WordPress admin bar safety */
.admin-bar .site-header{top:32px}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:900px){
  .nav,.header-cta{display:none}
  .menu-toggle{display:block;margin-left:auto}
  .mobile-nav{display:none;padding:12px 0 18px;border-top:1px solid var(--line)}
  .mobile-nav.open{display:grid;gap:12px}
  .mobile-nav a{font-size:13px;padding:5px 0}
  .hero{grid-template-columns:1fr;padding-top:55px}
  .statement-grid,.journey-card,.about-grid,.contact-card{grid-template-columns:1fr}
  .detail-grid{grid-template-columns:1fr 1fr}
  .detail-item:nth-child(2){border-right:0}
  .detail-item:nth-child(3),.detail-item:nth-child(4){border-top:1px solid var(--line)}
  .footer-main{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .section{padding:76px 0}
  .header-inner{min-height:66px}
  .brand{min-width:0}
  .brand-sub{display:none}
  .brand-name{font-size:13px}
  .hero{min-height:auto;padding:55px 0 70px}
  .hero-body{font-size:15px}
  .hero-visual:after{display:none}
  .statement-grid{gap:40px;margin-top:48px}
  .ticker{font-size:14px;gap:15px}
  .work-project,.work-project.reverse{grid-template-columns:1fr;gap:34px;padding:70px 0}
  .work-project.reverse .project-copy,.work-project.reverse .project-media{order:initial}
  .project-copy{max-width:none}
  .journey-card,.contact-card{padding:38px 26px}
  .detail-grid{grid-template-columns:1fr}
  .detail-item{border-right:0!important;border-bottom:1px solid var(--line)}
  .detail-item:last-child{border-bottom:0}
  .testimonial{grid-template-columns:35px 44px 1fr;gap:12px;padding:20px}
  .avatar{width:44px;height:44px}
  .quote{font-size:15px}
  .footer-main{grid-template-columns:1fr;gap:30px}
  .footer-bottom{flex-direction:column}
  .btn{width:auto}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{animation:none!important;transition:none!important}
}

/* ===== CODEFI.PK FINAL V3 — LOCKED VISUAL OVERRIDES ===== */
:root{
  --white:#ffffff;
  --deep:#071315;
  --ocean:#0d2b2c;
  --ocean-2:#132e2e;
  --mint:#70d8c0;
  --teal:#2ca5a8;
  --ink:#ffffff;
  --muted:#c9d8d5;
  --line:rgba(255,255,255,.16);
  --coral:#ffffff;
  --soft:#f7f7f2;
}
body{background:var(--deep);color:#fff}
.site-header{background:rgba(7,19,21,.88);border-bottom:1px solid rgba(255,255,255,.10)}
.brand,.nav a{color:#fff}
.brand-sub{color:#b9cbc7}
.section{position:relative;background:var(--deep)}
.dark-section{background:linear-gradient(135deg,#050b0d 0%,#0d2b2c 58%,#132e2e 100%);color:#fff}
.tools,.work,.journey,.detail,.about{background:linear-gradient(135deg,#071315 0%,#0d2b2c 100%);color:#fff}
.testimonials{background:#0a1719;color:#fff}
.eyebrow{color:var(--mint)}
h1,h2,h3,h4{color:#fff}
em{color:var(--mint)}
.hero{min-height:calc(100vh - 74px)}
.hero-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:5vw;align-items:center}
.hero-body,.project-copy .description,.detail-item p,.tool-card p,.journey-card p,.about-copy p,.contact-card p{color:var(--muted)}
.hero-frame{position:relative;overflow:hidden;border-radius:30px;border:1px solid rgba(112,216,192,.20);background:#0a2022;box-shadow:0 30px 100px rgba(0,0,0,.38)}
.hero-frame:before{content:"";position:absolute;inset:8%;border:1px solid rgba(112,216,192,.14);border-radius:24px;pointer-events:none;z-index:1}
.hero-frame img{width:100%;object-fit:cover}
.platforms{color:#fff}
.platforms b,.ticker b{color:var(--mint)}
.btn-dark{background:var(--mint);color:#071315;border-color:var(--mint)}
.btn-dark:hover{background:var(--mint);color:#071315}
.text-link{color:#fff}
.ticker-wrap{border-color:rgba(255,255,255,.22)}
.ticker{color:#fff}
.tool-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:60px}
.tool-card{padding:32px 24px;border-right:1px solid var(--line)}
.tool-card:last-child{border-right:0}
.tool-card span{color:var(--mint);font-size:11px;font-weight:800}
.tool-card h3{font-size:30px;margin:16px 0 12px}
.work-project{border-color:var(--line)}
.project-number{color:var(--mint)}
.project-type{color:#b9cbc7}
.project-points li{color:#fff}
.project-points li:before{color:var(--mint)}
.project-media{background:#0b2022;border:1px solid rgba(112,216,192,.16);box-shadow:0 28px 90px rgba(0,0,0,.34)}
.project-media img{transition:transform 1.2s cubic-bezier(.2,.8,.2,1),opacity .9s ease}
.journey-card{background:linear-gradient(135deg,#0b2224,#143637);border:1px solid rgba(112,216,192,.16)}
.journey-card .eyebrow{color:var(--mint)}
.detail-grid{border-color:var(--line)}
.detail-item{border-color:var(--line)}
.detail-item .num{color:var(--mint)}
.testimonial-rail{display:grid;gap:14px}
.testimonial{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.14);color:#fff;box-shadow:0 18px 60px rgba(0,0,0,.22)}
.testimonial-index{font:500 24px/1 "Playfair Display",Georgia,serif;color:var(--mint)}
.avatar{background:var(--mint);color:#071315}
.quote{color:#fff}
.testimonial small{color:#a9bdb9}
.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:7vw;align-items:center}
.about-visual img{border:1px solid rgba(112,216,192,.16);background:#0b2022}
.signature-card{background:rgba(5,15,17,.92);border:1px solid rgba(112,216,192,.18)}
.about-points span{border-color:rgba(255,255,255,.18);color:#fff}
.contact-card{background:linear-gradient(135deg,#0b2224,#143637);border:1px solid rgba(112,216,192,.18)}
.contact-card p:last-of-type{color:#c9d8d5}
.btn-light{background:#fff;color:#071315}
.site-footer{background:#050b0d;color:#fff;border-top:1px solid rgba(112,216,192,.12)}
.site-footer h4{color:var(--mint)}
.site-footer a{color:#e8f0ee}
.footer-consult{border-color:rgba(112,216,192,.45)}
.reveal-left{transform:translateX(-54px);opacity:0}
.reveal-right{transform:translateX(54px);opacity:0}
.reveal-left.is-visible,.reveal-right.is-visible{transform:none;opacity:1}
/* No decorative hover effect on nav/project cards */
.nav a:hover,.brand:hover{color:inherit}
@media(max-width:900px){
  .hero-grid,.about-grid{grid-template-columns:1fr}
  .tool-grid{grid-template-columns:1fr 1fr}
  .tool-card:nth-child(2){border-right:0}
  .tool-card:nth-child(n+3){border-top:1px solid var(--line)}
}
@media(max-width:640px){
  .tool-grid{grid-template-columns:1fr}
  .tool-card{border-right:0!important;border-bottom:1px solid var(--line)}
  .tool-card:last-child{border-bottom:0}
}

/* ===== FINAL V3.1 — LIGHTER OCEAN PALETTE + CINEMATIC MOTION ===== */
:root{
  --white:#ffffff;
  --paper:#ffffff;
  --soft:#f7f7f2;
  --ink:#102b2c;
  --deep:#182828;
  --ocean:#0d2b2c;
  --ocean-2:#132e2e;
  --surface:#1e3f41;
  --mint:#70d8c0;
  --teal:#2ca5a8;
  --coral:#ffffff;
  --gold:#c8a66b;
  --muted:#667574;
  --line:#dce6e2;
}
body{background:#fff;color:var(--ink)}
.site-header{
  background:rgba(255,255,255,.92);
  color:var(--ink);
  border-bottom:1px solid rgba(16,43,44,.08);
  backdrop-filter:none
}
.site-header .brand,.site-header .brand-name{color:var(--ink)}
.site-header .brand-sub{color:#60706f}
.header-cta{background:var(--deep);border-color:var(--deep);color:#fff}
.nav,.mobile-nav,.menu-toggle{display:none!important}

/* Hero: approved deep-ocean feel, but less heavy than the previous full-dark theme. */
.hero{
  min-height:calc(100vh - 74px);
  background:
    radial-gradient(circle at 78% 28%,rgba(112,216,192,.16),transparent 34%),
    linear-gradient(135deg,#102728 0%,#182828 52%,#132e2e 100%);
  color:#fff;
  overflow:hidden;
}
.hero-grid{grid-template-columns:.92fr 1.08fr;gap:6vw}
.hero-copy{max-width:650px;padding-left:2.5vw}
.hero h1{color:#fff}
.hero .hero-sub{color:var(--mint)}
.hero .hero-body{color:#dbe7e4}
.hero .eyebrow{color:var(--mint)}
.hero .platforms{color:#fff}
.hero .platforms b{color:var(--mint)}
.hero-frame{
  background:#0f2729;
  border:1px solid rgba(112,216,192,.24);
  box-shadow:0 30px 100px rgba(0,0,0,.28);
}
.hero-frame:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,rgba(112,216,192,.08),transparent 45%,rgba(255,255,255,.06));
  pointer-events:none;
}
.hero-frame img{aspect-ratio:3/2;object-fit:cover}

/* White sections restore breathing room and the palette's contrast. */
.tools,.work,.detail,.testimonials,.about{background:#fff;color:var(--ink)}
.tools h2,.work h2,.detail h2,.testimonials h2,.about h2{color:var(--ink)}
.tools em,.work em,.detail em,.testimonials em,.about em{color:#2ca5a8}
.eyebrow{color:#2ca5a8}
.tool-grid{border-color:var(--line)}
.tool-card{border-color:var(--line)}
.tool-card h3,.detail-item h3{color:var(--ink)}
.tool-card p,.detail-item p,.project-copy .description,.about-copy p{color:var(--muted)}
.project-number{color:#2ca5a8}
.project-type{color:#60706f}
.project-points li{color:var(--ink)}
.project-points li:before{color:#2ca5a8}
.project-media{
  background:#fff;
  border:1px solid #dfe8e4;
  box-shadow:0 28px 75px rgba(16,43,44,.12);
}

/* Stronger cinematic split-screen project entrances: copy + image converge into one focal point. */
.work-project{perspective:1200px}
.work-project .project-copy{
  opacity:0;
  transform:translate3d(-110px,18px,0) scale(.97);
  filter:none;
  transition:opacity 1s var(--ease),transform 1.15s var(--ease),filter 1s var(--ease);
}
.work-project .project-media{
  opacity:0;
  transform:translate3d(110px,0,0) scale(.91);
  clip-path:inset(7% 8% 7% 8% round 28px);
  transition:opacity 1s var(--ease),transform 1.25s var(--ease),clip-path 1.2s var(--ease);
}
.work-project.reverse .project-copy{transform:translate3d(110px,18px,0) scale(.97)}
.work-project.reverse .project-media{transform:translate3d(-110px,0,0) scale(.91)}
.work-project.is-visible .project-copy,
.work-project.in-view .project-copy{
  opacity:1;transform:none;filter:none
}
.work-project.is-visible .project-media,
.work-project.in-view .project-media{
  opacity:1;transform:none;clip-path:inset(0 round 28px)
}
.project-media:hover img{transform:none}

/* Journey stays deep-ocean, not black. */
.journey-card,.contact-card{
  background:linear-gradient(135deg,#182828 0%,#0d2b2c 62%,#132e2e 100%);
  border:1px solid rgba(112,216,192,.20);
}

/* Testimonials: clean white cards with a moving vertical cinematic rail. */
.testimonials{background:#f7f7f2}
.testimonial-rail{display:grid;gap:14px}
.testimonial{
  background:#fff;color:var(--ink);
  border:1px solid #dce6e2;
  box-shadow:0 18px 50px rgba(16,43,44,.08)
}
.testimonial-index{color:#2ca5a8}
.avatar{background:#132e2e;color:#fff}
.quote{color:var(--ink)}
.testimonial small{color:#60706f}

/* Meet Maryam: the two sides arrive and converge at the same time. */
.about{
  overflow:hidden;
  padding-top:130px;
  padding-bottom:130px;
}
.about-grid{grid-template-columns:.95fr 1.05fr;gap:7vw;align-items:center}
.about-visual{overflow:visible}
.about-visual img{
  border:1px solid #d9e4df;
  box-shadow:0 30px 90px rgba(16,43,44,.16);
}
.about-copy{max-width:650px}
.about-visual.reveal-left{
  opacity:0;
  transform:translate3d(-110px,28px,0) scale(.94);
  filter:none;
  transition:opacity 1.05s var(--ease),transform 1.2s var(--ease),filter 1s var(--ease);
}
.about-copy.reveal-right{
  opacity:0;
  transform:translate3d(110px,28px,0) scale(.97);
  filter:none;
  transition:opacity 1.05s var(--ease),transform 1.2s var(--ease),filter 1s var(--ease);
}
.about-grid.in-view .about-visual.reveal-left,
.about-grid.in-view .about-copy.reveal-right,
.about-visual.reveal-left.is-visible,
.about-copy.reveal-right.is-visible{
  opacity:1;transform:none;filter:none
}
.signature-card{background:rgba(13,43,44,.94);border-color:rgba(112,216,192,.24)}

/* Header remains minimal — no menu row. */
.header-inner{justify-content:space-between}
.header-cta{margin-left:auto}

/* Keep reduced-motion safe. */
@media(prefers-reduced-motion:reduce){
  .work-project .project-copy,.work-project .project-media,
  .about-visual.reveal-left,.about-copy.reveal-right{
    opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important
  }
}

/* ===== V3.1 PRECISION PATCH — PROJECT SAMPLE + MOBILE CLEANUP ===== */
.project-sample-label{
  margin:0 0 10px;
  color:var(--mint,#70d8c0);
  font-size:10px;
  font-weight:800;
  letter-spacing:.20em;
  text-transform:uppercase;
}
@media (max-width:640px){
  .about-visual{padding-bottom:0;margin-bottom:24px}
  .about-visual .signature-card{
    position:relative;left:auto;bottom:auto;display:block;
    width:max-content;max-width:calc(100% - 24px);
    margin:14px 12px 0;padding:12px 14px;
  }
  .about-visual .signature-card strong{font-size:20px}
  .about-visual .signature-card small{font-size:8px}
  .project-sample-label{margin-bottom:8px;font-size:9px;letter-spacing:.17em}
}


/* ===== Codefi.pk — TARGETED PREMIUM SCROLL PATCH =====
   Only requested interaction/mobile polish. Palette and content remain unchanged. */
.scroll-stagger > *{
  --stagger-index:0;
  opacity:0;
  transform:translate3d(0,42px,0) scale(.985);
  filter:none;
  transition:
    opacity .85s var(--ease),
    transform 1s var(--ease),
    filter .85s var(--ease);
  transition-delay:calc(var(--stagger-index) * 90ms);
}
.scroll-stagger.is-visible > *{opacity:1;transform:none;filter:none}
.scroll-stagger > *:nth-child(1){--stagger-index:0}
.scroll-stagger > *:nth-child(2){--stagger-index:1}
.scroll-stagger > *:nth-child(3){--stagger-index:2}
.scroll-stagger > *:nth-child(4){--stagger-index:3}
.scroll-stagger > *:nth-child(5){--stagger-index:4}
.scroll-stagger > *:nth-child(6){--stagger-index:5}

/* Section headings arrive with a softer premium lift instead of appearing flat. */
.section-intro.reveal,
.dark-section > .container > .reveal,
.detail > .container > .reveal{
  transform:translate3d(0,46px,0) scale(.985);
  filter:none;
  transition:opacity .9s var(--ease),transform 1s var(--ease),filter .9s var(--ease);
}
.section-intro.reveal.is-visible,
.dark-section > .container > .reveal.is-visible,
.detail > .container > .reveal.is-visible{
  transform:none;filter:none
}


/* One-on-One Consultation: premium floating/popup interaction.
   Keeps the existing palette and button styling, adding only a subtle lift on hover/focus. */
.one-on-one-popup{
  position:relative;
  transform:translate3d(0,0,0);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),filter .35s var(--ease);
  will-change:transform;
  cursor:pointer;
}
.one-on-one-popup::after{
  content:"ONE-ON-ONE";
  position:absolute;
  left:50%;
  bottom:calc(100% + 10px);
  transform:translate(-50%,8px) scale(.92);
  opacity:0;
  pointer-events:none;
  white-space:nowrap;
  padding:7px 11px;
  border:1px solid rgba(112,216,192,.34);
  border-radius:999px;
  background:rgba(0,16,24,.94);
  color:var(--mint);
  font-size:9px;
  font-weight:800;
  letter-spacing:.16em;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
  transition:opacity .25s var(--ease),transform .35s var(--ease);
}
.one-on-one-popup:hover,.one-on-one-popup:focus-visible{
  transform:translate3d(0,-7px,0) scale(1.025);
  filter:brightness(1.04);
  box-shadow:0 18px 34px rgba(0,0,0,.22);
}
.one-on-one-popup:hover::after,.one-on-one-popup:focus-visible::after{
  opacity:1;
  transform:translate(-50%,0) scale(1);
}
.one-on-one-popup:focus-visible{outline:2px solid var(--mint);outline-offset:4px}
@media(max-width:640px){
  .one-on-one-popup:active{transform:translate3d(0,-4px,0) scale(1.015)}
  .one-on-one-popup::after{display:none}
}
@media(prefers-reduced-motion:reduce){
  .one-on-one-popup{transition:none!important}
  .one-on-one-popup:hover,.one-on-one-popup:focus-visible,.one-on-one-popup:active{transform:none}
}

/* Final CTA: the large heading reveals word-by-word on arrival. */
.final-cta-heading{overflow:visible}
.final-cta-heading .cta-word{
  display:inline-block;
  opacity:0;
  transform:translate3d(0,28px,0) scale(.97);
  filter:none;
  transition:opacity .7s var(--ease),transform .8s var(--ease),filter .7s var(--ease);
  transition-delay:calc(var(--word-index) * 55ms);
}
.final-cta-card.is-visible .cta-word{opacity:1;transform:none;filter:none}
.final-cta-heading em .cta-word{color:var(--mint)}

/* Keep the Maryam identity card firmly below the image on small screens. */
@media(max-width:640px){
  .about-visual .signature-card{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    top:auto!important;
    display:block!important;
    margin:14px 12px 0!important;
    width:fit-content!important;
    max-width:calc(100% - 24px)!important;
  }
  .about-visual{display:flex;flex-direction:column}
  .about-visual img{order:1}
  .about-visual .signature-card{order:2}
  .about-copy{order:3}
}

@media(prefers-reduced-motion:reduce){
  .scroll-stagger > *,
  .section-intro.reveal,
  .dark-section > .container > .reveal,
  .detail > .container > .reveal,
  .final-cta-heading .cta-word{
    opacity:1!important;transform:none!important;filter:none!important;transition:none!important
  }
}

/* ===== V3.2 — CINEMATIC SCROLL STORYTELLING =====
   Reference principle: sections reveal progressively as the visitor scrolls.
   Codefi.pk palette/content remain unchanged. */
.scroll-scene{position:relative;will-change:transform}

/* Hero image: subtle depth instead of a flat static image. */
.hero-visual{
  opacity:0;
  transform:translate3d(55px,26px,0) scale(.94);
  filter:none;
  transition:opacity 1s var(--ease),transform 1.35s var(--ease),filter 1s var(--ease);
}
.hero-visual.is-visible{opacity:1;transform:none;filter:none}
.hero-visual img{transition:transform 1.8s var(--ease),box-shadow 1.2s var(--ease)}
.hero-visual.is-visible img{transform:scale(1.015);box-shadow:0 34px 100px rgba(16,43,44,.18)}
.hero-copy{transition:opacity 1s var(--ease),transform 1.15s var(--ease),filter 1s var(--ease)}
.hero-copy:not(.is-visible){opacity:0;transform:translate3d(-45px,20px,0);filter:none;}
.hero-copy.is-visible{opacity:1;transform:none;filter:none}

/* Section headings should feel connected, not simply fade in. */
.section-intro.reveal,
.dark-section > .container > .reveal,
.detail > .container > .reveal{
  opacity:0;
  transform:translate3d(0,72px,0) scale(.965);
  filter:none;
  transition:opacity 1s var(--ease),transform 1.15s var(--ease),filter 1s var(--ease);
}
.section-intro.reveal.is-visible,
.dark-section > .container > .reveal.is-visible,
.detail > .container > .reveal.is-visible{
  opacity:1;transform:none;filter:none;
}

/* Project storytelling: copy and image travel toward each other. */
.work-project{overflow:visible}
.work-project .project-copy{
  transition-delay:.08s;
}
.work-project .project-media img{
  transform:scale(1.075);
  transition:transform 1.45s var(--ease);
}
.work-project.is-visible .project-media img,
.work-project.in-view .project-media img{transform:scale(1)}
.work-project.is-visible .project-copy h3,
.work-project.in-view .project-copy h3{animation:codifyTitleLift .9s var(--ease) both}
@keyframes codifyTitleLift{
  from{opacity:.15;transform:translateY(18px)}
  to{opacity:1;transform:none}
}

/* Journey card: rises into view as one visual object. */
.journey-card.scroll-scene{
  opacity:0;
  transform:translate3d(0,75px,0) scale(.94);
  filter:none;
  transition:opacity 1s var(--ease),transform 1.2s var(--ease),filter 1s var(--ease),box-shadow 1s var(--ease);
}
.journey-card.scroll-scene.is-visible{
  opacity:1;transform:none;filter:none;
  box-shadow:0 34px 100px rgba(0,16,24,.22);
}

/* “Same obsession with detail”: entire row enters first, then each detail follows. */
.detail-grid.scroll-scene{
  opacity:0;
  transform:translate3d(0,65px,0) scale(.97);
  filter:none;
  transition:opacity .95s var(--ease),transform 1.1s var(--ease),filter .95s var(--ease);
}
.detail-grid.scroll-scene.is-visible{opacity:1;transform:none;filter:none}
.detail-grid.scroll-scene .detail-item{
  opacity:0;
  transform:translate3d(0,38px,0);
  transition:opacity .75s var(--ease),transform .9s var(--ease);
  transition-delay:calc(var(--stagger-index,0) * 100ms + 160ms);
}
.detail-grid.scroll-scene.is-visible .detail-item{opacity:1;transform:none}

/* “Good work gets noticed”: heading + rail move in as a single editorial sequence. */
.testimonial-rail.scroll-scene{
  opacity:0;
  transform:translate3d(0,72px,0) scale(.97);
  filter:none;
  transition:opacity 1s var(--ease),transform 1.15s var(--ease),filter 1s var(--ease);
}
.testimonial-rail.scroll-scene.is-visible{opacity:1;transform:none;filter:none}
.testimonial-rail.scroll-scene .testimonial{
  opacity:0;
  transform:translate3d(60px,25px,0) scale(.97);
  transition:opacity .8s var(--ease),transform 1s var(--ease),box-shadow .8s var(--ease);
  transition-delay:calc(var(--stagger-index,0) * 120ms + 180ms);
}
.testimonial-rail.scroll-scene.is-visible .testimonial{opacity:1;transform:none}
.testimonial-rail.scroll-scene.is-visible .testimonial:hover{transform:translateY(-5px);box-shadow:0 25px 60px rgba(16,43,44,.12)}

/* Maryam section: image and text visibly converge into one composition. */
.about-grid.scroll-scene .about-visual,
.about-grid.scroll-scene .about-copy{transition-duration:1.25s}
.about-grid.scroll-scene .about-visual img{transform:scale(1.055);transition:transform 1.35s var(--ease)}
.about-grid.scroll-scene.is-visible .about-visual img{transform:scale(1)}

/* Final CTA: whole card enters before the word-by-word headline takes over. */
.final-cta-card.scroll-scene{
  opacity:0;
  transform:translate3d(0,80px,0) scale(.94);
  filter:none;
  transition:opacity 1s var(--ease),transform 1.2s var(--ease),filter 1s var(--ease),box-shadow 1s var(--ease);
}
.final-cta-card.scroll-scene.is-visible{
  opacity:1;transform:none;filter:none;
  box-shadow:0 38px 110px rgba(0,16,24,.24);
}

/* Give the final consultation button a stronger “floating” response. */
.one-on-one-popup:hover,.one-on-one-popup:focus-visible{
  transform:translate3d(0,-9px,0) scale(1.035);
  box-shadow:0 22px 45px rgba(0,0,0,.28);
}
.one-on-one-popup::before{
  content:"";
  position:absolute;
  inset:-5px;
  border:1px solid rgba(112,216,192,0);
  border-radius:inherit;
  transform:scale(.96);
  transition:border-color .35s var(--ease),transform .35s var(--ease);
  pointer-events:none;
}
.one-on-one-popup:hover::before,.one-on-one-popup:focus-visible::before{
  border-color:rgba(112,216,192,.35);
  transform:scale(1);
}

/* Mobile: preserve the same cinematic movement without oversized translations. */
@media(max-width:640px){
  .hero-copy:not(.is-visible){transform:translate3d(0,34px,0);filter:none;clip-path:inset(5% 4% 5% 4% round 24px)}
  .work-project.is-visible .project-media,.work-project.in-view .project-media{transform:none;clip-path:inset(0 round 24px)}
  .detail-grid.scroll-scene .detail-item{transform:translate3d(0,28px,0)}
  .testimonial-rail.scroll-scene .testimonial{transform:translate3d(0,30px,0) scale(.98)}
  .final-cta-card.scroll-scene{transform:translate3d(0,55px,0) scale(.96)}
}

/* ===== V3.3 — TRUE CINEMATIC SCROLL CHOREOGRAPHY =====
/* This layer adds continuous, scroll-linked movement without changing the approved palette/content. */
:root{--cin-ease:cubic-bezier(.16,1,.3,1)}

/* Make every major story block feel like it enters the viewport rather than simply appearing. */
.work-project.scroll-scene,
.journey-card.scroll-scene,
.detail-grid.scroll-scene,
.testimonial-rail.scroll-scene,
.about-grid.scroll-scene,
.final-cta-card.scroll-scene{will-change:transform,opacity}

/* Projects: copy and imagery travel toward each other as the section crosses the viewport. */
.work-project.scroll-scene .project-copy{transform:translate3d(calc((1 - var(--scene-progress,0)) * -42px),0,0);opacity:calc(.28 + var(--scene-progress,0) * .72)}
.work-project.scroll-scene .project-media{transform:translate3d(calc((1 - var(--scene-progress,0)) * 42px),calc((1 - var(--scene-progress,0)) * 28px),0) scale(calc(.94 + var(--scene-progress,0) * .06));opacity:calc(.35 + var(--scene-progress,0) * .65)}
.work-project.scroll-scene .project-media img{transform:scale(calc(1.07 - var(--scene-progress,0) * .07))}

/* Detail / “Same obsession with detail”: the whole section rises, then each card lands in sequence. */
.detail-grid.scroll-scene{transform:translate3d(0,calc((1 - var(--scene-progress,0)) * 70px),0);opacity:calc(.35 + var(--scene-progress,0) * .65)}
.detail-grid.scroll-scene .detail-item{transform:translate3d(0,calc((1 - var(--scene-progress,0)) * (38px - var(--stagger-index,0) * 5px)),0) scale(calc(.97 + var(--scene-progress,0) * .03));opacity:calc(.25 + var(--scene-progress,0) * .75)}
.detail-grid.scroll-scene.is-visible .detail-item{animation:detailGlow .9s var(--cin-ease) both;animation-delay:calc(var(--stagger-index,0) * 110ms)}
@keyframes detailGlow{from{box-shadow:inset 0 0 0 rgba(112,216,192,0)}to{box-shadow:inset 0 -1px 0 rgba(112,216,192,.12)}}

/* Good work gets noticed: editorial rail slides upward and cards travel horizontally into place. */
.testimonial-rail.scroll-scene{transform:translate3d(calc((1 - var(--scene-progress,0)) * 34px),calc((1 - var(--scene-progress,0)) * 62px),0);opacity:calc(.3 + var(--scene-progress,0) * .7)}
.testimonial-rail.scroll-scene .testimonial{transform:translate3d(calc((1 - var(--scene-progress,0)) * (55px - var(--stagger-index,0) * 18px)),calc((1 - var(--scene-progress,0)) * 24px),0) scale(calc(.96 + var(--scene-progress,0) * .04));opacity:calc(.2 + var(--scene-progress,0) * .8)}

/* Journey: the large visual card breathes into view instead of only fading. */
.journey-card.scroll-scene{transform:translate3d(0,calc((1 - var(--scene-progress,0)) * 80px),0) scale(calc(.92 + var(--scene-progress,0) * .08));opacity:calc(.25 + var(--scene-progress,0) * .75)}

/* Maryam: image and text move toward the same center line. */
.about-grid.scroll-scene .about-visual{transform:translate3d(calc((1 - var(--scene-progress,0)) * -48px),calc((1 - var(--scene-progress,0)) * 18px),0);opacity:calc(.35 + var(--scene-progress,0) * .65)}
.about-grid.scroll-scene .about-copy{transform:translate3d(calc((1 - var(--scene-progress,0)) * 48px),calc((1 - var(--scene-progress,0)) * 18px),0);opacity:calc(.35 + var(--scene-progress,0) * .65)}
.about-grid.scroll-scene .about-visual img{transform:scale(calc(1.07 - var(--scene-progress,0) * .07))}

/* Final section above Quick Links: large editorial reveal + responsive floating consultation CTA. */
.final-cta-card.scroll-scene{transform:translate3d(0,calc((1 - var(--scene-progress,0)) * 85px),0) scale(calc(.91 + var(--scene-progress,0) * .09));opacity:calc(.28 + var(--scene-progress,0) * .72)}
.final-cta-card .final-cta-heading .cta-word{display:inline-block;will-change:transform,opacity;transform:translate3d(0,calc((1 - var(--scene-progress,0)) * 26px),0);opacity:calc(.25 + var(--scene-progress,0) * .75)}

/* One-on-One: clear lift + floating label on hover/focus; mailto remains untouched. */
.one-on-one-popup{position:relative;isolation:isolate;will-change:transform,box-shadow}
.one-on-one-popup::after{content:"ONE-ON-ONE · EMAIL MARYAM";position:absolute;left:50%;bottom:calc(100% + 13px);transform:translate(-50%,8px) scale(.92);transform-origin:center bottom;opacity:0;white-space:nowrap;pointer-events:none;padding:9px 13px;border-radius:999px;background:#071315;color:#fff;border:1px solid rgba(112,216,192,.45);font-size:9px;font-weight:800;letter-spacing:.12em;transition:opacity .3s var(--cin-ease),transform .3s var(--cin-ease);z-index:4}
.one-on-one-popup:hover,.one-on-one-popup:focus-visible{transform:translate3d(0,-8px,0) scale(1.035);box-shadow:0 24px 55px rgba(0,16,24,.30)}
.one-on-one-popup:hover::after,.one-on-one-popup:focus-visible::after{opacity:1;transform:translate(-50%,0) scale(1)}

/* Mobile: name/signature is explicitly below the portrait; no overlay allowed. */
@media(max-width:640px){
  .about-visual{display:flex!important;flex-direction:column!important;gap:14px!important;padding-bottom:0!important}
  .about-visual img{order:1!important;position:relative!important;width:100%!important}
  .about-visual .signature-card{order:2!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;margin:0!important}
  .about-copy{order:3!important}
  .work-project.scroll-scene .project-copy{transform:translate3d(0,calc((1 - var(--scene-progress,0)) * 34px),0);opacity:calc(.3 + var(--scene-progress,0) * .7)}
  .work-project.scroll-scene .project-media{transform:translate3d(0,calc((1 - var(--scene-progress,0)) * 40px),0) scale(calc(.94 + var(--scene-progress,0) * .06))}
  .about-grid.scroll-scene .about-visual,.about-grid.scroll-scene .about-copy{transform:translate3d(0,calc((1 - var(--scene-progress,0)) * 32px),0);opacity:calc(.35 + var(--scene-progress,0) * .65)}
  .testimonial-rail.scroll-scene .testimonial{transform:translate3d(0,calc((1 - var(--scene-progress,0)) * 28px),0) scale(calc(.97 + var(--scene-progress,0) * .03))}
  .one-on-one-popup::after{display:none}
}

@media(prefers-reduced-motion:reduce){
  .work-project.scroll-scene .project-copy,.work-project.scroll-scene .project-media,.detail-grid.scroll-scene,.detail-grid.scroll-scene .detail-item,.testimonial-rail.scroll-scene,.testimonial-rail.scroll-scene .testimonial,.journey-card.scroll-scene,.about-grid.scroll-scene .about-visual,.about-grid.scroll-scene .about-copy,.final-cta-card.scroll-scene,.final-cta-card .final-cta-heading .cta-word{transform:none!important;opacity:1!important}
}


/* ===== V3.4 — FULL CINEMATIC SCROLL CHOREOGRAPHY =====
   All major sections now participate in the same connected scroll story.
   Colors/content/layout direction remain locked. */
.cin-section{position:relative}
.cin-section > .container{will-change:transform}
.cin-section .cin-heading{will-change:transform,opacity,filter}
.cin-section .cin-item{will-change:transform,opacity,filter}

/* The section itself breathes into the viewport. */
.cin-section.cin-active > .container{transform:translate3d(0,0,0);opacity:1}
.cin-section:not(.cin-active) > .container{opacity:.82}

/* Principle / Approach: lead and cards enter as connected layers. */
.cin-section.cin-principle .statement-lead{transform:translate3d(0,calc((1 - var(--cin-p,0)) * 58px),0);opacity:calc(.25 + var(--cin-p,0) * .75)}
.cin-section.cin-principle .ticker-wrap{transform:translate3d(calc((1 - var(--cin-p,0)) * 80px),calc((1 - var(--cin-p,0)) * 20px),0);opacity:calc(.25 + var(--cin-p,0) * .75)}
.cin-section.cin-approach .tool-card{transform:translate3d(0,calc((1 - var(--cin-p,0)) * (55px - var(--stagger-index,0) * 10px)),0) scale(calc(.94 + var(--cin-p,0) * .06));opacity:calc(.22 + var(--cin-p,0) * .78)}
.cin-section.cin-approach .section-intro{transform:translate3d(0,calc((1 - var(--cin-p,0)) * 45px),0);opacity:calc(.35 + var(--cin-p,0) * .65)}

/* Selected work / Difference / Stories: cards travel, not simply fade. */
.cin-section.cin-work .section-intro,.cin-section.cin-detail .section-intro,.cin-section.cin-testimonials .section-intro{transform:translate3d(0,calc((1 - var(--cin-p,0)) * 46px),0);opacity:calc(.3 + var(--cin-p,0) * .7)}
.cin-section.cin-detail .detail-item{transform:translate3d(calc((1 - var(--cin-p,0)) * (42px - var(--stagger-index,0) * 14px)),calc((1 - var(--cin-p,0)) * 48px),0) scale(calc(.93 + var(--cin-p,0) * .07));opacity:calc(.2 + var(--cin-p,0) * .8)}
.cin-section.cin-testimonials .testimonial{transform:translate3d(calc((1 - var(--cin-p,0)) * (70px - var(--stagger-index,0) * 24px)),calc((1 - var(--cin-p,0)) * 40px),0) rotateX(calc((1 - var(--cin-p,0)) * 3deg)) scale(calc(.94 + var(--cin-p,0) * .06));opacity:calc(.18 + var(--cin-p,0) * .82)}

/* Journey and About connect the previous/next story visually. */
.cin-section.cin-journey .journey-card{transform:translate3d(0,calc((1 - var(--cin-p,0)) * 90px),0) scale(calc(.90 + var(--cin-p,0) * .10));opacity:calc(.2 + var(--cin-p,0) * .8)}
.cin-section.cin-about .about-visual{transform:translate3d(calc((1 - var(--cin-p,0)) * -62px),calc((1 - var(--cin-p,0)) * 24px),0);opacity:calc(.25 + var(--cin-p,0) * .75)}
.cin-section.cin-about .about-copy{transform:translate3d(calc((1 - var(--cin-p,0)) * 62px),calc((1 - var(--cin-p,0)) * 24px),0);opacity:calc(.25 + var(--cin-p,0) * .75)}
.cin-section.cin-about .about-visual img{transform:scale(calc(1.08 - var(--cin-p,0) * .08))}

/* Final section: large heading and CTA rise together. */
.cin-section.cin-final .final-cta-card{transform:translate3d(0,calc((1 - var(--cin-p,0)) * 90px),0) scale(calc(.90 + var(--cin-p,0) * .10));opacity:calc(.18 + var(--cin-p,0) * .82)}
.cin-section.cin-final .cta-word{transform:translate3d(0,calc((1 - var(--cin-p,0)) * 32px),0) scale(.98);opacity:calc(.15 + var(--cin-p,0) * .85)}

/* Unique hero asset: prevents the old cached beige image from ever being reused. */
.hero-frame img[src*="codefi-hero-building-experience-v35"]{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}

/* One-on-One: popup works on desktop hover, keyboard focus, and touch/focus. */
.one-on-one-popup{position:relative;isolation:isolate;cursor:pointer;touch-action:manipulation}
.one-on-one-popup::after{content:"ONE-ON-ONE · EMAIL MARYAM";position:absolute;left:50%;bottom:calc(100% + 14px);transform:translate(-50%,10px) scale(.90);transform-origin:center bottom;opacity:0;visibility:hidden;pointer-events:none;white-space:nowrap;padding:10px 14px;border-radius:999px;background:#071315;color:#fff;border:1px solid rgba(112,216,192,.55);box-shadow:0 18px 42px rgba(0,16,24,.28);font-size:9px;font-weight:800;letter-spacing:.13em;transition:opacity .24s ease,transform .24s ease,visibility .24s ease;z-index:20}
.one-on-one-popup:hover::after,.one-on-one-popup:focus-visible::after,.one-on-one-popup.popup-open::after{opacity:1;visibility:visible;transform:translate(-50%,0) scale(1)}
.one-on-one-popup:hover,.one-on-one-popup:focus-visible,.one-on-one-popup.popup-open{transform:translate3d(0,-8px,0) scale(1.035);box-shadow:0 24px 55px rgba(0,16,24,.30)}
.header-cta.one-on-one-popup{display:inline-flex;align-items:center;justify-content:center}

/* Mobile profile: image first, name card second, copy third — no overlap. */
@media(max-width:760px){
  .about-grid{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:28px!important}
  .about-visual{display:flex!important;flex-direction:column!important;order:1!important;position:relative!important;inset:auto!important;transform:none!important}
  .about-visual img{order:1!important;display:block!important;position:relative!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;margin:0!important}
  .about-visual .signature-card{order:2!important;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;width:100%!important;margin:0!important;transform:none!important}
  .about-copy{order:2!important;position:relative!important;inset:auto!important;transform:none!important}
  .one-on-one-popup::after{bottom:calc(100% + 10px);font-size:8px;padding:8px 11px}
}
@media(max-width:520px){.one-on-one-popup::after{white-space:normal;width:max-content;max-width:calc(100vw - 36px);text-align:center}.header-cta.one-on-one-popup{min-height:42px}}
@media(prefers-reduced-motion:reduce){
  .cin-section > .container,.cin-section .cin-heading,.cin-section .cin-item,.cin-section .statement-lead,.cin-section .ticker-wrap,.cin-section .tool-card,.cin-section .section-intro,.cin-section .detail-item,.cin-section .testimonial,.cin-section .journey-card,.cin-section .about-visual,.cin-section .about-copy,.cin-section .about-visual img,.cin-section .final-cta-card,.cin-section .cta-word{transform:none!important;opacity:1!important}
}


/* ===== CODEFI.PK V3.5 — FINAL PRECISION / CINEMATIC SCROLL LAYER =====
   Brand spelling, exact hero asset, cinematic section movement, mobile layout,
   consultation email interaction, and the final pre-footer moving-image CTA. */

/* Exact hero image: unique filename prevents the previous beige asset from being reused. */
.hero-frame img[src*="codefi-hero-building-experience-v35"]{
  width:100%;aspect-ratio:3/2;object-fit:cover;display:block;
}

/* Detail section: stronger connected movement for Clarity / Craft / Performance / Purpose. */
.cin-section.cin-detail .detail-grid{perspective:1100px}
.cin-section.cin-detail .detail-item{
  will-change:transform,opacity,filter;
  transition:box-shadow .45s ease,border-color .45s ease;
}
.cin-section.cin-detail .detail-item:nth-child(1){--card-x:-58px;--card-y:48px;--card-r:-2deg}
.cin-section.cin-detail .detail-item:nth-child(2){--card-x:42px;--card-y:58px;--card-r:2deg}
.cin-section.cin-detail .detail-item:nth-child(3){--card-x:-38px;--card-y:68px;--card-r:-1.5deg}
.cin-section.cin-detail .detail-item:nth-child(4){--card-x:58px;--card-y:78px;--card-r:1.5deg}
.cin-section.cin-detail .detail-item{
  transform:translate3d(calc((1 - var(--cin-p,0)) * var(--card-x)),calc((1 - var(--cin-p,0)) * var(--card-y)),0) rotate(calc((1 - var(--cin-p,0)) * var(--card-r))) scale(calc(.91 + var(--cin-p,0) * .09));
  opacity:calc(.12 + var(--cin-p,0) * .88);
  filter:none;
}
.cin-section.cin-detail .detail-item::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,var(--mint),transparent);transform:scaleX(calc(.3 + var(--cin-p,0) * .7));transform-origin:center;opacity:.55;
}

/* Good work gets noticed: cards travel in from alternating directions. */
.cin-section.cin-testimonials .testimonial:nth-child(1){--story-x:-80px;--story-y:42px;--story-r:-2deg}
.cin-section.cin-testimonials .testimonial:nth-child(2){--story-x:0px;--story-y:78px;--story-r:0deg}
.cin-section.cin-testimonials .testimonial:nth-child(3){--story-x:80px;--story-y:42px;--story-r:2deg}
.cin-section.cin-testimonials .testimonial{
  will-change:transform,opacity;
  transform:translate3d(calc((1 - var(--cin-p,0)) * var(--story-x)),calc((1 - var(--cin-p,0)) * var(--story-y)),0) rotate(calc((1 - var(--cin-p,0)) * var(--story-r))) scale(calc(.91 + var(--cin-p,0) * .09));
  opacity:calc(.12 + var(--cin-p,0) * .88);
}
.cin-section.cin-testimonials .testimonial .avatar{transition:transform .5s var(--cin-ease),background .4s ease}
.cin-section.cin-testimonials .testimonial:hover .avatar{transform:rotate(-8deg) scale(1.08)}

/* Final pre-footer section: foreground copy + a real moving image strip behind it. */
.final-cta{overflow:hidden;padding-top:125px;padding-bottom:125px}
.final-cta-card{
  position:relative;overflow:hidden;min-height:560px;display:flex!important;align-items:center;justify-content:space-between;gap:45px;padding:78px!important;border-radius:32px!important;background:#071315!important;border:1px solid rgba(112,216,192,.24)!important;isolation:isolate;
}
.cta-slide-layer{position:absolute;inset:0;z-index:-1;overflow:hidden;background:#071315}
.cta-slide-track{position:absolute;inset:-5% auto -5% -2%;width:108%;height:110%;display:flex;transform:translate3d(calc(var(--cta-p,0) * -25%),0,0) scale(1.08);transition:transform .08s linear;will-change:transform}
.cta-slide{flex:0 0 25%;height:100%;overflow:hidden;position:relative}
.cta-slide img{width:100%;height:100%;object-fit:cover;filter:saturate(.82) contrast(1.03);transform:scale(1.05);}
.cta-slide-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,12,14,.94) 0%,rgba(3,12,14,.78) 42%,rgba(3,12,14,.52) 72%,rgba(3,12,14,.82) 100%),linear-gradient(180deg,rgba(3,12,14,.18),rgba(3,12,14,.72));pointer-events:none}
.cta-slide-line{position:absolute;right:34px;bottom:28px;display:flex;gap:12px;align-items:center;color:rgba(255,255,255,.72);font-size:9px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}
.cta-slide-line span:first-child{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(112,216,192,.55);border-radius:50%;color:var(--mint)}
.cta-content{position:relative;z-index:2;max-width:780px}
.final-cta .cta-content .eyebrow{color:var(--mint)}
.final-cta .cta-content p:last-child{color:#d7e5e2;max-width:650px;font-size:16px}
.final-cta .final-cta-heading{color:#fff;text-shadow:0 8px 30px rgba(0,0,0,.2)}
.final-cta .final-cta-heading em{color:var(--mint)}
.final-cta .one-on-one-popup{position:relative;z-index:5;flex:0 0 auto}

/* Consultation popup: desktop hover + keyboard + touch/focus, while click stays mailto. */
.one-on-one-popup{cursor:pointer;touch-action:manipulation}
.one-on-one-popup::after{content:"ONE-ON-ONE · EMAIL MARYAM"}
@media(max-width:760px){
  .one-on-one-popup::after{display:block;max-width:calc(100vw - 34px);white-space:nowrap;bottom:calc(100% + 10px);font-size:8px;padding:8px 10px}
}

/* Mobile composition: clean margins, readable type, no portrait/name overlap, no horizontal clipping. */
@media(max-width:900px){
  .container{width:min(92vw,680px)}
  .header-inner{min-height:68px;gap:10px}
  .brand{min-width:0;gap:9px}
  .brand-copy{min-width:0}
  .brand-name{font-size:13px;white-space:nowrap}
  .header-cta{margin-left:auto;font-size:9px;padding:10px 12px;white-space:nowrap}
  .hero-grid{gap:38px}
  .hero-copy{padding-left:0}
  .section{padding:88px 0}
  .footer-main{width:min(92vw,680px)}
  .footer-bottom{width:min(92vw,680px)}
}
@media(max-width:640px){
  .container{width:calc(100% - 36px);max-width:none}
  .section{padding:72px 0}
  .hero{padding:42px 0 64px}
  .hero h1{font-size:clamp(43px,13vw,64px);line-height:.98}
  .hero-sub{font-size:clamp(21px,6vw,30px)}
  .hero-body{font-size:15px;line-height:1.7}
  .hero-frame{border-radius:22px}
  .hero-frame img{border-radius:22px}
  .hero-actions{gap:14px}
  .btn{min-height:46px;padding:11px 16px}
  .work-project,.work-project.reverse{padding:58px 0;gap:28px}
  .project-media{border-radius:22px}
  .journey-card{padding:34px 24px!important;border-radius:24px!important}
  .detail-item{padding:30px 0}
  .testimonial{grid-template-columns:38px 44px 1fr!important;padding:18px!important}
  .testimonial .quote{font-size:14px;line-height:1.55}
  .testimonial strong{font-size:12px}
  .testimonial small{font-size:9px}
  .about{padding-top:80px;padding-bottom:80px}
  .about-grid{gap:26px!important}
  .about-visual .signature-card{width:100%!important;margin:0!important;border-radius:16px!important;padding:13px 15px!important}
  .about-visual .signature-card strong{font-size:20px}
  .about-copy h2{font-size:clamp(39px,11vw,58px)}
  .final-cta{padding-top:78px;padding-bottom:78px}
  .final-cta-card{min-height:590px;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;padding:38px 24px!important;border-radius:24px!important;gap:28px!important}
  .cta-slide-track{height:112%;top:-6%;width:112%;left:-4%}
  .cta-slide-line{right:18px;bottom:18px;font-size:7px}
  .cta-content{max-width:none}
  .final-cta .final-cta-heading{font-size:clamp(40px,11vw,60px)}
  .final-cta .cta-content p:last-child{font-size:14px}
  .final-cta .one-on-one-popup{align-self:flex-start}
  .site-footer{padding:62px 0 22px}
  .footer-main{gap:28px}
  .footer-brand strong{font-size:29px}
  .site-footer a{font-size:12px;margin:8px 0}
  .footer-bottom{margin-top:36px;gap:8px}
}

/* Mobile scroll choreography stays active — only translation distances are reduced for clarity. */
@media(max-width:760px){
  .cin-section.cin-detail .detail-item{transform:translate3d(0,calc((1 - var(--cin-p,0)) * 34px),0) scale(calc(.94 + var(--cin-p,0) * .06)) rotate(0);}
  .cin-section.cin-testimonials .testimonial{transform:translate3d(0,calc((1 - var(--cin-p,0)) * 34px),0) scale(calc(.95 + var(--cin-p,0) * .05)) rotate(0);}
  .cin-section.cin-journey .journey-card{transform:translate3d(0,calc((1 - var(--cin-p,0)) * 48px),0) scale(calc(.94 + var(--cin-p,0) * .06));}
  .cin-section.cin-about .about-visual,.cin-section.cin-about .about-copy{transform:translate3d(0,calc((1 - var(--cin-p,0)) * 30px),0);}
  .cin-section.cin-about .about-visual img{transform:scale(calc(1.04 - var(--cin-p,0) * .04));}
  .cin-section.cin-final .final-cta-card{transform:translate3d(0,calc((1 - var(--cin-p,0)) * 50px),0) scale(calc(.95 + var(--cin-p,0) * .05));}
  .cta-slide-track{transform:translate3d(calc(var(--cta-p,0) * -25%),0,0) scale(1.12)}
}

/* ===== V3.5.2 — MARYAM PROFILE TWO-SIDED CINEMATIC ENTRY =====
   The portrait and introduction deliberately travel toward the center from
   opposite sides as the About section reaches the viewport center. */
.cin-section.cin-about .about-visual,
.cin-section.cin-about .about-copy{
  will-change:transform,opacity,filter;
  transition:none!important;
}
.cin-section.cin-about .about-visual{
  transform:translate3d(calc((1 - var(--cin-p,0)) * -120px),calc((1 - var(--cin-p,0)) * 72px),0) scale(calc(.91 + var(--cin-p,0) * .09));
  opacity:calc(.12 + var(--cin-p,0) * .88);
  filter:none;
}
.cin-section.cin-about .about-copy{
  transform:translate3d(calc((1 - var(--cin-p,0)) * 120px),calc((1 - var(--cin-p,0)) * 72px),0) scale(calc(.95 + var(--cin-p,0) * .05));
  opacity:calc(.12 + var(--cin-p,0) * .88);
  filter:none;
}
.cin-section.cin-about .about-visual img{
  transform:scale(calc(1.10 - var(--cin-p,0) * .10));
}

@media(max-width:760px){
  /* On mobile the same story remains, but the two columns become a clean
     vertical sequence: portrait enters from the left, copy from the right. */
  .cin-section.cin-about .about-visual{
    transform:translate3d(calc((1 - var(--cin-p,0)) * -34px),calc((1 - var(--cin-p,0)) * 34px),0) scale(calc(.96 + var(--cin-p,0) * .04));
    opacity:calc(.2 + var(--cin-p,0) * .8);
    filter:none;
  }
  .cin-section.cin-about .about-copy{
    transform:translate3d(calc((1 - var(--cin-p,0)) * 34px),calc((1 - var(--cin-p,0)) * 34px),0) scale(calc(.97 + var(--cin-p,0) * .03));
    opacity:calc(.2 + var(--cin-p,0) * .8);
    filter:none;
  }
  .cin-section.cin-about .about-visual img{transform:scale(calc(1.04 - var(--cin-p,0) * .04));}
}


/* ===== Codefi.pk V3.5.2 — TRUE SCROLL-LINKED MARYAM PROFILE =====
   The profile image and information are not a one-time reveal. They physically
   travel toward the center as the visitor scrolls through the section. */
.about-grid.cinematic-profile{--profile-p:0;}
.about-grid.cinematic-profile .about-visual.reveal-left{
  opacity:1;
  transform:translate3d(calc(-120px + (120px * var(--profile-p))), calc(42px - (42px * var(--profile-p))), 0) scale(calc(.94 + (.06 * var(--profile-p))));
  filter:none;
  transition:none;
  will-change:transform,filter;
}
.about-grid.cinematic-profile .about-copy.reveal-right{
  opacity:1;
  transform:translate3d(calc(120px - (120px * var(--profile-p))), calc(42px - (42px * var(--profile-p))), 0) scale(calc(.97 + (.03 * var(--profile-p))));
  filter:none;
  transition:none;
  will-change:transform,filter;
}
.about-grid.cinematic-profile .about-visual.reveal-left.is-visible,
.about-grid.cinematic-profile .about-copy.reveal-right.is-visible{
  opacity:1;
}
@media(max-width:640px){
  .about-grid.cinematic-profile .about-visual.reveal-left{
    transform:translate3d(calc(-55px + (55px * var(--profile-p))), calc(26px - (26px * var(--profile-p))), 0) scale(calc(.96 + (.04 * var(--profile-p))));
  }
  .about-grid.cinematic-profile .about-copy.reveal-right{
    transform:translate3d(calc(55px - (55px * var(--profile-p))), calc(26px - (26px * var(--profile-p))), 0) scale(calc(.98 + (.02 * var(--profile-p))));
  }
}
@media(prefers-reduced-motion:reduce){
  .about-grid.cinematic-profile .about-visual.reveal-left,
  .about-grid.cinematic-profile .about-copy.reveal-right{
    transform:none!important;filter:none!important;transition:none!important;
  }
}

/* ===== V3.5.3 — FINAL TWO FIXES ONLY =====
   1) THE DIFFERENCE heading must settle to a strong dark tone.
   2) Maryam profile image + information must visibly travel from opposite sides
      and upward into the center as the user scrolls. */
.cin-section.cin-detail > .container > .reveal h2{
  color:#102b2c!important;
  opacity:1!important;
  filter:brightness(calc(1.25 - (var(--cin-p,0) * .25)))!important;
  text-shadow:none!important;
}
.cin-section.cin-detail > .container > .reveal h2 em{
  color:#2ca5a8!important;
  opacity:1!important;
}

/* Strong, genuinely scroll-linked two-sided profile choreography. */
.about-grid.cinematic-profile .about-visual.reveal-left{
  opacity:1!important;
  transform:translate3d(calc(-180px + (180px * var(--profile-p))), calc(72px - (72px * var(--profile-p))), 0) scale(calc(.91 + (.09 * var(--profile-p))))!important;
  filter:none!important;
  transition:none!important;
  will-change:transform,opacity,filter;
}
.about-grid.cinematic-profile .about-copy.reveal-right{
  opacity:1!important;
  transform:translate3d(calc(180px - (180px * var(--profile-p))), calc(72px - (72px * var(--profile-p))), 0) scale(calc(.94 + (.06 * var(--profile-p))))!important;
  filter:none!important;
  transition:none!important;
  will-change:transform,opacity,filter;
}
.about-grid.cinematic-profile .about-visual img{
  transform:scale(calc(1.08 - (.08 * var(--profile-p))))!important;
  transition:none!important;
}
@media(max-width:760px){
  .about-grid.cinematic-profile .about-visual.reveal-left{
    transform:translate3d(calc(-70px + (70px * var(--profile-p))), calc(40px - (40px * var(--profile-p))), 0) scale(calc(.95 + (.05 * var(--profile-p))))!important;
    filter:none!important;
  }
  .about-grid.cinematic-profile .about-copy.reveal-right{
    transform:translate3d(calc(70px - (70px * var(--profile-p))), calc(40px - (40px * var(--profile-p))), 0) scale(calc(.97 + (.03 * var(--profile-p))))!important;
    filter:none!important;
  }
  .about-grid.cinematic-profile .about-visual img{transform:scale(calc(1.04 - (.04 * var(--profile-p))))!important;}
}


/* ===== Codefi.pk V3.6.0 — PROJECTS CLARITY + PERFORMANCE/SEO SAFE PATCH =====
   Keep the approved cinematic movement, but never fade/blur project content.
   The project section is readable immediately while still moving with scroll. */
.work.cin-section .section-intro,
.work.cin-section .section-intro h2,
.work.cin-section .section-intro em,
.work.cin-section .work-project,
.work.cin-section .project-copy,
.work.cin-section .project-media,
.work.cin-section .project-media img,
.work.cin-section .project-copy h3,
.work.cin-section .project-copy p,
.work.cin-section .project-points,
.work.cin-section .project-points li{
  opacity:1!important;
  filter:none!important;
  visibility:visible!important;
}

/* Scroll-linked movement remains; only the fade is removed. */
.work-project.scroll-scene .project-copy{
  opacity:1!important;
}
.work-project.scroll-scene .project-media{
  opacity:1!important;
}
.work-project.scroll-scene .project-media img{
  opacity:1!important;
  filter:none!important;
}

/* The selected-work heading is always crisp; it does not wait for a reveal. */
.work .section-intro.reveal,
.work .section-intro.reveal.is-visible{
  opacity:1!important;
  filter:none!important;
  transform:none!important;
}

/* Avoid a darkened/softened project surface during choreography. */
.work-project.scroll-scene .project-media{will-change:transform}
.work-project.scroll-scene .project-copy{will-change:transform}

@media(max-width:760px){
  .work.cin-section .section-intro,
  .work.cin-section .section-intro h2,
  .work.cin-section .work-project,
  .work.cin-section .project-copy,
  .work.cin-section .project-media,
  .work.cin-section .project-media img{opacity:1!important;filter:none!important}
}


/* ===== Codefi.pk V3.6 — Okasha-inspired navigation + on-demand consultation ===== */
.header-inner{gap:22px}
.header-cta{cursor:pointer;appearance:none;font-family:inherit}
.direction-grid{position:relative;overflow:visible}
.direction-grid:before{content:"";position:absolute;left:8%;right:8%;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--mint),var(--teal),var(--mint),transparent);z-index:0}
.direction-grid .tool-card{position:relative;z-index:1;background:var(--white)}
.tool-icon{width:52px;height:52px;border:1px solid rgba(112,216,192,.65);border-radius:50%;display:grid;place-items:center;margin-bottom:15px;background:var(--white);box-shadow:0 10px 25px rgba(16,43,44,.07)}
.tool-icon svg{width:28px;height:28px;fill:none;stroke:var(--teal);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tool-card h3{margin-top:10px}
.consult-modal{position:fixed;inset:0;z-index:5000;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,16,24,.72)}
.consult-modal.is-open{display:flex}
.consult-panel{position:relative;width:min(820px,94vw);max-height:92vh;overflow:auto;background:var(--white);color:var(--ink);border-radius:28px;box-shadow:0 30px 100px rgba(0,16,24,.35);padding:34px}
.consult-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--ink);font-size:20px;line-height:1}
.consult-kicker{margin:0 0 8px;color:var(--teal);font-size:10px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
.consult-panel h2{font-size:clamp(36px,5vw,58px);margin-bottom:8px}
.consult-intro{color:var(--muted);max-width:650px;margin-bottom:24px}
.consult-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.consult-field{display:grid;gap:7px}
.consult-field.full{grid-column:1/-1}
.consult-field label{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.consult-field input,.consult-field textarea,.consult-field select{width:100%;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);padding:12px 13px;font:inherit;font-size:13px;outline:none}
.consult-field textarea{min-height:110px;resize:vertical}
.consult-field input:focus,.consult-field textarea:focus,.consult-field select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(44,165,168,.10)}
.consult-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:6px}
.consult-submit{border:0;background:var(--ink);color:#fff;border-radius:999px;padding:13px 20px;font-weight:800;font-size:12px;min-height:46px}
.consult-status{font-size:11px;color:var(--muted);min-height:18px}
.consult-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
body.consult-lock{overflow:hidden}
@media(max-width:900px){.nav{display:flex}.direction-grid:before{left:5%;right:5%}}
@media(max-width:640px){
 .header-inner{gap:10px}.nav{gap:12px}.nav a{font-size:10px}.header-cta{padding:9px 11px;font-size:9px}
 .direction-grid:before{display:none}.tool-card{border-right:0!important}.tool-icon{width:46px;height:46px}
 .consult-modal{padding:10px}.consult-panel{width:100%;max-height:94vh;border-radius:22px;padding:24px 18px 20px}.consult-form{grid-template-columns:1fr}.consult-field.full{grid-column:auto}.consult-actions{grid-column:auto;flex-direction:column;align-items:stretch}.consult-submit{width:100%}
}


/* V3.6.0 — compact page rhythm + responsive connected navigation */
.section{padding:92px 0}
.work-project{padding:84px 0}
.mobile-nav{display:none}
@media(max-width:900px){
  .nav{display:flex!important;gap:14px}
  .header-cta{display:inline-flex!important;white-space:nowrap}
  .mobile-nav{display:none!important}
}
@media(max-width:640px){
  .header-inner{min-height:64px}
  .nav{gap:10px;overflow:hidden}
  .nav a{font-size:9px;white-space:nowrap}
  .header-cta{font-size:8px;padding:8px 9px}
  .section{padding:70px 0}
  .work-project{padding:65px 0}
}
@media(max-width:480px){
  .nav{display:none!important}
  .mobile-nav{display:grid!important;grid-template-columns:repeat(3,1fr);gap:0;border-top:1px solid var(--line);padding:8px 5vw}
  .mobile-nav a{text-align:center;font-size:10px;font-weight:700;padding:7px 3px}
}


/* ===== CODIFY refresh — premium header, brand mark and navigation ===== */
.codify-brand{gap:12px;min-width:245px}
.codify-mark{width:42px;height:42px;border:0!important;border-radius:14px!important;background:linear-gradient(145deg,#0b2526,#1e4b4d);box-shadow:0 10px 24px rgba(0,16,24,.18),inset 0 0 0 1px rgba(112,216,192,.28);color:#70D8C0;position:relative;overflow:hidden}
.codify-mark:before{content:"";position:absolute;inset:1px;border-radius:13px;background:radial-gradient(circle at 70% 20%,rgba(112,216,192,.22),transparent 45%);pointer-events:none}
.codify-mark svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;position:relative;z-index:1}
.codify-brand .brand-name{font-size:16px;letter-spacing:.16em;font-weight:900}
.codify-brand .brand-sub{font-size:8px;letter-spacing:.18em}
.site-header .nav{gap:18px}
.site-header .nav a{font-size:10px;letter-spacing:.045em}
.header-cta.calendly-trigger{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.header-cta.calendly-trigger span{font-size:13px;line-height:1}
.hero .hero-actions .calendly-trigger{font-weight:800;letter-spacing:.03em}
.calendly-trigger{cursor:pointer}
.mobile-toggle{display:none;border:0;background:transparent;color:inherit;font-size:22px;padding:8px}
.mobile-nav{display:none}
@media(max-width:1050px){.site-header .nav{gap:11px}.site-header .nav a{font-size:9px}.codify-brand{min-width:210px}}
@media(max-width:860px){
  .site-header .nav{display:none!important}.header-cta.calendly-trigger{display:inline-flex!important}.mobile-toggle{display:block}
  .mobile-nav{position:absolute;left:0;right:0;top:100%;display:none;flex-direction:column;gap:0;background:rgba(7,19,21,.97);border-top:1px solid rgba(255,255,255,.10);padding:10px 18px 16px;box-shadow:0 18px 35px rgba(0,0,0,.16)}
  .mobile-nav.is-open{display:flex}.mobile-nav a{padding:12px 4px;color:#fff!important;text-decoration:none;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid rgba(255,255,255,.08)}
}
@media(max-width:520px){.codify-brand{gap:8px;min-width:0}.codify-mark{width:37px;height:37px;border-radius:12px!important}.codify-mark svg{width:25px;height:25px}.codify-brand .brand-name{font-size:13px}.header-cta.calendly-trigger{font-size:8px;padding:9px 10px}.mobile-toggle{font-size:20px;padding:5px}}

/* ===== Codefi — Sir's final refinement pass ===== */
.codify-brand{min-width:220px;gap:11px}
.codify-mark{width:48px!important;height:48px!important;border-radius:15px!important;background:linear-gradient(145deg,#07191b,#1e4d4e)!important;box-shadow:0 12px 30px rgba(0,16,24,.28),inset 0 0 0 1px rgba(112,216,192,.42),inset 0 1px 0 rgba(255,255,255,.08)!important}
.codify-mark svg{width:31px!important;height:31px!important;stroke-width:2.9!important}
.codify-brand .brand-name{font-size:19px!important;letter-spacing:.13em!important;font-weight:900!important;color:#f7f7f2!important}
.hero-actions .btn{min-width:190px;justify-content:center}
.hero-copy .hero-body{max-width:690px}
@media(max-width:1100px){
  .site-header .nav{gap:10px}
  .site-header .nav a{font-size:8px;letter-spacing:.08em}
  .codify-brand{min-width:185px}
  .codify-brand .brand-name{font-size:16px!important}
  .codify-mark{width:43px!important;height:43px!important}
}
@media(max-width:900px){
  .codify-brand{min-width:0}
  .hero-grid{grid-template-columns:1fr!important}
  .hero-copy{order:1}.hero-visual{order:2}
  .hero-actions{width:100%;display:flex;justify-content:flex-start}
  .hero-actions .btn{width:min(100%,260px)}
}
@media(max-width:520px){
  .codify-mark{width:39px!important;height:39px!important;border-radius:12px!important}
  .codify-mark svg{width:25px!important;height:25px!important}
  .codify-brand .brand-name{font-size:14px!important;letter-spacing:.11em!important}
  .hero-copy h1{font-size:clamp(44px,15vw,70px)!important;line-height:.98}
  .hero-copy .hero-body{font-size:15px;line-height:1.7}
  .platforms{flex-wrap:wrap;gap:7px 10px}
  .hero-actions .btn{width:100%;min-width:0}
}
\n\n/* ===== V3.6.2 — Final Codify polish: premium logo, responsive text navigation, draggable Calendly ===== */\n.site-header{background:rgba(7,19,21,.90)!important;border-bottom:1px solid rgba(112,216,192,.16)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}\n.header-inner{min-height:82px;gap:28px}\n.codify-brand{min-width:190px;gap:12px;color:#fff!important}\n.codify-mark{width:46px;height:46px;border:1px solid rgba(112,216,192,.48)!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(112,216,192,.14),rgba(255,255,255,.04));box-shadow:0 10px 30px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.05);transition:transform .3s var(--ease),box-shadow .3s var(--ease)}\n.codify-mark svg{width:34px;height:34px;overflow:visible}\n.codify-mark .logo-ring,.codify-mark .logo-c,.codify-mark .logo-inner{fill:none;stroke:#70d8c0;stroke-width:2.2;stroke-linecap:round}\n.codify-mark .logo-inner{stroke:#fff;stroke-width:1.8}\n.codify-mark .logo-dot{fill:#c8a66b}\n.codify-brand:hover .codify-mark{transform:translateY(-2px) rotate(-2deg);box-shadow:0 16px 38px rgba(0,0,0,.28),0 0 26px rgba(112,216,192,.12)}\n.brand-name{font-family:"Playfair Display",Georgia,serif!important;font-size:25px!important;letter-spacing:-.035em!important;font-weight:600!important;color:#fff!important}\n.nav{gap:30px!important}\n.nav a{color:#f5faf8!important;font-size:12px!important;font-weight:700!important;letter-spacing:.04em;text-transform:uppercase;position:relative;padding:8px 2px}\n.nav a:after{content:"";position:absolute;left:0;right:100%;bottom:1px;height:1px;background:var(--mint);transition:right .3s var(--ease)}\n.nav a:hover:after,.nav a:focus-visible:after{right:0}\n.header-cta{border:1px solid rgba(112,216,192,.5)!important;background:linear-gradient(135deg,#70d8c0,#2ca5a8)!important;color:#061617!important;box-shadow:0 12px 28px rgba(44,165,168,.18);padding:12px 18px!important}\n.header-cta:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(44,165,168,.25)}\n.mobile-toggle,.mobile-nav{display:none!important}\n.hero{padding-top:60px}\n.hero h1{max-width:760px}\n.hero-actions .btn{box-shadow:0 14px 35px rgba(0,0,0,.22)}\n.hero-actions .btn-dark{background:linear-gradient(135deg,#70d8c0,#2ca5a8);color:#061617}\n.hero .hero-body{max-width:590px}\n.statement-lead{max-width:650px}\n.journey-card h2{font-size:clamp(38px,5vw,66px)}\n.about-copy h2{font-size:clamp(42px,5.5vw,72px)}\n\n/* Draggable Calendly modal */\nbody.codify-modal-open{overflow:hidden}\n.codify-calendly-modal{position:fixed;inset:0;z-index:5000;display:none;align-items:center;justify-content:center}\n.codify-calendly-modal.is-open{display:flex}\n.codify-calendly-backdrop{position:absolute;inset:0;background:rgba(0,16,24,.72);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}\n.codify-calendly-window{position:absolute;left:50%;top:50%;width:min(920px,calc(100vw - 40px));height:min(780px,calc(100vh - 40px));transform:translate(-50%,-50%);background:#fff;border:1px solid rgba(112,216,192,.35);border-radius:24px;overflow:hidden;box-shadow:0 35px 100px rgba(0,0,0,.42);z-index:2}\n.codify-calendly-window.is-dragging{cursor:grabbing;box-shadow:0 45px 120px rgba(0,0,0,.52)}\n.codify-calendly-bar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px 15px 24px;background:linear-gradient(135deg,#071315,#123234);color:#fff;cursor:grab;user-select:none;touch-action:none}\n.codify-calendly-bar:active{cursor:grabbing}\n.codify-calendly-bar>div{display:grid;gap:4px}\n.codify-calendly-kicker{font-size:9px;font-weight:800;letter-spacing:.18em;color:#70d8c0}\n.codify-calendly-bar strong{font:600 clamp(18px,2.2vw,27px)/1.08 "Playfair Display",Georgia,serif}\n.codify-calendly-close{width:42px;height:42px;flex:0 0 42px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:28px;line-height:1}\n.codify-calendly-close:hover{background:rgba(112,216,192,.16);border-color:rgba(112,216,192,.5)}\n.codify-calendly-window .calendly-inline-widget{width:100%;height:calc(100% - 86px)!important;background:#fff}\n\n@media(max-width:900px){\n  .header-inner{min-height:76px;gap:14px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}\n  .codify-brand{min-width:0;flex:0 0 auto}\n  .nav{order:3;flex:1 1 100%;justify-content:flex-start;gap:24px!important;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:2px 2px 5px}\n  .nav::-webkit-scrollbar{display:none}\n  .nav a{font-size:10px!important;white-space:nowrap}\n  .header-cta{margin-left:auto;font-size:10px;padding:10px 14px!important;white-space:nowrap}\n  .hero{min-height:auto;padding-top:54px}\n}\n@media(max-width:640px){\n  .header-inner{gap:8px}\n  .codify-mark{width:40px;height:40px;border-radius:12px!important}\n  .codify-mark svg{width:29px;height:29px}\n  .brand-name{font-size:21px!important}\n  .header-cta{font-size:9px!important;padding:9px 11px!important}\n  .nav{gap:18px!important}\n  .nav a{font-size:9px!important;letter-spacing:.08em}\n  .hero{padding-top:44px}\n  .hero h1{font-size:clamp(42px,13vw,64px)}\n  .codify-calendly-window{left:12px;top:12px;width:calc(100vw - 24px);height:calc(100vh - 24px);transform:none;border-radius:20px}\n  .codify-calendly-bar{height:76px;padding:12px 12px 12px 17px}\n  .codify-calendly-window .calendly-inline-widget{height:calc(100% - 76px)!important}\n  .codify-calendly-bar strong{font-size:18px}\n  .codify-calendly-close{width:38px;height:38px;flex-basis:38px;font-size:24px}\n}\n

/* ===== V3.6.2 + V3.6.8 HERO HEADER ONLY ===== */
.codify-v368-header{
  background:rgba(7,19,21,.90)!important;
  border-bottom:1px solid rgba(112,216,192,.16)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
  position:sticky!important;top:0!important;z-index:10000!important;
}
.codify-v368-header .header-inner{min-height:82px!important;display:flex!important;align-items:center!important;gap:22px!important;flex-wrap:nowrap!important}
.codify-v368-header .codify-brand{min-width:190px!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;gap:12px!important;color:#fff!important}
.codify-logo-mark{width:48px!important;height:48px!important;display:grid!important;place-items:center!important;border:1px solid rgba(112,216,192,.48)!important;border-radius:15px!important;background:linear-gradient(145deg,#07191b,#1e4d4e)!important;box-shadow:0 12px 30px rgba(0,0,0,.28),inset 0 0 0 1px rgba(112,216,192,.22),inset 0 1px 0 rgba(255,255,255,.08)!important;color:#70d8c0!important;overflow:hidden!important;position:relative!important;transition:transform .3s ease,box-shadow .3s ease!important}
.codify-logo-mark:before{content:"";position:absolute;inset:1px;border-radius:14px;background:radial-gradient(circle at 72% 18%,rgba(112,216,192,.24),transparent 46%);pointer-events:none}
.codify-logo-mark svg{width:32px!important;height:32px!important;fill:none!important;stroke-linecap:round!important;stroke-linejoin:round!important;position:relative;z-index:1}
.codify-logo-mark .logo-ring{stroke:rgba(112,216,192,.34);stroke-width:1.5}
.codify-logo-mark .logo-c{stroke:#70d8c0;stroke-width:3}
.codify-logo-mark .logo-cut{stroke:#f7f7f2;stroke-width:2.5}
.codify-logo-mark .logo-dot{fill:#c8a66b;stroke:none}
.codify-v368-header .codify-brand:hover .codify-logo-mark{transform:translateY(-2px) rotate(-2deg);box-shadow:0 16px 38px rgba(0,0,0,.32),0 0 26px rgba(112,216,192,.14)}
.codify-v368-header .brand-name{font-family:"Playfair Display",Georgia,serif!important;font-size:24px!important;letter-spacing:-.02em!important;font-weight:600!important;color:#f7f7f2!important;line-height:1!important}
.codify-v368-header .nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(14px,2.1vw,30px)!important;flex:1 1 auto!important;min-width:0!important;overflow:visible!important}
.codify-v368-header .nav a{display:inline-flex!important;align-items:center!important;color:#f5faf8!important;font-size:11px!important;font-weight:700!important;letter-spacing:.045em!important;text-transform:uppercase!important;white-space:nowrap!important;position:relative!important;padding:8px 2px!important}
.codify-v368-header .nav a:after{content:"";position:absolute;left:0;right:100%;bottom:1px;height:1px;background:#70d8c0;transition:right .3s ease}
.codify-v368-header .nav a:hover:after,.codify-v368-header .nav a:focus-visible:after{right:0}
.codify-v368-header .header-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:0 0 auto!important;border:1px solid rgba(112,216,192,.55)!important;background:linear-gradient(135deg,#70d8c0,#2ca5a8)!important;color:#061617!important;box-shadow:0 12px 28px rgba(44,165,168,.18)!important;padding:12px 18px!important;border-radius:999px!important;font-size:10px!important;font-weight:800!important;white-space:nowrap!important;cursor:pointer!important}
.codify-v368-header .header-cta:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(44,165,168,.25)!important}
@media(max-width:980px){
  .codify-v368-header .header-inner{gap:12px!important}
  .codify-v368-header .codify-brand{min-width:165px!important}
  .codify-v368-header .brand-name{font-size:20px!important}
  .codify-logo-mark{width:43px!important;height:43px!important;border-radius:13px!important}
  .codify-logo-mark svg{width:29px!important;height:29px!important}
  .codify-v368-header .nav{gap:clamp(9px,1.5vw,18px)!important;overflow-x:auto!important;scrollbar-width:none!important}
  .codify-v368-header .nav::-webkit-scrollbar{display:none}
  .codify-v368-header .nav a{font-size:9px!important;letter-spacing:.035em!important}
  .codify-v368-header .header-cta{font-size:9px!important;padding:10px 13px!important}
}
@media(max-width:680px){
  .codify-v368-header .header-inner{min-height:72px!important;gap:8px!important;padding-top:8px!important;padding-bottom:8px!important}
  .codify-v368-header .codify-brand{min-width:0!important;gap:8px!important}
  .codify-logo-mark{width:39px!important;height:39px!important;border-radius:12px!important}
  .codify-logo-mark svg{width:26px!important;height:26px!important}
  .codify-v368-header .brand-name{font-size:18px!important}
  .codify-v368-header .nav{order:3!important;flex:1 1 100%!important;justify-content:flex-start!important;gap:18px!important;padding:2px 1px 5px!important}
  .codify-v368-header .nav a{font-size:8px!important;letter-spacing:.065em!important}
  .codify-v368-header .header-cta{font-size:8px!important;padding:9px 10px!important}
}


/* ===== V3.6.2 FINAL REVISION — HEADER REFERENCE + DIRECT CALENDLY ===== */
.codify-reference-header{
  position:sticky!important;top:0!important;z-index:10000!important;
  background:rgba(3,12,15,.96)!important;
  border-bottom:1px solid rgba(112,216,192,.12)!important;
  box-shadow:0 10px 30px rgba(0,0,0,.12)!important;
  backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;
}
.codify-reference-header .header-inner{
  width:min(1220px,94vw)!important;min-height:92px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:28px!important;flex-wrap:nowrap!important;
}
.codify-reference-header .codify-brand{min-width:215px!important;display:flex!important;align-items:center!important;gap:12px!important;color:#f7f7f2!important;text-decoration:none!important}
.codify-reference-header .codify-logo-mark{
  width:48px!important;height:48px!important;flex:0 0 48px!important;display:grid!important;place-items:center!important;
  border:1px solid rgba(112,216,192,.48)!important;border-radius:15px!important;
  background:linear-gradient(145deg,#07191b,#173b3d)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.34),inset 0 0 0 1px rgba(255,255,255,.05)!important;
}
.codify-reference-header .codify-logo-mark svg{width:34px!important;height:34px!important}
.codify-reference-header .codify-logo-mark .logo-ring{stroke:rgba(112,216,192,.32)!important;stroke-width:1.4!important;fill:none!important}
.codify-reference-header .codify-logo-mark .logo-c{stroke:#70d8c0!important;stroke-width:3!important;fill:none!important}
.codify-reference-header .codify-logo-mark .logo-cut{stroke:#f7f7f2!important;stroke-width:2.5!important;fill:none!important}
.codify-reference-header .codify-logo-mark .logo-dot{fill:#c8a66b!important}
.codify-reference-header .brand-name{
  font-family:"Playfair Display",Georgia,serif!important;font-size:27px!important;font-weight:600!important;
  letter-spacing:-.035em!important;color:#f1e6d5!important;text-transform:none!important;
}
.codify-reference-header .nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:34px!important;flex:1 1 auto!important}
.codify-reference-header .nav a{
  color:#e9e8df!important;font-size:12px!important;font-weight:700!important;letter-spacing:.045em!important;
  text-transform:uppercase!important;text-decoration:none!important;white-space:nowrap!important;padding:9px 0!important;
}
.codify-reference-header .nav a:after{background:#70d8c0!important}
.codify-reference-header .header-cta{
  flex:0 0 auto!important;min-height:54px!important;padding:10px 20px!important;border-radius:15px!important;
  border:1px solid rgba(112,216,192,.42)!important;background:linear-gradient(135deg,#78dfc4,#69cdb7)!important;
  color:#092021!important;box-shadow:0 12px 30px rgba(44,165,168,.16)!important;font-size:13px!important;
  font-weight:800!important;line-height:1.05!important;text-align:left!important;cursor:pointer!important;
}
.codify-reference-header .header-cta span{font-size:16px!important}
.codify-reference-header .header-cta:hover{transform:translateY(-2px)!important;box-shadow:0 18px 38px rgba(44,165,168,.25)!important}
.codify-reference-header .mobile-menu-toggle{display:none!important}
.codify-reference-header .mobile-nav{display:none!important}

/* Keep the hero visually connected to the reference header. */
.codify-reference-header + #home .hero{padding-top:54px!important;background:linear-gradient(180deg,#071417 0%,#102728 100%)!important}
.codify-reference-header + #home .hero-copy{padding-top:18px!important}
.codify-reference-header + #home .hero .eyebrow{display:inline-flex!important;align-items:center!important;gap:8px!important;padding:7px 12px!important;border:1px solid rgba(112,216,192,.22)!important;border-radius:999px!important;background:rgba(112,216,192,.06)!important}
.codify-reference-header + #home .hero .eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#70d8c0;box-shadow:0 0 12px rgba(112,216,192,.65)}

/* Expertise: concise but explicit about the services clients can hire. */
#expertise .tool-card p{max-width:290px!important;line-height:1.7!important}
#expertise .tool-card{min-height:280px!important}

/* Strategic Call is an external Calendly page, never an embedded/footer form. */
.calendly-trigger{text-decoration:none!important}
.one-on-one-popup{display:none!important}
.codify-calendly-modal{display:none!important}

@media(max-width:1050px){
  .codify-reference-header .header-inner{width:min(96vw,100%)!important;gap:18px!important}
  .codify-reference-header .codify-brand{min-width:170px!important}
  .codify-reference-header .nav{gap:20px!important}
  .codify-reference-header .nav a{font-size:10px!important}
  .codify-reference-header .header-cta{padding:9px 14px!important;font-size:11px!important}
}
@media(max-width:860px){
  .codify-reference-header .header-inner{min-height:76px!important;gap:12px!important}
  .codify-reference-header .nav{display:none!important}
  .codify-reference-header .header-cta{margin-left:auto!important;min-height:46px!important;padding:9px 13px!important;font-size:10px!important}
  .codify-reference-header .mobile-menu-toggle{
    display:inline-grid!important;place-items:center!important;width:42px!important;height:42px!important;
    border:1px solid rgba(112,216,192,.25)!important;border-radius:12px!important;background:rgba(112,216,192,.06)!important;
    color:#f7f7f2!important;font-size:20px!important;line-height:1!important;
  }
  .codify-reference-header .mobile-nav{
    position:absolute!important;left:0!important;right:0!important;top:100%!important;display:none!important;
    flex-direction:column!important;gap:0!important;padding:8px 6vw 14px!important;
    background:rgba(3,12,15,.98)!important;border-top:1px solid rgba(112,216,192,.12)!important;
    box-shadow:0 18px 40px rgba(0,0,0,.28)!important;
  }
  .codify-reference-header .mobile-nav.is-open{display:flex!important}
  .codify-reference-header .mobile-nav a{color:#f7f7f2!important;padding:14px 0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;text-decoration:none!important}
}
@media(max-width:520px){
  .codify-reference-header .header-inner{min-height:70px!important}
  .codify-reference-header .codify-logo-mark{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:12px!important}
  .codify-reference-header .codify-logo-mark svg{width:28px!important;height:28px!important}
  .codify-reference-header .brand-name{font-size:22px!important}
  .codify-reference-header .header-cta{min-height:42px!important;padding:8px 10px!important;font-size:9px!important;border-radius:12px!important}
  .codify-reference-header .header-cta span{font-size:13px!important}
  .codify-reference-header .mobile-menu-toggle{width:40px!important;height:40px!important}
  .codify-reference-header + #home .hero{padding-top:38px!important}
}


/* ===== Codify V3.6.2 — requested quick-link popups + consultation ===== */
.codify-info-modal,.codify-consult-modal{position:fixed;inset:0;z-index:6000;display:none;align-items:center;justify-content:center}
.codify-info-modal.is-open,.codify-consult-modal.is-open{display:flex}
.codify-info-backdrop,.codify-consult-backdrop{position:absolute;inset:0;background:rgba(0,16,24,.74);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.codify-info-window{position:relative;z-index:2;width:min(560px,calc(100vw - 32px));padding:42px 42px 36px;border:1px solid rgba(112,216,192,.28);border-radius:26px;background:linear-gradient(145deg,#0a1719,#102c2d);color:#f7f7f2;box-shadow:0 35px 100px rgba(0,0,0,.48);animation:codifyPopupIn .32s cubic-bezier(.2,.8,.2,1)}
.codify-info-kicker{display:block;color:#70d8c0;font:800 10px/1 "DM Sans",Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;margin-bottom:12px}
.codify-info-window h2{margin:0 0 13px;font:600 clamp(28px,4vw,44px)/1.05 "Playfair Display",Georgia,serif;color:#f7f7f2}
.codify-info-window p{margin:0;max-width:470px;color:#b9cbc7;font:400 14px/1.75 "DM Sans",Arial,sans-serif}
.codify-info-go{display:inline-flex;align-items:center;gap:10px;margin-top:25px;padding:12px 18px;border-radius:999px;background:linear-gradient(135deg,#70d8c0,#2ca5a8);color:#061617!important;text-decoration:none!important;font:800 11px/1 "DM Sans",Arial,sans-serif;letter-spacing:.04em;box-shadow:0 12px 30px rgba(44,165,168,.2)}
.codify-info-go:hover{transform:translateY(-2px)}
.codify-info-close{position:absolute;right:18px;top:18px;width:38px;height:38px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(255,255,255,.06);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.codify-info-close:hover{background:rgba(112,216,192,.14);border-color:rgba(112,216,192,.45)}
.codify-consult-window{position:relative;z-index:2;width:min(760px,calc(100vw - 30px));max-height:calc(100vh - 30px);overflow:auto;border:1px solid rgba(112,216,192,.25);border-radius:24px;background:#f7f7f2;color:#102020;box-shadow:0 35px 100px rgba(0,0,0,.48);animation:codifyPopupIn .32s cubic-bezier(.2,.8,.2,1)}
.codify-consult-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;background:linear-gradient(135deg,#071315,#123234);color:#fff}
.codify-consult-head div{display:grid;gap:5px}.codify-consult-head span{font:800 9px/1 "DM Sans",Arial,sans-serif;letter-spacing:.18em;color:#70d8c0}.codify-consult-head strong{font:600 27px/1.1 "Playfair Display",Georgia,serif}
.codify-consult-close{width:40px;height:40px;border:1px solid rgba(255,255,255,.22);border-radius:50%;background:rgba(255,255,255,.07);color:#fff;font-size:25px;line-height:1;cursor:pointer}
.codify-consult-form{padding:26px 28px 30px}.codify-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.codify-consult-form label{display:grid;gap:7px;margin:0 0 16px;color:#203331;font:700 10px/1.2 "DM Sans",Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.codify-consult-form input,.codify-consult-form textarea{width:100%;box-sizing:border-box;border:1px solid #d2ddd9;border-radius:12px;background:#fff;color:#122322;padding:12px 13px;font:400 13px/1.4 "DM Sans",Arial,sans-serif;outline:none}
.codify-consult-form input:focus,.codify-consult-form textarea:focus{border-color:#70d8c0;box-shadow:0 0 0 3px rgba(112,216,192,.12)}
.codify-consult-submit{border:0;border-radius:999px;padding:14px 20px;background:linear-gradient(135deg,#70d8c0,#2ca5a8);color:#061617;font:800 11px/1 "DM Sans",Arial,sans-serif;cursor:pointer;box-shadow:0 12px 30px rgba(44,165,168,.18)}
.codify-consult-submit:hover{transform:translateY(-2px)}.codify-consult-status{min-height:18px;margin:14px 0 0;font:600 12px/1.5 "DM Sans",Arial,sans-serif}.codify-consult-status.is-success{color:#16725f}.codify-consult-status.is-error{color:#9d3939}.codify-consult-status.is-sending{color:#4e6c67}
.footer-consultation-trigger{display:inline-flex;align-items:center;gap:8px;margin-top:8px;padding:10px 14px;border:1px solid rgba(112,216,192,.35);border-radius:999px;background:rgba(112,216,192,.08);color:#70d8c0;font:800 10px/1 "DM Sans",Arial,sans-serif;cursor:pointer;transition:transform .3s ease,background .3s ease,border-color .3s ease}.footer-consultation-trigger:hover{transform:translateY(-2px);background:rgba(112,216,192,.14);border-color:rgba(112,216,192,.55)}
@keyframes codifyPopupIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:640px){.codify-info-window{padding:36px 24px 28px}.codify-form-grid{grid-template-columns:1fr}.codify-consult-head{padding:20px}.codify-consult-form{padding:22px 20px 24px}.codify-consult-head strong{font-size:22px}.footer-consultation-trigger{font-size:9px}.codify-info-window p{font-size:13px;line-height:1.7}}
@media(prefers-reduced-motion:reduce){.codify-info-window,.codify-consult-window{animation:none!important}.codify-info-go,.codify-consult-submit,.footer-consultation-trigger{transition:none!important}}
