/*
 * Unified Global Stylesheet
 * Merged from style.css and expstyle.css
 * Optimized to reduce redundancy
 */

/* ==========================================================================
   Font Imports
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&display=swap');

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    /* Fonts */
    --primary-font: 'Libre Baskerville', sans-serif;
    --heading-font: 'Libre Baskerville', serif;
    --font-body: 'Libre Baskerville', sans-serif;
    --font-header: 'Libre Baskerville', serif;
    --font-secondary: 'Libre Baskerville', serif;
    
    /* Font Weights */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Colors */
    --color-background: #F9f5ef;
    --background-light: #F9f5ef;
    --color-text-dark: #333;
    --text-color: #333;
    --color-text-medium: #666;
    --dark-grey: #666;
    --color-text-light: #888;
    --muted-grey: #A8A29E;
    --color-brand-brown: #5D4037;
    --color-brand-caramel: #F3EADF;
    --color-white: #fff;
    --accent-color: #bb2f63;
    --subtle-accent: #FFFF;
    --rosy-taupe: #7B6155;
    --border-color: #e0ded7;
    --nav-bg: #FBFAF2;
    --nav-item-bg-hover: var(--subtle-accent);
    --nav-item-text: var(--text-color);
    --nav-item-text-hover: var(--accent-color);
    --color-footer-bg: #1a202c;

    /* Spacing */
    --spacing-1: 0.5rem;
    --spacing-2: 1rem;
    --spacing-3: 1.5rem;
    --spacing-4: 2rem;
    --spacing-5: 2.5rem;
    
    /* Box Shadows */
    --box-shadow-light: 0 2px 10px rgba(0,0,0,0.03);
    --box-shadow-hover: 0 4px 20px rgba(0,0,0,0.1);
    
    .footer-nav {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .site-footer > * {
        margin-bottom: 2rem;
    }
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
    margin: 0;
    padding: 0;
    font-family: var(--primary-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--color-background);
    overflow-x: hidden;
}

h1 {
    font-family: var(--font-secondary);
    font-weight: var(--font-weight-regular);
}

h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    font-weight: var(--font-weight-semibold);
}

p {
    font-family: var(--font-body);
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #4a54c9;
}

.section-title {
    text-align: center;
    font-size: var(--spacing-5);
    margin-bottom: var(--spacing-5);
    color: var(--color-text-dark);
    font-weight: var(--font-weight-semibold);
}

/* ==========================================================================
   Header and Navigation
   ========================================================================== */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-5) 5%;
    font-family: var(--primary-font);
}

.site-header h1 {
    font-family: var(--heading-font);
    color: var(--text-color);
}

.site-header p {
    color: var(--dark-grey);
}

/* About Page - Fixed Pill Navigation */
.about-me-page .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    justify-content: center;
    padding: 1rem 0;
    transition: transform 0.3s ease-out, background-color 0.3s ease-out, box-shadow 0.3s ease-out;
    background-color: transparent;
    transform: translateY(-100%);
    box-sizing: border-box;
}

.about-me-page .site-header.visible {
    transform: translateY(0);
    background-color: var(--nav-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pill-nav {
    display: flex;
    background-color: var(--nav-bg);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
}

.pill-nav .nav-item {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--nav-item-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.pill-nav .nav-item:hover,
.pill-nav .nav-item.active {
    background-color: var(--nav-item-bg-hover);
    color: var(--nav-item-text-hover);
}

.brand h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    line-height: 1;
}

.brand h1 a {
    display: flex;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.brand p {
    margin: 4px 0 0;
    font-size: 1.2rem;
    font-weight: var(--font-weight-light);
    color: var(--color-text-light);
    letter-spacing: 0.5px;
}

.site-nav a {
    font-family: var(--primary-font);
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
    margin-left: var(--spacing-4);
}

.site-nav a:hover {
    color: var(--accent-color);
}

/* Logo (Top-Right for About Page) */
.logo-link {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.logo {
    width: 50px;
    height: auto;
}

/* ==========================================================================
   Hero Section (About Page)
   ========================================================================== */
.hero-section {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(portfolio_media/media/hero2.svg) no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    will-change: background-position;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    will-change: transform;
}

.hero-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 4rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 26px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.5s ease-out;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2em;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* ==========================================================================
   Main Content Grid (Homepage)
   ========================================================================== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 5%;
}

/* About Page Content Wrapper */
.content-wrapper {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

/* About Page Body Background Override */
.about-me-page body {
    background-color: #DCDFD6;
}

.grid-link {
    text-decoration: none;
    display: block;
}

.grid-item {
    width: 100%;
    padding-top: 60%;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
}

/* .grid-item span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: transparent;
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.4s ease;
} */

.grid-corner-title {
    position: absolute;
    bottom: 20px;
    right: 20px;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    text-align: right;
    color: var(--text-color);
    font-family: var(--font-header);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    transition: opacity 0.4s ease;
    opacity: 1;
}

.grid-hover-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: transparent;
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.4s ease;
}

.grid-link:hover .grid-corner-title {
    opacity: 0;
}

.grid-link:hover .grid-hover-text {
    color: var(--color-brand-brown);
}


.grid-link:hover .grid-item {
    background-color: var(--color-brand-caramel);
}

.grid-link:hover .grid-item span {
    color: var(--color-brand-brown);
}

/* Block Colors & Textures */
.grid-link:hover .color-block-1,
.grid-link:hover .color-block-2,
.grid-link:hover .color-block-3,
.grid-link:hover .color-block-4,
.grid-link:hover .color-block-5,
.grid-link:hover .color-block-6 {
    background-blend-mode: overlay;
}

.color-block-1 {
    background-color: #F2E8D7;
}

.color-block-2 {
    background-image: url('portfolio_media/media/TILE4.png');
}

.color-block-3 {
    background-image: url('portfolio_media/media/TILE4.jpg');
}

.color-block-4 {
    background-color: #aab7bb;
}

.color-block-5 {
    background-color: #87a381;
}

.color-block-6 {
    background-image: url('portfolio_media/media/TILE5.jpg');
}

.color-block-2 .grid-corner-title,
.color-block-3 .grid-corner-title,
.color-block-6 .grid-corner-title {
    background-color: var(--color-white);
    padding: 0.4rem 0.8rem;
    border-radius: 0;
}

/* ==========================================================================
   Parallax Sections
   ========================================================================== */
.parallax-section {
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    position: relative;
}

.parallax-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.parallax-1 {
    background-image: url('/istockphoto-483120345-612x612.jpg');
}

.parallax-2 {
    background-image: url('/istockphoto-483120345-612x612.jpg');
}

.parallax-2 {
    background-image: url('/istockphoto-483120345-612x612.jpg');
}

/* ==========================================================================
   About Me Section (About Page)
   ========================================================================== */
.gigi-about-section {
    padding-top: 2rem;
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 3rem;
}

.about-heading-group {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-main-title {
    font-family: var(--heading-font);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    line-height: 1;
}

.pronouns-text {
    font-size: 1rem;
    color: var(--dark-grey);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.about-pronunciation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-grey);
    font-size: 0.9rem;
}

.about-pronunciation i {
    cursor: pointer;
    color: var(--accent-color);
    transition: color 0.2s ease;
}

.about-pronunciation i:hover {
    color: #4a54c9;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-text-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.about-text-content ul li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.portrait-container {
    width: 300px;
    height: 375px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.portrait-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.elsewhere-section,
.reach-out-section {
    width: 100%;
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    box-sizing: border-box;
}

.white-border-container {
    overflow: hidden;
}

.elsewhere-section h3,
.reach-out-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.elsewhere-section p {
    margin: 0.8rem 0;
    font-size: 0.95rem;
    align-items: center;
    font-weight: 500;
}

.reach-out-section p {
    font-size: 0.9rem;
    color: var(--dark-grey);
    line-height: 1.5;
    margin: 0;
}

.elsewhere-section p a {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease, filter 0.3s ease;
}

.elsewhere-section p a:hover {
    color: var(--accent-color);
    transform: scale(1.05);
    text-shadow: 0 0 10px rgb(255, 255, 255);
}

.elsewhere-icon {
    margin-right: 0.8rem;
    color: var(--accent-color);
    width: 1.2em;
    text-align: center;
    font-size: 1.1em;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.elsewhere-section p a:hover .elsewhere-icon {
    filter: drop-shadow(0 0 10px rgb(255, 255, 255));
}

.quote-block {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-color);
    font-style: italic;
    color: var(--dark-grey);
}

.quote-block p {
    margin: 0;
}

.quote-source {
    font-weight: 1000;
    margin-top: 0.5rem;
    display: block;
    font-size: 0.9em;
    text-align: right;
}

/* ==========================================================================
   Experiences Section (Timeline)
   ========================================================================== */
.experiences-section {
    padding: var(--spacing-4) 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: var(--spacing-4) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: #BCBCA7;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin: 4rem 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.static-active,
.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    padding-right: 55%;
}

.timeline-item:nth-child(even) {
    padding-left: 55%;
    text-align: right;
}

.timeline-content {
    background: var(--color-white);
    padding: var(--spacing-4);
    box-shadow: var(--box-shadow-light);
    position: relative;
    transition: all 0.4s ease;
    text-align: left;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border-left: 15px solid var(--color-white);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border-right: 15px solid var(--color-white);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-white);
    border: 4px solid #DCD1BF;
    z-index: 10;
    transition: all 0.4s ease;
}

.timeline-item.active .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.experience-date {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: var(--font-weight-light);
    margin-bottom: var(--spacing-1);
    letter-spacing: 0.5px;
}

.experience-title {
    font-size: 1.4rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-1);
    color: var(--color-text-dark);
}

.experience-company {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-2);
    font-weight: var(--font-weight-medium);
}

.company-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    vertical-align: middle;
}

.experience-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: var(--spacing-2);
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-1);
}

.timeline-item:nth-child(even) .experience-skills {
    justify-content: flex-end;
}

.skill-tag {
    background: #F6DBdA;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #3B2E2A;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   Portfolio Sections
   ========================================================================== */
.portfolio-section {
    padding: var(--spacing-4) 9% var(--spacing-4);
    max-width: none;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2);
    margin-bottom: var(--spacing-4);
}

.portfolio-item {
    background: none;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-thumbnail {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.portfolio-thumbnail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 231, 237, 0.8);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-thumbnail::before {
    opacity: 1;
}

.portfolio-content {
    padding: var(--spacing-3);
}

.portfolio-title-item {
    font-family: var(--font-header);
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-1);
    color: var(--color-text-dark);
}

.portfolio-description {
    font-size: 0.85rem;
    color: var(--color-text-medium);
    line-height: 1.4;
    margin: 0;
}

.portfolio-hover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: var(--spacing-2);
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--color-white);
}

.portfolio-item:hover .portfolio-hover-content {
    opacity: 1;
}

.hover-title {
    font-weight: var(--font-weight-bold);
    font-size: var(--spacing-2);
    margin: 0 0 0.25rem;
}

.hover-caption {
    font-size: 0.8rem;
    font-weight: var(--font-weight-light);
    margin: 0;
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-5);
    gap: var(--spacing-1);
    font-family: var(--font-header);
}

.portfolio-filters label {
    font-size: 0.95rem;
    font-weight: var(--font-weight-medium);
    color: #444;
}

.portfolio-filters select,
.filter-select {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    background-color: var(--color-white);
    color: var(--color-text-dark);
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow-light);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='gray' height='14' viewBox='0 0 24 24' width='14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-2) center;
    background-size: 14px;
    padding-right: var(--spacing-5);
    cursor: pointer;
}

.portfolio-filters select:hover,
.filter-select:hover {
    border-color: #c9dfe5;
}

.portfolio-filters select:focus,
.filter-select:focus {
    outline: none;
    border-color: #7cc0db;
    box-shadow: 0 0 0 3px rgba(160, 207, 214, 0.25);
}

/* ==========================================================================
   PDF Popup Modal
   ========================================================================== */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.pdf-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-container {
    display: flex;
    background: none;
    border-radius: 0;
    width: 95%;
    height: 90%;
    max-width: none;
    max-height: 800px;
    position: relative;
    box-shadow: none;
    overflow: hidden;
    justify-content: flex-start;
    align-items: stretch;
}

.pdf-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.pdf-header:hover {
    background: rgba(255, 255, 255, 0.15);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: white;
    line-height: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-title {
    display: none;
}

.pdf-viewer {
    width: 70%;
    height: 100%;
    border: none;
    background: white;
    overflow-y: scroll;
}

.project-info {
    width: 30%;
    background-color: var(--sidebar-color, #FBE8D3);
    padding: 3rem;
    color: var(--color-text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-left: 10px solid #fff;
    border-right: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    z-index: 10;
}

.project-info-content {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.5s ease-out forwards;
}

.project-info h3 {
    font-family: var(--font-header);
    font-size: var(--spacing-5);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-3);
    color: white;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 11;
}

.project-info p,
.project-info .project-details {
    position: relative;
    z-index: 11;
}

.project-details {
    font-size: var(--spacing-2);
    line-height: 1.6;
    margin-bottom: var(--spacing-4);
    opacity: 0.9;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: var(--spacing-4);
    align-items: center;
}

.tag {
    background: #EFEBCE;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #3B2E2A;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tag:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-stats {
    margin-top: auto;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.mobile-pdf-opener {
    display: none;
    margin-bottom: var(--spacing-3);
}

.mobile-pdf-btn {
    background: var(--color-brand-brown);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-family: var(--font-header);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow-light);
    width: 100%;
}

.mobile-pdf-btn:hover {
    background: #4a2c20;
    transform: translateY(-1px);
}

/* ==========================================================================
   Floating Elements (Decorative)
   ========================================================================== */
.floating-element {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

/* Sidebar floating dots */
.project-info .floating-element {
    opacity: 0.2;
    border-radius: 50%;
}

.float-1 { top: 10%; left: 15%; width: 15px; height: 15px; animation: float 10s ease-in-out infinite; }
.float-2 { top: 60%; right: 5%; width: 20px; height: 20px; animation: float 12s ease-in-out infinite reverse; }
.float-3 { bottom: 20%; left: 30%; width: 18px; height: 18px; animation: float 14s ease-in-out infinite; }
.float-4 { top: 40%; left: 60%; width: 22px; height: 22px; animation: float 11s ease-in-out infinite reverse; }
.float-5 { bottom: 5%; right: 25%; width: 16px; height: 16px; animation: float 13s ease-in-out infinite; }
.float-6 { top: 75%; left: 10%; width: 14px; height: 14px; animation: float 15s ease-in-out infinite reverse; }
.float-7 { top: 5%; right: 70%; width: 24px; height: 24px; animation: float 16s ease-in-out infinite; }
.float-8 { bottom: 35%; right: 15%; width: 17px; height: 17px; animation: float 9s ease-in-out infinite reverse; }

/* Timeline page larger floating elements */
.experiences-section .floating-element {
    opacity: 0.1;
}

.experiences-section .float-1 { top: 10%; left: 10%; width: 60px; height: 60px; background: #38d442; border-radius: 50%; animation: float 8s ease-in-out infinite; }
.experiences-section .float-2 { top: 30%; right: 15%; width: 40px; height: 40px; background: #b2d8a6; transform: rotate(45deg); animation: float 6s ease-in-out infinite reverse; }
.experiences-section .float-3 { bottom: 20%; left: 20%; width: 80px; height: 80px; background: #70136f; border-radius: 20px; animation: float 10s ease-in-out infinite; }
.experiences-section .float-4 { bottom: 40%; right: 25%; width: 50px; height: 50px; background: #e82664; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7s ease-in-out infinite reverse; }
.experiences-section .float-5 { top: 15%; left: 30%; width: 35px; height: 35px; background: #9bd7f5; transform: rotate(60deg); animation: float 7.5s ease-in-out infinite; }
.experiences-section .float-6 { bottom: 5%; right: 35%; width: 70px; height: 70px; background: #f7b762; border-radius: 25px; animation: float 9s ease-in-out infinite reverse; }
.experiences-section .float-7 { top: 50%; right: 5%; width: 45px; height: 45px; background: #d8a0f5; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 6.8s ease-in-out infinite; }
.experiences-section .float-8 { top: 5%; right: 50%; width: 60px; height: 60px; background: #b2d8a6; transform: rotate(15deg); animation: float 8s ease-in-out infinite reverse; }
.experiences-section .float-9 { bottom: 30%; left: 45%; width: 55px; height: 55px; background: #c8dbe3; border-radius: 10px; animation: float 11s ease-in-out infinite; }
.experiences-section .float-10 { top: 70%; left: 10%; width: 30px; height: 30px; background: #e82664; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 6s ease-in-out infinite; }
.experiences-section .float-11 { bottom: 15%; left: 70%; width: 40px; height: 40px; background: #84d2f6; transform: rotate(75deg); animation: float 9.5s ease-in-out infinite reverse; }
.experiences-section .float-12 { top: 25%; right: 40%; width: 20px; height: 20px; background: #f0a35c; border-radius: 30px; animation: float 12s ease-in-out infinite; }
.experiences-section .float-13 { bottom: 60%; left: 5%; width: 50px; height: 50px; background: #ac79c2; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 8.2s ease-in-out infinite reverse; }
.experiences-section .float-14 { top: 20%; left: 40%; width: 70px; height: 70px; background: #a76a0f; border-radius: 10px; animation: float 9s ease-in-out infinite; }
.experiences-section .float-15 { bottom: 10%; right: 90%; width: 55px; height: 55px; background: #0c5e3f; clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); animation: float 11s ease-in-out infinite reverse; }
.experiences-section .float-16 { top: 105%; left: 60%; width: 40px; height: 40px; background: #b6416f; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7.8s ease-in-out infinite; }
.experiences-section .float-17 { top: 120%; right: 30%; width: 50px; height: 50px; background: #87ceeb; transform: rotate(55deg); animation: float 8.5s ease-in-out infinite reverse; }
.experiences-section .float-18 { top: 135%; left: 5%; width: 75px; height: 75px; background: #f08080; border-radius: 40px; animation: float 9.8s ease-in-out infinite; }
.experiences-section .float-19 { top: 150%; right: 10%; width: 35px; height: 35px; background: #7b68ee; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 6.5s ease-in-out infinite; }
.experiences-section .float-20 { top: 160%; right: 40%; width: 45px; height: 45px; background: #daa520; transform: rotate(80deg); animation: float 11.2s ease-in-out infinite reverse; }
.experiences-section .float-21 { top: 110%; left: 25%; width: 60px; height: 60px; background: #9acd32; border-radius: 20px; animation: float 10.3s ease-in-out infinite; }
.experiences-section .float-22 { top: 165%; left: 80%; width: 55px; height: 55px; background: #ff6347; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7.3s ease-in-out infinite reverse; }
.experiences-section .float-23 { top: 185%; left: 5%; width: 40px; height: 40px; background: #4682b4; transform: rotate(10deg); animation: float 9s ease-in-out infinite; }
.experiences-section .float-24 { top: 195%; right: 60%; width: 80px; height: 80px; background: #ba55d3; border-radius: 20px; animation: float 11.5s ease-in-out infinite reverse; }
.experiences-section .float-25 { top: 210%; left: 50%; width: 45px; height: 45px; background: #ffd700; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 8.8s ease-in-out infinite; }
.experiences-section .float-26 { top: 225%; left: 70%; width: 30px; height: 30px; background: #20b2aa; transform: rotate(40deg); animation: float 7.1s ease-in-out infinite reverse; }
.experiences-section .float-27 { top: 240%; right: 5%; width: 50px; height: 50px; background: #ffb6c1; border-radius: 10px; animation: float 9.3s ease-in-out infinite; }
.experiences-section .float-28 { top: 255%; left: 30%; width: 60px; height: 60px; background: #b0e0e6; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 10.7s ease-in-out infinite; }
.experiences-section .float-29 { top: 270%; left: 10%; width: 35px; height: 35px; background: #8fbc8f; transform: rotate(65deg); animation: float 7.6s ease-in-out infinite reverse; }
.experiences-section .float-30 { top: 285%; right: 70%; width: 70px; height: 70px; background: #add8e6; border-radius: 25px; animation: float 12.5s ease-in-out infinite; }
.experiences-section .float-31 { top: 300%; left: 85%; width: 50px; height: 50px; background: #ffd966; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 8s ease-in-out infinite; }
.experiences-section .float-32 { top: 315%; right: 15%; width: 40px; height: 40px; background: #c2dbe8; transform: rotate(30deg); animation: float 6.7s ease-in-out infinite reverse; }
.experiences-section .float-33 { top: 330%; left: 40%; width: 80px; height: 80px; background: #a9a9a9; border-radius: 30px; animation: float 10s ease-in-out infinite; }
.experiences-section .float-34 { top: 345%; left: 5%; width: 30px; height: 30px; background: #f4a460; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7.2s ease-in-out infinite reverse; }
.experiences-section .float-35 { top: 360%; right: 50%; width: 55px; height: 55px; background: #afeeee; transform: rotate(70deg); animation: float 9.1s ease-in-out infinite; }
.experiences-section .float-36 { top: 375%; left: 70%; width: 65px; height: 65px; background: #e6e6fa; border-radius: 15px; animation: float 11.8s ease-in-out infinite reverse; }
.experiences-section .float-37 { top: 390%; right: 25%; width: 45px; height: 45px; background: #ffdead; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 6.9s ease-in-out infinite; }
.experiences-section .float-38 { top: 405%; left: 15%; width: 40px; height: 40px; background: #bdb76b; transform: rotate(50deg); animation: float 8.3s ease-in-out infinite; }
.experiences-section .float-39 { top: 420%; right: 35%; width: 70px; height: 70px; background: #87cefa; border-radius: 20px; animation: float 10.1s ease-in-out infinite reverse; }
.experiences-section .float-40 { top: 435%; left: 80%; width: 35px; height: 35px; background: #ffc0cb; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7.5s ease-in-out infinite; }
.experiences-section .float-41 { top: 450%; left: 5%; width: 60px; height: 60px; background: #daa520; transform: rotate(20deg); animation: float 9.6s ease-in-out infinite reverse; }
.experiences-section .float-42 { top: 465%; right: 10%; width: 50px; height: 50px; background: #a2b5cd; border-radius: 10px; animation: float 11s ease-in-out infinite; }
.experiences-section .float-43 { top: 480%; left: 45%; width: 55px; height: 55px; background: #c6e2ff; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 8.6s ease-in-out infinite reverse; }
.experiences-section .float-44 { top: 495%; right: 75%; width: 40px; height: 40px; background: #b0c4de; transform: rotate(60deg); animation: float 7.9s ease-in-out infinite; }
.experiences-section .float-45 { top: 510%; left: 60%; width: 80px; height: 80px; background: #d3d3d3; border-radius: 20px; animation: float 10.8s ease-in-out infinite reverse; }
.experiences-section .float-46 { top: 525%; left: 20%; width: 30px; height: 30px; background: #8fbc8f; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 6.2s ease-in-out infinite; }
.experiences-section .float-47 { top: 540%; right: 20%; width: 50px; height: 50px; background: #b2d8a6; transform: rotate(25deg); animation: float 9.4s ease-in-out infinite; }
.experiences-section .float-48 { top: 555%; left: 70%; width: 70px; height: 70px; background: #ada6a3; border-radius: 25px; animation: float 11.3s ease-in-out infinite reverse; }
.experiences-section .float-49 { top: 570%; left: 5%; width: 45px; height: 45px; background: #e82664; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); animation: float 7.7s ease-in-out infinite; }
.experiences-section .float-50 { top: 585%; right: 50%; width: 60px; height: 60px; background: #c8dbe3; transform: rotate(45deg); animation: float 8.9s ease-in-out infinite reverse; }

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.scroll-in-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.scroll-in-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Footer (Unified from all files)
   ========================================================================== */
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 2rem 5%;
    font-size: 0.9rem;
    color: var(--dark-grey);
    background-color: #fcfbf8;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    font-family: var(--primary-font);
    min-height: 120px;
    box-sizing: border-box;
    position: relative;
}

/* About Page - Compact Footer */
.about-me-page .site-footer {
    padding: 2rem 5%;
    padding-bottom: 2rem;
}

.footer-left p {
    margin: 0;
    font-size: 12px;
    color: var(--muted-grey);
    line-height: 1.4;
    font-family: var(--primary-font);
}

.footer-left a {
    color: var(--muted-grey);
}

.footer-left a:hover {
    color: var(--rosy-taupe);
}

.logo2 {
    width: 30px;
    height: auto;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-nav a {
    text-transform: lowercase;
    color: var(--muted-grey);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: var(--primary-font);
    line-height: 1.4;
}

.footer-nav a:hover {
    color: var(--rosy-taupe);
}

.footer-right {
    text-align: right;
}

.footer-right p {
    margin: 0;
    color: var(--dark-grey);
    font-family: var(--primary-font);
    line-height: 1.4;
    font-size: 12px;
}

.footer-right a {
    color: var(--muted-grey);
}

.footer-right a:hover {
    color: var(--rosy-taupe);
}

#quote-area {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    padding-bottom: 0;
    background-color: inherit;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-carousel-track {
    display: inline-flex;
    animation: marquee 300s linear infinite;
    height: 100%;
    align-items: center;
    will-change: transform;
}

.quote-carousel-item {
    padding: 0 1rem;
    font-style: italic;
    color: var(--dark-grey);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--primary-font);
    white-space: nowrap;
    height: 100%;
}

.quote-carousel-item i {
    color: var(--accent-color);
    font-size: 0.9em;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.site-footer > * {
    margin-bottom: 3rem;
}

#quote-area {
    margin-bottom: 0 !important;
}

/* ==========================================================================
   Portfolio Thumbnail Classes
   ========================================================================== */
.thumb-1 { background-image: url('portfolio_media/media/portfolio-thumbnails/Esperoni1.png');}
.thumb-2 { background-image: url('portfolio_media/media/portfolio-thumbnails/Esperoni2.png');}
.thumb-3 { background-image: url('portfolio_media/media/portfolio-thumbnails/Hilton1.2.png');}
.thumb-4 { background-image: url('portfolio_media/media/portfolio-thumbnails/Hilton2.png');}
.thumb-5 { background-image: url('portfolio_media/media/portfolio-thumbnails/Hilton3.png');}
.thumb-6 { background-image: url('portfolio_media/media/portfolio-thumbnails/Hilton4.2.jpg');}
.thumb-7 { background-image: url('portfolio_media/media/portfolio-thumbnails/Hilton5.2.jpg');}
.thumb-8 { background-image: url('portfolio_media/media/portfolio-thumbnails/LuxeLounge2.png');}
.thumb-9 { background-image: url('portfolio_media/media/portfolio-thumbnails/LuxeLounge3.2.png');}
.thumb-10 { background-image: url('portfolio_media/media/portfolio-thumbnails/Doritos.png');}
.thumb-11 { background-image: url('portfolio_media/media/portfolio-thumbnails/YogaFactory1.png');}
.thumb-12 { background-image: url('portfolio_media/media/portfolio-thumbnails/CustomerSegInBanking.jpg');}
.thumb-13 { background-image: url('portfolio_media/media/portfolio-thumbnails/Chegg.png');}
.thumb-14 { background-image: url('portfolio_media/media/portfolio-thumbnails/Dyson1.2.jpg');}
.thumb-15 { background-image: url('portfolio_media/media/portfolio-thumbnails/AE.png');}
.thumb-16 { background-image: url('portfolio_media/media/portfolio-thumbnails/PAHumanities1.2.jpg');}
.thumb-17 { background-image: url('portfolio_media/media/portfolio-thumbnails/PAHumanities2.2.jpg');}
.thumb-18 { background-image: url('portfolio_media/media/portfolio-thumbnails/PAHumanitiesAds.png');}
.thumb-19 { background-image: url('portfolio_media/media/portfolio-thumbnails/FinanceConcept1.2.jpg');}
.thumb-20 { background-image: url('portfolio_media/media/portfolio-thumbnails/F1.png');}
.thumb-21 { background-image: url('portfolio_media/media/portfolio-thumbnails/HBOMax1.2.jpg');}
.thumb-22 { background-image: url('portfolio_media/media/portfolio-thumbnails/InvestmentMVPBlueprint.jpg');}
.thumb-23 { background-image: url('portfolio_media/media/portfolio-thumbnails/StayAheadOfCurve1.2.jpg');}
.thumb-24 { background-image: url('portfolio_media/media/portfolio-thumbnails/Tiktok.png');}
.thumb-25 { background-image: url('portfolio_media/media/portfolio-thumbnails/NFLDraft1.2.jpg');}
.thumb-26 { background-image: url('portfolio_media/media/portfolio-thumbnails/NFLDraft2.png');}
.thumb-27 { background-image: url('portfolio_media/media/portfolio-thumbnails/NFLDraft3.2.jpg');}
.thumb-28 { background-image: url('portfolio_media/media/portfolio-thumbnails/EastLiberty.png');}
.thumb-29 { background-image: url('portfolio_media/media/portfolio-thumbnails/PHDC1.png');}
.thumb-30 { background-image: url('portfolio_media/media/portfolio-thumbnails/PHDC2.2.jpg');}
.thumb-31 { background-image: url('portfolio_media/media/portfolio-thumbnails/PHDCIncubator.png');}
.thumb-32 { background-image: url('portfolio_media/media/portfolio-thumbnails/Poptart2.2.jpg');}
.thumb-33 { background-image: url('portfolio_media/media/portfolio-thumbnails/Biotech3.png');}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Header */
    .site-header {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-2);
        text-align: center;
    }
    
    .site-header > .brand-logo {
        height: 40px;
        width: auto;
        order: 2;
    }
    
    .site-nav {
        order: 1;
        display: flex;
        justify-content: center;
        gap: var(--spacing-4);
    }
    
    .site-nav a {
        margin-left: 0;
    }
    
    .brand {
        order: 3;
        text-align: center;
    }
    
    .brand h1 {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: var(--spacing-1);
    }

    /* About Page - Mobile Hero */
    .hero-name {
        font-size: 2.5rem;
        letter-spacing: 10px;
    }

    /* About Page - Mobile Layout */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-sidebar {
        order: -1;
    }

    .portrait-container {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 4/5;
    }

    /* Grids */
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-1);
    }
    
    /* PDF Modal */
    .pdf-container {
        flex-direction: column;
        width: 98%;
        height: 95%;
    }
    
    .pdf-viewer {
        width: 100%;
        height: 30%;
    }
    
    .project-info {
        width: 100%;
        height: 70%;
        padding: 1rem;
        box-sizing: border-box;
        overflow-y: auto;
    }
    
    .project-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .project-details {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .project-tags {
        gap: 0.5rem;
    }
    
    .tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-pdf-opener {
        display: block;
    }

    /* Timeline */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 80px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-item:nth-child(even) .timeline-content::after,
    .timeline-item:nth-child(odd) .timeline-content::after {
        left: -15px;
        right: auto;
        border-right: 15px solid var(--color-white);
        border-left: none;
    }
    
    .timeline-item:nth-child(even) .experience-skills {
        justify-content: flex-start;
    }
    
    /* Hide floating elements on mobile */
    .floating-element {
        display: none;
    }
    
    /* Footer */
    .site-footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        min-height: 140px;
        padding-bottom: 4rem;
    }

    /* About Page - Mobile Footer Adjustments */
    .about-me-page .site-footer {
        padding: .5rem 5%;
        padding-bottom: 4rem;
    }

    .about-me-page .site-footer > * {
        margin-bottom: .5rem;
    }
}

/* Tooltip for lotus logos */
a:has(.brand-logo),
a:has(.logo2) {
    position: relative;
    display: inline-block;
}

a:has(.brand-logo)::after,
a:has(.logo2)::after {
    content: "click to go home";
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    background-color: var(--color-brand-brown);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
    font-family: var(--primary-font);
}

/* Triangle pointing down */
a:has(.brand-logo)::before,
a:has(.logo2)::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--color-brand-brown);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

a:has(.brand-logo):hover::after,
a:has(.brand-logo):hover::before,
a:has(.logo2):hover::after,
a:has(.logo2):hover::before {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

