/* Home page — redesign v2 (matches the "Home" artboard of the redesign canvas) */
:root {
    --ink: #06141A;
    --ink-raised: #0D2229;
    --ink-line: #12303A;
    --ink-border: #1E3E44;
    --teal: #00D9B8;
    --teal-text: #007A66;
    --mint: #E3FAF5;
    --paper: #F5F8F7;
    --line: #DCE6E3;
    --rule: #D5E0DD;
    --muted: #4A5D5A;
    --muted-dark: #A9BEBA;
    --dim-dark: #7F9894;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.home {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}
.home img { max-width: 100%; display: block; }
.home a { color: var(--teal-text); }
.home a:hover { color: #005A4B; }
.home h1, .home h2, .home h3 { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.accent-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.eyebrow { font: 500 13px var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--teal-text); }
.h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 16px var(--font-sans); text-decoration: none; transition: transform .15s; cursor: pointer; border: 0; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.home .btn-teal { background: var(--teal); color: var(--ink); }
.home .btn-teal:hover { color: var(--ink); }
.home .btn-dark { background: var(--ink); color: #FFFFFF; }
.home .btn-dark:hover { color: #FFFFFF; }
.home .btn-outline { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.home .btn-outline:hover { color: var(--ink); }
.home .btn-ghost-dark { border: 1px solid #2A4A50; color: #FFFFFF; }
.home .btn-ghost-dark:hover { color: #FFFFFF; }
.lift { transition: transform .2s, box-shadow .2s; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(6,20,26,.12); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #FFFFFF; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.site-header { position: relative; z-index: 5; padding-top: 20px; }
.nav-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 32px; padding: 8px 8px 8px 20px; }
.home .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #FFFFFF; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.home .brand:hover { color: #FFFFFF; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; margin: 0; padding: 0; }
.home .nl { display: block; color: #B9CCC8; text-decoration: none; padding: 10px 14px; font-size: 15px; font-weight: 500; border-radius: 999px; }
.home .nl:hover, .home .nl[aria-current="page"] { color: #FFFFFF; background: rgba(255,255,255,.08); }
.nav-cta { min-height: 44px; padding: 0 20px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: transparent; color: #FFFFFF; font-size: 22px; align-items: center; justify-content: center; cursor: pointer; }

.hero-main { position: relative; padding-top: 96px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero-copy { flex: 1 1 540px; min-width: 0; }
.pill-new { display: inline-flex; align-items: center; gap: 10px; border: 1px solid #1E4A4A; background: rgba(0,217,184,.08); color: #9FF3E6; padding: 6px 14px 6px 8px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.pill-new b { background: var(--teal); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.hero h1 { margin-top: 28px; font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.035em; font-weight: 800; }
.hero h1 .accent-serif { color: var(--teal); }
.hero-lead { margin: 28px 0 0; font-size: 20px; line-height: 1.55; color: var(--muted-dark); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 44px; color: var(--muted-dark); font-size: 15px; }
.avatars { display: flex; }
.avatars span { width: 40px; height: 40px; border-radius: 999px; border: 3px solid var(--ink); }
.avatars span + span { margin-left: -12px; }
.platforms span { display: inline-flex; align-items: center; justify-content: center; }
.platforms svg { width: 20px; height: 20px; }
.platforms .pf-fiverr { background: #1DBF73; }
.platforms .pf-upwork { background: #14A800; }
.platforms .pf-clutch { background: #17313B; }
.platforms .pf-google { background: #FFFFFF; }
.platforms .pf-google svg { width: 18px; height: 18px; }
.stars { display: flex; gap: 2px; color: #FFC24B; }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.hero-proof strong { color: #FFFFFF; }

.hero-visual { flex: 1 1 460px; min-width: 0; position: relative; padding: 24px 0 40px; }
.mock { background: var(--ink-raised); border: 1px solid var(--ink-border); border-radius: 20px; box-shadow: 0 40px 80px rgba(0,0,0,.45); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--ink-border); }
.mock-bar i { width: 11px; height: 11px; border-radius: 99px; }
.mock-url { margin-left: 12px; flex: 1; background: var(--ink); border-radius: 6px; padding: 4px 12px; font: 500 12px var(--font-mono); color: var(--dim-dark); }
.mock-body { padding: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi { background: var(--ink); border-radius: 12px; padding: 14px; }
.kpi small { display: block; font-size: 12px; color: var(--dim-dark); }
.kpi strong { display: block; font-size: 22px; font-weight: 700; }
.kpi em { font-style: normal; font-size: 12px; color: #3DDC97; }
.chart { grid-column: span 3; background: var(--ink); border-radius: 12px; padding: 16px; }
.float-card { position: absolute; left: -28px; bottom: 0; background: #FFFFFF; color: var(--ink); border-radius: 16px; padding: 14px 16px; box-shadow: 0 20px 40px rgba(0,0,0,.35); display: flex; gap: 12px; align-items: center; max-width: 280px; font-size: 13px; line-height: 1.4; }
.float-card strong { display: block; font-size: 14px; }
.ico-tile { width: 40px; height: 40px; border-radius: 12px; background: var(--mint); color: var(--teal-text); display: flex; align-items: center; justify-content: center; flex: none; font-size: 22px; }
.float-chip { position: absolute; right: -12px; top: 0; background: var(--teal); color: var(--ink); border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 14px; box-shadow: 0 16px 32px rgba(0,217,184,.3); display: flex; gap: 8px; align-items: center; }

.stack-strip { position: relative; border-top: 1px solid var(--ink-line); }
.stack-strip .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; justify-content: space-between; color: var(--dim-dark); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.stack-strip .label { font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: #5F7A76; }

/* Stats */
.stats { padding-top: 96px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat { padding: 32px 24px; border-left: 1px solid var(--rule); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: 56px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat-num span { color: #00A88E; }
.stat p { color: var(--muted); margin: 8px 0 0; }

/* Section heads */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.sec-head > div { max-width: 680px; }
.sec-head .h2, .sec-title { margin-top: 14px; }

/* Services bento */
.services { padding-top: 120px; padding-bottom: 40px; }
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.home .card { border-radius: 28px; padding: 32px; text-decoration: none; display: flex; flex-direction: column; color: var(--ink); background: #FFFFFF; border: 1px solid var(--line); gap: 40px; }
.home .card:hover { color: var(--ink); }
.card h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); }
.card-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: var(--teal-text); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.home .card-feature { grid-column: span 2; min-height: 360px; background: var(--ink); color: #FFFFFF; border: 0; padding: 36px; justify-content: space-between; position: relative; overflow: hidden; }
.home .card-feature:hover { color: #FFFFFF; }
.card-feature .orbit { position: absolute; right: -40px; top: -40px; width: 300px; height: 300px; }
.card-feature .card-ico { width: 56px; height: 56px; background: var(--teal); color: var(--ink); font-size: 28px; }
.card-feature > div { position: relative; max-width: 520px; }
.card-feature h3 { font-size: 32px; letter-spacing: -0.02em; font-weight: 800; margin-bottom: 10px; }
.card-feature p { color: var(--muted-dark); font-size: 17px; margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { border: 1px solid #2A4A50; border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.home .card-teal { min-height: 360px; background: var(--teal); border: 0; padding: 36px; justify-content: space-between; }
.card-teal .card-ico { width: 56px; height: 56px; background: var(--ink); color: var(--teal); font-size: 28px; }
.card-teal h3 { font-size: 26px; letter-spacing: -0.02em; font-weight: 800; margin-bottom: 8px; }
.card-teal p { color: #0B3A33; }

/* Process */
.process { padding-top: 100px; padding-bottom: 100px; }
.process .sec-title { margin-bottom: 56px; max-width: 760px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.step { background: #FFFFFF; border-radius: 24px; padding: 32px; border: 1px solid var(--line); }
.step-top { display: flex; justify-content: space-between; align-items: center; color: var(--teal-text); font-size: 30px; }
.step-top span { font: 500 14px var(--font-mono); color: #8AA09C; }
.step h3 { margin: 36px 0 8px; font-size: 22px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); }
.step-dark { background: var(--ink); color: #FFFFFF; border: 0; }
.step-dark .step-top { color: var(--teal); }
.step-dark .step-top span { color: var(--dim-dark); }
.step-dark p { color: var(--muted-dark); }

/* Work */
.work { padding-bottom: 100px; }
.work .sec-head { margin-bottom: 40px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px; }
.home .work-card { text-decoration: none; color: var(--ink); background: #FFFFFF; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); display: block; }
.home .work-card:hover { color: var(--ink); }
.work-media { height: 340px; background: #DDE8FA; overflow: hidden; }
.work-card:nth-child(2) .work-media { background: #F6E9D7; }
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.work-info { padding: 28px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.work-info small { font-size: 14px; color: var(--muted); }
.work-info h3 { margin-top: 4px; font-size: 24px; font-weight: 700; }
.round-arrow { width: 48px; height: 48px; border-radius: 999px; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; flex: none; font-size: 20px; }

/* Client proof (dark) */
.proof { background: var(--ink); color: #FFFFFF; }
.proof .wrap { padding-top: 110px; padding-bottom: 110px; }
.proof .eyebrow { color: var(--teal); }
.proof .sec-title { margin-bottom: 48px; max-width: 760px; }
.proof .sec-title .accent-serif { color: var(--teal); }
.proof-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 20px; }
.proof-card { margin: 0; background: var(--ink-raised); border: 1px solid var(--ink-border); border-radius: 24px; padding: 32px; }
.proof-card strong { display: block; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.proof-card p { margin: 0; color: var(--muted-dark); }
.proof-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .proof-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .proof-gallery { grid-template-columns: 1fr; } }
.proof-gallery figure { margin: 0; background: var(--ink-raised); border: 1px solid var(--ink-border); border-radius: 24px; overflow: hidden; }
.proof-gallery img { width: 100%; height: 200px; object-fit: contain; object-position: center; background: #FFFFFF; padding: 16px; }
.proof-gallery figcaption { padding: 16px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.proof-gallery figcaption span { font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--teal); align-self: center; }

/* FAQ */
.faq { padding-top: 110px; padding-bottom: 110px; display: flex; flex-wrap: wrap; gap: 56px; }
.faq-intro { flex: 1 1 340px; }
.faq-intro .h2 { font-size: clamp(36px, 4.4vw, 52px); margin: 14px 0 16px; }
.faq-intro p { margin: 0; color: var(--muted); }
.faq-intro a { font-weight: 600; }
.faq-list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; padding: 24px 0; font: 600 19px var(--font-sans); color: var(--ink); text-align: left; cursor: pointer; min-height: 44px; }
.faq-ico { width: 36px; height: 36px; border-radius: 999px; background: var(--mint); color: var(--teal-text); display: flex; align-items: center; justify-content: center; flex: none; font-size: 16px; transition: background .2s; }
.faq-ico .vbar { transition: opacity .2s; }
.faq-q[aria-expanded="true"] .faq-ico { background: var(--ink); color: #FFFFFF; }
.faq-q[aria-expanded="true"] .vbar { opacity: 0; }
.faq-a { margin: 0; padding: 0 56px 24px 0; color: var(--muted); font-size: 17px; }

/* Contact */
.contact { padding-bottom: 110px; }
.contact-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.contact-cta { position: relative; overflow: hidden; background: var(--teal); border-radius: 36px; padding: clamp(40px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.contact-cta .dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; }
.contact-cta h2 { position: relative; font-size: clamp(36px, 4.8vw, 60px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; color: var(--ink); }
.contact-cta .btn { position: relative; align-self: flex-start; min-height: 60px; padding: 0 32px; font-size: 18px; }
.contact-lines { position: relative; display: grid; gap: 6px; color: #0B3A33; font-weight: 500; }
.home .contact-lines a { color: var(--ink); font-weight: 700; }
.contact-form { background: #FFFFFF; border: 1px solid var(--line); border-radius: 36px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; position: relative; }
.contact-form h3 { font-size: 24px; font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.field input, .field textarea { font: 400 16px var(--font-sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-height: 48px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
.contact-form .btn { justify-content: center; }
.form-or { text-align: center; color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-dark); }
.foot-grid { padding-top: 80px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.foot-brand { grid-column: span 2; min-width: 0; }
.foot-brand p { margin: 16px 0 20px; max-width: 360px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.home .socials a { width: 44px; height: 44px; border-radius: 999px; border: 1px solid #2A4A50; color: #FFFFFF; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.home .socials a:hover { background: rgba(255,255,255,.08); color: #FFFFFF; }
.foot-col { display: flex; flex-direction: column; gap: 4px; }
.foot-col strong { color: #FFFFFF; margin-bottom: 8px; }
.home .foot-col a { color: #B9CCC8; text-decoration: none; padding: 6px 0; }
.home .foot-col a:hover { color: #FFFFFF; }
.foot-bottom { padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }

/* Mobile */
@media (max-width: 900px) {
    .menu-btn { display: inline-flex; }
    .nav-links { display: none; order: 3; width: 100%; flex-direction: column; padding: 8px 0 12px; }
    .nav-links.active { display: flex; }
    .nav-cta { display: none; }
    .card-feature, .foot-brand { grid-column: auto; }
}
@media (max-width: 600px) {
    .hero-main { padding-top: 56px; padding-bottom: 80px; }
    .float-card { left: 0; }
    .float-chip { right: 0; }
    .stat { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
    .stat:first-child { border-top: 0; }
    .services { padding-top: 80px; }
    .faq-a { padding-right: 0; }
}

/* ==========================================================================
   Inner pages (Services, About), shared with the Home redesign
   ========================================================================== */
.page-hero .hero-main { display: block; padding-top: 96px; padding-bottom: 112px; }
.page-hero .eyebrow { color: var(--teal); }
.page-hero h1 { margin-top: 18px; font-size: clamp(44px, 6vw, 80px); max-width: 960px; }
.page-hero .hero-lead { max-width: 620px; }
.page-hero.centered .hero-main { text-align: center; }
.page-hero.centered h1 { margin-left: auto; margin-right: auto; max-width: 1000px; }
.page-hero.centered .hero-lead { margin-left: auto; margin-right: auto; max-width: 640px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.home .jump a { min-height: 44px; padding: 0 18px; font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
.chips-dark .chip { background: transparent; border-color: #2A4A50; color: #FFFFFF; }

/* Services list */
.svc-list { padding-top: 110px; padding-bottom: 60px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 20px; }
.svc { background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 24px; }
.svc-top { display: flex; justify-content: space-between; align-items: start; }
.svc-top > span:last-child { font: 500 14px var(--font-mono); color: #8AA09C; }
.svc h2 { font-size: 30px; letter-spacing: -0.02em; font-weight: 800; line-height: 1.15; }
.svc > p { margin: 0; color: var(--muted); font-size: 17px; }
.svc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.svc li { display: flex; gap: 10px; align-items: center; }
.svc li i { color: var(--teal-text); }
.svc .chips { margin-top: auto; }
.svc-ai { grid-column: 1 / -1; background: var(--ink); color: #FFFFFF; border: 0; padding: 48px; flex-direction: row; flex-wrap: wrap; gap: 48px; align-items: center; }
.svc-ai-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.svc-ai-copy .card-ico { background: var(--teal); color: var(--ink); }
.svc-ai h2 { font-size: 40px; letter-spacing: -0.03em; line-height: 1.05; }
.svc-ai h2 .accent-serif { color: var(--teal); }
.svc-ai p { margin: 0; color: var(--muted-dark); font-size: 18px; }
.badge-soft { background: #0D3B35; color: #9FF3E6; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.chat { flex: 1 1 380px; min-width: 0; background: var(--ink-raised); border: 1px solid var(--ink-border); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.bubble-me { align-self: flex-end; background: var(--teal); color: var(--ink); border-radius: 16px 16px 4px 16px; padding: 12px 16px; max-width: 80%; font-size: 15px; }
.bubble-bot { align-self: flex-start; background: var(--ink); border: 1px solid var(--ink-border); border-radius: 16px 16px 16px 4px; padding: 12px 16px; max-width: 85%; font-size: 15px; }
.chat-meta { display: flex; gap: 8px; align-items: center; font: 500 12px var(--font-mono); color: var(--dim-dark); }
.chat-meta i { width: 8px; height: 8px; border-radius: 99px; background: #3DDC97; }
.svc-design { grid-column: 1 / -1; background: var(--teal); border: 0; padding: 48px; flex-direction: row; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.svc-design > div { display: flex; gap: 20px; align-items: center; flex: 1 1 480px; }
.svc-design .card-ico { background: var(--ink); color: var(--teal); width: 64px; height: 64px; flex: none; }
.svc-design h2 { font-size: 32px; }
.svc-design p { margin: 4px 0 0; color: #0B3A33; font-size: 17px; }

/* Engagement models */
.models { padding-top: 60px; padding-bottom: 110px; }
.models .sec-title { margin-bottom: 48px; }
.model-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.model { background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.model h3 { font-size: 22px; font-weight: 700; }
.model p { margin: 0; color: var(--muted); }
.model ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.model li { display: flex; gap: 10px; align-items: center; }
.model li i { color: var(--teal-text); }
.model .btn { justify-content: center; margin-top: auto; }
.model-dark { background: var(--ink); color: #FFFFFF; border: 0; box-shadow: 0 30px 60px rgba(6,20,26,.25); }
.model-dark p { color: var(--muted-dark); }
.model-dark li i { color: var(--teal); }
.model-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge-teal { background: var(--teal); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }

/* CTA band */
.cta-band { padding-bottom: 110px; }
.cta-box { position: relative; overflow: hidden; background: var(--teal); border-radius: 36px; padding: clamp(40px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-box .dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .25; }
.cta-box h2 { position: relative; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; max-width: 700px; }
.cta-box .cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-box .btn { min-height: 60px; padding: 0 32px; font-size: 18px; }

/* About: founder */
.founder { padding-top: 110px; padding-bottom: 110px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.founder-photo { flex: 1 1 380px; position: relative; min-width: 0; }
.founder-photo img { width: 100%; height: 500px; object-fit: cover; object-position: center 25%; border-radius: 32px; background: #DCEBE8; }
.founder-tag { position: absolute; bottom: 20px; left: 20px; right: 20px; background: #FFFFFF; border-radius: 18px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 16px 32px rgba(6,20,26,.15); }
.founder-tag strong { display: block; }
.founder-tag span { font-size: 14px; color: var(--muted); }
.founder-tag i { width: 12px; height: 12px; border-radius: 99px; background: var(--teal); flex: none; }
.founder-copy { flex: 1 1 480px; min-width: 0; }
.founder-copy .h2 { margin: 14px 0 20px; }
.founder-copy p { margin: 0 0 16px; color: var(--muted); font-size: 18px; }
.founder-quote { margin: 32px 0 0; padding: 28px 32px; background: var(--ink); color: #FFFFFF; border-radius: 24px; font-size: 22px; line-height: 1.45; }
.founder-quote svg { display: block; margin-bottom: 12px; }
.founder-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* About: mission and vision */
.mv { padding-bottom: 110px; }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.mv-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; padding: 48px; }
.mv-card p { margin: 16px 0 0; font-size: 30px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
.mv-teal { background: var(--teal); border: 0; }
.mv-teal .eyebrow { color: var(--ink); }

/* About: timeline */
.journey { background: var(--ink); color: #FFFFFF; }
.journey .wrap { padding-top: 110px; padding-bottom: 110px; }
.journey .eyebrow { color: var(--teal); }
.journey .sec-title { margin-bottom: 64px; }
.journey .sec-title .accent-serif { color: var(--teal); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--ink-border); }
.timeline li { position: relative; }
.tl-dot { display: block; width: 24px; height: 24px; border-radius: 99px; background: #2A4A50; border: 5px solid var(--ink); }
.timeline li:first-child .tl-dot, .timeline li:last-child .tl-dot { background: var(--teal); }
.tl-year { margin-top: 24px; font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.timeline h3 { margin-top: 6px; font-size: 17px; font-weight: 700; }
.timeline p { margin: 4px 0 0; color: var(--muted-dark); font-size: 15px; }

/* About: values */
.values { padding-top: 110px; padding-bottom: 110px; }
.values .sec-title { margin-bottom: 48px; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.value { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.value h3 { margin: 24px 0 6px; font-size: 22px; font-weight: 700; }
.value p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
    .timeline::before { display: none; }
}

/* Projects page */
.work-hero { display: flex !important; flex-wrap: wrap; gap: 40px; align-items: end; justify-content: space-between; }
.work-hero > div { flex: 1 1 600px; min-width: 0; }
.work-hero .hero-lead { flex: 0 1 380px; margin: 0; font-size: 18px; }
.work-list { padding-top: 72px; padding-bottom: 110px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 32px; padding: 6px; width: fit-content; max-width: 100%; }
.filters button { min-height: 44px; padding: 0 22px; border-radius: 999px; font: 600 15px var(--font-sans); cursor: pointer; border: 0; background: transparent; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.work-list .work-grid { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 28px; }
button.work-card { font: inherit; text-align: left; padding: 0; cursor: pointer; width: 100%; }
.work-list .work-media { height: 280px; position: relative; padding: 28px 28px 0; }
.work-list .work-media img { border-radius: 14px 14px 0 0; object-position: top; box-shadow: 0 20px 40px rgba(6,20,26,.15); }
.work-tag { position: absolute; top: 20px; left: 20px; background: var(--ink); color: #FFFFFF; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.work-info p { margin: 0; color: var(--muted); }
.work-list .work-info h3 { margin: 0 0 6px; }
.round-arrow-mint { background: var(--mint); color: var(--teal-text); }

/* Project gallery popup (markup from openProjectModal in projects-data.js) */
.project-modal { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(6,20,26,.8); padding: 24px; overflow-y: auto; }
.project-modal.active { display: flex; align-items: flex-start; justify-content: center; }
.project-modal .modal-content { position: relative; width: min(1000px, 100%); margin: 40px auto; background: #FFFFFF; border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.project-modal .modal-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--ink); color: #FFFFFF; cursor: pointer; font-size: 18px; }
.project-modal .modal-header { display: flex; gap: 16px; align-items: center; padding-right: 48px; }
.project-modal .modal-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--mint); color: var(--teal-text); display: flex; align-items: center; justify-content: center; font-size: 24px; flex: none; }
.project-modal h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.project-modal .modal-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.project-modal .modal-tags span { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 2px 12px; font-size: 13px; }
.project-modal .modal-description { color: var(--muted); font-size: 17px; margin: 24px 0; }
.project-modal .modal-gallery h3 { font: 500 13px var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--teal-text); margin-bottom: 16px; }
.project-modal .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.project-modal .gallery-item { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; aspect-ratio: 16 / 10; }
.project-modal .gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-modal .gallery-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(6,20,26,.45); color: #FFFFFF; font-size: 24px; opacity: 0; transition: opacity .2s; }
.project-modal .gallery-item:hover .gallery-overlay { opacity: 1; }
.image-lightbox { display: none; position: fixed; inset: 0; z-index: 1100; background: rgba(6,20,26,.92); align-items: center; justify-content: center; padding: 24px; }
.image-lightbox.active { display: flex; }
.image-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.image-lightbox .lightbox-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: #FFFFFF; color: var(--ink); cursor: pointer; font-size: 18px; }

/* Animated world map (js/world-map.js): Home "Global reach" and About */
.reach { padding-top: 110px; }
.reach-about { padding-top: 0; padding-bottom: 110px; }
.reach .sec-head { margin-bottom: 24px; }
.reach-note { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 17px; }
.reach-note strong { color: var(--ink); }
.world-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.world-legend li { display: flex; align-items: center; gap: 8px; }
.world-legend i { width: 10px; height: 10px; border-radius: 99px; }
.lg-office { background: #00B89C; }
.lg-review { background: #5FE3CF; }
.lg-client { background: #B5EBE2; }
.world-map { position: relative; aspect-ratio: 2 / 1; }
.world-map svg { width: 100%; height: 100%; display: block; }
.world-map.map-failed { display: none; }
.world-map .country { transition: filter .2s; }
.world-map .country.is-office, .world-map .country.is-review, .world-map .country.is-client { filter: drop-shadow(0 2px 6px rgba(0,122,102,.25)); }
.world-map .arc { fill: none; stroke-width: 1.4; stroke-linecap: round; opacity: .85; }
.world-map .arc.flow { animation: arc-flow 1.2s linear infinite; }
.world-map .pulse { transform-origin: center; transform-box: fill-box; animation: map-pulse 2.4s ease-out infinite; }
.world-map .marker { cursor: pointer; }
.map-tip { position: absolute; transform: translate(-50%, calc(-100% - 14px)); background: var(--ink); color: #FFFFFF; border-radius: 12px; padding: 8px 12px; font-size: 14px; line-height: 1.3; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; box-shadow: 0 12px 24px rgba(6,20,26,.25); }
.map-tip.show { opacity: 1; }
.map-tip strong { display: block; }
.map-tip span { font: 500 11px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--teal); }
@keyframes map-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(4); opacity: 0; } }
@keyframes arc-flow { to { stroke-dashoffset: -20; } }
@media (prefers-reduced-motion: reduce) {
    .world-map .pulse, .world-map .arc.flow { animation: none; }
}

/* Blog list */
.blog-hero-v2 .hero-main { padding-top: 88px; padding-bottom: 64px; }
.blog-hero-v2 h1 { margin-bottom: 48px; }
.home .featured { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: var(--ink-raised); border: 1px solid var(--ink-border); color: #FFFFFF; border-radius: 28px; padding: 24px; text-decoration: none; min-height: 368px; }
.home .featured:hover { color: #FFFFFF; }
.featured-media { flex: 1 1 440px; height: 320px; border-radius: 20px; background: var(--teal); overflow: hidden; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-copy { flex: 1 1 420px; min-width: 0; padding: 8px 16px; }
.featured-tags { display: flex; gap: 10px; align-items: center; color: #9FF3E6; font-size: 14px; font-weight: 600; }
.featured h2 { margin: 16px 0 12px; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.featured p { margin: 0 0 24px; color: var(--muted-dark); font-size: 17px; }
.read-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--teal); }
.blog-list { padding-top: 72px; padding-bottom: 110px; scroll-margin-top: 24px; }
.blog-list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 40px; }
.blog-list-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.blog-list-head .filters { margin-bottom: 0; }
.blog-list-head .filters button { padding: 0 18px; font-size: 14px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 28px; }
.home .post-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.home .post-card:hover { color: var(--ink); }
.post-cover { height: 200px; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .post-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-cat { font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--teal-text); }
.post-card h3 { font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.post-meta { margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.blog-empty { color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.pager button { min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); font: 600 15px var(--font-sans); cursor: pointer; }
.pager button[aria-current="page"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.pager-info { text-align: center; color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.newsletter { background: var(--ink); color: #FFFFFF; border-radius: 36px; padding: clamp(36px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 32px; align-items: end; justify-content: space-between; }
.newsletter-copy { flex: 1 1 420px; }
.newsletter-copy .card-ico { width: 56px; height: 56px; background: var(--teal); color: var(--ink); }
.newsletter h2 { margin: 24px 0 8px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.newsletter h2 .accent-serif { color: var(--teal); }
.newsletter p { margin: 0; color: var(--muted-dark); }
.newsletter-fields { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.newsletter-fields label { font-weight: 500; color: #B9CCC8; }
.newsletter-fields > div { display: flex; flex-wrap: wrap; gap: 12px; }
.newsletter-fields input { flex: 1 1 240px; min-height: 56px; padding: 0 20px; border: 1px solid #2A4A50; background: var(--ink-raised); color: #FFFFFF; border-radius: 999px; font: inherit; }
.newsletter-fields input:focus { outline: 2px solid var(--teal); outline-offset: 1px; }

/* Legacy variable names still used by inline styles (verify-certificate) */
:root {
    --primary-color: #007A66;
    --primary-gradient: #00D9B8;
    --bg-lighter: #FFFFFF;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --text-light: #4A5D5A;
    --text-dark: #06141A;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Shared bits for inner pages */
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; color: #B9CCC8; font-weight: 500; }
.hero-checks li { display: flex; gap: 10px; align-items: center; }
.hero-checks i { color: var(--teal); }
.page-hero .hero-ctas { margin-top: 36px; }
.whu-sec { padding-top: 110px; }
.whu-sec .sec-title { margin-bottom: 48px; max-width: 820px; }
.whu-sec + .faq { padding-top: 110px; }
.whu-seo { padding-bottom: 0; }

/* Why hire us */
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); border-top: 1px solid var(--rule); }
.stat-tiles > div { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--rule); }
.stat-tiles strong { display: block; font-size: 48px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.stat-tiles strong span { color: #00A88E; }
.stat-tiles p { margin: 8px 0 0; color: var(--muted); }
.reason-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }
.reason { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.reason h3 { font-size: 21px; font-weight: 700; line-height: 1.3; }
.reason p { margin: 0; color: var(--muted); }
.reason .chips { margin-top: auto; }
.reason-dark { background: var(--ink); color: #FFFFFF; border: 0; }
.reason-dark p { color: var(--muted-dark); }
.reason-dark .card-ico { background: var(--teal); color: var(--ink); }
.reason-dark .svc-top > span:last-child { color: var(--dim-dark); }
.reason-teal { background: var(--teal); border: 0; }
.reason-teal p { color: #0B3A33; }
.reason-teal .card-ico { background: var(--ink); color: var(--teal); }
.reason-teal .chip { background: transparent; border-color: rgba(6,20,26,.3); }
.reason-teal .svc-top > span:last-child { color: #0B3A33; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.home .mini { display: flex; gap: 16px; align-items: flex-start; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 24px; text-decoration: none; color: var(--ink); }
.home .mini:hover { color: var(--ink); }
.mini .card-ico { width: 48px; height: 48px; font-size: 22px; flex: none; }
.mini h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.mini p { margin: 0; color: var(--muted); font-size: 15px; }
.steps-5 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.model > .card-ico { margin-bottom: 4px; }
.model-dark .card-ico { background: var(--teal); color: var(--ink); }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: #FFFFFF; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.cmp tbody th { font-weight: 600; }
.cmp td { text-align: center; font-size: 18px; }
.cmp thead th:not(:first-child) { text-align: center; }
.cmp .hl { background: var(--ink); color: #FFFFFF; }
.cmp thead .hl { color: var(--teal); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp .yes { color: #00A88E; font-weight: 800; }
.cmp .hl .yes { color: var(--teal); }
.cmp .no { color: #C2410C; }
.cmp .meh { color: #8AA09C; font-weight: 700; }
.cmp-legend { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.seo-note { margin: 32px 0 0; color: var(--muted); font-size: 16px; max-width: 900px; }
.seo-note strong { color: var(--ink); }
.seo-note a { font-weight: 600; }

/* Contact */
.contact-hero { display: flex !important; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 88px; padding-bottom: 110px; }
.contact-intro { flex: 1 1 420px; min-width: 0; }
.contact-intro h1 { font-size: clamp(44px, 5.6vw, 76px); margin: 18px 0 20px; }
.contact-intro .hero-lead { margin: 0 0 40px; font-size: 19px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.home .contact-links a { display: flex; gap: 16px; align-items: center; background: var(--ink-raised); border: 1px solid var(--ink-border); border-radius: 18px; padding: 18px 20px; color: #FFFFFF; text-decoration: none; transition: border-color .2s; }
.home .contact-links a:hover { border-color: var(--teal); color: #FFFFFF; }
.cl-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--teal); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; font-size: 20px; }
.contact-links small { display: block; font-size: 13px; color: var(--muted-dark); }
.contact-form-hero { flex: 1 1 480px; min-width: 0; border: 0; border-radius: 32px; gap: 20px; box-shadow: 0 40px 80px rgba(0,0,0,.35); color: var(--ink); }
.contact-form-hero h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.need { border: 0; margin: 0; padding: 0; }
.need legend { font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.need-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.need-chips button { min-height: 44px; padding: 0 16px; border-radius: 999px; font: 600 14px var(--font-sans); cursor: pointer; background: #FFFFFF; color: var(--ink); border: 1px solid #A9BAB7; }
.need-chips button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.offices { padding-top: 110px; padding-bottom: 110px; }
.offices .sec-title { margin-bottom: 40px; }
.office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.office { background: #FFFFFF; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.office > div { padding: 28px; }
.office-zone { font: 500 12px var(--font-mono); color: var(--teal-text); letter-spacing: .1em; }
.office h3 { margin: 6px 0 4px; font-size: 24px; font-weight: 700; }
.office p { margin: 0; color: var(--muted); }

/* Sitemap */
.map-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; margin-bottom: 20px; }
.map-col { background: #FFFFFF; border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.map-col h2 { display: flex; gap: 14px; align-items: center; font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.map-col .card-ico { width: 44px; height: 44px; font-size: 18px; }
.map-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.home .map-col a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; font-weight: 500; }
.home .map-col a:hover { color: var(--teal-text); }
.map-col-wide ul { grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); column-gap: 32px; }
.map-col-wide { margin-bottom: 110px; }

/* Verify certificate */
.verify-search-wrap { max-width: 620px; }
.verify-result-section { padding-top: 64px; padding-bottom: 110px; }

/* Project cards: gallery button + live link */
.work-open { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.work-list .work-card { display: flex; flex-direction: column; }
.home .work-live { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; margin: 0 28px 28px; border-radius: 999px; background: var(--teal); color: var(--ink); font-weight: 700; text-decoration: none; }
.home .work-live:hover { background: var(--ink); color: #FFFFFF; }
.work-own-tag { position: absolute; top: 20px; right: 20px; background: var(--teal); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.work-own { border-color: var(--teal) !important; box-shadow: 0 0 0 2px var(--teal); }
.project-modal .modal-live { margin: -8px 0 24px; }
.project-modal .gallery-item { aspect-ratio: 10 / 7; }
.project-modal .gallery-item img { object-position: center; }

/* Work page: two even columns, full screenshots, equal-height cards */
.work-list .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
@media (max-width: 800px) { .work-list .work-grid { grid-template-columns: 1fr; } }
.work-list .work-card { height: 100%; }
.work-list .work-open { flex: 1; display: flex; flex-direction: column; }
.work-list .work-media { height: auto; aspect-ratio: 10 / 7; padding: 0; border-bottom: 1px solid var(--line); }
.work-list .work-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; box-shadow: none; }
.work-list .work-info { flex: 1; align-items: flex-start; padding: 28px 28px 24px; }
.work-list .work-info h3 { font-size: 24px; line-height: 1.25; }
.work-list .work-info p { font-size: 16px; }
.work-list .work-info .round-arrow { margin-top: 2px; }
.work-list .work-live { margin-top: 0; }

/* Project image slideshow (projectMediaHtml in projects-data.js) */
.slides { position: relative; width: 100%; height: 100%; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.slides img.active { opacity: 1; }
.slide-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; background: rgba(6,20,26,.55); padding: 6px 10px; border-radius: 999px; }
.slide-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.slide-dots i.active { width: 20px; background: var(--teal); }
.work-grid .work-media { aspect-ratio: 10 / 7; height: auto; }

/* Internal-link cards: "Related articles" on posts, "From the blog" on home */
.home-blog { padding-top: 110px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.home .rel-card { display: flex; flex-direction: column; gap: 10px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 24px; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.home .rel-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(6,20,26,.12); color: var(--ink); }
.rel-card strong { font-size: 18px; line-height: 1.35; font-weight: 700; }
.rel-card .read-time { margin-top: auto; font-size: 14px; color: var(--muted); }
.rel { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--rule); }
.home .rel h2 { font: 500 13px var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--teal-text); margin: 0 0 16px; }
.home .rel-all { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--teal-text); }

/* Mobile fixes */
.bento { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
@media (max-width: 900px) {
    .home .card-feature, .foot-brand { grid-column: auto; }
    .home .card-feature .orbit { width: 200px; height: 200px; right: -50px; top: -50px; }
}

/* Phone polish: tighter rhythm, shorter cards, two-up stats */
@media (max-width: 600px) {
    .wrap { padding-left: 20px; padding-right: 20px; }
    .services, .process, .faq, .values, .founder, .journey .wrap, .proof .wrap, .whu-sec, .reach, .home-blog,
    .svc-list, .offices, .work-list, .blog-list, .values { padding-top: 72px; }
    .process, .faq, .founder, .journey .wrap, .proof .wrap, .values, .offices, .work-list, .blog-list,
    .work, .contact, .cta-band, .mv, .models, .post-cta, .post-main, .reach-about { padding-bottom: 72px; }
    .stats { padding-top: 56px; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat, .stat:first-child { border-left: 0; border-top: 0; padding: 24px 12px 24px 0; border-bottom: 1px solid var(--rule); }
    .stat-num { font-size: 42px; }
    .stat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-tiles strong { font-size: 36px; }
    .home .card-feature, .home .card-teal { min-height: 0; padding: 28px; gap: 28px; }
    .home .card { padding: 24px; gap: 24px; }
    .card-feature h3 { font-size: 26px; }
    .card-teal h3 { font-size: 22px; }
    .sec-head { margin-bottom: 32px; }
    .sec-head .btn, .work .sec-head .btn { min-height: 44px; }
    .h2 { font-size: 34px; }
    .hero h1 { font-size: 42px; }
    .page-hero h1, .post-hero h1, .contact-intro h1 { font-size: 38px; }
    .hero-lead { font-size: 17px; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero-visual { padding-bottom: 56px; }
    .float-card { max-width: 240px; }
    .stack-strip .wrap { gap: 10px 22px; font-size: 16px; }
    .step, .reason, .value, .model, .mv-card, .svc, .svc-ai, .svc-design, .map-col { padding: 24px; }
    .mv-card p { font-size: 24px; }
    .svc h2 { font-size: 26px; }
    .svc-ai h2 { font-size: 30px; }
    .svc-ai, .svc-design { gap: 24px; }
    .founder-photo img { height: 400px; }
    .founder-quote { font-size: 19px; padding: 24px; }
    .tl-year { font-size: 32px; }
    .timeline { gap: 24px; }
    .cta-box, .contact-cta, .newsletter { border-radius: 28px; padding: 32px 24px; }
    .cta-box .btn, .contact-cta .btn { width: 100%; justify-content: center; min-height: 56px; font-size: 16px; padding: 0 20px; }
    .cta-box .cta-actions { width: 100%; }
    .contact-form, .contact-form-hero { border-radius: 24px; padding: 24px; }
    .contact-hero { padding-top: 48px; padding-bottom: 72px; gap: 40px; }
    .featured { padding: 16px; gap: 20px; }
    .featured-media { height: 200px; flex-basis: 100%; }
    .featured-copy { padding: 4px 8px 8px; }
    .filters { border-radius: 24px; }
    .filters button { padding: 0 14px; }
    .work-info { padding: 20px; }
    .home .work-live { margin: 0 20px 20px; }
    .proof-highlights, .proof-gallery { gap: 14px; }
    .proof-card { padding: 24px; }
    .faq-q { font-size: 17px; padding: 20px 0; }
    .faq-a { font-size: 16px; }
    .foot-grid { padding-top: 56px; gap: 32px; }
    .cmp th, .cmp td { padding: 12px 14px; }
    .post-hero-meta { gap: 6px 16px; font-size: 14px; }
    .home .blog-content .highlight-box, .home .blog-content .blog-cta, .home .blog-content blockquote { padding: 22px; }
}

/* Legal pages (privacy.html, terms.html) */
.legal-date { margin: 20px 0 0; font: 500 13px var(--font-mono); color: var(--dim-dark); text-transform: uppercase; letter-spacing: .1em; }
.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; padding-top: 72px; padding-bottom: 110px; }
.legal-toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.legal-toc strong { font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--teal-text); margin-bottom: 8px; }
.home .legal-toc a { color: var(--muted); text-decoration: none; padding: 6px 0; font-size: 15px; }
.home .legal-toc a:hover { color: var(--ink); }
.legal { max-width: 760px; font-size: 17px; line-height: 1.75; color: #24363A; }
.legal h2 { margin: 48px 0 12px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: 24px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 24px 0 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 1.3em; }
.legal li + li { margin-top: 6px; }
.legal li::marker { color: var(--teal-text); }
.legal strong { color: var(--ink); }
.legal a { font-weight: 600; }
.legal-contact { list-style: none; padding-left: 0 !important; }
.legal-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: #FFFFFF; margin: 8px 0 16px; }
.legal-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.legal-table tr:last-child td { border-bottom: 0; }
.home .foot-legal a { color: #B9CCC8; text-decoration: none; }
.home .foot-legal a:hover { color: #FFFFFF; }
@media (max-width: 900px) {
    .legal-wrap { grid-template-columns: 1fr; gap: 32px; }
    .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 16px; }
    .legal-toc strong { width: 100%; }
}
@media (max-width: 600px) {
    .legal-wrap { padding-top: 48px; padding-bottom: 72px; }
    .legal h2 { font-size: 22px; margin-top: 36px; }
    .legal { font-size: 16px; }
}
