/* ==========================================================================
   Geoit — public site design system (dark)
   Brand: purple #5A3896 (logo), gray #88888A
   ========================================================================== */

:root {
    --brand: #5A3896;
    --brand-hi: #6E48B4;
    --brand-soft: #A98DE3;
    --brand-tint: rgba(90, 56, 150, .18);
    --bg: #0A0812;
    --bg-2: #100D19;
    --surface: #15111F;
    --surface-2: #1B1628;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --head: #F3F0FA;
    --text: #B3ADC4;
    --muted: #8A849D;
    --accent: #16DEFE;
    --success: #3DDC97;
    --danger: #FF6B81;
    --radius: 20px;
    --container: 1200px;
    --header-h: 76px;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { color: var(--head); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
:focus-visible { outline: 2px solid var(--brand-soft); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: #1A1328; padding: .6rem 1rem; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.45rem; border-radius: 999px; font-weight: 600; font-size: .94rem; transition: background .2s, border-color .2s, transform .2s; white-space: nowrap; border: 0; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 12px 32px -10px rgba(110, 72, 180, .9); }
.btn-primary:hover { background: var(--brand-hi); }
.btn-ghost { color: var(--head); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: rgba(169, 141, 227, .5); }
.btn-white { background: #fff; color: #1A1328; }
.btn-white:hover { background: #EDE8F7; }
.btn-sm { padding: .6rem 1.15rem; font-size: .86rem; }
.btn-text { color: var(--muted); background: none; }
.link { font-weight: 600; color: var(--head); font-size: .9rem; display: inline-flex; gap: .5rem; align-items: center; }
.link i { color: var(--brand-soft); font-size: .8rem; transition: transform .2s; }
.link:hover i { transform: translateX(3px); }

/* ---------- Eyebrow (logo-derived node motif) ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-soft); }
.eyebrow .nodes { display: inline-flex; align-items: center; }
.eyebrow .nodes i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: block; }
.eyebrow .nodes b { width: 12px; height: 1.5px; background: currentColor; display: block; opacity: .5; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 8, 18, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; height: var(--header-h); gap: 2rem; }
.nav-logo img { height: 56px; width: auto; margin-left: -8px; }
.nav-panel { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 1.8rem; font-weight: 500; font-size: .92rem; color: #D7D2E4; }
.nav-menu > li { position: relative; }
.nav-menu > li > a, .nav-menu > li > button { display: flex; align-items: center; gap: .4rem; background: none; border: 0; color: inherit; padding: .5rem 0; }
.nav-menu > li > a:hover, .nav-menu > li > button:hover, .nav-menu > li.is-active > a { color: #fff; }
.nav-menu .chev { font-size: .55rem; color: var(--muted); transition: transform .2s; }
.dropdown { position: absolute; top: calc(100% + 12px); left: -18px; min-width: 300px; background: rgba(21, 17, 31, .98); border: 1px solid var(--line-2); border-radius: 16px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .chev, .has-dropdown.open .chev { transform: rotate(180deg); }
.dropdown a { display: flex; gap: .85rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 10px; }
.dropdown a:hover { background: rgba(255, 255, 255, .04); }
.dropdown .di { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; background: var(--brand-tint); color: var(--brand-soft); display: grid; place-items: center; font-size: .85rem; }
.dropdown strong { display: block; color: var(--head); font-weight: 600; font-size: .9rem; }
.dropdown small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.dropdown hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.nav-lang { display: flex; gap: .35rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.nav-lang a.on { color: var(--head); }
.nav-lang a:hover { color: var(--head); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; color: var(--head); align-items: center; justify-content: center; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 520px at 78% 30%, rgba(90, 56, 150, .42), transparent 60%), radial-gradient(600px 400px at 8% 90%, rgba(90, 56, 150, .18), transparent 60%); }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%); opacity: .55; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: 4rem; align-items: center; padding: 104px 0 120px; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.1rem); margin: 1.3rem 0 1.5rem; letter-spacing: -.035em; }
.hero h1 em, .page-hero h1 em { font-style: normal; background: linear-gradient(90deg, #C9B4F5, #8C66D6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.12rem; max-width: 520px; }
.hero .ctas { display: flex; gap: .8rem; margin: 2.3rem 0 3rem; flex-wrap: wrap; }
.tags { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; font-size: .82rem; }
.tags .tag { border: 1px solid var(--line-2); border-radius: 99px; padding: .32rem .8rem; color: #D7D2E4; background: rgba(255, 255, 255, .02); }
.hero-visual { position: relative; }
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #0E0C15; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(169, 141, 227, .08); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: block; }
.browser-bar span { margin-left: 12px; font-size: .7rem; color: var(--muted); background: rgba(255, 255, 255, .04); padding: 3px 12px; border-radius: 99px; }
.phone { position: absolute; right: -20px; bottom: -50px; width: 148px; border-radius: 26px; padding: 6px; background: #05040A; border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9); }
.phone img { border-radius: 20px; }
.chip { position: absolute; background: rgba(21, 17, 31, .88); backdrop-filter: blur(8px); border: 1px solid var(--line-2); border-radius: 14px; padding: .6rem .95rem; font-size: .78rem; font-weight: 600; color: var(--head); display: flex; gap: .65rem; align-items: center; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.chip .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-tint); color: var(--brand-soft); display: grid; place-items: center; font-size: .82rem; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: .7rem; }
.chip-1 { left: -44px; top: 30%; }
.chip-2 { left: 14%; bottom: -28px; }

/* ---------- Trust strip ---------- */
.trust { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trust-row { display: flex; align-items: center; gap: 3rem; }
.trust-row > p { font-size: .8rem; font-weight: 500; color: var(--muted); flex: 0 0 170px; letter-spacing: .02em; }
.trust-logos { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 2.5rem; }
.trust-logos img { height: 30px; width: auto; max-width: 150px; object-fit: contain; opacity: .55; transition: opacity .2s; }
.trust-logos img:hover { opacity: .9; }
.trust-logos .l-sil { filter: brightness(0) invert(1); }
.trust-logos .l-scr { filter: grayscale(1) contrast(12); mix-blend-mode: screen; height: 40px; }
.trust-logos .l-sq { filter: grayscale(1); mix-blend-mode: screen; height: 84px; margin-block: -20px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { max-width: 700px; margin-bottom: 3.5rem; }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head h2 { font-size: clamp(2rem, 3.4vw, 2.85rem); margin: .9rem 0 1rem; }
.sec-head p { font-size: 1.05rem; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.5rem; }
.head-row .sec-head { margin-bottom: 0; }

/* ---------- BuildOps feature card ---------- */
.bo { position: relative; border-radius: 28px; display: grid; grid-template-columns: 1fr 1.05fr; overflow: hidden; background: linear-gradient(160deg, #1C1530, #120E1C 55%); border: 1px solid var(--line-2); }
.bo::after { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(110, 72, 180, .45), transparent 62%); right: -200px; top: -260px; pointer-events: none; }
.bo-content { padding: 60px 56px; position: relative; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: .8rem; margin-bottom: 1.7rem; }
.badge .tile { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 8px; }
.badge strong { display: block; color: var(--head); font-size: 1.15rem; font-weight: 700; }
.badge span span { font-size: .8rem; color: var(--muted); }
.bo h3 { font-size: 2.05rem; margin-bottom: 1.1rem; }
.bo p { max-width: 480px; }
.flow { display: flex; align-items: flex-start; margin: 2.2rem 0 2rem; }
.flow-step { flex: 1; text-align: center; position: relative; font-size: .72rem; font-weight: 500; color: #CFC9DE; }
.flow-step::before { content: ""; position: absolute; top: 8px; left: 50%; width: 100%; height: 1.5px; background: linear-gradient(90deg, var(--accent), rgba(22, 222, 254, .2)); }
.flow-step:last-child::before { display: none; }
.flow-step .dot { width: 18px; height: 18px; border-radius: 50%; background: #140F20; border: 2.5px solid var(--accent); margin: 0 auto .6rem; position: relative; z-index: 1; box-shadow: 0 0 14px rgba(22, 222, 254, .45); }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.pills a, .pills span { font-size: .78rem; font-weight: 500; color: #DDD8EA; border: 1px solid var(--line-2); padding: .42rem .85rem; border-radius: 99px; background: rgba(255, 255, 255, .03); transition: border-color .2s; }
.pills a:hover { border-color: rgba(22, 222, 254, .5); }
.bo-cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.bo-shot { position: relative; padding-top: 60px; display: flex; align-items: flex-end; overflow: hidden; z-index: 1; }
.bo-shot img { width: 165%; max-width: none; border-radius: 14px 0 0 0; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .8); }

/* ---------- Cards ---------- */
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; transition: border-color .25s, background .25s; }
.card:hover { border-color: rgba(169, 141, 227, .35); background: var(--surface-2); }
.card h3, .card h4 { font-size: 1.2rem; margin-bottom: .45rem; }
.card p { font-size: .92rem; margin-bottom: 1rem; }
.card p:last-child { margin-bottom: 0; }
.section-alt + .band-wrap, .trust + .band-wrap, .section-tight + .band-wrap { padding-top: 120px; }
.kicker { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: block; margin-bottom: .5rem; }
.card-media { display: flex; gap: 26px; align-items: center; }
.icon-tile { width: 84px; height: 84px; flex: 0 0 84px; border-radius: 20px; background: #F4F2F8; display: grid; place-items: center; padding: 10px; }
.icon-sm { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--brand-soft); display: grid; place-items: center; font-size: 1.05rem; background: var(--brand-tint); }

/* ---------- Capabilities grid ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.cap { padding: 38px 32px; border-right: 1px solid var(--line); background: var(--bg-2); transition: background .25s; }
.cap:last-child { border-right: 0; }
.cap:hover { background: var(--surface); }
.cap .num { font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: .1em; }
.cap .icon-sm { margin: 1.6rem 0 1.4rem; }
.cap h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.cap p { font-size: .9rem; margin-bottom: 1.3rem; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 4.5rem; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent); }
.pstep { padding-right: 28px; position: relative; }
.pstep .d { width: 19px; height: 19px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--brand-soft); margin-bottom: 1.4rem; position: relative; z-index: 1; }
.pstep:first-child .d { background: var(--brand-soft); }
.pstep .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pstep h3, .pstep h4 { font-size: 1.08rem; margin: .35rem 0 .45rem; }
.pstep p { font-size: .88rem; }

/* ---------- Perspective ---------- */
.persp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; }
.persp blockquote { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--head); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; margin-top: 1.4rem; }
.persp blockquote span { color: var(--brand-soft); }
.persp .note { margin-top: 1.6rem; color: var(--muted); font-size: .95rem; }
.steps .s { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps .s:last-child { border-bottom: 1px solid var(--line); }
.steps .n { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: .8rem; font-weight: 600; color: var(--brand-soft); }
.steps h3, .steps h4 { font-size: 1.02rem; margin-bottom: .25rem; }
.steps p { font-size: .9rem; }
.steps .more { display: block; padding: 22px 0 0; border: 0; }

/* ---------- Posts ---------- */
.post { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .4s; }
.post:hover .post-thumb img { transform: scale(1.03); }
.post-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .76rem; color: var(--muted); font-weight: 500; margin-bottom: .7rem; display: flex; gap: .9rem; flex-wrap: wrap; }
.post-meta .tag { color: var(--brand-soft); }
.post h3 { font-size: 1.08rem; margin-bottom: .7rem; line-height: 1.35; }
.post-excerpt { font-size: .9rem; margin-bottom: 1.1rem; }
.post .link { margin-top: auto; }

/* ---------- CTA band ---------- */
.band { position: relative; overflow: hidden; border-radius: 28px; padding: 72px 64px; border: 1px solid var(--line-2); background: radial-gradient(700px 360px at 85% 120%, rgba(110, 72, 180, .65), transparent 65%), linear-gradient(135deg, #1A1329, #110D1B); display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
.band > div { position: relative; z-index: 1; }
.band h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .8rem; max-width: 560px; }
.band p { max-width: 520px; }
.band-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.band svg { position: absolute; right: 30px; top: -40px; opacity: .07; pointer-events: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 85% 0%, rgba(90, 56, 150, .38), transparent 62%); }
.page-hero .container { position: relative; padding: 88px 0 80px; }
.page-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin: 1.1rem 0 1.2rem; max-width: 820px; letter-spacing: -.03em; }
.page-hero .lead { font-size: 1.1rem; max-width: 640px; }
.crumbs { display: flex; gap: .55rem; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 1.6rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--head); }
.crumbs i { font-size: .55rem; opacity: .6; }

/* ---------- Capability detail (services page) ---------- */
.cap-detail { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; padding: 64px 0; border-top: 1px solid var(--line); align-items: start; }
.cap-detail:first-child { border-top: 0; padding-top: 0; }
.cap-detail h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 1rem 0 1rem; }
.cap-detail .icon-sm { margin-bottom: .4rem; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: #DDD8EA; font-size: .92rem; font-weight: 500; }
.feature-list i { color: var(--brand-soft); margin-top: .2rem; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: .9rem 0 1.2rem; }
.split p + p { margin-top: 1rem; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm .card h3 { font-size: 1.4rem; margin: .6rem 0 .8rem; }
.vm .card p { font-size: 1rem; margin: 0; }
.stats-wrap { padding-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.stats-1 { grid-template-columns: 1fr; }
.stats-2 { grid-template-columns: repeat(2, 1fr); }
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 34px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2.6rem; color: var(--head); font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-bottom: .6rem; }
.stat span { font-size: .88rem; color: var(--muted); }

/* ---------- References ---------- */
.platform-card { display: flex; flex-direction: column; }
.platform-card .icon-tile { margin-bottom: 1.6rem; }
.platform-card h3 { font-size: 1.5rem; }
.platform-card .actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: auto; padding-top: .6rem; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { padding: 0; overflow: hidden; }
.project figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project:hover img { transform: scale(1.03); }
.project .body { padding: 22px 24px 24px; }
.project h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.project .host { font-size: .8rem; color: var(--muted); word-break: break-all; }

/* ---------- Prose (policies, blog content) ---------- */
.prose { max-width: 760px; font-size: 1.04rem; color: #C7C1D6; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose a { color: var(--brand-soft); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--brand-soft); }
.prose strong { color: var(--head); }
.prose img { border-radius: 14px; margin-block: 1.6em; }
.prose blockquote { border-left: 2px solid var(--brand-soft); padding-left: 1.2em; color: var(--head); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--line-2); padding: .6em .8em; text-align: left; }
.prose code { background: var(--surface-2); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
/* Content authored in the admin editor may carry light-theme inline colours. */
.prose [style*="color"] { color: inherit !important; }
.prose [style*="background"] { background: transparent !important; }

/* ---------- Blog detail ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: start; }
.article-cover { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 2.6rem; }
.article-cover img { width: 100%; max-height: 460px; object-fit: cover; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; font-weight: 600; }
.mini-post { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.mini-post img { width: 76px; height: 56px; object-fit: cover; border-radius: 10px; }
.mini-post strong { display: block; color: var(--head); font-size: .9rem; line-height: 1.35; font-weight: 600; }
.mini-post small { color: var(--muted); font-size: .76rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.info-list { display: grid; gap: 14px; margin-top: 2rem; }
.info-item { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.info-item small { display: block; color: var(--muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.info-item span, .info-item a { color: var(--head); font-weight: 500; font-size: .95rem; }
.map { margin-top: 1.6rem; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.6); }
.form-card { padding: 40px; }
.form-card h2 { font-size: 1.5rem; margin-bottom: 1.6rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; color: #D7D2E4; }
.field input, .field select, .field textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: .85rem 1rem; color: var(--head); font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-soft); box-shadow: 0 0 0 3px rgba(169, 141, 227, .18); }
.field input::placeholder, .field textarea::placeholder { color: #6E6882; }
.field-validation-error, .validation-summary-errors { color: var(--danger); font-size: .8rem; }
.validation-summary-errors ul { margin-bottom: 1rem; }
.validation-summary-valid { display: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1.4rem; flex-wrap: wrap; }
.form-foot p { font-size: .78rem; color: var(--muted); max-width: 340px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: .8rem; align-items: center; padding: 14px 18px; border-radius: 14px; margin-bottom: 1.4rem; font-size: .92rem; font-weight: 500; }
.alert-success { background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .35); color: #9FF0CB; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 26px 0; color: var(--head); font-size: 1.12rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--brand-soft); font-size: .85rem; transition: transform .2s; flex: 0 0 auto; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 3rem 26px 0; font-size: .98rem; }

/* ---------- Error page ---------- */
.error-page { text-align: center; padding: 140px 0; }
.error-page .code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; background: linear-gradient(180deg, #C9B4F5, rgba(140, 102, 214, .15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { font-size: 2rem; margin: 1rem 0 .8rem; }
.error-page p { margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 120px; border-top: 1px solid var(--line); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-about img { height: 60px; width: auto; margin: -8px 0 1rem -8px; }
.footer-about p { font-size: .9rem; max-width: 280px; margin-bottom: 1.4rem; }
.social { display: flex; gap: .5rem; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; color: #D7D2E4; font-size: .9rem; transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--brand-soft); color: #fff; }
.footer-grid h2 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--head); margin-bottom: 1.2rem; font-weight: 600; }
.footer-grid ul { display: grid; gap: .65rem; font-size: .9rem; color: var(--muted); }
.footer-grid ul a:hover { color: var(--head); }
.footer-grid ul i { color: var(--brand-soft); width: 18px; }
.footer-bottom { margin-top: 60px; border-top: 1px solid var(--line); padding: 24px 0; display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--head); }
.footer-bottom button { background: none; border: 0; color: inherit; font-size: inherit; }

/* ---------- Cookie consent ---------- */
.cookie { position: fixed; left: 20px; bottom: 20px; max-width: 420px; background: rgba(21, 17, 31, .97); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); padding: 20px; font-size: .84rem; z-index: 60; }
.cookie[hidden] { display: none; }
.cookie strong { color: var(--head); display: block; margin-bottom: .3rem; font-weight: 600; }
.cookie-actions { display: flex; gap: .5rem; margin-top: 1rem; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .nav, .nav-panel { gap: 1.2rem; }
    .nav-menu { gap: 1.1rem; }
    .cap-grid { grid-template-columns: 1fr 1fr; }
    .cap:nth-child(2) { border-right: 0; }
    .cap:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
    :root { --header-h: 66px; }
    .nav-logo img { height: 48px; }
    .nav-toggle { display: flex; }
    /* Header's backdrop-filter makes it the containing block, so the panel is positioned against it. */
    .nav-panel { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--bg); padding: 24px 20px 40px; overflow-y: auto; display: none; flex-direction: column; align-items: stretch; gap: 1.5rem; margin: 0; }
    .nav-open .nav-panel { display: flex; }
    .nav-open { overflow: hidden; }
    .nav-menu { flex-direction: column; align-items: stretch; gap: 0; margin: 0; font-size: 1.05rem; }
    .nav-menu > li { border-bottom: 1px solid var(--line); }
    .nav-menu > li > a, .nav-menu > li > button { padding: 1rem 0; width: 100%; justify-content: space-between; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; min-width: 0; box-shadow: none; background: transparent; border: 0; padding: 0 0 12px; }
    .has-dropdown.open .dropdown { display: block; }
    .has-dropdown:hover .dropdown { opacity: 1; }
    .nav-panel .btn { justify-content: center; }
    .nav-lang { font-size: .95rem; }

    .hero-grid { grid-template-columns: 1fr; padding: 56px 0 88px; gap: 3.2rem; }
    .chip-1 { left: -6px; top: -24px; }
    .chip-2 { display: none; }
    .phone { width: 108px; right: -6px; bottom: -34px; }
    .trust-row { flex-direction: column; gap: 1.4rem; align-items: flex-start; }
    .trust-row > p { flex: none; }
    .trust-logos { flex-wrap: wrap; gap: 1.5rem 2.2rem; justify-content: flex-start; }
    .trust-logos img { height: 24px; }
    .trust-logos .l-scr { height: 32px; }
    .trust-logos .l-sq { height: 64px; margin-block: -14px; }
    .section { padding: 80px 0; }
    .bo { grid-template-columns: 1fr; border-radius: 22px; }
    .bo-content { padding: 36px 24px; }
    .bo h3 { font-size: 1.6rem; }
    .bo-shot { padding: 0 0 0 24px; }
    .flow-step { font-size: .6rem; }
    .row-2, .row-3, .projects, .vm, .split, .persp, .contact-grid, .article-layout, .cap-detail { grid-template-columns: 1fr; }
    .persp, .split, .contact-grid, .article-layout, .cap-detail { gap: 2.5rem; }
    .card { padding: 24px; }
    .card-media { flex-direction: column; align-items: flex-start; gap: 18px; }
    .cap-grid { grid-template-columns: 1fr; }
    .cap { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 28px 24px; display: grid; grid-template-columns: 46px 1fr; gap: 0 18px; }
    .cap:last-child { border-bottom: 0; }
    .cap .num { display: none; }
    .cap .icon-sm { margin: 0; grid-row: 1 / span 3; }
    .process { grid-template-columns: 1fr; gap: 30px; margin-top: 3rem; padding-left: 36px; }
    .process::before { left: 9px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: var(--line-2); }
    .pstep { padding: 0; }
    .pstep .d { position: absolute; left: -36px; top: 2px; margin: 0; }
    .head-row { flex-direction: column; align-items: flex-start; }
    .post-thumb { aspect-ratio: 16 / 7; }
    .band { flex-direction: column; align-items: flex-start; padding: 44px 26px; border-radius: 22px; }
    .page-hero .container { padding: 56px 0 52px; }
    .feature-list { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stats-1 { grid-template-columns: 1fr; }
    .stats-3 .stat:last-child { grid-column: 1 / -1; }
    .stat:nth-child(2n) { border-right: 0; }
    .stats:not(.stats-1):not(.stats-2) .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .section-alt + .band-wrap, .trust + .band-wrap, .section-tight + .band-wrap { padding-top: 80px; }
    .form-card { padding: 26px 22px; }
    .form-grid { grid-template-columns: 1fr; }
    .aside-card { position: static; }
    .faq details p { padding-right: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-contact { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
    .footer-bottom nav { gap: .6rem 1.2rem; }
    .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Utilities ---------- */
.row-2.flush { margin-top: 0; }
.trust.bordered { border-top: 1px solid var(--line); }
.section-flush-top { padding-top: 0; }
.aside-more { margin-top: 1rem; }
.page-hero .post-meta { margin-bottom: .2rem; }
