/* ==========================================================================
   MUKE STUDIO - ABOUT PAGE ("VOZTEUR / ABOUT ME")
   Theme & Contrast Matched to Studio & Home (Cyber HUD Bezel + High Contrast)
   ========================================================================== */

/* ===== CSS RESET & BOX MODEL ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --- COLOR SYSTEM (Light High Contrast - Matching Studio) --- */
    --hud-frame-bg: #09090b;
    --hud-frame-border: #18181b;
    --canvas-bg: #ffffff;
    --canvas-subtle: #f8f9fa;
    --canvas-surface: #ffffff;

    --text-primary: #0a0a0c;
    --text-secondary: #4a4a55;
    --text-muted: #8e8e99;
    --text-inverse: #ffffff;

    --pill-border: #141416;
    --pill-bg: #ffffff;
    --pill-hover-bg: #0a0a0c;
    --pill-hover-text: #ffffff;

    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-strong: #0a0a0c;
    --border-card: rgba(10, 10, 12, 0.12);

    --watermark-color: transparent;
    --watermark-stroke: rgba(0, 0, 0, 0.04);

    /* Accents */
    --accent-dot: #0284c7;
    --accent-green: #10b981;
    --accent-purple: #7c3aed;
    --accent-glow: rgba(2, 132, 199, 0.25);

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.12);

    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Space Grotesk', monospace, sans-serif;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Overrides */
html.dark-mode,
body.dark-mode {
    --hud-frame-bg: #030304;
    --hud-frame-border: #181820;
    --canvas-bg: #090a0d;
    --canvas-subtle: #0f1015;
    --canvas-surface: #14151b;

    --text-primary: #f8f9fa;
    --text-secondary: #a0a2b0;
    --text-muted: #5e6172;
    --text-inverse: #090a0d;

    --pill-border: rgba(255, 255, 255, 0.22);
    --pill-bg: rgba(255, 255, 255, 0.05);
    --pill-hover-bg: #ffffff;
    --pill-hover-text: #090a0d;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: #ffffff;
    --border-card: rgba(255, 255, 255, 0.14);

    --watermark-stroke: rgba(255, 255, 255, 0.04);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.7);
}

html, body {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    overflow: hidden;
    background-color: var(--hud-frame-bg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   FUTURISTIC HUD ENCLOSURE FRAME
   ========================================================================== */
.viewport-frame {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    padding: 18px 24px 18px 24px;
    background-color: var(--hud-frame-bg);
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    z-index: 10;
    transition: background-color 0.4s var(--ease-in-out-smooth);
}

@media (max-width: 768px) {
    .viewport-frame {
        padding: 8px;
    }
}

@media (max-width: 600px) {
    .viewport-frame {
        padding: 3px;
    }
}

/* Inner Screen Canvas */
.screen-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--canvas-bg);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.4s var(--ease-in-out-smooth);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

body.dark-mode .screen-canvas,
html.dark-mode .screen-canvas {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ===== TOP BEZEL & LOGO TRAPEZOID ===== */
.top-bezel-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    pointer-events: none;
    z-index: 40;
}

.top-trapezoid-notch {
    position: relative;
    width: 280px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: none;
    text-decoration: none;
}

.trapezoid-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--hud-frame-bg);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.top-logo-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 7px;
    transform: translateY(-2px);
}

.top-logo-icon {
    height: 25px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.top-trapezoid-notch:hover .top-logo-icon {
    transform: scale(1.18) rotate(-4deg);
}

.top-logo-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-transform: capitalize;
}

.top-logo-dot {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-dot);
    transition: color 0.4s var(--ease-in-out-smooth);
}

/* ===== SIDE HUD NOTCHES ===== */
.side-notch {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-notch.left-notch {
    left: 0;
    width: 44px;
    height: 130px;
}

.side-notch.right-notch {
    right: 0;
    width: 44px;
    height: 130px;
}

.side-notch-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--hud-frame-bg);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.outer-arrow-btn {
    position: relative;
    z-index: 2;
    background: none;
    border: none;
    color: #ffffff;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 48px;
    text-decoration: none;
    transition: transform 0.25s var(--ease-in-out-smooth), color 0.25s;
    outline: none;
}

.side-notch.left-notch .outer-arrow-btn {
    transform: translateX(-4px);
}

.side-notch.right-notch .outer-arrow-btn {
    transform: translateX(4px);
}

.side-notch.left-notch .outer-arrow-btn:hover {
    transform: translateX(-7px) scale(1.15);
    color: var(--accent-dot);
}

.side-notch.right-notch .outer-arrow-btn:hover {
    transform: translateX(7px) scale(1.15);
    color: var(--accent-dot);
}

.side-edge-tag {
    position: absolute;
    left: 10px;
    bottom: 90px;
    font-family: var(--font-secondary);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    opacity: 0.45;
    pointer-events: none;
    z-index: 10;
}

/* ==========================================================================
   TOP CANVAS HEADER
   ========================================================================== */
.canvas-header {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 36px 14px 36px;
    width: 100%;
    pointer-events: auto;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, var(--canvas-bg) 70%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(8px);
}

body.dark-mode .canvas-header,
html.dark-mode .canvas-header {
    background: linear-gradient(180deg, var(--canvas-bg) 70%, rgba(9, 10, 13, 0.9) 100%);
}

@media (max-width: 768px) {
    .canvas-header {
        padding: 14px 16px 10px 16px;
    }
}

.nav-pills-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    font-family: var(--font-secondary);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-primary);
    background-color: var(--pill-bg);
    border: 1px solid var(--pill-border);
    border-radius: 999px;
    transition: all 0.25s var(--ease-in-out-smooth);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pill-link:hover,
.pill-link.active {
    background-color: var(--pill-hover-bg);
    color: var(--pill-hover-text);
    border-color: var(--pill-hover-bg);
    transform: translateY(-1px);
}

.header-right-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-profile-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    border-radius: 999px;
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.25s var(--ease-in-out-smooth);
}

.user-profile-pill:hover {
    background: var(--pill-hover-bg);
    color: var(--pill-hover-text);
    border-color: var(--pill-hover-bg);
    transform: translateY(-1px);
}

.user-icon {
    width: 14px;
    height: 14px;
    opacity: 0.85;
}

.online-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--canvas-subtle);
    border: 1px solid var(--border-card);
    border-radius: 999px;
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.icon-pill-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-card);
    background-color: var(--canvas-subtle);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    transition: all 0.25s var(--ease-in-out-smooth);
    outline: none;
}

.icon-pill-btn:hover {
    background-color: var(--pill-hover-bg);
    color: var(--pill-hover-text);
    border-color: var(--pill-hover-bg);
    transform: translateY(-1px);
}

body.dark-mode .icon-pill-btn,
html.dark-mode .icon-pill-btn {
    border-color: var(--pill-border);
    background-color: var(--pill-bg);
    color: var(--text-primary);
}

/* ==========================================================================
   SCROLLABLE CANVAS CONTENT & WATERMARK
   ========================================================================== */
.canvas-scroll-container {
    position: relative;
    width: 100%;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 0 36px 40px 36px;
}

@media (max-width: 768px) {
    .canvas-scroll-container {
        padding: 0 16px 30px 16px;
    }
}

.canvas-scroll-container::-webkit-scrollbar {
    width: 5px;
}
.canvas-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}
.canvas-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(10, 10, 12, 0.15);
    border-radius: 4px;
}
.canvas-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 10, 12, 0.35);
}

.canvas-watermark {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.watermark-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 0.8;
}

.watermark-line {
    font-family: var(--font-primary);
    font-size: clamp(6.5rem, 16vw, 15rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 0.82;
    color: var(--watermark-color);
    -webkit-text-stroke: 1.5px var(--watermark-stroke);
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.7;
    display: block;
}

.about-inner-content {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* ==========================================================================
   SECTION 1: HERO — THE CREATOR PERSONA
   ========================================================================== */
.about-hero-section {
    position: relative;
    width: 100%;
    padding: 24px 0 10px 0;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

.about-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .about-hero-text {
        align-items: center;
    }
}

.about-hero-super {
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-dot);
    text-transform: uppercase;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.about-hero-headline {
    font-family: var(--font-primary);
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 22px;
}

.about-accent {
    color: var(--accent-dot);
    background: linear-gradient(135deg, var(--accent-dot) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero-bio {
    font-family: var(--font-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 24px;
}

.about-hero-bio strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Hero Status Pills Row */
.about-hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 900px) {
    .about-hero-badges-row {
        justify-content: center;
    }
}

.hero-mini-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-mini-pill .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-dot);
}

/* Hero Portrait Art Column */
.about-hero-art {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-hero-portrait-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-ambient-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.2) 0%, rgba(124, 58, 237, 0.12) 50%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.about-hero-portrait {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 340px;
    max-height: 480px;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.22));
    transition: transform 0.3s var(--ease-out-expo);
}

.about-hero-portrait:hover {
    transform: scale(1.03) translateY(-4px);
}

.about-hero-name-badge {
    position: relative;
    z-index: 2;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-dot);
}

.badge-name {
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

.badge-alias {
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* ==========================================================================
   GLOBAL SECTION HEADER BAR
   ========================================================================== */
.section-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
    margin-bottom: 22px;
}

.section-title-label {
    font-family: var(--font-secondary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stamp-pill {
    font-family: var(--font-secondary);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* ==========================================================================
   SECTION 2: CREATIVE PHILOSOPHY
   ========================================================================== */
.philosophy-section {
    display: flex;
    flex-direction: column;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 860px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

.philosophy-card {
    position: relative;
    background: var(--canvas-surface);
    border: 1.5px solid var(--border-card);
    border-radius: 12px;
    padding: 30px 26px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s var(--ease-out-expo);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.philosophy-card:hover {
    border-color: var(--accent-dot);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.philosophy-num {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--border-card);
    line-height: 1;
    margin-bottom: 14px;
    transition: color 0.3s;
}

.philosophy-card:hover .philosophy-num {
    color: var(--accent-dot);
}

.philosophy-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.philosophy-desc {
    font-family: var(--font-secondary);
    font-size: 0.86rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 2: TECHNICAL ARSENAL (4 DISCIPLINES)
   ========================================================================== */
.tech-arsenal-section {
    display: flex;
    flex-direction: column;
}

.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 6px;
}

.arsenal-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: none;
}

/* Quadrant 1 (Top-Left): 01 // HARDWARE */
.arsenal-card:nth-child(1) {
    padding: 24px 40px 36px 0;
    border-right: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

/* Quadrant 2 (Top-Right): 02 // EDGE WEB */
.arsenal-card:nth-child(2) {
    padding: 24px 0 36px 40px;
    border-bottom: 1px solid var(--border-card);
}

/* Quadrant 3 (Bottom-Left): 03 // 3D & MOTION */
.arsenal-card:nth-child(3) {
    padding: 36px 40px 24px 0;
    border-right: 1px solid var(--border-card);
}

/* Quadrant 4 (Bottom-Right): 04 // SYSTEMS */
.arsenal-card:nth-child(4) {
    padding: 36px 0 24px 40px;
}

@media (max-width: 768px) {
    .arsenal-grid {
        grid-template-columns: 1fr;
    }
    .arsenal-card:nth-child(1),
    .arsenal-card:nth-child(2),
    .arsenal-card:nth-child(3),
    .arsenal-card:nth-child(4) {
        border-right: none;
        border-bottom: 1px solid var(--border-card);
        padding: 24px 0 !important;
    }
    .arsenal-card:last-child {
        border-bottom: none !important;
    }
}

.arsenal-card-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.arsenal-badge {
    font-family: var(--font-secondary);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--accent-dot);
    text-transform: uppercase;
}

.arsenal-title {
    font-family: var(--font-primary);
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.arsenal-desc {
    font-family: var(--font-secondary);
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.arsenal-chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.arsenal-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--border-card);
    border-radius: 999px;
    font-family: var(--font-secondary);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    user-select: none;
    transition: all 0.22s var(--ease-out-expo);
}

.arsenal-chip:hover {
    background: var(--pill-hover-bg);
    color: var(--pill-hover-text);
    border-color: var(--pill-hover-bg);
    transform: translateY(-2px) scale(1.04);
}

/* ==========================================================================
   SECTION 3: FEATURED PROJECTS (6 ENGINEERING BUILDS)
   ========================================================================== */
.featured-projects-section {
    display: flex;
    flex-direction: column;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1040px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: var(--canvas-surface);
    border: 1.5px solid var(--border-card);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: all 0.35s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    position: relative;
}

.project-card:hover {
    border-color: var(--accent-dot);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.project-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.project-spec-tag {
    font-family: var(--font-secondary);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    background: var(--canvas-subtle);
    border: 1px solid var(--border-card);
    border-radius: 4px;
    color: var(--accent-dot);
    text-transform: uppercase;
}

.project-title {
    font-family: var(--font-primary);
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.project-desc {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
    flex: 1;
}

.project-tech-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding-top: 4px;
}

.project-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid var(--border-card);
    border-radius: 999px;
    font-family: var(--font-secondary);
    font-size: 0.70rem;
    font-weight: 600;
    color: var(--text-muted);
}

.project-card:hover .project-chip {
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.project-inline-link {
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent-dot);
    text-decoration: none;
    margin-left: auto;
    transition: transform 0.2s, color 0.2s;
}

.project-inline-link:hover {
    color: var(--accent-purple);
    transform: translateX(3px);
}

/* ==========================================================================
   SECTION 4: CAREER & TECHNICAL JOURNEY (TIMELINE)
   ========================================================================== */
.timeline-section {
    display: flex;
    flex-direction: column;
}

.timeline-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-left: 0;
}

.timeline-track::before {
    display: none !important;
}

@media (max-width: 640px) {
    .timeline-track {
        padding-left: 0;
    }
}

.timeline-entry {
    position: relative;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 32px;
    align-items: flex-start;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-card);
}

.timeline-entry:first-child {
    border-top: 1px solid var(--border-card);
}

@media (max-width: 640px) {
    .timeline-entry {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }
}

.timeline-year {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background: var(--canvas-bg);
    border: 1px solid var(--border-card);
    border-radius: 999px;
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--accent-dot);
    text-align: center;
    white-space: nowrap;
}

.timeline-content {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: none;
}

.timeline-content:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.timeline-event-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-event-desc {
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.timeline-event-desc strong {
    color: var(--text-primary);
}

/* ==========================================================================
   SECTION 5: LEADERSHIP & COMMUNITY
   ========================================================================== */
.leadership-section {
    display: flex;
    flex-direction: column;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 6px;
}

.leadership-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: none;
}

.leadership-card:nth-child(1) {
    padding: 24px 40px 24px 0;
    border-right: 1px solid var(--border-card);
}

.leadership-card:nth-child(2) {
    padding: 24px 0 24px 40px;
}

@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    .leadership-card:nth-child(1) {
        border-right: none;
        border-bottom: 1px solid var(--border-card);
        padding: 20px 0;
    }
    .leadership-card:nth-child(2) {
        padding: 20px 0;
    }
}

.leadership-badge {
    font-family: var(--font-secondary);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--accent-dot);
    text-transform: uppercase;
}

.leadership-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.leadership-desc {
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 6: CONNECT (FORMERLY DIRECT CHANNELS)
   ========================================================================== */
.contact-section {
    display: flex;
    flex-direction: column;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 6px;
    margin-bottom: 28px;
    border-top: 1px solid var(--border-card);
    border-bottom: 1px solid var(--border-card);
}

.contact-channel-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 24px 28px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.22s var(--ease-out-expo);
    cursor: none;
}

.contact-channel-card:not(:last-child) {
    border-right: 1px solid var(--border-card);
}

.contact-channel-card:hover {
    background: rgba(2, 132, 199, 0.05);
    box-shadow: none;
    transform: none;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-channel-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--border-card);
    }
    .contact-channel-card {
        padding: 18px 0;
    }
}

.contact-channel-card svg {
    width: 24px;
    height: 24px;
    color: var(--accent-dot);
    flex-shrink: 0;
    transition: transform 0.25s var(--ease-out-expo);
}

.contact-channel-card:hover svg {
    transform: scale(1.15);
}

.channel-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.channel-name {
    font-family: var(--font-primary);
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-primary);
}

.channel-handle {
    font-family: var(--font-secondary);
    font-size: 0.76rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

/* Bottom Action Row */
.bottom-actions-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 10px 0;
    border-top: 1px solid var(--border-subtle);
    gap: 16px;
    flex-wrap: wrap;
}

.order-interactive-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    cursor: none;
    background: none;
    border: none;
    padding: 6px 0;
    transition: transform 0.25s var(--ease-in-out-smooth);
    outline: none;
}

.order-btn-graphic {
    display: flex;
    align-items: center;
}

.order-line {
    width: 20px;
    height: 1.5px;
    background-color: var(--text-primary);
    transition: width 0.3s var(--ease-in-out-smooth), background-color 0.3s;
}

.order-circle-node {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -1px;
    transition: border-color 0.3s, transform 0.3s, background-color 0.3s;
}

.order-inner-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-primary);
    transition: transform 0.3s, background-color 0.3s;
}

.order-label-text {
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-primary);
    transition: color 0.3s, transform 0.3s;
}

.order-interactive-btn:hover {
    transform: translateX(4px);
}

.order-interactive-btn:hover .order-line {
    width: 28px;
    background-color: var(--accent-dot);
}

.order-interactive-btn:hover .order-circle-node {
    border-color: var(--accent-dot);
    transform: scale(1.1);
}

.order-interactive-btn:hover .order-inner-dot {
    background-color: var(--accent-dot);
}

.order-interactive-btn:hover .order-label-text {
    color: var(--accent-dot);
}

.muke-bot-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--canvas-subtle);
    border: 1px solid var(--border-card);
    border-radius: 999px;
    font-family: var(--font-secondary);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.25s var(--ease-out-expo);
}

.muke-bot-link-btn:hover {
    background: var(--pill-hover-bg);
    color: var(--pill-hover-text);
    border-color: var(--pill-hover-bg);
    transform: translateY(-2px);
}

/* ==========================================================================
   CANVAS FOOTER (Matching Studio Meta Row)
   ========================================================================== */
.canvas-footer {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 36px 18px 36px;
    width: 100%;
    border-top: 1px solid var(--border-subtle);
    background: linear-gradient(0deg, var(--canvas-bg) 70%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(8px);
}

body.dark-mode .canvas-footer,
html.dark-mode .canvas-footer {
    background: linear-gradient(0deg, var(--canvas-bg) 70%, rgba(9, 10, 13, 0.9) 100%);
}

@media (max-width: 768px) {
    .canvas-footer {
        padding: 10px 16px 12px 16px;
    }
}

.footer-nav-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-muted);
    opacity: 0.4;
    transition: all 0.3s;
    border: none;
    cursor: none;
}

.nav-dot.active {
    width: 22px;
    border-radius: 4px;
    background-color: var(--text-primary);
    opacity: 1;
}

/* ==========================================================================
   ABOUT PAGE: CYBER COMMAND TERMINAL & ROSTER MODAL
   ========================================================================== */
.about-terminal-section {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.terminal-center-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.cyber-terminal-card {
    background: #0a0a0e;
    color: #e5e5ec;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 10px 0 20px 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 860px;
    text-align: left;
}

.cyber-terminal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-dot), transparent);
}

.terminal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.terminal-lights {
    display: flex;
    align-items: center;
    gap: 6px;
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.t-red {
    background: #ef4444;
}

.t-amber {
    background: #f59e0b;
}

.t-green {
    background: #10b981;
}

.terminal-status-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-secondary);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #a1a1aa;
}

.status-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseGlow 1.8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.terminal-soundwave-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 14px;
}

.eq-bar {
    width: 3px;
    background: var(--accent-dot);
    border-radius: 2px;
    animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.eq-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.eq-bar:nth-child(4) { height: 14px; animation-delay: 0.4s; }
.eq-bar:nth-child(5) { height: 9px; animation-delay: 0.15s; }

@keyframes eqBounce {
    0% { height: 4px; }
    100% { height: 14px; }
}

.terminal-screen {
    font-family: var(--font-secondary);
    font-size: 0.78rem;
    line-height: 1.6;
    color: #22c55e;
    background: #050507;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 14px;
    min-height: 90px;
    max-height: 240px;
    overflow-y: auto;
    scroll-behavior: smooth;
    margin-bottom: 14px;
    position: relative;
}

.terminal-screen::-webkit-scrollbar {
    width: 4px;
}

.terminal-screen::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.35);
    border-radius: 4px;
}

.terminal-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    opacity: 0.35;
}

.t-line {
    margin-bottom: 3px;
}

.t-prompt {
    color: #38bdf8;
    font-weight: 600;
}

.t-sub {
    color: #94a3b8;
}

.t-ready {
    color: #4ade80;
    font-weight: 500;
}

.t-log {
    color: #e2e8f0;
}

.terminal-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.term-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    padding: 7px 14px;
    font-family: var(--font-secondary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #f1f5f9;
    cursor: none;
    transition: all 0.2s ease;
    user-select: none;
}

.term-chip-svg {
    display: inline-block;
    vertical-align: middle;
    color: var(--accent-dot);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.term-chip-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--accent-dot);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.term-chip-btn:hover .term-chip-svg {
    transform: scale(1.15);
}

.term-chip-btn:active,
.term-chip-btn.is-active {
    transform: translateY(0);
    background: rgba(2, 132, 199, 0.25);
    border-color: var(--accent-dot);
}

.terminal-brief-panel {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.brief-input-row {
    display: flex;
    gap: 8px;
}

.brief-msg-input {
    flex: 1;
    background: #050507;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 8px 12px;
    font-family: var(--font-primary);
    font-size: 0.82rem;
    color: #ffffff;
    outline: none;
    cursor: text !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    pointer-events: auto !important;
}

.brief-msg-input:focus {
    border-color: var(--accent-dot);
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25);
}

.brief-send-btn {
    background: var(--accent-dot);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0 16px;
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    cursor: none;
    transition: all 0.2s ease;
}

.brief-send-btn:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

.brief-feedback-msg {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #38bdf8;
    font-family: var(--font-secondary);
}

/* Modal Overlay & Character Roster */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.is-open {
    display: flex;
}

.tech-modal {
    background: var(--canvas-surface);
    border: 1.5px solid var(--border-card);
    border-radius: 14px;
    padding: 24px;
    width: 90%;
    max-width: 680px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    animation: modal-pop 0.25s var(--ease-out-expo);
}

@keyframes modal-pop {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-primary);
    cursor: none;
    padding: 0 4px;
}

.character-roster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

@media (max-width: 550px) {
    .character-roster-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.roster-item-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: var(--canvas-subtle);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    cursor: none;
    transition: all 0.25s ease;
}

.roster-item-card:hover {
    border-color: var(--accent-dot);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.roster-thumb-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

.roster-meta-title {
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-primary);
}

.roster-meta-role {
    font-family: var(--font-secondary);
    font-size: 0.52rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ==========================================================================
   MOBILE RESPONSIVE SYSTEM (< 640px & < 380px)
   Fluid profile editorial, responsive timeline, and touch-adapted forms
   ========================================================================== */
@media (max-width: 640px) {
    /* Hide Side Notches */
    .side-notch,
    .side-edge-tag {
        display: none !important;
    }

    /* Top Bezel Trapezoid Notch sits pinned on Row 1 (Top Edge) */
    .top-bezel-wrapper {
        height: 28px !important;
        z-index: 50 !important;
    }

    .top-trapezoid-notch {
        width: 108px !important;
        height: 26px !important;
    }

    .top-logo-icon {
        width: 12px !important;
        height: 12px !important;
    }

    .top-logo-text {
        font-size: 0.7rem !important;
    }

    /* Header Nav Row sits on Row 2 — padded down by 34px so it NEVER touches the top notch */
    .canvas-header {
        padding: 34px 14px 6px 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        position: relative !important;
        z-index: 30 !important;
        background: transparent !important;
    }

    .nav-pills-group {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .pill-link {
        padding: 4px 9px !important;
        font-size: 0.6rem !important;
        letter-spacing: 0.04em !important;
        white-space: nowrap !important;
    }

    .header-right-meta {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .user-profile-pill {
        padding: 4px 10px !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.04em !important;
        gap: 6px !important;
    }

    .user-profile-pill .user-icon {
        width: 12px !important;
        height: 12px !important;
    }

    .online-pill {
        display: none !important;
    }

    .icon-pill-btn {
        width: 28px !important;
        height: 28px !important;
    }

    /* Canvas Scroll Container Smooth Native Touch Behavior */
    .canvas-scroll-container {
        padding: 0 10px 30px 10px !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Hero Section */
    .about-hero-section {
        padding: 16px 0 24px !important;
    }

    .about-hero-content {
        gap: 14px !important;
    }

    .about-hero-headline {
        font-size: clamp(1.6rem, 6.5vw, 2.1rem) !important;
        line-height: 1.15 !important;
    }

    .about-hero-bio {
        font-size: 0.86rem !important;
        line-height: 1.5 !important;
    }

    .about-hero-badges-row {
        flex-wrap: wrap !important;
        gap: 6px !important;
        justify-content: center !important;
    }

    .hero-sub-pill,
    .about-badge-item {
        font-size: 0.62rem !important;
        padding: 3px 8px !important;
    }

    .about-hero-art {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin-top: 14px !important;
    }

    .about-hero-portrait-frame {
        max-width: 220px !important;
        margin: 0 auto !important;
    }

    .about-hero-portrait {
        max-width: 200px !important;
        max-height: 250px !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .about-hero-name-badge {
        margin-top: 10px !important;
        padding: 4px 12px !important;
        font-size: 0.65rem !important;
    }

    /* Typography & Sections */
    .about-section-heading {
        font-size: clamp(1.35rem, 5.5vw, 1.8rem);
        margin-bottom: 14px;
    }

    .about-section-lead {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    /* Timeline */
    .timeline-track {
        padding-left: 0;
    }

    .timeline-track::before {
        display: none !important;
    }

    .timeline-entry {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }

    .timeline-year {
        font-size: 0.95rem;
    }

    /* Contact Form & Footer */
    .contact-panel-wrapper {
        padding: 14px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-input {
        width: 100%;
        font-size: 0.85rem;
    }

    .contact-submit-btn {
        width: 100%;
    }

    .canvas-footer {
        padding: 4px 10px 8px 10px;
    }

    .footer-contact-pill {
        padding: 4px 12px;
        font-size: 0.65rem;
    }
}

@media (max-width: 380px) {
    .pill-link {
        padding: 3px 7px;
        font-size: 0.58rem;
    }

    .top-trapezoid-notch {
        width: 114px;
        height: 28px;
    }

    .top-logo-text {
        font-size: 0.68rem;
    }
}

