/* Final visual system: richer brand color, tighter rhythm, and resilient grids. */
:root {
  --ink: #15152c;
  --muted-ink: #62677a;
  --brand-violet: #5945f5;
  --brand-deep: #3829bd;
  --brand-mint: #22b89b;
  --surface-lilac: #f5f3ff;
  --surface-mint: #effbf8;
  --border-soft: #e8e6f3;
  --container: 1220px;
}

html { scroll-padding-top: 86px; }
body { color: var(--ink); font-size: 15px; }
::selection { color: #fff; background: var(--brand-violet); }
h1, h2, h3 { text-wrap: balance; }
.container { width: min(var(--container), calc(100% - 64px)); }
.section-pad { padding-block: 96px; }

/* A calmer, more legible navigation with a clear primary action. */
.site-header { background: rgba(255,255,255,.9); border-bottom-color: #e9e7f2; box-shadow: 0 8px 28px rgba(27,24,75,.055); }
.brand-mark { background: linear-gradient(145deg,#715fff,#4933e1); box-shadow: 0 7px 18px #513ff83d; }
.brand-accent { color: var(--brand-violet); }
.primary-nav { gap: clamp(5px,1.2vw,16px); }
.nav-link { padding: 9px 10px; border-radius: 8px; transition: background .18s,color .18s; }
.nav-link:hover,.nav-link:focus-visible { background: #f2f0ff; color: var(--brand-deep); }
.nav-link.is-active { background: #f3f1ff; color: var(--brand-deep); }
.header-cta,.button:not(.button-outline):not(.button-white) { border-color: transparent; background: linear-gradient(115deg,#5a46f4,#4734d8); box-shadow: 0 8px 20px #513ff82c; transition: transform .18s,box-shadow .18s,filter .18s; }
.header-cta:hover,.button:not(.button-outline):not(.button-white):hover { transform: translateY(-2px); box-shadow: 0 12px 26px #513ff83c; filter: saturate(1.12); }
.button-outline { border-color: #d9d5f7; color: #4938da; background: #fff; transition: transform .18s,border-color .18s,background .18s; }
.button-outline:hover { transform: translateY(-2px); border-color: #a69aff; background: #faf9ff; }
.button:focus-visible,.nav-link:focus-visible,.text-link:focus-visible,a:focus-visible,button:focus-visible,summary:focus-visible { outline: 3px solid #22b89b8c; outline-offset: 3px; }
.dropdown { border-color: #e9e6f8; box-shadow: 0 22px 55px #1b174a1c; }

/* The homepage opens with a soft violet-to-mint wash, then a high-contrast proof band. */
.hero { padding-bottom: 22px; background: radial-gradient(ellipse at 80% 22%,#e9e5ff 0,transparent 35%),radial-gradient(ellipse at 54% 93%,#e9f9f5 0,transparent 34%),linear-gradient(115deg,#fff 0%,#fbfaff 68%,#f7fffd 100%); }
.hero.section-pad { padding-block: 68px 26px; }
.hero::after { border-color: #5845f51c; box-shadow: 0 0 0 44px #5845f508,0 0 0 92px #22b89b0a; }
.hero h1 { max-width: 680px; color: #19182f; text-wrap: pretty; }
.hero h1 span { color: transparent; background: linear-gradient(110deg,#5945f5 4%,#7861ff 58%,#17a98d 108%); background-clip: text; -webkit-background-clip: text; }
.eyebrow { color: #4031be; border-color: #dedaff; background: #fff9; box-shadow: 0 6px 20px #3526ac0b; }
.eyebrow-dot { background: var(--brand-mint); box-shadow: 0 0 0 4px #22b89b20; }
.hero-proof { border-color: #dedbf3; }
.hero-proof > div { padding: 8px 18px; border-radius: 10px; background: #ffffff99; }
.hero-proof strong { color: #3426b8; }
.hero-art { filter: drop-shadow(0 16px 24px #3025750c); }
.art-orbit { border-color: #5945f51f; }
.client-strip { border-block-color: #efedf6; background: linear-gradient(90deg,#fff,#fcfbff 50%,#f9fffd); }
.client-logos img { opacity: .52; }
.client-logos img:hover { opacity: .88; }
.metrics-strip { border-color: #262047; background: linear-gradient(105deg,#1c1b35 0%,#30256f 56%,#4938c8 100%); }
.metrics-grid { padding-block: 26px; }
.metrics-grid > div { border-color: #ffffff31; }
.metrics-grid strong { color: #fff; }
.metrics-grid div > span { color: #d2cfff; }

/* More color differentiation between content chapters without adding visual noise. */
.services-section { background: linear-gradient(180deg,#fff 0%,#fbfaff 100%); }
.service-card { border-color: #e8e5f4; box-shadow: 0 12px 30px #241c6a08; }
.service-card:nth-child(1) .service-icon { background: #eaf9f5; color: #148b74; }
.service-card:nth-child(2) .service-icon { background: #efedff; color: #4c38df; }
.service-card:nth-child(3) .service-icon { background: #fff3e8; color: #c46b28; }
.service-card:hover { border-color: #bcb3ff; box-shadow: 0 22px 50px #3829bd17; }
.card-arrow { color: var(--brand-violet); }
.why-section { background: linear-gradient(115deg,#f5f3ff 0%,#f4f6ff 52%,#effbf8 100%); }
.why-section::after { border-color: #5845f51c; box-shadow: 0 0 0 50px #5845f508,0 0 0 100px #22b89b0b; }
.principles > div:nth-child(2) > span { color: #14947b; background: #e4f7f2; }
.approach-section { background: #fff; }
.approach-card { box-shadow: 0 12px 32px #241c6a08; }
.approach-card:nth-child(2) .approach-icon { color: #148b74; background: #eaf9f5; border-color: #d6f1e8; }
.results-section { position:relative; isolation:isolate; overflow:hidden; background:radial-gradient(ellipse at 8% 0%,#513ff843,transparent 39%),radial-gradient(ellipse at 94% 87%,#1cae9630,transparent 32%),linear-gradient(125deg,#17162b 0%,#211c4b 56%,#25215a 100%); }
.results-section::after { content:""; position:absolute; z-index:-1; top:40px; right:-160px; width:500px; height:500px; border:1px solid #ffffff13; border-radius:50%; box-shadow:0 0 0 45px #ffffff08,0 0 0 92px #ffffff05; pointer-events:none; }
.results-section .container { position:relative; z-index:1; }
.results-section .section-heading h2 { color:#fff; }
.results-section .section-label { color:#9fe4d5; }
.results-section .section-intro { color:#d1cfe1; }
.results-section .section-intro p { color:#d1cfe1; }
.results-section .section-intro .text-link { color:#c2b9ff; }
.proof-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; }
.proof-card { display:flex; flex-direction:column; min-width:0; min-height:100%; overflow:hidden; border:1px solid #ffffff35; border-radius:15px; background:#fff; box-shadow:0 18px 40px #0807133d; transition:transform .22s,border-color .22s,box-shadow .22s; }
.proof-card:hover { transform:translateY(-6px); border-color:#b7acf9; box-shadow:0 27px 55px #09081761; }
.proof-visual { position:relative; display:block; min-width:0; min-height:0; aspect-ratio:1.62; overflow:hidden; background:#e8e5f4; }
.proof-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,#18162a50 0%,transparent 34%,#18162a72 100%); pointer-events:none; }
.proof-visual img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; transition:transform .45s; }
.proof-card:hover .proof-visual img { transform:scale(1.045); }
.proof-index { position:absolute; z-index:1; top:14px; left:14px; padding:7px 9px; border:1px solid #ffffff70; border-radius:99px; background:#211d3973; color:#fff; font-size:8px; font-weight:700; letter-spacing:.75px; backdrop-filter:blur(7px); }
.proof-index i { padding-inline:3px; color:#c3baff; font-style:normal; }
.proof-metric { position:absolute; z-index:1; bottom:14px; left:14px; display:grid; gap:2px; min-width:119px; padding:10px 12px; border:1px solid #ffffffb8; border-radius:9px; background:#fffefa; box-shadow:0 9px 22px #11101f24; }
.proof-metric small { color:#686d7e; font-size:7px; font-weight:800; letter-spacing:.7px; }
.proof-metric strong { color:#211c51; font:800 24px/1.08 var(--heading); letter-spacing:-1px; }
.proof-arrow { position:absolute; z-index:1; top:13px; right:13px; display:grid; place-items:center; width:31px; height:31px; border:1px solid #ffffffa8; border-radius:50%; background:#ffffffec; color:#4d3de0; font-size:15px; transition:transform .2s; }
.proof-card:hover .proof-arrow { transform:translate(2px,-2px); }
.proof-copy { display:flex; flex:1; flex-direction:column; align-items:flex-start; min-width:0; padding:19px 18px 17px; }
.proof-type { color:#6256c9; font-size:8px; font-weight:800; letter-spacing:.85px; }
.proof-title { margin-top:9px; color:#19192d; font:800 17px/1.25 var(--heading); letter-spacing:-.45px; }
.proof-description { margin-top:7px; color:#686d7d; font-size:9px; line-height:1.7; }
.proof-link { display:flex; align-items:center; gap:8px; margin-top:auto; padding-top:14px; color:#4f3cdd; font-size:9px; font-weight:800; }
.proof-link b { font-size:14px; transition:transform .2s; }
.proof-card:hover .proof-link b { transform:translateX(3px); }
.proof-card:nth-child(3) .proof-type { color:#148b74; }
.seo-results-section { background:linear-gradient(130deg,#f4f2ff 0%,#f4faf9 55%,#faf9ff 100%); }
.seo-results-layout { display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); align-items:stretch; gap:24px; }
.seo-results-intro { position:relative; isolation:isolate; display:flex; flex-direction:column; align-items:flex-start; min-width:0; min-height:510px; padding:34px; overflow:hidden; border-radius:18px; background:radial-gradient(circle at 100% 0%,#20b49753,transparent 32%),linear-gradient(145deg,#28215f 0%,#4938c9 72%,#5542dc 100%); box-shadow:0 22px 48px #34279724; color:#fff; }
.seo-results-intro::after { content:""; position:absolute; z-index:-1; right:-75px; bottom:-85px; width:230px; height:230px; border:1px solid #ffffff35; border-radius:50%; box-shadow:0 0 0 24px #ffffff0b,0 0 0 52px #ffffff08; }
.seo-results-intro .section-label { color:#9ce6d7; }
.seo-results-intro h2 { margin:18px 0 14px; color:#fff; font:800 clamp(38px,4.1vw,54px)/1.07 var(--heading); letter-spacing:-2.5px; }
.seo-results-intro>p { max-width:360px; margin:0; color:#dedbf8; font-size:12px; line-height:1.85; }
.seo-results-note { display:flex; align-items:center; gap:12px; margin-top:auto; padding-top:32px; }
.seo-results-count { display:grid; place-items:center; width:44px; height:44px; flex:0 0 auto; border:1px solid #ffffff52; border-radius:14px; background:#ffffff12; color:#fff; font:800 12px var(--heading); }
.seo-results-note>span:last-child { display:grid; gap:3px; }
.seo-results-note strong { color:#fff; font:700 10px var(--heading); }
.seo-results-note small { color:#d0cdf1; font-size:9px; }
.seo-results-intro .text-link { margin-top:21px; color:#d6d0ff; font-size:10px; }
.seo-results-list { display:grid; align-content:center; gap:10px; min-width:0; }
.seo-result-row { display:grid; grid-template-columns:76px minmax(0,1fr) minmax(92px,auto) 30px; align-items:center; gap:14px; min-width:0; padding:12px 15px 12px 12px; border:1px solid #e5e3f1; border-radius:13px; background:#fff; box-shadow:0 7px 20px #25204e08; transition:transform .2s,border-color .2s,box-shadow .2s; }
.seo-result-row:hover { transform:translateX(4px); border-color:#bdb4ff; box-shadow:0 13px 27px #33298312; }
.seo-result-thumb { width:76px; height:76px; overflow:hidden; border-radius:9px; background:#eeedf5; }
.seo-result-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.seo-result-row:hover .seo-result-thumb img { transform:scale(1.07); }
.seo-result-main { display:grid; gap:4px; min-width:0; }
.seo-result-type { color:#777b8e; font-size:7px; font-weight:800; letter-spacing:.8px; }
.seo-result-main strong { overflow-wrap:anywhere; color:#1b1a30; font:800 15px/1.25 var(--heading); letter-spacing:-.35px; }
.seo-result-caption { color:#707486; font-size:9px; line-height:1.5; }
.seo-result-stat { display:grid; justify-items:end; gap:2px; min-width:0; text-align:right; }
.seo-result-stat strong { color:#4836d0; font:800 27px/1 var(--heading); letter-spacing:-1px; }
.seo-result-stat small { color:#777b8b; font-size:7px; font-weight:700; line-height:1.35; }
.seo-result-arrow { display:grid; place-items:center; width:29px; height:29px; border:1px solid #e8e5f4; border-radius:50%; color:#513ff8; font-size:14px; transition:transform .2s,background .2s; }
.seo-result-row:hover .seo-result-arrow { transform:translate(2px,-2px); background:#f2f0ff; }
.seo-result-row:nth-child(3) .seo-result-stat strong { color:#168c76; }
.testimonial-section { background: linear-gradient(120deg,#fff 25%,#f7f5ff 78%,#f0fbf8); }
.testimonial-card { border-color: #dfdcf2; }
.quote-mark { color: #6a57f4; }
.stars { color: #e8a83d; }
.process-section { background: linear-gradient(120deg,#f7f6ff,#f0faf8); }
.process-grid:before { background: linear-gradient(90deg,#c9c1ff,#bfece0); }
.step-number { background: #fff; color: #4c3bdb; }
.cta-section { position: relative; overflow: hidden; background: linear-gradient(112deg,#30227f 0%,#513ff8 57%,#267e9d 122%); }
.cta-section::before,.cta-section::after { border-color: #ffffff26; }
.cta-aside { border-color: #ffffff4d; background: #ffffff12; }

/* Inner-page hero and cards share the same layered color language. */
.inner-page .page-hero { background: radial-gradient(ellipse at 86% 24%,#e9e5ff 0,transparent 35%),radial-gradient(ellipse at 23% 100%,#eaf9f5 0,transparent 37%),linear-gradient(125deg,#fff 0%,#faf9ff 67%,#f5fffc 100%); }
.inner-page .page-hero::after { border-color: #5845f51c; box-shadow: 0 0 0 42px #5845f508,0 0 0 86px #22b89b0a; }
.page-hero-copy h1,.case-hub-hero h1 { color: #1b1934; }
.page-hero-copy h1 span,.case-hub-hero h1 span { color: transparent; background: linear-gradient(105deg,#5945f5,#8068ff 62%,#159f89); background-clip: text; -webkit-background-clip: text; }
.page-hero-visual { border-color: #fff; box-shadow: 0 32px 80px #2c246119,0 0 0 1px #e3e0f2; }
.page-hero-visual::before { border-color: #22b89b38; }
.visual-label-dot { background: var(--brand-mint); box-shadow: 0 0 0 4px #22b89b20; }
.visual-index strong { color: var(--brand-violet); }
.about-numbers { background: linear-gradient(108deg,#19182e 0%,#2b2361 62%,#3e328f 100%); }
.about-number-grid strong span { color: #9c8fff; }
.team-section,.niches-section { background: linear-gradient(180deg,#f8f7ff,#fff 72%); }
.team-card,.package-card,.included-grid article,.page-service-card,.reason-grid article,.seo-story,.library-card { box-shadow: 0 12px 30px #241c6a09; }
.team-card:hover,.package-card:hover,.included-grid article:hover,.page-service-card:hover,.reason-grid article:hover { border-color: #c4bdff; box-shadow: 0 20px 42px #3829bd13; }
.package-featured { background: linear-gradient(180deg,#f7f5ff,#fff 42%); border-color: #9b8fff; }
.package-badge { background: linear-gradient(110deg,#5945f5,#4934d6); }
.niche-grid span:nth-child(4n+2) { background: #f2f0ff; border-color: #e5e1ff; }
.niche-grid span:nth-child(4n+3) { background: #effbf8; border-color: #dcf3ec; }
.service-process,.about-process { background: linear-gradient(120deg,#f4f2ff,#f2fbf9); }
.timeline-grid article { box-shadow: 0 9px 24px #241c6a07; }
.timeline-grid article:nth-child(even)>span { color: #138a73; background: #e4f7f2; }
.page-service-card:nth-child(3n+1) .page-service-icon { background: #eaf9f5; color: #148b74; }
.page-service-card:nth-child(3n+2) .page-service-icon { background: #efedff; color: #4c38df; }
.page-service-card:nth-child(3n) .page-service-icon { background: #fff3e8; color: #bd6a32; }
.reason-grid article:nth-child(even)>span { color: #138a73; background: #e4f7f2; }
.portfolio-grid>a,.project-card,.website-project-image { box-shadow: 0 16px 38px #241c6a12; }
.portfolio-grid>a:hover,.website-project:hover .website-project-image { box-shadow: 0 24px 50px #3829bd20; }
.faq-section { background: linear-gradient(180deg,#fff,#fbfaff); }
.faq-list summary::after { background: #eeebff; }
.case-library,.website-projects { background: linear-gradient(135deg,#f6f4ff,#f4fbfa 68%,#fff); }
.library-card,.seo-story { border-color: #e2dfef; }
.library-result { border-color: #fff; }
.seo-story:nth-child(2) .seo-outcome { background: #f4fffc; }
.seo-story:nth-child(3) .seo-outcome { background: #f8f6ff; }
.seo-story:nth-child(4) .seo-outcome { background: #fffaf1; }
.website-project-image { border-color: #fff; }
.case-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.case-feature-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #e1deef; border-radius:16px; background:#fff; box-shadow:0 13px 34px #241c6a0a; transition:transform .22s,border-color .22s,box-shadow .22s; }
.case-feature-card:hover { transform:translateY(-5px); border-color:#bcb3ff; box-shadow:0 22px 48px #30257918; }
.case-feature-visual { position:relative; display:block; aspect-ratio:1.85; overflow:hidden; background:#e8e5f4; }
.case-feature-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,#19172e55 0%,transparent 39%,#19172e4d 100%); pointer-events:none; }
.case-feature-visual>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .45s; }
.case-feature-card:hover .case-feature-visual>img { transform:scale(1.045); }
.case-feature-category { position:absolute; z-index:1; top:14px; left:14px; padding:8px 10px; border:1px solid #ffffff76; border-radius:99px; background:#211d3978; color:#fff; font-size:8px; font-weight:800; letter-spacing:.8px; backdrop-filter:blur(7px); }
.case-feature-category i { padding-inline:3px; color:#c5bdff; font-style:normal; }
.case-feature-result { position:absolute; z-index:1; bottom:14px; left:14px; display:grid; gap:2px; min-width:125px; padding:10px 13px; border:1px solid #ffffffc5; border-radius:10px; background:#fffefa; box-shadow:0 10px 24px #11101f2b; }
.case-feature-result small { color:#6e7281; font-size:7px; font-weight:800; letter-spacing:.7px; }
.case-feature-result strong { color:#201b50; font:800 25px/1.08 var(--heading); letter-spacing:-1px; }
.case-feature-arrow { position:absolute; z-index:1; top:13px; right:13px; display:grid; place-items:center; width:32px; height:32px; border:1px solid #ffffffa3; border-radius:50%; background:#fff; color:#4d3cdb; font-size:15px; transition:transform .2s; }
.case-feature-card:hover .case-feature-arrow { transform:translate(2px,-2px); }
.case-feature-copy { display:grid; align-content:start; grid-template-columns:minmax(0,1fr) auto; gap:6px 12px; padding:19px 21px 18px; }
.case-feature-index { grid-column:1/-1; color:#85899a; font-size:8px; font-weight:800; letter-spacing:.8px; }
.case-feature-copy>strong { color:#1c1b31; font:800 19px/1.2 var(--heading); letter-spacing:-.45px; }
.case-feature-headline { grid-column:1/-1; min-height:32px; color:#696d7d; font-size:10px; line-height:1.65; }
.case-feature-link { grid-column:1/-1; display:flex; align-items:center; gap:8px; padding-top:6px; color:#4f3cdd; font-size:9px; font-weight:800; }
.case-feature-link b { font-size:14px; transition:transform .2s; }
.case-feature-card:hover .case-feature-link b { transform:translateX(3px); }
.page-cta { background: radial-gradient(circle at 86% 12%,#28b89b55,transparent 27%),linear-gradient(112deg,#30227f,#513ff8 62%,#5740d6); }
.page-cta .button-white { color: #3929bd; }
.site-footer { background: linear-gradient(112deg,#141424,#1e1c3c 70%,#25245a); }
.footer-col h2 { color: #c9c5fa; }

/* Website portfolio: fuller previews, a calmer project index, and room for each brand. */
.work-section { background:linear-gradient(135deg,#f6f4ff 0%,#f5fbfa 58%,#fbfaff 100%); }
.work-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:38px; margin-bottom:34px; }
.work-heading h2 { margin:12px 0 0; color:#19182f; font:800 clamp(38px,4.3vw,54px)/1.08 var(--heading); letter-spacing:-2.6px; }
.work-heading .section-label i { color:#19a78d; font-style:normal; }
.work-heading-aside { max-width:390px; padding:0 0 4px; }
.work-heading-aside p { margin:0 0 13px; color:#62677a; font-size:12px; line-height:1.8; }
.work-heading-aside .text-link { font-size:10px; }
.work-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px 20px; }
.work-project { display:block; min-width:0; }
.work-preview { position:relative; display:block; aspect-ratio:1.78; padding:18px 18px 0; overflow:hidden; border:1px solid #e3e0ef; border-radius:15px; }
.preview-lilac { background:linear-gradient(135deg,#e8e3ff,#cbc4ff); }
.preview-mint { background:linear-gradient(135deg,#e5f8f1,#b9e9d8); }
.preview-peach { background:linear-gradient(135deg,#fff0e6,#f5d0b9); }
.preview-blue { background:linear-gradient(135deg,#e8efff,#c4d5fb); }
.work-window { position:absolute; inset:18px 18px 0; display:flex; flex-direction:column; overflow:hidden; border:4px solid #fff; border-bottom:0; border-radius:11px 11px 0 0; background:#fff; box-shadow:0 16px 35px #25204e1e; transition:transform .3s,box-shadow .3s; }
.work-browser { display:flex; flex:0 0 31px; align-items:center; gap:11px; padding:0 10px; border-bottom:1px solid #ecebf2; background:#fff; }
.browser-dots { display:flex; gap:4px; }
.browser-dots i { width:6px; height:6px; border-radius:50%; background:#f18c84; }
.browser-dots i:nth-child(2) { background:#efbf59; }
.browser-dots i:nth-child(3) { background:#62c695; }
.work-browser small { color:#888b99; font-size:7px; font-weight:700; letter-spacing:.8px; }
.work-browser>b { margin-left:auto; color:#5a48e7; font-size:11px; }
.work-window>img { width:100%; height:calc(100% - 31px); min-height:0; object-fit:cover; object-position:top center; transition:transform .5s; }
.work-number { position:absolute; z-index:1; right:14px; bottom:13px; display:grid; place-items:center; width:31px; height:31px; border:1px solid #ffffff95; border-radius:50%; background:#211d3978; color:#fff; font:700 8px var(--heading); backdrop-filter:blur(6px); }
.work-details { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:15px 3px 0; }
.work-details>span { display:grid; gap:4px; min-width:0; }
.work-details small { color:#767b8d; font-size:8px; font-weight:800; letter-spacing:.85px; }
.work-details strong { overflow-wrap:anywhere; color:#1a192f; font:800 18px/1.2 var(--heading); letter-spacing:-.4px; }
.work-details>b { display:grid; place-items:center; width:35px; height:35px; flex:0 0 auto; border:1px solid #dedbf2; border-radius:50%; background:#fff; color:#5040dc; font-size:16px; transition:transform .2s,background .2s; }
.work-project:hover .work-window { transform:translateY(-5px); box-shadow:0 22px 45px #25204e2b; }
.work-project:hover .work-window>img { transform:scale(1.025); }
.work-project:hover .work-details>b { transform:translate(2px,-2px); background:#f0eeff; }

/* Mid-width layouts keep proof metrics and multi-column sections readable. */
@media (max-width: 1050px) {
  .container { width: min(var(--container),calc(100% - 48px)); }
  .primary-nav { gap: 4px; }
  .nav-link { padding-inline: 7px; font-size: 11px; }
  .metrics-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .metrics-grid>div:nth-child(3) { border-right: 0; }
  .metrics-grid>div:nth-child(4) { border-right: 1px solid #ffffff31; }
  .metrics-grid>div:nth-child(4),.metrics-grid>div:nth-child(5) { margin-top: 9px; }
  .metrics-grid>div:nth-child(5) { border-right: 0; }
  .metrics-grid>div:nth-child(4) { grid-column: 1/2; }
  .metrics-grid>div:nth-child(5) { grid-column: 2/4; }
  .hero-proof { gap: 8px; }
  .proof-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  .seo-results-layout { grid-template-columns:1fr; }
  .seo-results-intro { min-height:0; padding:30px; }
  .seo-results-note { margin-top:25px; padding-top:0; }
  .case-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .case-feature-visual { aspect-ratio:1.55; }
  .work-heading { align-items:flex-start; flex-direction:column; gap:17px; }
  .work-heading-aside { max-width:540px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 44px); }
  .section-pad { padding-block: 76px; }
  .hero.section-pad { padding-block: 55px 24px; }
  .metrics-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-proof { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .proof-visual { aspect-ratio:1.55; }
  .proof-copy { padding:19px 18px 16px; }
  .hero-proof>div { padding-inline: 9px; text-align: center; }
  .hero-proof>p { display: none; }
  .why-section::after { opacity: .55; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 38px); }
  .section-pad { padding-block: 62px; }
  .hero.section-pad { padding-block: 42px 20px; }
  .metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); padding-block: 9px; }
  .metrics-grid>div { margin-top: 0 !important; padding-inline: 7px; }
  .metrics-grid>div:nth-child(3) { border-right: 1px solid #ffffff31; }
  .metrics-grid>div:nth-child(even),.metrics-grid>div:last-child { border-right: 0; }
  .metrics-grid>div:nth-child(4) { grid-column: auto; }
  .metrics-grid>div:last-child { grid-column: 1/-1; }
  .hero-proof { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns:1fr; }
  .proof-visual { min-height:0; aspect-ratio:1.8; }
  .proof-copy { min-height:165px; padding:18px 19px; }
  .seo-results-intro { padding:26px 23px; }
  .seo-results-intro h2 { margin-top:13px; font-size:38px; }
  .seo-result-row { grid-template-columns:54px minmax(0,1fr) 26px; grid-template-rows:auto auto; gap:4px 11px; padding:11px; }
  .seo-result-thumb { grid-column:1; grid-row:1/3; width:54px; height:64px; }
  .seo-result-main { grid-column:2; grid-row:1; }
  .seo-result-main strong { font-size:13px; }
  .seo-result-caption { font-size:8px; }
  .seo-result-stat { grid-column:2; grid-row:2; display:flex; flex-direction:row-reverse; justify-content:flex-end; align-items:baseline; gap:7px; text-align:left; }
  .seo-result-stat strong { font-size:19px; }
  .seo-result-stat small { font-size:7px; }
  .seo-result-arrow { grid-column:3; grid-row:1; width:25px; height:25px; }
  .case-feature-grid { grid-template-columns:1fr; }
  .case-feature-visual { aspect-ratio:1.75; }
  .case-feature-copy { padding:17px 18px; }
  .work-gallery { grid-template-columns:1fr; gap:20px; }
  .work-preview { aspect-ratio:1.65; padding:14px 14px 0; }
  .work-window { inset:14px 14px 0; }
  .work-details { padding-top:12px; }
  .work-details strong { font-size:16px; }
  .proof-title { margin-top:8px; font-size:18px; }
  .hero-proof>div { display: flex; justify-content: center; gap: 8px; align-items: baseline; }
  .hero-proof>div strong { font-size: 20px; }
  .hero-proof>div small { font-size: 9px; }
  .page-cta { background: radial-gradient(circle at 90% 0%,#25b89a4d,transparent 30%),linear-gradient(140deg,#30227f,#513ff8 76%); }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Case-study navigation and category browsing. */
.case-nav-group .dropdown { width:270px; }
.case-nav-group .dropdown a[aria-current="page"] { background:#f2f0ff; color:#4533ca; }
.study-switcher { display:flex; align-items:center; gap:8px; margin:0 0 22px; padding:8px; border:1px solid #e5e2f1; border-radius:13px; background:#ffffffc7; }
.study-switcher a { display:flex; align-items:center; justify-content:space-between; gap:18px; min-width:0; padding:10px 14px; border:1px solid transparent; border-radius:9px; color:#64697b; font-size:10px; font-weight:700; transition:background .18s,color .18s,border-color .18s; }
.study-switcher a:hover { border-color:#e6e2fb; background:#f8f7ff; color:#4736d1; }
.study-switcher a.is-current { border-color:#dfdbff; background:#f0eeff; color:#4432cd; }
.study-switcher a span { color:#9a9dae; font-size:8px; font-weight:800; }
.study-switcher a.is-current span { color:#5e4ce1; }
.seo-story { display:flex; flex-direction:column; height:100%; border-radius:16px; background:#fff; box-shadow:0 14px 34px #241c6a0b; }
.seo-story:hover { transform:translateY(-5px); border-color:#bdb4ff; box-shadow:0 23px 48px #30257917; }
.seo-story-image { height:auto; aspect-ratio:1.82; }
.seo-story-image img { transition:transform .45s; }
.seo-story:hover .seo-story-image img { transform:scale(1.04); }
.seo-outcome { border:1px solid #fff; border-radius:11px; }
.seo-story-content { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:21px 23px 22px; }
.seo-story-content h3 { color:#19192d; font:800 20px/1.2 var(--heading); letter-spacing:-.45px; }
.seo-story-content p { flex:1; color:#686d7d; font-size:10px; line-height:1.75; }
.seo-story-content .case-more { padding-top:5px; }
.website-project { transition:transform .22s; }
.website-project:hover { transform:translateY(-4px); }
.website-project-image { overflow:hidden; border-radius:15px; box-shadow:0 16px 38px #241c6a12; }
.website-project-image img { transition:transform .45s; }
.website-project:hover .website-project-image img { transform:scale(1.035); }
.project-caption { color:#717688; }
@media (max-width: 560px) {
  .study-switcher { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:5px; }
  .study-switcher a { justify-content:center; padding:9px 5px; font-size:8px; }
  .study-switcher a span { display:none; }
  .seo-story-content { padding:18px 19px 20px; }
}

/* About page: a focused introduction paired with an easy-to-scan industries grid. */
.niches-section { background:linear-gradient(180deg,#f8f7ff 0%,#fff 90%); }
.niches-layout { display:grid; grid-template-columns:minmax(245px,.78fr) minmax(0,1.55fr); gap:19px; align-items:stretch; }
.industries-intro { position:relative; isolation:isolate; display:flex; flex-direction:column; align-items:flex-start; min-height:390px; padding:33px 31px; overflow:hidden; border-radius:19px; background:radial-gradient(ellipse at 105% 8%,#7266ff78,transparent 42%),linear-gradient(145deg,#201a51,#30266e 70%,#3a3081); box-shadow:0 22px 50px #2e25651c; }
.industries-intro .section-label { position:relative; z-index:1; color:#c4bfff; }
.industries-intro .section-label::before { background:#8b80ff; }
.industries-intro h2 { position:relative; z-index:1; margin:29px 0 13px; color:#fff; font:800 clamp(27px,3vw,37px)/1.08 var(--heading); letter-spacing:-1.4px; }
.industries-intro p { position:relative; z-index:1; max-width:280px; margin:0; color:#d4d2e7; font-size:11px; line-height:1.85; }
.industry-count { position:relative; z-index:1; display:flex; align-items:center; gap:12px; margin-top:auto; padding-top:28px; color:#fff; }
.industry-count>strong { font:800 41px/.95 var(--heading); letter-spacing:-2px; }
.industry-count>span { display:flex; flex-direction:column; gap:3px; }
.industry-count b { font-size:10px; }
.industry-count small { color:#bcb8d8; font-size:9px; }
.industry-orbit { position:absolute; z-index:-1; right:-71px; bottom:-92px; width:245px; height:245px; border:1px solid #ffffff24; border-radius:50%; }
.industry-orbit::before,.industry-orbit::after { position:absolute; inset:19px; border:1px solid #ffffff19; border-radius:50%; content:""; }
.industry-orbit::after { inset:43px; border-color:#ffffff12; }
.niche-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-content:center; gap:10px; margin:0; padding:0; list-style:none; }
.niche-card { display:flex; align-items:center; gap:10px; min-width:0; min-height:82px; padding:12px; border:1px solid #e8e6f0; border-radius:13px; background:#fff; box-shadow:0 7px 20px #29205c08; transition:transform .2s,border-color .2s,box-shadow .2s; }
.niche-card:hover { transform:translateY(-3px); border-color:#c9c2ff; box-shadow:0 13px 26px #30257912; }
.niche-grid .niche-mark { display:grid; flex:0 0 32px; width:32px; height:32px; padding:0; place-items:center; border:0; border-radius:10px; background:#eeecff; color:#5746d2; font-size:9px; font-weight:800; }
.niche-card strong { min-width:0; color:#24243a; font-size:12px; font-weight:750; line-height:1.35; }
.niche-card i { flex:0 0 5px; width:5px; height:5px; margin-left:auto; border-radius:50%; background:#55c5a8; }
.niche-card:nth-child(3n + 2) .niche-mark { background:#e5f7f2; color:#13836e; }
.niche-card:nth-child(3n) .niche-mark { background:#fff0e5; color:#c66e34; }
@media (max-width: 1000px) {
  .niches-layout { grid-template-columns:1fr; }
  .industries-intro { min-height:275px; padding:29px; }
  .industries-intro h2 { margin-top:22px; }
  .industry-count { padding-top:20px; }
}
@media (max-width: 560px) {
  .niches-layout { gap:13px; }
  .industries-intro { min-height:255px; padding:25px 23px; }
  .industries-intro h2 { font-size:31px; }
  .niche-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .niche-card { min-height:67px; gap:8px; padding:9px; border-radius:11px; }
  .niche-grid .niche-mark { flex-basis:28px; width:28px; height:28px; border-radius:8px; font-size:8px; }
  .niche-card strong { font-size:10px; }
}
