:root {
    --bg: #060606;
    --panel: #111111;
    --panel-2: #171717;
    --text: #f3f3f3;
    --muted: #b8b8b8;
    --accent: #c7a56d;
    --line: rgba(255, 255, 255, 0.1);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --max: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 10% 16%, rgba(199, 165, 109, 0.12), transparent 28%),
        radial-gradient(circle at 90% 30%, rgba(199, 165, 109, 0.08), transparent 30%),
        linear-gradient(180deg, #050505 0%, #0c0c0c 100%);
    color: var(--text);
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(92%, var(--max));
    margin: 0 auto;
}
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(8, 8, 8, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.custom-logo {
    max-height: 64px;
    width: auto;
}

.brand-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: 0.03em;
    font-size: 1.5rem;
    font-weight: 700;
}

.main-nav {
    margin-left: auto;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-end;
    color: var(--muted);
    font-size: 0.95rem;
}

.menu a:hover,
.menu .current-menu-item a {
    color: #fff;
}

.hero {
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 120px 0 60px;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: none;
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 30%, rgba(199, 165, 109, 0.09), transparent 24%),
        radial-gradient(circle at 22% 74%, rgba(255, 255, 255, 0.05), transparent 24%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.22em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 14px;
}

h1,
.section-title,
.card h3,
.news-main h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

h1 {
    margin: 0 0 16px;
    font-size: clamp(3.3rem, 8vw, 6.1rem);
    line-height: 0.94;
    letter-spacing: -0.03em;
}

.lead {
    margin: 0 0 30px;
    color: #d8d8d8;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    max-width: 650px;
}

.btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #111;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.portrait,
.about-photo {
    border-radius: 28px;
    overflow: hidden;
    background: #121212;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.portrait {
    position: relative;
    overflow: visible;
    isolation: isolate;
    background: transparent;
    z-index: 0;
    box-shadow:
        var(--shadow),
        0 0 18px rgba(122, 255, 203, 0.2),
        0 0 44px rgba(107, 177, 255, 0.18),
        0 0 86px rgba(120, 223, 255, 0.14);
    animation: jj-aurora-breathe 7.4s ease-in-out infinite;
}

.portrait::before,
.portrait::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 34px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.92;
    filter: blur(24px) saturate(1.1);
}

.portrait::before {
    inset: -16px;
    border-radius: 40px;
    background:
        linear-gradient(
            118deg,
            rgba(0, 0, 0, 0) 6%,
            rgba(126, 255, 212, 0.44) 24%,
            rgba(103, 179, 255, 0.38) 44%,
            rgba(158, 217, 255, 0.26) 62%,
            rgba(234, 206, 142, 0.2) 78%,
            rgba(0, 0, 0, 0) 96%
        );
    background-size: 210% 210%;
    animation: jj-aurora-wave 9.8s cubic-bezier(0.45, 0.05, 0.2, 1) infinite;
}

.portrait::after {
    content: '';
    inset: -26px;
    border-radius: 48px;
    opacity: 0.7;
    background:
        radial-gradient(circle at 16% 64%, rgba(126, 255, 212, 0.34), transparent 34%),
        radial-gradient(circle at 82% 26%, rgba(103, 179, 255, 0.3), transparent 32%),
        radial-gradient(circle at 64% 78%, rgba(234, 206, 142, 0.2), transparent 36%);
    animation: jj-aurora-drift 13.6s ease-in-out infinite reverse;
}

.portrait img {
    width: 100%;
    aspect-ratio: 0.8 / 1;
    object-fit: cover;
    border-radius: 28px;
    position: relative;
    z-index: 1;
}

@keyframes jj-aurora-breathe {
    0% {
        box-shadow:
            var(--shadow),
            0 0 14px rgba(126, 255, 212, 0.16),
            0 0 34px rgba(103, 179, 255, 0.14),
            0 0 66px rgba(120, 223, 255, 0.12);
    }
    45% {
        box-shadow:
            var(--shadow),
            0 0 26px rgba(126, 255, 212, 0.28),
            0 0 62px rgba(103, 179, 255, 0.24),
            0 0 118px rgba(120, 223, 255, 0.2);
    }
    100% {
        box-shadow:
            var(--shadow),
            0 0 16px rgba(126, 255, 212, 0.18),
            0 0 38px rgba(103, 179, 255, 0.16),
            0 0 74px rgba(120, 223, 255, 0.13);
    }
}

@keyframes jj-aurora-wave {
    0% {
        opacity: 0.68;
        background-position: 0% 50%;
        transform: translate3d(-12px, 8px, 0) rotate(-3deg) scale(0.98);
    }
    33% {
        opacity: 0.98;
        background-position: 52% 36%;
        transform: translate3d(10px, -14px, 0) rotate(2.8deg) scale(1.03);
    }
    66% {
        opacity: 0.82;
        background-position: 84% 62%;
        transform: translate3d(8px, 10px, 0) rotate(-2deg) scale(1.02);
    }
    100% {
        opacity: 0.7;
        background-position: 100% 48%;
        transform: translate3d(-10px, 6px, 0) rotate(3deg) scale(0.99);
    }
}

@keyframes jj-aurora-drift {
    0% {
        transform: translate3d(-6px, 8px, 0) rotate(-2deg) scale(0.98);
        opacity: 0.46;
    }
    50% {
        transform: translate3d(12px, -12px, 0) rotate(2.6deg) scale(1.05);
        opacity: 0.72;
    }
    100% {
        transform: translate3d(-9px, 10px, 0) rotate(-1.6deg) scale(1.01);
        opacity: 0.52;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portrait {
        animation: none;
    }
    .portrait::before,
    .portrait::after {
        animation: none;
    }
}

.image-placeholder,
.video-placeholder {
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 24px;
    text-align: center;
    color: var(--muted);
    background: linear-gradient(180deg, #121212, #1a1a1a);
}

.section {
    padding: 88px 0;
}

.section-title {
    margin: 0 0 12px;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.02;
}

.section-intro {
    margin: 0 0 34px;
    max-width: 760px;
    color: var(--muted);
}

.showreel-frame {
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.showreel-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.showreel-frame video {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(199, 165, 109, 0.42);
}

.card-media {
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    background: #151515;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.02);
}

.card-body {
    padding: 24px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 1.75rem;
}

.card p {
    margin: 0 0 14px;
    color: var(--muted);
}

.more {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.95rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 42px;
    align-items: center;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 1 / 1.16;
    object-fit: cover;
}

.about-text p {
    margin: 0 0 16px;
    color: #d3d3d3;
    font-size: 1.04rem;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
}

.news-main,
.news-side {
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
}

.news-main-inner {
    padding: 28px;
}

.news-badge {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-main h3 {
    margin: 0 0 10px;
    font-size: 2.2rem;
}

.news-main p,
.news-side p {
    margin: 0;
    color: var(--muted);
}

.news-side .item {
    padding: 22px 24px;
    border-top: 1px solid var(--line);
}

.news-side .item:first-child {
    border-top: 0;
}

.news-side h4 {
    margin: 0 0 6px;
    font-size: 1.08rem;
}

.photo-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.photo {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    background: #111;
    aspect-ratio: 1 / 1;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-label {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    font-size: 12pt;
    line-height: 1;
    color: #fff;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    transition: transform 0.18s ease;
    transform: translateY(0);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 20px);
}

.photo:hover .photo-label {
    transform: translateY(-3px);
}

.contact {
    background: #090909;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: start;
}

.contact-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
}

.contact-line {
    margin: 0 0 10px;
    color: #dddddd;
}

.contact-line strong {
    color: #fff;
}

.contact-line a {
    color: #fff;
}

.agents {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.agents ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #ddd;
}

.agents li {
    margin-bottom: 8px;
}

.footer {
    padding: 28px 0 44px;
    text-align: center;
    color: #9f9f9f;
    font-size: 0.94rem;
}

.single-wrap,
.photo-single-wrap {
    padding-top: 54px;
}

.single-card,
.photo-single-card {
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.single-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.single-media {
    background: #0f0f0f;
    min-height: 360px;
}

#portfolio-single .single-card {
    grid-template-columns: 1fr;
}

#portfolio-single .single-media-preview {
    min-height: auto;
    padding: 0 34px 34px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    background: transparent;
}

#portfolio-single .single-video {
    width: 100%;
    max-width: 100%;
}

#portfolio-single .single-video .wp-video,
#portfolio-single .single-video .mejs-container,
#portfolio-single .single-video .mejs-mediaelement {
    width: 100% !important;
    max-width: 100% !important;
}

#portfolio-single .single-video video {
    width: 100% !important;
    height: auto !important;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

#portfolio-single .single-preview-image {
    align-self: flex-start;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #101010;
}

#portfolio-single .single-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-media img,
.photo-single-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.single-body {
    padding: 34px;
}

.single-kicker {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
}

.single-title {
    margin: 0 0 14px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 0.98;
}

.single-excerpt {
    margin: 0 0 20px;
    color: #d4d4d4;
    font-size: 1.05rem;
}

.single-content {
    color: #d9d9d9;
}

.single-content p {
    margin: 0 0 14px;
}

.photo-single-media {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    margin-top: 18px;
}

.single-nav {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.single-nav-item.prev {
    text-align: left;
}

.single-nav-item.next {
    text-align: right;
}

.single-nav-item.all {
    text-align: center;
}

.single-nav-item a {
    color: #e4e4e4;
}

.single-nav-item a:hover {
    color: var(--accent);
}

.hero-copy {
    max-width: 700px;
}

/* WordPress core content support */
.wp-caption {
    max-width: 100%;
    margin: 18px 0;
    color: var(--muted);
}

.wp-caption-text,
.gallery-caption {
    margin-top: 8px;
    font-size: 0.88rem;
    color: var(--muted);
}

.alignleft {
    float: left;
    margin: 0 18px 12px 0;
}

.alignright {
    float: right;
    margin: 0 0 12px 18px;
}

.aligncenter {
    display: block;
    margin: 0 auto 16px;
}

.wp-block-image img,
.wp-block-cover,
.wp-block-gallery {
    border-radius: 14px;
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-form .search-field {
    flex: 1;
}

.search-form .search-submit {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    cursor: pointer;
}

.search-form .search-submit:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .news-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .photo-strip {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .single-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .custom-logo {
        max-height: 44px;
    }

    .menu {
        display: none;
    }

    .hero {
        min-height: auto;
        padding-top: 108px;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .photo-strip {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }

    .section {
        padding: 72px 0;
    }

    h1 {
        font-size: clamp(2.4rem, 16vw, 3.9rem);
    }
}

/* ==============================================================
   SKIP TO CONTENT
   ============================================================== */
.skip-to-content {
    position: absolute;
    top: -999px;
    left: 0;
    z-index: 9999;
    padding: 12px 22px;
    background: var(--accent);
    color: #111;
    font-weight: 700;
    border-radius: 0 0 10px 0;
    transition: top 0.15s ease;
}
.skip-to-content:focus {
    top: 4px;
}

/* ==============================================================
   MOBILE BURGER + OFF-CANVAS NAV
   ============================================================== */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--text);
    flex-shrink: 0;
}
.burger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

#mobile-menu {
    display: none;
    position: fixed;
    inset: 76px 0 0;
    z-index: 999;
    background: rgba(6, 6, 6, 0.97);
    backdrop-filter: blur(18px);
    padding: 32px;
    overflow-y: auto;
}
#mobile-menu.is-open {
    display: block;
}
body.menu-open {
    overflow: hidden;
}
#mobile-menu .menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 1.25rem;
}
#mobile-menu .menu li {
    list-style: none;
}
#mobile-menu .menu a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-weight: 500;
}
#mobile-menu .menu a:hover {
    color: var(--accent);
}

/* ==============================================================
   ARCHIVE HEADER + TAXONOMY FILTER
   ============================================================== */
.archive-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 38px;
}
.tax-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.tax-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.87rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    transition: 0.2s ease;
}
.tax-btn:hover,
.tax-btn.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #111;
}

/* ==============================================================
   PHOTO ARCHIVE GRID
   ============================================================== */
.photo-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.photo-archive-grid .photo {
    cursor: pointer;
}
.photo-archive-grid .photo:hover {
    border-color: rgba(199, 165, 109, 0.4);
}

/* ==============================================================
   PAGINATION
   ============================================================== */
.pagination-wrap {
    margin-top: 48px;
}
.pagination-wrap .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.pagination-wrap .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    font-size: 0.92rem;
    transition: 0.2s ease;
}
.pagination-wrap .page-numbers.current,
.pagination-wrap .page-numbers:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #111;
}

/* ==============================================================
   PORTFOLIO SECTION META (homepage section-meta layout)
   ============================================================== */
.section-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 34px;
}

/* ==============================================================
   SINGLE BLOG POST
   ============================================================== */
.post-single-wrap,
.page-wrap {
    padding-top: 54px;
    max-width: 860px;
    margin: 0 auto;
}
.post-single-card,
.page-card {
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 26px;
}
.post-thumb,
.page-thumb {
    overflow: hidden;
    max-height: 480px;
}
.post-thumb img,
.page-thumb img {
    width: 100%;
    object-fit: cover;
}
.post-single-body,
.page-body {
    padding: 36px;
}
.post-meta {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.89rem;
}
.post-meta a {
    color: var(--accent);
}
.single-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.single-content ul,
.single-content ol {
    color: #d9d9d9;
    padding-left: 22px;
}
.single-content li {
    margin-bottom: 6px;
}
.single-content h2,
.single-content h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    margin-top: 28px;
}
.page-links {
    margin-top: 18px;
    color: var(--muted);
}

/* ==============================================================
   SEARCH RESULTS
   ============================================================== */
#search-results {
    padding-top: 108px;
}
.search-form-wrap {
    margin-bottom: 30px;
}
.search-field {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}
.search-field:focus {
    outline: none;
    border-color: var(--accent);
}
.search-submit {
    display: none;
}
.search-term {
    color: var(--accent);
}
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.search-result-item {
    display: flex;
    gap: 20px;
    padding: 22px;
    background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: border-color 0.2s ease;
}
.search-result-item:hover {
    border-color: rgba(199, 165, 109, 0.4);
}
.search-result-thumb {
    flex-shrink: 0;
    width: 96px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #0f0f0f;
}
.search-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.search-result-body h2 {
    margin: 0 0 6px;
    font-size: 1.14rem;
}
.search-result-body h2 a:hover {
    color: var(--accent);
}
.search-result-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}
.no-results {
    color: var(--muted);
    font-size: 1.1rem;
    padding: 20px 0;
}

/* ==============================================================
   404 PAGE
   ============================================================== */
.not-found-wrap {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 108px 0 60px;
}
.not-found-wrap .search-form {
    margin-top: 28px;
    max-width: 480px;
}

/* ==============================================================
   SHEET REVEAL ON SCROLL ANIMATION
   ============================================================== */
.fade-in,
.sheet-reveal {
    transform: none;
    opacity: 1;
}

html.js-reveal .sheet-reveal.is-pending {
    transform: translateY(140px);
    opacity: var(--reveal-opacity-start, 1);
    will-change: transform, opacity;
    transition:
        transform var(--reveal-transform-duration, 1000ms) cubic-bezier(0.18, 0.84, 0.24, 1),
        opacity var(--reveal-opacity-duration, 980ms) ease;
    transition-delay: var(--reveal-delay, 0ms);
}

html.js-reveal .sheet-reveal.visible {
    transform: translateY(0);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .fade-in,
    .sheet-reveal {
        transform: none;
        opacity: 1;
        transition: none;
    }
}

/* ==============================================================
   LIGHTBOX
   ============================================================== */
#jj-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, 0.92);
    cursor: zoom-out;
    align-items: center;
    justify-content: center;
}
#jj-lightbox.is-open {
    display: flex;
}
body.lightbox-open {
    overflow: hidden;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 86vh;
    border-radius: 12px;
    object-fit: contain;
    cursor: default;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    user-select: none;
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    transition: background 0.2s ease;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ==============================================================
   PRINT STYLES
   ============================================================== */
@media print {
    .topbar,
    .burger,
    #mobile-menu,
    .btns,
    .single-nav,
    .pagination-wrap,
    .tax-filter,
    #jj-lightbox {
        display: none !important;
    }
    body {
        background: #fff;
        color: #111;
        font-size: 12pt;
    }
    .container {
        max-width: 100%;
    }
    a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        color: #555;
    }
    .card,
    .single-card,
    .post-single-card,
    .page-card {
        border: 1px solid #bbb;
        box-shadow: none;
        break-inside: avoid;
    }
    .hero {
        min-height: auto;
        padding-top: 20px;
    }
}

/* ==============================================================
   RESPONSIVE ADDITIONS
   ============================================================== */
@media (max-width: 1024px) {
    .photo-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .section-meta {
        flex-direction: column;
    }
    .archive-header {
        flex-direction: column;
    }
}
@media (max-width: 720px) {
    .burger {
        display: flex;
    }
    .photo-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .search-result-item {
        flex-direction: column;
    }
    .search-result-thumb {
        width: 100%;
        height: 160px;
    }
    .post-single-wrap,
    .page-wrap {
        padding-top: 32px;
    }
}
