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

html {
    scroll-behavior: smooth;
}

:root {
    --bg: #f4f6f8;
    --bg-elevated: #ffffff;
    --bg-soft: #e8eef2;
    --ink: #0c1b2a;
    --ink-muted: #5b6b7c;
    --ink-faint: #8a97a6;
    --accent: #0f6e6e;
    --accent-hover: #0a5555;
    --accent-soft: rgba(15, 110, 110, 0.12);
    --line: rgba(12, 27, 42, 0.08);
    --shadow: 0 18px 50px rgba(12, 27, 42, 0.08);
    --radius: 18px;

    /* Legacy class bridges (service pages) */
    --neon-green: var(--accent);
    --dark-bg: var(--bg);
    --mid-bg: var(--bg-elevated);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
}

.font-code,
.font-display {
    font-family: 'Sora', 'Manrope', sans-serif;
}

.text-neon { color: var(--accent) !important; }
.bg-dark-grid { background-color: var(--bg) !important; }
.bg-mid-bg { background-color: var(--bg-elevated) !important; }
.text-shadow-neon { text-shadow: none !important; }
.shadow-neon { box-shadow: var(--shadow) !important; }
.hover\:shadow-neon-lg:hover { box-shadow: 0 22px 55px rgba(12, 27, 42, 0.12) !important; }

/* Scroll progress */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 10000;
    background: linear-gradient(90deg, var(--accent), #1a8f8f);
    transition: width 0.05s linear;
}

/* Header */
.site-header {
    backdrop-filter: blur(14px);
    background: rgba(244, 246, 248, 0.88);
    border-bottom: 1px solid var(--line);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 30px rgba(12, 27, 42, 0.06);
}

.nav-link {
    color: var(--ink-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link.is-active {
    color: var(--accent);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--ink);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.brand-mark span {
    color: var(--accent);
}
.brand-logo {
    width: 36px;
    height: 36px;
    display: block;
    flex-shrink: 0;
    border-radius: 9px;
}

/* Preloader — clean brand fade */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    transition: opacity 0.45s ease;
}
.preloader-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.03em;
    opacity: 0;
    animation: fade-in 0.5s ease 0.15s forwards;
}
.preloader-brand span { color: var(--accent); }
.preloader-brand .brand-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}
.preloader-bar {
    width: 120px;
    height: 2px;
    margin-top: 1.25rem;
    background: var(--bg-soft);
    border-radius: 99px;
    overflow: hidden;
    opacity: 0;
    animation: fade-in 0.4s ease 0.3s forwards;
}
.preloader-bar-fill {
    height: 100%;
    width: 0;
    background: var(--accent);
    animation: load-bar 1.4s ease 0.4s forwards;
}
@keyframes fade-in { to { opacity: 1; } }
@keyframes load-bar { to { width: 100%; } }

.no-scroll { overflow: hidden; }
.project-hidden { display: none; }

/* Hero — cosmic aesthetic */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: min(94vh, 860px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse 55% 60% at 88% 42%, rgba(15, 110, 110, 0.28), transparent 58%),
        radial-gradient(ellipse 40% 45% at 12% 18%, rgba(56, 120, 200, 0.12), transparent 55%),
        radial-gradient(ellipse 50% 40% at 40% 100%, rgba(15, 110, 110, 0.1), transparent 50%),
        linear-gradient(155deg, #f3f7fa 0%, #e7eef5 40%, #dce8f0 100%);
}

.hero-stars {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-aurora {
    position: absolute;
    width: 42vw;
    height: 42vw;
    max-width: 520px;
    max-height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 110, 110, 0.35), transparent 68%);
    filter: blur(40px);
    right: 4%;
    top: 18%;
    z-index: 0;
    animation: aurora-drift 10s ease-in-out infinite;
    pointer-events: none;
}
.hero-aurora--2 {
    width: 30vw;
    height: 30vw;
    max-width: 360px;
    max-height: 360px;
    background: radial-gradient(circle, rgba(80, 140, 220, 0.22), transparent 70%);
    right: 18%;
    bottom: 8%;
    top: auto;
    animation-delay: -4s;
}
@keyframes aurora-drift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
    50% { transform: translate(-24px, 18px) scale(1.12); opacity: 1; }
}

.hero-content { position: relative; z-index: 1; width: 100%; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(15, 110, 110, 0.5);
    animation: status-pulse 2s ease-in-out infinite;
}
@keyframes status-pulse {
    0% { box-shadow: 0 0 0 0 rgba(15, 110, 110, 0.45); }
    70% { box-shadow: 0 0 0 12px rgba(15, 110, 110, 0); }
    100% { box-shadow: 0 0 0 0 rgba(15, 110, 110, 0); }
}

.hero-brand {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin: 0.75rem 0 0;
}
.brand-shine {
    display: inline-block;
    background: linear-gradient(105deg, #0c1b2a 0%, #0c1b2a 40%, #1a9a9a 50%, #0c1b2a 60%, #0c1b2a 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine-text 5s linear infinite;
}
@keyframes shine-text {
    to { background-position: 220% center; }
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
    line-height: 1.35;
    color: var(--ink-muted);
    margin: 1rem 0 0;
    max-width: 34rem;
}
.hero-lead {
    margin: 1.25rem 0 0;
    color: var(--ink-muted);
    font-size: 1.05rem;
    max-width: 34rem;
}

.tech-line {
    margin-top: 1.25rem;
    color: var(--ink-faint);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 28px rgba(15, 110, 110, 0.28);
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    color: #fff;
}
.btn-shine::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
    transform: translateX(-120%);
    animation: btn-sweep 3.2s ease-in-out infinite;
}
@keyframes btn-sweep {
    0%, 40% { transform: translateX(-120%); }
    70%, 100% { transform: translateX(120%); }
}
.btn-secondary {
    background: rgba(255,255,255,0.55);
    color: var(--ink);
    border: 1.5px solid rgba(12, 27, 42, 0.14);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Avatar stage — stars + orbits around cover photo */
.avatar-wrap {
    position: relative;
    width: min(100%, 22rem);
    margin: 0 auto;
    aspect-ratio: 1;
    transition: transform 0.25s ease-out;
    will-change: transform;
}
.avatar-glow {
    position: absolute;
    inset: -14%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 110, 110, 0.4), rgba(80, 140, 220, 0.12) 45%, transparent 70%);
    animation: glow-breathe 3.5s ease-in-out infinite;
    z-index: 0;
}
.avatar-orbit {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1.5px dashed rgba(15, 110, 110, 0.35);
    animation: spin-orbit 18s linear infinite;
    z-index: 1;
    pointer-events: none;
}
.avatar-orbit--a::before,
.avatar-orbit--a::after,
.avatar-orbit--b::before,
.avatar-orbit--b::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px 3px rgba(15, 110, 110, 0.85), 0 0 20px rgba(120, 200, 255, 0.6);
}
.avatar-orbit--a::before { top: 8%; left: 48%; }
.avatar-orbit--a::after { bottom: 12%; right: 10%; width: 7px; height: 7px; }
.avatar-orbit--b {
    inset: -36px;
    border-style: solid;
    border-color: rgba(80, 140, 220, 0.22);
    animation-duration: 28s;
    animation-direction: reverse;
}
.avatar-orbit--b::before { top: 40%; left: -4px; background: #7fd4d4; }
.avatar-orbit--b::after { bottom: -2px; left: 42%; width: 6px; height: 6px; }

.avatar-sparkles {
    position: absolute;
    inset: -40px;
    z-index: 2;
    pointer-events: none;
}
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px 2px rgba(15, 110, 110, 0.9);
    animation: sparkle-twinkle ease-in-out infinite;
}
@keyframes sparkle-twinkle {
    0%, 100% { opacity: 0.2; transform: scale(0.6); }
    50% { opacity: 1; transform: scale(1.3); }
}

.avatar-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255,255,255,0.95);
    box-shadow:
        0 20px 50px rgba(12, 27, 42, 0.15),
        0 0 0 1px rgba(15, 110, 110, 0.15),
        0 0 40px rgba(15, 110, 110, 0.25);
    animation: avatar-float 5.5s ease-in-out infinite;
    z-index: 3;
}
.avatar-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 35%, rgba(255,255,255,0.35) 48%, transparent 62%);
    transform: translateX(-120%);
    animation: photo-shine 4.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes photo-shine {
    0%, 55% { transform: translateX(-120%); }
    85%, 100% { transform: translateX(120%); }
}
@keyframes spin-orbit { to { transform: rotate(360deg); } }
@keyframes glow-breathe {
    0%, 100% { opacity: 0.65; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}
@keyframes avatar-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Marquee */
.tech-marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: var(--bg-elevated);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tech-marquee-track {
    display: flex;
    width: max-content;
    gap: 2.5rem;
    padding: 0.95rem 0;
    animation: marquee 32s linear infinite;
}
.tech-marquee-track span {
    color: var(--ink-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section-pad { padding: 5rem 0; }
.section-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
    color: var(--ink);
}
.section-sub {
    margin-top: 0.75rem;
    color: var(--ink-muted);
    font-size: 1.05rem;
}

/* Cards */
.service-card,
.project-card,
.why-card {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover,
.project-card:hover,
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(15, 110, 110, 0.25);
}

.tech-card {
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.tech-card:hover {
    border-color: rgba(15, 110, 110, 0.35) !important;
    color: var(--accent) !important;
    background: var(--accent-soft) !important;
}

.process-step {
    border-left: 3px solid var(--accent);
    background: var(--bg-elevated);
    border-radius: 0 14px 14px 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.process-step:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.process-section {
    background:
        radial-gradient(ellipse 60% 50% at 50% 35%, rgba(15, 110, 110, 0.1), transparent 58%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(12, 27, 42, 0.04), transparent 50%),
        linear-gradient(180deg, #f3f6f8 0%, #ffffff 55%, #f6f8fa 100%);
    overflow: hidden;
}
.process-stage {
    position: relative;
    height: 340px;
    perspective: 1400px;
    perspective-origin: 50% 45%;
    margin: 0 auto;
    max-width: 980px;
}
.process-stage__glow {
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 280px;
    height: 48px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(15, 110, 110, 0.28), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    animation: process-floor 3.2s ease-in-out infinite;
}
@keyframes process-floor {
    0%, 100% { opacity: 0.55; transform: translateX(-50%) scaleX(0.92); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.08); }
}
.process-stage__scene {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.45s ease;
}
.process-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(78vw, 280px);
    min-height: 210px;
    margin-left: calc(min(78vw, 280px) / -2);
    margin-top: -105px;
    padding: 1.6rem 1.4rem 1.45rem;
    border-radius: 22px;
    background:
        linear-gradient(165deg, rgba(255,255,255,0.96) 0%, #f4f8fa 100%);
    border: 1px solid rgba(12, 27, 42, 0.08);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.95) inset,
        0 18px 40px rgba(12, 27, 42, 0.12);
    transform-style: preserve-3d;
    transform: translate3d(0, 0, -420px) scale(0.7);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, box-shadow 0.55s ease, border-color 0.55s ease;
    backface-visibility: hidden;
}
.process-panel.is-active {
    pointer-events: auto;
    opacity: 1;
    z-index: 5;
    border-color: rgba(15, 110, 110, 0.28);
    box-shadow:
        0 1px 0 rgba(255,255,255,1) inset,
        0 24px 50px rgba(15, 110, 110, 0.18),
        0 40px 70px rgba(12, 27, 42, 0.12);
    transform: translate3d(0, -8px, 80px) rotateY(0deg) scale(1);
}
.process-panel[data-offset="-1"] {
    opacity: 0.72;
    z-index: 4;
    pointer-events: auto;
    transform: translate3d(-58%, 10px, -70px) rotateY(38deg) scale(0.86);
}
.process-panel[data-offset="1"] {
    opacity: 0.72;
    z-index: 4;
    pointer-events: auto;
    transform: translate3d(58%, 10px, -70px) rotateY(-38deg) scale(0.86);
}
.process-panel[data-offset="-2"] {
    opacity: 0.38;
    z-index: 3;
    transform: translate3d(-92%, 22px, -180px) rotateY(48deg) scale(0.74);
}
.process-panel[data-offset="2"] {
    opacity: 0.38;
    z-index: 3;
    transform: translate3d(92%, 22px, -180px) rotateY(-48deg) scale(0.74);
}
.process-panel[data-offset="-3"],
.process-panel[data-offset="3"] {
    opacity: 0.12;
    z-index: 1;
    transform: translate3d(0, 40px, -320px) scale(0.62);
}
.process-panel__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.55rem;
    border-radius: 999px;
    font-family: 'Sora', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    background: linear-gradient(145deg, #1aa3a3, #0f6e6e 55%, #0a4d4d);
    box-shadow: 0 10px 20px rgba(15, 110, 110, 0.32);
    margin-bottom: 0.9rem;
}
.process-panel.is-active .process-panel__num {
    animation: process-num-pop 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes process-num-pop {
    0% { transform: scale(0.7) rotateX(40deg); opacity: 0.4; }
    100% { transform: scale(1) rotateX(0); opacity: 1; }
}
.process-panel__title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0;
}
.process-panel__text {
    margin: 0.7rem 0 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ink-muted);
}
.process-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}
.process-nav-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(12, 27, 42, 0.1);
    background: #fff;
    color: var(--ink);
    box-shadow: 0 8px 20px rgba(12, 27, 42, 0.06);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.process-nav-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 110, 110, 0.25);
}
.process-dots {
    display: flex;
    gap: 0.45rem;
}
.process-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    border: 0;
    padding: 0;
    background: rgba(12, 27, 42, 0.16);
    transition: width 0.3s ease, background 0.3s ease;
}
.process-dot.is-active {
    width: 26px;
    background: var(--accent);
}

@media (min-width: 768px) {
    .process-stage { height: 380px; }
    .process-panel {
        width: 320px;
        min-height: 230px;
        margin-left: -160px;
        margin-top: -115px;
        padding: 1.85rem 1.6rem 1.6rem;
    }
    .process-panel__title { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
    .process-stage { height: auto; perspective: none; }
    .process-stage__scene {
        display: grid;
        gap: 1rem;
        transform: none !important;
    }
    .process-panel,
    .process-panel.is-active,
    .process-panel[data-offset="-1"],
    .process-panel[data-offset="1"],
    .process-panel[data-offset="-2"],
    .process-panel[data-offset="2"],
    .process-panel[data-offset="-3"],
    .process-panel[data-offset="3"] {
        position: relative;
        top: auto;
        left: auto;
        margin: 0;
        width: 100%;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto;
    }
    .process-stage__glow,
    .process-panel.is-active .process-panel__num {
        animation: none !important;
    }
}

.profile-panel {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.profile-panel-head {
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink-muted);
}

.project-thumb {
    position: relative;
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    background: linear-gradient(145deg, #dfe9ee, #c8d8e0);
    color: var(--accent);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.project-thumb-link {
    display: block;
    color: inherit;
}
.project-thumb--velora {
    background: linear-gradient(145deg, #0c1b2a 0%, #1a2a3a 55%, #0f6e6e 140%);
    color: #f4f6f8;
    letter-spacing: 0.28em;
    font-size: 1.05rem;
}
.project-thumb-title {
    position: relative;
    z-index: 1;
    transition: opacity 0.35s ease, transform 0.35s ease, letter-spacing 0.35s ease;
}
.project-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(12, 27, 42, 0.15) 0%, rgba(15, 110, 110, 0.55) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}
.project-thumb-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-family: 'Sora', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 28px rgba(12, 27, 42, 0.25);
    transform: translateY(10px);
    transition: transform 0.35s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.project-thumb-link:hover .project-thumb-overlay,
.project-thumb-link:focus-visible .project-thumb-overlay {
    opacity: 1;
}
.project-thumb-link:hover .project-thumb-title,
.project-thumb-link:focus-visible .project-thumb-title {
    opacity: 0.25;
    transform: scale(1.06);
    letter-spacing: 0.4em;
}
.project-thumb-link:hover .project-thumb-cta,
.project-thumb-link:focus-visible .project-thumb-cta {
    transform: translateY(0);
}
.project-thumb-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(15, 110, 110, 0.4);
}
.project-demo-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    transition: color 0.2s ease, transform 0.2s ease;
}
.project-demo-link:hover {
    color: var(--accent-hover);
    transform: translateX(3px);
}

.tag {
    display: inline-block;
    background: var(--bg-soft);
    color: var(--ink-muted);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}

/* Forms — premium contact */
.contact-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 40% at 10% 20%, rgba(15, 110, 110, 0.1), transparent 55%),
        radial-gradient(ellipse 40% 35% at 90% 80%, rgba(80, 140, 220, 0.08), transparent 50%),
        linear-gradient(180deg, #f7fafb 0%, #eef4f7 100%);
}
.contact-bg-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(15, 110, 110, 0.18);
    filter: blur(60px);
    right: 8%;
    top: 20%;
    pointer-events: none;
    animation: aurora-drift 12s ease-in-out infinite;
}

.contact-aside {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}
a.contact-info-card:hover {
    border-color: rgba(15, 110, 110, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(12, 27, 42, 0.08);
}
.contact-info-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
}
.contact-info-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.contact-info-value {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink);
}

.contact-aside-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.contact-aside-tags span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
}

.contact-form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(12, 27, 42, 0.1);
    position: relative;
}
.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #3aa0c8, var(--accent));
    background-size: 200% 100%;
    animation: form-bar 4s linear infinite;
}
@keyframes form-bar {
    to { background-position: 200% 0; }
}
.contact-form-card-head {
    padding: 1.4rem 1.5rem 1rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #f8fbfc, #fff);
}
.contact-form-body {
    padding: 1.35rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.field-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink);
}

#contactForm input,
#contactForm select,
#contactForm textarea {
    width: 100%;
    background: #f7fafb;
    border: 1.5px solid rgba(12, 27, 42, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
#contactForm select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--accent) 50%),
        linear-gradient(135deg, var(--accent) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.4rem;
    cursor: pointer;
}
#contactForm textarea {
    resize: vertical;
    min-height: 120px;
}
#contactForm input:hover,
#contactForm select:hover,
#contactForm textarea:hover {
    border-color: rgba(15, 110, 110, 0.28);
    background: #fff;
}
#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.contact-submit {
    margin-top: 0.35rem;
    min-height: 52px;
    font-size: 1rem;
}

#back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 60;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
}
#back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.72);
    padding: 3.5rem 0 2rem;
}
.site-footer a { color: rgba(255,255,255,0.72); transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}
.site-footer .footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: block;
}

.prose-terminal p { color: var(--ink-muted); line-height: 1.75; }
.section-label { letter-spacing: 0.08em; }

.breadcrumb a:hover { color: var(--accent); }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-item[open] summary { color: var(--accent); }

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service pages */
.service-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 50% at 88% 25%, rgba(15, 110, 110, 0.14), transparent 58%),
        radial-gradient(ellipse 40% 40% at 8% 80%, rgba(80, 140, 220, 0.08), transparent 50%),
        linear-gradient(155deg, #f7f9fb 0%, #eef3f6 100%);
}
.service-page-title {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1.1;
}
.service-page-lead {
    color: var(--ink-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 48rem;
}
.service-section-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 2rem;
}
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(15, 110, 110, 0.25);
}
.service-list li {
    color: var(--ink-muted);
    font-size: 0.95rem;
}
.service-list .list-marker {
    color: var(--accent);
    font-weight: 700;
    margin-top: 0.15rem;
}
.service-cta-band {
    background:
        radial-gradient(ellipse 50% 60% at 50% 0%, rgba(15, 110, 110, 0.1), transparent 60%),
        linear-gradient(180deg, #f7fafb, #eef4f7);
}
.breadcrumb {
    font-size: 0.875rem;
    color: var(--ink-faint);
}
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Hero — digital ecosystem visual */
.hero-ecosystem {
    position: relative;
    width: min(100%, 380px);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 70% 60% at 50% 40%, rgba(15, 110, 110, 0.06), transparent 60%),
        radial-gradient(ellipse 50% 45% at 80% 75%, rgba(99, 102, 241, 0.05), transparent 55%),
        linear-gradient(165deg, #ffffff 0%, #f6f9fc 50%, #eef3f7 100%);
    border: 1px solid rgba(12, 27, 42, 0.08);
    box-shadow:
        0 22px 55px rgba(12, 27, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    overflow: hidden;
    isolation: isolate;
    transform-style: preserve-3d;
    perspective: 900px;
    animation: ecosystem-parallax 12s ease-in-out infinite;
}
@keyframes ecosystem-parallax {
    0%, 100% { transform: rotateX(2deg) rotateY(-2deg); }
    50% { transform: rotateX(-1deg) rotateY(2deg); }
}
.hero-ecosystem__ambient {
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(circle at 45% 42%, rgba(34, 211, 238, 0.08), transparent 45%),
        radial-gradient(circle at 70% 65%, rgba(99, 102, 241, 0.06), transparent 40%);
    pointer-events: none;
    animation: ecosystem-ambient 10s ease-in-out infinite;
}
@keyframes ecosystem-ambient {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.hero-ecosystem__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.85;
}
.hero-ecosystem__line {
    stroke: rgba(15, 110, 110, 0.35);
    stroke-width: 1.2;
    stroke-dasharray: 5 7;
    animation: ecosystem-line-flow 14s linear infinite;
}
.hero-ecosystem__line-node {
    fill: rgba(34, 211, 238, 0.75);
    filter: drop-shadow(0 0 4px rgba(15, 110, 110, 0.4));
}
.hero-ecosystem__line-node--core {
    fill: var(--accent);
    filter: drop-shadow(0 0 6px rgba(15, 110, 110, 0.55));
}
@keyframes ecosystem-line-flow {
    to { stroke-dashoffset: -48; }
}
.hero-ecosystem__particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.hero-ecosystem__particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(15, 110, 110, 0.7);
    box-shadow: 0 0 6px rgba(34, 211, 238, 0.5);
    animation: ecosystem-particle 4s ease-in-out infinite;
}
.hero-ecosystem__particles span:nth-child(1) { top: 18%; left: 22%; animation-delay: 0s; }
.hero-ecosystem__particles span:nth-child(2) { top: 12%; left: 78%; animation-delay: 0.6s; }
.hero-ecosystem__particles span:nth-child(3) { top: 42%; left: 88%; animation-delay: 1.2s; }
.hero-ecosystem__particles span:nth-child(4) { top: 72%; left: 76%; animation-delay: 0.3s; }
.hero-ecosystem__particles span:nth-child(5) { top: 82%; left: 48%; animation-delay: 1.8s; }
.hero-ecosystem__particles span:nth-child(6) { top: 68%; left: 18%; animation-delay: 0.9s; }
@keyframes ecosystem-particle {
    0%, 100% { transform: translate(0, 0); opacity: 0.35; }
    50% { transform: translate(6px, -10px); opacity: 1; }
}
.hero-ecosystem__hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46%;
    z-index: 3;
    transform: translate(-50%, -50%);
    animation: ecosystem-hub-float 8s ease-in-out infinite;
}
@keyframes ecosystem-hub-float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-6px); }
}
.hero-ecosystem__hub-glass {
    padding: 12px 14px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(12, 27, 42, 0.1);
    box-shadow:
        0 16px 40px rgba(12, 27, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 0 24px rgba(15, 110, 110, 0.08);
}
.hero-ecosystem__hub-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.hero-ecosystem__status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(15, 110, 110, 0.45);
    animation: status-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
.hero-ecosystem__hub-brand {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}
.hero-ecosystem__hub-sub {
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--ink-faint);
    margin: 2px 0 0;
    letter-spacing: 0.04em;
}
.hero-ecosystem__hub-metrics {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}
.hero-ecosystem__metric {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--ink-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero-ecosystem__metric span {
    width: 42px;
    flex-shrink: 0;
}
.hero-ecosystem__metric-bar {
    flex: 1;
    height: 4px;
    border-radius: 99px;
    background: rgba(12, 27, 42, 0.06);
    overflow: hidden;
}
.hero-ecosystem__metric-bar i {
    display: block;
    height: 100%;
    width: var(--w, 50%);
    border-radius: 99px;
    background: linear-gradient(90deg, var(--accent), rgba(34, 211, 238, 0.85));
    animation: ecosystem-bar-pulse 3s ease-in-out infinite;
}
@keyframes ecosystem-bar-pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}
.hero-ecosystem__hub-chart {
    width: 100%;
    height: 36px;
}
.hero-ecosystem__chart-area {
    fill: rgba(15, 110, 110, 0.12);
}
.hero-ecosystem__chart-line {
    stroke: var(--accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: ecosystem-chart-draw 4s ease-in-out infinite alternate;
}
@keyframes ecosystem-chart-draw {
    to { stroke-dashoffset: 0; }
}
.hero-ecosystem__card {
    position: absolute;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 7px 10px 8px;
    min-width: 68px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(12, 27, 42, 0.09);
    box-shadow: 0 10px 28px rgba(12, 27, 42, 0.08);
    animation: ecosystem-card-float 6s ease-in-out infinite;
    transition: box-shadow 0.3s ease;
}
.hero-ecosystem__card:hover {
    box-shadow: 0 14px 32px rgba(15, 110, 110, 0.14);
}
.hero-ecosystem__tag {
    font-family: 'Sora', sans-serif;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent);
    line-height: 1;
}
.hero-ecosystem__tag--icon {
    display: flex;
    align-items: center;
    color: var(--accent);
}
.hero-ecosystem__label {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.02em;
    margin-top: 2px;
}
.hero-ecosystem__card--web { top: 7%; left: 6%; animation-delay: 0s; }
.hero-ecosystem__card--ai { top: 5%; right: 6%; animation-delay: 0.5s; }
.hero-ecosystem__card--shop { top: 24%; right: 2%; animation-delay: 1s; }
.hero-ecosystem__card--seo { bottom: 20%; right: 8%; animation-delay: 1.5s; }
.hero-ecosystem__card--cloud { bottom: 5%; left: 36%; animation-delay: 2s; }
.hero-ecosystem__card--auto { bottom: 22%; left: 4%; animation-delay: 2.5s; }
.hero-ecosystem__card--api { top: 34%; left: 2%; animation-delay: 3s; }
@keyframes ecosystem-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* Team section */
.team-section {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(15, 110, 110, 0.06), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}
.team-leader {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: calc(var(--radius) + 4px);
    border: 1px solid rgba(12, 27, 42, 0.08);
    background: #fff;
    box-shadow: 0 20px 50px rgba(12, 27, 42, 0.07);
    overflow: hidden;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.team-leader:hover {
    box-shadow: 0 28px 60px rgba(12, 27, 42, 0.1);
    transform: translateY(-3px);
}
.team-leader__visual {
    position: relative;
    background:
        radial-gradient(circle at 50% 48%, rgba(15, 110, 110, 0.1), transparent 55%),
        radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.06), transparent 45%),
        linear-gradient(165deg, #f4f7fa 0%, #eef3f7 50%, #e6edf3 100%);
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    overflow: hidden;
}
.team-leader__orbit {
    position: absolute;
    width: min(78%, 280px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(15, 110, 110, 0.18);
    box-shadow:
        0 0 0 12px rgba(15, 110, 110, 0.04),
        0 0 40px rgba(15, 110, 110, 0.08);
    pointer-events: none;
}
.team-leader__orbit::before,
.team-leader__orbit::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(15, 110, 110, 0.2);
}
.team-leader__orbit::before {
    inset: -18px;
    animation: team-orbit-spin 28s linear infinite;
}
.team-leader__orbit::after {
    inset: -36px;
    border-style: solid;
    border-color: rgba(12, 27, 42, 0.06);
}
@keyframes team-orbit-spin {
    to { transform: rotate(360deg); }
}
.team-leader__frame {
    position: relative;
    z-index: 1;
    width: min(72%, 240px);
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(145deg, rgba(15, 110, 110, 0.55), rgba(34, 211, 238, 0.35), rgba(12, 27, 42, 0.15));
    box-shadow:
        0 18px 40px rgba(12, 27, 42, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.team-leader__photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    background: #0c1b2a;
    border: 3px solid #fff;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.team-leader:hover .team-leader__photo {
    transform: scale(1.04);
}
.team-leader:hover .team-leader__frame {
    box-shadow:
        0 22px 48px rgba(15, 110, 110, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}
.team-leader__content {
    padding: 1.75rem 1.75rem 2rem;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #fff 0%, #fafcfd 100%);
}
.team-leader__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid rgba(15, 110, 110, 0.15);
}
.team-leader__name {
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0.85rem 0 0;
    line-height: 1.15;
}
.team-leader__org {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.team-leader__bio {
    margin: 1rem 0 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-muted);
    max-width: 36rem;
}
.team-leader__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.35rem;
}
.team-leader__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: 1px solid var(--accent);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.team-leader__link:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 110, 110, 0.25);
    color: #fff;
}
.team-leader__link--outline {
    background: #fff;
    color: var(--ink);
    border-color: rgba(12, 27, 42, 0.12);
    box-shadow: 0 2px 8px rgba(12, 27, 42, 0.04);
}
.team-leader__link--outline:hover {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
    box-shadow: 0 8px 20px rgba(12, 27, 42, 0.15);
}
.team-roster {
    margin-top: 2.5rem;
}
.team-roster__head {
    margin-bottom: 1.25rem;
}
.team-roster__title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    margin: 0;
}
.team-roster__sub {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: var(--ink-muted);
}
.team-roster__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.team-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 1.5rem 1.15rem 1.35rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(12, 27, 42, 0.08);
    box-shadow: 0 4px 16px rgba(12, 27, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.team-slot:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 110, 110, 0.22);
    box-shadow: 0 16px 40px rgba(12, 27, 42, 0.09);
}
.team-slot__avatar {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(145deg, rgba(15, 110, 110, 0.45), rgba(34, 211, 238, 0.25), rgba(12, 27, 42, 0.12));
    box-shadow: 0 10px 28px rgba(12, 27, 42, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.team-slot:hover .team-slot__avatar {
    transform: scale(1.05);
    box-shadow: 0 14px 32px rgba(15, 110, 110, 0.18);
}
.team-slot__photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    background: #0c1b2a;
}
.team-slot__photo img,
.team-slot__photo svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}
.team-slot__role {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}
.team-slot__status {
    display: block;
    margin-top: -0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-faint);
}
.team-roster__note {
    margin: 1.25rem 0 0;
    font-size: 0.78rem;
    color: var(--ink-faint);
    text-align: center;
}

@media (min-width: 640px) {
    .team-roster__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .team-leader {
        grid-template-columns: 0.9fr 1.1fr;
    }
    .team-leader__visual {
        min-height: 100%;
        padding: 2.75rem 2rem;
        border-right: 1px solid var(--line);
        border-top: none;
    }
    .team-leader__frame {
        width: min(78%, 260px);
    }
    .team-leader__content {
        border-top: none;
        padding: 2rem 2.25rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .team-roster__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
    .team-slot {
        padding: 1.75rem 1.25rem 1.5rem;
    }
    .team-slot__avatar {
        width: 110px;
        height: 110px;
    }
}

/* Soften leftover hacker styles on service pages */
.hacker-text { animation: none; }
.typing-cursor { color: var(--accent); animation: blink 0.8s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-bg-grid {
    background:
        radial-gradient(ellipse 70% 55% at 85% 20%, rgba(15, 110, 110, 0.12), transparent 55%),
        linear-gradient(160deg, #f7f9fb, #eef3f6) !important;
}
.terminal-chrome {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}
.terminal-chrome-bar {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}
.btn-glow, .btn-pulse { animation: none; }
.btn-glow::after { display: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .avatar-frame, .avatar-glow, .avatar-orbit, .avatar-shine, .status-dot,
    .tech-marquee-track, .typing-cursor, .brand-shine, .btn-shine::after,
    .hero-aurora, .sparkle,
    .hero-ecosystem, .hero-ecosystem__ambient,
    .hero-ecosystem__line, .hero-ecosystem__particles span,
    .hero-ecosystem__hub, .hero-ecosystem__card,
    .hero-ecosystem__chart-line, .hero-ecosystem__metric-bar i,
    .team-leader__orbit::before {
        animation: none !important;
    }
    .brand-shine {
        color: var(--ink);
        background: none;
        -webkit-background-clip: initial;
        background-clip: initial;
    }
    .reveal { opacity: 1; transform: none; }
}
