/* Reset and Variables */
:root {
    --bg-color: #f8f8f4;
    --text-color: #111;
    --accent-color: #666;
    --font-main: 'Outfit', sans-serif;
    --spacing-unit: 2rem;
    --container-width: 1100px;
    --gold-primary: #A67C00;
    /* Darkened for better accessibility contrast */
    --gold-light: #C5A02E;
    --gold-gradient: linear-gradient(135deg, #A67C00 0%, #C5A02E 50%, #A67C00 100%);
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
    --anim-duration: 1.2s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.6;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    position: relative;
    width: 100%;
}

/* --- ANIMATION UTILITIES --- */

/* Base hidden state */
.fade-in,
.credential-item,
.social-links {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--anim-duration) var(--ease-premium), transform var(--anim-duration) var(--ease-premium);
    filter: blur(4px);
    will-change: opacity, transform, filter;
}

/* Staggered List Items */
.stagger-list li {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--anim-duration) var(--ease-premium), transform var(--anim-duration) var(--ease-premium);
    filter: blur(2px);
}

/* Text Splitting specific styles */
.word-span,
.line-span {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    filter: blur(8px);
    transition: opacity var(--anim-duration) var(--ease-premium), transform var(--anim-duration) var(--ease-premium), filter var(--anim-duration) var(--ease-premium);
}

/* Visible State */
.visible,
.stagger-list li.visible,
.word-span.visible,
.line-span.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Delays are handled in JS or Nth-child for simple lists */
.stagger-list li:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-list li:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-list li:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-list li:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-list li:nth-child(5) {
    transition-delay: 0.5s;
}


/* --- LAYOUT --- */

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    /* Reduced fixed height */
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-unit);
    z-index: 5000;
    background-color: #000;
    /* Black Header */
    color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-contact {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.site-header.links-visible .header-contact {
    opacity: 1;
    pointer-events: auto;
}

.header-socials {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.site-header.links-visible .header-socials {
    opacity: 1;
    pointer-events: auto;
}

.header-link {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.header-link i {
    font-size: 0.9rem;
}

.header-link:hover {
    color: var(--gold-light);
    opacity: 1;
}

.scroll-indicator-link:hover .scroll-indicator {
    color: var(--gold-light);
}

@media (max-width: 600px) {
    .header-link span {
        display: none;
    }

    .header-socials,
    .header-contact {
        gap: 1rem;
    }

    .site-header {
        padding: 0 1rem;
    }
}

.logo {
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
}

.header-logo-img {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    /* Reduced height */
    padding: clamp(4rem, 8vh, 6rem) 0 clamp(2rem, 5vh, 4rem);
    margin-top: 100vh;
    /* Start below the fold so "Glow Lady" is home page */
    display: flex;
    align-items: flex-start;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-areas:
        "headline image"
        "subhead image";
    gap: 1.5rem 3rem;
    /* Reduced Gap */
    align-items: center;
    width: 100%;
}

.hero-headline {
    grid-area: headline;
}

.hero-subhead {
    grid-area: subhead;
}

.hero-image-container {
    grid-area: image;
}

.hero-headline {
    font-size: clamp(2.2rem, 7.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    /* Reduced margin */
    margin-top: 0;
    text-align: left;
    color: var(--text-color);
}

.hero-headline .text-stagger {
    margin-bottom: 0.5rem;
    /* Reduced margin */
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: simpleFadeUp 1s var(--ease-premium) forwards;
}

.hero-headline .text-stagger:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-headline .text-stagger:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-headline .text-stagger:nth-child(3) {
    animation-delay: 0.3s;
}

.hero-headline .text-stagger:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes simpleFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subhead {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--accent-color);
    text-align: left;
    max-width: 500px;
    margin: 0 0 2rem 0;
    /* Reduced margin */
    font-weight: 400;
    opacity: 0;
    animation: simpleFadeUp 1s var(--ease-premium) forwards;
    animation-delay: 0.6s;
}

.hero-list {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
    /* Reduced gap */
    flex-wrap: wrap;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hero-image-container {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s var(--ease-premium);
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

/* Mobile Tweaks */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "headline"
            "image"
            "subhead";
        gap: 2rem;
        /* Reduced gap */
        justify-items: center;
        text-align: center;
    }

    .hero-headline,
    .hero-subhead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-container {
        aspect-ratio: 4 / 5;
        max-height: 60vh;
        width: 100%;
        max-width: 400px;
    }
}


/* Experience / Credentials */
.credentials {
    padding: clamp(2rem, 4vh, 3.5rem) 0 clamp(1rem, 2vh, 1.5rem);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    /* Reduced gap */
    align-items: start;
}

.credential-item {
    margin-bottom: 0;
    text-align: center;
}

.credential-title {
    display: block;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    /* Reduced margin */
    letter-spacing: -0.03em;
}

.credential-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
}

/* Mobile Credentials */
@media (max-width: 768px) {
    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        /* Reduced gap */
    }
}

/* About / Story */
.about {
    padding: clamp(3rem, 6vh, 5rem) 0;
}

.story-text {
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Category Gallery */
.category-gallery {
    padding: clamp(1rem, 2vh, 2rem) 0 clamp(2rem, 4vh, 3.5rem);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    /* Reduced gap */
}

.category-card {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.category-image {
    height: 100%;
    transition: transform 1.2s var(--ease-premium);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card:hover .category-image {
    transform: scale(1.08);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    transform: translateY(10px);
    transition: transform 0.6s var(--ease-premium);
}

.category-card:hover .category-info {
    transform: translateY(0);
}

.category-info h2 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin: 0;
}

@media (max-width: 968px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* Highlights */
.highlights {
    padding: clamp(3rem, 6vh, 5rem) 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    /* Reduced gap */
    text-align: center;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    /* Reduced gap */
    transition: transform 0.6s var(--ease-premium);
}

.highlight-item:hover {
    transform: translateY(-8px);
}

.highlight-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background-color: #eee;
    cursor: zoom-in;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-premium);
}

.highlight-item:hover .highlight-image img {
    transform: scale(1.1);
}

.highlight-item span {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-primary);
}

@media (max-width: 968px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        /* Reduced gap */
    }
}

@media (max-width: 480px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact */
.contact {
    padding: clamp(3rem, 6vh, 5rem) 0 clamp(2rem, 4vh, 3rem);
    text-align: center;
}

.contact h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    /* Reduced margin */
    font-weight: 600;
}

.contact-quote {
    font-size: clamp(2rem, 8vw, 2.5rem);
    font-style: italic;
    font-family: 'Times New Roman', serif;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    /* Reduced margin */
    color: var(--accent-color);
}

.contact-email {
    display: inline-block;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    /* Reduced margin */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}

.contact-details {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    /* Reduced margin */
    color: var(--accent-color);
}

.address-link {
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.address-link:hover {
    color: var(--gold-primary);
}

.mobile-only-br {
    display: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    /* Reduced gap */
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.site-footer {
    padding: 1rem var(--spacing-unit);
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid rgba(197, 160, 46, 0.2);
    padding-top: 1rem;
    gap: 1rem;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.75rem;
    gap: 2rem;
}

.footer-copyright>span {
    flex: 1;
}

.footer-copyright span:last-child {
    text-align: right;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.footer-logo-link:hover {
    transform: scale(1.05);
}

.footer-logo {
    width: 50px;
    /* Slightly smaller for single-line fit */
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Mobile */
@media (max-width: 768px) {
    .site-footer .container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-copyright>span,
    .footer-copyright span:last-child {
        flex: none;
        text-align: center;
    }

    .social-links {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .contact-details p {
        margin-bottom: 2rem;
    }

    .address-link {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
        width: 100%;
    }

    .address-link i {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }

    .mobile-only-br {
        display: block;
        content: "";
        margin-top: 0.3rem;
    }

    .mobile-split {
        display: none;
    }
}

/* Intro Overlay */
.intro-overlay {
    position: absolute;
    /* Scrolls up with page */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    /* Solid black constant */
    /* No opacity transitions */

    z-index: 4990;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Allow scroll through */
}



.intro-text {
    position: fixed;
    /* Interpolate top: 50% - 4vw (Visually centered group) -> 25px (center of 50px header) */
    top: calc((50% - 4vw) * (1 - var(--intro-progress, 0)) + 25px * var(--intro-progress, 0));
    left: 50%;
    transform: translate(-50%, -50%);

    /* Font size: Start 16vw (approx 75% width for Title Case) -> End 1.2rem */
    font-size: calc(16vw * (1 - var(--intro-progress, 0)) + 1.2rem * var(--intro-progress, 0));

    font-weight: 400;
    /* Regular weight like reference */
    color: #fff;

    /* Letter spacing: Normal -> slight spread */
    letter-spacing: calc(0em * (1 - var(--intro-progress, 0)) + 0.05em * var(--intro-progress, 0));

    /* Title Case in HTML: Glow Lady */

    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(2vw * (1 - var(--intro-progress, 0)) + 0.8rem * var(--intro-progress, 0));

    white-space: nowrap;
    margin: 0;
    line-height: 1;
    text-align: center;
    z-index: 6000;
    mix-blend-mode: normal;
    transition: none;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: inherit;
    color: inherit;
    text-decoration: none;
    pointer-events: auto;
}

.intro-logo-img {
    height: 30px;
    width: auto;
    /* Reveal only at the end of the scroll (header dock) */
    opacity: clamp(0, (var(--intro-progress, 0) - 0.7) * 3.33, 1);
    transform: translateX(calc(10px * (1 - var(--intro-progress, 0))));
    filter: blur(calc(4px * (1 - var(--intro-progress, 0))));
    transition: opacity 0.2s ease;
}

.intro-tagline {
    position: fixed;
    /* Align below text: 50% + 6vw (Visually centered group) */
    top: calc((50% + 6vw) * (1 - var(--intro-progress, 0)) + 65px * var(--intro-progress, 0));
    left: 50%;
    transform: translate(-50%, -50%);

    /* Proportional size: 25% of 16vw = 4vw */
    font-size: calc(4vw * (1 - var(--intro-progress, 0)) + 0.8rem * var(--intro-progress, 0));

    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-primary);
    opacity: calc(1 - var(--intro-progress, 0) * 1.5);

    z-index: 6010;
    pointer-events: none;
    transition: none;
    white-space: nowrap;
}

/* Ensure header logo stays hidden */
.site-header .logo {
    opacity: 0;
    pointer-events: none;
}

/* Scroll Indicator */
.scroll-indicator-link {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5002;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-indicator-link:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator {
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: calc(1 - var(--intro-progress, 0) * 5);
    /* Fade out very fast */
    transition: opacity 0.1s;
}

/* Global Mobile Spacing */
@media (max-width: 768px) {
    :root {
        --spacing-unit: 1.5rem;
    }
}