/* ============================================================
   mantic.photos — Main stylesheet
   Dark, minimal, photography-focused design
   ============================================================ */

/* --- Custom Properties --- */
:root {
    --bg:           #0f0f0f;
    --bg-2:         #161616;
    --bg-3:         #1e1e1e;
    --bg-card:      #242424;
    --text:         #e2e2e2;
    --text-muted:   #7a7a7a;
    --text-subtle:  #444;
    --accent:       #c9a96e;
    --accent-hover: #dfc080;
    --border:       #2a2a2a;
    --border-light: #333;
    --white:        #ffffff;

    --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

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

    --radius:    4px;
    --radius-md: 8px;

    --transition: 0.25s ease;
    --transition-slow: 0.45s ease;

    --nav-height: 72px;
    --container:  1200px;
    --container-narrow: 760px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.65;
    min-height: 100vh;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.2;
    color: var(--white);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { color: var(--text); }

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container--narrow { max-width: var(--container-narrow); }

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

.text-center { text-align: center; }
.text-muted   { color: var(--text-muted); }

/* --- Navigation --- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.has-hero .site-header { background: #000000cc; }
.has-hero .site-header.scrolled {
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

/* Non-hero pages: always solid */
body:not(.has-hero) .site-header {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo img {
    height: 50px;
    width: auto;
    margin-left: -7px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 226, 226, 0.75);
    transition: color var(--transition);
    position: relative;
    padding-bottom: 2px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-link--cta {
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.45rem 1.2rem;
    border-radius: var(--radius);
    letter-spacing: 0.06em;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--accent); color: var(--bg); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    position: relative;
    z-index: 101;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--text);
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Hero --- */
.hero {
    position: relative;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-bg--placeholder {
    background: var(--bg-2);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
}

.hero-content {
    position: absolute;
    z-index: 2;
    max-width: 700px;
    padding: 0 2rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.hero-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,1);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,1);
}
.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-family: var(--font-sans);
    margin-left: -7px;
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.8);
}
.hero-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: rgba(255,255,255,1);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.9);
    animation: bounce 1s ease-in-out infinite;
    z-index: 2;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(30px); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}
.btn--primary {
    background: var(--accent);
    color: var(--bg);
    border: 1px solid var(--accent);
}
.btn--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}
.btn--outline {
    background: #ffffff11;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.35);
}
.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.07);
}
.btn--ghost {
    background: #00000050;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}
.btn--ghost:hover { color: var(--text); border-color: var(--border-light); }
.btn--full { width: 100%; justify-content: center; }
.btn--sm { padding: 0.45rem 1rem; font-size: 0.8rem; }

/* --- Section elements --- */
.section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.section-title {
    margin-bottom: 1.5rem;
}
.section-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 560px;
}
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* --- About --- */
.section--about { background: var(--bg-2); }
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* --- Category grid (homepage) --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(min(var(--cat-columns, 2), 2), minmax(0, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: calc(min(var(--cat-columns, 2), 2) * 480px);
    margin: 0 auto;
}

.category-card {
    position: relative;
    aspect-ratio: 3/4;
    max-height: 70vh;
    overflow: hidden;
    background: var(--bg-3);
    display: block;
}
.category-card__image {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}
.category-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.category-card__placeholder {
    width: 100%; height: 100%;
    background: var(--bg-3);
}
.category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: background var(--transition);
}
.category-card:hover .category-card__image img { transform: scale(1.04); }
.category-card:hover .category-card__overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%);
}
.category-card__title {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.35rem;
}
.category-card__link {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(4px);
    transition: all var(--transition);
}
.category-card:hover .category-card__link { opacity: 1; transform: translateY(0); }

@media (hover: none) {
    .category-card__link { opacity: 1; transform: translateY(0); }
}

/* --- Portfolio page --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(min(var(--col-count, 2), 2), minmax(0, 1fr));
    gap: 2px;
    max-width: calc(min(var(--col-count, 2), 2) * 560px);
    margin: 0 auto;
}
.portfolio-card {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--bg-2);
}
.portfolio-card__image {
    aspect-ratio: 4/3;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
}
.portfolio-card__image img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    background: var(--bg-2);
    transition: transform var(--transition-slow);
}
.portfolio-card__placeholder { width: 100%; height: 100%; background: var(--bg-3); }
.portfolio-card:hover .portfolio-card__image img { transform: scale(1.04); }
.portfolio-card__body {
    padding: 1.5rem;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}
.portfolio-card__title {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}
.portfolio-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}
.portfolio-card__cta {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}

/* --- Photo grid (category page) --- */
.page-header {
    padding: calc(var(--nav-height) + 4rem) 0 3rem;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
}
.page-title {
    color: var(--white);
    margin-bottom: 0.75rem;
}
.page-lead {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}
.photo-item {
    aspect-ratio: 1/1;
    overflow: hidden;
    display: block;
    background: var(--bg-3);
    cursor: zoom-in;
    padding: 0;
}
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-2);
    transition: transform var(--transition-slow), filter var(--transition);
}
.photo-item:hover img {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.empty-gallery {
    padding: 4rem 0;
    text-align: center;
    color: var(--text-muted);
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    /* Prevent iOS viewport resize from showing content underneath */
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}
.lightbox[hidden] { display: none; }

.lightbox-content {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lightbox-content img {
    max-width: 100vw;
    max-height: calc(100svh - 72px);
    width: 100%;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0,0,0,0.5);
    color: var(--white);
    padding: 0.75rem;
    border-radius: 50%;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }

.lightbox-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 0;
    flex-shrink: 0;
    width: 100%;
}
.lightbox-prev,
.lightbox-next {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: static;
    transform: none;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* --- CTA section --- */
.section--cta {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Pricing --- */
.section--pricing {}
.prose h2 {
    font-size: 1.4rem;
    color: var(--accent);
    margin: 2.5rem 0 0.75rem;
    font-family: var(--font-sans);
    font-weight: 400;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }
.prose strong { color: var(--white); font-weight: 500; }
.prose ul { margin: 0.5rem 0 1rem 1.5rem; list-style: disc; }
.prose ul li { color: var(--text-muted); margin-bottom: 0.4rem; }

.pricing-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}
.pricing-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* --- Contact --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}
.contact-info h2, .contact-form-wrap h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.contact-info .text-muted {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}
address { font-style: normal; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
}
.contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.contact-item strong { display: block; color: var(--white); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.25rem; }
.contact-item a { color: var(--text); transition: color var(--transition); }
.contact-item a:hover { color: var(--accent); }

.contact-social { margin-top: 2rem; }
.contact-social h3 { font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.social-icons { display: flex; flex-direction: column; gap: 0.75rem; }
.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.social-link:hover { color: var(--accent); }

/* --- Forms --- */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.form-optional { text-transform: none; letter-spacing: 0; font-weight: 300; }
.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg-3);
    border: 1px solid var(--border-light);
    color: var(--text);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.has-error input,
.form-group.has-error textarea { border-color: #e05050; }
.form-error { font-size: 0.8rem; color: #e05050; }

/* --- Alert --- */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.alert--success {
    background: rgba(80, 160, 100, 0.15);
    border: 1px solid rgba(80, 160, 100, 0.4);
    color: #7dd3a0;
}
.alert--error {
    background: rgba(200, 80, 80, 0.15);
    border: 1px solid rgba(200, 80, 80, 0.4);
    color: #e09090;
}

/* --- Footer --- */
.site-footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand img { margin-bottom: 1rem; margin-left: -10px; }
.footer-brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.footer-contact h3,
.footer-links h3,
.footer-social h3 {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 1rem;
    font-weight: 500;
}
.footer-contact address { font-style: normal; }
.footer-contact a,
.footer-contact p {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}
.footer-contact a:hover { color: var(--accent); }
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--text); }
.footer-social .social-icons { flex-direction: column; gap: 0.6rem; }
.footer-social .social-link { font-size: 0.875rem; }
.footer-social .social-link svg { width: 18px; height: 18px; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-subtle);
}
.footer-bottom span { color: var(--text-subtle); transition: color var(--transition); }
.footer-bottom a { color: var(--text-subtle); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--accent); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 4rem;
        --space-lg: 2.5rem;
    }

    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0; right: 0;
        z-index: 99;
        padding-top: var(--nav-height);
        background: rgba(15,15,15,0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        gap: 0;
        padding-bottom: 2rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%);
        transition: transform var(--transition);
        pointer-events: none;
    }
    .nav-menu.open {
        transform: translateY(0);
        pointer-events: all;
    }
    .nav-menu li { width: 100%; }
    .nav-link {
        display: block;
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
        text-transform: none;
        letter-spacing: 0;
    }
    .nav-link::after { display: none; }
    .nav-link--cta { margin: 0.5rem 1.5rem; display: inline-flex; }

    .photo-grid { grid-template-columns: repeat(2, 1fr); }

    .categories-grid { grid-template-columns: repeat(min(var(--cat-columns, 2), 2), minmax(0, 1fr)); max-width: 100%; }
    .category-card { aspect-ratio: 1/1; max-height: none; }

    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
    .photo-grid { grid-template-columns: 1fr 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .cta-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   Photo Strips — decorative side columns (desktop only)
   ============================================================ */

.photo-strip {
    display: none; /* shown only at 1280px+ via media query below */
    position: fixed;
    top: 0;
    bottom: 0;
    width: 200px;
    overflow: hidden;
    z-index: 5;
    pointer-events: none;
    /* opacity starts at 0; JS fades in after data is ready → no layout jump */
    opacity: 0;
}

.photo-strip--left  { left: 0; }
.photo-strip--right { right: 0; }

/* Scrolling track — JS drives translateY via rAF */
.photo-strip__track {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

/* One copy of the photo list */
.photo-strip__copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 6px; /* gap mezi kopiemi */
}

/* Each photo item */
.photo-strip__item {
    display: block;
    width: 200px;
    flex-shrink: 0;
    overflow: hidden;
    pointer-events: auto;
    cursor: pointer;
}

/* Image wrapper: aspect-ratio se nastavuje inline z JS (z DB rozměrů)
   background jako tmavý placeholder před načtením obrázku */
.photo-strip__img-wrap {
    position: relative;
    display: block;
    width: 200px;
    overflow: hidden;
    background: var(--bg-3);
}

.photo-strip__img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* LQ: blurred placeholder */
.photo-strip__img-wrap .strip-lq {
    position: absolute;
    inset: 0;
    filter: blur(6px);
    transform: scale(1.06);
    transition: opacity 0.45s ease;
    object-fit: cover;
}

/* HQ: překryje LQ */
.photo-strip__img-wrap .strip-hq {
    opacity: 0;
    transition: opacity 0.6s ease;
    position: relative;
    z-index: 1;
}

.photo-strip__img-wrap .strip-hq.loaded { opacity: 1; }
.photo-strip__img-wrap .strip-lq.hidden { opacity: 0; }

/* Edge fades */
.photo-strip::before,
.photo-strip::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 140px;
    z-index: 2;
    pointer-events: none;
}
.photo-strip::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%);
}
.photo-strip::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}

/* Show strips only on wide viewports */
@media (min-width: 1600px) {
    .photo-strip { display: block; }
}
