/*
 * ALIFY v1.2.35 — Reference-led editorial UI refinement
 * Visual grammar inspired by the supplied reference screenshot.
 * This file intentionally sits after the legacy stylesheet so the functional
 * baseline remains intact while the presentation is replaced cleanly.
 */

:root{
  --ref-bg:#ffffff;
  --ref-canvas:#f4f4f0;
  --ref-soft:#e5e7eb;
  --ref-ink:#111827;
  --ref-muted:#4b5563;
  --ref-teal:#14b8a6;
  --ref-deep:#042f2e;
  --ref-deeper:#021d1c;
  --ref-line:rgba(17,24,39,.12);
  --ref-radius:8px;
  --ref-radius-sm:6px;
  --ref-shadow:0 18px 50px rgba(17,24,39,.08);
  --ref-container:1180px;
}

/* ---------- global ---------- */
body{background:var(--ref-bg);color:var(--ref-ink)}
.container,.nav{width:min(calc(100% - 48px),var(--ref-container))}
.section{padding:88px 0}
.section-sm{padding:44px 0}
.section-white{background:#fff}
.section-soft{background:var(--ref-canvas)}
.h1,.h2,.h3,.display{letter-spacing:-.045em}
.display{font-size:clamp(52px,5.3vw,76px);line-height:.98;font-weight:500}
.h1{font-size:clamp(44px,4.6vw,66px);font-weight:500}
.h2{font-size:clamp(34px,3.5vw,50px);font-weight:500}
.h3{font-weight:550}
.lead{font-size:16px;line-height:1.65;color:var(--ref-muted)}
.eyebrow{font-size:10px;letter-spacing:.11em;color:#0f766e}
.eyebrow-dot{width:6px;height:6px;background:var(--ref-teal);box-shadow:none}
.section-head{margin-bottom:34px;align-items:flex-end}
.section-head .lead{max-width:600px;margin-top:12px}

.btn{min-height:42px;border-radius:999px;padding:0 18px;border:1px solid var(--ref-line);background:#fff;color:var(--ref-ink);font-size:12px;box-shadow:none}
.btn:hover{transform:none;border-color:rgba(17,24,39,.28);background:#f7f8f6}
.btn-primary,.btn-violet{background:var(--ref-deep);border-color:var(--ref-deep);color:#fff}
.btn-primary:hover,.btn-violet:hover{background:#063d3b;border-color:#063d3b;color:#fff}
.btn-lime{background:#fff;border-color:#fff;color:var(--ref-deep)}
.btn-lime:hover{background:#ecfdf9;border-color:#ecfdf9;color:var(--ref-deep)}
.btn-lg{min-height:46px;padding-inline:22px}
.text-link{font-size:12px}

/* ---------- header ---------- */
.site-header{padding:12px 0;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(17,24,39,.06)}
.site-header.scrolled{padding:8px 0;background:rgba(255,255,255,.94);border-bottom-color:rgba(17,24,39,.09);box-shadow:none}
.brand-logo{max-height:27px!important;width:auto!important}
.desktop-nav{gap:23px}
.desktop-nav a{font-size:11px;color:#303844}
.desktop-nav a:hover,.desktop-nav a.active{color:var(--ref-deep)}
.nav-actions{gap:8px}
.nav-actions .btn{min-height:34px;padding:0 14px;font-size:10.5px}
.theme-toggle{width:34px!important;height:34px!important;flex-basis:34px!important;border-radius:999px!important}

/* ---------- home hero: centered campaign-style ---------- */
.home-page .hero{padding:128px 0 44px;background:#fff;overflow:visible}
.home-page .hero::before{display:none!important}
.home-page .hero-grid{display:block}
.home-page .hero-copy{text-align:center;max-width:850px;margin:0 auto 38px}
.home-page .hero-copy .eyebrow{justify-content:center}
.home-page .hero-copy .display{max-width:760px;margin:13px auto 16px}
.home-page .hero-copy .display span{color:var(--ref-deep)!important}
.home-page .hero-copy .lead{max-width:610px;margin:0 auto;color:#5c6470;font-size:14px}
.home-page .hero-actions{justify-content:center;margin:24px 0 18px}
.home-page .hero-trust{justify-content:center;max-width:650px;margin:0 auto;border-top:0;padding-top:4px}
.home-page .hero-trust strong{font-size:11px;font-weight:600}
.home-page .hero-trust span{font-size:10px}
.home-page .trust-icons span{width:27px;height:27px;border:2px solid #fff;background:var(--ref-deep);font-size:8px}
.home-page .hero-media{min-height:0;height:auto;margin-top:38px;position:relative}
.home-page .hero-frame{position:relative;inset:auto;height:clamp(390px,48vw,620px);border-radius:var(--ref-radius);overflow:hidden;background:#cfd4cf;box-shadow:none}
.home-page .hero-frame::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(4,47,46,.02),rgba(4,47,46,.12));pointer-events:none}
.home-page .hero-frame::after{background:linear-gradient(180deg,transparent 66%,rgba(4,47,46,.13))}
.home-page .hero-frame img{width:100%;height:100%;object-fit:cover;transform:none!important}
.home-page .hero-chip{top:24px;left:24px;border-radius:999px;background:rgba(255,255,255,.94);color:var(--ref-deep);padding:9px 12px;font-size:9px;box-shadow:none;border:1px solid rgba(255,255,255,.8)}
.home-page .hero-chip i{color:var(--ref-teal)!important}
.home-page .hero-float{right:24px;bottom:24px;width:min(290px,calc(100% - 48px));border-radius:var(--ref-radius);border:0;background:rgba(255,255,255,.94);padding:16px 18px;box-shadow:0 14px 34px rgba(17,24,39,.1);text-align:left}
.home-page .hero-float small{font-size:9px}
.home-page .hero-float strong{font-size:15px;margin:4px 0 10px;line-height:1.3}
.home-page .mini-progress{height:4px;background:#dfe6e4}
.home-page .mini-progress i{background:var(--ref-teal)}

/* ---------- logo / platform strip ---------- */
.home-page .platform-bar{background:#fff;border:0;padding:16px 0 34px}
.home-page .platform-row{min-height:0;display:block;text-align:center}
.home-page .platform-row>span{display:block;margin-bottom:20px;font-size:9px;color:#8b929b}
.home-page .platforms{justify-content:space-between;gap:20px;max-width:1050px;margin:auto}
.home-page .platforms span{font-size:11px;color:#2f3740;opacity:.78;white-space:nowrap}
.home-page .platforms i{color:#26333a}

/* ---------- split feature block, reference-style ---------- */
.home-page .scene-grid{padding:0;background:#fff}
.home-page .value-grid{grid-template-columns:1fr 1fr;gap:0;min-height:470px;overflow:hidden;border-radius:var(--ref-radius);background:var(--ref-deep)}
.home-page .value-grid>div:first-child{position:relative;padding:52px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;background:linear-gradient(180deg,rgba(4,47,46,.20),rgba(4,47,46,.88)),url('../images/starter/web-development.jpg') center/cover}
.home-page .value-grid>div:first-child::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,rgba(20,184,166,.05),transparent 48%);pointer-events:none}
.home-page .value-grid>div:first-child>*{position:relative;z-index:1}
.home-page .value-grid>div:first-child .eyebrow{color:#99f6e4}
.home-page .value-grid>div:first-child .h2{font-size:clamp(32px,3.4vw,48px);max-width:500px;color:#fff}
.home-page .value-grid>div:first-child .lead{max-width:470px;color:rgba(255,255,255,.76);font-size:14px}
.home-page .value-grid>div:first-child .text-link{color:#fff;margin-top:8px}
.home-page .value-list{border:0;background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(255,255,255,.94)),url('../images/starter/about.jpg') center/cover;padding:36px 42px;display:flex;flex-direction:column;justify-content:center}
.home-page .value-item{grid-template-columns:40px 1fr auto;gap:16px;padding:21px 0;border-bottom:1px solid rgba(17,24,39,.12)}
.home-page .value-item:last-child{border-bottom:0}
.home-page .value-item b{font-size:9px;color:#8b929b;padding-top:4px}
.home-page .value-item .h3{font-size:19px}
.home-page .value-item p{font-size:12px;line-height:1.55;margin-top:5px}
.home-page .value-icon{width:34px;height:34px;border:0;border-radius:999px;background:rgba(4,47,46,.08);color:var(--ref-deep)}

/* ---------- services: two large product stories + support cards ---------- */
.home-page .scene-services{padding:92px 0 110px;background:var(--ref-canvas)}
.home-page .scene-services .section-head{display:block;text-align:center;max-width:720px;margin:0 auto 34px}
.home-page .scene-services .section-head .eyebrow{justify-content:center}
.home-page .scene-services .section-head .lead{margin:12px auto 0;max-width:580px;font-size:14px}
.home-page .scene-services .section-head>.text-link{margin-top:16px}
.home-page .services-bento{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:12px}
.home-page .service-card,.home-page .svc-web,.home-page .svc-wp,.home-page .svc-shop,.home-page .svc-ui,.home-page .svc-seo,.home-page .svc-brand{grid-column:auto;grid-row:auto;border-radius:var(--ref-radius);border:0;box-shadow:none;min-height:245px;padding:24px;background:#fff;color:var(--ref-ink);overflow:hidden}
.home-page .service-card:hover{transform:none;box-shadow:none}
.home-page .service-card:nth-child(1),.home-page .service-card:nth-child(2){grid-column:1/-1;min-height:430px;padding:38px 40px;color:#fff;background:var(--ref-deep)}
.home-page .service-card:nth-child(1)::after,.home-page .service-card:nth-child(2)::after{content:"";position:absolute;inset:0 0 0 auto;width:62%;height:100%;opacity:1;pointer-events:none}
.home-page .service-card:nth-child(1)::after{background:linear-gradient(90deg,var(--ref-deep) 0%,rgba(4,47,46,.82) 18%,rgba(4,47,46,.10) 58%),url('../images/starter/analytics.jpg') center/cover}
.home-page .service-card:nth-child(2){background:#071d1c}
.home-page .service-card:nth-child(2)::after{background:linear-gradient(90deg,#071d1c 0%,rgba(7,29,28,.78) 22%,rgba(7,29,28,.08) 64%),url('../images/starter/web-development.jpg') center/cover}
.home-page .service-card:nth-child(1)>*,.home-page .service-card:nth-child(2)>*{position:relative;z-index:2;max-width:44%}
.home-page .service-card:nth-child(1) h3,.home-page .service-card:nth-child(2) h3{font-size:clamp(30px,3.2vw,45px);font-weight:500;color:#fff}
.home-page .service-card:nth-child(1) p,.home-page .service-card:nth-child(2) p{font-size:13px;line-height:1.6;color:rgba(255,255,255,.74)}
.home-page .service-card .top{align-items:center}
.home-page .service-card .icon{width:36px;height:36px;border:0;border-radius:999px;background:#eef7f5;color:var(--ref-deep)}
.home-page .service-card .arrow{width:34px;height:34px;border:0;border-radius:999px;background:#eef2f1;color:var(--ref-deep)}
.home-page .service-card:nth-child(-n+2) .arrow{background:#fff;color:var(--ref-deep)}
.home-page .service-card:hover .arrow{transform:none;background:var(--ref-teal);color:#fff}
.home-page .service-card .pill{background:#fff;color:var(--ref-deep);border:0;font-size:9px;padding:7px 10px}
.home-page .service-card h3{font-size:22px;font-weight:500}
.home-page .service-card p{font-size:12px;line-height:1.6}
.home-page .svc-seo,.home-page .svc-brand{background:#fff}

/* ---------- about / industries-style split ---------- */
.home-page .scene-paper{padding:100px 0;background:#fff}
.home-page .about-split{grid-template-columns:1fr 1fr;gap:54px;align-items:center}
.home-page .about-photo{min-height:450px;border-radius:var(--ref-radius);position:relative;overflow:hidden;background:#dfe4f0}
.home-page .about-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(4,47,46,.04),rgba(4,47,46,.12)),linear-gradient(90deg,rgba(20,184,166,.08) 1px,transparent 1px),linear-gradient(rgba(20,184,166,.08) 1px,transparent 1px);background-size:auto,38px 38px,38px 38px;pointer-events:none}
.home-page .about-photo img{filter:saturate(.9)}
.home-page .about-copy{max-width:510px}
.home-page .about-copy .h2{font-size:clamp(34px,3.4vw,48px)}
.home-page .about-copy .lead{font-size:14px;margin-bottom:22px}
.home-page .about-points{gap:0;margin:20px 0 24px}
.home-page .about-points span{padding:10px 0;border-bottom:1px solid var(--ref-line);font-size:12px}
.home-page .about-points i{color:var(--ref-teal)}

/* ---------- dark proof band ---------- */
.home-page .proof-band{background:var(--ref-deep);padding:28px 0;color:#fff}
.home-page .proof-row{grid-template-columns:1.2fr repeat(3,.6fr);gap:20px}
.home-page .proof-row h3{font-size:20px;font-weight:500;max-width:410px}
.home-page .proof-stat{border-left:1px solid rgba(255,255,255,.15)}
.home-page .proof-stat strong{font-size:20px;font-weight:500}
.home-page .proof-stat span{color:rgba(255,255,255,.6);font-size:9px}

/* ---------- projects: compact reference cards ---------- */
.home-page .projects-carousel-section{padding:90px 0;background:#fff}
.home-page .projects-carousel-section .section-head{margin-bottom:26px}
.home-page .project-carousel{--project-gap:12px}
.home-page .project-carousel-viewport{overflow:hidden}
.home-page .project-carousel-track{gap:12px}
.home-page .project-card{border:0!important;border-radius:var(--ref-radius)!important;background:#f3f3ef!important;box-shadow:none!important;overflow:hidden;transform:none!important}
.home-page .project-card-link{height:100%;display:flex;flex-direction:column}
.home-page .project-card-media{aspect-ratio:16/9;background:#d5d8d5}
.home-page .project-card-shade{background:linear-gradient(180deg,rgba(4,47,46,.02),rgba(4,47,46,.18))}
.home-page .project-card-tag{left:12px;top:12px;border:0;border-radius:999px;padding:7px 9px;font-size:8px;background:rgba(255,255,255,.92);color:var(--ref-deep)}
.home-page .project-card-number{right:12px;top:12px;font-size:8px}
.home-page .project-card-view{left:12px;bottom:12px;border-radius:999px;padding:8px 10px;font-size:9px;background:#fff;color:var(--ref-deep)}
.home-page .project-card-content{padding:16px 16px 18px;background:#f3f3ef}
.home-page .project-card-title-row{grid-template-columns:1fr auto;gap:10px}
.home-page .project-card-title-row h3{font-size:18px;line-height:1.18;font-weight:500}
.home-page .project-card-arrow{width:29px;height:29px;border:0;border-radius:999px;background:#fff;color:var(--ref-deep)}
.home-page .project-card-content>p{font-size:11px;line-height:1.55;margin:9px 0 14px;color:#5d6671}
.home-page .project-card-meta{font-size:8px;padding-top:10px;border-top:1px solid rgba(17,24,39,.10)}
.home-page .project-carousel-controls{margin-top:16px}
.home-page .project-carousel-arrow{width:36px;height:36px;border:1px solid var(--ref-line);background:#fff;color:var(--ref-deep)}
.home-page .project-carousel-dot{height:4px;background:#d6d9d7}
.home-page .project-carousel-dot.active{background:var(--ref-deep)}

/* ---------- process: airy, technical, not boxed ---------- */
.home-page .scene-process{padding:100px 0;background:var(--ref-canvas)}
.home-page .scene-process .section-head{max-width:760px;margin-bottom:30px}
.home-page .process-wrap{border:0;border-radius:0;background:transparent;padding:0;box-shadow:none}
.home-page .process-rail{height:1px;background:#cfd4d4;margin:28px 18px 34px}
.home-page .process-fill{height:2px;background:var(--ref-teal)}
.home-page .process-node{width:12px;height:12px;border:3px solid #cbd2d1;box-shadow:0 0 0 5px var(--ref-canvas);background:var(--ref-canvas)}
.home-page .process-node.active{border-color:var(--ref-teal)}
.home-page .process-grid{grid-template-columns:repeat(5,1fr);gap:22px}
.home-page .process-card{padding-top:4px}
.home-page .process-card span{font-size:9px;color:#0f766e}
.home-page .process-card h4{font-size:16px;font-weight:550;margin:6px 0 5px}
.home-page .process-card p{font-size:11px;line-height:1.55}

/* ---------- testimonials: trust-story cards ---------- */
.home-page .testimonial-ticker-section{padding:88px 0;background:#fff}
.home-page .testimonial-ticker-shell{gap:12px}
.home-page .testimonial-ticker-card{border:0!important;border-radius:var(--ref-radius)!important;background:#f2f2ed!important;box-shadow:none!important;padding:18px!important;min-height:200px!important}
.home-page .testimonial-ticker-card:hover{transform:none!important;box-shadow:none!important}
.home-page .testimonial-stars{color:var(--ref-deep)}
.home-page .testimonial-verified{background:#e3f6f2;color:#0f766e}
.home-page .testimonial-initial{background:var(--ref-deep)}
.home-page .testimonial-ticker-card blockquote,.home-page .testimonial-ticker-card p{font-size:12px!important;line-height:1.6!important}
.home-page .testimonial-service-tag{border-radius:999px;background:#fff!important;color:#42505a!important;font-size:8px!important}

/* ---------- team: clean portrait cards ---------- */
.home-page .team-section{padding:86px 0;background:#fff}
.home-page .team-grid{gap:12px}
.home-page .team-card{height:390px;perspective:none}
.home-page .team-inner{transform:none!important;transition:none}
.home-page .team-face{border-radius:var(--ref-radius)}
.home-page .team-front{position:absolute;background:#dfe3e0}
.home-page .team-front::after{height:42%;background:linear-gradient(transparent,rgba(4,47,46,.62))}
.home-page .team-front .role-label{left:12px;bottom:12px;border-radius:999px;padding:7px 9px;background:#fff;color:var(--ref-deep);font-size:8px}
.home-page .team-back{display:none}

/* ---------- pricing: simple editorial modules ---------- */
.home-page .scene-pricing{padding:92px 0;background:var(--ref-canvas)}
.home-page .pricing-grid{gap:12px}
.home-page .price-card{border:0;border-radius:var(--ref-radius);background:#fff;padding:26px;box-shadow:none}
.home-page .price-card.featured{background:var(--ref-deep);color:#fff;transform:none}
.home-page .price-card .h3{font-size:20px}
.home-page .price-card p{font-size:12px}
.home-page .price{font-size:31px;font-weight:500;margin:16px 0}
.home-page .price-card li{font-size:11px;padding:8px 0;border-bottom:1px solid rgba(17,24,39,.10)}
.home-page .price-card.featured li{border-color:rgba(255,255,255,.13)}
.home-page .price-card .btn{width:max-content}

/* ---------- latest news ---------- */
.home-page .scene-blog{padding:88px 0;background:#fff}
.home-page .blog-grid{grid-template-columns:repeat(3,1fr);gap:18px}
.home-page .post-card,.home-page .post-card:first-child{border:0;border-radius:0;background:transparent;overflow:visible;box-shadow:none}
.home-page .post-card img,.home-page .post-card:first-child img{height:205px;border-radius:var(--ref-radius);object-fit:cover}
.home-page .post-copy{padding:14px 0 0}
.home-page .post-copy .eyebrow{font-size:8px}
.home-page .post-copy h3{font-size:17px;line-height:1.25;font-weight:500;margin:8px 0}
.home-page .post-copy p{font-size:11px;line-height:1.55;color:#69727c;margin:0 0 10px}
.home-page .post-copy .text-link{font-size:10px}

/* ---------- FAQ as quiet editorial list ---------- */
.home-page .scene-faq{padding:88px 0;background:#fff}
.home-page .faq-grid{grid-template-columns:.78fr 1.22fr;gap:70px}
.home-page .faq-list{border-top:1px solid rgba(17,24,39,.14)}
.home-page .faq-item{border-bottom:1px solid rgba(17,24,39,.14)}
.home-page .faq-q{padding:19px 0;font-size:13px;font-weight:500}
.home-page .faq-a{font-size:12px;line-height:1.65;color:#626b75}

/* ---------- full image CTA ---------- */
.home-page .scene-final{padding:0;background:#fff}
.home-page .scene-final .container{width:100%;max-width:none}
.home-page .cta{min-height:340px;border-radius:0;border:0;padding:58px max(24px,calc((100vw - var(--ref-container))/2));background:linear-gradient(180deg,rgba(4,47,46,.30),rgba(4,47,46,.65)),url('../images/starter/about.jpg') center 42%/cover;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:none}
.home-page .cta::after{display:none}
.home-page .cta>div{max-width:700px}
.home-page .cta .eyebrow{justify-content:center!important;color:#d7fff7!important}
.home-page .cta h2{font-size:clamp(34px,3.5vw,50px);font-weight:500;max-width:700px;margin:8px auto}
.home-page .cta p{max-width:600px;margin:10px auto 20px;color:rgba(255,255,255,.82);font-size:13px}
.home-page .cta>.btn{position:relative;margin-top:8px}

/* ---------- footer ---------- */
footer{background:#111318;color:#fff;padding:58px 0 26px}
.footer-grid{gap:38px}
.footer-brand p,.footer-newsletter p{font-size:11px;color:#9aa2ad}
.footer-col h4{font-size:9px;color:#7f8792}
.footer-col a{font-size:10px;color:#c8cdd4;padding:4px 0}
.footer-newsletter{padding-bottom:38px;margin-bottom:38px}
.footer-newsletter h3{font-size:clamp(25px,2.5vw,34px);font-weight:500}
.footer-socials a{width:33px;height:33px;border-radius:999px}
.footer-bottom{margin-top:38px;padding-top:16px;font-size:9px}

/* ---------- inner pages: same visual family ---------- */
body:not(.home) .inner-hero,body:not(.home) .archive-hero{background:#fff}
.inner-hero{padding:126px 0 72px}
.inner-hero-grid{gap:50px}
.inner-media{height:470px;border-radius:var(--ref-radius)}
.inner-badge{border-radius:var(--ref-radius);box-shadow:var(--ref-shadow);padding:13px 15px}
.info-card,.case-card,.price-card,.form-card,.related-card,.feature-card,.pricing-callout,.review-cta,.testimonial-card,.service-showcase-card,.project-showcase-card{border-radius:var(--ref-radius)!important}
.info-card,.form-card,.related-card,.feature-card,.pricing-callout,.review-cta{box-shadow:none;border-color:var(--ref-line)}
.service-row{padding:22px 0}
.service-row h3{font-size:24px;font-weight:500}
.case-card{border:0;background:#f3f3ef}
.case-copy{padding:26px}
.project-showcase-card{border:0!important;box-shadow:none!important;background:#f3f3ef!important}
.project-showcase-media{border-radius:var(--ref-radius) var(--ref-radius) 0 0}
.form-card{padding:28px}
.field input,.field textarea,.field select{border-radius:var(--ref-radius);border-color:#d8dcde}

/* ---------- mega menu ---------- */
.services-mega-shell{border-radius:var(--ref-radius);box-shadow:0 24px 60px rgba(17,24,39,.12);border:1px solid rgba(17,24,39,.08)}
.mega-service-link{border-radius:var(--ref-radius)}
.mega-convert-card{border-radius:var(--ref-radius);background:var(--ref-deep)}

/* ---------- dark mode ---------- */
html[data-theme="dark"] body{background:#061817;color:#f7faf9}
html[data-theme="dark"] .site-header,html[data-theme="dark"] .site-header.scrolled{background:rgba(4,20,19,.95);border-bottom-color:rgba(255,255,255,.08)}
html[data-theme="dark"] .desktop-nav a{color:#c7d1cf}
html[data-theme="dark"] .desktop-nav a:hover,html[data-theme="dark"] .desktop-nav a.active{color:#fff}
html[data-theme="dark"] .home-page .hero,html[data-theme="dark"] .home-page .platform-bar,html[data-theme="dark"] .home-page .scene-grid,html[data-theme="dark"] .home-page .scene-paper,html[data-theme="dark"] .home-page .projects-carousel-section,html[data-theme="dark"] .home-page .testimonial-ticker-section,html[data-theme="dark"] .home-page .team-section,html[data-theme="dark"] .home-page .scene-blog,html[data-theme="dark"] .home-page .scene-faq{background:#061817}
html[data-theme="dark"] .home-page .scene-services,html[data-theme="dark"] .home-page .scene-process,html[data-theme="dark"] .home-page .scene-pricing{background:#0a2321}
html[data-theme="dark"] .home-page .service-card,html[data-theme="dark"] .home-page .price-card,html[data-theme="dark"] .home-page .project-card,html[data-theme="dark"] .home-page .project-card-content,html[data-theme="dark"] .home-page .testimonial-ticker-card{background:#0b2927!important;color:#f7faf9!important}
html[data-theme="dark"] .home-page .service-card:nth-child(-n+2){background:#042f2e!important}
html[data-theme="dark"] .home-page .post-copy p,html[data-theme="dark"] .home-page .project-card-content>p,html[data-theme="dark"] .home-page .service-card p{color:#b6c4c2!important}
html[data-theme="dark"] .home-page .about-points span,html[data-theme="dark"] .home-page .faq-item,html[data-theme="dark"] .home-page .faq-list{border-color:rgba(255,255,255,.11)}
html[data-theme="dark"] .home-page .value-list{background:linear-gradient(180deg,rgba(7,37,35,.90),rgba(7,37,35,.96)),url('../images/starter/about.jpg') center/cover}
html[data-theme="dark"] .home-page .value-item{border-color:rgba(255,255,255,.11)}
html[data-theme="dark"] footer{background:#050c0c}

/* ---------- responsive ---------- */
@media(max-width:1050px){
  .home-page .hero-frame{height:520px}
  .home-page .value-grid{grid-template-columns:1fr;min-height:0}
  .home-page .value-grid>div:first-child{min-height:390px}
  .home-page .service-card:nth-child(1),.home-page .service-card:nth-child(2){min-height:390px}
  .home-page .about-split{gap:36px}
  .home-page .process-grid{grid-template-columns:repeat(3,1fr);gap:24px 18px}
  .home-page .process-card:nth-child(n+4){padding-top:16px}
}

@media(max-width:820px){
  .container,.nav{width:min(calc(100% - 30px),var(--ref-container))}
  .mobile-panel{background:#fff}
  html[data-theme="dark"] .mobile-panel{background:#061817}
  .home-page .hero{padding-top:112px}
  .home-page .hero-copy{margin-bottom:28px}
  .home-page .hero-frame{height:450px}
  .home-page .platforms{justify-content:center}
  .home-page .value-grid>div:first-child{padding:38px;min-height:360px}
  .home-page .value-list{padding:28px 32px}
  .home-page .services-bento{grid-template-columns:1fr}
  .home-page .service-card,.home-page .service-card:nth-child(1),.home-page .service-card:nth-child(2){grid-column:1;min-height:300px;padding:28px}
  .home-page .service-card:nth-child(1)::after,.home-page .service-card:nth-child(2)::after{width:58%}
  .home-page .service-card:nth-child(1)>*,.home-page .service-card:nth-child(2)>*{max-width:48%}
  .home-page .about-split{grid-template-columns:1fr}
  .home-page .about-photo{min-height:410px}
  .home-page .proof-row{grid-template-columns:1fr 1fr}
  .home-page .proof-row h3{grid-column:1/-1}
  .home-page .process-grid{grid-template-columns:1fr 1fr}
  .home-page .blog-grid{grid-template-columns:1fr 1fr}
  .home-page .blog-grid .post-card:first-child{grid-column:1/-1}
  .home-page .faq-grid{grid-template-columns:1fr;gap:34px}
}

@media(max-width:560px){
  .container,.nav{width:min(calc(100% - 22px),var(--ref-container))}
  .section{padding:64px 0}
  .home-page .hero{padding:100px 0 24px}
  .home-page .hero-copy .display{font-size:clamp(42px,13vw,58px)}
  .home-page .hero-copy .lead{font-size:13px}
  .home-page .hero-actions{display:flex;flex-direction:column;align-items:stretch}
  .home-page .hero-actions .btn{width:100%}
  .home-page .hero-frame{height:330px}
  .home-page .hero-chip{left:12px;top:12px;max-width:calc(100% - 24px)}
  .home-page .hero-float{right:12px;bottom:12px;width:calc(100% - 24px)}
  .home-page .platforms{gap:12px 18px}
  .home-page .platforms span{font-size:9px}
  .home-page .value-grid>div:first-child{padding:28px;min-height:330px}
  .home-page .value-list{padding:20px 24px}
  .home-page .value-item{grid-template-columns:32px 1fr;padding:16px 0}
  .home-page .value-icon{display:none}
  .home-page .scene-services{padding:68px 0}
  .home-page .service-card,.home-page .service-card:nth-child(1),.home-page .service-card:nth-child(2){min-height:300px;padding:24px}
  .home-page .service-card:nth-child(1)::after,.home-page .service-card:nth-child(2)::after{width:100%;opacity:.72}
  .home-page .service-card:nth-child(1)::before,.home-page .service-card:nth-child(2)::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,47,46,.96),rgba(4,47,46,.62));z-index:1}
  .home-page .service-card:nth-child(2)::before{background:linear-gradient(90deg,rgba(7,29,28,.98),rgba(7,29,28,.64))}
  .home-page .service-card:nth-child(1)>*,.home-page .service-card:nth-child(2)>*{max-width:100%;z-index:2}
  .home-page .service-card:nth-child(1) h3,.home-page .service-card:nth-child(2) h3{font-size:30px}
  .home-page .about-photo{min-height:330px}
  .home-page .proof-row{grid-template-columns:1fr}
  .home-page .proof-stat{border-left:0;border-top:1px solid rgba(255,255,255,.13);padding:12px 0 0}
  .home-page .process-rail{display:none}
  .home-page .process-grid{grid-template-columns:1fr}
  .home-page .process-card{padding:14px 0;border-bottom:1px solid rgba(17,24,39,.10)}
  .home-page .process-card:last-child{border-bottom:0}
  .home-page .team-card{height:460px}
  .home-page .pricing-grid{grid-template-columns:1fr}
  .home-page .blog-grid{grid-template-columns:1fr}
  .home-page .blog-grid .post-card:first-child{grid-column:auto}
  .home-page .post-card img,.home-page .post-card:first-child img{height:230px}
  .home-page .cta{min-height:320px;padding:44px 22px}
}
