/* ============================================================
   ILLUME LUNA — Model Portfolio
   ============================================================ */

:root {
    --color-bg:          #0a0a0d;
    --color-surface:     #101013;
    --color-surface-2:   #16161a;
    --color-border:      rgba(255, 255, 255, 0.05);
    --color-text:        #d6d2ca;
    --color-text-muted:  #847f77;
    --color-text-dim:    #504c47;
    --color-white:       #ede9e0;
    --color-accent:      #c4956a;
    --color-accent-soft: rgba(196, 149, 106, 0.12);

    --font-sans:    'Outfit', 'Helvetica Neue', Arial, sans-serif;
    --font-serif:   'Cormorant Garamond', 'Georgia', serif;

    --space-xs:   0.5rem;
    --space-sm:   1rem;
    --space-md:   2rem;
    --space-lg:   4rem;
    --space-xl:   6rem;
    --space-2xl:  10rem;

    --nav-height: 4.5rem;
    --transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-slow: 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}


/* ---- Reset ---- */

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

html {
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #0a0a0d;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
}

.aurora {
    position: fixed;
    top: 0;
    left: -20vw;
    width: 140vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 40% at 25% 35%, rgba(196, 149, 106, 0.55) 0%, transparent 70%),
        radial-gradient(ellipse 45% 50% at 75% 25%, rgba(139, 109, 168, 0.45) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 55% 70%, rgba(106, 156, 196, 0.4) 0%, transparent 70%),
        radial-gradient(ellipse 40% 45% at 20% 75%, rgba(168, 139, 109, 0.35) 0%, transparent 70%);
    filter: blur(55px);
    opacity: 0.2;
    animation: aurora 20s ease-in-out infinite alternate;
}

@media (max-width: 680px) {
    .aurora {
        left: -40vw;
        width: 180vw;
        opacity: 0.35;
        filter: blur(40px);
    }
}

@keyframes aurora {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(3%, -2%) rotate(2deg);
    }
    100% {
        transform: translate(-2%, 3%) rotate(-1deg);
    }
}

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

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

ul { list-style: none; }

::selection {
    background-color: var(--color-accent);
    color: var(--color-bg);
}


/* ---- Navigation ---- */

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-height);
    background-color: #0a0a0d;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.nav--scrolled {
    background-color: rgba(10, 10, 13, 0.85);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 1px 0 var(--color-border);
}

.nav__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav__moon {
    opacity: 0.6;
    transition: opacity var(--transition), transform var(--transition);
}

.nav__logo:hover { color: var(--color-white); }

.nav__logo:hover .nav__moon {
    opacity: 1;
    transform: rotate(-15deg);
}

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

.nav__links a {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background-color: var(--color-accent);
    transition: width var(--transition);
}

@media (hover: hover) {
    .nav__links a:hover { color: var(--color-white); }
    .nav__links a:hover::after { width: 100%; }
}

.nav__lang {
    display: flex;
    gap: 0.4rem;
    margin-left: 0.5rem;
    padding-left: 1.2rem;
    border-left: 1px solid var(--color-border);
    list-style: none;
}

.nav__lang a {
    font-size: 0.7rem !important;
    letter-spacing: 0.1em !important;
    opacity: 0.35;
    transition: opacity var(--transition), color var(--transition);
}

.nav__lang a::after { display: none !important; }

.nav__lang a:hover { opacity: 0.7; }

.nav__lang a.active {
    color: var(--color-accent) !important;
    opacity: 1;
    font-weight: 500 !important;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    margin-right: -12px;
    z-index: 101;
}

.nav__toggle span {
    width: 22px;
    height: 1.5px;
    background-color: var(--color-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle.active span:first-child {
    transform: translateY(3.25px) rotate(45deg);
}

.nav__toggle.active span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
}


/* ---- Hero ---- */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background-color: var(--color-bg);
}

.hero__image-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

@keyframes heroReveal {
    from {
        filter: brightness(0.72) contrast(1.05) saturate(0.9) blur(12px);
        transform: scale(1.04);
        opacity: 0;
    }
    to {
        filter: brightness(0.72) contrast(1.05) saturate(0.9) blur(0px);
        transform: scale(1);
        opacity: 1;
    }
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: brightness(0.72) contrast(1.05) saturate(0.9);
    animation: heroReveal 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 30%, transparent 35%, rgba(10, 10, 13, 0.5) 100%),
        linear-gradient(to top, var(--color-bg) 0%, rgba(10, 10, 13, 0.5) 30%, transparent 60%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: var(--space-xl) var(--space-md) var(--space-lg);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.hero__tagline {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    opacity: 0.8;
}

.hero__name {
    font-family: var(--font-sans);
    font-weight: 200;
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    white-space: nowrap;
}

.hero__subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
}


/* ---- Moon Separator ---- */

.moon-sep {
    text-align: center;
    padding: var(--space-lg) 0;
    color: var(--color-accent);
    opacity: 0.35;
}


/* ---- Section Header ---- */

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

.section-header__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.section-header__title {
    font-family: var(--font-sans);
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 200;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-white);
}


/* ---- Portfolio / Gallery ---- */

.portfolio {
    padding: var(--space-xl) var(--space-md) var(--space-md);
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.gallery {
    --gallery-gap: clamp(0.5rem, 0.8vw, 0.75rem);
    --gallery-row-height: clamp(300px, 38vw, 480px);
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gallery-gap);
}

.gallery__item {
    flex-grow: var(--ratio, 1);
    flex-basis: calc(var(--ratio, 1) * var(--gallery-row-height));
    max-height: calc(var(--gallery-row-height) * 1.2);
    min-width: 0;
    overflow: hidden;
    position: relative;
    background-color: var(--color-surface);
    border-radius: 3px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    contain: layout style paint;
}

.gallery__item:last-child {
    flex-grow: 999;
}


.gallery__image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 3px;
}

.gallery__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
}

.gallery__placeholder {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: blur(20px);
    transform: scale(1.1);
    transition: opacity 0.6s ease;
    z-index: 1;
}

.gallery__image {
    display: block;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease, transform var(--transition-slow);
    z-index: 2;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.gallery__image.loaded { opacity: 1; }

.gallery__image.loaded ~ .gallery__placeholder,
.gallery__placeholder.hidden { opacity: 0; }

.gallery__credit {
    position: absolute;
    bottom: 0.55rem;
    right: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.45);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    z-index: 5;
    pointer-events: auto;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.gallery__credit::before {
    content: '\00a9';
    margin-right: 0.3em;
    opacity: 0.6;
}

a.gallery__credit:hover { background: rgba(0, 0, 0, 0.65); color: #fff; }

@media (hover: hover) {
    .gallery__item {
        transition: box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    }
    .gallery__item:hover {
        box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.5),
            0 16px 48px rgba(0, 0, 0, 0.35),
            0 0 0 1px rgba(255, 255, 255, 0.07),
            0 0 40px rgba(196, 149, 106, 0.06);
        transform: translateY(-3px);
    }
    .gallery__item:hover .gallery__image { transform: scale(1.03); }
}


/* ---- About ---- */

.about {
    padding: var(--space-xl) var(--space-md);
    background-color: transparent;
    position: relative;
    z-index: 1;
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.about__content {
    max-width: 660px;
    margin: 0 auto;
    text-align: left;
    padding-left: var(--space-lg);
    position: relative;
}

.about__content::before {
    content: '';
    position: absolute;
    left: 0; top: 0.5rem; bottom: 0.5rem;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
}

.about__text {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 300;
    font-style: italic;
    line-height: 2.1;
    color: var(--color-text-muted);
}


/* ---- Photo Drop ---- */

.photodrop {
    padding: var(--space-lg) var(--space-md);
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.photodrop__inner {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
}

.photodrop__text {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-weight: 300;
    line-height: 1.85;
    color: var(--color-text-muted);
    margin: var(--space-md) 0;
}

.photodrop__link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    padding: 0.9rem 2.4rem;
    border: 1px solid rgba(196, 149, 106, 0.3);
    transition: color var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.photodrop__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
    z-index: -1;
}

.photodrop__link svg { transition: transform var(--transition); }

@media (hover: hover) {
    .photodrop__link:hover {
        color: var(--color-bg);
        border-color: var(--color-accent);
    }
    .photodrop__link:hover::before {
        transform: scaleX(1);
        transform-origin: left;
    }
    .photodrop__link:hover svg { transform: translate(2px, -2px); }
}


/* ---- Contact ---- */

.contact {
    padding: var(--space-xl) var(--space-md) var(--space-2xl);
    background-color: transparent;
    position: relative;
    z-index: 1;
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

.contact .section-header {
    margin-bottom: var(--space-md);
}

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

.contact__email {
    font-family: var(--font-sans);
    font-size: clamp(1.3rem, 2.8vw, 2.2rem);
    font-weight: 200;
    letter-spacing: 0.06em;
    color: var(--color-white);
    position: relative;
    display: inline-block;
}

.contact__email::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 100%; height: 1px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

@media (hover: hover) {
    .contact__email:hover { color: var(--color-accent); }
    .contact__email:hover::after { transform: scaleX(1); transform-origin: left; }
}

.contact__instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    padding: 0.7rem 1.8rem;
    border: 1px solid rgba(196, 149, 106, 0.3);
    margin-top: var(--space-xs);
    transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

.contact__instagram-icon {
    transition: transform var(--transition);
}

@media (hover: hover) {
    .contact__instagram:hover {
        color: var(--color-white);
        border-color: var(--color-accent);
        background-color: var(--color-accent-soft);
    }

    .contact__instagram:hover .contact__instagram-icon {
        transform: scale(1.1);
    }
}


/* Footer styles loaded from footer.css */


/* ---- Animations ---- */

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s var(--ease-expo),
                transform 1.2s var(--ease-expo);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.gallery__item[data-reveal] {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.8s var(--ease-expo),
                transform 0.9s var(--ease-expo);
}

.gallery__item[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* ---- Lightbox ---- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background-color: rgba(5, 5, 7, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox__viewport {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    touch-action: none;
    cursor: default;
}

.lightbox--zoomed .lightbox__viewport {
    cursor: grab;
}

.lightbox__frame {
    position: relative;
    display: inline-block;
    line-height: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 32px 80px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 60px rgba(196, 149, 106, 0.04);
}

.lightbox__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 4;
}

.lightbox__image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.lightbox__close {
    position: absolute;
    top: 2rem; right: 2rem;
    z-index: 10;
    width: 44px; height: 44px;
    background: none; border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    transition: opacity var(--transition), transform var(--transition);
}

.lightbox__close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.lightbox__close::before,
.lightbox__close::after {
    content: '';
    position: absolute;
    width: 20px; height: 1px;
    background-color: var(--color-white);
}

.lightbox__close::before { transform: rotate(45deg); }
.lightbox__close::after  { transform: rotate(-45deg); }

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px; height: 48px;
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    opacity: 0.4;
    transition: opacity var(--transition), background var(--transition), border-color var(--transition);
}

.lightbox__nav:hover {
    opacity: 1;
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.2);
}

.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

.lightbox--zoomed .lightbox__nav,
.lightbox--zoomed .lightbox__close,
.lightbox--zoomed .lightbox__counter,
.lightbox--zoomed .lightbox__credit { opacity: 0; pointer-events: none; }

.lightbox__counter {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--color-text-dim);
    z-index: 10;
}

.lightbox__credit {
    position: absolute;
    bottom: 0.55rem;
    right: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.45);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
    transition: background 0.3s ease;
    z-index: 5;
    pointer-events: auto;
}

.lightbox__credit::before {
    content: '\00a9';
    margin-right: 0.3em;
    opacity: 0.6;
}

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

.lightbox__credit:hover { background: rgba(0, 0, 0, 0.65); }
.lightbox__credit a:hover { color: #fff; }


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

@media (max-width: 900px) {
    .gallery { --gallery-row-height: clamp(240px, 30vw, 360px); }
}

@media (max-width: 680px) {
    :root {
        --space-lg: 2.5rem;
        --space-xl: 3.5rem;
        --space-2xl: 5rem;
        --nav-height: 3.5rem;
    }

    /* Nav */

    .nav__toggle { display: flex; }

    .nav__logo { font-size: 0.85rem; }

    .nav__moon { width: 13px; height: 13px; }

    .nav__links {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        height: 100vh;
        height: 100dvh;
        background-color: rgba(10, 10, 13, 0.97);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .nav__links.open { opacity: 1; pointer-events: all; }

    .nav__links li { width: 100%; text-align: center; }

    .nav__links a {
        font-size: 1.1rem;
        letter-spacing: 0.25em;
        color: var(--color-text);
        display: block;
        padding: 1rem 1.5rem;
    }

    .nav__links a:active { color: var(--color-accent); }

    .nav__lang {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--color-border);
        padding-top: 1.5rem;
        margin-top: 0.5rem;
        width: auto;
    }

    .nav__lang a {
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
    }

    /* Hero */

    .hero { min-height: 100svh; }

    .hero__image { object-position: center 20%; }

    .hero__content { padding: var(--space-lg) var(--space-sm) var(--space-md); }

    .hero__name {
        font-size: clamp(1.9rem, 9vw, 3.2rem);
        letter-spacing: 0.12em;
    }

    .hero__tagline {
        font-size: 0.75rem;
        letter-spacing: 0.4em;
    }

    .hero__subtitle { font-size: 1.2rem; }

    /* Gallery */

    .gallery {
        --gallery-gap: 0.4rem;
        --gallery-row-height: clamp(200px, 40vw, 320px);
    }

    .gallery__credit {
        font-size: 0.6rem;
        bottom: 0.4rem;
        right: 0.5rem;
    }

    .portfolio { padding: var(--space-lg) var(--space-xs); }

    .section-header { margin-bottom: var(--space-md); }

    .section-header__label { font-size: 0.75rem; }

    /* About */

    .about { padding: var(--space-lg) var(--space-sm); }

    .about__content {
        padding-left: var(--space-md);
        text-align: left;
    }

    .about__text {
        font-size: 1.1rem;
        line-height: 1.9;
    }

    /* Photodrop */

    .photodrop { padding: var(--space-lg) var(--space-sm); }

    .photodrop__link {
        font-size: 0.8rem;
        padding: 1rem 2rem;
        min-height: 48px;
    }

    .photodrop__text { font-size: 1.25rem; }

    /* Contact */

    .contact { padding: var(--space-lg) var(--space-sm) var(--space-xl); }

    .contact__email {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
        padding: 0.5rem 0;
    }

    .contact__instagram {
        min-height: 48px;
        font-size: 0.9rem;
    }

    /* Footer styles loaded from footer.css */

    /* Moon separator */

    .moon-sep { padding: var(--space-md) 0; }

    /* Lightbox */

    .lightbox__image { max-width: 98vw; max-height: 85vh; }

    .lightbox__close {
        top: 0.75rem; right: 0.75rem;
        width: 48px; height: 48px;
    }

    .lightbox__close::before,
    .lightbox__close::after { width: 24px; }

    .lightbox__nav {
        width: 40px; height: 40px;
        opacity: 0.3;
    }

    .lightbox__prev { left: 0.5rem; }
    .lightbox__next { right: 0.5rem; }

    .lightbox__counter { top: 0.75rem; left: 0.75rem; font-size: 0.65rem; }
    .lightbox__credit { bottom: 0.4rem; right: 0.5rem; font-size: 0.55rem; padding: 0.15rem 0.4rem; }
}

@media (max-width: 380px) {
    :root {
        --space-2xl: 4rem;
        --space-xl: 3rem;
    }

    .hero__name { font-size: 2.1rem; letter-spacing: 0.1em; }

    .nav__logo { font-size: 0.8rem; letter-spacing: 0.2em; }

    .section-header__title { font-size: 2.1rem; }

    .gallery { --gallery-row-height: 260px; }

    .about__text { font-size: 1rem; }

    .contact__email { font-size: 1rem; }
}
