:root {
    --bg-primary: #0a0a0f;
    --bg-surface: #12121a;
    --text-primary: #e0e0e8;
    --text-secondary: #8888a0;
    --accent: #00e5cc;
    --accent-secondary: #7b5ea7;
    --border: #1e1e2a;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ffff00;
}

/* Background canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Main content */
main {
    position: relative;
    z-index: 1;
}

/* Sections */
section {
    padding: 80px 5vw;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h1 {
    font-family: 'Trebuchet MS', system-ui, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.3em;
    white-space: nowrap;
    color: #ffffff;
}

h2 {
    font-family: 'Trebuchet MS', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

h3 {
    font-family: 'Trebuchet MS', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: none;
    padding-top: 0;
    padding-bottom: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-model {
    flex-shrink: 0;
    position: relative;
}


.hero-text {
    position: relative;
    z-index: 1;
}

.hero-photo {
    height: 350px;
    width: auto;
    border-radius: 0;
    object-fit: cover;
    object-position: center top;
    display: block;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.tagline {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1em;
    line-height: 1.6;
}

.tagline a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.tagline a:hover {
    color: #ffff00;
}

.tagline:last-of-type {
    margin-bottom: 1.5rem;
}

.hero-nav {
    display: flex;
    gap: 1.5rem;
}

.hero-nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.3em 0;
    border-bottom: 1px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}

.hero-nav a:hover {
    color: #ffff00;
    border-bottom-color: #ffff00;
}

/* About */
.intro {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-primary);
    max-width: 600px;
}

.things-list {
    list-style: none;
    padding: 0;
}

.things-list li {
    padding: 0.4em 0;
    padding-left: 1.2em;
    position: relative;
    color: var(--text-primary);
}

.things-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
}

.things-list li a {
    color: var(--text-secondary);
}

.things-list li a:hover {
    color: #ffff00;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.pill {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 0.4em 1em;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.pill small {
    color: var(--text-secondary);
    margin-left: 0.4em;
}

/* Photography accordion tiles */
.photography-tiles {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.photography-category {
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.category-tile {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: var(--bg-surface);
    border: none;
    color: var(--text-primary);
    font-family: 'Trebuchet MS', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.category-tile:hover {
    background: #1a1a26;
}

.tile-label {
    flex: 1;
    text-align: left;
}

.tile-count {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
}

.tile-arrow {
    color: var(--accent);
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.3s;
}

.photography-category.open .tile-arrow {
    transform: rotate(45deg);
}

/* Collapsible content */
.category-content {
    display: none;
}

.photography-category.open .category-content {
    display: block;
}

.category-grid {
    column-count: 3;
    column-gap: 6px;
    padding: 6px;
}

.category-grid figure {
    margin: 0 0 6px 0;
    break-inside: avoid;
    overflow: hidden;
    border-radius: 3px;
    line-height: 0;
}

.category-grid img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 80vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem;
    transition: color 0.2s;
    z-index: 101;
    line-height: 1;
}

.lightbox-arrow:hover {
    color: rgba(255, 255, 255, 0.7);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

/* Contact */
#contact {
    text-align: center;
    padding-bottom: 120px;
}

#contact h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.email-link {
    display: inline-block;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #ffff00;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
    .category-grid {
        column-count: 2;
    }

    #hero {
        padding-top: 0;
        align-items: flex-start;
    }

    .hero-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-photo {
        width: 200px;
        height: 200px;
    }

    .hero-text {
        padding: 0 25px;
    }

    h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 600px) {
    section {
        padding: 60px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    .category-grid {
        column-count: 1;
    }

    .hero-nav {
        flex-direction: column;
        gap: 0.8rem;
    }
}
