/* ALFA IT STUDIO — V4 precision refinement */
:root{
  --container:1660px;
  --pad:clamp(18px,2vw,36px);
  --yellow:#ffc400;
  --black:#11120f;
  --paper:#f7f7f4;
  --footer:var(--alfa-dark,#2f3338);
  --footer-muted:#969ba0;
  --ease:cubic-bezier(.2,.75,.2,1);
}
html{scroll-padding-top:78px}
body{font-size:14px!important;line-height:1.5!important;letter-spacing:-.008em!important;color:#151613!important}
.container{width:min(var(--container),calc(100% - var(--pad)*2))!important;max-width:none!important}
.section{padding:clamp(48px,4.2vw,70px) 0!important}

/* ---------------- COMPACT TYPE SYSTEM ---------------- */
main h1, .page-title{font-size:clamp(34px,3.1vw,48px)!important;line-height:1.02!important;letter-spacing:-.045em!important;font-weight:690!important}
.section-title,.section-title--small{font-size:clamp(27px,2.15vw,35px)!important;line-height:1.05!important;letter-spacing:-.038em!important;font-weight:660!important;max-width:780px!important}
main h2:not(.section-title):not(.section-title--small){font-size:clamp(25px,2.15vw,35px)!important;line-height:1.08!important;letter-spacing:-.035em!important}
main h3{font-size:clamp(18px,1.45vw,24px)!important;line-height:1.12!important;letter-spacing:-.025em!important}
p,.muted,.prose,.case-copy{font-size:14px!important;line-height:1.62!important}
.eyebrow{font-size:9px!important;letter-spacing:.16em!important;margin:0 0 11px!important}
.section-head{margin-bottom:26px!important;gap:32px!important}
.section-intro{font-size:13px!important;line-height:1.6!important}
.breadcrumbs{font-size:9px!important;margin-bottom:20px!important;letter-spacing:.1em!important}
.tag{font-size:9px!important;padding:6px 9px!important}

/* ---------------- FIRST SCREEN: LESS HEIGHT ---------------- */
.hero{min-height:0!important;padding:82px 0 44px!important}
.hero-grid{grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr)!important;gap:clamp(38px,5vw,78px)!important}
.hero-title{font-size:clamp(43px,4.4vw,66px)!important;line-height:.94!important;letter-spacing:-.052em!important;max-width:820px!important}
.hero-kicker{margin-bottom:22px!important;font-size:10px!important}
.hero-copy{margin-top:22px!important;grid-template-columns:minmax(0,560px) auto!important}
.hero-copy p{font-size:14px!important;line-height:1.55!important}
.hero-visual{min-height:380px!important}
.hero-card--one{top:20px!important;height:228px!important}
.hero-card--two{bottom:20px!important;height:172px!important}
.float-chip{font-size:9px!important;padding:8px 12px!important}
.service-tags{margin-top:29px!important;gap:8px!important}

/* ---------------- METRICS: MORE CHARACTER, LESS BORING ---------------- */
.metric-strip{position:relative!important;overflow:hidden!important;border:1px solid #d9ddd5!important;border-radius:0!important;background:linear-gradient(115deg,#fff 0%,#fff 62%,#fff9dd 100%)!important}
.metric-strip::before{content:"";position:absolute;right:-70px;top:-155px;width:330px;height:330px;border:1px solid rgba(255,196,0,.36);border-radius:50%;box-shadow:0 0 0 38px rgba(255,196,0,.04),0 0 0 76px rgba(255,196,0,.025);pointer-events:none}
.metrics{position:relative;z-index:2;display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:0!important}
.metric{position:relative;min-height:118px!important;padding:17px clamp(20px,2.2vw,34px) 20px!important;border-right:1px solid #d9ddd5!important;overflow:hidden;transition:background .28s var(--ease),transform .28s var(--ease)!important}
.metric:last-child{border-right:0!important}
.metric::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--yellow);transform:scaleX(0);transform-origin:left;transition:transform .35s var(--ease)}
.metric:hover{background:rgba(255,196,0,.08)!important;transform:translateY(-2px)}
.metric:hover::after{transform:scaleX(1)}
.metric-head-v4{display:flex;align-items:center;gap:7px;margin-bottom:8px;color:#8b8f89;font-size:8px;letter-spacing:.12em;font-weight:800}
.metric-symbol-v4{width:23px;height:23px;border:1px solid #d9ddd5;border-radius:50%;display:grid;place-items:center;color:#111;background:#fff;font-size:11px;transition:transform .35s var(--ease),background .25s}
.metric:hover .metric-symbol-v4{transform:rotate(12deg);background:var(--yellow)}
.metric strong{display:block;font-size:clamp(29px,2.8vw,42px)!important;line-height:1!important;letter-spacing:-.04em!important;font-weight:680!important}
.metric>span:not(.metric-symbol-v4){display:block;margin-top:8px;font-size:10px!important;color:#777d75!important}

/* ---------------- ONE BUTTON SYSTEM ---------------- */
.btn,.filter-btn,.social-mini{min-height:42px!important;border:1px solid var(--alfa-dark,#2f3338)!important;border-radius:10px!important;padding:9px 15px!important;font-size:10px!important;font-weight:760!important;line-height:1!important;text-decoration:none!important;transition:background .22s ease,color .22s ease,border-color .22s ease,transform .22s ease!important;box-shadow:none!important}
.btn,.btn--white,.social-mini{background:#fff!important;color:#111!important;border-color:#d4d7d1!important}
.btn:hover,.btn--white:hover,.social-mini:hover{background:var(--alfa-dark,#2f3338)!important;color:var(--yellow)!important;border-color:var(--alfa-dark,#2f3338)!important;transform:translateY(-1px)!important}
.btn--yellow,.btn--coral,.contact-modern .btn--coral{background:var(--yellow)!important;color:#111!important;border-color:var(--yellow)!important}
.btn--yellow:hover,.btn--coral:hover,.contact-modern .btn--coral:hover{background:var(--alfa-dark,#2f3338)!important;color:var(--yellow)!important;border-color:var(--alfa-dark,#2f3338)!important}
.btn--black{background:var(--alfa-dark,#2f3338)!important;color:var(--yellow)!important;border-color:var(--alfa-dark,#2f3338)!important}
.btn--black:hover{background:var(--yellow)!important;color:#111!important;border-color:var(--yellow)!important}
.filter-btn{background:#fff!important;color:#111!important;border-color:#d5d8d2!important}
.filter-btn:hover{background:var(--alfa-dark,#2f3338)!important;color:var(--yellow)!important;border-color:var(--alfa-dark,#2f3338)!important}
.filter-btn.active{background:var(--yellow)!important;color:#111!important;border-color:var(--yellow)!important}
.filter-btn.active:hover{background:var(--alfa-dark,#2f3338)!important;color:var(--yellow)!important;border-color:var(--alfa-dark,#2f3338)!important}
.about-original-actions .btn{color:#111!important}
.about-original-actions .btn:hover{color:var(--yellow)!important}

/* ---------------- CASES: MATCH REFERENCE GEOMETRY ---------------- */
.cases-section{background:#f8f8f5!important;border-block:1px solid rgba(15,16,14,.07)!important}
.cases-section .compact-section-head{margin-bottom:24px!important}
.cases-section .section-title{font-size:34px!important}
.cases-showcase{position:relative;display:grid!important;grid-template-columns:330px minmax(0,1fr)!important;gap:0!important;align-items:start!important}
.cases-showcase::before{content:"";position:absolute;left:330px;top:0;bottom:0;width:1px;background:#cfd2cd}
.add-project-card{position:sticky!important;top:86px!important;width:276px!important;min-height:0!important;height:106px!important;margin:0 38px 0 0!important;padding:20px!important;border:0!important;border-radius:11px!important;background:#f64d50!important;color:#fff!important;display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:auto!important;align-items:start!important;box-shadow:none!important;transform:none!important}
.add-project-card::after{display:none!important}
.add-project-title{font-size:18px!important;line-height:1.1!important;font-weight:620!important;letter-spacing:-.025em!important}
.add-project-plus{width:23px!important;height:23px!important;margin:52px 0 0!important;align-self:auto!important;grid-column:2!important;grid-row:1!important;border-radius:50%!important;background:#fff!important;color:#f64d50!important;font-size:20px!important;transition:transform .3s var(--ease)!important}
.add-project-note,.add-project-arrow{display:none!important}
.add-project-card:hover{transform:translateY(-2px)!important;background:var(--alfa-dark,#2f3338)!important;color:var(--yellow)!important}
.add-project-card:hover .add-project-plus{transform:rotate(90deg)!important;background:var(--yellow)!important;color:#111!important}
.cases-scroll{max-height:760px!important;overflow-y:auto!important;padding:0 0 0 34px!important;scrollbar-width:thin!important;scrollbar-color:#999 transparent!important}
.case-list-item{display:grid!important;grid-template-columns:minmax(300px,.58fr) minmax(520px,1.42fr)!important;gap:38px!important;align-items:start!important;min-height:320px!important;padding:54px 0 24px!important;border-top:1px solid #cfd2cd!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transition:opacity .25s!important}
.case-list-item:first-child{padding-top:0!important;border-top:0!important}
.case-list-item:hover{padding-inline:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;opacity:.93}
.case-list-copy{padding-top:4px!important}
.case-list-topline{font-size:8px!important;letter-spacing:.12em!important;margin-bottom:12px!important;color:#9b9f99!important}
.case-list-item h3{font-size:22px!important;line-height:1.12!important;letter-spacing:-.028em!important;font-weight:580!important;margin:0 0 12px!important;max-width:420px!important}
.case-list-item p{font-size:13px!important;line-height:1.48!important;color:#414540!important;max-width:420px!important;margin:0 0 18px!important}
.case-list-item small{font-size:10px!important;color:#858b84!important}
.case-list-media{height:286px!important;border-radius:0!important;overflow:hidden!important;background:#e8e9e6!important;transform:none!important}
.case-list-media::after{display:none!important}
.case-list-media img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .5s var(--ease)!important}
.case-open{right:18px!important;width:42px!important;height:42px!important;background:rgba(255,255,255,.94)!important;color:#111!important;font-size:18px!important;border:0!important}
.case-list-item:hover .case-list-media img{transform:scale(1.018)!important}
.case-list-item:hover .case-open{background:var(--alfa-dark,#2f3338)!important;color:var(--yellow)!important;transform:translateY(-50%) translateX(3px)!important}

/* ---------------- HOME BLOG: SHORTER ---------------- */
.editorial-grid{grid-template-columns:minmax(0,1.62fr) minmax(330px,.95fr)!important;gap:18px!important;align-items:stretch!important}
.editorial-grid>.article-card .article-image{aspect-ratio:2.15/1!important;max-height:350px!important}
.editorial-grid>.article-card .article-body{padding:16px 18px 18px!important}
.editorial-grid>.article-card h3{font-size:22px!important;margin:8px 0 7px!important;line-height:1.08!important}
.editorial-grid>.article-card p{font-size:11px!important}
.editorial-grid .article-list a{grid-template-columns:92px 1fr!important;min-height:82px!important;padding:11px 0!important;gap:16px!important}
.editorial-grid .article-list img{width:92px!important;height:58px!important;border-radius:7px!important}
.editorial-grid .article-list strong{font-size:13px!important;line-height:1.25!important}
.editorial-grid .article-list small{margin-top:6px!important;font-size:9px!important}

/* ---------------- CONTACT FORM ---------------- */
.contact-modern{padding:clamp(25px,3.2vw,44px)!important}
.contact-modern-form h2{font-size:32px!important}
.contact-modern-form>p:not(.eyebrow){font-size:12.5px!important}
.contact-fields input{font-size:12px!important;height:47px!important}
.contact-consent{font-size:9px!important}

/* ---------------- LISTING PAGES: NO GIANT TOP PANEL ---------------- */
.listing-intro-v4{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin:0 0 26px;padding:0 0 19px;border-bottom:1px solid #d6dad3}
.listing-intro-v4 h1{margin:0!important;font-size:35px!important;line-height:1!important;letter-spacing:-.04em!important}
.listing-intro-v4 .eyebrow{margin:0 0 7px!important}
main>.section:first-child{padding-top:104px!important}

/* ---------------- ARTICLE DETAIL ---------------- */
.article-detail-hero-v4{padding:104px 0 24px!important;background:transparent!important}
.article-detail-hero-v4 .breadcrumbs{margin-bottom:19px!important}
.article-detail-hero-v4 .page-title{max-width:none!important;width:100%!important;font-size:clamp(34px,3.2vw,47px)!important;line-height:1.02!important;margin:0!important}
.article-detail-hero-v4 .article-hero-image{margin-top:24px!important;border-radius:12px!important}
.article-detail-hero-v4 .article-hero-image img{max-height:520px!important}
.article-body-v4{padding-top:0!important}
.article-layout--wide .prose{width:min(1260px,100%)!important;font-size:14.5px!important;line-height:1.66!important}
.article-layout--wide .prose p{font-size:14.5px!important;line-height:1.66!important;margin:0 0 19px!important}
.article-layout--wide .prose .article-lead-v3{font-size:15.5px!important;line-height:1.58!important;max-width:1120px!important}
.article-layout--wide .prose h2{font-size:clamp(24px,2.15vw,31px)!important;line-height:1.1!important;letter-spacing:-.032em!important;margin:38px 0 14px!important}
.article-layout--wide .prose h3{font-size:21px!important}
.article-layout--wide .prose ul,.article-layout--wide .prose ol{font-size:14.5px!important;line-height:1.66!important}
.article-layout--wide .prose img{margin-block:22px!important;border-radius:11px!important}
body:has(.article-detail-hero-v4) main>.section{padding-top:30px!important}

/* ---------------- PROJECT DETAIL ---------------- */
.case-hero-v4{padding:94px 0 24px!important}
.case-hero-v4 .breadcrumbs{margin-bottom:16px!important}
.case-hero-v4 .case-hero-grid{grid-template-columns:minmax(0,.9fr) minmax(590px,1.1fr)!important;gap:56px!important}
.case-hero-v4 h1{font-size:clamp(34px,3.25vw,48px)!important;line-height:1.04!important;letter-spacing:-.042em!important;max-width:820px!important}
.case-hero-v4 .case-hero-grid>div:first-child>p:not(.eyebrow){font-size:13.5px!important;line-height:1.58!important;max-width:650px!important}
.case-hero-v4 .detail-meta{margin-top:20px!important}
.case-story{grid-template-columns:minmax(310px,.53fr) minmax(650px,1.47fr)!important;gap:70px!important}
.case-copy{top:94px!important}
.case-copy h2{font-size:clamp(25px,2.25vw,33px)!important;line-height:1.08!important;letter-spacing:-.034em!important;margin-bottom:18px!important}
.case-copy p{font-size:13.5px!important;line-height:1.65!important}
.case-caption p{font-size:11.5px!important}
.case-image img{min-height:500px!important}

/* ---------------- SERVICE DETAIL ---------------- */
.detail-hero-v4{min-height:520px!important;align-items:end!important}
.detail-hero-v4 .detail-hero-content{padding-block:56px!important}
.detail-hero-v4 h1{font-size:clamp(36px,3.6vw,52px)!important;line-height:1.02!important;letter-spacing:-.04em!important;max-width:920px!important}
.detail-hero-v4 .breadcrumbs{margin-bottom:17px!important}
.content-split-v4{grid-template-columns:minmax(270px,.55fr) minmax(620px,1.45fr)!important;gap:64px!important}
.content-split-v4 .sticky-aside h2{font-size:clamp(26px,2.3vw,34px)!important;line-height:1.08!important;letter-spacing:-.034em!important}
.content-split-v4 .sticky-aside p{font-size:13px!important}
.content-split-v4 .prose{font-size:14px!important;line-height:1.65!important}
.content-split-v4 .prose h2{font-size:clamp(24px,2vw,30px)!important;margin-top:38px!important}
.price-band{font-size:12px!important}.price-item strong{font-size:20px!important}

/* ---------------- GENERIC CTA / OTHER LARGE HEADINGS ---------------- */
.cta-panel{padding:32px 38px!important;border-radius:18px!important}
.cta-panel h2{font-size:clamp(27px,2.35vw,36px)!important;line-height:1.04!important;letter-spacing:-.036em!important;margin-bottom:20px!important}
.cta-bottom p{font-size:12.5px!important}
.about-statement{font-size:clamp(25px,2.2vw,33px)!important;line-height:1.1!important}
.principle strong{font-size:19px!important}
.review-featured blockquote{font-size:clamp(18px,1.75vw,24px)!important}
.team-strip-meta strong{font-size:22px!important}
.news-modern-copy h3{font-size:18px!important}

/* ---------------- REQUESTED ALFA FOOTER ---------------- */
.site-footer--alfa{padding:64px 0 28px!important;background:var(--footer)!important;color:#fff!important}
.alfa-footer-main{display:grid;grid-template-columns:1.02fr .95fr 1.05fr .62fr 1.25fr;gap:clamp(28px,3.2vw,64px);align-items:start}
.alfa-footer-col,.alfa-footer-short{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.alfa-footer-col b,.alfa-footer-heading{margin:0 0 10px;color:#fff!important;font-size:12px;font-weight:780;letter-spacing:.045em;text-decoration:none}
.alfa-footer-col a{color:#9da2a6!important;font-size:12px;line-height:1.35;text-decoration:none;transition:color .18s}
.alfa-footer-col a:hover{color:var(--yellow)!important}
.alfa-footer-short{gap:22px}.alfa-footer-heading:hover{color:var(--yellow)!important}
.alfa-footer-contact{display:flex;flex-direction:column;gap:22px}
.alfa-subscribe{height:46px;padding:0 18px;background:var(--alfa-dark,#2f3338);color:#fff!important;display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:700;text-decoration:none;transition:background .2s,color .2s}
.alfa-subscribe:hover{background:var(--yellow);color:#111!important}.alfa-subscribe i{font-size:19px;font-style:normal;color:#979ca0}
.alfa-contact-item{display:grid;grid-template-columns:20px 1fr;gap:11px;align-items:start;color:#fff;font-size:13px;line-height:1.45}.alfa-contact-item a{color:#fff!important;text-decoration:none}.alfa-contact-icon{color:#90969a;font-size:12px}.alfa-phone{font-size:14px!important}.alfa-contact-item small{display:block;margin-top:6px;color:#8f959a;font-size:8px;letter-spacing:.1em}
.alfa-footer-lower{display:grid;grid-template-columns:1fr auto 1fr;gap:34px;align-items:center;margin-top:56px}.alfa-footer-line{height:1px;background:var(--alfa-dark,#2f3338)}.alfa-socials{display:flex;gap:7px}.alfa-socials a{width:42px;height:42px;border:1px solid var(--alfa-dark,#2f3338);display:grid;place-items:center;color:#969ca0!important;font-size:10px;font-weight:700;text-decoration:none;transition:.2s}.alfa-socials a:hover{border-color:var(--yellow);background:var(--yellow);color:#111!important}
.alfa-footer-bottom{display:flex;justify-content:space-between;margin-top:54px;color:#8d9398;font-size:9px;letter-spacing:.08em}.alfa-footer-bottom a{color:#8d9398!important;text-decoration:none}.alfa-footer-bottom a:hover{color:var(--yellow)!important}

@media(max-width:1180px){
  .cases-showcase{grid-template-columns:280px minmax(0,1fr)!important}.cases-showcase::before{left:280px}.add-project-card{width:240px!important}.case-list-item{grid-template-columns:minmax(240px,.65fr) minmax(420px,1.35fr)!important;gap:26px!important}.case-list-media{height:240px!important}.case-list-item{min-height:280px!important}
  .alfa-footer-main{grid-template-columns:repeat(3,1fr)}.alfa-footer-contact{grid-column:2/4}.alfa-footer-short{grid-column:1}
  .case-story{grid-template-columns:310px 1fr!important;gap:46px!important}.case-hero-v4 .case-hero-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:900px){
  body{font-size:13.5px!important}.hero-grid{grid-template-columns:1fr!important}.hero-visual{min-height:330px!important}
  .metrics{grid-template-columns:repeat(2,1fr)!important}.metric:nth-child(2){border-right:0!important}.metric:nth-child(-n+2){border-bottom:1px solid #d9ddd5}
  .cases-showcase{grid-template-columns:1fr!important}.cases-showcase::before{display:none}.add-project-card{position:relative!important;top:auto!important;width:100%!important;height:88px!important;margin:0 0 22px!important}.add-project-plus{margin:42px 0 0!important}.cases-scroll{padding-left:0!important}.case-list-item{grid-template-columns:1fr!important;min-height:0!important;padding:28px 0!important}.case-list-media{height:260px!important;order:-1}.case-list-copy{padding:0!important}
  .editorial-grid{grid-template-columns:1fr!important}.editorial-grid>.article-card .article-image{max-height:300px!important}
  .case-hero-v4 .case-hero-grid,.case-story,.content-split-v4{grid-template-columns:1fr!important}.case-copy{position:static!important}.case-image img{min-height:360px!important}
  .alfa-footer-main{grid-template-columns:repeat(2,1fr)}.alfa-footer-contact{grid-column:auto}.alfa-footer-short{grid-column:auto}.alfa-footer-company{grid-column:1/-1}
}
@media(max-width:650px){
  :root{--pad:16px}.section{padding:42px 0!important}.hero{padding:78px 0 38px!important}.hero-title{font-size:42px!important}.hero-copy{grid-template-columns:1fr!important}.hero-visual{min-height:280px!important}
  main h1,.page-title{font-size:32px!important}.section-title,.section-title--small{font-size:27px!important}main h2:not(.section-title):not(.section-title--small){font-size:25px!important}
  .metrics{grid-template-columns:1fr!important}.metric{border-right:0!important;border-bottom:1px solid #d9ddd5!important;min-height:102px!important}.metric:last-child{border-bottom:0!important}
  .case-list-media{height:200px!important}.case-list-item h3{font-size:19px!important}.cases-section .section-title{font-size:28px!important}
  .listing-intro-v4{margin-bottom:20px}.listing-intro-v4 h1{font-size:30px!important}main>.section:first-child{padding-top:86px!important}
  .article-detail-hero-v4{padding:86px 0 18px!important}.article-detail-hero-v4 .page-title{font-size:31px!important}.article-layout--wide .prose,.article-layout--wide .prose p,.article-layout--wide .prose ul,.article-layout--wide .prose ol{font-size:14px!important}.article-layout--wide .prose h2{font-size:24px!important}
  .detail-hero-v4{min-height:430px!important}.detail-hero-v4 h1{font-size:34px!important}.case-hero-v4{padding-top:84px!important}.case-hero-v4 h1{font-size:32px!important}
  .cta-panel{padding:26px 22px!important}.cta-panel h2{font-size:27px!important}
  .alfa-footer-main{grid-template-columns:1fr}.alfa-footer-company,.alfa-footer-contact,.alfa-footer-short{grid-column:auto}.alfa-footer-lower{grid-template-columns:1fr}.alfa-footer-line{display:none}.alfa-socials{flex-wrap:wrap}.alfa-footer-bottom{margin-top:32px}
}

/* V4.1 — tighter vertical rhythm after visual QA */
main>.section:first-child{padding-top:28px!important}
.listing-intro-v4{display:block!important;margin:0 0 20px!important;padding:0!important;border:0!important}
.listing-intro-v4 .eyebrow{display:none!important}
.listing-intro-v4 h1{font-size:32px!important;text-align:left!important}
.article-detail-hero-v4{padding-top:24px!important}
body:has(.article-layout--wide) .article-detail-hero-v4 .page-title{max-width:none!important;width:100%!important;font-size:clamp(33px,2.75vw,42px)!important;line-height:1.03!important}
.case-hero-v4{padding-top:24px!important}
.case-hero-v4 h1{font-size:clamp(32px,2.9vw,43px)!important}
.case-copy h2{font-size:clamp(24px,2vw,30px)!important}
.detail-hero-v4 h1{font-size:clamp(33px,3vw,44px)!important}
.content-split-v4 .sticky-aside h2{font-size:clamp(24px,2vw,30px)!important}
.content-split-v4 .prose h2{font-size:clamp(22px,1.8vw,28px)!important}
