/* ===================================
   Sketch & Script Portfolio
   Core Styles - Homepage Only
   =================================== */

/* CSS Variables */
:root {
    --color-bg: #FAFAFA;
    --color-bg-secondary: #F5F5F5;
    --color-bg-dark: #2C2C2C;
    --color-text-primary: #2C2C2C;
    --color-text-secondary: #707070;
    --color-border: #E0E0E0;
    --color-accent: #8B7E74;
    --color-white: #FFFFFF;
    
    --font-primary: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    --max-width: 1200px;
    --border-radius: 0.5rem;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for fixed header */
}

/* Skip Navigation Link (for keyboard users) */
.skip-nav {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 0.5rem 0;
    font-weight: var(--font-weight-semibold);
}

.skip-nav:focus {
    top: 0;
}

/* Enhanced Focus Styles for Keyboard Navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.filter-btn:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: var(--border-radius);
}

/* Focus styles for cards and interactive elements */
.project-card:focus-within,
.game-card:focus-within {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.project-card-link:focus {
    outline: none;
}

.project-card-link:focus-visible .project-card {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* Utility Classes */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    text-align: center;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: box-shadow var(--transition-normal);
}

.nav.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.85;
}

.logo-icon {
    height: 32px;
    width: 32px;
    display: block;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    letter-spacing: 0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-primary);
    transition: color var(--transition-fast);
}

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

.nav-cta {
    padding: 0.5rem 1.5rem;
    background-color: var(--color-bg-dark);
    color: var(--color-white);
    border-radius: var(--border-radius);
}

.nav-cta:hover {
    background-color: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* Hero Section - Split Screen */
.hero {
    margin-top: 69px;
    min-height: calc(100vh - 69px);
    min-height: calc(100dvh - 69px); /* Dynamic viewport height for browser chrome */
    position: relative;
}

.hero-split {
    display: flex;
    height: calc(100vh - 69px);
    height: calc(100dvh - 69px); /* Adjusts for browser UI chrome */
}

.hero-side {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) var(--spacing-md);
    transition: flex var(--transition-slow);
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
}

.hero-side:hover {
    flex: 1.05;
}

.hero-side .btn {
    pointer-events: none;
}

.architecture-side {
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.70) 100%),
        url('../images/hero-architecture.jpg');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-blend-mode: normal;
}

.architecture-side::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    right: -5%;
    bottom: -5%;
    background-image: url('../images/hero-architecture.jpg');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    z-index: 0;
    animation: slowDriftLeft 25s ease-in-out infinite alternate;
    transition: transform 0.8s ease-out;
}

.architecture-side:hover::before {
    transform: scale(1.05);
}

.architecture-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.70) 100%);
    z-index: 1;
}

.qa-side {
    background-image: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.70) 100%),
        url('../images/hero-coding.jpg');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    color: var(--color-white);
}

.qa-side::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    right: -5%;
    bottom: -5%;
    background-image: url('../images/hero-coding.jpg');
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    z-index: 0;
    animation: slowDriftRight 30s ease-in-out infinite alternate;
    transition: transform 0.8s ease-out;
}

.qa-side:hover::before {
    transform: scale(1.05);
}

.qa-side::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.70) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background var(--transition-normal);
}

.hero-side:hover .hero-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 500px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.architecture-side .hero-content {
    color: var(--color-text-primary);
}

.hero-label {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: 0;
    opacity: 1;
    order: 2;
    text-transform: none;
    letter-spacing: normal;
}

.hero-title {
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
    order: 1;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 1.5rem;
    margin-bottom: 0;
    opacity: 0.95;
    order: 3;
}

.hero-content .btn {
    order: 4;
    margin-top: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-section .section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.about-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

.contact-section .section-title {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
}

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

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-item strong {
    font-weight: var(--font-weight-semibold);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.contact-item a {
    color: var(--color-white);
    text-decoration: underline;
}

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

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

.social-link {
    min-width: 120px;
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: var(--font-weight-medium);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--color-white);
    transition: all var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown options styling - fix white on white */
.form-group select option {
    background-color: #2A2A2A;
    color: #FFFFFF;
    padding: 0.5rem;
}

/* Ensure select element has proper styling on mobile */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FFFFFF' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ============================================
   WCAG 2.2 Level AA - Target Size (Minimum)
   All interactive elements ≥24x24px
   ============================================ */

/* Navigation links - ensure minimum tap target */
.nav-link {
    min-height: 44px; /* iOS recommendation, exceeds WCAG */
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
}

/* Filter buttons - ensure minimum size */
.filter-btn {
    min-height: 44px;
    min-width: 44px;
    padding: 0.625rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Social links - already defined above with WCAG compliance */

/* Footer links - ensure minimum tap target */
.footer-column a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0;
}

/* Buttons - ensure minimum tap target */
.btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Project links - ensure minimum size */
.project-link,
.project-card-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Skip navigation - ensure minimum size */
.skip-nav {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
}

/* Nav toggle - ensure minimum tap target for mobile */
.nav-toggle {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem;
}

/* Focus indicators - WCAG 2.2 compliant */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: var(--border-radius);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    background-color: var(--color-white);
    color: var(--color-bg-dark);
}

.contact-form .btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Footer */
.footer {
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.footer-column a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: rgba(255, 255, 255, 1);
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Mobile Responsive - Compact Design */
@media (max-width: 768px) {
    /* Tighter spacing */
    :root {
        --spacing-sm: 0.75rem;
        --spacing-md: 1.25rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 69px; /* Below nav bar (60px + 9px) */
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--color-border);
        padding: 1rem;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        z-index: 999; /* Just below nav bar (1000) */
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        background-color: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        width: 100%;
        text-align: center;
        color: var(--color-text-primary);
        border-radius: var(--border-radius);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background-color: rgba(139, 126, 116, 0.1);
    }
    
    .nav-link.active {
        color: var(--color-accent);
        font-weight: var(--font-weight-semibold);
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
        display: block;
        padding: 0.75rem 1.5rem;
        margin-top: 0.5rem;
        background-color: var(--color-bg-dark);
        color: var(--color-white);
    }
    
    .nav-cta:hover,
    .nav-cta:focus {
        background-color: var(--color-accent);
        color: var(--color-white);
        transform: translateY(-2px);
    }
    
    .hero-split {
        flex-direction: column;
        height: calc(100vh - 69px);
        height: calc(100dvh - 69px); /* Adjusts for mobile browser chrome */
    }
    
    .hero-side {
        min-height: calc((100vh - 69px) / 2);
        min-height: calc((100dvh - 69px) / 2);
        max-height: calc((100vh - 69px) / 2);
        max-height: calc((100dvh - 69px) / 2);
        height: calc((100vh - 69px) / 2);
        height: calc((100dvh - 69px) / 2);
        flex: 1 1 50%;
    }
    
    .hero-side:hover {
        flex: 1 1 50%;
    }
    
    .scroll-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.375rem;
        font-size: 0.75rem;
        opacity: 0.8;
        bottom: 1rem;
    }
    
    .scroll-indicator svg {
        width: 20px;
        height: 20px;
    }
    
    .about-section {
        padding: 2rem 0;
    }
    
    .about-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .about-cta .btn {
        width: 100%;
    }
    
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-column a {
        justify-content: center;
    }
    
    /* Social Links - Compact for mobile */
    .social-links {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .social-link {
        min-width: 90px;
        max-width: 100px;
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }
    
    /* Tighter Footer with Horizontal Links */
    .footer {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-brand p {
        font-size: 0.875rem;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .footer-column {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .footer-column h4 {
        font-size: 0.875rem;
        margin-bottom: 0;
        text-align: center;
        width: 100%;
        flex-basis: 100%;
    }
    
    .footer-column a,
    .footer-column span {
        font-size: 0.8125rem;
        padding: 0.5rem 0.75rem;
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 0.375rem;
        transition: background-color 0.2s ease;
        text-align: center;
    }
    
    .footer-column a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .footer-bottom {
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.8125rem;
        margin-bottom: 0.375rem;
    }
    
    /* Compact Form Styling */
    .contact-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-description {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group {
        gap: 0.375rem;
    }
    
    .form-group label {
        font-size: 0.8125rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.625rem 0.875rem;
        font-size: 0.9375rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    /* Tighter hero content */
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-label {
        font-size: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 0;
    }
    
    .hero-title {
        font-size: 0.75rem;
        margin-bottom: 0;
    }
    
    .hero-description {
        margin-top: 1rem;
        margin-bottom: 0;
    }
    
    .hero-content .btn {
        margin-top: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }
}

/* ============================================
   HERO ANIMATIONS
   ============================================ */

/* Subtle organic background movement */
@keyframes slowDriftLeft {
    0% {
        background-position: 50% 50%;
    }
    25% {
        background-position: 45% 48%;
    }
    50% {
        background-position: 48% 52%;
    }
    75% {
        background-position: 52% 49%;
    }
    100% {
        background-position: 50% 51%;
    }
}

@keyframes slowDriftRight {
    0% {
        background-position: 50% 50%;
    }
    20% {
        background-position: 52% 48%;
    }
    40% {
        background-position: 48% 52%;
    }
    60% {
        background-position: 53% 49%;
    }
    80% {
        background-position: 47% 51%;
    }
    100% {
        background-position: 50% 50%;
    }
}
