/* ----------------------------------------------------------------
   DESIGN SYSTEM & VARIABLES
---------------------------------------------------------------- */
:root {
    --bg-color: #F4F1E6;
    /* Retro beige background */
    --card-bg: #FCFAF6;
    /* Slightly lighter beige for containers */
    --charcoal: #1C1B17;
    /* Dark charcoal for block text */
    --gray-text: #605E59;
    /* Soft dark gray for descriptions */
    --white: #FFFFFF;

    /* System Accents */
    --accent-gold: #D4AF37;
    --accent-red: #FF5F56;
    --accent-yellow: #FFBD2E;
    --accent-green: #27C93F;
    --border-color: rgba(28, 27, 23, 0.12);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Syne', 'Anton', sans-serif;
    --font-script: 'Caveat', 'Great Vibes', cursive;

    /* Animation Speeds */
    --transition-smooth: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-quick: 0.2s ease;
}

/* ----------------------------------------------------------------
   BASE RESET & UTILITIES
---------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--charcoal);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    cursor: none;
    /* Hide default cursor for custom cursor */
}

/* Custom modern scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--charcoal);
    border-radius: 4px;
    border: 2px solid var(--bg-color);
}

/* Custom Text Selection */
::selection {
    background-color: var(--charcoal);
    color: var(--bg-color);
}

/* ----------------------------------------------------------------
   AESTHETIC EFFECTS & OVERLAYS
---------------------------------------------------------------- */
/* Paper Grain Noise */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.025'/%3E%3C/svg%3E");
    opacity: 0.75;
    pointer-events: none;
    z-index: 9999;
}

/* Custom Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--charcoal);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width var(--transition-quick), height var(--transition-quick), background-color var(--transition-quick);
}

.custom-cursor-follower {
    width: 32px;
    height: 32px;
    border: 1px solid var(--charcoal);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s cubic-bezier(0.25, 1, 0.5, 1), width var(--transition-quick), height var(--transition-quick), border-color var(--transition-quick);
}

/* Cursor Interactive States */
body.hovering-link .custom-cursor {
    width: 4px;
    height: 4px;
    background-color: transparent;
}

body.hovering-link .custom-cursor-follower {
    width: 48px;
    height: 48px;
    background-color: rgba(28, 27, 23, 0.05);
    border-color: var(--charcoal);
}

body.hovering-drag .custom-cursor {
    width: 0;
    height: 0;
}

body.hovering-drag .custom-cursor-follower {
    width: 50px;
    height: 50px;
    border-color: var(--charcoal);
    background-color: var(--charcoal);
    display: flex;
    justify-content: center;
    align-items: center;
}

body.hovering-drag .custom-cursor-follower::before {
    content: '↔';
    color: var(--bg-color);
    font-size: 16px;
    font-weight: bold;
}

/* ----------------------------------------------------------------
   LAYOUT DECK & SLIDES
---------------------------------------------------------------- */
.scroll-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 10;
    pointer-events: none;
}

.deck-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    will-change: transform;
    pointer-events: auto;
}

.scroll-spacer {
    width: 100%;
    pointer-events: none;
    background-color: transparent;
}

.slide {
    width: 100vw;
    height: auto;
    min-height: 70vh;
    /* Gives a cohesive feel without locking height */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 60px 80px;
    /* Compact vertical padding for tighter section spacing */
    overflow: hidden;
    flex-shrink: 0;
    /* Prevents squashing in flexbox column layout */
}

.slide-cover {
    min-height: 90vh; /* Keep Hero cover spacious */
    padding-top: 100px; /* Space for fixed header */
}

.slide-content {
    width: 100%;
    max-width: 1200px;
    height: auto;
    /* Let content determine height naturally */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* Decorative X Grid */
.x-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: rgba(28, 27, 23, 0.35);
    font-family: var(--font-primary);
    font-size: 13px;
    letter-spacing: 0.5rem;
    font-weight: 500;
    text-transform: lowercase;
    margin-bottom: 2rem;
    user-select: none;
}

.x-grid.compact {
    margin-bottom: 1rem;
    gap: 4px;
    font-size: 11px;
    letter-spacing: 0.35rem;
}

/* ----------------------------------------------------------------
   NAVIGATION CONTROLS
---------------------------------------------------------------- */
.nav-controls {
    position: fixed;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
    user-select: none;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none;
    transition: all var(--transition-quick);
}

.nav-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--charcoal);
    transition: fill var(--transition-quick);
}

.nav-btn:hover {
    background-color: var(--charcoal);
    border-color: var(--charcoal);
}

.nav-btn:hover svg {
    fill: var(--bg-color);
}

.slide-indicator {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1rem;
}

.slide-divider {
    opacity: 0.3;
    margin: 0 6px;
}

/* Dots Navigation Sticky on Right Side */
.dots-navigation {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
    user-select: none;
}

.dot-nav {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1.5px solid var(--charcoal);
    background-color: transparent;
    cursor: none;
    transition: background-color var(--transition-smooth), transform var(--transition-smooth);
}

.dot-nav.active {
    background-color: var(--charcoal);
    transform: scale(1.2);
}

/* ----------------------------------------------------------------
   SLIDE 1: COVER
---------------------------------------------------------------- */
.slide-cover {
    height: 100vh;
    background-color: var(--bg-color);
}

.brush-stroke {
    position: absolute;
    color: var(--charcoal);
    pointer-events: none;
    z-index: 1;
}

.brush-top-right {
    top: 0;
    right: 0;
    width: 220px;
    height: 220px;
    transform: scale(1.1);
}

.brush-bottom-left {
    bottom: 0;
    left: 0;
    width: 220px;
    height: 220px;
    transform: scale(1.1);
}

.slide-cover .slide-content {
    align-items: center;
    text-align: center;
}

.main-title {
    font-family: var(--font-heading);
    /* Reverted to Syne for massive horizontal block layout */
    font-size: clamp(5rem, 12vw, 8.5rem);
    /* Scaled up to span almost 100% of viewport width */
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    /* Tight letter-spacing for retro print look */
    margin-top: 10px;
    margin-bottom: 25px;
    color: var(--charcoal);
}

.hero-tagline-top {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.38em;
    color: var(--gray-text);
    text-transform: uppercase;
    margin-bottom: 4px;
    opacity: 0.8;
}

.hero-tagline-bottom {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--bg-color);
    background-color: var(--charcoal);
    text-transform: uppercase;
    margin-top: 0px;
    margin-bottom: 35px;
    padding: 6px 18px;
    border-radius: 4px;
    display: inline-block;
    box-shadow: 4px 4px 0px var(--charcoal);
    /* Keep drop shadow black */
    border: 1.5px solid var(--charcoal);
}

/* Splash Screen Opener */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9990;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--charcoal);
    /* Set background to charcoal to block FOUC and give nice contrast */
}

.splash-curtain {
    position: absolute;
    top: 0;
    width: 51vw;
    /* Set to 51vw to overlap slightly in center, preventing sub-pixel gap lines */
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 1;
    transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1);
}

.curtain-left {
    left: 0;
    transform: translateX(-100%);
    /* Starts off-screen left, slides in */
}

.curtain-right {
    right: 0;
    transform: translateX(100%);
    /* Starts off-screen right, slides in */
}

/* Closed state - curtains meet seamlessly in center with no vertical line border */
.splash-screen.closed .curtain-left {
    transform: translateX(0);
}

.splash-screen.closed .curtain-right {
    transform: translateX(0);
}

/* Inner Content Panels */
.splash-content-inner {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 80px;
    z-index: 2;
}

.left-side {
    left: 0;
}

.right-side {
    right: 0;
    /* Pinned to right of the right curtain, aligning exactly with screen coordinates */
}

/* Curtain splitting exit styles when entering portfolio */
.splash-screen.exit .curtain-left {
    transform: translateX(-100%);
}

.splash-screen.exit .curtain-right {
    transform: translateX(100%);
}

/* Enter Portfolio text prompt */
.enter-prompt {
    position: absolute;
    bottom: 55px; /* Pushed to bottom center where the cursor rests */
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: none;
    transition: color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
    z-index: 5;
}

.enter-prompt:hover {
    color: var(--charcoal);
    transform: translate(-50%, -2px);
}

.enter-arrow {
    width: 14px;
    height: 14px;
    fill: var(--accent-red);
    animation: bounceDown 1.2s infinite alternate ease-in-out;
}

@keyframes bounceDown {
    0% {
        transform: translateY(-2px);
    }

    100% {
        transform: translateY(4px);
    }
}


.year-divider {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 480px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2rem;
    margin-top: 1rem;
}

.divider-line {
    flex-grow: 1;
    height: 1.5px;
    background-color: var(--charcoal);
    margin: 0 20px;
    opacity: 0.8;
}

/* ----------------------------------------------------------------
   SLIDE 1: NEW HERO LAYOUT
---------------------------------------------------------------- */
.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-top: 50px; /* Accounts for site header */
}

.hero-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-right-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.freelance-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--charcoal);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--charcoal);
    background-color: var(--card-bg);
    box-shadow: 4px 4px 0 var(--charcoal);
    text-transform: uppercase;
}

.pill-dot {
    width: 7px;
    height: 7px;
    background-color: var(--accent-green);
    border-radius: 50%;
    animation: blinkDot 1.6s infinite alternate ease-in-out;
}

@keyframes blinkDot {
    0% { opacity: 0.3; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.1); }
}

.hero-x-grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-text);
    opacity: 0.45;
    margin-bottom: 25px;
    line-height: 1;
    letter-spacing: 0.5em;
}

.hero-intro-text {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--gray-text);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero-name {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3.8rem, 8.2vw, 7.5rem);
    font-weight: normal;
    line-height: 0.88;
    color: var(--charcoal);
    text-transform: uppercase;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.hero-name span {
    display: block;
}

.hero-role-row {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gray-text);
    text-transform: uppercase;
    margin-bottom: 45px;
}

.role-dash {
    font-size: 20px;
    color: var(--charcoal);
    font-weight: 800;
    line-height: 1;
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
}

.action-btn-solid {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--bg-color);
    background-color: var(--charcoal);
    border: 2px solid var(--charcoal);
    padding: 14px 28px;
    border-radius: 8px;
    cursor: none;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 4px 4px 0 var(--charcoal);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}

.action-btn-solid:hover {
    background-color: var(--bg-color);
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 var(--charcoal);
}

.action-btn-text {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--charcoal);
    background-color: transparent;
    border: none;
    border-bottom: 2px solid var(--charcoal);
    padding: 6px 0;
    cursor: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
}

.action-btn-text:hover {
    color: var(--gray-text);
    border-color: var(--gray-text);
    transform: translateY(-2px);
}

.hero-scroll-prompt {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: none;
    color: var(--gray-text);
    transition: color 0.3s ease;
}

.hero-scroll-prompt:hover {
    color: var(--charcoal);
}

.scroll-prompt-text {
    font-family: var(--font-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-prompt-arrow {
    width: 34px;
    height: 34px;
    border: 2px solid var(--charcoal);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--card-bg);
    box-shadow: 3px 3px 0 var(--charcoal);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-scroll-prompt:hover .scroll-prompt-arrow {
    transform: translateY(3px);
    box-shadow: 1px 1px 0 var(--charcoal);
}

.scroll-prompt-arrow svg {
    width: 14px;
    height: 14px;
    fill: var(--charcoal);
}

/* Right Column Photo and Stats Card */
.hero-photo-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1.05;
    border-radius: 24px;
    background-color: var(--card-bg);
    border: 2px solid var(--charcoal);
    box-shadow: 18px 18px 0 var(--charcoal);
    overflow: hidden;
    margin-bottom: 10px;
}

.photo-tag-label {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 10;
    background-color: var(--charcoal);
    color: var(--bg-color);
    font-family: var(--font-primary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-smooth);
}

.hero-photo-card:hover .hero-photo-img {
    transform: scale(1.05);
}

.hero-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 420px;
    margin-top: 15px;
    padding: 0 10px;
}

.stat-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: 'Anton', sans-serif;
    font-size: 26px;
    color: var(--charcoal);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-family: var(--font-primary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gray-text);
    text-transform: uppercase;
}

.stat-divider {
    width: 1.5px;
    height: 35px;
    background-color: var(--border-color);
}

/* ----------------------------------------------------------------
   SITE HEADER & NAVIGATION
---------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: none;
    background-color: var(--bg-color);
    border-bottom: 2px solid var(--charcoal);
    transition: background-color var(--transition-smooth), border-bottom-color var(--transition-smooth);
}

.site-header.at-top {
    background-color: transparent;
    border-bottom-color: transparent;
}

.site-header .freelance-pill,
.site-header .header-right-controls,
.site-header .header-nav {
    pointer-events: auto; /* Enable clicks */
}

.site-header .freelance-pill {
    margin-bottom: 0; /* Align in header */
}

/* Header Inline Nav Links */
.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav .nav-link {
    font-family: var(--font-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--charcoal);
    text-decoration: none;
    text-transform: uppercase;
    padding: 6px 0;
    position: relative;
    transition: color var(--transition-quick);
}

.header-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.header-nav .nav-link:hover::after,
.header-nav .nav-link.active::after {
    width: 100%;
}

.header-nav .nav-link:hover {
    color: var(--accent-gold);
}

.header-right-controls {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-header .slide-indicator {
    margin-top: 0;
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 700;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.05em;
}

.site-header .slide-indicator::after {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--charcoal);
    margin-left: 8px;
    opacity: 0.8;
}

/* Hamburger Menu Button */
.hamburger-btn {
    background-color: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 16px;
    padding: 0;
    cursor: none;
    z-index: 110;
}

.hamburger-line {
    width: 100%;
    height: 2.5px;
    background-color: var(--charcoal);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Overlay Navigation Menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    background-image: 
        radial-gradient(circle at 100% 150%, rgba(212, 175, 55, 0.08) 24%, transparent 24%),
        radial-gradient(circle at 0% -50%, rgba(255, 95, 86, 0.06) 30%, transparent 30%);
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-close-btn {
    position: absolute;
    top: 30px;
    right: 80px;
    font-size: 50px;
    color: var(--charcoal);
    cursor: none;
    user-select: none;
    transition: transform 0.3s ease;
    line-height: 1;
}

.menu-close-btn:hover {
    transform: rotate(90deg);
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.menu-link {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2rem, 5.5vw, 4.5rem);
    color: var(--charcoal);
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
}

.menu-num {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-red);
}

.menu-link:hover {
    transform: translateX(15px);
    color: var(--accent-gold);
}

/* ----------------------------------------------------------------
   CARD GRID LAYOUTS (SLIDE 2, 3, 5)
---------------------------------------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 80px;
    align-items: center;
}

/* ----------------------------------------------------------------
   SLIDE 2: ABOUT ME
---------------------------------------------------------------- */
/* Vintage Browser Mockup */
.browser-mockup {
    background-color: var(--card-bg);
    border: 2px solid var(--charcoal);
    border-radius: 12px;
    box-shadow: 12px 12px 0px var(--charcoal);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    aspect-ratio: 4 / 5;
    max-height: 480px;
    transition: transform 0.1s ease, box-shadow var(--transition-quick);
}

.browser-header {
    background-color: var(--bg-color);
    border-bottom: 2px solid var(--charcoal);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 12px 16px;
}

.browser-dots {
    display: flex;
    gap: 8px;
}

.browser-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    cursor: none;
    transition: transform 0.2s ease;
}

.browser-dots .dot:hover {
    transform: scale(1.25);
}

.browser-dots .dot.red {
    background-color: var(--accent-red);
}

.browser-dots .dot.yellow {
    background-color: var(--accent-yellow);
}

.browser-dots .dot.green {
    background-color: var(--accent-green);
}

.browser-title {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    color: var(--gray-text);
}

.browser-content {
    flex-grow: 1;
    overflow: hidden;
    background-color: #E2DFD2;
    /* Photo border container tint */
    position: relative;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(28, 27, 23, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* About details text */
.about-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.section-title {
    display: flex;
    flex-direction: column;
}

.section-title .line-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
}

.section-title .name-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
    margin-top: 2px;
}

.about-desc {
    font-size: 17px;
    line-height: 1.6;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.contact-section {
    position: relative;
    padding-top: 15px;
}

.contact-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 12px;
}

.contact-line {
    height: 2px;
    background-color: var(--charcoal);
    width: 100%;
    margin-bottom: 20px;
    opacity: 0.85;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 15px;
    transition: opacity var(--transition-quick);
}

.contact-item:hover {
    opacity: 0.7;
}

.contact-item .icon {
    width: 18px;
    height: 18px;
    fill: var(--charcoal);
}

/* ----------------------------------------------------------------
   SLIDE 3: SOFTWARE SKILLS
---------------------------------------------------------------- */
.script-accent {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--charcoal);
    line-height: 0.9;
    margin-bottom: -4px;
    font-weight: normal;
    text-transform: none;
}

.block-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
}

.skills-wrap {
    display: flex;
    flex-direction: column;
}

.skills-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    padding: 14px 20px;
    border-bottom: 2px solid var(--border-color);
    border-radius: 12px;
    background-color: transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.skill-item:hover {
    background-color: var(--card-bg);
    border-color: var(--charcoal);
    transform: translateX(8px);
}

.icon-container {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tool-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid var(--charcoal);
    box-shadow: 3px 3px 0 var(--charcoal);
    background-color: var(--card-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover .tool-icon {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--accent-gold);
}

.skill-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.skill-name {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal);
    line-height: 1.2;
}

.skill-tag {
    font-size: 11px;
    color: var(--gray-text);
    margin-top: 3px;
    opacity: 0.85;
    line-height: 1.25;
}

/* Extra Side Details */
.side-info {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    opacity: 0.4;
}

.bottom-info {
    position: absolute;
    right: 20px;
    bottom: -20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    opacity: 0.4;
}

/* Vertical text helper */
.vertical-text {
    writing-mode: vertical-rl;
    text-transform: uppercase;
}

/* ----------------------------------------------------------------
   COLUMN LAYOUT SLIDES (SLIDE 4, 6, 7)
---------------------------------------------------------------- */
.column-layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--charcoal);
    padding-bottom: 12px;
}

.heading-meta {
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gray-text);
    padding-bottom: 8px;
}

/* ----------------------------------------------------------------
   SLIDE 4: GRAPHIC DESIGNER
---------------------------------------------------------------- */
.design-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    margin-top: 15px;
}

.design-card {
    background-color: var(--card-bg);
    border: 2px solid var(--charcoal);
    border-radius: 12px;
    box-shadow: 8px 8px 0px var(--charcoal);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3 / 4;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    cursor: none;
}

.design-card:hover {
    transform: translateY(-6px);
    box-shadow: 12px 12px 0px var(--accent-gold);
}

.design-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.design-card:hover .design-img {
    transform: scale(1.04);
}

.design-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(28, 27, 23, 0.95));
    color: var(--bg-color);
    padding: 24px 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.design-card:hover .design-overlay {
    transform: translateY(0);
    opacity: 1;
}

.design-overlay h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.design-overlay p {
    font-size: 11px;
    opacity: 0.8;
}

/* ----------------------------------------------------------------
   SLIDE 6: WORKING PROCESS
---------------------------------------------------------------- */
.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
    margin-top: 1.5rem;
}

/* Horizontal connecting dashed line */
.process-grid::before {
    content: '';
    position: absolute;
    top: 58px; /* Midpoint of the header-row */
    left: 5%;
    width: 90%;
    height: 0;
    border-top: 3px dashed rgba(28, 27, 23, 0.4);
    z-index: 1;
    pointer-events: none;
}

.process-card {
    background-color: var(--card-bg);
    border: 2px solid var(--charcoal);
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 6px 6px 0px var(--charcoal);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    cursor: none;
    z-index: 2; /* Sits on top of the dashed line to mask it */
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 10px 10px 0px var(--accent-gold);
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px dashed rgba(28, 27, 23, 0.15);
    padding-bottom: 12px;
}

.process-card .step-num {
    font-family: 'Anton', sans-serif;
    font-size: 32px;
    color: var(--accent-gold);
    text-shadow: 1.5px 1.5px 0px var(--charcoal);
    line-height: 1;
}

.process-card .step-star {
    font-size: 16px;
}

.process-card .step-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: var(--charcoal);
    border-bottom: 2px solid var(--charcoal);
    padding-bottom: 4px;
    display: inline-block;
    max-width: 100%;
}

.process-card .step-desc {
    font-size: 11px;
    color: var(--charcoal);
    line-height: 1.5;
    opacity: 0.9;
}

/* ----------------------------------------------------------------
   SLIDE 5: SERVICES & PRICING
---------------------------------------------------------------- */
.price-switcher {
    display: flex;
    gap: 12px;
    background-color: rgba(28, 27, 23, 0.06);
    border: 2px solid var(--charcoal);
    padding: 4px;
    border-radius: 40px;
    align-items: center;
}

.switch-btn {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--charcoal);
    background: transparent;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: none;
    transition: all var(--transition-quick);
}

.switch-btn.active {
    background-color: var(--charcoal);
    color: var(--bg-color);
}

.pricing-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    margin-top: 1.5rem;
    animation: fadeGrid 0.4s ease forwards;
}

.pricing-grid.active {
    display: grid;
}

@keyframes fadeGrid {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-card {
    background-color: var(--card-bg);
    border: 2px solid var(--charcoal);
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 6px 6px 0px var(--charcoal);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    cursor: none;
    min-height: 430px;
    justify-content: space-between;
    z-index: 2;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 10px 10px 0px var(--accent-gold);
}

/* Most Popular card variant styles */
.popular-card {
    border-color: var(--charcoal);
    background-color: var(--bg-color);
    box-shadow: 8px 8px 0px var(--charcoal);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
    color: var(--charcoal);
    border: 2px solid var(--charcoal);
    font-family: var(--font-primary);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 3px 12px;
    border-radius: 20px;
    box-shadow: 2px 2px 0px var(--charcoal);
}

.plan-header {
    border-bottom: 2px dashed rgba(28, 27, 23, 0.15);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.plan-badge {
    font-family: var(--font-primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--gray-text);
    border: 1.5px solid var(--charcoal);
    padding: 3px 10px;
    border-radius: 30px;
    background-color: var(--card-bg);
}

.plan-badge.gold-badge {
    background-color: var(--accent-gold);
    color: var(--charcoal);
}

.plan-header h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    margin: 15px 0 10px 0;
    color: var(--charcoal);
    text-transform: uppercase;
}

.plan-price {
    display: flex;
    align-items: baseline;
}

.plan-price .currency {
    font-family: 'Anton', sans-serif;
    font-size: 20px;
    color: var(--charcoal);
    margin-right: 2px;
}

.plan-price .amount {
    font-family: 'Anton', sans-serif;
    font-size: 42px;
    color: var(--charcoal);
    line-height: 1;
}

.plan-price .period {
    font-family: var(--font-primary);
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-text);
    margin-left: 6px;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 11.5px;
    color: var(--charcoal);
    line-height: 1.4;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border: 2px solid var(--charcoal);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--charcoal);
    background-color: var(--bg-color);
    box-shadow: 4px 4px 0px var(--charcoal);
    transition: all var(--transition-quick);
    text-decoration: none;
}

.plan-cta-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--charcoal);
    background-color: var(--card-bg);
}

.plan-cta-btn.solid-cta {
    background-color: var(--charcoal);
    color: var(--bg-color);
}

.plan-cta-btn.solid-cta:hover {
    background-color: var(--accent-gold);
    color: var(--charcoal);
}

/* ----------------------------------------------------------------
   SLIDE 7: VIDEO EDITOR
---------------------------------------------------------------- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    flex-grow: 1;
    align-items: center;
}

.video-card {
    background-color: var(--card-bg);
    border: 2px solid var(--charcoal);
    border-radius: 12px;
    box-shadow: 6px 6px 0 var(--charcoal);
    overflow: hidden;
    transition: transform 0.1s ease, box-shadow var(--transition-quick);
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 420px;
}

.video-thumbnail-container {
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    position: relative;
    background-color: #000;
    border-bottom: 2px solid var(--charcoal);
}

.css-video-thumb {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Animated gradient sceneries simulating videos */
.video-t1 {
    background: linear-gradient(190deg, #ff9966 0%, #ff5e62 100%);
}

.video-t1 .scenery-mountain {
    position: absolute;
    bottom: -15px;
    width: 110%;
    height: 60px;
    background: #4a1525;
    clip-path: polygon(0% 100%, 25% 40%, 45% 80%, 75% 20%, 100% 100%);
}

.video-t2 {
    background: linear-gradient(135deg, #12c2e9 0%, #c471ed 50%, #f64f59 100%);
}

.video-t2 .scenery-city {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80px;
    background-image:
        linear-gradient(90deg, #2b0b30 40px, transparent 40px),
        linear-gradient(90deg, #1b0720 30px, transparent 30px);
    background-size: 60px 100%, 45px 100%;
    background-position: bottom left, bottom right;
}

.video-t3 {
    background: linear-gradient(180deg, #2c3e50 0%, #000000 100%);
}

.video-t3 .scenery-road {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 100px;
    background: #333;
    clip-path: polygon(45% 0%, 55% 0%, 100% 100%, 0% 100%);
}

.video-t3 .scenery-road::after {
    content: '';
    position: absolute;
    left: 48%;
    width: 4%;
    height: 100%;
    background-image: linear-gradient(transparent 50%, #f1c40f 50%);
    background-size: 100% 20px;
}

.video-t4 {
    background: linear-gradient(180deg, #00c6ff 0%, #0072ff 100%);
}

.video-t4 .scenery-ocean {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: #0050b3;
    border-radius: 50% 50% 0 0 / 10px 10px 0 0;
}

.moving-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    z-index: 2;
    transform: skewX(-20deg);
}

.video-card:hover .moving-overlay {
    animation: lightSweep 2s infinite linear;
}

.video-card:hover .moving-overlay.fast {
    animation: lightSweep 1.2s infinite linear;
}

.video-card:hover .moving-overlay.slow {
    animation: lightSweep 2.8s infinite linear;
}

.video-card:hover .moving-overlay.pulse {
    animation: pulseGlow 1.8s infinite alternate ease-in-out;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
}

@keyframes lightSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 150%;
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.2;
    }

    100% {
        opacity: 0.8;
    }
}

.video-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
    background-color: rgba(28, 27, 23, 0.2);
    transition: background-color var(--transition-smooth);
}

.play-btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-color);
    border: 2px solid var(--charcoal);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    opacity: 0.9;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth), background-color var(--transition-quick);
}

.play-btn-circle svg {
    width: 20px;
    height: 20px;
    fill: var(--charcoal);
    margin-left: 2px;
}

.timeline-indicator {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(28, 27, 23, 0.8);
    color: var(--bg-color);
    padding: 3px 6px;
    font-size: 9px;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
    display: flex;
    gap: 4px;
}

.capcut-watermark {
    position: absolute;
    top: 12px;
    right: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 2px;
    pointer-events: none;
    font-family: var(--font-primary);
}

.timeline-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(28, 27, 23, 0.3);
    z-index: 6;
}

.timeline-progress {
    width: 0%;
    height: 100%;
    background-color: var(--accent-red);
    transition: width 0.1s linear;
}

.video-info {
    padding: 16px;
}

.video-info h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: capitalize;
}

.video-info p {
    font-size: 12px;
    color: var(--gray-text);
}

/* Hover playing emulation */
.video-card:hover .css-video-thumb {
    transform: scale(1.04);
}

.video-card:hover .video-card-overlay {
    background-color: rgba(28, 27, 23, 0.45);
}

.video-card:hover .play-btn-circle {
    transform: scale(1.1);
    opacity: 1;
    background-color: var(--charcoal);
}

.video-card:hover .play-btn-circle svg {
    fill: var(--bg-color);
}

/* ----------------------------------------------------------------
   SLIDE 8: LET'S CONNECT CTA
---------------------------------------------------------------- */
.slide-cta .slide-content {
    justify-content: center;
}

.cta-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
}

.cta-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.cta-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cta-eyebrow {
    font-family: var(--font-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--gray-text);
    border: 1.5px solid var(--charcoal);
    padding: 5px 16px;
    border-radius: 30px;
    background-color: var(--card-bg);
}

.cta-headline {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.cta-headline .cta-script {
    font-size: 38px;
}

.cta-headline .cta-block {
    font-size: 52px;
    line-height: 1;
}

.cta-subtext {
    font-size: 13px;
    color: var(--charcoal);
    opacity: 0.85;
    line-height: 1.7;
    max-width: 480px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-primary-btn,
.cta-secondary-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    border: 2px solid var(--charcoal);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: none;
    white-space: nowrap;
}

.cta-primary-btn {
    background-color: var(--charcoal);
    color: var(--bg-color);
    box-shadow: 6px 6px 0px var(--accent-gold);
}

.cta-primary-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px var(--accent-gold);
    background-color: var(--accent-gold);
    color: var(--charcoal);
}

.cta-secondary-btn {
    background-color: var(--bg-color);
    color: var(--charcoal);
    box-shadow: 6px 6px 0px var(--charcoal);
}

.cta-secondary-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px var(--charcoal);
    background-color: var(--card-bg);
}

.btn-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.cta-primary-btn:hover .btn-arrow,
.cta-secondary-btn:hover .btn-arrow {
    transform: translate(3px, -3px);
}

.cta-trust-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 5px;
}

.trust-item {
    font-family: var(--font-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--charcoal);
    opacity: 0.8;
}

.trust-divider {
    color: var(--charcoal);
    opacity: 0.3;
    font-size: 14px;
}

/* ----------------------------------------------------------------
   SLIDE 9: THANK YOU
---------------------------------------------------------------- */
.slide-thankyou .slide-content {
    align-items: center;
    text-align: center;
}

.thank-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 9vw, 8.5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 3.5rem;
    color: var(--charcoal);
}

.thank-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 1.5rem;
    position: relative;
}

.thank-footer::before {
    content: '';
    width: 60px;
    height: 2px;
    background-color: var(--charcoal);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.05em;
    transition: opacity var(--transition-quick);
}

.footer-link:hover {
    opacity: 0.7;
}

/* ----------------------------------------------------------------
   LIGHTBOX STORY POPUP
---------------------------------------------------------------- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 27, 23, 0.95);
    z-index: 10100;
    display: none;
    /* JS controlled */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content-wrapper {
    position: relative;
    max-width: 420px;
    width: 90%;
    aspect-ratio: 9 / 16;
}

.lightbox-content {
    width: 100%;
    height: 100%;
    background-color: var(--card-bg);
    border: 3px solid var(--bg-color);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

/* Make canvas fit lightbox */
.lightbox-content .story-canvas {
    padding: 40px 24px;
}

.lightbox-caption {
    position: relative;
    z-index: 10;
    background-color: var(--charcoal);
    color: var(--bg-color);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: var(--bg-color);
    font-size: 44px;
    font-weight: 300;
    cursor: none;
    transition: transform var(--transition-quick);
    user-select: none;
    z-index: 10200;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* ----------------------------------------------------------------
   RESPONSIVE DESIGN (SCROLLING GRID MOBILE CONVERSION)
---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .slide {
        padding: 40px;
    }

    .card-grid {
        gap: 40px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .design-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .cta-split-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    html,
    body {
        overflow-y: auto;
        overflow-x: hidden;
        cursor: default;
        /* standard touch friendly cursor */
    }

    /* Hide desktop controls on mobile */
    .custom-cursor,
    .custom-cursor-follower,
    .nav-controls,
    .dots-navigation {
        display: none !important;
    }


    .slide {
        width: 100% !important;
        height: auto;
        min-height: auto; /* Let slides wrap their content tightly on mobile */
        padding: 45px 24px;
        border-bottom: 2px solid var(--charcoal);
    }

    .slide-content {
        max-height: none;
        height: auto;
        justify-content: flex-start;
    }

    /* Hero layout mobile adjust */
    .slide-cover {
        padding-top: 60px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
        padding-top: 10px;
    }

    .hero-left-col {
        align-items: flex-start;
        text-align: left;
        padding-left: 12px; /* Push content away from the left screen edge */
    }

    .hero-right-col {
        gap: 30px; /* Increased gap to give stats row breathing room from the photo */
        order: -1; /* Display photo first on mobile screens */
    }

    .hero-x-grid {
        display: none !important;
    }

    .hero-name {
        font-size: clamp(2.4rem, 9.5vw, 4rem);
        margin-bottom: 18px;
        align-items: flex-start;
        text-align: left;
        line-height: 1.05; /* Prevent vertical line overlapping */
        letter-spacing: 0.04em; /* Give breathing space between characters */
    }

    .hero-role-row {
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .hero-actions-row {
        flex-direction: row;
        align-items: center;
        gap: 20px;
        width: 100%;
        margin-bottom: 30px;
    }

    .action-btn-solid {
        width: auto !important;
        padding: 10px 18px !important;
        font-size: 10px !important;
    }

    .action-btn-text {
        width: auto !important;
        padding: 6px 0 !important;
        font-size: 10px !important;
    }

    .hero-scroll-prompt {
        display: none !important;
    }

    .hero-photo-card {
        max-width: 320px;
        aspect-ratio: 1 / 1;
        box-shadow: 10px 10px 0 var(--charcoal);
        border-radius: 18px;
        margin: 0 auto;
    }

    .hero-stats-row {
        max-width: 320px;
        margin: 0 auto;
        width: 100%;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 8px;
    }

    .stat-divider {
        height: 25px;
    }

    /* Fixed header mobile adjust */
    .site-header {
        padding: 15px 20px;
    }

    .site-header .freelance-pill {
        display: none !important;
    }

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

    .header-right-controls {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* CTA mobile adjusts */
    .cta-split-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-left {
        align-items: center;
        text-align: center;
    }

    .cta-headline {
        align-items: center;
    }

    .cta-headline .cta-script {
        font-size: 28px;
    }

    .cta-headline .cta-block {
        font-size: 34px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .cta-primary-btn,
    .cta-secondary-btn {
        justify-content: center;
        width: 100%;
    }

    .cta-trust-row {
        flex-direction: column;
        gap: 8px;
    }

    .trust-divider {
        display: none;
    }

    .site-header .slide-indicator {
        font-size: 11px;
    }

    .site-header .slide-indicator::after {
        width: 15px;
        margin-left: 5px;
    }

    .menu-close-btn {
        top: 20px;
        right: 24px;
        font-size: 40px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .splash-content-inner {
        padding: 40px 24px;
    }

    /* Section titles adjust */
    .section-heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 1.5rem;
    }

    .main-title {
        font-size: clamp(1.8rem, 8.5vw, 3.2rem) !important;
        margin-bottom: 1.2rem;
    }

    .hero-tagline-top {
        font-size: 9px !important;
        letter-spacing: 0.12em !important;
    }

    .hero-tagline-bottom {
        font-size: 10px !important;
        letter-spacing: 0.15em !important;
        padding: 5px 12px !important;
        margin-bottom: 25px !important;
    }

    .brush-top-right,
    .brush-bottom-left {
        width: 140px;
        height: 140px;
    }

    /* About me adjusts */
    .browser-mockup {
        max-height: 380px;
        order: -1;
    }

    .about-header-wrap {
        flex-direction: column;
        gap: 12px;
    }

    .contact-info {
        flex-direction: column;
        gap: 12px;
    }

    /* Skills illustration adjusts */
    .skills-illustration-container {
        order: -1;
    }

    /* Skills list spacing mobile adjust */
    #slide-skills .card-grid {
        gap: 15px;
    }
    #slide-skills .extra-skills-wrap .skills-list {
        margin-top: 0;
    }

    /* Designer card gallery grid */
    .design-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    /* Process Grid mobile adjusts */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process-grid::before {
        display: none !important;
    }

    .process-card {
        aspect-ratio: auto;
        min-height: 140px;
    }

    /* Pricing Grid mobile adjusts */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card {
        min-height: auto;
    }

    /* Video adjusts */
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .video-thumbnail-container {
        aspect-ratio: 9 / 16;
    }

    .video-info h3 {
        font-size: 13px;
    }

    .video-info p {
        font-size: 10px;
    }
}

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

    .video-thumbnail-container {
        aspect-ratio: 16 / 9;
        /* Landscape fallback for single col on tiny screens */
    }

    .stories-showcase {
        grid-template-columns: 1fr;
        max-width: 240px;
        margin: 0 auto;
        width: 100%;
        gap: 20px;
    }

    .story-preview {
        aspect-ratio: 9 / 16;
    }
}

/* ----------------------------------------------------------------
   ENTRANCE SCROLL ANIMATIONS (ACTIVE STATE FADE-INS)
---------------------------------------------------------------- */
.section-title,
.about-desc,
.contact-section,
.skills-list,
.skills-illustration-container,
.design-card,
.story-preview,
.slider-wrapper,
.photo-side-gallery,
.video-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Triggered when slide is active (scrolled into center of view) */
.slide.active .section-title,
.slide.active .about-desc,
.slide.active .contact-section,
.slide.active .skills-list,
.slide.active .skills-illustration-container,
.slide.active .design-card,
.slide.active .story-preview,
.slide.active .slider-wrapper,
.slide.active .photo-side-gallery,
.slide.active .video-card {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay triggers for columns/cards */
.slide.active .design-card:nth-child(1) {
    transition-delay: 0.1s;
}

.slide.active .design-card:nth-child(2) {
    transition-delay: 0.25s;
}

.slide.active .design-card:nth-child(3) {
    transition-delay: 0.4s;
}

.slide.active .story-preview:nth-child(1) {
    transition-delay: 0.1s;
}

.slide.active .story-preview:nth-child(2) {
    transition-delay: 0.2s;
}

.slide.active .story-preview:nth-child(3) {
    transition-delay: 0.3s;
}

.slide.active .video-card:nth-child(1) {
    transition-delay: 0.1s;
}

.slide.active .video-card:nth-child(2) {
    transition-delay: 0.2s;
}

.slide.active .video-card:nth-child(3) {
    transition-delay: 0.3s;
}

.slide.active .video-card:nth-child(4) {
    transition-delay: 0.4s;
}

.slide.active .slider-wrapper {
    transition-delay: 0.15s;
}

.slide.active .photo-side-gallery {
    transition-delay: 0.3s;
}