/* ============================================
   TOTTY.AI - Main Stylesheet
   Mobile-first responsive design
   ============================================ */

/* --------------------------------------------
   Custom Font Face - Lazybones
   -------------------------------------------- */
@font-face {
    font-family: 'Lazybones';
    src: url('../fonts/Lazybones EF.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------- */
:root {
    /* Brand Colors */
    --noir-de-vigne: #111A19;
    --emerald-green: #284139;
    --wasabi: #809076;
    --creased-khaki: #F8D794;
    --egyptian-earth: #B86830;
    
    /* Semantic Colors */
    --color-bg-primary: var(--noir-de-vigne);
    --color-bg-secondary: var(--emerald-green);
    --color-text-primary: var(--creased-khaki);
    --color-text-secondary: var(--wasabi);
    --color-accent: var(--creased-khaki);
    --color-accent-hover: var(--egyptian-earth);
    
    /* Typography */
    --font-display: 'Lazybones', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
    --text-4xl: clamp(2.5rem, 1.75rem + 3.75vw, 4rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Layout */
    --container-max: 1200px;
    --container-padding: clamp(1rem, 5vw, 2rem);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(248, 215, 148, 0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Z-index layers */
    --z-header: 100;
    --z-modal: 200;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-secondary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--creased-khaki);
    outline-offset: 2px;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--creased-khaki);
    color: var(--noir-de-vigne);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 999;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

/* --------------------------------------------
   Layout Components
   -------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* --------------------------------------------
   Header
   -------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: var(--space-md) 0;
    background: rgba(17, 26, 25, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(128, 144, 118, 0.1);
    transition: background var(--transition-base);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--creased-khaki);
    letter-spacing: 0.02em;
    transition: opacity var(--transition-fast);
}

.logo:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-icon {
    width: 20px;
    height: 20px;
    color: var(--wasabi);
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover .social-icon {
    color: var(--creased-khaki);
    transform: scale(1.1);
}

/* --------------------------------------------
   Hero Section
   -------------------------------------------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    overflow: hidden;
    background: #000; /* Pure black to match the banner image */
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.hero__content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero__eyebrow {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wasabi);
    margin-bottom: var(--space-lg);
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: normal;
    line-height: 1.1;
    color: var(--creased-khaki);
    margin-bottom: var(--space-lg);
}

.hero__title-accent {
    display: block;
    background: linear-gradient(135deg, var(--creased-khaki) 0%, var(--egyptian-earth) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: var(--wasabi);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 540px;
}

/* Hero banner image - dramatic half-face effect */
.hero__banner-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    overflow: hidden;
    pointer-events: none;
    display: none; /* Hidden on mobile */
}

.hero__banner {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: cover;
    object-position: center;
    
    /* Gradient mask: transparent on left, opaque on right */
    -webkit-mask-image: linear-gradient(to right, transparent 5%, black 45%);
    mask-image: linear-gradient(to right, transparent 5%, black 45%);
}

/* Hero background glow effect */
.hero__bg-glow {
    display: none; /* Hide the glow since we have the dramatic image now */
}

/* --------------------------------------------
   Buttons
   -------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    min-height: 48px;
}

.btn--primary {
    background: var(--creased-khaki);
    color: var(--noir-de-vigne);
}

.btn--primary:hover {
    background: var(--egyptian-earth);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-lg);
}

.btn__arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
    transform: translateX(4px);
}

/* --------------------------------------------
   Email Capture Form
   -------------------------------------------- */
.email-capture {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    padding: 5px;
    background: rgba(128, 144, 118, 0.2);
    border: 1px solid rgba(248, 215, 148, 0.3);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.email-capture__input {
    flex: 1;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--creased-khaki);
    background: transparent;
    border: none;
    outline: none;
}

.email-capture__input::placeholder {
    color: rgba(248, 215, 148, 0.5);
}

.email-capture__btn {
    padding: var(--space-sm) var(--space-xl);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: white;
    background: var(--egyptian-earth);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.email-capture__btn:hover {
    background: #c97838;
    transform: translateY(-1px);
}

.email-capture__btn:active {
    transform: translateY(0);
}

.email-capture__success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--creased-khaki);
}

.email-capture__success svg {
    width: 24px;
    height: 24px;
    color: var(--creased-khaki);
}

/* Email capture mobile adjustments */
@media (max-width: 480px) {
    .email-capture {
        padding: 4px;
    }
    
    .email-capture__input {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--text-sm);
        min-width: 0;
    }
    
    .email-capture__btn {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--text-sm);
        flex-shrink: 0;
    }
}

/* --------------------------------------------
   Section Styles
   -------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: normal;
    color: var(--creased-khaki);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--wasabi);
    max-width: 500px;
    margin: 0 auto;
}

/* --------------------------------------------
   Apps Section
   -------------------------------------------- */
.apps {
    padding: var(--space-4xl) 0;
    background: var(--noir-de-vigne);
}

.apps__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.apps__list .app-card {
    padding: var(--space-lg) var(--space-xl);
}

.apps__list .app-card__image-wrapper {
    display: none;
}

.apps__list .app-card__content {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    gap: var(--space-xs) var(--space-md);
    padding: 0;
    align-items: start;
}

/* Title and vote on same row */
.apps__list .app-card__title {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
}

.apps__list .app-card__vote-row {
    grid-column: 2;
    grid-row: 1;
    position: static;
    flex-direction: row;
    gap: var(--space-xs);
    align-items: center;
}

/* Tag below title */
.apps__list .app-card__tag {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0;
    justify-self: start;
}

/* Description full width */
.apps__list .app-card__description {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: var(--space-sm);
}

.apps__list .app-card__vote {
    width: 32px;
    height: 32px;
}

.apps__list .app-card__vote-icon {
    width: 20px;
    height: 20px;
}

/* App Cards */
.app-card {
    position: relative;
    background: var(--emerald-green);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(128, 144, 118, 0.2);
    overflow: hidden;
    transition: all var(--transition-base);
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: var(--creased-khaki);
    box-shadow: var(--shadow-lg);
}

.app-card__image-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 144, 118, 0.1);
}

.app-card__icon {
    width: 64px;
    height: 64px;
    color: var(--creased-khaki);
    transition: transform var(--transition-base);
}

.app-card:hover .app-card__icon {
    transform: scale(1.1);
    color: var(--egyptian-earth);
}

.app-card__content {
    padding: var(--space-lg);
}

.app-card__tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--noir-de-vigne);
    background: var(--egyptian-earth);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.app-card__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: normal;
    color: var(--creased-khaki);
    margin-bottom: var(--space-sm);
}

.app-card__description {
    font-size: var(--text-sm);
    color: var(--wasabi);
    line-height: 1.7;
}

/* Reddit-style Upvote */
.app-card__vote-row {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.app-card__vote {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: var(--wasabi);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.app-card__vote:hover {
    color: var(--egyptian-earth);
    background: rgba(198, 134, 66, 0.15);
    transform: scale(1.1);
}

.app-card__vote.is-voted {
    color: var(--egyptian-earth);
}

.app-card__vote.is-voted .app-card__vote-icon {
    fill: var(--egyptian-earth);
    stroke: var(--egyptian-earth);
}

.app-card__vote-icon {
    width: 24px;
    height: 24px;
    transition: all var(--transition-fast);
}

.app-card__vote-count {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--wasabi);
    min-width: 20px;
    text-align: center;
}

.app-card__vote.is-voted + .app-card__vote-count {
    color: var(--egyptian-earth);
}

/* --------------------------------------------
   Vote Email Modal
   -------------------------------------------- */
.vote-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.vote-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.vote-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.vote-modal__content {
    position: relative;
    width: 90%;
    max-width: 420px;
    padding: var(--space-2xl);
    background: var(--emerald-green);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(248, 215, 148, 0.2);
    box-shadow: var(--shadow-lg);
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-base);
}

.vote-modal.is-open .vote-modal__content {
    transform: scale(1) translateY(0);
}

.vote-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--wasabi);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.vote-modal__close:hover {
    color: var(--creased-khaki);
}

.vote-modal__close svg {
    width: 100%;
    height: 100%;
}

.vote-modal__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.vote-modal__tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    color: var(--noir-de-vigne);
    background: var(--egyptian-earth);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.vote-modal__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: normal;
    color: var(--creased-khaki);
}

.vote-modal__description {
    text-align: center;
    color: var(--wasabi);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.vote-modal__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.vote-modal__input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-base);
    color: var(--creased-khaki);
    background: rgba(248, 215, 148, 0.1);
    border: 1px solid rgba(248, 215, 148, 0.2);
    border-radius: var(--radius-full);
    outline: none;
    transition: all var(--transition-fast);
}

.vote-modal__input::placeholder {
    color: var(--wasabi);
    opacity: 0.6;
}

.vote-modal__input:focus {
    border-color: var(--creased-khaki);
    background: rgba(248, 215, 148, 0.15);
}

.vote-modal__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--noir-de-vigne);
    background: var(--egyptian-earth);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.vote-modal__submit:hover {
    background: var(--creased-khaki);
    transform: translateY(-2px);
}

.vote-modal__submit:active {
    transform: translateY(0);
}

.vote-modal__submit svg {
    width: 18px;
    height: 18px;
}

.vote-modal__privacy {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--wasabi);
    opacity: 0.7;
    margin-top: var(--space-md);
}

.vote-modal__success {
    text-align: center;
    padding: var(--space-xl) 0;
}

.vote-modal__success-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--wasabi);
}

.vote-modal__success-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--creased-khaki);
}

/* --------------------------------------------
   Bio Section
   -------------------------------------------- */
.bio {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--noir-de-vigne) 0%, rgba(40, 65, 57, 0.3) 100%);
}

.bio__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
    align-items: center;
}

.bio__photo-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
}

.bio__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(248, 215, 148, 0.3);
}

.bio__content {
    text-align: center;
    max-width: 600px;
}

.bio__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: normal;
    color: var(--creased-khaki);
    margin-bottom: var(--space-lg);
}

.bio__text {
    margin-bottom: var(--space-xl);
}

.bio__text p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.bio__text p:last-child {
    margin-bottom: 0;
}

.bio__text strong {
    color: var(--creased-khaki);
    font-weight: 600;
}

.bio__social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.bio__social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
    color: var(--wasabi);
    background: rgba(128, 144, 118, 0.1);
    border-radius: var(--radius-full);
    border: 1px solid rgba(128, 144, 118, 0.2);
    transition: all var(--transition-fast);
}

.bio__social-link:hover {
    color: var(--creased-khaki);
    border-color: var(--creased-khaki);
    background: rgba(248, 215, 148, 0.1);
}

.bio__social-link .social-icon {
    width: 16px;
    height: 16px;
}

/* --------------------------------------------
   Hero Collage
   -------------------------------------------- */
.hero__collage {
    display: block;
    position: relative;
    width: 85%;
    max-width: 280px;
    margin: var(--space-lg) auto 0;
}

.hero__collage-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Mobile hero layout - stack content and collage */
@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding-bottom: var(--space-xl);
    }
    
    .hero__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero__content {
        max-width: 100%;
        width: 100%;
    }
    
    .hero__collage {
        display: block;
        position: relative;
        width: 85%;
        max-width: 280px;
        margin: var(--space-xl) auto 0;
        transform: none;
        top: auto;
        right: auto;
    }
    
    .email-capture {
        margin: 0 auto;
    }
}

/* --------------------------------------------
   CTA Section
   -------------------------------------------- */
.cta {
    padding: var(--space-4xl) 0;
    background: var(--emerald-green);
}

.cta__inner {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: normal;
    color: var(--creased-khaki);
    margin-bottom: var(--space-md);
}

.cta__subtitle {
    font-size: var(--text-lg);
    color: var(--wasabi);
    margin-bottom: var(--space-xl);
}

/* --------------------------------------------
   Footer
   -------------------------------------------- */
.footer {
    padding: var(--space-2xl) 0;
    background: var(--noir-de-vigne);
    border-top: 1px solid rgba(128, 144, 118, 0.1);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    text-align: center;
}

.footer__logo {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--creased-khaki);
}

.footer__tagline {
    font-size: var(--text-sm);
    color: var(--wasabi);
}

.footer__legal {
    display: flex;
    gap: var(--space-sm);
    font-size: var(--text-xs);
    color: rgba(128, 144, 118, 0.6);
}

.footer__legal a {
    color: rgba(128, 144, 118, 0.6);
    transition: color var(--transition-fast);
}

.footer__legal a:hover {
    color: var(--creased-khaki);
}

.footer__copyright {
    font-size: var(--text-xs);
    color: rgba(128, 144, 118, 0.6);
}

/* --------------------------------------------
   Reveal Animations
   -------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for cards */
.apps__list .app-card:nth-child(1) { transition-delay: 0s; }
.apps__list .app-card:nth-child(2) { transition-delay: 0.1s; }
.apps__list .app-card:nth-child(3) { transition-delay: 0.2s; }
.apps__list .app-card:nth-child(4) { transition-delay: 0.3s; }
.apps__list .app-card:nth-child(5) { transition-delay: 0.4s; }

/* --------------------------------------------
   Responsive Breakpoints
   -------------------------------------------- */

/* Tablet and up (768px) */
@media (min-width: 768px) {
    .hero__banner-image {
        display: block;
        width: 50%;
    }
    
    .hero__content {
        max-width: 55%;
    }
    
    
    .bio__inner {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--space-3xl);
    }
    
    .bio__content {
        text-align: left;
        flex: 1;
    }
    
    .bio__social {
        justify-content: flex-start;
    }
    
    .hero__collage {
        display: block;
        position: absolute;
        top: 50%;
        right: -5%;
        transform: translateY(-50%);
        width: 55%;
        max-width: 600px;
        margin: 0;
    }
    
    .footer__inner {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer__brand {
        text-align: left;
    }
}

/* Desktop (1024px) */
@media (min-width: 1024px) {
    .hero__banner-image {
        width: 50%;
    }
    
    
    .bio__photo-wrapper {
        width: 320px;
        height: 320px;
    }
    
    .collage__caption {
        font-size: var(--text-xl);
    }
}

/* Large desktop (1440px) */
@media (min-width: 1440px) {
    :root {
        --container-max: 1320px;
    }
}

/* --------------------------------------------
   Utility Classes
   -------------------------------------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

