/* ==========================================================================
   HOODIEVISM DESIGN SYSTEM // KANBE ATELIER SPECIFICATION
   High-Performance Skeuomorphic Streetwear Theme
   ========================================================================== */

@font-face {
    font-family: 'Xeric Nocturne';
    src: url('xeric-nocturne-regular.woff2') format('woff2'),
         url('xeric-nocturne-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Talon Nocturne';
    src: url('talon-nocturne-regular.woff2') format('woff2'),
         url('talon-nocturne-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Acheron Fang Display';
    src: url('acheron-fang-display-regular.woff2') format('woff2'),
         url('acheron-fang-display-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quasar Velvet Grotesque';
    src: url('quasar-velvet-grotesque-regular.woff2') format('woff2'),
         url('quasar-velvet-grotesque-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Riven Didone';
    src: url('riven-didone-regular.woff2') format('woff2'),
         url('riven-didone-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilded Nocturne';
    src: url('gilded-nocturne-regular.woff2') format('woff2'),
         url('gilded-nocturne-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* FontAwesome Webfonts with font-display: swap to prevent invisible text */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2') format('woff2');
}

:root {
    /* Core Color Tokens */
    --padded-felt: #9E9E9C;
    --padded-bone: #E6DFD3;
    --canvas-cream: #F5EFEB;
    --bleached-bone: #F9F6EE;
    --padded-olive: #788265;
    --hw-olive: #788265;
    --padded-clay: #D28368;
    --hw-clay: #D28368;
    --padded-charcoal: #3F4345;
    --hw-black: #1E1E1D;
    --padded-shadow: #6A6A68;
    --padded-highlight: #C4C4C2;
    --safety-orange: #FF5F1F;
    --stitch-thread: rgba(65, 52, 40, 0.45);
    --stitch-thread-light: rgba(255, 255, 255, 0.55);
    
    /* Typography: Bespoke WOFF2 with instantaneous fallback swap */
    --font-brutalist: 'Talon Nocturne', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-care: 'Talon Nocturne', 'Roboto Mono', -apple-system, BlinkMacSystemFont, monospace;
    
    /* Tactile Shadows */
    --shadow-stuffed: 5px 7px 14px rgba(0, 0, 0, 0.25), inset 2px 2px 4px rgba(255, 255, 255, 0.7), inset -3px -4px 6px rgba(0, 0, 0, 0.2);
    --shadow-stuffed-heavy: 8px 14px 24px rgba(0, 0, 0, 0.32), inset 3px 3px 6px rgba(255, 255, 255, 0.65), inset -4px -6px 10px rgba(0, 0, 0, 0.25);
    --shadow-stuffed-sm: 3px 4px 8px rgba(0, 0, 0, 0.2), inset 1px 1px 2px rgba(255, 255, 255, 0.8), inset -2px -2px 4px rgba(0, 0, 0, 0.15);
    --shadow-pressed: inset 3px 4px 8px rgba(0, 0, 0, 0.35), inset -2px -2px 4px rgba(255, 255, 255, 0.5);
    --shadow-canvas-patch: 0 10px 24px -4px rgba(18, 14, 10, 0.28), 0 4px 10px -2px rgba(18, 14, 10, 0.18), inset 0 1.5px 1px 0 rgba(255, 255, 255, 0.9), inset 0 -2px 3px 0 rgba(45, 36, 28, 0.08);

    /* Kinetic Easing */
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-press: cubic-bezier(0.1, 0.9, 0.2, 1);
}

/* Base Reset & Smooth Render */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    scrollbar-width: thin;
    scrollbar-color: var(--padded-clay) var(--hw-black);
    scrollbar-gutter: stable;
    overflow-x: clip;
}

body {
    background-color: var(--padded-felt);
    color: var(--padded-charcoal);
    font-family: var(--font-brutalist);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: clip;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Heather Felt Texture Overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/texture-fur.jpg');
    background-size: 280px 280px;
    opacity: 0.22;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: -1;
    transform: translateZ(0);
}

/* ==========================================================================
   AUTHENTIC HOODIEVISM CROSS-BROWSER SCROLLBAR
   Tactile Skeuomorphic Drawstring / Stitched Welt Track
   ========================================================================== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background-color: #161513;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent 45%),
        repeating-linear-gradient(180deg, transparent, transparent 12px, rgba(230, 223, 211, 0.04) 12px, rgba(230, 223, 211, 0.04) 24px);
    border-left: 1px dashed rgba(230, 223, 211, 0.14);
    box-shadow: inset 3px 0 8px rgba(0, 0, 0, 0.7);
}

::-webkit-scrollbar-thumb {
    background: 
        linear-gradient(180deg, #E27952 0%, #D96B43 45%, #B84A22 100%);
    border-radius: 9999px;
    border: 2px solid #161513;
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.45),
        inset 0 -1px 2px rgba(0, 0, 0, 0.45),
        0 2px 6px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: 
        linear-gradient(180deg, #F08E69 0%, #E87448 45%, #CF5628 100%);
    box-shadow: 
        0 0 12px rgba(217, 107, 67, 0.7),
        inset 0 1px 2px rgba(255, 255, 255, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.6);
}

::-webkit-scrollbar-thumb:active {
    background: 
        linear-gradient(180deg, #C2562E 0%, #B84A22 50%, #9E3814 100%);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.7),
        0 1px 3px rgba(0, 0, 0, 0.4);
}

::-webkit-scrollbar-corner {
    background: #161513;
}

/* Hoodievism Tactile Top Seam Progress Lockstitch */
.hoodievism-scroll-seam {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(22, 21, 19, 0.9);
    z-index: 10005;
    pointer-events: none;
    border-bottom: 1px solid rgba(230, 223, 211, 0.08);
    overflow: hidden;
}

.scroll-seam-thread {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #5C6B55 0%, #D4AF37 35%, #D96B43 70%, #FF5F1F 100%);
    box-shadow: 0 0 10px rgba(255, 95, 31, 0.75), 0 0 3px rgba(212, 175, 55, 0.85);
    position: relative;
    border-radius: 0 2px 2px 0;
}

.scroll-seam-aglet {
    position: absolute;
    top: -3px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: #FF5F1F;
    border: 2px solid #161513;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 95, 31, 0.9), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

@supports (animation-timeline: scroll()) {
    .scroll-seam-thread {
        width: 100%;
        transform-origin: left;
        animation: hoodievismScrollSeam linear both;
        animation-timeline: scroll(root);
    }
    
    @keyframes hoodievismScrollSeam {
        from { transform: scaleX(0); }
        to { transform: scaleX(1); }
    }
}

::selection {
    background: var(--safety-orange);
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   TEXTURE & SKEUOMORPHIC UTILITIES
   ========================================================================== */
.texture-cloth {
    position: relative;
}
.texture-cloth::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: url('images/texture-cloth.jpg');
    background-size: 150px 150px;
    opacity: 0.45;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.texture-shoelace {
    position: relative;
}
.texture-shoelace::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: url('images/texture-shoelace.jpg');
    background-size: 80px 80px;
    opacity: 0.7;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.texture-fur {
    position: relative;
}
.texture-fur::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: url('images/texture-fur.jpg');
    background-size: 220px 220px;
    opacity: 0.35;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

/* Stitched Borders - Clean Single Industrial Lockstitch */
.border-stitched {
    position: relative;
    border: none;
    outline: none;
}
.border-stitched::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px dashed var(--stitch-thread);
    border-radius: inherit;
    pointer-events: none;
    z-index: 10;
}

.border-stitched-sm {
    position: relative;
    border: none;
    outline: none;
}
.border-stitched-sm::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1.5px dashed var(--stitch-thread);
    border-radius: inherit;
    pointer-events: none;
    z-index: 10;
}

.border-stitched-light {
    position: relative;
    border: none;
    outline: none;
}
.border-stitched-light::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px dashed var(--stitch-thread-light);
    border-radius: inherit;
    pointer-events: none;
    z-index: 10;
}

/* Explicit concentric corner radii to guarantee stitch lines curve smoothly without 90-degree squared corners */
.figma-patch-frame::after { border-radius: 39px !important; }
.contact-container-box::after { border-radius: 43px !important; }
.about-simplified-card::after { border-radius: 27px !important; }
.credential-patch-card::after { border-radius: 23px !important; }
.skill-zipper-card::after { border-radius: 19px !important; }
.project-card::after { border-radius: 25px !important; }
.contact-tile::after { border-radius: 21px !important; }
.footer-care-tag::after { border-radius: 17px !important; }

.panel-padded {
    background-color: var(--padded-felt);
    border-radius: 28px;
    box-shadow: 
        inset 4px 6px 12px rgba(0, 0, 0, 0.3),
        inset -4px -6px 12px rgba(255, 255, 255, 0.45),
        4px 6px 14px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.text-stuffed {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), -1px -1px 2px rgba(255, 255, 255, 0.7);
}

.text-canvas-deboss {
    color: var(--hw-black);
    text-shadow: 0 -0.5px 0.5px rgba(0, 0, 0, 0.4), 0 1px 1px rgba(255, 255, 255, 0.9);
}

.font-care {
    font-family: var(--font-care);
}

.font-brutalist {
    font-family: var(--font-brutalist);
}

.icon-deboss {
    filter: drop-shadow(0px -1px 0.5px rgba(0, 0, 0, 0.5)) drop-shadow(0px 1px 1px rgba(255, 255, 255, 0.85));
}

.deep-press {
    transition: transform 85ms var(--ease-press), box-shadow 85ms var(--ease-press), background-color 85ms ease;
    will-change: transform, box-shadow;
    cursor: pointer;
}
.deep-press:active {
    transform: scale(0.97) translateY(1.5px);
    box-shadow: 0 0 0 transparent, inset 0 5px 10px -1px rgba(15, 12, 10, 0.55), inset 0 -1px 2px 0 rgba(255, 255, 255, 0.7);
}

/* Pendulum Swing Animation */
@keyframes pendulumSwing {
    0%, 100% { transform: rotate(4deg); }
    50% { transform: rotate(-4deg); }
}

.animate-pendulum {
    animation: pendulumSwing 4.5s ease-in-out infinite;
    transform-origin: top center;
}

/* ==========================================================================
   INTERACTIVE CANVAS BACKGROUND
   ========================================================================== */
.thread-canvas-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    transform: translateZ(0);
}

#threadCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   1. HOODIE COLLAR & HEADER SECTION (Split Layout)
   ========================================================================== */
.hoodie-header-wrapper {
    width: 100%;
    background-color: var(--padded-charcoal);
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), inset 0 -2px 4px rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 20;
    padding: 2.5rem 1rem 3.5rem;
    overflow-x: clip;
    overflow-y: visible;
}

.hoodie-header-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Left Column: Animated Skill Icon Horizontal Stream */
.header-skills-stream-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 240px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.skills-stream-tag {
    font-family: var(--font-care);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--padded-bone);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.skills-stream-track {
    display: flex;
    flex-direction: row;
    gap: 0.85rem;
    align-items: center;
    width: max-content;
    overflow: hidden;
    user-select: none;
}

.skills-stream-group {
    display: flex;
    flex-direction: row;
    gap: 0.85rem;
    align-items: center;
    flex-shrink: 0;
    will-change: transform;
    animation: scrollMarquee 36s linear infinite;
}

.skills-stream-track:hover .skills-stream-group {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 0.85rem));
    }
}

.stream-skill-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--padded-bone);
    box-shadow: var(--shadow-stuffed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--hw-black);
    position: relative;
    flex-shrink: 0;
    transition: transform 0.2s var(--ease-spring);
}
.stream-skill-badge:hover {
    transform: scale(1.18);
}

/* Center Column: Stitched Recessed White/Bone Pill */
.hoodie-center-pill-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.hoodie-center-pill {
    width: 100%;
    min-height: 180px;
    background: var(--padded-felt);
    border-radius: 40px;
    padding: 2.2rem 3rem 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    box-shadow: 
        inset 6px 8px 16px rgba(0, 0, 0, 0.4),
        inset -5px -6px 12px rgba(255, 255, 255, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.25);
    border: none;
}

.pill-main-title {
    font-family: var(--font-brutalist);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--padded-bone);
    line-height: 1.05;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.45), -1px -1px 2px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 10;
}

.pill-typewriter-subtext {
    margin-top: 0.6rem;
    font-family: var(--font-care);
    font-size: clamp(0.75rem, 1.8vw, 0.95rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--hw-black);
    background: rgba(230, 223, 211, 0.7);
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-pressed);
    border: 1px solid rgba(63, 67, 69, 0.2);
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.1rem;
    contain: layout;
}

.header-cta-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.25rem;
    position: relative;
    z-index: 30;
}

/* Interactive Realistic Hoodie Strings Canvas */
.hoodie-strings-canvas {
    position: absolute;
    top: 0;
    left: -250px;
    width: calc(100% + 500px);
    height: 580px;
    z-index: 25;
    pointer-events: auto;
    cursor: grab;
    touch-action: none;
}

.hoodie-strings-canvas.is-grabbing {
    cursor: grabbing;
}

/* Hanging Drawstrings with Eyelet Rings */
.drawstring-anchor {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20; /* Eyelet ring and dark hole sit under the cord canvas */
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none; /* Mouse & touch events handled by hoodie-strings-canvas */
}

.drawstring-left {
    left: 24px;
}

.drawstring-right {
    right: 24px;
}

.eyelet-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--padded-bone);
    box-shadow: var(--shadow-stuffed);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.eyelet-hole {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--padded-charcoal);
    box-shadow: inset 2px 3px 5px rgba(0, 0, 0, 0.7), inset -1px -1px 2px rgba(255, 255, 255, 0.4);
}

/* Right Column: Round Profile Picture & Atelier Badge */
.header-profile-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
}

.header-avatar-ring {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--padded-bone);
    box-shadow: var(--shadow-stuffed-heavy);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 3.5px solid var(--padded-bone);
}

.header-avatar-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-image: url('images/texture-cloth.jpg');
    background-size: 140px 140px;
    opacity: 0.35;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.header-avatar-ring picture {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.header-avatar-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    position: relative;
    z-index: 2;
    display: block;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.22));
}

/* ==========================================================================
   2. STICKY TOP NAVIGATION BAR (Positioned after the Header)
   ========================================================================== */
.navbar-sticky-section {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
}

.navbar-sticky-section.is-stuck {
    background: rgba(158, 158, 156, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(255, 255, 255, 0.4);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--padded-bone);
    border-radius: 9999px;
    padding: 0.5rem 1.25rem 0.5rem 1.5rem;
    box-shadow: var(--shadow-stuffed);
    position: relative;
    max-width: 100%;
}

.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.nav-logo-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--hw-black);
    font-weight: 900;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-logo-badge {
    background: var(--padded-clay);
    color: var(--padded-bone);
    font-family: var(--font-care);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.18rem 0.45rem;
    border-radius: 6px;
    box-shadow: var(--shadow-stuffed-sm);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: var(--padded-charcoal);
    font-family: var(--font-care);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.65rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--hw-black);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: var(--shadow-pressed);
}

.nav-action-btn {
    background: var(--padded-charcoal);
    color: var(--padded-bone) !important;
    box-shadow: var(--shadow-stuffed-sm);
    white-space: nowrap;
    flex-shrink: 0;
}
.nav-action-btn:hover {
    background: var(--hw-black) !important;
    color: #ffffff !important;
}

/* Active State for Get in Touch nav button when user scrolls into #contact section */
.nav-link.nav-action-btn.active {
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--hw-black) !important;
    box-shadow: var(--shadow-pressed) !important;
    font-weight: 800 !important;
}
.nav-link.nav-action-btn.active:hover {
    background: #ffffff !important;
    color: var(--hw-black) !important;
    box-shadow: var(--shadow-pressed) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--padded-felt);
    border-radius: 12px;
    box-shadow: var(--shadow-pressed);
    cursor: pointer;
    border: none;
    gap: 5px;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: var(--padded-charcoal);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Buttons */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-brutalist);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    border: none;
    outline: none;
    position: relative;
}

.btn-pill-charcoal {
    background: var(--padded-charcoal);
    color: var(--padded-bone);
    box-shadow: var(--shadow-stuffed);
}
.btn-pill-charcoal:hover { background: var(--hw-black); color: #ffffff; }

.btn-pill-olive {
    background: var(--padded-olive);
    color: var(--padded-bone);
    box-shadow: var(--shadow-stuffed);
}
.btn-pill-olive:hover { background: #677154; color: #ffffff; }

.btn-pill-clay {
    background: var(--padded-clay);
    color: #ffffff;
    box-shadow: var(--shadow-stuffed);
}
.btn-pill-clay:hover { background: #c3745a; }

/* ==========================================================================
   3. SIMPLIFIED ABOUT SECTION
   ========================================================================== */
/* ==========================================================================
   PERFORMANCE & SCROLL OPTIMIZATIONS
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enable content-visibility for off-screen sections to accelerate initial load and eliminate scroll jank */
.about,
.credentials,
.skills,
.projects,
.browser-extensions-section,
.figma-projects,
.fonts-section,
.contact {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

/* Hardware compositing for interactive cards and media wraps */
.project-card,
.extension-card,
.desktop-project-card,
.mobile-project-card,
.skill-zipper-card,
.stat-patch-compact {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.project-img,
.extension-img {
    will-change: transform;
}

section {
    padding: 4.5rem 0;
    position: relative;
}

.section-header-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
    gap: 0.6rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--padded-charcoal);
    color: var(--padded-bone);
    font-family: var(--font-care);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-stuffed-sm);
}

.section-title {
    font-size: clamp(1.8rem, 3.8vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hw-black);
    position: relative;
}

.section-subtext {
    font-family: var(--font-care);
    font-size: 0.85rem;
    color: var(--padded-charcoal);
    max-width: 620px;
    opacity: 0.85;
}

.about-simplified-card {
    background: var(--padded-bone);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: var(--shadow-stuffed);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-lead-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--padded-charcoal);
}

.about-quote-patch {
    margin-top: 0.85rem;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 0.75rem 1.15rem;
    position: relative;
    box-shadow: 0 4px 14px rgba(20, 18, 16, 0.05);
    border-left: 3.5px solid var(--safety-orange) !important;
    border: 1px solid rgba(60, 50, 40, 0.12);
}

.about-quote-patch.border-stitched-sm::after {
    inset: 3px;
    border: 1.5px dashed rgba(65, 52, 40, 0.22);
    border-radius: 9px;
}

.about-quote-patch .quote-icon {
    color: var(--safety-orange);
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
    opacity: 0.95;
    display: block;
    line-height: 1;
}

.about-quote-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.35rem;
}

.about-quote-tag {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--safety-orange);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.about-quote-text {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 0.85rem;
    line-height: 1.48;
    font-style: italic;
    font-weight: 500;
    color: #1a1918;
    letter-spacing: -0.01em;
}

.about-quote-text strong {
    color: var(--safety-orange);
    font-style: italic;
    font-weight: 800;
}

.about-quote-author {
    margin-top: 0.35rem;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #4A443D;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.about-quote-author .author-name {
    color: #121110;
    font-weight: 800;
}

.about-stats-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-patch-compact {
    background: var(--padded-felt);
    border-radius: 20px;
    padding: 1.25rem 1rem;
    box-shadow: var(--shadow-stuffed-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--hw-black);
    font-family: var(--font-brutalist);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-care);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--padded-charcoal);
    opacity: 0.85;
}

/* ==========================================================================
   4. CREDENTIALS SECTION
   ========================================================================== */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.credential-patch-card {
    background: var(--padded-bone);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--shadow-stuffed);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    transition: transform 0.25s var(--ease-spring);
}
.credential-patch-card:hover {
    transform: translateY(-6px);
}

.credential-top {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.credential-icon-patch {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--padded-felt);
    box-shadow: var(--shadow-pressed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--padded-charcoal);
    flex-shrink: 0;
}

.credential-icon-patch.cert {
    background: var(--padded-olive);
    color: var(--padded-bone);
    box-shadow: var(--shadow-stuffed-sm);
}

.credential-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hw-black);
    margin-bottom: 0.35rem;
}

.credential-info p {
    font-size: 0.88rem;
    color: var(--padded-charcoal);
    line-height: 1.5;
}

.credential-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-family: var(--font-care);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--padded-charcoal);
}

.credential-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(158, 158, 156, 0.35);
    padding: 0.25rem 0.6rem;
    border-radius: 8px;
}

.credential-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 2px dashed rgba(63, 67, 69, 0.2);
}

/* ==========================================================================
   5. SKILLS & ZIPPER GAUGES
   ========================================================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.skill-zipper-card {
    background: var(--padded-bone);
    border-radius: 24px;
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-stuffed);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skill-icon-bubble {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--padded-felt);
    box-shadow: var(--shadow-pressed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--padded-charcoal);
    font-size: 1.1rem;
}

.skill-name {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hw-black);
}

.skill-percent-tag {
    font-family: var(--font-care);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--safety-orange);
}

.zipper-track-wrap {
    width: 100%;
    height: 18px;
    background: var(--padded-felt);
    border-radius: 9999px;
    box-shadow: var(--shadow-pressed);
    position: relative;
    overflow: visible;
    padding: 2px;
}

.zipper-teeth-pattern {
    position: absolute;
    inset: 3px 6px;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.35) 0px,
        rgba(0, 0, 0, 0.35) 2px,
        transparent 2px,
        transparent 6px
    );
    border-radius: 9999px;
    pointer-events: none;
    z-index: 1;
}

.zipper-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--padded-olive), var(--padded-clay));
    border-radius: 9999px;
    position: relative;
    z-index: 2;
    transition: width 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.zipper-slider-head {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 20px;
    background: linear-gradient(135deg, #e0e0e0, #8a8a8a);
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

/* ==========================================================================
   6. PROJECTS SECTION
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.2rem;
}

.project-card {
    background: var(--padded-bone);
    border-radius: 30px;
    box-shadow: var(--shadow-stuffed);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-stuffed-heavy);
}

.project-media-wrap {
    width: 100%;
    height: 210px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px dashed rgba(63, 67, 69, 0.25);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 29, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s var(--ease-spring);
}
.project-card:hover .project-overlay {
    opacity: 1;
    transform: scale(1);
}

.project-action-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--padded-bone);
    color: var(--hw-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: var(--shadow-stuffed);
    transition: transform 0.2s var(--ease-spring), background 0.2s ease;
}
.project-action-btn:hover {
    transform: scale(1.15);
    background: var(--safety-orange);
    color: #ffffff;
}

.project-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    gap: 1.2rem;
}

.project-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--hw-black);
    margin-bottom: 0.35rem;
}

.project-info p {
    font-size: 0.88rem;
    color: var(--padded-charcoal);
    line-height: 1.55;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.project-tech-tag {
    font-family: var(--font-care);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--padded-felt);
    color: var(--hw-black);
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    box-shadow: var(--shadow-stuffed-sm);
}

.mobile-apps-section {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
}

.mobile-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.mobile-project-card {
    background: var(--padded-bone);
    border-radius: 32px;
    box-shadow: var(--shadow-stuffed);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.mobile-project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-stuffed-heavy);
}
.mobile-project-card::after {
    border-radius: 27px !important;
}

.mobile-media-wrap {
    width: 100%;
    height: 520px;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    border-bottom: 2px dashed rgba(63, 67, 69, 0.25);
    background-color: var(--padded-charcoal);
}

/* ==========================================================================
   DESKTOP & NATIVE SYSTEMS ROW
   ========================================================================== */
.desktop-apps-section {
    grid-column: 1 / -1;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.desktop-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.desktop-project-card {
    background: var(--padded-bone);
    border-radius: 32px;
    box-shadow: var(--shadow-stuffed);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.desktop-project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-stuffed-heavy);
}

.desktop-project-card::after {
    border-radius: 27px !important;
}

.desktop-media-wrap {
    width: 100%;
    height: 340px;
    position: relative;
    overflow: hidden;
    background: #0d1117;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px dashed rgba(63, 67, 69, 0.25);
}

.desktop-media-wrap .project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s var(--ease-spring);
}

.desktop-project-card:hover .desktop-media-wrap .project-img {
    transform: scale(1.04);
}

/* ==========================================================================
   BROWSER EXTENSIONS SECTION
   ========================================================================= */
.browser-extensions-section {
    padding: 6rem 0;
    position: relative;
}

.extensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}

.extension-card {
    background: var(--padded-bone);
    border-radius: 32px;
    box-shadow: var(--shadow-stuffed);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}

.extension-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-stuffed-heavy);
}

.extension-card::after {
    border-radius: 27px !important;
}

.extension-media-wrap {
    width: 100%;
    height: 400px;
    background: radial-gradient(circle at 50% 40%, #1a2232 0%, #090c12 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 1.75rem 1.25rem;
    border-bottom: 2px dashed rgba(63, 67, 69, 0.25);
}

.extension-img {
    max-height: 92%;
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.09);
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
}

.extension-card:hover .extension-img {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(243, 106, 62, 0.35);
}

.extension-badge-tag {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 3;
}

/* ==========================================================================
   7. FIGMA UI/UX SECTION
   ========================================================================== */
.figma-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
}

.figma-patch-frame {
    background: var(--padded-bone);
    border-radius: 44px;
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-stuffed);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.figma-frame-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.figma-frame-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hw-black);
}

.figma-embed-wrap {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-pressed);
    border: none;
    background: #000000;
}

.figma-embed-wrap iframe {
    width: 100%;
    height: 420px;
    display: block;
    border: none;
}

/* ==========================================================================
   8. CONTACT SECTION
   ========================================================================== */
.contact-container-box {
    background: var(--padded-bone);
    border-radius: 48px;
    padding: 3.25rem 2.75rem;
    box-shadow: var(--shadow-stuffed-heavy);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-tile {
    background: var(--padded-felt);
    border-radius: 24px;
    padding: 1.15rem 1.45rem;
    box-shadow: var(--shadow-stuffed);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.contact-tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--padded-bone);
    box-shadow: var(--shadow-stuffed-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--padded-charcoal);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-tile-text h4 {
    font-family: var(--font-care);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--padded-charcoal);
    margin-bottom: 0.15rem;
}

.contact-tile-text p {
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--hw-black);
    word-break: break-all;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.input-deboss {
    width: 100%;
    background: var(--padded-felt);
    border-radius: 20px;
    padding: 0.95rem 1.2rem;
    border: 2px dashed rgba(63, 67, 69, 0.25);
    box-shadow: var(--shadow-pressed);
    font-family: var(--font-care);
    font-size: 0.85rem;
    color: var(--hw-black);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.input-deboss::placeholder {
    color: rgba(63, 67, 69, 0.6);
    font-family: var(--font-care);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.input-deboss:focus {
    border-color: var(--safety-orange);
    background: rgba(255, 255, 255, 0.35);
}

textarea.input-deboss {
    resize: vertical;
    min-height: 110px;
}

/* ==========================================================================
   9. FOOTER // HOODIE KANGAROO POUCH
   ========================================================================== */
.footer-wrap {
    width: 100%;
    margin-top: 5.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 1rem 0;
    filter: drop-shadow(0 -16px 36px rgba(0, 0, 0, 0.45));
    z-index: 10;
}

.kangaroo-pocket-shell {
    position: relative;
    width: 100%;
    max-width: 1140px;
}

/* ==========================================================================
   KANGAROO POCKET CS TOOLS (EMERGING FROM SLANTED HAND-SLITS)
   ========================================================================== */
.pocket-tools-cluster {
    position: absolute;
    z-index: 8;
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    pointer-events: auto;
    transition: transform 0.35s var(--ease-spring);
}

.pocket-tools-left {
    top: -50px;
    left: 1.5%;
    transform: rotate(-33deg);
    transform-origin: bottom right;
}

.pocket-tools-right {
    top: -50px;
    right: 1.5%;
    transform: rotate(33deg);
    transform-origin: bottom left;
    align-items: flex-end;
}

.pocket-tools-row {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.cs-tool-tag {
    background: var(--padded-bone);
    color: var(--hw-black);
    border-radius: 12px;
    padding: 0.35rem 0.65rem;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-family: var(--font-care);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.85);
    border: 1.5px dashed rgba(65, 52, 40, 0.45);
    cursor: pointer;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    user-select: none;
    white-space: nowrap;
    position: relative;
}

.cs-tool-tag i {
    font-size: 0.82rem;
    transition: transform 0.2s var(--ease-spring);
}

.cs-tool-tag:hover {
    transform: translateY(-8px) scale(1.12);
    background: #ffffff;
    color: var(--safety-orange);
    border-color: var(--safety-orange);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.45), 0 0 12px rgba(255, 95, 31, 0.3);
    z-index: 30;
}

.cs-tool-tag:hover i {
    transform: scale(1.18) rotate(6deg);
}

.kangaroo-pocket {
    width: 100%;
    max-width: 1140px;
    background: #2D3032;
    color: var(--padded-bone);
    clip-path: polygon(25% 0%, 75% 0%, 100% 36%, 100% 100%, 0% 100%, 0% 36%);
    -webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 36%, 100% 100%, 0% 100%, 0% 36%);
    position: relative;
    padding: 5.5rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: inset 0 3px 8px rgba(255, 255, 255, 0.12), inset 0 -6px 14px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.pocket-stitch-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.pocket-stitch-svg .stitch-contour {
    stroke: rgba(255, 255, 255, 0.45);
    stroke-width: 2.2;
    stroke-dasharray: 8, 5;
    stroke-linejoin: round;
    stroke-linecap: round;
    fill: none;
}

.pocket-stitch-svg .pocket-welt-band {
    fill: #1E2021;
    opacity: 0.55;
}

.pocket-stitch-svg .pocket-inner-stitch {
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 1.8;
    stroke-dasharray: 7, 5;
    stroke-linecap: round;
    fill: none;
}

.pocket-stitch-svg .bar-tack {
    stroke: var(--safety-orange);
    stroke-width: 3.6;
    stroke-linecap: round;
}

.footer-content {
    position: relative;
    z-index: 5;
    max-width: 700px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.6rem;
}

.footer-care-tag {
    background: var(--padded-bone);
    color: var(--hw-black);
    border-radius: 20px;
    padding: 1.3rem 1.7rem;
    box-shadow: var(--shadow-stuffed);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    max-width: 480px;
    width: 100%;
}

.footer-care-tag h4 {
    font-family: var(--font-brutalist);
    font-weight: 900;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.footer-care-symbols {
    display: flex;
    gap: 1.25rem;
    font-size: 1.15rem;
    color: var(--padded-charcoal);
}

.footer-care-symbols a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
}

.footer-care-symbols a:hover {
    color: var(--stitching-orange);
    transform: scale(1.15) translateY(-2px);
}

.footer-care-instructions {
    font-family: var(--font-care);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--padded-charcoal);
    line-height: 1.6;
}

.footer-social-links {
    display: flex;
    gap: 1.2rem;
}

.footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--padded-bone);
    color: var(--hw-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: var(--shadow-stuffed-sm);
    transition: transform 0.2s var(--ease-spring), background 0.2s ease;
}
.footer-social-btn:hover {
    transform: translateY(-4px);
    background: var(--safety-orange);
    color: #ffffff;
}

/* KB's Hoodievism Movement Custom UI Attribution Patch */
.footer-hoodievism-patch {
    background: var(--padded-bone);
    color: var(--hw-black);
    border-radius: 20px;
    padding: 1.35rem 1.7rem;
    box-shadow: var(--shadow-stuffed);
    border: 2px dashed rgba(65, 52, 40, 0.45);
    max-width: 540px;
    width: 100%;
    margin: 0.5rem auto 0;
    position: relative;
    text-align: center;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
    box-sizing: border-box;
}

.footer-hoodievism-patch:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-stuffed-heavy);
}

.hoodievism-patch-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hoodievism-patch-tag {
    font-family: var(--font-care);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--safety-orange);
    background: rgba(255, 95, 31, 0.1);
    border: 1px solid rgba(255, 95, 31, 0.25);
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hoodievism-patch-title {
    font-family: var(--font-brutalist);
    font-weight: 900;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hw-black);
    margin: 0.1rem 0;
}

.hoodievism-patch-desc {
    font-family: var(--font-care);
    font-size: 0.72rem;
    line-height: 1.55;
    color: var(--padded-charcoal);
    max-width: 480px;
}

.hoodievism-heart-credit {
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(63, 67, 69, 0.25);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hoodievism-heart-text {
    font-family: var(--font-care);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--hw-black);
}

.hoodievism-heart-text .hoodievism-author {
    font-family: var(--font-brutalist);
    font-weight: 900;
    letter-spacing: 0.08em;
    color: var(--safety-orange);
}

/* Interactive Purple Heart & Tactile Popover */
.hoodie-heart-interactive {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    vertical-align: middle;
    margin: 0 0.18rem;
    outline: none;
    user-select: none;
}

.hoodie-heart-emoji {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.25s var(--ease-spring), filter 0.25s ease;
    will-change: transform;
}

.hoodie-heart-interactive:hover .hoodie-heart-emoji,
.hoodie-heart-interactive:focus-visible .hoodie-heart-emoji,
.hoodie-heart-interactive.is-open .hoodie-heart-emoji {
    transform: scale(1.35) rotate(-8deg);
    filter: drop-shadow(0 2px 8px rgba(168, 85, 247, 0.6));
}

.hoodie-heart-popover {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.92);
    width: 260px;
    max-width: min(280px, 85vw);
    background: #1E2022;
    color: var(--padded-bone);
    border: 1.5px dashed rgba(230, 223, 211, 0.3);
    border-radius: 14px;
    padding: 0.75rem 0.9rem;
    box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.65), inset 0 1px 2px rgba(255, 255, 255, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.25s var(--ease-spring);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
}

/* Downward pointer triangle */
.hoodie-heart-popover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px 7px 0 7px;
    border-style: solid;
    border-color: #1E2022 transparent transparent transparent;
}

/* Show popover on hover, focus, or when active */
.hoodie-heart-interactive:hover .hoodie-heart-popover,
.hoodie-heart-interactive:focus-visible .hoodie-heart-popover,
.hoodie-heart-interactive.is-open .hoodie-heart-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.heart-popover-tag {
    font-family: var(--font-care);
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #C084FC;
    background: rgba(192, 132, 252, 0.14);
    border: 1px solid rgba(192, 132, 252, 0.28);
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.heart-popover-title {
    font-family: var(--font-brutalist);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #ffffff;
    text-transform: uppercase;
}

.heart-popover-subtext {
    font-family: var(--font-care);
    font-size: 0.65rem;
    line-height: 1.45;
    color: var(--padded-bone);
    opacity: 0.88;
}

.footer-copyright {
    font-family: var(--font-care);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.75;
    text-transform: uppercase;
}

.footer-monogram-ground {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.header-monogram-picture,
.footer-monogram-picture {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-monogram-img {
    width: 44px;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-monogram-img:hover {
    transform: scale(1.08) translateY(-2px);
}

.footer-monogram-img {
    width: 48px;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-monogram-img:hover {
    transform: scale(1.08) translateY(-2px);
}

/* ==========================================================================
   10. TOAST & KINETIC TRAIL
   ========================================================================== */
.tearaway-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: var(--padded-bone);
    color: var(--hw-black);
    border-radius: 16px;
    padding: 1.2rem 1.6rem;
    box-shadow: var(--shadow-stuffed-heavy);
    font-family: var(--font-care);
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px dashed rgba(63, 67, 69, 0.4);
    transform: translateX(150%);
    transition: transform 0.4s var(--ease-spring);
}

.tearaway-toast.show { transform: translateX(0); }
.tearaway-toast.success .toast-indicator { background: var(--padded-olive); }
.tearaway-toast.error .toast-indicator { background: var(--safety-orange); }

.toast-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: var(--shadow-stuffed-sm);
}

.thread-trail-node {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    will-change: transform, opacity;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.2s ease;
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS (DESKTOP, TABLET & MOBILE)
   ========================================================================== */

/* Tablet Landscape & Medium Screens (<= 1080px) */
@media (max-width: 1080px) {
    /* Navbar Tablet Activation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 66px;
        left: 1.5rem;
        right: 1.5rem;
        max-width: 480px;
        margin: 0 auto;
        background: var(--padded-bone);
        border-radius: 28px;
        padding: 1.5rem 1.25rem;
        flex-direction: column;
        gap: 0.6rem;
        box-shadow: var(--shadow-stuffed-heavy);
        border: 2px solid rgba(255, 255, 255, 0.7);
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s var(--ease-spring), opacity 0.3s ease;
        z-index: 1001;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        font-size: 0.88rem;
        padding: 0.65rem 1rem;
    }

    .nav-action-btn {
        width: 100%;
        margin-top: 0.35rem;
        padding: 0.75rem 1.2rem;
    }

    /* Hero Header Grid for Tablet */
    .hoodie-header-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .header-profile-col {
        order: -1;
        margin-bottom: 0.25rem;
    }

    .header-skills-stream-col {
        order: 2;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .pill-main-title {
        font-size: clamp(1.85rem, 4.2vw, 2.8rem);
    }

    .drawstring-left { left: 8px; }
    .drawstring-right { right: 8px; }

    /* About Section */
    .about-simplified-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.25rem 2rem;
    }

    .about-stats-compact {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }

    /* Credentials & Skills */
    .credentials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* Projects & Mobile Apps */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .mobile-apps-grid,
    .desktop-apps-grid,
    .extensions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .mobile-media-wrap {
        height: 460px;
    }

    .extension-media-wrap {
        height: 360px;
    }

    /* Figma Section */
    .figma-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .figma-embed-wrap iframe {
        height: 380px;
    }

    /* Contact */
    .contact-container-box {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        padding: 2.5rem 2rem;
    }

    /* Kangaroo Pocket & CS Tools */
    .pocket-tools-left {
        top: -26px;
        left: 1%;
        transform: rotate(-18deg) scale(0.82);
    }

    .pocket-tools-right {
        top: -26px;
        right: 1%;
        transform: rotate(18deg) scale(0.82);
    }

    .kangaroo-pocket {
        padding: 5rem 1.5rem 2.5rem;
        clip-path: polygon(18% 0%, 82% 0%, 100% 32%, 100% 100%, 0% 100%, 0% 32%);
        -webkit-clip-path: polygon(18% 0%, 82% 0%, 100% 32%, 100% 100%, 0% 100%, 0% 32%);
    }
}

/* Tablet Portrait & Small Tablets (<= 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0.45rem 1rem;
    }

    .nav-logo-tag {
        font-size: 0.92rem;
    }

    .nav-menu {
        left: 1rem;
        right: 1rem;
        max-width: 100%;
    }

    .hoodie-center-pill {
        padding: 2rem 1.25rem;
        border-radius: 28px;
    }

    .pill-typewriter-subtext {
        min-height: 52px;
        text-align: center;
        justify-content: center;
        contain: layout;
    }

    .header-cta-pills {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 1.25rem auto 0;
    }

    .header-cta-pills .btn-pill {
        width: 100%;
    }

    .drawstring-anchor,
    .hoodie-strings-canvas {
        display: none !important; /* Hide drawstrings and canvas on mobile to eliminate horizontal scrollbar and touch clashes */
    }

    .about-stats-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .mobile-apps-grid,
    .desktop-apps-grid,
    .extensions-grid {
        grid-template-columns: 1fr;
    }

    .extension-media-wrap {
        height: 320px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

    .pocket-tools-cluster {
        position: static;
        transform: none !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.45rem;
        gap: 0.45rem;
        width: 100%;
    }

    .pocket-tools-left, .pocket-tools-right {
        position: static;
        transform: none !important;
        align-items: center;
        width: 100%;
    }

    .pocket-tools-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.45rem;
        width: 100%;
    }

    .kangaroo-pocket {
        padding: 3.5rem 1.25rem 2.25rem;
        clip-path: none;
        -webkit-clip-path: none;
        border-radius: 28px;
    }

    .pocket-stitch-svg {
        display: none;
    }
}

/* Mobile Phones (<= 480px) */
@media (max-width: 480px) {
    .nav-logo-badge {
        display: none; /* Keep header brand ultra-clean on smallest screens */
    }

    .section-title {
        font-size: 1.6rem;
    }

    .about-simplified-card {
        padding: 1.75rem 1.25rem;
    }

    .credential-patch-card {
        padding: 1.5rem 1.25rem;
    }

    .credential-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .credential-btn-group {
        grid-template-columns: 1fr;
    }

    .figma-patch-frame {
        padding: 1.5rem 1.2rem;
    }

    .figma-embed-wrap iframe {
        height: 300px;
    }

    .contact-container-box {
        padding: 1.75rem 1.25rem;
    }

    .footer-care-tag {
        padding: 1rem 0.85rem;
    }

    .footer-care-instructions {
        font-size: 0.65rem;
    }

    .footer-social-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .footer-hoodievism-patch {
        padding: 1.1rem 1rem;
    }

    .hoodievism-patch-title {
        font-size: 0.84rem;
    }

    .hoodievism-patch-desc {
        font-size: 0.68rem;
    }

    .hoodievism-heart-text {
        font-size: 0.74rem;
    }

    .pocket-tools-cluster {
        gap: 0.38rem;
        margin-bottom: 0.38rem;
    }

    .pocket-tools-row {
        gap: 0.38rem;
    }

    .cs-tool-tag {
        font-size: 0.64rem;
        padding: 0.28rem 0.52rem;
        border-radius: 10px;
        gap: 0.32rem;
    }

    .cs-tool-tag i {
        font-size: 0.72rem;
    }
}/* =========================================================================
   CPQ PROJECT ESTIMATOR SECTION
   ========================================================================= */

.contact-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.contact-info-row .contact-tile {
    flex: 1 1 200px;
    max-width: 300px;
}

.cpq-builder { max-width: 1200px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.cpq-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.cpq-section-title {
    font-size: 1.2rem;
    color: var(--hw-black);
    margin-bottom: 1rem;
    font-weight: 800;
}

.cpq-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.cpq-option {
    background: var(--padded-bone);
    color: var(--padded-charcoal);
    padding: 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
}

.cpq-option:hover {
    background: rgba(217, 107, 67, 0.1);
    color: var(--hw-clay);
    transform: translateY(-2px);
}

.cpq-option.active {
    background: var(--hw-olive);
    color: var(--padded-bone);
    border-color: var(--hw-black);
    box-shadow: 0 4px 10px rgba(78, 89, 63, 0.4);
}

.cpq-sidebar {
    position: sticky;
    top: 120px;
}

.cpq-cart {
    padding: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.85rem;
    color: var(--padded-charcoal);
}

.cart-item-name {
    font-weight: 600;
}

.cart-item-val {
    color: var(--hw-black);
}

.cart-item.multiplier .cart-item-val {
    color: var(--hw-clay);
    font-weight: 800;
}

.cart-empty-state {
    color: var(--padded-charcoal);
    font-size: 0.9rem;
    font-style: italic;
    text-align: center;
    padding: 2rem 0;
}

@media (max-width: 992px) {
    .cpq-builder { max-width: 1200px; margin: 0 auto;
        grid-template-columns: 1fr;
    }
    
    .cpq-sidebar {
        position: relative;
        top: 0;
    }
}

/* =========================================================================
   NEUMORPHIC STYLES (CPQ SECTION)
   ========================================================================= */
.neumorphic-panel {
    background: var(--padded-bone);
    border-radius: 12px;
    box-shadow:  8px 8px 16px rgba(18, 14, 10, 0.12),
                 -8px -8px 16px rgba(255, 255, 255, 0.7);
    border: none;
    padding: 2rem;
}

.neumorphic-btn {
    background: var(--padded-bone);
    border-radius: 8px;
    box-shadow:  5px 5px 10px rgba(18, 14, 10, 0.12),
                 -5px -5px 10px rgba(255, 255, 255, 0.7);
    border: none;
    padding: 1rem;
    color: var(--padded-charcoal);
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: var(--font-brutalist);
    outline: none;
}

.neumorphic-btn:hover {
    box-shadow:  3px 3px 6px rgba(18, 14, 10, 0.12),
                 -3px -3px 6px rgba(255, 255, 255, 0.7);
    transform: translateY(1px);
    color: var(--padded-olive);
}

.neumorphic-btn.active, .neumorphic-btn:active {
    box-shadow: inset 4px 4px 8px rgba(18, 14, 10, 0.15),
                inset -4px -4px 8px rgba(255, 255, 255, 0.8);
    color: var(--padded-olive);
    background: var(--padded-bone) !important;
}

.neumorphic-input {
    background: var(--padded-bone);
    border-radius: 8px;
    box-shadow: inset 4px 4px 8px rgba(18, 14, 10, 0.15),
                inset -4px -4px 8px rgba(255, 255, 255, 0.8);
    border: none;
    padding: 1rem;
    color: var(--hw-black);
    font-family: var(--font-brutalist);
    outline: none;
    resize: vertical;
}

.neumorphic-input:focus {
    box-shadow: inset 5px 5px 10px rgba(18, 14, 10, 0.18),
                inset -5px -5px 10px rgba(255, 255, 255, 0.9);
}

.neumorphic-select {
    background: var(--padded-bone);
    border-radius: 8px;
    box-shadow: inset 4px 4px 8px rgba(18, 14, 10, 0.15),
                inset -4px -4px 8px rgba(255, 255, 255, 0.8);
    border: none;
    padding: 1rem;
    color: var(--hw-black);
    font-family: var(--font-brutalist);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 50%;
}

.cpq-option-select {
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-form-selector {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   CONTACT SECTION LAYOUT OVERHAUL (FULL DESKTOP WIDTH & ZERO VOID SPACE)
   ========================================================================== */
.contact-container-box {
    background: var(--padded-bone);
    border-radius: 48px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-stuffed-heavy);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    contain: layout style;
    transform: translateZ(0);
}

/* Header Bar & Stitched Mode Switcher */
.contact-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 2px dashed rgba(63, 67, 69, 0.25);
    width: 100%;
}

.contact-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(78, 89, 63, 0.08);
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    border: 1px dashed rgba(78, 89, 63, 0.3);
}

.status-pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--hw-olive);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(78, 89, 63, 0.7);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(78, 89, 63, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(78, 89, 63, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(78, 89, 63, 0); }
}

.status-text {
    font-family: var(--font-care);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--hw-olive);
    text-transform: uppercase;
}

.inquiry-mode-pills {
    display: inline-flex;
    background: var(--padded-felt);
    padding: 0.4rem;
    border-radius: 36px;
    box-shadow: var(--shadow-pressed);
    gap: 0.5rem;
}

.mode-pill-btn {
    border: none;
    background: transparent;
    padding: 0.7rem 1.4rem;
    border-radius: 28px;
    font-family: var(--font-care);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--padded-charcoal);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.mode-pill-btn:hover {
    color: var(--hw-black);
}

.mode-pill-btn.active {
    background: var(--padded-bone);
    color: var(--hw-black);
    box-shadow: var(--shadow-stuffed-sm);
}

/* ==========================================================================
   1. GENERAL INQUIRY VIEW (BALANCED FULL-WIDTH 2-COLUMN)
   ========================================================================== */
.general-inquiry-container {
    width: 100%;
}

.general-inquiry-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
    align-items: stretch;
    width: 100%;
}

.contact-channels-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.contact-tiles-stack {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-top: 1rem;
}

.contact-tiles-stack .contact-tile {
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 20px;
    box-shadow: var(--shadow-stuffed-sm);
}

.contact-tiles-stack .contact-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-stuffed);
}

.general-form-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.field-label {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-care);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--padded-charcoal);
    margin-bottom: 0.45rem;
}

/* ==========================================================================
   2. CPQ BUILDER VIEW (FULL-WIDTH 2-COLUMN GRID)
   ========================================================================== */
.cpq-builder {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 2.5rem;
    align-items: start;
    box-sizing: border-box;
}

.cpq-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.cpq-config-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    width: 100%;
}

.cpq-sidebar {
    position: sticky;
    top: 100px;
    width: 100%;
}

.cpq-cart {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .contact-container-box {
        padding: 2rem 1.5rem;
    }
    .general-inquiry-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cpq-builder {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .cpq-config-grid-2col {
        grid-template-columns: 1fr;
    }
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .contact-header-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .inquiry-mode-pills {
        justify-content: center;
        width: 100%;
    }
    .mode-pill-btn {
        flex: 1;
        justify-content: center;
    }
    .cpq-sidebar {
        position: relative;
        top: 0;
    }
}

/* =========================================================================
   HIGH-CONTRAST READABILITY & ZERO EYE-STRAIN SYSTEM (CONTACT & CPQ)
   ========================================================================= */

/* Crisp elevated cards (luminous off-white against bone canvas) */
.neumorphic-panel {
    background: #FAF8F5 !important;
    border-radius: 20px !important;
    border: 1px solid rgba(65, 52, 40, 0.16) !important;
    box-shadow: 0 10px 24px -4px rgba(18, 14, 10, 0.10), 
                inset 0 1px 2px rgba(255, 255, 255, 0.95) !important;
    padding: 2rem !important;
    position: relative;
}

/* High-contrast crisp input fields */
.neumorphic-input {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(63, 67, 69, 0.24) !important;
    box-shadow: inset 1px 2px 4px rgba(0, 0, 0, 0.05) !important;
    padding: 0.9rem 1.15rem !important;
    color: #1A1A1A !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.neumorphic-input:focus {
    border-color: var(--hw-olive) !important;
    box-shadow: 0 0 0 3px rgba(120, 130, 101, 0.2), inset 1px 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.neumorphic-input::placeholder {
    color: #8C8F90 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.88rem !important;
}

.neumorphic-select {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(63, 67, 69, 0.24) !important;
    padding: 0.75rem 2.25rem 0.75rem 1.15rem !important;
    color: #1A1A1A !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%233F4345" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    cursor: pointer !important;
}


/* Punchy, high-contrast action button (DARK TEXT WHEN NOT HOVERED) */
.neumorphic-btn {
    background: #F4EFEA !important;
    color: #1A1A1A !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(18, 14, 10, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(63, 67, 69, 0.35) !important;
    padding: 1.1rem 1.5rem !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
    outline: none !important;
    font-family: var(--font-care) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
}

.neumorphic-btn i {
    color: #1A1A1A !important;
    transition: color 0.25s ease !important;
}

.neumorphic-btn:hover {
    background: var(--hw-olive) !important;
    box-shadow: 0 6px 20px rgba(78, 89, 63, 0.45) !important;
    transform: translateY(-2px) !important;
    color: #FFFFFF !important;
    border-color: var(--hw-olive) !important;
}

.neumorphic-btn:hover i {
    color: #FFFFFF !important;
}

.neumorphic-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(78, 89, 63, 0.35) !important;
}

/* Mode Pill buttons (DARK TEXT WHEN NOT HOVERED) */
.mode-pill-btn {
    border: none;
    background: transparent;
    padding: 0.7rem 1.4rem;
    border-radius: 28px;
    font-family: var(--font-care);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #1A1A1A !important;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.mode-pill-btn:hover {
    color: #000000 !important;
    background: rgba(255, 255, 255, 0.6);
}

.mode-pill-btn.active {
    background: #FFFFFF !important;
    color: #000000 !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Hide raw native multi-selects completely */
.cpq-multi-select {
    display: none !important;
}

/* Custom Multi-Select Trigger Wrap (High Contrast White Card) */
.custom-multiselect-wrap {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    border: 1.5px solid rgba(63, 67, 69, 0.24) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    padding: 0.65rem 1.15rem !important;
    min-height: 52px !important;
    cursor: pointer !important;
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.custom-multiselect-wrap:hover {
    border-color: rgba(63, 67, 69, 0.5) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07) !important;
}

.custom-multiselect-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    flex: 1;
}

.custom-multiselect-placeholder {
    color: #8C8F90;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.custom-multiselect-chevron {
    color: #3F4345;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

/* 100% Solid Opaque Dropdown Popup (Closed by default, click-to-open) */
.custom-multiselect-dropdown {
    display: none;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border: 2px solid #3F4345 !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 6px 14px rgba(0, 0, 0, 0.12) !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    max-height: 280px !important;
    overflow-y: auto !important;
    padding: 0.5rem 0 !important;
    will-change: transform, opacity;
    transform: translateZ(0);
    contain: content;
}

.custom-multiselect-dropdown.open {
    display: block !important;
}

.custom-multiselect-dropdown::-webkit-scrollbar {
    width: 6px;
}
.custom-multiselect-dropdown::-webkit-scrollbar-thumb {
    background-color: var(--padded-charcoal);
    border-radius: 4px;
}

.custom-multiselect-item {
    padding: 11px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600 !important;
    color: #1E1E1D !important;
    transition: background 0.15s ease !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.custom-multiselect-item:hover {
    background: rgba(120, 130, 101, 0.15) !important;
    color: #000000 !important;
}

.custom-multiselect-item input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: var(--hw-olive);
    cursor: pointer;
}

.custom-multiselect-group-title {
    font-weight: 800 !important;
    padding: 9px 16px !important;
    background: #F0EDE6 !important;
    font-size: 0.75rem !important;
    font-family: var(--font-care) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #3F4345 !important;
    border-top: 1px solid rgba(63, 67, 69, 0.12) !important;
}

/* High-Contrast Selected Badge (Dark Charcoal-Olive with Crisp White Text) */
.multiselect-tag-badge {
    background: #2E332B !important;
    color: #FFFFFF !important;
    padding: 5px 11px !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.multiselect-tag-badge span {
    color: #FFFFFF !important;
    font-weight: 600 !important;
}

.multiselect-tag-badge .tag-remove {
    cursor: pointer;
    color: #FFA5A5 !important;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    transition: transform 0.15s ease, color 0.15s ease;
}

.multiselect-tag-badge .tag-remove:hover {
    color: #FF4D4D !important;
    transform: scale(1.3);
}

.custom-multiselect-item.is-selected {
    background: rgba(120, 130, 101, 0.22) !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Fast-Loading Project Screenshots */
.project-media-wrap img.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover .project-media-wrap img.project-img {
    transform: scale(1.05);
}

/* Clear Headings */
.cpq-section-title {
    font-size: 1.05rem !important;
    color: #1E1E1D !important;
    margin-bottom: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    font-family: var(--font-care) !important;
}

/* ==========================================================================
   FLOATING SECTION QUICK-NAVIGATOR (HOODIEVISM DOCK)
   Ultra-fast, hardware-accelerated, responsive section jumping HUD
   ========================================================================== */
.floating-section-nav {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(22, 20, 18, 0.92);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 70%),
        url('images/texture-cloth.jpg');
    background-size: auto, 140px 140px;
    background-repeat: no-repeat, repeat;
    background-blend-mode: overlay;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(230, 223, 211, 0.24);
    border-radius: 22px;
    padding: 6px 7px;
    min-width: 68px;
    box-shadow: 
        0 12px 34px -4px rgba(0, 0, 0, 0.65),
        0 4px 12px -2px rgba(0, 0, 0, 0.4),
        inset 0 1.5px 1.5px rgba(255, 255, 255, 0.22),
        inset 0 -2px 4px rgba(0, 0, 0, 0.7);
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
    transform: translateZ(0);
    contain: layout style;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s var(--ease-spring);
    overflow: hidden;
}

/* Authentic Tactile Cloth Weave Texture Layer */
.floating-section-nav::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: url('images/texture-cloth.jpg');
    background-size: 130px 130px;
    background-repeat: repeat;
    opacity: 0.42;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

/* Artisan Concentric Lockstitch Seam */
.floating-section-nav::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1.5px dashed rgba(230, 223, 211, 0.35);
    border-radius: 19px;
    pointer-events: none;
    z-index: 1;
    transition: border-color 0.25s ease;
}

.floating-section-nav:hover {
    border-color: rgba(255, 190, 66, 0.75);
    box-shadow: 
        0 16px 40px -4px rgba(0, 0, 0, 0.75),
        0 0 20px rgba(255, 190, 66, 0.22),
        inset 0 1.5px 2px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.7);
}

.floating-section-nav:hover::after {
    border-color: rgba(255, 190, 66, 0.6);
}

/* Ensure interactive elements sit securely on top of texture pseudo-elements */
.section-nav-btn,
.section-nav-info {
    position: relative;
    z-index: 2;
}

/* Double Chevron Buttons with Tactile Hover Texture */
.section-nav-btn {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    width: 100%;
    min-height: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--padded-bone);
    border-radius: 10px;
    padding: 0;
    margin: 0;
    transition: 
        color 0.18s ease,
        background-color 0.18s ease,
        transform 0.15s var(--ease-press),
        max-height 0.24s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.2s ease,
        margin 0.2s ease;
    max-height: 26px;
    opacity: 1;
    overflow: hidden;
}

.section-nav-btn .nav-chevron-svg {
    display: block;
    transition: transform 0.18s ease, stroke 0.18s ease;
}

.section-nav-btn:hover {
    color: #FFBE42;
    background-color: rgba(255, 255, 255, 0.10);
    background-image: url('images/dark_knit_texture.png');
    background-repeat: repeat;
}

.section-nav-btn:hover .nav-chevron-svg {
    transform: scale(1.15);
}

.section-nav-prev:hover .nav-chevron-svg {
    transform: translateY(-1.5px) scale(1.15);
}

.section-nav-next:hover .nav-chevron-svg {
    transform: translateY(1.5px) scale(1.15);
}

.section-nav-btn:active {
    transform: scale(0.88);
    color: #FF7A45;
}

.section-nav-btn:focus-visible {
    outline: 2px solid #FFBE42;
    outline-offset: 1px;
}

/* Hidden state for chevrons (top section hides prev, bottom section hides next) */
.section-nav-btn.is-hidden {
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: scale(0.6) !important;
}

/* Section Info / Center Badge with Inset Knit Texture */
.section-nav-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    margin: 2px 0;
    cursor: pointer;
    text-align: center;
    border-radius: 8px;
    background-color: rgba(18, 17, 15, 0.72);
    background-image: url('images/dark_knit_texture.png');
    background-repeat: repeat;
    border: 1px solid rgba(230, 223, 211, 0.14);
    box-shadow: 
        inset 0 1.5px 3px rgba(0, 0, 0, 0.7),
        inset 0 -1px 1px rgba(255, 255, 255, 0.05),
        0 1px 1px rgba(255, 255, 255, 0.08);
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
    width: 100%;
}

.section-nav-info:hover {
    background-color: rgba(32, 29, 26, 0.85);
    border-color: rgba(255, 190, 66, 0.35);
}

.section-nav-info:active {
    transform: scale(0.94);
}

.section-nav-tag {
    font-family: var(--font-care);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1.15;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
    transition: color 0.2s ease, transform 0.2s ease;
}

.section-nav-counter {
    font-family: var(--font-care);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #FFBE42;
    line-height: 1;
    margin-top: 2px;
    opacity: 0.92;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-section-nav {
        right: 14px;
        bottom: 18px;
        min-width: 58px;
        padding: 5px 6px;
        border-radius: 18px;
    }
    
    .floating-section-nav::after {
        border-radius: 15px;
    }
    
    .section-nav-btn {
        min-height: 22px;
        height: 22px;
        max-height: 24px;
        position: relative;
        touch-action: manipulation;
    }
    
    /* Touch target extension for mobile audits (>= 48px tap area) */
    .section-nav-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 48px;
        min-height: 48px;
        width: 100%;
        height: 100%;
    }
    
    .section-nav-tag {
        font-size: 8.5px;
        letter-spacing: 0.5px;
    }
    
    .section-nav-counter {
        font-size: 7.5px;
    }
}

/* ==========================================================================
   11. ACCESSIBILITY & A11Y HELPERS
   ========================================================================== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Contrast enhancement: ensure section subtexts and stat labels meet WCAG AA */
.section-subtext {
    opacity: 0.95;
    color: var(--hw-black);
}

.stat-label {
    opacity: 0.95;
    color: var(--hw-black);
}

.footer-copyright {
    color: #FFFFFF !important;
    opacity: 0.95;
}

.woven-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    line-height: 1.2;
}

.woven-tag-charcoal {
    background-color: #1E1E1D !important;
    color: #FFFFFF !important;
}

.woven-tag-orange {
    background-color: #B83D08 !important;
    color: #FFFFFF !important;
}

.woven-tag-olive {
    background-color: #2F3B20 !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   12. PROJECTS TACTILE FILTER BAR & QUICK PREVIEW MODAL
   ========================================================================== */
.projects-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 0 auto 2.5rem;
    padding: 0.5rem;
    max-width: 760px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.25rem;
    min-height: 48px;
    min-width: 48px;
    border-radius: 9999px;
    background-color: var(--padded-bone);
    color: var(--hw-black);
    font-family: var(--font-care);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1.5px dashed rgba(63, 67, 69, 0.35);
    box-shadow: var(--shadow-stuffed);
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.22s var(--ease-spring);
}

.filter-btn:hover {
    transform: translateY(-2px);
    border-color: var(--safety-orange);
    color: var(--safety-orange);
    box-shadow: var(--shadow-stuffed-heavy);
}

.filter-btn.active {
    background-color: var(--hw-black);
    color: #FFFFFF;
    border: 1.5px solid var(--safety-orange);
    box-shadow: 0 4px 14px rgba(255, 122, 69, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.filter-btn .filter-count {
    font-size: 0.72rem;
    opacity: 0.75;
    font-family: 'Courier New', monospace;
}

.filter-btn.active .filter-count {
    color: #FFBE42;
    opacity: 1;
}

/* Smooth filtering states */
.project-card {
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.project-card.is-filtered-out {
    display: none !important;
}

.project-section-subgroup.is-filtered-out {
    display: none !important;
}

/* Project Quick Preview Modal Dialog */
.project-modal {
    border: none;
    border-radius: 28px;
    padding: 0;
    background: transparent;
    max-width: 680px;
    width: 92vw;
    margin: auto;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.project-modal::backdrop {
    background: rgba(18, 17, 15, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: modalBackdropFadeIn 0.22s ease-out forwards;
}

.project-modal[open] {
    animation: modalScaleIn 0.26s var(--ease-spring) forwards;
}

@keyframes modalBackdropFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalScaleIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-card {
    background: var(--padded-bone);
    color: var(--hw-black);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 88vh;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.6rem;
    border-bottom: 2px dashed rgba(63, 67, 69, 0.25);
    background: rgba(230, 223, 211, 0.65);
}

.modal-header-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--hw-black);
    margin: 0;
    font-family: var(--font-brutalist);
    letter-spacing: -0.01em;
}

.modal-close-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(63, 67, 69, 0.3);
    background: var(--padded-bone);
    color: var(--padded-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    touch-action: manipulation;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--safety-orange);
    color: #FFFFFF;
    border-color: var(--safety-orange);
    transform: rotate(90deg);
}

.modal-media-wrap {
    width: 100%;
    max-height: 320px;
    overflow: hidden;
    background: #181614;
    position: relative;
    border-bottom: 2px dashed rgba(63, 67, 69, 0.25);
}

.modal-project-img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.modal-body {
    padding: 1.6rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-description {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--padded-charcoal);
    margin: 0;
}

.modal-tech-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.modal-section-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--padded-olive);
}

.modal-action-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding-top: 0.5rem;
}

.modal-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.4rem;
    min-height: 48px;
    min-width: 48px;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    touch-action: manipulation;
    transition: all 0.2s var(--ease-spring);
}

.modal-action-btn-primary {
    background: var(--safety-orange);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 122, 69, 0.35);
}

.modal-action-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 122, 69, 0.45);
    color: #FFFFFF;
}

.modal-action-btn-secondary {
    background: var(--padded-charcoal);
    color: #FFFFFF;
}

.modal-action-btn-secondary:hover {
    background: var(--hw-black);
    transform: translateY(-2px);
    color: #FFFFFF;
}


