@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Syne:wght@500;700;800&display=swap');

/* Inner page hero (non-home) */
.page-hero {
    position: relative;
    padding: 32px 0 28px;
}
.page-hero-inner {
    display: grid;
    gap: 12px;
    max-width: 860px;
}
.crumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #7a8a9c;
}
.crumbs a { color: #7a8a9c; text-decoration: none; }
.crumbs a:hover { color: #0b3b66; }
.crumbs-current { color: #0b1a2c; font-weight: 700; }
.page-hero-title {
    margin: 4px 0 0;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #0b1a2c;
}
.page-hero-lead {
    margin: 6px 0 0;
    max-width: 58ch;
    font-size: 1rem;
    color: #5b6b7c;
}

:root {
    --bg: #e8f0ff;
    --surface: rgba(231, 240, 255, 0.88);
    --surface-strong: #f1f6ff;
    --surface-muted: #d6e4ff;
    --line: rgba(46, 110, 237, 0.14);
    --line-strong: rgba(29, 79, 184, 0.28);
    --text: #0b1a2c;
    --muted: #4a5d75;
    --accent: #2e6eed;
    --accent-deep: #1d4fb8;
    --accent-soft: #e3edff;
    --glow: #60a5fa;
    --warm: #f97316;
    --shadow-lg: 0 28px 70px rgba(10, 26, 44, 0.10);
    --shadow-md: 0 16px 40px rgba(10, 26, 44, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1240px;
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(900px 560px at 85% -10%, rgba(29, 79, 184, 0.55), transparent 62%),
        radial-gradient(780px 460px at -10% 10%, rgba(46, 110, 237, 0.65), transparent 60%),
        radial-gradient(600px 360px at 50% 110%, rgba(96, 165, 250, 0.55), transparent 65%),
        linear-gradient(180deg, #6ea8ff 0%, #4e86ee 55%, #2e6eed 100%);
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Avoid orphan/widow words on headings & paragraphs */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p { text-wrap: pretty; }

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

main {
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.site-shell {
    min-height: 100vh;
}

.topbar {
    padding: 16px 0 8px;
}

.topbar-inner,
.topbar-copy,
.nav-content,
.nav-panel,
.hero-actions,
.chip-row,
.hero-stats,
.footer-grid,
.footer-socials,
.contact-points,
.form-actions,
.check-list div {
    display: flex;
    align-items: center;
}

.topbar-inner {
    justify-content: space-between;
    gap: 16px;
}

.topbar-copy {
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.92rem;
}

.topbar-copy a {
    gap: 8px;
    opacity: 0.9;
}

.topbar-pill,
.info-chip,
.section-kicker,
.project-meta span,
.preview-topline span,
.lang-switch a,
.stat-card span,
.brand-mark small {
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.topbar-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(231, 240, 255, 0.85);
    border: 1px solid rgba(46, 110, 237, 0.18);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent-deep);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(231, 240, 255, 0.85);
    border: 1px solid rgba(46, 110, 237, 0.18);
}

.lang-switch a {
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--muted);
}

.lang-switch a.active {
    background: var(--accent-deep);
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 10px 0 0;
}

.site-header.scrolled .nav-content {
    box-shadow: var(--shadow-md);
    transform: translateY(4px);
}

.nav-content {
    justify-content: space-between;
    gap: 20px;
    min-height: var(--header-height);
    padding: 12px 18px 12px 14px;
    background: rgba(231, 240, 255, 0.78);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(46, 110, 237, 0.22);
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(29, 79, 184, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled .nav-content {
    background: rgba(231, 240, 255, 0.95);
    box-shadow: 0 18px 44px rgba(29, 79, 184, 0.22);
    transform: translateY(2px);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 8px 4px 4px;
}

.brand-badge {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--accent-deep), var(--accent) 60%, var(--glow));
    color: #fff;
    box-shadow: 0 10px 24px rgba(11, 59, 102, 0.28), inset 0 1px 0 rgba(255,255,255,.25);
    font-size: 1rem;
}

.brand-word {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
    color: var(--text);
}

.brand-dot {
    color: var(--accent);
}

.hero-preview h2,
.section-heading h2,
.feature-card h3,
.contact-panel h2,
.contact-sidebar h3,
.career-card h3,
.prose-panel h2 {
    margin: 0;
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.03em;
}

.hero-title {
    margin: 14px 0 0;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    letter-spacing: -0.035em;
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    line-height: 1.03;
    max-width: 16ch;
    color: var(--text);
    background: linear-gradient(100deg, var(--text) 0%, var(--accent-deep) 55%, var(--accent) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-panel {
    gap: 24px;
    flex: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--muted);
    transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active {
    color: var(--accent-deep);
}
.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent), var(--glow));
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.005em;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color .22s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn i { transition: transform .22s ease; }
.btn:hover i { transform: translateX(3px); }

.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.82rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-deep), var(--accent) 70%, var(--glow));
    background-size: 180% 180%;
    background-position: 0% 50%;
    color: #fff;
    box-shadow: 0 12px 28px rgba(11, 59, 102, 0.28), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover {
    background-position: 100% 50%;
    box-shadow: 0 18px 34px rgba(11, 59, 102, 0.34);
}

.btn-secondary {
    background: rgba(231, 240, 255, 0.85);
    color: var(--accent-deep);
    border: 1px solid rgba(46, 110, 237, 0.22);
}
.btn-secondary:hover { background: #d6e4ff; border-color: rgba(29, 79, 184, 0.35); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(15, 23, 42, 0.12);
    min-height: 48px;
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-deep);
    background: rgba(14, 165, 183, 0.06);
}

.hamburger-btn {
    display: none;
    width: 50px;
    height: 50px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0;
    background: rgba(14, 116, 144, 0.08);
    border: 0;
    border-radius: 16px;
    cursor: pointer;
}

.hamburger-btn span {
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: var(--accent-deep);
    border-radius: 999px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero-panel {
    padding: 34px 0 18px;
}

.hero-grid,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 28px;
}

.hero-copy,
.hero-preview,
.soft-panel {
    border: 1px solid rgba(46, 110, 237, 0.22);
    box-shadow: var(--shadow-lg);
}

.hero-copy,
.soft-panel {
    background: var(--surface);
    backdrop-filter: blur(20px);
}

.hero-copy {
    padding: 40px;
    border-radius: calc(var(--radius-xl) + 4px);
    position: relative;
    overflow: hidden;
}
.hero-copy::before {
    content: "";
    position: absolute;
    inset: -40% -20% auto auto;
    width: 380px; height: 380px;
    background: radial-gradient(closest-side, rgba(34,211,238,0.16), transparent 70%);
    pointer-events: none;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(14, 165, 183, 0.1);
    border: 1px solid rgba(14, 165, 183, 0.22);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-deep);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-copy h1 {
    max-width: 16ch;
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    line-height: 1.03;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.hero-lead,
.hero-summary,
.section-heading p,
.feature-card p,
.contact-panel p,
.contact-sidebar p,
.career-card p,
.prose-panel p {
    margin: 0;
    color: var(--muted);
}

.hero-lead {
    position: relative;
    max-width: 52ch;
    margin-top: 18px;
    font-size: 1.02rem;
    color: var(--muted);
}

.hero-summary {
    max-width: 54ch;
    margin-top: 14px;
}

.hero-actions {
    gap: 12px;
    margin-top: 26px;
    flex-wrap: wrap;
    position: relative;
}

.chip-row {
    gap: 10px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.info-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(14, 116, 144, 0.08);
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--accent-deep);
}

.hero-stats {
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    gap: 10px;
    margin-top: 28px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.stat-card {
    min-width: 92px;
    padding: 0 18px 0 0;
    border: 0;
    background: transparent;
    border-right: 1px solid var(--line);
}
.stat-card:last-child { border-right: 0; }

.stat-card strong {
    display: block;
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.stat-card span {
    display: block;
    margin-top: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.hero-aside {
    min-width: 0;
}

.hero-preview {
    position: relative;
    min-height: 520px;
    padding: 28px;
    border-radius: calc(var(--radius-xl) + 4px);
    background: radial-gradient(120% 90% at 100% 0%, #0f3a66 0%, #0b253e 55%, #06111e 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 40px 80px rgba(6, 17, 30, 0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Animated grid pattern */
.preview-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
    opacity: .7;
    z-index: 0;
}

/* Floating glowing orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(32px);
    opacity: .7;
    z-index: 0;
    animation: orbFloat 14s ease-in-out infinite;
}
.orb-1 { width: 260px; height: 260px; top: -60px; right: -40px;
    background: radial-gradient(circle, rgba(34,211,238,.55), transparent 60%);
}
.orb-2 { width: 220px; height: 220px; bottom: -60px; left: -40px;
    background: radial-gradient(circle, rgba(14,165,183,.45), transparent 60%);
    animation-delay: -4s;
}
.orb-3 { width: 180px; height: 180px; top: 40%; left: 35%;
    background: radial-gradient(circle, rgba(249,115,22,.28), transparent 65%);
    animation-delay: -8s;
}
@keyframes orbFloat {
    0%,100% { transform: translate3d(0,0,0) scale(1); }
    50%     { transform: translate3d(0,-22px,0) scale(1.06); }
}

.hero-preview > *:not(.orb):not(.preview-grid) { position: relative; z-index: 1; }

.preview-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.dot-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.dot-live i {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 0 4px rgba(34,211,238,.22);
    animation: pulseDot 1.8s ease-in-out infinite;
}
@keyframes pulseDot {
    0%,100% { box-shadow: 0 0 0 0 rgba(34,211,238,.45); }
    50%     { box-shadow: 0 0 0 8px rgba(34,211,238,0); }
}
.preview-tag {
    font-family: 'Manrope', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.5);
}

.preview-copy { margin: 28px 0; }
.hero-preview h2 {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.08;
    font-weight: 700;
    color: #fff;
}
.hero-preview h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #22d3ee, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-preview p {
    margin: 14px 0 0;
    max-width: 38ch;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
}

.preview-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.mini-card {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(6px);
    display: grid;
    gap: 2px;
}
.mini-card i {
    font-size: 1.1rem;
    color: #22d3ee;
    margin-bottom: 4px;
}
.mini-card strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}
.mini-card span {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
}

.content-section {
    padding: 34px 0 84px;
}

.stack-layout {
    display: grid;
    gap: 28px;
}

.section-block {
    display: grid;
    gap: 24px;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
    gap: 24px;
    align-items: end;
}

.section-heading.compact {
    grid-template-columns: 1fr;
}

.section-heading h2,
.contact-panel h2,
.prose-panel h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
}

.text-link {
    justify-self: end;
    align-self: center;
    font-weight: 800;
    color: var(--accent);
}

.feature-grid {
    display: grid;
    gap: 20px;
}

.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.soft-panel,
.feature-card,
.career-card {
    border-radius: var(--radius-xl);
}

.feature-card,
.career-card,
.contact-panel,
.contact-sidebar,
.prose-panel {
    padding: 30px;
}

.feature-card {
    display: grid;
    gap: 16px;
}

.feature-card h3,
.career-card h3,
.contact-sidebar h3 {
    font-size: 1.55rem;
    line-height: 1.04;
}

.card-icon,
.avatar-ring {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(14, 116, 144, 0.12), rgba(18, 60, 103, 0.12));
    color: var(--accent-deep);
    font-size: 1.5rem;
}

.split-band {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    padding: 34px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--accent-deep), #1a5e88);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.split-band h2,
.split-band .section-kicker,
.split-band .check-list span,
.split-band .check-list i {
    color: inherit;
}

.check-list {
    display: grid;
    gap: 14px;
}

.check-list div {
    gap: 12px;
    align-items: flex-start;
}

.check-list i {
    margin-top: 2px;
    color: var(--warm);
}

.project-grid .feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(232, 242, 248, 0.82));
}

.project-meta span,
.role-line {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent);
}

.team-card {
    justify-items: start;
}

.avatar-ring {
    border-radius: 50%;
    font-weight: 800;
    font-size: 1rem;
}

.career-stack {
    display: grid;
    gap: 16px;
}

.career-card {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 20px;
    align-items: start;
}

.contact-panel,
.contact-sidebar,
.prose-panel {
    display: grid;
    gap: 22px;
}

.contact-form,
.contact-form label {
    display: grid;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form span {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(14, 116, 144, 0.34);
    box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.08);
}

.contact-form textarea {
    resize: vertical;
}

.form-actions {
    justify-content: flex-end;
}

.contact-points {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
}

.contact-points a,
.contact-points span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.compact-list span {
    color: var(--muted);
}

.site-footer {
    padding: 0 0 34px;
}

.footer-grid {
    justify-content: space-between;
    gap: 20px;
    padding: 26px 28px;
    background: rgba(16, 32, 51, 0.96);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 30px;
}

.footer-brand strong,
.footer-brand small {
    color: #fff;
}

.footer-copy p,
.footer-copy span {
    margin: 0;
}

.footer-copy span {
    color: rgba(255, 255, 255, 0.58);
}

.footer-socials {
    gap: 12px;
    flex-wrap: wrap;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

.es-swal-popup {
    border-radius: 28px;
}

@media (max-width: 1120px) {
    .hero-grid,
    .contact-layout,
    .three-up,
    .career-card,
    .split-band,
    .section-heading {
        grid-template-columns: 1fr;
    }

    .preview-copy {
        margin-top: 56px;
    }

    .text-link {
        justify-self: start;
    }
}

@media (max-width: 1024px) {
    .hamburger-btn {
        display: inline-flex;
    }

    .nav-panel {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 24px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: var(--shadow-md);
    }

    .nav-panel.is-open {
        display: flex;
    }

    .nav-links,
    .nav-actions,
    .topbar-inner,
    .footer-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-links a,
    .btn {
        width: 100%;
    }

    .nav-content {
        position: relative;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .hero-copy,
    .hero-preview,
    .feature-card,
    .career-card,
    .contact-panel,
    .contact-sidebar,
    .prose-panel,
    .split-band,
    .footer-grid {
        padding: 22px;
        border-radius: 24px;
    }

    .form-grid,
    .preview-topline {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        max-width: none;
    }
}
/* ============================================================
   Inner page hero accent (overrides minimal base)
   ============================================================ */
.page-hero {
    padding: 36px 0 18px;
}
.page-hero-inner {
    position: relative;
    padding-left: 18px;
}
.page-hero-inner::before {
    content: "";
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--accent), var(--glow));
}
.page-hero-title {
    background: linear-gradient(100deg, var(--text) 0%, var(--accent-deep) 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead-text {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 92ch;
    margin: 0 0 18px;
    text-wrap: pretty;
    hyphens: none;
}

/* ============================================================
   Cleaner contact form + alerts
   ============================================================ */
.contact-form {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}
.contact-form .row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 14px;
    font-size: 0.94rem;
}
.alert i { font-size: 1.15rem; line-height: 1.4; }
.alert p { margin: 4px 0 0; }
.alert-success { background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.28); color: #065f46; }
.alert-error   { background: rgba(244,63,94,.08);  border: 1px solid rgba(244,63,94,.28);  color: #9f1239; }

.contact-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 14px;
}
.contact-list li {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    align-items: start;
    color: var(--muted);
}
.contact-list li i { color: var(--accent); margin-top: 3px; }
.contact-list a { color: var(--text); font-weight: 600; }
.contact-list a:hover { color: var(--accent-deep); }

/* ============================================================
   AI Demo (ai-test page)
   ============================================================ */
.ai-shell {
    display: grid;
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.ai-modes {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
}
.ai-modes-head { padding: 4px 6px 10px; }
.ai-modes-head h3 {
    margin: 8px 0 0;
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.ai-mode {
    display: grid;
    grid-template-columns: 36px 1fr 16px;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: transparent;
    border: 1px solid transparent;
    text-align: left;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.ai-mode:hover { background: rgba(46, 110, 237, 0.08); }
.ai-mode.is-active {
    background: #f1f6ff;
    border-color: rgba(46, 110, 237, 0.30);
    box-shadow: 0 8px 22px rgba(29, 79, 184, 0.14);
}
.ai-mode-ico {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: linear-gradient(140deg, var(--accent-deep), var(--accent));
    color: #fff;
    font-size: 1rem;
}
.ai-mode-text { display: grid; gap: 2px; min-width: 0; }
.ai-mode-text strong { font-size: 0.95rem; color: var(--text); }
.ai-mode-text small { font-size: 0.78rem; color: var(--muted); line-height: 1.35;
    overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.ai-mode-chev { color: var(--muted); transition: transform .18s ease, color .18s ease; }
.ai-mode.is-active .ai-mode-chev { color: var(--accent); transform: translateX(2px); }

.ai-status {
    display: flex; gap: 8px; align-items: center;
    padding: 10px 12px; margin-top: 6px;
    border-top: 1px dashed var(--line);
    color: var(--muted); font-size: 0.78rem;
}
.dot-soft i {
    width: 8px; height: 8px; border-radius: 50%;
    background: #10b981; display: inline-block;
    box-shadow: 0 0 0 4px rgba(16,185,129,.18);
    animation: pulseDot 1.8s ease-in-out infinite;
}

.ai-stage { padding: 26px; display: grid; gap: 18px; }

.ai-stage-head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
}
.ai-stage-head h3 {
    margin: 8px 0 0;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.ai-reset {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    transition: color .18s ease, background .18s ease;
}
.ai-reset:hover { color: var(--accent-deep); background: rgba(14,165,183,.08); }

.ai-form { display: grid; gap: 12px; }
.ai-form textarea {
    width: 100%;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #f1f6ff;
    color: var(--text);
    font: inherit;
    font-size: 0.98rem;
    resize: vertical;
    min-height: 120px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.ai-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(14,165,183,.15);
}

.ai-form-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.ai-meta { display: flex; gap: 16px; color: var(--muted); font-size: 0.78rem; }
.ai-meta kbd {
    padding: 2px 6px;
    font-family: 'Manrope', monospace;
    font-size: 0.72rem;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 6px;
}

.ai-output {
    border-radius: 18px;
    background: linear-gradient(180deg, #0b3b66 0%, #06111e 100%);
    color: #e8f2fb;
    padding: 22px;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}
.ai-output::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: 28px 28px;
    mask-image: radial-gradient(ellipse at 70% 0%, #000 30%, transparent 80%);
    pointer-events: none;
}
.ai-output > * { position: relative; z-index: 1; }

.ai-empty { text-align: center; padding: 22px 12px; color: rgba(232,242,251,.72); }
.ai-empty-ico {
    width: 48px; height: 48px; margin: 0 auto 10px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
    color: var(--glow);
    font-size: 1.3rem;
}
.ai-empty h4 { margin: 6px 0 4px; color: #fff; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; }
.ai-empty p { margin: 0 auto; max-width: 46ch; font-size: 0.9rem; }

.ai-result { display: grid; gap: 14px; }
.ai-result-head {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
    color: rgba(255,255,255,.55);
}
.ai-result-head .ai-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff; letter-spacing: 0.06em;
}
.ai-result-head .ai-badge.demo { background: rgba(249,115,22,.18); border-color: rgba(249,115,22,.4); color: #fed7aa; }
.ai-result pre {
    margin: 0;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: #f4f8fc;
    font-family: 'Manrope', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    line-height: 1.65;
}
.ai-result-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ai-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff; cursor: pointer;
    font-size: 0.78rem; font-weight: 600;
    transition: background .18s ease;
}
.ai-chip:hover { background: rgba(255,255,255,.14); }

.ai-loading { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.78); }
.ai-loading .ai-spin {
    width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.25);
    border-top-color: #fff;
    animation: aiSpin .8s linear infinite;
}
@keyframes aiSpin { to { transform: rotate(360deg); } }

.ai-after {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding-top: 4px; flex-wrap: wrap;
}
.ai-after p { margin: 0; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 920px) {
    .ai-shell { grid-template-columns: 1fr; }
    .ai-modes { position: static; }
    .contact-form .row-2 { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr !important; }
}

/* ============================================================
   Eprika-inspired refinements (v12)
   ============================================================ */

/* Page hero — bigger, bolder, single line */
.page-hero {
    padding: 56px 0 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
}
.page-hero-inner {
    padding-left: 0;
    display: grid;
    gap: 20px;
}
.page-hero-inner::before { content: none; }

.crumbs {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: #a8b3bf;
}
.crumbs a { color: #a8b3bf; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs-current { color: var(--text); }

.page-hero-title {
    margin: 0;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--text);
}

/* Section headings — eprika-scale */
.section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
    align-items: end;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.section-heading h2 {
    font-size: clamp(1.8rem, 3.6vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
    font-weight: 700;
}
.section-kicker {
    background: transparent;
    border: 0;
    padding: 0;
    margin-bottom: 10px;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Project / feature cards — bigger, cleaner */
.feature-card {
    padding: 28px;
    border-radius: 22px;
    background: #f1f6ff;
    border: 1px solid var(--line);
    box-shadow: none;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(46, 110, 237, .35);
    box-shadow: 0 22px 40px rgba(29, 79, 184, .18);
}
.feature-card h3 {
    font-size: 1.25rem;
    margin: 14px 0 8px;
    letter-spacing: -0.02em;
    font-weight: 700;
}
.feature-card p { color: var(--muted); font-size: 0.95rem; }

.card-icon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--accent-deep), var(--accent));
    color: #fff;
    font-size: 1.15rem;
}

.project-card { display: grid; gap: 12px; }
.project-card .project-meta {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
    font-weight: 700;
}

/* Footer breath */
.site-footer h4 {
    margin: 0 0 14px;
    font-family: 'Syne', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Hide eprika-style page-hero on home (just safety) */
.page-home .page-hero { display: none; }

/* ============================================================
   Project / Reference detail (eprika-style case page)
   ============================================================ */
.case-detail { padding: 32px 0 80px; }
.case-crumbs {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 24px;
}
.case-crumbs a { color: var(--muted); text-decoration: none; transition: color .2s; }
.case-crumbs a:hover { color: var(--accent); }
.case-crumbs-current { color: var(--text); font-weight: 700; }

.case-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px;
    align-items: flex-start;
}
.case-main { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.case-cover {
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 24px 60px -32px rgba(15, 35, 70, 0.35);
    background: linear-gradient(135deg, var(--accent-deep), var(--accent));
    aspect-ratio: 16 / 9;
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-title {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin: 0;
    background: linear-gradient(135deg, var(--accent-deep), var(--accent));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.case-body {
    color: var(--muted); font-size: 1.02rem; line-height: 1.75;
}
.case-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.case-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(14, 165, 183, 0.08);
    border: 1px solid rgba(14, 165, 183, 0.18);
    color: var(--accent-deep); font-size: 0.82rem; font-weight: 600;
}
.case-tag i { font-size: 0.9rem; color: var(--accent); }

.case-cta {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; padding: 24px 28px; flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(14, 165, 183, 0.06), rgba(11, 59, 102, 0.04));
}
.case-cta h3 { margin: 0; font-size: 1.15rem; }

.case-side {
    position: sticky; top: 96px;
    padding: 24px;
}
.case-side h4 {
    font-family: 'Syne', sans-serif; font-size: 0.78rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 16px;
    padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.case-meta { display: grid; grid-template-columns: 1fr; gap: 10px 0; margin: 0; }
.case-meta dt {
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--muted); font-weight: 700;
}
.case-meta dd { margin: 0 0 8px; font-weight: 600; color: var(--text); }
.case-meta dd a { color: var(--accent); text-decoration: none; word-break: break-all; }
.case-meta dd a:hover { text-decoration: underline; }

/* Clickable project card */
.project-card { padding: 0; overflow: hidden; }
.project-card-link {
    display: block; padding: 20px; color: inherit; text-decoration: none;
    transition: transform .25s ease;
}
.project-card-link:hover { transform: translateY(-2px); }
.project-card-link h3 { margin: 6px 0 8px; }
.project-card-link p { color: var(--muted); margin: 0 0 12px; }
.project-card-link .text-link { color: var(--accent); font-weight: 700; }

@media (max-width: 920px) {
    .case-grid { grid-template-columns: 1fr; }
    .case-side { position: static; }
}

/* ============================================================
   v13 — Vibrant & visual upgrade
   ============================================================ */

/* Body: animated soft mesh */
body {
    background:
        radial-gradient(900px 540px at 92% -8%, rgba(46, 110, 237, 0.12), transparent 60%),
        radial-gradient(720px 460px at -8% 8%, rgba(96, 165, 250, 0.10), transparent 60%),
        radial-gradient(820px 520px at 50% 110%, rgba(249, 115, 22, 0.06), transparent 60%),
        linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
}

/* === Vivid service cards === */
.vivid-grid { gap: 22px; }
.vivid-card {
    position: relative;
    padding: 28px 26px 56px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.vivid-card::before {
    content: ""; position: absolute; inset: 0;
    background: var(--vivid-grad, linear-gradient(135deg, #0ea5b7, #0b3b66));
    opacity: 0.08; transition: opacity .3s ease;
    pointer-events: none;
}
.vivid-card::after {
    content: ""; position: absolute;
    width: 240px; height: 240px; right: -90px; top: -90px;
    border-radius: 50%; opacity: 0.12;
    background: var(--vivid-grad, linear-gradient(135deg, #0ea5b7, #0b3b66));
    transition: transform .5s ease;
    pointer-events: none;
}
.vivid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -28px var(--vivid-shadow, rgba(11, 59, 102, 0.35));
    border-color: transparent;
}
.vivid-card:hover::before { opacity: 0.14; }
.vivid-card:hover::after { transform: scale(1.15) rotate(20deg); }
.vivid-card > * { position: relative; z-index: 1; }
.vivid-card h3 { font-size: 1.35rem; }
.vivid-card p { color: var(--muted); font-size: 0.95rem; }

.vivid-icon {
    width: 56px; height: 56px; border-radius: 18px;
    background: var(--vivid-grad, linear-gradient(135deg, #0ea5b7, #0b3b66)) !important;
    color: #fff !important; font-size: 1.5rem;
    box-shadow: 0 14px 30px -12px var(--vivid-shadow, rgba(11, 59, 102, 0.45));
}
.vivid-arrow {
    position: absolute; right: 22px; bottom: 20px;
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(11, 26, 44, 0.06); color: var(--text);
    transition: background .25s ease, color .25s ease, transform .25s ease;
    z-index: 2;
}
.vivid-card:hover .vivid-arrow {
    background: var(--vivid-grad, linear-gradient(135deg, #0ea5b7, #0b3b66));
    color: #fff; transform: rotate(-12deg);
}

/* Per-card palette (anchored to brand blue family) */
.vivid-c1 { --vivid-grad: linear-gradient(135deg, #2e6eed, #60a5fa); --vivid-shadow: rgba(46, 110, 237, 0.35); }
.vivid-c2 { --vivid-grad: linear-gradient(135deg, #1d4fb8, #2e6eed); --vivid-shadow: rgba(29, 79, 184, 0.35); }
.vivid-c3 { --vivid-grad: linear-gradient(135deg, #6366f1, #2e6eed); --vivid-shadow: rgba(99, 102, 241, 0.35); }
.vivid-c4 { --vivid-grad: linear-gradient(135deg, #2e6eed, #06b6d4); --vivid-shadow: rgba(6, 182, 212, 0.32); }
.vivid-c5 { --vivid-grad: linear-gradient(135deg, #f97316, #fb923c); --vivid-shadow: rgba(249, 115, 22, 0.32); }
.vivid-c6 { --vivid-grad: linear-gradient(135deg, #10b981, #34d399); --vivid-shadow: rgba(16, 185, 129, 0.32); }

/* === Marquee strip === */
.marquee-strip {
    margin: 8px 0 4px;
    padding: 18px 0;
    background: linear-gradient(90deg, #1d4fb8, #2e6eed 40%, #60a5fa 70%, #f97316);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}
.marquee-track {
    display: flex; gap: 36px;
    animation: marquee 28s linear infinite;
    white-space: nowrap; will-change: transform;
}
.marquee-item {
    display: inline-flex; align-items: center; gap: 10px;
    color: #fff; font-family: 'Syne', sans-serif;
    font-weight: 700; font-size: 1rem; letter-spacing: 0.04em;
    text-transform: uppercase;
}
.marquee-item i { color: rgba(255,255,255,0.6); font-size: 0.7rem; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* === Process steps === */
.process-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.process-step {
    position: relative;
    padding: 26px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease;
}
.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(11, 59, 102, 0.25);
}
.process-num {
    font-family: 'Syne', sans-serif;
    font-size: 3.5rem; font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: 0.15;
    position: absolute; top: 8px; right: 18px;
}
.process-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-soft), #fff);
    color: var(--accent-deep);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 14px;
    border: 1px solid rgba(14, 165, 183, 0.18);
}
.process-step h4 { margin: 6px 0 6px; font-family: 'Syne', sans-serif; font-size: 1.15rem; }
.process-step p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* === Vivid project thumbnails === */
.vivid-project { padding: 0; overflow: hidden; }
.vivid-project .project-card-link { padding: 0; }
.project-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: var(--thumb-grad, linear-gradient(135deg, #0ea5b7, #0b3b66));
}
.project-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-thumb::after {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 50%),
      radial-gradient(circle at 70% 80%, rgba(0,0,0,0.18), transparent 55%);
    pointer-events: none;
}
.thumb-mono {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 3.2rem; color: #fff; letter-spacing: -0.02em;
    text-shadow: 0 6px 24px rgba(0,0,0,0.18);
    z-index: 1;
}
.vivid-project .project-meta,
.vivid-project h3,
.vivid-project p,
.vivid-project .text-link { padding-left: 22px; padding-right: 22px; }
.vivid-project .project-meta { padding-top: 18px; }
.vivid-project h3 { margin: 6px 0 6px; }
.vivid-project p { margin: 0 0 12px; }
.vivid-project .text-link { display: inline-block; padding-bottom: 22px; color: var(--accent); }

.thumb-p1 { --thumb-grad: linear-gradient(135deg, #2e6eed, #60a5fa); }
.thumb-p2 { --thumb-grad: linear-gradient(135deg, #1d4fb8, #2e6eed); }
.thumb-p3 { --thumb-grad: linear-gradient(135deg, #6366f1, #818cf8); }
.thumb-p4 { --thumb-grad: linear-gradient(135deg, #2e6eed, #06b6d4); }
.thumb-p5 { --thumb-grad: linear-gradient(135deg, #f97316, #fb923c); }
.thumb-p6 { --thumb-grad: linear-gradient(135deg, #10b981, #34d399); }

/* === Section heading punch === */
.section-kicker {
    background: linear-gradient(135deg, var(--accent), var(--warm));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    font-weight: 800; letter-spacing: 0.12em;
}
.section-heading h2 { letter-spacing: -0.02em; }

/* === Hero copy gradient pop === */
.hero-title {
    background: linear-gradient(135deg, #0b1a2c 0%, #1d4fb8 35%, #2e6eed 70%, #60a5fa 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

@media (max-width: 920px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .process-grid { grid-template-columns: 1fr; }
    .vivid-card { padding-bottom: 60px; }
}
