@font-face {
    font-family: "Inter Variable";
    src: url("../fonts/inter-variable-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --bg: #ffffff;
    --bg-soft: #f6f7f9;
    --ink: #0b0d12;
    --ink-2: #2b303b;
    --muted: #5b616e;
    --subtle: #8a909c;
    --line: #e5e7eb;
    --line-strong: #d4d7de;
    --accent: #4a3fd4;
    --accent-dark: #3a30b3;
    --accent-soft: #efedfd;
    --dark: #0b0d12;
    --dark-2: #151821;
    --success: #0f8a5f;
    --error: #c2334d;
    --max: 1200px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow-md: 0 12px 32px -12px rgba(16, 24, 40, .18);
    --ease: cubic-bezier(.2, .75, .25, 1);
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); background: var(--bg); font-family: "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; font-weight: 420; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.menu-open, body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
::selection { color: white; background: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; color: white; border-radius: 8px; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

/* Shared elements */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 13px; font-weight: 620; letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow-light { color: #b9b3ff; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s; }
.btn span[aria-hidden] { transition: transform .2s; }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary { color: white; background: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent); }
.btn-secondary { color: var(--ink); border-color: var(--line-strong); background: white; }
.btn-secondary:hover { border-color: var(--ink); }
.btn-light { color: var(--ink); background: white; }
.btn-light:hover { background: var(--accent-soft); }
.btn-outline-light { color: white; border-color: rgba(255,255,255,.28); background: transparent; }
.btn-outline-light:hover { border-color: white; }
.btn:disabled { opacity: .6; cursor: progress; }

.icon-badge { display: grid; place-items: center; width: 44px; height: 44px; color: var(--accent); border-radius: 12px; background: var(--accent-soft); }
.icon-badge svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 15px; font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .2s; }
.text-link:hover { border-color: currentColor; }

/* Header */
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header::before { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); }
body.menu-open .site-header::before { background: white; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(16,24,40,.15); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: white; border-radius: 10px; background: linear-gradient(145deg, #1a1830, var(--accent)); }
.brand-mark svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.brand-name span { margin-left: 4px; color: var(--subtle); font-weight: 500; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 520; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; font-weight: 560; }
.nav-phone:hover { color: var(--accent); }
.nav-phone svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-button { display: none; place-content: center; gap: 6px; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: white; cursor: pointer; }
.menu-button i { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: var(--ink); transition: transform .25s; }
.menu-button[aria-expanded="true"] i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-button[aria-expanded="true"] i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-menu { display: none; }

/* Hero */
.hero { padding: 64px 0 0; background: linear-gradient(180deg, var(--bg-soft), var(--bg) 85%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 6vw, 80px); }
.hero-copy h1 { margin-top: 20px; font-size: clamp(42px, 5.2vw, 66px); font-weight: 680; letter-spacing: -.04em; line-height: 1.04; }
.hero-copy > p:not(.hero-note) { max-width: 540px; margin-top: 22px; color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 22px; color: var(--subtle); font-size: 14px; }
.hero-visual { position: relative; padding: clamp(20px, 3vw, 36px) clamp(16px, 2.5vw, 28px) clamp(48px, 5vw, 64px); border-radius: 28px; background: radial-gradient(circle at 70% 20%, #e4e1fb, transparent 60%), linear-gradient(160deg, #eef0f6, #f7f7fa); }
.hero-visual img { width: 100%; height: auto; }
.hero-badge { position: absolute; bottom: -22px; left: 28px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow-md); transition: border-color .2s; }
.hero-badge:hover { border-color: var(--accent); }
.hero-badge-icon { display: grid; place-items: center; width: 36px; height: 36px; color: white; border-radius: 10px; background: var(--success); }
.hero-badge-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-badge strong { display: block; font-size: 14.5px; font-weight: 650; }
.hero-badge small { display: block; color: var(--accent); font-size: 13px; font-weight: 560; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; gap: 4px; padding: 28px 24px; border-left: 1px solid var(--line); }
.facts div:first-child { padding-left: 0; border-left: 0; }
.facts strong { font-size: 22px; font-weight: 680; letter-spacing: -.02em; }
.facts span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 112px 0; }
.section-heading { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-heading h2 { margin-top: 16px; font-size: clamp(32px, 3.6vw, 46px); font-weight: 680; letter-spacing: -.035em; line-height: 1.1; }
.section-heading > p, .section-heading-split p { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.section-heading-split { display: grid; grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 40px; max-width: none; text-align: left; }
.section-heading-split p { margin: 0; }
.section-heading-split .text-link { margin-top: 14px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 32px 30px 30px; }
.service-body .icon-badge { width: 52px; height: 52px; border-radius: 14px; }
.service-body .icon-badge svg { width: 24px; height: 24px; }
.service-label { display: block; margin-top: 24px; color: var(--subtle); font-size: 13px; font-weight: 600; }
.service-body h3 { margin-top: 6px; font-size: 22px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.service-body p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.service-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.service-list li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15px; font-weight: 520; }
.service-list li::before { content: ""; position: absolute; top: 4px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a3fd4' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* Work */
.work-section { background: var(--bg-soft); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease); }
.work-card:hover { box-shadow: var(--shadow-md); }
.work-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eef0f3; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.work-media:hover img { transform: scale(1.03); }
.work-media-contain img { object-fit: contain; }
.work-media-gritz { background: #141414; }
.work-copy { display: flex; flex: 1; flex-direction: column; padding: 26px 28px 28px; }
.work-brand { display: flex; align-items: center; gap: 12px; }
.work-brand img { width: 40px; height: 40px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: white; }
.work-brand span { color: var(--subtle); font-size: 13px; font-weight: 560; }
.work-copy h3 { margin-top: 20px; font-size: 24px; font-weight: 680; letter-spacing: -.025em; line-height: 1.2; }
.work-copy > p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.work-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; }
.work-links a { padding: 8px 13px; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 8px; font-size: 13.5px; font-weight: 600; transition: color .2s, border-color .2s, background .2s; }
.work-links a:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* Approach */
.approach-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.approach-card { padding: 30px 26px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.approach-top { display: flex; align-items: center; justify-content: space-between; }
.approach-num { color: var(--line-strong); font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.approach-card h3 { margin-top: 24px; font-size: 19px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.approach-card p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* About */
.about-section { padding-top: 0; }
.about-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 100px); padding-top: 96px; border-top: 1px solid var(--line); }
.about-heading h2 { margin: 16px 0 24px; font-size: clamp(32px, 3.6vw, 46px); font-weight: 680; letter-spacing: -.035em; line-height: 1.1; }
.about-story p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.about-story p + p { margin-top: 18px; }
.about-story .about-lead { color: var(--ink); font-size: clamp(19px, 1.8vw, 23px); font-weight: 520; letter-spacing: -.015em; line-height: 1.5; }

/* Industries */
.industries-section { background: var(--bg-soft); }
.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.industry-card { display: flex; align-items: flex-start; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: border-color .2s, box-shadow .2s; }
.industry-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.industry-card .icon-badge { flex: none; }
.industry-card h3 { margin-top: 2px; font-size: 17px; font-weight: 650; letter-spacing: -.015em; line-height: 1.3; }
.industry-card p { margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* Contact CTA */
.contact-section { padding-bottom: 96px; }
.cta-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 56px; padding: clamp(36px, 5vw, 64px); overflow: hidden; color: white; border-radius: 28px; background: radial-gradient(circle at 90% 0%, rgba(74,63,212,.45), transparent 50%), var(--dark); }
.cta-copy h2 { margin-top: 16px; color: white; font-size: clamp(32px, 4vw, 52px); font-weight: 680; letter-spacing: -.035em; line-height: 1.08; }
.cta-copy > p { max-width: 460px; margin-top: 16px; color: #b3b8c4; font-size: 17px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contact-details { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.contact-details li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.04); }
.contact-details svg { flex: none; width: 20px; height: 20px; fill: none; stroke: #b9b3ff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-details span { display: block; color: #8a909c; font-size: 12.5px; font-weight: 560; }
.contact-details a, .contact-details p { color: white; font-size: 15.5px; font-weight: 540; }
.contact-details a:hover { color: #b9b3ff; }

/* Footer */
.site-footer { padding: 72px 0 32px; color: #b3b8c4; background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 48px; }
.brand-light, .brand-light .brand-name { color: white; }
.footer-about p { max-width: 360px; margin-top: 18px; color: #8a909c; font-size: 15px; line-height: 1.65; }
.footer-about .footer-legal { color: #6b7180; font-size: 13px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-column h2 { margin-bottom: 6px; color: white; font-size: 14px; font-weight: 640; }
.footer-column a, .footer-column p { color: #a1a7b3; font-size: 15px; line-height: 1.6; }
.footer-column a:hover { color: white; }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; color: #6b7180; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom a:hover, .footer-consent-button:hover { color: white; }
.footer-consent-button { padding: 0; color: inherit; border: 0; background: none; cursor: pointer; font: inherit; }

/* Contact dialog */
.contact-dialog { width: min(calc(100% - 32px), 760px); max-height: calc(100svh - 32px); padding: clamp(28px, 5vw, 52px); color: var(--ink); border: 0; border-radius: var(--radius-lg); background: white; box-shadow: 0 40px 100px -20px rgba(16,24,40,.45); }
.contact-dialog::backdrop { background: rgba(11,13,18,.55); backdrop-filter: blur(6px); }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; background: white; cursor: pointer; font-size: 22px; line-height: 1; }
.dialog-close:hover { background: var(--bg-soft); }
.dialog-intro h2 { max-width: 560px; margin: 14px 0 10px; font-size: clamp(26px, 3.2vw, 36px); font-weight: 680; letter-spacing: -.03em; line-height: 1.12; }
.dialog-intro p { color: var(--muted); font-size: 15.5px; }
.contact-form { margin-top: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; color: var(--ink-2); font-size: 14px; font-weight: 580; }
.contact-form label { position: relative; }
.contact-form small { position: absolute; top: 1px; right: 0; color: var(--subtle); font-size: 12.5px; font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; outline: 0; background: white; font-size: 15px; font-weight: 420; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74,63,212,.15); }
.contact-form textarea { resize: vertical; }
.contact-form button[type="submit"] { margin-top: 6px; }
.form-honeypot { position: absolute; left: -9999px; }
.form-status { min-height: 22px; margin-top: 14px; color: var(--success); font-size: 14px; }
.form-status.is-error { color: var(--error); }

/* Consent banner */
.consent-banner { position: fixed; z-index: 250; right: 20px; bottom: 20px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 18px; width: min(calc(100% - 40px), 880px); padding: 20px; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 24px 60px -16px rgba(16,24,40,.3); }
.consent-banner[hidden] { display: none; }
.consent-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--accent); border-radius: 12px; background: var(--accent-soft); }
.consent-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.consent-copy h2 { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.consent-copy p { margin-top: 4px; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.consent-copy a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 8px; }
.consent-button { min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background .2s, border-color .2s; }
.consent-button-secondary { color: var(--ink); background: white; }
.consent-button-secondary:hover { border-color: var(--ink); }
.consent-button-primary { color: white; border-color: var(--ink); background: var(--ink); }
.consent-button-primary:hover { border-color: var(--accent); background: var(--accent); }

/* Sub-pages (privacy, blog) */
.page-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.page-hero h1 { max-width: 820px; margin-top: 16px; font-size: clamp(36px, 4.6vw, 56px); font-weight: 680; letter-spacing: -.04em; line-height: 1.06; }
.page-hero p { max-width: 640px; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.page-hero .page-meta { margin-top: 14px; color: var(--subtle); font-size: 14px; }
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-top: 56px; padding-bottom: 112px; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.doc-toc > span { color: var(--subtle); font-size: 13px; font-weight: 600; }
.doc-toc ol { display: grid; gap: 2px; margin: 12px 0 0; padding: 0; list-style: none; }
.doc-toc a { display: block; padding: 6px 0 6px 14px; color: var(--muted); border-left: 2px solid var(--line); font-size: 14.5px; transition: color .2s, border-color .2s; }
.doc-toc a:hover { color: var(--ink); border-color: var(--accent); }
.doc-content section + section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }

.prose { max-width: 720px; color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: 26px; font-weight: 660; letter-spacing: -.025em; line-height: 1.25; }
.prose h3 { margin-top: 1.6em; font-size: 21px; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.prose h4 { margin-top: 1.4em; font-size: 18px; font-weight: 650; }
.prose section > h2:first-child, .prose > h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose section > * + * { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-dark); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; color: var(--ink); border-left: 3px solid var(--accent); font-size: 19px; line-height: 1.6; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--bg-soft); font-size: .9em; }
.prose pre { overflow-x: auto; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); font-size: 14.5px; line-height: 1.6; }
.prose pre code { padding: 0; background: none; }
.prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { color: var(--ink); font-weight: 650; background: var(--bg-soft); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
    .nav-phone span { display: none; }
    .nav-links { gap: 22px; }
    .approach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    :root { --header-h: 64px; }
    .nav-links, .nav-phone, .nav-actions .nav-cta { display: none; }
    .nav-actions { margin-left: auto; }
    .menu-button { display: grid; }
    .mobile-menu { position: fixed; z-index: 90; top: var(--header-h); right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; gap: 2px; padding: 20px 24px 32px; background: white; border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
    .mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
    .mobile-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
    .mobile-menu .btn { margin-top: 24px; }

    .hero { padding-top: 40px; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 720px; }
    .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; }
    .facts div { padding: 22px 20px; }
    .facts div:nth-child(odd) { padding-left: 0; border-left: 0; }
    .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }

    .section { padding: 80px 0; }
    .section-heading { margin-bottom: 40px; }
    .section-heading-split { grid-template-columns: 1fr; gap: 0; }
    .section-heading-split > div:last-child { margin-top: 16px; }
    .service-grid, .work-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
    .about-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 72px; }
    .cta-panel { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .footer-about { grid-column: 1 / -1; }
    .doc-layout { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 80px; }
    .doc-toc { position: static; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
}

@media (max-width: 600px) {
    .container { width: min(calc(100% - 40px), var(--max)); }
    .brand-name span { display: none; }
    .hero-copy h1 { font-size: clamp(36px, 10.5vw, 46px); }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-visual { padding: 16px 12px 44px; border-radius: 22px; }
    .hero-badge { left: 12px; right: 12px; bottom: -24px; }
    .facts strong { font-size: 19px; }
    .facts span { font-size: 13px; }
    .section { padding: 64px 0; }
    .section-heading { text-align: left; }
    .section-heading h2, .about-heading h2 { font-size: 30px; }
    .section-heading > p, .section-heading-split p { font-size: 16px; }
    .approach-grid, .industry-grid { grid-template-columns: 1fr; gap: 14px; }
    .industry-card { padding: 20px; }
    .about-layout { padding-top: 56px; }
    .contact-section { padding-bottom: 64px; }
    .cta-panel { padding: 32px 22px; border-radius: 22px; }
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .contact-details li { padding: 14px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .contact-dialog { padding: 56px 20px 24px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .consent-banner { right: 10px; bottom: 10px; grid-template-columns: 38px 1fr; width: calc(100% - 20px); padding: 16px; gap: 12px; }
    .consent-icon { width: 38px; height: 38px; }
    .consent-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; }
    .consent-button { width: 100%; }
    .page-hero { padding: 48px 0 40px; }
    .page-hero p { font-size: 16.5px; }
    .prose { font-size: 16.5px; }
    .prose h2 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
