/* =============================================
   ABDULLAH TAUQEER PORTFOLIO — STYLE SYSTEM
   Off-White Background | Wine Red & Olive Accents
   Light-Premium Professional Theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;700;900&display=swap');

/* ======================== CSS VARIABLES ======================== */
:root {
    /* Brand Colours */
    --wine: #6B1024;
    --wine-light: #8B1731;
    --wine-dark: #4A0A19;
    --wine-glow: rgba(107, 16, 36, 0.25);
    --wine-subtle: rgba(107, 16, 36, 0.08);
    --wine-mid: rgba(107, 16, 36, 0.15);

    --olive: #8A9A3A;
    --olive-light: #9DAF40;
    --olive-dark: #636F28;
    --olive-glow: rgba(138, 154, 58, 0.25);
    --olive-subtle: rgba(138, 154, 58, 0.10);

    /* Background Layers (Off-White based) */
    --bg: #ECE7E1;
    --bg-2: #E4DFD9;
    --bg-3: #DAD4CD;
    --bg-card: #F2EEE9;
    --bg-card-2: #FAFAF8;

    /* Text on Light Background */
    --text-primary: #121212;
    --text-muted: rgba(18, 18, 18, 0.58);
    --text-faint: rgba(18, 18, 18, 0.32);
    --text-inv: #ECE7E1;
    /* for coloured/dark backgrounds */

    /* Borders */
    --border: rgba(18, 18, 18, 0.10);
    --border-wine: rgba(107, 16, 36, 0.30);
    --border-olive: rgba(138, 154, 58, 0.30);
    --border-strong: rgba(18, 18, 18, 0.20);

    /* Dark (used for hero/splash, etc.) */
    --dark: #121212;
    --dark-2: #181818;
    --dark-3: #1F1F1F;
    --dark-card: #1B1B1B;

    --white: #ECE7E1;
    --off-white: #ECE7E1;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Shape */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-wine: 0 4px 30px rgba(107, 16, 36, 0.18);
    --shadow-card: 0 4px 24px rgba(18, 18, 18, 0.10);
    --shadow-lg: 0 12px 50px rgba(18, 18, 18, 0.14);
    --shadow-sm: 0 2px 12px rgba(18, 18, 18, 0.08);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================== RESET ======================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: initial;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

button {
    border: none;
    cursor: pointer;
    background: none;
    font-family: inherit;
}

input,
textarea {
    font-family: inherit;
}

/* ======================== SCROLLBAR ======================== */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg-2);
}

::-webkit-scrollbar-thumb {
    background: var(--wine);
    border-radius: 99px;
}

/* ======================== CURSOR GLOW ======================== */
#cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 16, 36, 0.09) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    top: 0;
    left: 0;
    will-change: transform;
}

/* ======================== LAYOUT ======================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section blocks */
.section-block {
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
    will-change: transform, clip-path, opacity;
    background: var(--bg);
}

.section-alt {
    background: var(--bg-2);
}

/* ── Dark sections: dark bg + ALL child text forced white ── */
.section-dark {
    background: var(--dark) !important;
    color: var(--white) !important;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5 {
    color: var(--white);
}

.section-dark p,
.section-dark span,
.section-dark li,
.section-dark label,
.section-dark small {
    color: rgba(236, 231, 225, 0.70);
}

.section-dark strong {
    color: var(--white);
}

.section-dark .section-title {
    color: var(--white);
}

.section-dark .section-subtitle {
    color: rgba(236, 231, 225, 0.65);
}

.section-dark .section-tag {
    color: #C94B63;
    background: rgba(201, 75, 99, 0.12);
    border-color: rgba(201, 75, 99, 0.35);
}

/* Cards inside dark sections */
.section-dark .service-card,
.section-dark .trait-card,
.section-dark .tool-card,
.section-dark .tech-icon-card {
    background: #1B1B1B;
    border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .service-card h3,
.section-dark .trait-card h3,
.section-dark .tool-card,
.section-dark .tech-icon-card {
    color: var(--white);
}

.section-dark .service-card p,
.section-dark .trait-card p {
    color: rgba(236, 231, 225, 0.60);
}

.section-dark .tech-name,
.section-dark .tool-name {
    color: rgba(236, 231, 225, 0.60);
}

.section-dark .service-tags span {
    color: #C94B63;
    background: rgba(201, 75, 99, 0.12);
    border-color: rgba(201, 75, 99, 0.30);
}

/* Skills page dark sections */
.section-dark .skill-name {
    color: var(--white);
}

.section-dark .skill-percent {
    color: #C94B63;
}

.section-dark .skill-bar-track {
    background: rgba(255, 255, 255, 0.08);
}

.section-dark .skill-cat-title {
    color: #C94B63;
    border-color: rgba(201, 75, 99, 0.30);
}

.section-dark .skill-cat-title::before {
    background: #C94B63;
}

/* Contact form in dark section */
.section-dark .contact-form-col {
    background: #1B1B1B;
    border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .form-group label {
    color: rgba(236, 231, 225, 0.60);
}

.section-dark .form-group input,
.section-dark .form-group textarea {
    background: #242424;
    border-color: rgba(255, 255, 255, 0.10);
    color: var(--white);
}

.section-dark .form-group input::placeholder,
.section-dark .form-group textarea::placeholder {
    color: rgba(236, 231, 225, 0.30);
}

.section-dark .form-group input:focus,
.section-dark .form-group textarea:focus {
    border-color: #C94B63;
    box-shadow: 0 0 0 3px rgba(201, 75, 99, 0.15);
}

/* Contact info in dark section */
.section-dark .contact-info-item {
    background: #1B1B1B;
    border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .contact-info-item strong {
    color: rgba(236, 231, 225, 0.55);
}

.section-dark .contact-info-item a,
.section-dark .contact-info-item span {
    color: var(--white);
}

.section-dark .contact-info-item a:hover {
    color: #C94B63;
}

.section-dark .ci-icon {
    background: rgba(201, 75, 99, 0.12);
    border-color: rgba(201, 75, 99, 0.30);
}

.section-dark .contact-info-col h2 {
    color: var(--white);
}

.section-dark .contact-social h4 {
    color: rgba(236, 231, 225, 0.55);
}

.section-dark .contact-social-btn {
    background: #1B1B1B;
    border-color: rgba(255, 255, 255, 0.10);
    color: rgba(236, 231, 225, 0.60);
}

.section-dark .contact-social-btn:hover {
    background: rgba(201, 75, 99, 0.12);
    border-color: rgba(201, 75, 99, 0.35);
    color: #C94B63;
}

/* About page dark sections */
.section-dark .about-text-col h2 {
    color: var(--white);
}

.section-dark .about-text-col p {
    color: rgba(236, 231, 225, 0.65);
}

.section-dark .highlight-item {
    background: rgba(107, 16, 36, 0.15);
    border-color: rgba(107, 16, 36, 0.35);
}

.section-dark .highlight-item strong {
    color: var(--white);
}

.section-dark .highlight-item span {
    color: rgba(236, 231, 225, 0.60);
}

.section-dark .about-badge-float {
    background: #1B1B1B;
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.section-dark .about-avatar-lg {
    box-shadow: 0 0 40px rgba(107, 16, 36, 0.4);
}

/* CTA in dark section */
.section-dark .cta-title {
    color: var(--white);
}

.section-dark .cta-subtitle {
    color: rgba(236, 231, 225, 0.60);
}

.section-dark .btn-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.25);
}

.section-dark .btn-ghost:hover {
    border-color: #C94B63;
    color: #C94B63;
    background: rgba(201, 75, 99, 0.10);
}

/* Learning section */
.section-dark .learning-items .trait-card {
    background: #1B1B1B;
    border-color: rgba(255, 255, 255, 0.08);
}

.section-dark .learning-items .trait-card h3 {
    color: var(--white);
}

.section-dark .learning-items .trait-card p {
    color: rgba(236, 231, 225, 0.60);
}


/* Clip-path default states for GSAP reveals */
#services {
    clip-path: polygon(0% 12%, 100% 0%, 100% 88%, 0% 100%);
}

#featured-projects {
    clip-path: circle(35% at 50% 50%);
}

#skills-preview {
    clip-path: inset(10% 8% 10% 8% round 40px);
}

#about-teaser {
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
}

#stats {
    clip-path: inset(15% 0% 15% 0%);
}

#quote {
    clip-path: circle(25% at 50% 50%);
}

#cta {
    clip-path: polygon(0% 0%, 100% 10%, 100% 100%, 0% 90%);
}

.section-inner-zoom {
    will-change: transform;
    transform-origin: center center;
}

/* ======================== TYPOGRAPHY ======================== */
h1,
h2,
h3,
h4,
h5 {
    line-height: 1.15;
    font-weight: 700;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

.text-wine {
    color: var(--wine);
}

.text-olive {
    color: var(--olive);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    background: var(--wine-subtle);
    border: 1px solid var(--border-wine);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--wine);
    margin-bottom: 1rem;
}

.section-tag-olive {
    background: var(--olive-subtle);
    border-color: var(--border-olive);
    color: var(--olive-dark);
}

.section-title {
    font-family: var(--font-display);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ======================== BUTTONS ======================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    will-change: transform;
}

.btn-primary {
    background: linear-gradient(135deg, var(--wine-light), var(--wine-dark));
    color: var(--white);
    box-shadow: 0 4px 20px var(--wine-glow);
    border: 1px solid rgba(107, 16, 36, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px var(--wine-glow);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-strong);
}

.btn-ghost:hover {
    border-color: var(--wine);
    color: var(--wine);
    background: var(--wine-subtle);
}

.btn-outline {
    background: transparent;
    color: var(--wine);
    border: 1.5px solid var(--wine);
}

.btn-outline:hover {
    background: var(--wine);
    color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-xl {
    padding: 1.1rem 2.5rem;
    font-size: 1rem;
}

/* ======================== NAVBAR ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s ease,
                backdrop-filter 0.4s ease,
                border 0.4s ease,
                box-shadow 0.4s ease;
    will-change: transform, padding, background;
}

/* Smart hide when scrolling down */
.navbar.nav-hidden {
    transform: translateY(-110%);
}

/* Default state */
.navbar .nav-logo {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.navbar .nav-logo:hover {
    color: #FFFFFF;
}

.navbar .hamburger span {
    background: var(--white);
}

/* Scrolled: Ultra-Luxury Glassmorphic Floating Island */
.navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(14, 14, 14, 0.78);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(107, 16, 36, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Luxury Dynamic Scroll Progress Line */
.nav-scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #6B1024 0%, #C94B63 45%, #F5BA42 80%, #C94B63 100%);
    box-shadow: 0 0 10px rgba(201, 75, 99, 0.7);
    transition: width 0.08s linear;
    pointer-events: none;
    z-index: 1002;
}

/* Luxury Pill Dock for Nav Links */
.nav-links {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.3rem 0.35rem;
    border-radius: 999px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .nav-links {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-links li {
    position: relative;
    z-index: 2;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(236, 231, 225, 0.75);
    border-radius: 999px;
    transition: color 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    z-index: 2;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFFFFF;
}

.nav-links a.active::after {
    display: none;
}

/* Dynamic Magnetic Sliding Pill Indicator */
.nav-pill {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(201, 75, 99, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 16px rgba(201, 75, 99, 0.28);
    backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    will-change: left, width, top, height, opacity;
}

.nav-pill.pill-cta {
    background: linear-gradient(135deg, rgba(201, 75, 99, 0.35) 0%, rgba(107, 16, 36, 0.45) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 18px rgba(107, 16, 36, 0.55), 0 0 25px rgba(201, 75, 99, 0.4);
}

/* Luxury "Hire Me" Button */
.nav-cta {
    background: linear-gradient(135deg, #A82042 0%, #6B1024 50%, #8B1731 100%) !important;
    background-size: 200% 200% !important;
    color: #FFFFFF !important;
    padding: 0.52rem 1.35rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 15px rgba(107, 16, 36, 0.5), 0 0 12px rgba(201, 75, 99, 0.35) !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
}

/* Shimmer gleam sweeping across Hire Me */
.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: navCtaGleam 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes navCtaGleam {
    0%, 65% { left: -100%; }
    100% { left: 220%; }
}

.nav-cta:hover {
    transform: translateY(-1px) scale(1.04) !important;
    box-shadow: 0 6px 22px rgba(107, 16, 36, 0.75), 0 0 25px rgba(217, 106, 122, 0.65) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

/* Pulsing Live Emerald Beacon for "Hire Me" */
.nav-cta-dot {
    width: 7px;
    height: 7px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10B981, 0 0 12px rgba(16, 185, 129, 0.8);
    animation: livePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 8px #10B981, 0 0 12px rgba(16, 185, 129, 0.8);
    }
    50% {
        transform: scale(1.35);
        opacity: 0.85;
        box-shadow: 0 0 14px #10B981, 0 0 20px rgba(16, 185, 129, 1);
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
}

.logo-at {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--wine-light), var(--wine-dark));
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--white);
    box-shadow: 0 0 12px var(--wine-glow);
    flex-shrink: 0;
}

.logo-a-icon {
    width: 38px;
    height: 38px;
    display: inline-block;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(107, 16, 36, 0.45), 0 0 12px rgba(201, 75, 99, 0.3);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    flex-shrink: 0;
    vertical-align: middle;
}

.nav-logo:hover .logo-a-icon,
.footer-logo:hover .logo-a-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 20px rgba(107, 16, 36, 0.7), 0 0 20px rgba(217, 106, 122, 0.55);
}

.logo-name {
    display: inline-block;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ======================== HERO (Dark Section) ======================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--dark);
    padding: 7rem 0 4rem;
}

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

#hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.38;
    filter: saturate(1.1) contrast(1.1);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.80) 75%, var(--dark) 100%),
        linear-gradient(180deg, rgba(10, 10, 10, 0.65) 0%, transparent 40%, transparent 60%, var(--dark) 100%);
    z-index: 1;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 16, 36, 0.20) 0%, transparent 70%);
    top: -200px;
    right: -150px;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 154, 58, 0.12) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(107, 16, 36, 0.15) 0%, transparent 70%);
    top: 40%;
    left: 40%;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(107, 16, 36, 0.12);
    border: 1px solid rgba(107, 16, 36, 0.35);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #C94B63;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #C94B63;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(201, 75, 99, 0.7);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(201, 75, 99, 0);
    }
}

.hero-title {
    font-family: var(--font-display);
    display: flex;
    flex-direction: column;
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: var(--white);
}

.hero-line-mask {
    overflow: hidden;
    display: block;
}

.hero-line {
    display: block;
}

.hero-line-accent {
    color: transparent;
    -webkit-text-stroke: 2px #C94B63;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(236, 231, 225, 0.65);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-subtitle strong {
    color: var(--white);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #C94B63;
    font-family: var(--font-display);
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 800;
    color: #C94B63;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(236, 231, 225, 0.55);
    margin-top: 0.3rem;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(236, 231, 225, 0.3);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: #C94B63;
    border-radius: 99px;
    animation: scrollAnim 1.5s ease-in-out infinite;
}

@keyframes scrollAnim {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Hero Split Grid Layout */
.hero-split-wrapper {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
}

/* Futuristic Hexagonal & Orbital Cyber Stage */
.hero-cyber-stage {
    position: relative;
    width: 360px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hexagonal Photo Frame */
.cyber-photo-hex {
    width: 290px;
    height: 340px;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    background: linear-gradient(135deg, #2A0810, #121212);
    position: relative;
    z-index: 3;
    padding: 3px;
    transition: transform 0.5s ease, filter 0.5s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.hero-cyber-stage:hover .cyber-photo-hex {
    transform: scale(1.03);
    filter: drop-shadow(0 0 25px rgba(201, 75, 99, 0.6));
}

.cyber-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    filter: saturate(1.15) contrast(1.05);
    transition: transform 0.6s ease;
}

.hero-cyber-stage:hover .cyber-photo-img {
    transform: scale(1.06);
}

.cyber-photo-overlay {
    position: absolute;
    inset: 0;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    background: linear-gradient(180deg, transparent 60%, rgba(10, 10, 10, 0.85) 100%);
    pointer-events: none;
}

/* Orbiting Rings */
.cyber-ring-outer,
.cyber-ring-inner {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.cyber-ring-outer {
    width: 380px;
    height: 380px;
    border: 1.5px dashed rgba(201, 75, 99, 0.4);
    animation: rotateClockwise 25s linear infinite;
}

.cyber-ring-inner {
    width: 330px;
    height: 330px;
    border: 1px solid rgba(138, 154, 58, 0.35);
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: rotateCounterClockwise 18s linear infinite;
}

@keyframes rotateClockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateCounterClockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

/* Tech Orbit Pills */
.orbit-pill {
    position: absolute;
    z-index: 5;
    background: rgba(18, 18, 18, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    transition: transform 0.3s ease, border-color 0.3s ease;
    animation: floatOrbit 4s ease-in-out infinite alternate;
}

.orbit-pill:hover {
    transform: scale(1.1);
    border-color: #C94B63;
}

.pill-1 {
    top: 4%;
    left: -8%;
    animation-delay: 0s;
}

.pill-2 {
    top: 22%;
    right: -12%;
    animation-delay: 1s;
}

.pill-3 {
    bottom: 22%;
    left: -10%;
    animation-delay: 2s;
}

.pill-4 {
    bottom: 4%;
    right: -6%;
    animation-delay: 3s;
}

@keyframes floatOrbit {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-8px);
    }
}

/* Live Experience Status Pill */
.hero-live-status {
    position: absolute;
    bottom: -15px;
    z-index: 6;
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid rgba(201, 75, 99, 0.5);
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(107, 16, 36, 0.4);
}

.live-pulse {
    width: 9px;
    height: 9px;
    background: #8A9A3A;
    border-radius: 50%;
    box-shadow: 0 0 10px #8A9A3A;
    animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}

/* ======================== PAGE HERO (Inner Pages) ======================== */
.page-hero {
    padding: 9rem 0 5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--dark);
}

.page-hero .section-tag {
    /* stays readable on dark hero */
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
    color: var(--white);
}

.page-hero-sub {
    font-size: 1.1rem;
    color: rgba(236, 231, 225, 0.6);
    position: relative;
    z-index: 2;
}

/* ======================== SERVICES ======================== */
#services {
    background: var(--bg-2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    perspective: 1000px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-wine);
    box-shadow: var(--shadow-wine);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-tags span {
    padding: 0.25rem 0.7rem;
    background: var(--wine-subtle);
    border: 1px solid var(--border-wine);
    border-radius: var(--radius-full);
    font-size: 0.73rem;
    color: var(--wine);
    font-weight: 500;
}

/* ======================== 3D COVERFLOW ======================== */
#featured-projects {
    background: var(--bg);
}

.coverflow-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 3rem 0;
}

.coverflow-track {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 480px;
    position: relative;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.coverflow-card {
    position: absolute;
    width: 360px;
    height: 440px;
    cursor: pointer;
    transition: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    user-select: none;
    will-change: transform, opacity;
}

.coverflow-card.pos-active {
    transform: translateX(0) rotateY(0deg) scale(1);
    z-index: 10;
    filter: none;
}

.coverflow-card.pos-left-1 {
    transform: translateX(-380px) rotateY(45deg) scale(0.82);
    z-index: 7;
    filter: brightness(0.7) blur(1px);
}

.coverflow-card.pos-left-2 {
    transform: translateX(-680px) rotateY(52deg) scale(0.66);
    z-index: 5;
    filter: brightness(0.45) blur(2px);
}

.coverflow-card.pos-right-1 {
    transform: translateX(380px) rotateY(-45deg) scale(0.82);
    z-index: 7;
    filter: brightness(0.7) blur(1px);
}

.coverflow-card.pos-right-2 {
    transform: translateX(680px) rotateY(-52deg) scale(0.66);
    z-index: 5;
    filter: brightness(0.45) blur(2px);
}

.coverflow-card.pos-hidden {
    transform: translateX(900px) rotateY(-60deg) scale(0.5);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.coverflow-card.pos-hidden-left {
    transform: translateX(-900px) rotateY(60deg) scale(0.5);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.cf-card-inner {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.cf-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.6;
}

.cf-card-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: top center;
    opacity: 0.75;
    filter: saturate(1.2) contrast(1.05);
    transition: transform 0.6s ease;
}

.cf-card-inner:hover .cf-card-bg-img {
    transform: scale(1.08);
}

.cf-card-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.85) 60%, var(--dark-card) 100%);
}

.project-card-top {
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.project-card-top-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.75) 100%);
}

.cf-card-content {
    position: relative;
    z-index: 2;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cf-icon {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
}

.cf-category {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.cf-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.cf-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1rem;
}

.cf-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.2rem;
}

.cf-tech-tag {
    padding: 0.2rem 0.6rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.cf-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    margin-top: auto;
}

.cf-year {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.cf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff !important;
    background: linear-gradient(135deg, #8B1A1A 0%, #D42E4E 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 15px rgba(139, 26, 26, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.cf-link:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #D42E4E 0%, #FF4B6E 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 46, 78, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.coverflow-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 20;
}

.cf-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.cf-btn:hover {
    background: var(--wine);
    border-color: var(--wine);
    color: #fff;
    box-shadow: 0 0 20px var(--wine-glow);
}

.cf-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.cf-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-strong);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cf-dot.active {
    background: var(--wine);
    width: 22px;
    border-radius: 4px;
    box-shadow: 0 0 8px var(--wine-glow);
}

/* ======================== SKILLS PREVIEW ======================== */
#skills-preview {
    background: var(--bg-2);
}

.skills-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.tech-icon-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.2rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    will-change: transform, filter;
    transition: var(--transition);
}

.tech-icon-card:hover {
    border-color: var(--border-wine);
    transform: translateY(-4px);
    box-shadow: var(--shadow-wine);
    background: var(--bg-card-2);
}

.tech-emoji {
    font-size: 1.8rem;
}

.tech-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.04em;
}

/* ======================== ABOUT TEASER (Home) ======================== */
#about-teaser {
    background: var(--bg);
}

.about-teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: center;
}

.about-frame {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.about-avatar-img-wrap,
.about-avatar-lg-wrap {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--wine);
    box-shadow: 0 10px 30px rgba(107, 16, 36, 0.3);
    position: relative;
    z-index: 2;
}

.about-avatar-lg-wrap {
    width: 230px;
    height: 230px;
    border-radius: 28px;
}

.about-real-img,
.about-lg-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.avatar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(107, 16, 36, 0.22);
    animation: ringPulse 3s ease-in-out infinite;
}

.avatar-ring-1 {
    width: 260px;
    height: 260px;
    animation-delay: 0s;
}

.avatar-ring-2 {
    width: 320px;
    height: 320px;
    animation-delay: 1.5s;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.03);
        opacity: 1;
    }
}

.about-float-tag {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    z-index: 5;
    color: var(--text-primary);
}

.tag-1 {
    top: 10%;
    right: 0;
}

.tag-2 {
    bottom: 15%;
    left: 0;
}

.about-teaser-grid .section-subtitle {
    margin: 0;
}

/* ======================== STATS BLOCK ======================== */
#stats {
    background: var(--dark-2);
}

.stats-block {
    padding: 5rem 0;
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}

.stats-container-bg {
    background: linear-gradient(135deg, var(--wine-dark), var(--wine));
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    position: relative;
    transform-origin: center center;
    will-change: transform, opacity;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.big-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.big-stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.big-stat-plus {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
}

.big-stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* ======================== QUOTE BLOCK ======================== */
#quote {
    background: var(--bg-2);
}

.quote-block {
    text-align: center;
    background: var(--bg-2);
}

.quote-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 3.5rem 3rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    position: relative;
    will-change: transform, filter;
    box-shadow: var(--shadow-card);
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--wine);
    opacity: 0.18;
    line-height: 0.5;
    position: absolute;
    top: 2rem;
    left: 2rem;
    pointer-events: none;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-size: 0.9rem;
    color: var(--wine);
    font-weight: 600;
    display: block;
}

/* ======================== CTA BLOCK ======================== */
#cta {
    background: var(--dark);
}

.cta-block {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-grid-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(18, 18, 18, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 18, 18, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* CTA on light background — dark text */
.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* CTA on dark background — white text + light wine accent */
.section-dark .cta-title {
    color: var(--white) !important;
}

.section-dark .cta-subtitle {
    color: rgba(236, 231, 225, 0.62) !important;
}

.section-dark .cta-title .text-wine,
.section-dark .text-wine {
    color: #D96A7A !important;
}

/* lighter wine — visible on dark */
/* dark section grid lines */
.section-dark .cta-grid-lines {
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* ======================== FOOTER ======================== */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.footer-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(107, 16, 36, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.footer-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 154, 58, 0.05) 0%, transparent 70%);
    bottom: 0;
    left: -50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: var(--transition);
    color: var(--text-primary);
}

.footer-logo:hover {
    color: var(--wine);
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.7rem;
}

.social-link {
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--wine-subtle);
    border-color: var(--border-wine);
    color: var(--wine);
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--wine);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-faint);
    position: relative;
    z-index: 2;
}

.heart {
    color: var(--wine);
}

/* ======================== ABOUT PAGE ======================== */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: start;
}

.about-visual-col {
    position: relative;
}

.about-frame-lg {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
}

.about-avatar-lg {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--wine-dark), var(--wine-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    box-shadow: var(--shadow-wine);
    position: relative;
    z-index: 2;
}

.about-badge-float {
    position: absolute;
    padding: 0.6rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    z-index: 5;
    white-space: nowrap;
    color: var(--text-primary);
}

.b1 {
    top: 5%;
    right: -5%;
}

.b2 {
    top: 45%;
    left: -10%;
}

.b3 {
    bottom: 5%;
    right: 0%;
}

.about-text-col h2 {
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-text-col p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--wine-subtle);
    border: 1px solid var(--border-wine);
    border-radius: var(--radius-md);
}

.highlight-icon {
    font-size: 1.3rem;
}

.highlight-item div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.highlight-item strong {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.highlight-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ======================== TIMELINE ======================== */
.timeline {
    position: relative;
    padding-left: 2.5rem;
    max-width: 750px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-progress-line {
    position: absolute;
    left: 6px;
    top: 0;
    width: 2px;
    height: 0%;
    background: linear-gradient(to bottom, var(--wine-light), var(--wine-dark));
    box-shadow: 0 0 12px var(--wine-glow);
    will-change: height;
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
    perspective: 1000px;
}

.timeline-dot {
    position: absolute;
    left: -2.9rem;
    top: 0.2rem;
    width: 18px;
    height: 18px;
    background: var(--bg);
    border: 2px solid var(--wine);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--wine-glow);
    z-index: 2;
    transition: var(--transition);
}

.timeline-dot::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--wine);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.active-step .timeline-dot {
    border-color: var(--wine-light);
    box-shadow: 0 0 20px var(--wine-glow);
    transform: scale(1.2);
}

.timeline-item.active-step .timeline-dot::after {
    transform: scale(1);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    will-change: transform, box-shadow, border-color;
    transform-style: preserve-3d;
    box-shadow: var(--shadow-sm);
}

.timeline-card:hover {
    border-color: var(--border-wine);
    box-shadow: var(--shadow-wine);
    transform: translateY(-6px) rotateX(1deg);
}

.timeline-year {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    background: var(--wine-subtle);
    border: 1px solid var(--border-wine);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--wine);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}

.timeline-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.timeline-org {
    font-size: 0.88rem;
    color: var(--wine);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.timeline-detail {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.timeline-tags .cf-tech-tag {
    background: rgba(18, 18, 18, 0.07);
    border-color: var(--border);
    color: var(--text-muted);
    transition: var(--transition);
}

.timeline-card:hover .timeline-tags .cf-tech-tag {
    background: var(--wine-subtle);
    border-color: var(--border-wine);
    color: var(--wine);
}

/* ======================== TRAITS ======================== */
.traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
}

.trait-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.trait-card:hover {
    border-color: var(--border-wine);
    transform: translateY(-4px);
    box-shadow: var(--shadow-wine);
}

.trait-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.trait-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.trait-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ======================== PROJECTS PAGE ======================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

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

.project-card-top {
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.project-emoji {
    font-size: 2.5rem;
}

.project-year-badge {
    padding: 0.3rem 0.8rem;
    background: rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.project-card-body {
    padding: 1.8rem;
}

.project-cat {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--wine);
    display: block;
    margin-bottom: 0.4rem;
}

.project-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.project-card-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.project-tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.project-tech-pill {
    padding: 0.22rem 0.6rem;
    background: var(--wine-subtle);
    border: 1px solid var(--border-wine);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    color: var(--wine);
    font-weight: 500;
}

.project-card-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-card:hover .project-card-glow {
    opacity: 1;
}

/* ======================== SKILLS PAGE ======================== */
.skills-detail-block .container {
    max-width: 900px;
}

.skill-category {
    margin-bottom: 3.5rem;
}

.skill-cat-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--wine);
    margin-bottom: 2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-wine);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.skill-cat-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--wine);
    border-radius: 2px;
    display: inline-block;
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.skill-bar-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-bar-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: space-between;
}

.skill-icon {
    font-size: 1.1rem;
}

.skill-name {
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1;
    color: var(--text-primary);
}

.skill-percent {
    font-size: 0.8rem;
    color: var(--wine);
    font-weight: 600;
}

.skill-bar-track {
    width: 100%;
    height: 6px;
    background: var(--bg-3);
    border-radius: 99px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wine-dark), var(--wine-light));
    border-radius: 99px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 0%;
}

.skill-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 99px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tool-card:hover {
    border-color: var(--border-wine);
    transform: translateY(-4px);
    box-shadow: var(--shadow-wine);
}

.tool-emoji {
    font-size: 1.8rem;
}

.tool-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.learning-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ======================== CONTACT PAGE ======================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-col h2 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-info-item:hover {
    border-color: var(--border-wine);
    box-shadow: var(--shadow-wine);
}

.ci-icon {
    width: 44px;
    height: 44px;
    background: var(--wine-subtle);
    border: 1px solid var(--border-wine);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-info-item strong {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-info-item a,
.contact-info-item span {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.contact-info-item a:hover {
    color: var(--wine);
}

.contact-social h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.contact-social-links {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.contact-social-btn {
    padding: 0.5rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.contact-social-btn:hover {
    background: var(--wine-subtle);
    border-color: var(--border-wine);
    color: var(--wine);
}

.contact-form-col {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--wine);
    box-shadow: 0 0 0 3px rgba(107, 16, 36, 0.10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-faint);
}

@media (max-width: 900px) {
    .hero-split-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-portrait-stage {
        width: 270px;
        height: 350px;
        margin: 0 auto;
    }

    .badge-top {
        left: -5%;
        top: 2%;
    }

    .badge-bottom {
        right: -5%;
        bottom: 2%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(14, 14, 14, 0.94);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        padding: 3rem 2rem;
        gap: 0.8rem;
        border-radius: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -15px 0 35px rgba(0, 0, 0, 0.6);
        transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.15rem;
        padding: 0.9rem 1.4rem;
        width: 100%;
        border-radius: 12px;
        color: #ECE7E1 !important;
        justify-content: flex-start;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.08);
        color: #FFFFFF !important;
    }

    .nav-pill {
        display: none !important;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .skills-preview-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-teaser-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .b1 {
        right: 0;
        top: 0;
    }

    .b2 {
        left: 0;
        top: 45%;
    }

    .b3 {
        right: 0;
        bottom: 0;
    }

    .coverflow-card {
        width: 300px;
        height: 400px;
    }

    .coverflow-track {
        height: 420px;
    }

    .coverflow-card.pos-left-1 {
        transform: translateX(-280px) rotateY(45deg) scale(0.75);
    }

    .coverflow-card.pos-right-1 {
        transform: translateX(280px) rotateY(-45deg) scale(0.75);
    }

    .coverflow-card.pos-left-2 {
        transform: translateX(-500px) rotateY(52deg) scale(0.55);
    }

    .coverflow-card.pos-right-2 {
        transform: translateX(500px) rotateY(-52deg) scale(0.55);
    }
}

@media (max-width: 600px) {
    .section-block {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero-stats {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }

    .logo-name {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .traits-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .tech-icons-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .about-frame-lg {
        padding: 2rem 1rem;
    }

    .b2 {
        display: none;
    }

    .contact-form-col {
        padding: 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
    }

    .quote-text {
        font-size: 1.2rem;
    }

    .coverflow-card {
        width: 260px;
        height: 380px;
    }

    .coverflow-track {
        height: 400px;
    }

    .coverflow-card.pos-left-1 {
        transform: translateX(-200px) rotateY(50deg) scale(0.7);
        filter: brightness(0.5) blur(1px);
    }

    .coverflow-card.pos-right-1 {
        transform: translateX(200px) rotateY(-50deg) scale(0.7);
        filter: brightness(0.5) blur(1px);
    }

    .coverflow-card.pos-left-2,
    .coverflow-card.pos-right-2 {
        opacity: 0;
        pointer-events: none;
    }
}

/* ======================== SPLASH SCREEN — NAME BASED ======================== */
#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0D0D0D;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Ambient background glow */
#splash-screen::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 16, 36, 0.18) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Corner decorations */
.splash-corner-tl,
.splash-corner-br {
    position: absolute;
    width: 80px;
    height: 80px;
    opacity: 0;
}

.splash-corner-tl {
    top: 2.5rem;
    left: 2.5rem;
    border-top: 1.5px solid rgba(107, 16, 36, 0.55);
    border-left: 1.5px solid rgba(107, 16, 36, 0.55);
}

.splash-corner-br {
    bottom: 2.5rem;
    right: 2.5rem;
    border-bottom: 1.5px solid rgba(107, 16, 36, 0.55);
    border-right: 1.5px solid rgba(107, 16, 36, 0.55);
}

.splash-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    text-align: center;
    gap: 0;
}

.splash-eyebrow {
    font-size: 0.70rem;
    font-weight: 600;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: rgba(201, 75, 99, 0.8);
    opacity: 0;
    margin-bottom: 1.6rem;
}

/* Name lines */
.splash-name-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    overflow: hidden;
}

.splash-line-1,
.splash-line-2,
.splash-line-3 {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.05;
    color: #ECE7E1;
    opacity: 0;
    transform: translateY(40px);
    display: block;
}

.splash-line-1 {
    font-size: clamp(2rem, 6vw, 3.6rem);
    color: rgba(236, 231, 225, 0.55);
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.splash-line-2 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    letter-spacing: -0.02em;
}

.splash-line-3 {
    font-size: clamp(3.5rem, 10vw, 7rem);
    letter-spacing: -0.02em;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(236, 231, 225, 0.55);
}

/* Divider line */
.splash-divider {
    width: 0px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--wine), transparent);
    margin: 1.8rem 0 1.4rem;
    opacity: 0;
}

.splash-tagline {
    font-size: 0.73rem;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(236, 231, 225, 0.45);
    opacity: 0;
}

.splash-bar-wrap {
    width: 180px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 99px;
    overflow: hidden;
    margin-top: 2.4rem;
    opacity: 0;
}

.splash-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--wine-dark), #C94B63);
    border-radius: 99px;
}

/* ======================== SKILL BAR ANIMATIONS ======================== */
/* Used on skills page — triggered by ScrollTrigger */
.anim-fade-up {
    opacity: 0;
    transform: translateY(35px);
}

.anim-fade-right {
    opacity: 0;
    transform: translateX(-25px);
}

.anim-fade-down {
    opacity: 0;
    transform: translateY(-20px);
}

.anim-zoom-in {
    opacity: 0;
    transform: scale(0.9);
}

.anim-blur-in {
    opacity: 0;
    filter: blur(8px);
}

/* ======================== LEARNING ITEM ======================== */
.learning-item {
    background: #1C1C1C;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.8rem;
}

.learning-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(236, 231, 225, 0.80);
}

.learning-header span:last-child {
    color: #C94B63;
    font-weight: 700;
}

/* ======================== DEVICONS ======================== */
i[class*="devicon-"] {
    font-size: 2.2rem;
    line-height: 1;
    display: block;
    transition: transform 0.3s ease;
}

.tech-icon-card i[class*="devicon-"],
.tool-card i[class*="devicon-"] {
    font-size: 2rem;
}

.skill-icon i[class*="devicon-"] {
    font-size: 1.3rem;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-icon i[class*="devicon-"] {
    font-size: 3rem;
}

.cf-icon i[class*="devicon-"] {
    font-size: 2.8rem;
}

.tech-icon-card:hover i[class*="devicon-"],
.tool-card:hover i[class*="devicon-"] {
    transform: scale(1.2);
}