/* Ejaz Ahmed — developer portfolio. Shared by the public pages. */
:root {
  --paper: #fafaf7;
  --ink: #15243a;
  --muted: #637083;
  --blue: #295ce8;
  --line: #dfe3e8;
  --font-heading: 'Inter', Arial, sans-serif;
  --text-muted: #637083;
  --text-dark: #15243a;
  --bg-light: #fafaf7;
  --accent: #295ce8;
}
html { scroll-padding-top: 110px; }
body { background: var(--paper); color: var(--ink); cursor: auto; -webkit-font-smoothing: antialiased; }
a, button { cursor: pointer; }
button, input, textarea, select { font: inherit; }
img { max-width: 100%; content-visibility: visible; }
section { content-visibility: visible; contain-intrinsic-size: none; }
.cursor-dot, .cursor-outline { display: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 2000; padding: 12px 20px; background: var(--ink); color: white; border-radius: 6px; }
.skip-link:focus { top: 15px; }
.container { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.site-header { height: 92px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1000; background: rgba(250,250,247,.96); backdrop-filter: blur(16px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; background: var(--ink); color: white; border-radius: 10px; font-size: 14px; font-weight: 700; letter-spacing: -.8px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -.6px; }
.brand-name span { color: var(--blue); }
.site-links { display: flex; align-items: center; gap: 29px; }
.site-links a { font-size: 13px; font-weight: 500; color: #506073; transition: color .2s; }
.site-links a:hover, .site-links a[aria-current="page"] { color: var(--blue); }
.button { min-height: 48px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid transparent; background: var(--ink); color: white; border-radius: 7px; font-size: 13px; font-weight: 600; line-height: 1.4; transition: background .2s, transform .2s; text-align: center; }
.button:hover { background: #263e5e; transform: translateY(-2px); }
.button-primary { background: var(--blue); }
.button-primary:hover { background: #1d49c1; }
.button-light { background: transparent; color: var(--ink); border-color: #cdd3da; }
.button-light:hover { background: #edf0f4; }
.button svg, .text-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.header-cta { min-height: 40px; padding: 10px 17px; font-size: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 7px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.eyebrow { display: flex; align-items: center; gap: 9px; font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.eyebrow .dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.intro-hero { padding: 84px 0 65px; }
.hero-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-copy h1 { margin: 27px 0 24px; font-size: clamp(48px, 5.55vw, 78px); font-weight: 600; letter-spacing: -.065em; line-height: 1.08; }
.hero-copy h1 em { color: var(--blue); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.055em; }
.hero-copy > p { max-width: 440px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.hero-copy > p strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 29px 0 30px; }
.hero-person { display: flex; align-items: center; gap: 11px; }
.hero-person img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid white; box-shadow: 0 0 0 1px var(--line); }
.hero-person p { font-size: 11px; color: var(--muted); line-height: 1.6; }
.hero-person strong { font-weight: 600; color: var(--ink); }
.product-stage { position: relative; height: 430px; border-radius: 12px; background: #edf1fc; background-image: linear-gradient(#dce3f180 1px,transparent 1px),linear-gradient(90deg,#dce3f180 1px,transparent 1px); background-size: 28px 28px; border: 1px solid #e2e8f5; isolation: isolate; }
.stage-label { position: absolute; top: 22px; left: 24px; font: 9px 'JetBrains Mono', monospace; color: #667c9c; text-transform: uppercase; letter-spacing: 1.4px; }
.stage-label::before { content: '+'; margin-right: 8px; color: var(--blue); }
.browser-window { position: absolute; left: -15px; top: 83px; width: calc(100% - 12px); border: 1px solid #d4dce9; background: white; border-radius: 9px; overflow: hidden; box-shadow: 0 24px 48px -20px #1a396448; transform: rotate(-3deg); }
.browser-toolbar { display: flex; align-items: center; gap: 4px; height: 29px; padding: 0 10px; background: #fff; border-bottom: 1px solid #e9edf3; }
.browser-toolbar > i { width: 5px; height: 5px; border-radius: 50%; background: #e1e5eb; }
.browser-toolbar > i:first-child { background: #f0a8a8; }
.browser-toolbar > i:nth-child(2) { background: #ead18e; }
.browser-toolbar > i:nth-child(3) { background: #9acbb6; }
.browser-address { margin: 0 auto; font-size: 8px; color: #758093; border-radius: 3px; background: #f4f6f9; padding: 3px 30px; }
.browser-window > img { width: 100%; height: auto; display: block; aspect-ratio: 1024/462; }
.device-preview { position: absolute; right: 20px; bottom: 23px; width: 112px; height: 232px; background: #182235; border: 4px solid #182235; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 30px #15243a30; transform: rotate(7deg); }
.device-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 15px; }
.stage-note { position: absolute; bottom: 31px; left: 24px; display: flex; align-items: center; gap: 9px; color: #52637e; font-size: 10px; }
.stage-note > span { display: grid; place-items: center; width: 27px; height: 27px; color: #217657; background: #dfeee6; border-radius: 50%; font-size: 13px; }
.stage-note b { display: block; font-weight: 600; color: var(--ink); font-size: 11px; }
.focus-strip { padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.focus-strip > p { font-size: 10px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.focus-items { display: flex; align-items: center; gap: 35px; flex-wrap: wrap; }
.focus-items span { font-size: 12px; color: #455367; display: flex; align-items: center; gap: 9px; }
.focus-items svg { width: 17px; height: 17px; color: #8390a1; }
.section-space { padding: 91px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading h2, .about-copy h2, .contact-intro h2 { font-size: clamp(32px, 3.5vw, 47px); font-weight: 500; letter-spacing: -.055em; line-height: 1.16; }
.section-heading > p { max-width: 340px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.work-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-button { border: 1px solid transparent; background: transparent; color: var(--muted); padding: 7px 14px; border-radius: 5px; font-size: 11px; }
.filter-button[aria-pressed="true"] { background: var(--ink); color: white; }
.filter-button:hover { border-color: #c7ceda; }
.work-count { font: 9px 'JetBrains Mono', monospace; color: var(--muted); }
.projects-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 38px 30px; }
.project-card { min-width: 0; }
.project-visual { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.6; padding: 34px; border: 1px solid #dce7e4; border-radius: 9px; background: #eaf3ef; position: relative; overflow: hidden; }
.project-card:nth-child(2) .project-visual, .project-visual.orange { background: #f7eee3; border-color: #eee1d2; }
.project-card:nth-child(3) .project-visual { background: #edf0fa; border-color: #e0e4f0; }
.project-card:nth-child(4) .project-visual { background: #f0ede8; border-color: #e6e2da; }
.project-visual::after { content: ''; position: absolute; width: 250px; height: 250px; border: 1px solid #ffffff80; border-radius: 50%; right: -90px; bottom: -120px; pointer-events: none; }
.project-screen { width: 100%; height: auto; display: block; border-radius: 5px; box-shadow: 0 15px 30px -14px #233a5950; transition: transform .4s; }
.project-card:hover .project-screen { transform: translateY(-5px); }
.project-screen.portrait { height: 100%; width: auto; max-width: 80%; object-fit: contain; }
.project-visual .live-indicator { position: absolute; left: 16px; top: 15px; font-size: 8px; font-weight: 600; color: #38795c; background: rgba(255,255,255,.93); padding: 5px 8px; border: 1px solid #ffffff; border-radius: 4px; display: flex; align-items: center; gap: 5px; }
.live-indicator::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #2c9465; }
.project-details { padding-top: 17px; }
.project-title-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.project-title-row h3 { font-size: 20px; font-weight: 600; letter-spacing: -.7px; }
.project-open { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #d8dfe6; border-radius: 50%; font-size: 17px; transition: color .2s, background .2s; }
.project-title-row a:hover .project-open, .project-open:hover { background: var(--ink); color: white; }
.project-description { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 8px 0 13px; max-width: 480px; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.project-tags span { font-size: 9px; color: #6b7788; padding: 3px 7px; background: #f0f1ee; border: 1px solid #e6e8e5; border-radius: 3px; }
.project-live { display: inline-block; color: #2355bd; font-size: 10px; font-weight: 500; margin-top: 11px; }
.project-live:hover { text-decoration: underline; }
.work-bottom { margin-top: 33px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; }
.work-bottom > p { font-size: 11px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--ink); border: 0; background: transparent; padding: 4px 0; }
.text-link:hover { color: var(--blue); }
.services-panel { background: #eef1f5; border-block: 1px solid #e2e6ec; }
.service-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid #d7dde5; }
.service-cards-four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.service-card { padding: 31px 30px 0; border-right: 1px solid #d7dde5; }
.service-card:first-child { padding-left: 0; }
.service-card:last-child { padding-right: 0; border-right: 0; }
.service-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d4dce8; background: #fafbfd; color: var(--blue); border-radius: 8px; margin-bottom: 27px; }
.service-icon svg { width: 19px; height: 19px; }
.service-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.6px; margin-bottom: 12px; }
.service-card > p { font-size: 12px; color: var(--muted); line-height: 1.9; }
.service-note { display: block; margin-top: 24px; color: #53647c; font: 9px 'JetBrains Mono',monospace; letter-spacing: .3px; }
.service-card h3 a:hover { color: var(--blue); }
.service-overview-link { margin-top: 30px; font-size: 13px; }
.service-overview-link a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.answers-section { background: #f3f4f0; border-top: 1px solid var(--line); }
.service-faqs { max-width: 850px; }
.service-faqs details { padding: 19px 0; border-bottom: 1px solid var(--line); }
.service-faqs summary { font-size: 15px; font-weight: 600; line-height: 1.7; cursor: pointer; padding-right: 15px; }
.service-faqs details p { font-size: 13px; color: var(--muted); line-height: 1.9; margin-top: 12px; max-width: 760px; }
.service-faqs a { color: #2456be; text-decoration: underline; text-underline-offset: 3px; }
.footer-service-links { display: flex; flex-wrap: wrap; gap: 16px 27px; padding-bottom: 27px; font-size: 11px; color: #bac7dc; }
.footer-service-links a:hover { color: white; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); line-height: 1.8; margin-bottom: 26px; overflow-wrap: anywhere; }
.breadcrumbs a { color: #4268a5; }
.service-page-content { max-width: 900px; padding-bottom: 65px; }
.service-detail { padding: 32px 0; border-top: 1px solid var(--line); }
.service-detail h2 { font-size: clamp(25px,3vw,34px); line-height: 1.3; letter-spacing: -.8px; font-weight: 600; margin-bottom: 20px; }
.service-detail p, .service-detail li { font-size: 15px; line-height: 1.95; color: #56657a; }
.service-detail p { margin-bottom: 17px; }
.service-detail ul { padding-left: 21px; margin-bottom: 20px; }
.service-detail li { margin-bottom: 12px; }
.service-detail a { color: #2456be; text-decoration: underline; text-underline-offset: 3px; }
.service-detail .service-faqs summary { color: var(--ink); }
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.portrait-frame { padding: 20px; background: #f0ede6; border: 1px solid #e6e2d9; border-radius: 9px; position: relative; max-width: 380px; }
.portrait-frame > img { width: 100%; height: auto; display: block; aspect-ratio: 1; object-fit: cover; object-position: center 22%; border-radius: 5px; filter: saturate(.75); }
.portrait-caption { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-top: 17px; }
.portrait-caption strong { display: block; font-size: 14px; font-weight: 600; }
.portrait-caption p { font-size: 10px; color: var(--muted); }
.portrait-caption > span { font-size: 24px; color: #8b958e; }
.about-copy .eyebrow { margin-bottom: 19px; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy > p { font-size: 13px; color: var(--muted); line-height: 1.9; margin-bottom: 14px; max-width: 530px; }
.about-copy .text-link { margin-top: 14px; }
.about-facts { display: flex; gap: 36px; border-top: 1px solid var(--line); margin-top: 27px; padding-top: 20px; }
.about-facts span { font-size: 9px; color: var(--muted); }
.about-facts strong { display: block; color: var(--ink); font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.process-section { padding-top: 0; }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px; border-top: 1px solid var(--line); padding-top: 26px; }
.process-step > span { font: 10px 'JetBrains Mono',monospace; color: var(--blue); }
.process-step h3 { font-size: 14px; font-weight: 600; margin: 14px 0 9px; }
.process-step p { font-size: 11px; color: var(--muted); line-height: 1.9; }
.insights-section { background: #f1f2ee; border-block: 1px solid #e3e6e0; }
.insights-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.insight-card { min-width: 0; }
.insight-image { display: block; overflow: hidden; aspect-ratio: 1.85; border-radius: 6px; background: #e4e8ee; margin-bottom: 17px; }
.insight-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.insight-card:hover img { transform: scale(1.035); }
.insight-meta { font-size: 9px; color: var(--muted); display: flex; gap: 10px; margin-bottom: 9px; }
.insight-meta span:first-child { color: #305db0; }
.insight-card h3 { font-size: 16px; font-weight: 500; line-height: 1.5; letter-spacing: -.4px; }
.insight-card h3 a:hover { color: var(--blue); }
.contact-section { padding: 84px 0; background: #142337; color: #f4f6fb; }
.contact-layout { display: grid; grid-template-columns: 1fr .95fr; gap: 90px; align-items: start; }
.contact-intro .eyebrow { color: #98abc7; margin-bottom: 21px; }
.contact-intro .dot { background: #90b0ff; }
.contact-intro h2 { font-size: clamp(35px,4vw,55px); max-width: 440px; }
.contact-intro > p { font-size: 13px; color: #a3b2c9; line-height: 1.9; margin-top: 20px; max-width: 350px; }
.contact-email { display: inline-flex; align-items: center; gap: 17px; font-size: 16px; border-bottom: 1px solid #ffffff30; padding: 17px 0 11px; margin-top: 14px; overflow-wrap: anywhere; }
.contact-email:hover { color: #a3bdff; }
.contact-email svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 11px; color: #b4c2d7; }
.contact-socials a:hover { color: white; }
.project-form { display: flex; flex-direction: column; gap: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field label { color: #c4cee0; font-size: 10px; }
.form-field label span { color: #8da1c1; }
.form-field input, .form-field textarea, .form-field select { width: 100%; color: #edf2fc; padding: 12px 13px; background: #ffffff05; border: 1px solid #405068; border-radius: 5px; font-size: 12px; outline: none; min-width: 0; }
.form-field textarea { resize: vertical; min-height: 104px; }
.form-field select { color-scheme: dark; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #8eafff; box-shadow: 0 0 0 2px #8eafff25; }
.form-field ::placeholder { color: #8c9cb5; }
.form-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.form-bottom p { font-size: 9px; color: #9aabc3; max-width: 200px; }
.form-bottom p a { text-decoration: underline; }
.form-bottom .button { min-width: 155px; }
.form-status { font-size: 12px; line-height: 1.7; color: #cae6d6; }
.form-status[data-state="error"] { color: #ffb7ac; }
.form-honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.site-footer { background: #142337; color: #9caec7; padding: 0 0 28px; font-size: 10px; }
.footer-inner { border-top: 1px solid #ffffff1c; padding-top: 24px; display: flex; justify-content: space-between; gap: 25px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: white; }
.page-hero { padding: 75px 0 48px; }
.page-hero h1 { font-size: clamp(42px,6vw,70px); font-weight: 500; letter-spacing: -.06em; line-height: 1.12; margin: 20px 0; max-width: 850px; }
.page-hero > .container > p { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 660px; }
.blog-toolbar { margin-bottom: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.search-field { display: flex; align-items: center; gap: 12px; width: min(400px,100%); }
.search-field label { font-size: 12px; flex-shrink: 0; }
.search-field input { width: 100%; padding: 11px 14px; background: white; border: 1px solid #cbd3de; border-radius: 5px; font-size: 12px; }
.blog-grid { row-gap: 42px; }
.empty-state { grid-column: 1/-1; color: var(--muted); font-size: 14px; padding: 35px 0; }
.about-story { padding-top: 20px; }
.about-story .about-layout { align-items: start; }
.about-story .portrait-frame > img { aspect-ratio: .86; }
.about-story h2 { font-size: 32px; }
[hidden] { display: none !important; }

/* Compatibility for existing case studies, articles and legal documents. */
nav.agency-nav { background: rgba(250,250,247,.97); padding: 18px 0; }
.agency-nav .logo { font-family: var(--font-heading); font-size: 20px; }
.agency-nav .btn-outline, .btn-primary, .btn-outline { border-radius: 7px; box-shadow: none; }
.agency-nav .nav-toggle { background: transparent; border: 0; min-width: 44px; min-height: 44px; justify-content: center; }
.mobile-menu { visibility: hidden; }
.mobile-menu.open { visibility: visible; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 23px; align-items: center; }
.mobile-link { font-size: 2rem; }
.article-content { overflow-wrap: anywhere; }
.article-page-wrap { margin-top: 60px !important; }
.article-content img { height: auto; }
.article-content a { color: #2456be; text-decoration: underline; text-underline-offset: 3px; }
.article-toc { border: 1px solid var(--line); border-radius: 8px; background: #f4f6f8; padding: 22px 25px; margin: 28px 0 40px; }
.article-toc > strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.article-content .article-toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 19px; }
.article-content .article-toc li { font-size: 13px; line-height: 1.7; break-inside: avoid; margin-bottom: 8px; }
.article-content .article-toc a { text-decoration: none; }
.article-content figure { margin: 30px 0; }
.article-content figure img { display: block; width: 100%; margin: 0 0 12px; border: 1px solid var(--line); }
.article-content figcaption { color: var(--muted); font-size: 12px; line-height: 1.8; }
.article-table { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 7px; }
.article-table table { border-collapse: collapse; min-width: 500px; width: 100%; font-size: 14px; line-height: 1.7; }
.article-table th, .article-table td { text-align: left; padding: 14px 17px; vertical-align: top; border-bottom: 1px solid var(--line); }
.article-table th { font-weight: 600; color: var(--ink); background: #eef1f5; }
.article-table tr:last-child td { border-bottom: 0; }
.article-next-step { border-left: 3px solid var(--blue); background: #eef2fb; padding: 20px 24px; margin-top: 35px; }
.article-content .article-next-step p { margin: 0; font-size: 15px; line-height: 1.8; }
.insight-summary { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 9px; }
.insight-updated { display: block; font-size: 9px; color: var(--muted); margin-top: 9px; }
.article-author-note { border-block: 1px solid var(--line); margin-top: 35px; padding: 22px 0; font-size: 13px; color: var(--muted); }
.article-author-note strong { color: var(--ink); }
.article-author-note p { margin-top: 8px; line-height: 1.8; }
.article-author-note a, .related-reading a:hover { color: var(--blue); }
.related-reading { padding: 30px 0; }
.related-reading h2 { font-size: 23px; margin-bottom: 15px; letter-spacing: -.5px; }
.related-reading ul { list-style: none; padding: 0; margin-bottom: 15px; }
.related-reading li { border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 14px; line-height: 1.65; }
.footer-bottom { flex-wrap: wrap; gap: 20px; }
.articles-grid { grid-template-columns: repeat(auto-fill,minmax(min(100%,350px),1fr)); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .motion-enabled .browser-window { animation: browser-drift 7s ease-in-out infinite; }
  .motion-enabled .device-preview { animation: device-drift 6s ease-in-out infinite; }
  .motion-enabled .product-stage:not(.motion-in-view) .browser-window,
  .motion-enabled .product-stage:not(.motion-in-view) .device-preview,
  .motion-suspended .browser-window, .motion-suspended .device-preview { animation-play-state: paused; }
  .service-icon, .text-link svg { transition: transform .25s ease; }
  .service-card:is(:hover, :focus-within) .service-icon { transform: translateY(-4px) rotate(-4deg); }
  .text-link:is(:hover, :focus-visible) svg { transform: translateX(4px); }
  .project-card:focus-within .project-screen { transform: translateY(-5px); }
  @keyframes browser-drift {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
  }
  @keyframes device-drift {
    0%, 100% { transform: translateY(0) rotate(7deg); }
    50% { transform: translateY(6px) rotate(5deg); }
  }
}
.motion-toggle { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #d4dce9; border-radius: 50%; background: #fafaf7; color: #506073; }
.motion-toggle:hover { color: var(--blue); border-color: var(--blue); }
.motion-toggle svg { width: 18px; height: 18px; }
.motion-toggle[hidden], .motion-toggle .motion-play, .motion-toggle[data-paused="true"] .motion-pause { display: none; }
.motion-toggle[data-paused="true"] .motion-play { display: block; }
@media (min-width: 1600px) { .intro-hero { padding-top: 105px; padding-bottom: 85px; } }
@media (max-width: 1100px) {
  .service-cards-four { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 0; }
  .service-cards-four .service-card:nth-child(2) { border-right: 0; padding-right: 0; }
  .service-cards-four .service-card:nth-child(3) { padding-left: 0; }
  .container { width: calc(100% - 64px); }
  .hero-layout { gap: 35px; }
  .hero-copy h1 { font-size: 60px; }
  .site-links { gap: 21px; }
  .product-stage { height: 400px; }
  .browser-window { top: 100px; }
  .device-preview { right: 10px; width: 97px; height: 203px; }
  .stage-note { left: 14px; bottom: 28px; max-width: 190px; }
  .focus-items { gap: 22px; }
  .about-layout, .contact-layout { gap: 50px; }
  .project-visual { padding: 25px; }
}
@media (max-width: 800px) {
  .site-header { height: 76px; }
  .header-inner { gap: 15px; }
  .menu-toggle { display: flex; }
  .header-cta { margin-left: auto; }
  .site-links { display: none; position: absolute; left: 0; right: 0; top: 75px; background: var(--paper); padding: 20px 32px 28px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 15px 20px #15243a0c; }
  .site-links.is-open { display: flex; }
  .site-links a { font-size: 16px; padding: 13px 0; }
  .intro-hero { padding: 58px 0 44px; }
  .hero-layout { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy h1 { font-size: clamp(48px,8vw,67px); max-width: 650px; }
  .hero-copy > p { max-width: 520px; }
  .product-stage { height: 390px; max-width: 620px; width: 100%; }
  .browser-window { top: 65px; left: 20px; width: calc(100% - 65px); }
  .device-preview { width: 112px; height: 235px; right: 25px; bottom: 20px; }
  .stage-note { max-width: none; left: 25px; }
  .focus-strip { flex-direction: column; align-items: flex-start; gap: 14px; }
  .focus-items { width: 100%; justify-content: space-between; gap: 15px; }
  .section-space { padding: 65px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading > p { max-width: 500px; }
  .project-visual { padding: 25px 16px; aspect-ratio: 1.35; }
  .project-title-row h3 { font-size: 18px; }
  .service-card { padding: 25px 20px 0; }
  .service-card h3 { font-size: 16px; }
  .about-layout { gap: 35px; }
  .about-copy h2 { font-size: 34px; }
  .about-facts { gap: 19px; }
  .insights-grid { gap: 20px; }
  .insight-card h3 { font-size: 14px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-intro > p { max-width: 450px; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-section { padding-top: 0; }
  .page-hero { padding-top: 54px; }
}
@media (max-width: 540px) {
  .service-detail { padding: 27px 0; }
  .service-detail p, .service-detail li { font-size: 14px; }
  .service-faqs summary { font-size: 14px; }
  .service-cards-four { grid-template-columns: 1fr; gap: 0; }
  .article-content .article-toc ol { columns: 1; }
  .article-toc { padding: 18px 20px; }
  .container { width: calc(100% - 40px); }
  .brand-name { font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; font-size: 12px; }
  .brand { gap: 8px; }
  .header-cta { min-height: 37px; padding: 9px 11px; font-size: 10px; gap: 7px; }
  .header-inner { gap: 10px; }
  .menu-toggle { width: 37px; height: 37px; }
  .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .hero-copy h1 { font-size: clamp(43px,10.5vw,58px); margin-top: 21px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { gap: 9px; }
  .hero-actions .button { padding: 12px 15px; gap: 9px; font-size: 11px; }
  .product-stage { height: 300px; }
  .stage-label { left: 17px; top: 17px; font-size: 7px; }
  .browser-window { top: 65px; left: 12px; width: calc(100% - 35px); }
  .browser-toolbar { height: 23px; }
  .browser-address { padding-inline: 12px; font-size: 7px; }
  .device-preview { width: 82px; height: 173px; border-width: 3px; border-radius: 16px; right: 13px; bottom: 17px; }
  .stage-note { left: 15px; bottom: 22px; font-size: 8px; gap: 7px; max-width: calc(100% - 112px); }
  .stage-note b { font-size: 9px; }
  .stage-note > span { width: 22px; height: 22px; flex-shrink: 0; }
  .focus-items { display: grid; grid-template-columns: 1fr 1fr; row-gap: 15px; }
  .focus-items span { font-size: 10px; gap: 7px; }
  .focus-items svg { width: 15px; height: 15px; }
  .section-space { padding: 54px 0; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: 34px; }
  .work-toolbar { align-items: flex-start; }
  .work-count { display: none; }
  .filter-button { padding: 8px 11px; font-size: 10px; }
  .projects-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .project-visual { aspect-ratio: 1.5; padding: 30px 22px; }
  .project-description { font-size: 12px; }
  .work-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card, .service-card:first-child, .service-card:last-child { padding: 26px 0; border-right: 0; border-bottom: 1px solid #d7dde5; }
  .service-card:last-child { padding-bottom: 0; border-bottom: 0; }
  .service-icon { margin-bottom: 18px; }
  .service-card h3 { font-size: 19px; }
  .service-card > p { font-size: 13px; }
  .service-note { margin-top: 16px; }
  .about-layout { grid-template-columns: 1fr; gap: 30px; }
  .portrait-frame { max-width: 100%; padding: 16px; }
  .portrait-frame > img { aspect-ratio: 1.1; object-position: center 30%; }
  .about-copy > p { font-size: 13px; }
  .about-facts { justify-content: space-between; }
  .process-section { padding-top: 0; }
  .process-grid { gap: 25px 20px; }
  .insights-grid { grid-template-columns: 1fr; gap: 30px; }
  .insight-card h3 { font-size: 17px; }
  .contact-section { padding: 57px 0; }
  .contact-layout { gap: 35px; }
  .contact-intro h2 { font-size: 42px; }
  .contact-email { font-size: 15px; }
  .form-row { grid-template-columns: 1fr; gap: 17px; }
  .form-bottom { flex-direction: column-reverse; align-items: stretch; gap: 13px; }
  .form-bottom p { max-width: none; }
  .footer-inner { flex-direction: column; gap: 15px; }
  .footer-links { justify-content: space-between; gap: 12px; }
  .page-hero h1 { font-size: 46px; }
  .blog-toolbar { align-items: flex-start; flex-direction: column; }
  .article-page-wrap, .legal-page-wrap { padding-inline: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
