@font-face {
    font-family: "Chakra Petch";
    src: url("assets/fonts/chakra-petch-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Chakra Petch";
    src: url("assets/fonts/chakra-petch-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Chakra Petch";
    src: url("assets/fonts/chakra-petch-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Chakra Petch";
    src: url("assets/fonts/chakra-petch-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #0f1115;
    --surface: rgba(30, 34, 43, 0.78);
    --surface-strong: #272c35;
    --text: #eceff3;
    --muted: #a9b0bc;
    --accent: #8e97a6;
    --accent-soft: #c9d0dc;
    --mint: #6f7888;
    --ring: rgba(174, 184, 198, 0.42);
    --shadow: 0 16px 40px rgba(6, 7, 12, 0.36);
    --font-heading-en: "Chakra Petch", sans-serif;
    --font-body: "Chakra Petch", sans-serif;
    --font-heading: "Chakra Petch", sans-serif;
    --text-base: clamp(0.99rem, 0.96rem + 0.15vw, 1.06rem);
    --leading-body: 1.65;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--text);
    background: radial-gradient(circle at 18% 16%, #272d39 0%, transparent 36%),
                radial-gradient(circle at 84% 0%, #343945 0%, transparent 42%),
                linear-gradient(165deg, #0f1115 8%, #171b23 58%, #10141a 100%);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-body);
    position: relative;
    overflow-x: hidden;
    isolation: isolate;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    letter-spacing: 0;
    line-height: 1.28;
    text-wrap: balance;
}

p,
li {
    letter-spacing: 0.01em;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 1200;
    background: #ffffff;
    color: #0d1f1e;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus-visible {
    top: 12px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--accent-soft);
    outline-offset: 3px;
    border-radius: 10px;
}

img {
    max-width: 100%;
    height: auto;
}

.ui-icon {
    width: 1.08em;
    height: 1.08em;
    display: inline-block;
    flex: 0 0 auto;
    font-size: 1em;
    line-height: 1;
    background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.icon-terminal { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m7 9 3 3-3 3M12 16h5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-archive { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v4H4zM6 9h12v10H6z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M10 13h4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.icon-layout { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h7v7H4zM13 5h7v4h-7zM13 11h7v8h-7zM4 14h7v5H4z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-dashboard { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19a8 8 0 1 1 14 0' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='m12 13 4-4M4 19h16' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.icon-phone { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='7' y='3' width='10' height='18' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M11 17h2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.icon-github { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-3 19c.5.1.7-.2.7-.5v-2c-3 .7-3.6-1.2-3.6-1.2-.5-1.1-1.1-1.4-1.1-1.4-.9-.6.1-.6.1-.6 1 0 1.6 1.1 1.6 1.1.9 1.5 2.4 1 3 .8.1-.7.4-1.1.7-1.3-2.4-.3-4.9-1.2-4.9-5.2 0-1.1.4-2.1 1.1-2.9-.1-.3-.5-1.4.1-2.9 0 0 .9-.3 3 1.1a10.3 10.3 0 0 1 5.4 0c2.1-1.4 3-1.1 3-1.1.6 1.5.2 2.6.1 2.9.7.8 1.1 1.8 1.1 2.9 0 4-2.5 4.9-4.9 5.2.4.3.8 1 .8 2v2.7c0 .3.2.6.8.5A10 10 0 0 0 12 2Z' fill='black'/%3E%3C/svg%3E"); }
.icon-mail { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v12H4z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='m4 7 8 6 8-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-instagram { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='4' width='16' height='16' rx='4' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3.5' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='17' cy='7' r='1.2' fill='black'/%3E%3C/svg%3E"); }
.icon-facebook { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3 0-5 2-5 5v3H6v4h3v6h4v-6h3l1-4h-4V9c0-.6.4-1 1-1Z' fill='black'/%3E%3C/svg%3E"); }
.icon-arrow { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-arrow-left { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-eye { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.icon-tag { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m20 13-7 7L4 11V4h7l9 9Z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5' fill='black'/%3E%3C/svg%3E"); }
.icon-artboard { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='4' width='14' height='16' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 8h8M8 12h5M8 16h7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.icon-route { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='6' cy='6' r='2.5' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='18' cy='18' r='2.5' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8.5 6H14a4 4 0 0 1 0 8h-4a4 4 0 0 0 0 8h5.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.icon-code { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 18-6-6 6-6M15 6l6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-image { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='5' width='16' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='m7 16 4-4 3 3 2-2 3 3M8 9h.01' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-file { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 3h7l4 4v14H7z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M14 3v5h5M10 13h5M10 17h5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.icon-stack { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 8 4-8 4-8-4 8-4ZM4 12l8 4 8-4M4 17l8 4 8-4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.icon-external { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 5h5v5M19 5l-8 8' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M19 14v5H5V5h5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.background-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.4px, transparent 0.4px);
    background-size: 3px 3px;
    opacity: 0.13;
    z-index: -4;
    transform: translateZ(0);
}

.section-wrap {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(21, 24, 33, 0.62);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-nav {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    color: var(--text);
    font-weight: 600;
    letter-spacing: 0.045em;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.brand i {
    color: var(--accent-soft);
    font-size: 1.15rem;
}

.brand .ui-icon,
.footer-brand-block .ui-icon,
.tech-stack-block .ui-icon {
    color: var(--accent-soft);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
    position: relative;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent-soft));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
    align-items: center;
    padding: 64px 0 36px;
}

.hero-copy {
    animation: rise-in 0.7s ease both;
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mint);
    background: rgba(149, 158, 173, 0.14);
    border: 1px solid rgba(149, 158, 173, 0.36);
    border-radius: 999px;
    padding: 8px 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34c759;
    box-shadow: 0 0 12px rgba(52, 199, 89, 0.75);
}

.hero h1 {
    font-size: clamp(2rem, 4.8vw, 3.7rem);
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 15ch;
}

.archive-title {
    display: grid;
    gap: 4px;
    max-width: 13.5ch;
    letter-spacing: 0;
}

.archive-title span {
    display: block;
}

.archive-title span:last-child {
    color: var(--accent-soft);
}

.hero-title-accent {
    background: linear-gradient(95deg, var(--accent-soft) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-intro {
    color: var(--muted);
    line-height: 1.7;
    max-width: 62ch;
}

.role-line {
    margin: 20px 0 24px;
    font-size: 1.08rem;
    color: #cfd6e1;
    min-height: 1.6em;
}

#typing-text {
    color: var(--accent-soft);
    font-weight: 700;
    display: inline-block;
    min-width: 20ch;
}

.cursor {
    color: var(--accent);
    animation: cursor-blink 0.8s steps(1, end) infinite;
}

@keyframes cursor-blink {
    50% {
        opacity: 0.35;
    }
}

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

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    min-height: 52px;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -2px 0 18px;
}

.trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #cdd5e1;
    font-size: 0.88rem;
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.trust-strip i,
.trust-strip .ui-icon {
    color: var(--accent-soft);
}

.btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 600;
    padding: 12px 20px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-solid {
    color: #13161d;
    background: linear-gradient(120deg, var(--accent), var(--accent-soft));
    box-shadow: 0 12px 28px rgba(163, 172, 187, 0.26);
}

.btn-outline {
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.btn:hover {
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    gap: 14px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

.social-icons a:hover {
    border-color: var(--ring);
    color: var(--accent-soft);
}

.hero-cards {
    display: grid;
    gap: 16px;
    animation: rise-in 0.8s ease both;
}

.panel {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
    border-radius: 18px;
    padding: 20px;
}

.profile-panel {
    display: flex;
    gap: 14px;
    align-items: center;
}

.profile-panel img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.42);
}

.profile-panel h2 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.profile-panel p {
    color: var(--muted);
    font-size: 0.92rem;
}

.stack-panel h3,
.stat-panel h3,
.about-story h3,
.about-tech h3 {
    margin-bottom: 12px;
    font-family: var(--font-heading-en);
}

.stack-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stack-list span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #ccd4e0;
}

.stack-list i {
    color: var(--accent-soft);
}

.stat-panel h3 {
    font-size: clamp(2.3rem, 4vw, 3.15rem);
    color: var(--accent-soft);
    line-height: 1;
}

.stat-panel p {
    color: var(--muted);
}

.highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0 0 38px;
}

.highlights,
.workflow,
.projects-showcase,
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

.services-headline {
    grid-column: 1 / -1;
    margin-bottom: 2px;
}

.services-headline h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    max-width: 38ch;
}

.highlight-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    padding: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    border-color: var(--ring);
}

.label {
    color: var(--accent-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.74rem;
    margin-bottom: 8px;
}

.highlight-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.highlight-card p {
    color: var(--muted);
    line-height: 1.6;
}

.service-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 12px;
    background: rgba(177, 186, 201, 0.14);
    color: var(--accent-soft);
    border: 1px solid rgba(177, 186, 201, 0.2);
}

.workflow {
    padding: 4px 0 44px;
}

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

.workflow-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
}

.workflow-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(177, 186, 201, 0.14);
    color: var(--accent-soft);
    font-weight: 700;
    margin-bottom: 12px;
}

.workflow-step i {
    font-size: 1.18rem;
}

.workflow-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.workflow-card p {
    color: var(--muted);
    line-height: 1.65;
}

.workflow-meta {
    margin-top: 10px;
    color: var(--accent-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.projects-showcase {
    padding: 12px 0 56px;
}

.projects-headline {
    margin-bottom: 16px;
}

.projects-headline h2 {
    font-size: clamp(1.55rem, 3.1vw, 2.35rem);
    max-width: 34ch;
}

.project-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid.single-project {
    grid-template-columns: minmax(280px, 420px);
}

.featured-project-grid {
    grid-template-columns: repeat(2, minmax(300px, 1fr));
}

.project-card {
    text-decoration: none;
    color: var(--text);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: clamp(18px, 2vw, 24px);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    display: block;
}

.project-card picture {
    display: block;
}

.neon-showcase-panel picture {
    display: block;
}

.project-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transform: translateZ(0);
    transition: transform 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--ring);
    box-shadow: var(--shadow);
}

.project-card:hover .project-thumb {
    transform: scale(1.03);
}

.project-type {
    font-size: 0.8rem;
    color: var(--accent-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.project-card h3 {
    font-size: clamp(1.2rem, 1.7vw, 1.45rem);
    margin-bottom: 8px;
}

.project-card p {
    color: var(--muted);
    line-height: 1.6;
}

.project-price {
    color: var(--accent-soft);
    font-weight: 700;
    font-size: 1.15rem;
}

.project-link {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-soft);
    font-weight: 600;
}

.project-card-pos,
.project-card-food {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
}

.project-page main {
    padding: 56px 0 72px;
}

.project-preview-panel {
    padding: 12px;
}

.project-preview-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.project-content-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 16px;
    align-items: start;
}

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

.project-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    margin-bottom: 18px;
}

.project-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin: 8px 0 10px;
    max-width: 16ch;
}

.project-hero p {
    color: var(--muted);
    line-height: 1.7;
}

.project-summary {
    display: grid;
    gap: 12px;
}

.project-summary .panel h3 {
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: var(--accent-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-summary .panel p {
    color: var(--muted);
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.project-details .panel h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-details .panel p,
.project-details .panel li {
    color: var(--muted);
    line-height: 1.65;
}

.project-details ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.project-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.neon-project-page main {
    padding-top: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.98rem;
    transition: color 0.22s ease;
}

.back-link:hover {
    color: var(--accent-soft);
}

.neon-product-layout {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 22px;
    align-items: start;
}

.neon-showcase-panel {
    min-height: 0;
    position: sticky;
    top: 96px;
    padding: 10px;
}

.neon-showcase-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.neon-image-details {
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 14px;
}

.neon-image-details h2 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text);
}

.neon-image-details p {
    color: var(--muted);
    line-height: 1.68;
    margin-bottom: 10px;
}

.neon-image-details ul {
    list-style: none;
    display: grid;
    gap: 8px;
}

.neon-image-details li {
    color: #c5ccda;
    line-height: 1.55;
    position: relative;
    padding-left: 22px;
}

.neon-image-details li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--mint);
    box-shadow: 0 0 10px rgba(108, 220, 135, 0.28);
    position: absolute;
    left: 0;
    top: 0.62em;
}

.neon-product-info {
    display: grid;
    gap: 18px;
    padding-top: 2px;
}

.neon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.neon-tags span {
    border-radius: 999px;
    border: 1px solid rgba(185, 194, 209, 0.32);
    background: rgba(185, 194, 209, 0.11);
    color: #d8dfeb;
    font-size: 0.9rem;
    padding: 7px 14px;
}

.neon-project-page h1 {
    font-size: clamp(2rem, 4.6vw, 3.2rem);
    line-height: 1.16;
    letter-spacing: 0;
}

.neon-description {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.72;
    max-width: 50ch;
}

.neon-price-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.neon-price-row strong {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text);
}

.neon-price-row s {
    color: #8f98a8;
    font-size: 2rem;
    text-decoration-thickness: 2px;
}

.discount-badge {
    border-radius: 999px;
    color: var(--mint);
    border: 1px solid rgba(149, 158, 173, 0.36);
    background: rgba(149, 158, 173, 0.1);
    padding: 8px 12px;
    font-size: 0.96rem;
    font-weight: 600;
}

.neon-project-page .project-actions {
    margin-top: 2px;
}

.neon-project-page .project-actions .btn {
    min-width: 174px;
    gap: 8px;
}

.tech-stack-block {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-top: 18px;
}

.tech-stack-block h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-soft);
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tech-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-chip-list span {
    border-radius: 10px;
    border: 1px solid rgba(185, 194, 209, 0.25);
    background: rgba(185, 194, 209, 0.11);
    color: #d6deeb;
    padding: 8px 12px;
    font-size: 0.92rem;
}

.pos-project-page {
    --project-accent: #58b873;
    --project-accent-soft: rgba(88, 184, 115, 0.14);
}

.food-project-page {
    --project-accent: #7abc63;
    --project-accent-soft: rgba(122, 188, 99, 0.14);
}

.pos-showcase-image {
    aspect-ratio: 3 / 2;
}

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

.pos-metric-grid div {
    border: 1px solid rgba(142, 151, 166, 0.22);
    background: rgba(142, 151, 166, 0.08);
    border-radius: 14px;
    padding: 16px;
}

.pos-metric-grid strong {
    display: block;
    color: var(--text);
    font-family: var(--font-heading-en);
    font-size: 1.08rem;
    margin-bottom: 4px;
}

.pos-metric-grid span {
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.94rem;
}

.contact-band {
    margin-bottom: 64px;
    padding: 30px;
    border-radius: 24px;
    background: linear-gradient(130deg, rgba(140, 149, 166, 0.22), rgba(89, 97, 111, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.contact-band h2 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    max-width: 20ch;
}

.site-footer {
    margin-top: 28px;
    background:
        radial-gradient(80% 140% at 50% 50%, rgba(142, 151, 167, 0.08) 0%, rgba(5, 8, 16, 0) 65%),
        linear-gradient(180deg, rgba(19, 23, 34, 0.95) 0%, rgba(15, 18, 27, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .section-wrap {
    padding-top: 30px;
    padding-bottom: 20px;
}

.site-footer-cta {
    text-align: center;
    padding: 20px 0 54px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.site-footer-cta h2 {
    font-size: clamp(1.55rem, 3.4vw, 2.65rem);
    line-height: 1.22;
    letter-spacing: 0;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: clamp(1.05rem, 1.6vw, 1.7rem);
    color: var(--accent-soft);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-cta-link:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.site-footer-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0 30px;
    display: grid;
    grid-template-columns: minmax(300px, 1.45fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr);
    grid-template-areas: "brand menu social";
    gap: 32px;
    align-items: start;
}

.footer-brand-block {
    grid-area: brand;
}

.footer-menu-block {
    grid-area: menu;
    justify-self: center;
}

.footer-social-block {
    grid-area: social;
    justify-self: end;
}

.footer-brand-block h3 {
    font-family: var(--font-heading-en);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.12rem, 1.8vw, 1.45rem);
    margin-bottom: 10px;
    color: var(--text);
}

.footer-brand-block h3 i {
    color: var(--accent-soft);
    font-size: 1.25rem;
}

.footer-brand-block p {
    color: var(--muted);
    line-height: 1.65;
    max-width: 38ch;
    font-size: clamp(0.95rem, 1vw, 1.03rem);
}

.footer-menu-block h4,
.footer-social-block h4 {
    font-family: var(--font-heading-en);
    color: var(--text);
    font-size: clamp(1.02rem, 1.1vw, 1.12rem);
    margin-bottom: 14px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: #adb6c4;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-soft);
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-social-links a {
    color: #a7afbd;
    font-size: 1.55rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-links a:hover {
    color: var(--accent-soft);
    transform: translateY(-1px);
}

.site-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
}

.site-footer-bottom p {
    color: #9ca5b4;
    font-size: 0.95rem;
}

.footer-heart {
    color: #9aa3b2;
}

.about-layout {
    padding: 64px 0 72px;
}

.about-intro h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    max-width: 18ch;
    margin-bottom: 14px;
}

.about-intro p {
    line-height: 1.7;
    color: var(--muted);
    max-width: 60ch;
}

.about-grid {
    margin-top: 20px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.about-photo {
    grid-column: span 4;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 14px;
}

.about-photo h2 {
    margin-bottom: 6px;
}

.about-photo p,
.about-story p,
.about-stats p,
.about-tech li {
    color: var(--muted);
}

.about-story {
    grid-column: span 5;
}

.about-story p {
    line-height: 1.7;
}

.about-stats {
    grid-column: span 3;
    display: grid;
    gap: 16px;
}

.about-stats h3 {
    font-size: 2rem;
    color: var(--accent-soft);
    margin-bottom: 4px;
}

.about-tech {
    grid-column: span 8;
}

.about-tech ul {
    list-style: none;
    display: grid;
    gap: 9px;
}

.about-tech i {
    color: var(--accent-soft);
    margin-right: 8px;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .highlights,
    .project-grid,
    .project-details,
    .workflow-grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-hero {
        grid-template-columns: 1fr;
    }

    .project-content-split,
    .project-info-stack {
        grid-template-columns: 1fr;
    }

    .about-photo,
    .about-story,
    .about-stats,
    .about-tech {
        grid-column: span 12;
    }
}

@media (max-width: 700px) {
    .site-nav {
        padding: 14px 0;
    }

    .nav-links {
        gap: 14px;
        font-size: 0.92rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero {
        padding-top: 42px;
    }

    .trust-strip {
        min-height: 144px;
    }

    .panel,
    .highlight-card,
    .contact-band {
        border-radius: 16px;
    }

    .highlights,
    .project-grid,
    .project-details,
    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .stack-list {
        grid-template-columns: 1fr;
    }

    .contact-band {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-grid.single-project {
        grid-template-columns: 1fr;
    }

    .featured-project-grid {
        grid-template-columns: 1fr;
    }

    .site-footer-main {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "brand brand"
            "menu social";
        gap: 20px;
        padding: 24px 0;
    }

    .site-footer-cta {
        padding: 10px 0 34px;
        margin-bottom: 22px;
    }

    .site-footer-cta h2 {
        font-size: clamp(1.7rem, 8vw, 2.6rem);
    }

    .footer-menu-block {
        justify-self: start;
    }

    .footer-social-block {
        justify-self: end;
    }

    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 1100px) {
    .neon-product-layout {
        grid-template-columns: 1fr;
    }

    .neon-showcase-panel {
        position: relative;
        top: 0;
        padding: 8px;
    }
}

@media (max-width: 640px) {
    .site-footer-main {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "menu"
            "social";
    }

    .footer-social-block {
        justify-self: start;
    }
}

@media (max-width: 760px) {
    .neon-project-page main {
        padding-top: 28px;
    }

    .neon-showcase-panel {
        padding: 6px;
    }

    .neon-price-row strong,
    .neon-price-row s {
        font-size: 1.8rem;
    }

    .pos-metric-grid {
        grid-template-columns: 1fr;
    }

}
