/* ── Romero Font ── */
@font-face {
    font-family: 'Romero';
    src: url('../fonts/romero-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --bg: #0d0d0d;
    --surface: #161616;
    --border: #2a2a2a;
    --muted: #5a5a5a;
    --text: #c8c2b8;
    --heading: #f0ece6;
    --accent: #c9a96e;
    --accent-d: #a07840;
    --font-display: 'Romero', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
    --nav-h: 64px;
    --ease: cubic-bezier(.25, .46, .45, .94);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
    cursor: none;
}

/* ── Custom Cursor (Camera Lens) ── */
#cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width .25s var(--ease), height .25s var(--ease), opacity .25s, background .25s;
    box-shadow: 0 0 6px rgba(201, 169, 110, .5);
}

#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(201, 169, 110, .45);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width .3s var(--ease), height .3s var(--ease), border-color .3s, box-shadow .3s;
    box-shadow: inset 0 0 0 3px rgba(201, 169, 110, .08), 0 0 0 1px rgba(201, 169, 110, .15);
}

/* Lens crosshair marks */
#cursor-ring::before,
#cursor-ring::after {
    content: '';
    position: absolute;
    background: rgba(201, 169, 110, .35);
    transition: background .3s;
}

#cursor-ring::before {
    width: 1px;
    height: 6px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -180%);
    box-shadow: 0 24px 0 rgba(201, 169, 110, .35);
}

#cursor-ring::after {
    width: 6px;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-180%, -50%);
    box-shadow: 24px 0 0 rgba(201, 169, 110, .35);
}

body:hover #cursor {
    opacity: 1;
}

/* ── Navigation ── */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    z-index: 100;
    transition: background .4s var(--ease), backdrop-filter .4s, transform .35s var(--ease);
}

#nav.nav-hidden {
    transform: translateY(-100%);
}

nav.scrolled {
    background: rgba(13, 13, 13, .88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 300;
    color: var(--heading);
    letter-spacing: .04em;
    text-decoration: none;
    white-space: nowrap;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color .25s;
    position: relative;
    font-weight: 400;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.nav-links a:hover {
    color: var(--heading);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* Hamburger */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: border-color .35s var(--ease), background .35s var(--ease);
}

.nav-toggle:hover {
    border-color: var(--accent);
    background: rgba(201, 169, 110, .08);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--heading);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform .4s var(--ease), opacity .3s var(--ease), width .3s var(--ease), background .3s;
}

.nav-toggle span:nth-child(1) {
    top: 14px;
}

.nav-toggle span:nth-child(2) {
    top: 21px;
    width: 12px;
}

.nav-toggle span:nth-child(3) {
    top: 28px;
}

.nav-toggle.open {
    border-color: var(--accent);
    background: rgba(201, 169, 110, .1);
}

.nav-toggle.open span {
    background: var(--accent);
}

.nav-toggle.open span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-toggle.open span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: linear-gradient(160deg, rgba(13, 13, 13, .98) 0%, rgba(22, 22, 22, .98) 100%);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    color: var(--heading);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 300;
    letter-spacing: .06em;
    padding: .8rem 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: color .25s, opacity .5s var(--ease), transform .5s var(--ease);
}

.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.open a:nth-child(1) { transition-delay: .1s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .18s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .26s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .34s; }

.mobile-menu a::after {
    content: '';
    position: absolute;
    bottom: .4rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: transform .3s var(--ease);
}

.mobile-menu a:hover {
    color: var(--accent);
}

.mobile-menu a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ── Hero ── */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1800&q=80') center/cover no-repeat;
    transform: scale(1.06);
    transition: transform 8s var(--ease);
}

#hero.loaded .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(13, 13, 13, .9) 0%,
            rgba(13, 13, 13, .3) 50%,
            rgba(13, 13, 13, .1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 7vw, 6rem);
    max-width: 720px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ease) .3s, transform .9s var(--ease) .3s;
}

#hero.loaded .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-eyebrow {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.4rem;
    font-weight: 400;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.5vw, 5.8rem);
    font-weight: 300;
    line-height: 1.08;
    color: var(--heading);
    margin-bottom: 1.4rem;
    letter-spacing: -.01em;
}

.hero-title em {
    font-style: italic;
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(.9rem, 1.4vw, 1.06rem);
    color: rgba(200, 194, 184, .75);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.85;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 2.2rem;
    font-family: var(--font-body);
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--accent);
    color: var(--heading);
    background: transparent;
    cursor: pointer;
    transition: background .25s, color .25s, transform .2s;
    position: relative;
    overflow: hidden;
    font-weight: 400;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: translateX(-101%);
    transition: transform .3s var(--ease);
    z-index: 0;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn:hover {
    color: #0d0d0d;
}

.btn span,
.btn svg {
    position: relative;
    z-index: 1;
}

.btn-ghost {
    border-color: rgba(200, 194, 184, .3);
}

.btn-ghost::before {
    background: rgba(200, 194, 184, .1);
}

.btn-ghost:hover {
    color: var(--heading);
}

/* ── Section Wrapper ── */
.section {
    padding: clamp(4.5rem, 9vw, 8rem) clamp(1.5rem, 6vw, 6rem);
}

@media (min-width: 1200px) {
    .section {
        padding-left: calc((100% - 1200px) / 2 + 3rem);
        padding-right: calc((100% - 1200px) / 2 + 3rem);
    }
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .8rem;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 400;
}

.section-label::after {
    content: '';
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--heading);
    line-height: 1.15;
    margin-bottom: 3rem;
    letter-spacing: .01em;
}

/* ── Portfolio / Carousel ── */
#portfolio {
    background: var(--surface);
}

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem 0;
}

/* Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 20px));
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(22, 22, 22, .85);
    backdrop-filter: blur(8px);
    color: var(--heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s, border-color .3s, transform .3s;
}

.carousel-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #0d0d0d;
}

.carousel-arrow--left {
    left: -10px;
}

.carousel-arrow--right {
    right: -10px;
}

@media (min-width: 900px) {
    .carousel-arrow--left {
        left: -26px;
    }

    .carousel-arrow--right {
        right: -26px;
    }
}

/* Viewport */
.carousel-viewport {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    transition: transform .55s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card */
.carousel-card {
    position: relative;
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    transition: transform .4s var(--ease), box-shadow .4s;
}

.carousel-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.carousel-card img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform .6s var(--ease), filter .4s;
}

.carousel-card:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

@media (max-width: 600px) {
    .carousel-card img {
        height: 260px;
    }
}

/* Card Overlay — hidden by default, appears on hover */
.carousel-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(13, 13, 13, .88) 0%,
            rgba(13, 13, 13, .25) 45%,
            transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s var(--ease);
}

.carousel-card:hover .carousel-card__overlay {
    opacity: 1;
}

.carousel-card__text {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    transform: translateY(10px);
    transition: transform .4s var(--ease);
}

.carousel-card:hover .carousel-card__text {
    transform: translateY(0);
}

.carousel-card__cat {
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}

.carousel-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--heading);
    line-height: 1.3;
}

/* Dots */
.carousel-dots {
    display: flex;
    gap: .7rem;
    justify-content: center;
    width: 100%;
    margin-top: 1.6rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--muted);
    background: transparent;
    cursor: pointer;
    transition: background .3s, border-color .3s, transform .3s;
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.25);
}

.carousel-dot:hover:not(.active) {
    border-color: var(--heading);
    background: rgba(240, 236, 230, .2);
}

/* ── Expandable Event Gallery ── */
.event-gallery {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .6s cubic-bezier(.4, 0, .2, 1),
        opacity .5s ease,
        margin-top .4s ease;
    margin-top: 0;
}

.event-gallery.open {
    max-height: 2000px;
    opacity: 1;
    margin-top: 3rem;
}

.event-gallery__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.event-gallery__title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--heading);
    letter-spacing: .04em;
}

.event-gallery__close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(22, 22, 22, .6);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s, color .3s, border-color .3s;
}

.event-gallery__close:hover {
    background: rgba(224, 112, 112, .15);
    border-color: #e07070;
    color: #e07070;
}

/* Gallery Grid */
.event-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 600px) {
    .event-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1000px) {
    .event-gallery__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(.96);
    animation: galleryFadeIn .5s var(--ease) forwards;
}

.gallery-item:nth-child(1) {
    animation-delay: .05s;
}

.gallery-item:nth-child(2) {
    animation-delay: .1s;
}

.gallery-item:nth-child(3) {
    animation-delay: .15s;
}

.gallery-item:nth-child(4) {
    animation-delay: .2s;
}

.gallery-item:nth-child(5) {
    animation-delay: .25s;
}

.gallery-item:nth-child(6) {
    animation-delay: .3s;
}

.gallery-item:nth-child(7) {
    animation-delay: .35s;
}

.gallery-item:nth-child(8) {
    animation-delay: .4s;
}

@keyframes galleryFadeIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .5s var(--ease), filter .3s;
}

@media (max-width: 600px) {
    .gallery-item img {
        height: 150px;
    }
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, .5) 0%, transparent 50%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ── Masonry Gallery ── */
.masonry {
    columns: 3;
    column-gap: 16px;
}

@media (max-width: 999px) {
    .masonry {
        columns: 2;
    }
}

@media (max-width: 500px) {
    .masonry {
        columns: 1;
    }
}

.masonry-item {
    display: block;
    break-inside: avoid;
    position: relative;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.masonry-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .6s var(--ease), filter .4s;
}

.masonry-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.08);
}

/* Overlay */
.masonry-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(13, 13, 13, .92) 0%,
            rgba(13, 13, 13, .35) 40%,
            transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.6rem;
    opacity: 0;
    transition: opacity .4s var(--ease);
}

.masonry-item:hover .overlay {
    opacity: 1;
}

.overlay-text {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    transform: translateY(10px);
    transition: transform .4s var(--ease);
}

.masonry-item:hover .overlay-text {
    transform: translateY(0);
}

.overlay-title {
    font-family: 'Romero', var(--font-display), serif;
    font-size: clamp(.95rem, 2vw, 1.3rem);
    font-weight: 700;
    color: var(--accent);
    line-height: 1.25;
    letter-spacing: .02em;
}

.overlay-sub {
    font-family: var(--font-body);
    font-size: .76rem;
    letter-spacing: .06em;
    color: var(--heading);
    font-weight: 300;
}

/* ── About ── */
#about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: start;
}

@media(min-width:768px) {
    #about {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 4rem;
    }
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid var(--accent);
    z-index: 0;
}

.about-img-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    filter: grayscale(20%);
    transition: filter .4s;
}

.about-img-wrap:hover img {
    filter: grayscale(0);
}

.about-content .section-label {
    margin-bottom: .8rem;
}

.about-content .section-title {
    margin-bottom: 1.8rem;
}

.about-content p {
    color: var(--text);
    margin-bottom: 1.2rem;
    line-height: 1.85;
    font-size: .95rem;
    text-align: left;
}

.stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.4rem 0;
    text-align: center;
}

.stats > div {
    flex: 1;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--heading);
    display: block;
    line-height: 1;
    margin-bottom: .4rem;
}

.stat-lbl {
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
}

/* ── Contact ── */
#contact {
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

@media(min-width:768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 4rem;
    }
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 300;
    color: var(--heading);
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.contact-info p {
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 1.8rem;
    font-size: .95rem;
}

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

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--muted);
    text-decoration: none;
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 400;
    transition: border-color .25s, color .25s, background .25s;
}

.social-btn svg {
    flex-shrink: 0;
}

.social-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(201, 169, 110, .07);
}

/* Form */
.form-group {
    margin-bottom: 1.6rem;
}

label {
    display: block;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem;
    font-weight: 400;
}

input,
textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--heading);
    font-family: var(--font-body);
    font-size: .92rem;
    padding: .75rem 0;
    outline: none;
    transition: border-color .25s;
    resize: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--muted);
    opacity: .6;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
}

textarea {
    min-height: 110px;
}

.form-status {
    font-size: .82rem;
    padding: .7rem 0;
    display: none;
}

.form-status.success {
    display: block;
    color: #7ec8a0;
}

.form-status.error {
    display: block;
    color: #e07070;
}

/* ── Footer ── */
footer {
    padding: 2.5rem clamp(1.5rem, 6vw, 6rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid var(--border);
}

footer p {
    font-size: .74rem;
    letter-spacing: .08em;
    color: var(--muted);
    line-height: 1.6;
}

footer a {
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}

footer a:hover {
    color: var(--accent);
}

/* ── Fade-in on scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

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

/* ── Lightbox ── */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(13, 13, 13, .97);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#lightbox.open {
    display: flex;
}

#lightbox img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 80px rgba(0, 0, 0, .8);
}

#lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 2rem;
    line-height: 1;
    transition: color .2s;
}

#lightbox-close:hover {
    color: var(--heading);
}

/* ── Utility ── */
@media(max-width:767px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .stats {
        gap: 1rem;
    }

    .stat-num {
        font-size: 1.6rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .about-content p {
        font-size: .9rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: .6rem;
    }
}