/* A.F. Projects V12 — typography-led, readable motion system. */
:root{
  --ink:#202024; --paper:#ffffff; --soft:#f7f7f8; --line:#e8e7e8;
  --muted:#626068; --violet:#7954bb; --lavender:#f2eafa; --dark:#181521;
  --acid:#cafaaf; --type:'DM Sans','Inter','Helvetica Neue',Arial,sans-serif;
  --type-italic:'Instrument Sans','DM Sans','Inter','Helvetica Neue',Arial,sans-serif;
}
html{scroll-padding-top:86px}
body,button,input,select,textarea{font-family:var(--type)!important}
body{font-size:16px;font-weight:400;line-height:1.62;color:var(--ink);letter-spacing:normal}
p,li,label,summary{letter-spacing:0!important;line-height:1.62}
p{font-weight:400}
/* Less compressed, with enough space between letters and baselines. */
h1,h2,h3,h4,h5,.brand{font-family:var(--type)!important;text-wrap:balance}
h1{font-weight:700!important;letter-spacing:-.047em!important;line-height:1.04!important}
h2{font-weight:650!important;letter-spacing:-.04em!important;line-height:1.1!important}
h3{font-weight:600!important;letter-spacing:-.024em!important;line-height:1.19!important}
h4{font-weight:600!important;letter-spacing:-.018em!important;line-height:1.25!important}
strong,b{font-weight:650}
em,.ai-page-hero h1 em,.motion-ai h2 em,.motion-contact h2 em,.process-copy h2 em,.ai-spotlight h2 em{
  font-family:var(--type-italic)!important;font-style:italic;font-weight:500!important;letter-spacing:-.025em!important;
}
a,button{font-weight:500}
.shell,.shell-wide{max-width:1400px}
.shell{width:min(1320px,calc(100% - 96px))}
.shell-wide{width:min(1390px,calc(100% - 96px))}
/* Navigation: a quiet, well-spaced capsule. */
.motion-header .brand,.brand{font-weight:700!important;letter-spacing:-.057em!important}
.motion-header .header-contact,.header-contact{font-weight:600!important;letter-spacing:0!important}
.motion-header .mobile-nav a{font-weight:500!important;line-height:1.4}
.motion-header .language,.language{font-weight:600!important}
.btn{font-weight:600!important;letter-spacing:0!important;line-height:1.35;min-height:49px;gap:24px}
.btn span{font-weight:500}
.btn:hover{transform:translateY(-1px)}
:where(.btn,.motion-inline-link,.service-detail summary,.category-tab,.main-tab):focus-visible{outline:3px solid #8366c8;outline-offset:4px}
/* Home: preserve the kinetic visual composition without hard-to-read type. */
.motion-hero h1{font-weight:700!important;letter-spacing:-.057em!important;line-height:.91!important;font-size:clamp(102px,18vw,275px)}
.motion-hero-center p{font-weight:450!important;letter-spacing:-.015em!important;line-height:1.45;font-size:clamp(18px,1.65vw,23px)}
.motion-hero-link,.motion-scroll-hint{font-weight:550!important;letter-spacing:0!important}
.manifesto-main{font-size:clamp(50px,6.3vw,92px);font-weight:600!important;letter-spacing:-.045em!important;line-height:1.15!important}
.manifesto-sub{font-size:clamp(22px,2.15vw,32px);font-weight:500!important;letter-spacing:-.025em!important;line-height:1.35!important}
.motion-section-heading h2{font-weight:650!important;font-size:clamp(52px,6.4vw,92px);letter-spacing:-.044em!important;line-height:1.09!important}
.motion-section-heading p{font-size:19px;line-height:1.6;font-weight:400!important;color:var(--muted)}
.motion-service-info h3{font-weight:600!important;letter-spacing:-.025em!important;line-height:1.2!important}
.motion-service-info p{font-weight:400!important;line-height:1.55}
.motion-services{padding-block:115px 125px}
.motion-method .method-copy h2{font-weight:650!important;letter-spacing:-.045em!important;line-height:1.1!important}
.motion-method .method-copy p{font-size:19px;line-height:1.62;font-weight:400}
.method-steps{font-weight:500!important}
.motion-about h2,.motion-portfolio h2,.motion-ai h2,.motion-reviews h2,.motion-pricing h2,.motion-contact h2{
  font-weight:650!important;letter-spacing:-.047em!important;line-height:1.09!important;
}
.motion-about p,.motion-portfolio-header p,.motion-pricing p,.motion-contact-copy p,.motion-ai p{
  font-weight:400!important;letter-spacing:0!important;line-height:1.57;font-size:clamp(18px,1.5vw,21px);
}
.motion-project-grid .project-info h3{font-weight:600!important;letter-spacing:-.025em!important}
.motion-reviews .review p{font-weight:400!important;letter-spacing:0!important;line-height:1.6;font-size:18px}
.motion-contact-links{font-weight:600!important}
/* Cross-page treatment: large editorial heroes, one grounded visual on services. */
body:not(.home) main{padding-top:78px}
body:not(.home) .studio-page-hero{
  display:grid;grid-template-columns:minmax(0,1.16fr) minmax(300px,.84fr);align-items:center;
  min-height:665px;gap:7%;width:min(1320px,calc(100% - 96px));
  margin:0 auto;padding:80px 0 90px;position:relative;background:none!important;overflow:visible;border-bottom:0;
}
body:not(.home) .studio-page-hero::after{display:none}
body:not(.home) .studio-page-hero::before{content:"";pointer-events:none;position:absolute;left:calc((100vw - 100%)/-2);right:calc((100vw - 100%)/-2);top:0;bottom:0;z-index:-1;background:radial-gradient(circle at 84% 38%,#f4effa 0%,#fff 48%,#fff 100%);border-bottom:1px solid var(--line)}
.studio-hero-copy{position:relative;z-index:2;min-width:0}
body:not(.home) .studio-page-hero h1{
  font-size:clamp(54px,6.1vw,92px)!important;line-height:1.08!important;
  letter-spacing:-.047em!important;max-width:780px;margin:22px 0 37px;
}
.studio-page-hero .breadcrumb{font-size:14px;color:#696372;margin-bottom:30px;font-weight:500!important}
.studio-page-hero .interior-hero-bottom{display:flex;align-items:flex-start;flex-wrap:wrap;gap:27px}
.studio-page-hero .interior-hero-bottom>p{flex:1 1 330px;max-width:520px;font-size:18px;line-height:1.6;color:var(--muted)}
.studio-page-hero .interior-hero-bottom .btn{flex:0 0 auto}
.studio-hero-visual{min-height:465px;position:relative;display:grid;place-items:center;isolation:isolate}
.studio-hero-visual::before{content:"";position:absolute;inset:12% 2% 9% 4%;border-radius:50%;background:#e6d9f5;filter:blur(55px);opacity:.74;z-index:-1}
.studio-hero-card{position:relative;z-index:2;width:78%;height:390px;max-width:340px;transform:rotate(7deg);padding:8px;border-radius:15px;background:#fff;box-shadow:0 24px 64px #26163827}
.studio-hero-card img{width:100%;height:100%;object-fit:cover;border-radius:9px}
.studio-hero-selection{position:absolute;width:83%;height:90%;left:5%;top:4%;transform:rotate(-8deg);border:1px solid #8e6cc69e;border-radius:7px;z-index:1}
.studio-hero-selection::before,.studio-hero-selection::after{content:"";position:absolute;width:10px;height:10px;border:2px solid white;background:#9c77d3;box-shadow:0 0 0 1px #8861cc}
.studio-hero-selection::before{left:-6px;top:-6px}.studio-hero-selection::after{right:-6px;bottom:-6px}
/* Reverse-scroll text paint: same motion vocabulary for every service. */
.studio-inner-manifesto{height:182vh;--lit:#242127;--unlit:#d0cdd3;background:#fff;position:relative}
.studio-inner-sticky{height:100vh;min-height:530px;position:sticky;top:0;display:grid;place-items:center;padding:110px 32px;overflow:hidden}
.studio-inner-sticky::before{content:"";position:absolute;width:55vw;height:55vw;min-width:360px;min-height:360px;border-radius:50%;border:1px solid #eee6f5;box-shadow:0 0 0 85px #f2ecf744,0 0 0 170px #f2ecf72c;opacity:.62}
.studio-inner-statement{position:relative;font-family:var(--type);font-weight:600!important;letter-spacing:-.043em!important;line-height:1.17!important;text-align:center;font-size:clamp(52px,6.4vw,94px);max-width:1060px;margin:0;text-wrap:balance}
.studio-inner-statement .studio-word{color:var(--unlit);transition:color .11s linear}
.studio-inner-statement .studio-word.is-lit{color:var(--lit)}
/* Section rhythm, service details and visuals: no cramped cards. */
body:not(.home) .block{padding-block:110px}
body:not(.home) .section-head h2,body:not(.home) .ai-capabilities h2{font-weight:650!important;letter-spacing:-.041em!important;line-height:1.1!important;font-size:clamp(42px,4.6vw,66px)}
.section-head>p{font-size:18px;color:var(--muted);line-height:1.6}
body:not(.home) .service-main{background:#f8f8f9}
.service-detailed-grid{gap:20px}
.service-detailed{padding:34px 32px;min-height:330px;border-radius:16px;border:1px solid #e5e2e9;background:#fff;box-shadow:0 12px 34px #16102105}
.service-detailed h3{font-size:clamp(25px,2.2vw,32px);line-height:1.2!important;letter-spacing:-.025em!important;font-weight:600!important;margin-bottom:18px}
.service-detailed>p{font-size:16px;line-height:1.65;color:var(--muted)}
.service-detail summary{font-size:14px;font-weight:600!important;line-height:1.5!important}
.service-detail-body{font-size:15px;line-height:1.6}
.service-detail-body li{line-height:1.58}
body:not(.home) .project-grid{gap:24px}
.project-info h3{font-weight:600!important;letter-spacing:-.02em!important}
.project-info p{font-size:14px;line-height:1.6;color:var(--muted)}
.faq-grid>h2{font-weight:650!important;letter-spacing:-.04em!important;line-height:1.1!important}
.faq-list summary{font-weight:550!important;font-size:17px;line-height:1.45!important;padding-block:23px}
.faq-list details p{font-size:16px;line-height:1.65;color:#605c63}
body:not(.home) .end-cta{padding:105px 0;background:#1e192a}
body:not(.home) .end-cta h2{font-weight:650!important;letter-spacing:-.04em!important;line-height:1.08!important;font-size:clamp(46px,5.1vw,77px)}
body:not(.home) .end-cta p{font-size:18px;line-height:1.6}
/* AI subpage: expressive sans-italic, less angular word spacing. */
body:not(.home) .studio-ai-hero{background:radial-gradient(circle at 80% 30%,#4c396b 0%,#21192e 43%,#17131e 87%)}
body:not(.home) .studio-ai-hero h1{font-size:clamp(65px,7.3vw,108px)!important;font-weight:650!important;letter-spacing:-.044em!important;line-height:1.09!important}
body:not(.home) .studio-ai-hero h1 em{color:#cdb0ff}
.ai-page-bottom>p{font-size:19px;line-height:1.62;color:#e0dbe8}
.ai-card{border-radius:16px;border-color:#e6e3e8;box-shadow:0 6px 20px #1b102609}
.ai-card h3{font-size:clamp(23px,2vw,29px);font-weight:600!important;letter-spacing:-.025em!important}
.ai-card p{font-size:16px;line-height:1.6}
.ai-card img{object-fit:cover}
.ai-process .process-grid article h3{font-weight:600!important;letter-spacing:-.02em!important}
.ai-process .process-grid article p{line-height:1.6}
.future-grid h2{font-weight:650!important;letter-spacing:-.04em!important;line-height:1.1!important}
.future-note h3{font-weight:600!important;letter-spacing:-.025em!important}
/* About and prices: preserve UX, remove overbold labels. */
body:not(.home) .studio-page-hero-about{padding-top:92px;padding-bottom:110px;background:radial-gradient(circle at 80% 20%,#f2edf9,white 60%);min-height:520px}
body:not(.home) .studio-page-hero-about h1{font-size:clamp(59px,6.9vw,108px)!important;line-height:1.07!important}
.portrait-text h2{font-weight:650!important;letter-spacing:-.04em!important;line-height:1.1!important}
.portrait-text p{font-size:18px;line-height:1.66}
.values-grid h3{font-weight:600!important;letter-spacing:-.02em!important}
.values-grid p{font-size:16px;line-height:1.62}
.about-stats strong{font-weight:600!important;letter-spacing:-.035em!important}
body:not(.home) .pricing-hero h1{font-size:clamp(58px,7vw,108px)!important;line-height:1.08!important;letter-spacing:-.045em!important}
.studio-pricing-intro{width:100%;margin:16px 0 42px;font-size:clamp(22px,2.1vw,29px);line-height:1.45;color:#49424f;letter-spacing:-.012em;font-weight:500}
.pricing-main-tabs{align-items:center;gap:24px;flex-wrap:wrap}
.main-tab{font-weight:600!important;letter-spacing:0!important;font-size:17px}
.category-tab{font-weight:550!important;letter-spacing:0!important;border-radius:99px}
.pricing-service>summary strong{font-weight:600!important;letter-spacing:-.02em!important;line-height:1.3!important}
.pricing-service>summary>span:not(.plus){font-weight:500!important}
.pricing-tier{border-radius:12px;padding:25px 24px;min-height:240px}
.tier-title h4{font-weight:600!important}
.tier-title strong{font-weight:600!important;letter-spacing:-.02em!important}
.pricing-tier>p{line-height:1.62;color:#54505c}
.pricing-tier>.btn{font-size:14px;font-weight:600!important;line-height:1.35}
.pricing-legal{line-height:1.7;color:#625c67}
/* Legal and confirmation pages remain compact and practical. */
body:not(.home) .studio-legal-hero h1,body:not(.home) .studio-thankyou h1{font-size:clamp(55px,6vw,88px)!important;font-weight:650!important;letter-spacing:-.035em!important;line-height:1.12!important}
.legal-content article h2{font-weight:600!important;letter-spacing:-.02em!important}
.legal-content article p,.legal-content article li{font-size:16px;line-height:1.75}
/* Scroll entrance when motion is supported, no hidden content if JS fails. */
html.js-studio-motion [data-studio-rise]{opacity:0;transform:translateY(24px);transition:transform .7s cubic-bezier(.22,.72,.12,1),opacity .7s ease}
html.js-studio-motion [data-studio-rise].studio-visible{opacity:1;transform:translateY(0)}
/* Focus and contrast improvements */
::selection{background:#ddd0f3;color:#241b31}
.breadcrumb,.breadcrumb a{font-weight:500;color:#645d69}
@media(max-width:1100px){
 .shell,.shell-wide{width:calc(100% - 64px)}
 body:not(.home) .studio-page-hero{width:calc(100% - 64px);gap:4%;grid-template-columns:minmax(0,1fr) minmax(260px,.68fr)}
 .studio-hero-card{width:88%;height:340px}
 .studio-page-hero .interior-hero-bottom{display:block}
 .studio-page-hero .interior-hero-bottom p{margin-bottom:24px}
 .studio-inner-statement{font-size:clamp(49px,6.4vw,76px)}
}
@media(max-width:800px){
 .shell,.shell-wide{width:calc(100% - 40px)}
 .motion-hero h1{font-size:23vw}
 .manifesto-main{font-size:clamp(44px,7.4vw,64px);line-height:1.18!important}
 .manifesto-sub{font-size:22px}
 .motion-section-heading h2{font-size:clamp(48px,8.1vw,68px)}
 .motion-about h2,.motion-ai h2,.motion-contact h2{line-height:1.11!important}
 body:not(.home) .studio-page-hero{width:calc(100% - 40px);grid-template-columns:1fr;gap:5px;min-height:0;padding:80px 0 60px}
 body:not(.home) .studio-page-hero h1{max-width:800px;font-size:clamp(55px,8.4vw,80px)!important}
 .studio-page-hero .interior-hero-bottom{display:flex;gap:22px}
 .studio-page-hero .interior-hero-bottom p{margin-bottom:0}
 .studio-hero-visual{min-height:270px;margin-top:26px}
 .studio-hero-card{height:270px;width:60%;max-width:360px}
 .studio-hero-selection{width:64%;height:96%;left:18%;top:0}
 .studio-inner-manifesto{height:170vh}
 .studio-inner-sticky{height:100svh;min-height:0;padding:75px 26px}
 .studio-inner-statement{font-size:clamp(44px,7.4vw,67px)}
 body:not(.home) .studio-ai-hero h1{font-size:clamp(60px,8.6vw,86px)!important}
 body:not(.home) .block{padding-block:85px}
 .service-detailed-grid{grid-template-columns:1fr}
 .service-detailed{min-height:0}
 .studio-pricing-intro{margin-bottom:30px}
}
@media(max-width:560px){
 .shell,.shell-wide{width:calc(100% - 36px)}
 .motion-hero h1{font-size:24vw;letter-spacing:-.055em!important}
 .motion-hero-center p{font-size:16px;line-height:1.5}
 .manifesto-main{font-size:clamp(39px,10.3vw,54px);line-height:1.19!important}
 .manifesto-sub{font-size:20px}
 .motion-services{padding-block:78px 92px}
 .motion-section-heading h2{font-size:clamp(42px,10.1vw,58px);line-height:1.1!important}
 .motion-service-info h3{font-size:31px}
 .motion-services .motion-service-info p{font-size:16px;line-height:1.58}
 .motion-about h2,.motion-portfolio h2,.motion-ai h2,.motion-reviews h2,.motion-pricing h2,.motion-contact h2{letter-spacing:-.04em!important}
 .motion-about h2{font-size:clamp(48px,11vw,65px)}
 .motion-ai h2{font-size:clamp(53px,11.8vw,75px)}
 .motion-portfolio h2{font-size:clamp(51px,11.7vw,73px)}
 .motion-pricing h2,.motion-reviews h2,.motion-contact h2{font-size:clamp(48px,11vw,69px)}
 body:not(.home) .studio-page-hero{width:calc(100% - 36px);padding:58px 0 52px}
 body:not(.home) .studio-page-hero h1{font-size:clamp(45px,11.2vw,65px)!important;line-height:1.12!important;margin-bottom:28px}
 .studio-page-hero .breadcrumb{margin-bottom:22px}
 .studio-page-hero .interior-hero-bottom{display:block}
 .studio-page-hero .interior-hero-bottom p{font-size:17px;line-height:1.65;margin-bottom:25px}
 .studio-hero-visual{min-height:250px;margin-top:26px}
 .studio-hero-card{height:245px;width:65%;transform:rotate(5deg)}
 .studio-inner-manifesto{height:154vh}
 .studio-inner-sticky{padding:76px 19px}
 .studio-inner-statement{font-size:clamp(39px,10vw,55px);line-height:1.23!important;letter-spacing:-.037em!important}
 body:not(.home) .studio-ai-hero h1{font-size:clamp(49px,11.2vw,69px)!important;line-height:1.12!important}
 body:not(.home) .section-head h2{font-size:clamp(39px,9.8vw,54px)}
 body:not(.home) .block{padding-block:72px}
 .ai-card-grid{grid-template-columns:1fr}
 .service-detailed{padding:27px 23px}
 .pricing-tier{min-height:0}
 .motion-header .brand{letter-spacing:-.04em!important}
}
@media(prefers-reduced-motion:reduce){
 .studio-inner-manifesto{height:auto;min-height:56vh}
 .studio-inner-sticky{height:auto;min-height:56vh;position:relative}
 .studio-inner-statement .studio-word{color:var(--lit)!important}
 html.js-studio-motion [data-studio-rise]{opacity:1!important;transform:none!important}
}

/* Final optical adjustments: headlines remain expressive, but softer and more breathable. */
h1{font-weight:600!important;letter-spacing:-.032em!important}
h2{font-weight:600!important;letter-spacing:-.028em!important}
h3{font-weight:600!important;letter-spacing:-.015em!important}
.motion-hero h1{font-weight:600!important;letter-spacing:-.04em!important}
.manifesto-main,.manifesto-sub,.studio-inner-statement{font-weight:550!important;letter-spacing:-.027em!important}
.motion-section-heading h2,.motion-method .method-copy h2,.motion-about h2,.motion-portfolio h2,.motion-ai h2,.motion-reviews h2,.motion-pricing h2,.motion-contact h2{font-weight:600!important;letter-spacing:-.03em!important}
body:not(.home) .studio-page-hero h1,body:not(.home) .pricing-hero h1,body:not(.home) .studio-ai-hero h1,body:not(.home) .studio-page-hero-about h1{font-weight:600!important;letter-spacing:-.033em!important}
body:not(.home) .studio-ai-hero .breadcrumb,body:not(.home) .studio-ai-hero .breadcrumb a{color:#d4c6de!important}
.studio-pricing-intro{max-width:900px;margin-left:0;margin-right:auto}
@media(max-width:560px){
 body:not(.home) .studio-page-hero h1,body:not(.home) .pricing-hero h1{letter-spacing:-.025em!important}
 .studio-inner-statement{letter-spacing:-.02em!important}
}
/* Optical sizing: shorter lines and more readable titles across subpages. */
body:not(.home) .studio-page-hero h1{font-size:clamp(52px,5.45vw,80px)!important;line-height:1.12!important;letter-spacing:-.028em!important}
body:not(.home) .studio-page-hero-about h1{font-size:clamp(58px,6.2vw,94px)!important}
body:not(.home) .studio-ai-hero h1{font-size:clamp(58px,6.7vw,99px)!important;line-height:1.12!important}
body:not(.home) .pricing-hero h1{font-size:clamp(56px,6.2vw,94px)!important;line-height:1.12!important}
@media(max-width:560px){
 body:not(.home) .studio-page-hero h1{font-size:clamp(43px,10.3vw,55px)!important;line-height:1.14!important}
 body:not(.home) .studio-page-hero-about h1{font-size:clamp(47px,10.5vw,62px)!important}
 body:not(.home) .studio-ai-hero h1{font-size:clamp(49px,10.5vw,66px)!important}
 body:not(.home) .pricing-hero h1{font-size:clamp(46px,10.3vw,59px)!important}
}
