:root {
  --brand: #0065a3;
  --brand-600: #00548a;
  --brand-50: #e8f3fb;
  --accent: #19c3e6;
  --ink: #0b1b2b;
  --ink-2: #3a4a5c;
  --muted: #64748b;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --navy: #071a2e;
  --navy-2: #0c2742;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11,27,43,.05), 0 8px 24px rgba(11,27,43,.07);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.icon { width: 22px; height: 22px; flex: none; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; font: 600 1rem/1 var(--font); padding: .95rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-sm { padding: .6rem 1rem; font-size: .92rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--brand); }
.btn-ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11,27,43,.05); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand img { width: auto; height: 40px; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text small { font-size: .62rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.brand b { color: var(--brand); font-weight: 800; }
.brand-light { color: #fff; }
.brand-light b { color: var(--accent); }
.brand-light .brand-text small { color: #9fb2c6; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { color: var(--ink-2); font-weight: 500; position: relative; padding: .3rem 0; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--brand); border-radius: 2px; }
.nav a.nav-login { display: inline-flex; align-items: center; gap: .4rem; padding-left: 1.6rem; border-left: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.nav a.nav-login .icon { width: 18px; height: 18px; color: var(--brand); }
@media (max-width: 860px) { .nav a.nav-login { padding-left: 0; border-left: 0; } }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .i-close { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(11,27,43,.08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current]::after { display: none; }
  .nav-cta { margin-top: 14px; justify-content: center; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .nav-toggle .i-open { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 500px at 85% -10%, rgba(25,195,230,.22), transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(0,101,163,.45), transparent 60%), var(--navy); color: #fff; padding: 96px 0 104px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.hero .eyebrow { color: var(--accent); background: rgba(25,195,230,.1); border: 1px solid rgba(25,195,230,.25); padding: .4rem .8rem; border-radius: 999px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; margin: 20px 0; }
.hero h1 span { background: linear-gradient(90deg, #7fe0ff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: #b9c8d8; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 40px; color: #9fb2c6; font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta .icon { width: 18px; height: 18px; color: var(--accent); }

.hero-visual { position: relative; }
.stack { display: grid; gap: 14px; }
.stack-card { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 16px 18px; backdrop-filter: blur(6px); }
.stack-card:nth-child(2) { margin-left: 40px; }
.stack-card:nth-child(3) { margin-left: 16px; }
.stack-card:nth-child(4) { margin-left: 56px; }
.stack-card .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), #0a84d0); color: #fff; }
.stack-card strong { display: block; font-size: .98rem; }
.stack-card small { color: #9fb2c6; }
.stack-card .dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 4px rgba(62,224,143,.15); }

@media (max-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .stack-card:nth-child(n) { margin-left: 0; }
}

/* Hero slider */
.hero-slider { padding: 0; }
.hero-slider .slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; padding: 88px 0 112px; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.slide::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 520px at 80% 20%, color-mix(in srgb, var(--s1) 55%, transparent), transparent 65%), radial-gradient(600px 400px at 10% 100%, color-mix(in srgb, var(--s1) 35%, transparent), transparent 60%); pointer-events: none; }
.slide .eyebrow { color: color-mix(in srgb, var(--s2) 80%, #fff); background: color-mix(in srgb, var(--s2) 14%, transparent); border-color: color-mix(in srgb, var(--s2) 35%, transparent); }
.hero-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; margin: 20px 0; color: #fff; }
.slide .hero-title span { background: linear-gradient(90deg, color-mix(in srgb, var(--s2) 55%, #fff), var(--s2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide.is-active .hero-copy > * { animation: rise .7s ease both; }
.slide.is-active .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.slide.is-active .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.slide.is-active .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.slide.is-active .devices { animation: float-in .9s ease both .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

.devices { position: relative; margin: 0; aspect-ratio: 6 / 5; }
.browser { position: absolute; top: 0; right: 0; width: 88%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.08); }
.browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: #eef1f6; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd6e2; }
.browser-bar i:first-child { background: #ff6b5f; } .browser-bar i:nth-child(2) { background: #ffbd2e; } .browser-bar i:nth-child(3) { background: #29c940; }
.browser img { width: 100%; display: block; }
.phone { position: absolute; padding: 7px; border-radius: 30px; background: #0b1220; box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.phone-screen { border-radius: 23px; overflow: hidden; aspect-ratio: 9 / 18.5; background: #fff; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.with-desktop .phone-1 { width: 31%; right: 2%; bottom: -4%; z-index: 2; }
.with-desktop .phone-2 { width: 27%; left: 0; bottom: -8%; z-index: 3; transform: rotate(-4deg); }
.with-desktop .browser { top: 2%; }
.one-phone .phone-1 { width: 40%; left: 50%; top: 0; transform: translateX(-50%) rotate(3deg); }
.one-phone::after { content: ""; position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--s2) 30%, transparent), transparent 70%); z-index: -1; }
.one-phone { aspect-ratio: 6 / 5.6; }
.two-phones .phone-1 { width: 40%; left: 14%; top: 0; transform: rotate(-4deg); }
.two-phones .phone-2 { width: 40%; right: 6%; top: 10%; transform: rotate(4deg); }
.device-caption { position: absolute; left: 50%; bottom: -78px; transform: translateX(-50%); white-space: nowrap; font-size: .85rem; color: #c5d3e0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: .4rem .9rem; border-radius: 999px; backdrop-filter: blur(6px); }

.slider-ui { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; align-items: center; gap: 14px; z-index: 5; }
.slider-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; }
.slider-btn:hover { background: rgba(255,255,255,.16); }
.slider-btn[data-prev] .icon { transform: rotate(180deg); }
.slider-btn .icon { width: 18px; height: 18px; }
.dots { display: flex; gap: 8px; }
.dot-btn { width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.dot-btn span { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; position: relative; }
.dot-btn[aria-current] span::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: progress var(--interval, 7s) linear forwards; }
.hero-slider.paused .dot-btn[aria-current] span::after, .hero-slider.static .dot-btn[aria-current] span::after { animation: none; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .slide { padding: 56px 0 120px; }
  .devices { max-width: 520px; margin: 8px auto 30px; width: 100%; }
  .device-caption { bottom: -46px; font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: none; }
  .slide.is-active .hero-copy > *, .slide.is-active .devices { animation: none; }
}

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; margin-top: 10px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 700px) { .section { padding: 64px 0; } }

/* Tech strip */
.strip { border-bottom: 1px solid var(--line); padding: 28px 0; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; justify-content: center; }
.strip-label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.strip-inner span.tech { font-weight: 700; color: #8a9aac; letter-spacing: -.01em; font-size: 1.05rem; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe0ee; }
.card .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-50); color: var(--brand); margin-bottom: 20px; }
.card .ic .icon { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); margin-bottom: 18px; }
.card .more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .95rem; }
.card .more .icon { width: 16px; height: 16px; transition: transform .15s; }
.card:hover .more .icon { transform: translateX(3px); }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin-top: 10px; }
.split p { color: var(--ink-2); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: #fff; background: var(--brand); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }
.about-panel { position: relative; background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; border-radius: 22px; padding: 40px; overflow: hidden; }
.about-panel::after { content: ""; position: absolute; width: 280px; height: 280px; right: -80px; top: -80px; background: radial-gradient(circle, rgba(25,195,230,.35), transparent 70%); }
.about-panel blockquote { position: relative; margin: 0; font-size: 1.35rem; font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
.about-panel cite { display: block; margin-top: 20px; font-style: normal; color: #9fb2c6; font-size: .95rem; }
.pillars { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.pillars div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: .95rem; }
.pillars small { display: block; font-weight: 400; color: #9fb2c6; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 22px; right: 24px; font-weight: 800; font-size: 1.6rem; color: var(--brand-50); }
.step .ic { color: var(--brand); margin-bottom: 14px; }
.step .ic .icon { width: 30px; height: 30px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* News */
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; color: var(--ink); }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.post-thumb { aspect-ratio: 16/8; background: linear-gradient(135deg, var(--brand), var(--navy)); position: relative; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.post-thumb .icon { width: 42px; height: 42px; opacity: .85; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--brand-50); padding: .25rem .55rem; border-radius: 6px; }
.post h3 { font-size: 1.12rem; margin: 0; }
.post .more { margin-top: auto; font-weight: 600; color: var(--brand); display: inline-flex; gap: .35rem; align-items: center; font-size: .93rem; }
.post .more .icon { width: 16px; height: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { font: 600 .9rem var(--font); border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: .5rem .95rem; border-radius: 999px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* News list & articles */
.post-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.post-excerpt { color: var(--muted); font-size: .93rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.filters .chip { font: 600 .9rem var(--font); border: 1px solid var(--line); background: #fff; color: var(--ink-2); padding: .5rem .95rem; border-radius: 999px; }
.filters .chip small { color: var(--muted); font-weight: 500; margin-left: 2px; }
.filters .chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .chip[aria-current] small { color: #b9c8d8; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 40px; color: var(--muted); }
.pager a { font-weight: 600; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.narrow { max-width: 780px; }
.article-hero { padding: 56px 0 48px; }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 14px; }
.back { color: #9fb2c6; font-weight: 600; font-size: .9rem; }
.back:hover { color: #fff; }
.post-meta.light { margin-top: 22px; color: #9fb2c6; }
.post-meta.light .tag { background: rgba(25,195,230,.15); color: var(--accent); }
.tag.draft { background: #fff6dd; color: #9a6700; }
.article-section { padding-top: 40px; }
.article-cover { margin: 0 0 32px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { width: 100%; max-height: 460px; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin-top: 1.8em; }
.prose h2 { font-size: 1.55rem; } .prose h3 { font-size: 1.25rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 12px; height: auto; margin: 1.5em auto; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--brand); color: var(--ink); font-weight: 500; }
.split .prose { font-size: 1.05rem; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.share span { font-weight: 700; margin-right: 6px; }
.share a { font-weight: 600; font-size: .9rem; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.share a:hover { border-color: var(--brand); color: var(--brand); }

/* Projects */
.grid-projects { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.grid-projects > .project { grid-column: span 2; }
.grid-projects > .project:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 960px) { .grid-projects { grid-template-columns: 1fr 1fr; } .grid-projects > .project:nth-child(n) { grid-column: auto; } }
@media (max-width: 640px) { .grid-projects { grid-template-columns: 1fr; } }
.project { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 30px 26px; color: #fff; background: linear-gradient(135deg, var(--p1), color-mix(in srgb, var(--p1) 55%, #071a2e)); }
.project-banner::after { content: ""; position: absolute; right: -50px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--p2) 55%, transparent), transparent 70%); }
.project-ic { position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); }
.project-ic .icon { width: 26px; height: 26px; }
.wordmark { position: relative; z-index: 1; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.wordmark em { font-style: normal; color: var(--p2); margin-left: .15em; }
.project-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project-body p { color: var(--ink-2); margin: 0; }
.project-features { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 7px; font-size: .94rem; color: var(--ink-2); }
.project-features li { display: flex; gap: 8px; align-items: flex-start; }
.project-features .icon { width: 18px; height: 18px; color: var(--p1); margin-top: 2px; }
.project .more { margin-top: auto; font-weight: 600; color: var(--p1); display: inline-flex; gap: .35rem; align-items: center; font-size: .95rem; }
.project .more .icon { width: 16px; height: 16px; }

/* Clients */
.clients { --cols: 6; --gap: 16px; list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
@media (max-width: 1100px) { .clients { --cols: 4; } }
@media (max-width: 760px)  { .clients { --cols: 3; } }
@media (max-width: 480px)  { .clients { --cols: 2; --gap: 10px; } }
.client { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.client:hover { border-color: #cfe0ee; box-shadow: var(--shadow); }
.client-logo { height: 64px; width: auto; max-width: 140px; object-fit: contain; margin-bottom: 8px; }
.client-mono { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 8px; font-weight: 800; font-size: 1.1rem; letter-spacing: .02em; color: var(--m); background: color-mix(in srgb, var(--m) 10%, #fff); border: 2px solid color-mix(in srgb, var(--m) 25%, #fff); }
.client-name { font-weight: 700; font-size: .98rem; line-height: 1.3; }
.client-meta { font-size: .82rem; color: var(--muted); }
@media (max-width: 480px) { .client { padding: 18px 10px 16px; } .client-name { font-size: .9rem; } }

/* CTA band */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--brand) 0%, #0a84d0 60%, #12a7d6 100%); color: #fff; border-radius: 24px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.cta::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.cta p { color: rgba(255,255,255,.85); margin: 0; font-size: 1.05rem; }
.cta-actions { position: relative; z-index: 1; display: grid; gap: 12px; }
.cta-line { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 14px 18px; border-radius: 14px; color: #fff; }
.cta-line:hover { background: rgba(255,255,255,.2); color: #fff; }
.cta-line small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.cta-line strong { font-size: 1.05rem; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 36px 24px; } }

/* Page hero */
.page-hero { background: radial-gradient(700px 300px at 90% 0, rgba(25,195,230,.2), transparent 60%), var(--navy); color: #fff; padding: 72px 0 64px; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; margin: 12px 0; }
.page-hero p { color: #b9c8d8; font-size: 1.1rem; max-width: 640px; margin: 0; }

/* Services detail */
.svc { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 32px; padding: 44px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:last-child { border-bottom: 0; }
.svc .ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--brand-50); color: var(--brand); }
.svc .ic .icon { width: 30px; height: 30px; }
.svc h2 { font-size: 1.6rem; }
.svc p { color: var(--ink-2); }
.svc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: start; }
.svc li { display: flex; gap: 10px; padding: 12px 14px; background: var(--bg-soft); border-radius: 10px; font-weight: 500; }
.svc li .icon { width: 20px; height: 20px; color: var(--brand); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; gap: 18px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; color: var(--ink); }
.info-card .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand); flex: none; }
.info-card small { display: block; color: var(--muted); font-size: .85rem; }
.info-card strong { font-size: 1.05rem; }
a.info-card:hover { border-color: var(--brand); color: var(--ink); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .form { padding: 22px; } }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { font: 1rem var(--font); padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0,101,163,.12); }
.field .err { color: #c0362c; font-size: .85rem; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.alert-ok { background: #e8f8ef; color: #136c3a; border: 1px solid #bfe9d0; }
.alert-err { background: #fdecea; color: #9b2c22; border: 1px solid #f6c8c2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer */
.site-footer { background: var(--navy); color: #9fb2c6; padding-top: 72px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.3fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin-top: 16px; max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #c5d3e0; }
.site-footer a:hover { color: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list .icon { width: 18px; height: 18px; color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); }
.socials .icon { width: 18px; height: 18px; }
.newsletter { margin-top: 22px; }
.newsletter label { display: block; color: #fff; font-weight: 600; margin-bottom: 8px; font-size: .95rem; }
.nl-row { display: flex; gap: 8px; }
.nl-row input[type=email] { flex: 1; min-width: 0; font: .95rem var(--font); padding: .6rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; }
.nl-row input::placeholder { color: #7f93a8; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); font-weight: 500; max-width: calc(100% - 32px); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .post { transition: none; }
}
.one-phone .device-caption { bottom: -34px; }
